WO2023005864A1 - Location semantic fingerprint database construction method and related apparatus - Google Patents

Location semantic fingerprint database construction method and related apparatus Download PDF

Info

Publication number
WO2023005864A1
WO2023005864A1 PCT/CN2022/107577 CN2022107577W WO2023005864A1 WO 2023005864 A1 WO2023005864 A1 WO 2023005864A1 CN 2022107577 W CN2022107577 W CN 2022107577W WO 2023005864 A1 WO2023005864 A1 WO 2023005864A1
Authority
WO
WIPO (PCT)
Prior art keywords
track
wireless signal
identifier
points
information
Prior art date
Application number
PCT/CN2022/107577
Other languages
French (fr)
Chinese (zh)
Inventor
八华峰
周才发
唐国斌
王永亮
王方松
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023005864A1 publication Critical patent/WO2023005864A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/35Constructional details or hardware or software details of the signal processing chain
    • G01S19/37Hardware or software details of the signal processing chain
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Definitions

  • the present application relates to the field of computers, in particular to a method for constructing a location semantic fingerprint database and related devices.
  • location-based services have become an increasingly indispensable basic demand for people.
  • Most of people's daily activities are indoors, and most of the terminal use and data connection are also indoors, and people's daily activity information is usually related to location and time. Therefore, the demand for location-based services in the mobile Internet era will become more and more bigger and bigger.
  • the location semantic recognition technology belongs to the technical field of positioning and navigation. Location semantic recognition is mainly to provide users with upper-level service capabilities such as behavior guidance and semantic guidance on the basis of positioning. For example, when the user enters the range of 3-10 meters from the gate of the subway station, the QR code of the subway is popped up for the user in advance.
  • the location semantic recognition technology also provides underlying data support for epidemic prevention and health management, user portraits, personalized recommendations and advertisement push.
  • the popularity of smart phones and the abundance of mobile phone sensors provide the possibility for high-precision recognition of location semantics.
  • the comparison and identification is carried out by using the global navigation satellite system (global navigation satellite system, GNSS) information and the preset location point or geofence information.
  • GNSS global navigation satellite system
  • Such identification schemes rely on GNSS signal sources. This method cannot be used for the location semantic fingerprint library in indoor scenes where GNSS location information cannot be collected due to signal occlusion.
  • the present application provides a method for constructing a location semantic fingerprint library, the method comprising:
  • the target trajectory includes a plurality of trajectory points, and the plurality of trajectory points include a first set of track points, a second set of track points and a third set of track points connected in sequence, wherein the first set of track points Including sensor information and/or first GNSS state information, the sensor information is used to indicate that the first track point set is a track point between different levels, and the first GNSS state information is used to indicate the first track
  • the point set is a track point on the entrance and exit between indoor and outdoor
  • the track point in the second track point set includes GNSS position information with a confidence level higher than the threshold
  • the third track point set includes the second GNSS state information
  • the second GNSS state information is used to indicate that the first track point set is an indoor track point;
  • the sensor information can be a barometer, and there is a significant difference in air pressure values between the track points included in the first track point set, for example, according to the direction of the first track point, there is a significant difference in the barometric pressure values of the track points included in the first track point set If the change trend from large to small or from small to large, it can be considered that the sensor information included in the first track point set is used to indicate that the first track point set is a track point between different levels, and then determine the first track
  • the set of points is determined as a set of fingerprint points for the transition region between indoors and outdoors.
  • the first GNSS status information may be GNSS status;
  • the trajectory points (the second trajectory point set) including the GNSS position information whose confidence level is higher than the threshold can be determined as the outdoor trajectory points in the target trajectory, and then the second trajectory point set is determined as the fingerprint point of the outdoor semantics gather;
  • the trajectory set connected with the first trajectory point set in the target trajectory and not connected with the second trajectory point set can be used as the indoor trajectory point, and then the third trajectory point set is determined as the indoor semantic fingerprint point set ;
  • a location semantic fingerprint library is constructed according to the first track point set, the second track point set, and the third track point set.
  • the trajectory point of the transition area between indoor and outdoor can be identified through sensor information and/or GNSS state information
  • the trajectory point of the outdoor area can be identified through GNSS position information
  • the transition area will be extended from the outdoor area to
  • the GNSS state can indicate the track point of the indoor state as the track point of the indoor area, and when the accurate GNSS positioning information is missing indoors, the fingerprint point of the indoor semantics can also be accurately constructed.
  • the distance between the track points in the second track point set and the indoor geo-fence is greater than a first threshold and smaller than a second threshold.
  • the first threshold may be a value of 10 meters and its vicinity, such as 8 meters, 9 meters, 11 meters, 12 meters, etc.
  • the first threshold may be related to the area of the indoor geo-fence area, and the larger the area of the geo-fence area
  • the larger the value of the first threshold, the greater the value of the second threshold can be 50 meters and nearby values, such as 48 meters, 49 meters, 51 meters, 52 meters, etc.
  • the second threshold can also be related to the indoor geo-fence area The area of the geo-fence is related, and the larger the area of the geo-fence area, the larger the value of the second threshold.
  • the geo-fence in this application can have two definitions, the first is a convex polygonal closed area composed of a series of longitude and latitude point sequences; the second is a circular range with a radius R of a certain center point.
  • the distance from the latitude and longitude points inside the geofence to the geofence is 0;
  • the calculation method of calculating a location point outside the geofence to the geofence can be:
  • Every two adjacent points in the geofence can form a line segment, calculate the distance from the point to each line segment, and take the minimum value as the distance from the point to the geofence.
  • the second directly calculate the distance from the point to the center point minus the radius R as the distance from the point to the geofence.
  • the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identifier of the device, the first identifier is not globally unique; the second track point includes second wireless signal information, and the second wireless signal information includes the first identifier and the first identifier of the network device Two identifications, the second identification has global uniqueness; the method also includes:
  • the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the second track point to the first track point, so that The first wireless signal information includes the second identifier.
  • the wireless signal information of some track points may be missing.
  • the wireless signal information may include the network device identifier (the first identifier and the second identifier) of the adjacent cell, wherein, The first identifier does not have global uniqueness, and the second identifier has global uniqueness.
  • the so-called global uniqueness means that the second identifier can uniquely indicate the cell where it is located, and there are different cells that correspond to the same first identifier.
  • the first identifier may be a global cell identifier PCI
  • the second identifier may be a pseudo cell identifier CGI.
  • the wireless signal information of the main cell may include the first identifier and the second identifier, while the wireless signal information of the adjacent cell does not include the second identifier, but only includes the first identifier , in this case, the wireless signal information of the track point only includes the first identifier and does not include the second identifier, and since the first identifier cannot uniquely indicate the network device, the track point is not available.
  • the second identifier not included in the track points is supplemented, so that the above track points can be used when the location fingerprint database is constructed, and the utilization rate of data is improved.
  • the positioning accuracy in subsequent position positioning is also improved.
  • the plurality of track points include a first track point, a second track point, and a third track point that are sequentially adjacent, the first track point includes first wireless signal information, and the first track point A wireless signal information includes a first identifier of a network device, and the first identifier is not globally unique; the third track point includes second wireless signal information, and the second wireless signal information includes all The first identifier and the second identifier, the second identifier is globally unique; based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, the third trajectory The second identifier included in the point is multiplexed to the first track point, so that the first wireless signal information includes the second identifier.
  • the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identification of the device, the first identification is not globally unique; the first track can be obtained, the first track includes the second track point and the fourth track point, the fourth track point includes the second wireless signal information, the second wireless signal information includes the first identifier and the second identifier of the network device, and the second identifier is globally unique;
  • the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the fourth track point to the first track point, so that The first wireless signal information includes the second identifier.
  • the first identity is a pseudo cell identity PCI
  • the second identity is a global identifier CGI.
  • each track point includes wireless signal information, and a similarity between wireless signal information included in different track points is smaller than a threshold.
  • the wireless signal information of two track points located indoors and outdoors may be very similar, and these track points will reduce the accuracy of subsequent indoor and outdoor positioning.
  • the part of the track points in the target track (or other tracks) that meet the above conditions may be eliminated, so that each of the track points in the target track (or other tracks) includes wireless signal information, and The similarity between wireless signal information included in different track points is smaller than a threshold.
  • the track points whose similarity between wireless signal information is greater than the threshold will cause errors in indoor and outdoor recognition when positioning based on the location fingerprint library, in the embodiment of the present application, the track points whose similarity between wireless signal information is greater than the threshold Points are eliminated from the target trajectory, which improves the accuracy of positioning.
  • the third set of track points includes M target track points, and the M target track points are track points in an indoor preset area, and each target track point includes wireless signal information , and the wireless signal information includes the wireless signal strength of at least one network device; the method further includes:
  • the signal strength distribution feature includes a mapping relationship between wireless signal strength and probability density, so
  • the location semantic fingerprint library includes the signal strength distribution characteristics of each network device.
  • the signal intensity distribution feature is a normal distribution feature.
  • the method further includes: acquiring the first location point information collected by the terminal device, where the first location point information includes target wireless signal information, and the target wireless signal information includes information of M network devices Wireless signal strength; according to the wireless signal strength of each network device in the M network devices, determine the corresponding signal strength distribution feature and the target signal strength interval in the signal strength distribution feature from the location semantic fingerprint library, In each of the wireless signal strength intervals, the probability density corresponding to the signal strength distribution feature is higher than a threshold; based on the wireless signal strength of each of the M network devices being within the corresponding target signal strength interval, determine the The terminal device is located in the indoor preset area.
  • the method further includes: based on that the first location point information includes a first target identifier of the target network device and does not include a second target identifier of the target network device, the first target The identifier does not have global uniqueness, the second target identifier has global uniqueness, and the first target identifier including the target network device and the second target identifier including the target network device are determined from the location semantic fingerprint library the second location point information; multiplexing the second target identifier included in the second location point information to the first location point information, so that the first location point information includes the second target identifier.
  • the present application provides a device for constructing a location semantic fingerprint library, the device comprising:
  • An acquisition module configured to acquire a target trajectory, the target trajectory includes a plurality of trajectory points, and the plurality of trajectory points include a first set of track points, a second set of track points, and a third set of track points connected in sequence, wherein the The first track point set includes sensor information and/or first GNSS state information, the sensor information is used to indicate that the first track point set is a track point between different levels, and the first GNSS state information is used to indicate The first track point set is track points on the entrance and exit between indoor and outdoor, the track points in the second track point set include GNSS position information with a confidence level higher than a threshold, and the third track point set includes second GNSS state information, the second GNSS state information is used to indicate that the first track point set is an indoor track point;
  • a semantic determination module configured to determine the first set of trajectory points as a set of fingerprint points in a transition area between indoors and outdoors;
  • a fingerprint library construction module configured to construct a location semantic fingerprint library according to the first track point set, the second track point set, and the third track point set.
  • An embodiment of the present application provides a location semantic fingerprint database construction device, the device includes: an acquisition module, used to acquire the target trajectory, the target trajectory includes a plurality of trajectory points, the plurality of trajectory points are sequentially connected A track point set, a second track point set, and a third track point set, wherein the first track point set includes sensor information and/or first GNSS state information, and the sensor information is used to indicate the first track point
  • the set is track points between different horizontal planes
  • the first GNSS state information is used to indicate that the first set of track points is track points on the entrance and exit between indoor and outdoor, and the track in the second set of track points
  • the point includes the GNSS position information whose confidence level is higher than the threshold;
  • the semantic determination module is used to determine the first track point set as the fingerprint point set of the transition zone between indoor and outdoor; the second track point set is determined as A fingerprint point set for outdoor semantics; determining the third track point set as a fingerprint point set for indoor semantics;
  • the third set of trajectory points is
  • the trajectory point of the transition area between indoor and outdoor can be identified through sensor information and/or GNSS state information
  • the trajectory point of the outdoor area can be identified through GNSS position information
  • the transition area will be extended from the outdoor area to
  • the indoor semantic fingerprint points can also be accurately constructed when accurate GNSS positioning information is missing indoors.
  • the distance between the track points in the second track point set and the indoor geo-fence is greater than a first threshold and smaller than a second threshold.
  • the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identifier of the device, the first identifier is not globally unique; the second track point includes second wireless signal information, and the second wireless signal information includes the first identifier and the first identifier of the network device Two identifications, the second identification has global uniqueness; the device also includes:
  • an identifier multiplexing module configured to multiplex the second identifier included in the second track point into the The first track point, so that the first wireless signal information includes the second identifier.
  • the plurality of track points include a first track point, a second track point, and a third track point that are sequentially adjacent, the first track point includes first wireless signal information, and the first track point A wireless signal information includes a first identifier of a network device, and the first identifier is not globally unique; the third track point includes second wireless signal information, and the second wireless signal information includes all The first identification and the second identification, the second identification has global uniqueness; the identification multiplexing module is also used for:
  • the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the third track point to the first track point, so that The first wireless signal information includes the second identifier.
  • the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network
  • the first identification of the device the first identification does not have global uniqueness; the identification multiplexing module is also used for:
  • the first track includes the second track point and a fourth track point
  • the fourth track point includes second wireless signal information
  • the second wireless signal information includes all of the network equipment
  • the first identification and the second identification, the second identification is globally unique
  • the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the fourth track point to the first track point, so that The first wireless signal information includes the second identifier.
  • the first identity is a pseudo cell identity PCI
  • the second identity is a global identifier CGI.
  • each track point includes wireless signal information, and a similarity between wireless signal information included in different track points is smaller than a threshold.
  • the third set of track points includes M target track points, and the M target track points are track points in an indoor preset area, and each target track point includes wireless signal information , and the wireless signal information includes the wireless signal strength of at least one network device;
  • the fingerprint library construction module is specifically used for:
  • the signal strength distribution feature of each network device includes a mapping relationship between wireless signal strength and probability density, so
  • the location semantic fingerprint library includes the signal strength distribution characteristics of each network device.
  • the signal intensity distribution feature is a normal distribution feature.
  • the acquisition module is also used to:
  • the device also includes:
  • a positioning module configured to determine a corresponding signal strength distribution feature and a target signal strength interval in the signal strength distribution feature from the location semantic fingerprint library according to the wireless signal strength of each of the M network devices , each of the wireless signal strength intervals has a probability density corresponding to the signal strength distribution feature higher than a threshold;
  • the terminal device Based on the wireless signal strength of each of the M network devices being within a corresponding target signal strength interval, it is determined that the terminal device is in the indoor preset area.
  • the device also includes:
  • An information completion module configured to include the first target identifier of the target network device and not include the second target identifier of the target network device based on the first location point information, the first target identifier does not have global uniqueness, The second target identifier has global uniqueness, and the second location point information including the first target identifier of the target network device and the second target identifier of the target network device is determined from the location semantic fingerprint library;
  • the second target identifier included in the second location point information is multiplexed into the first location point information, so that the first location point information includes the second target identifier.
  • the present application provides a positioning method, the method comprising:
  • each of the M network devices determine the corresponding signal strength distribution feature and the target signal strength interval in the signal strength distribution feature from the location semantic fingerprint database, each of the The probability density corresponding to the signal strength distribution feature in the wireless signal strength interval is higher than a threshold;
  • the terminal device Based on the wireless signal strength of each of the M network devices being within a corresponding target signal strength interval, it is determined that the terminal device is in the indoor preset area.
  • the method further includes: based on that the first location point information includes a first target identifier of the target network device and does not include a second target identifier of the target network device, the first target The identifier does not have global uniqueness, the second target identifier has global uniqueness, and the first target identifier including the target network device and the second target identifier including the target network device are determined from the location semantic fingerprint library the second location point information; multiplexing the second target identifier included in the second location point information to the first location point information, so that the first location point information includes the second target identifier.
  • the embodiment of the present application provides an apparatus for constructing a location semantic fingerprint library, including: one or more processors and memories; wherein, computer-readable instructions are stored in the memories; the one or more processing The computer reads the computer-readable instructions, so that the computer device implements the above-mentioned first aspect and any optional method.
  • the embodiment of the present application provides a computer-readable storage medium, which is characterized in that it includes computer-readable instructions, and when the computer-readable instructions are run on a computer device, the computer device is made to execute the above-mentioned first aspect. and any of its optional methods.
  • the embodiment of the present application provides a computer program product, which is characterized in that it includes computer-readable instructions, and when the computer-readable instructions are run on a computer device, the computer device executes the above-mentioned first aspect and its Either method is optional.
  • the present application provides a chip system, which includes a processor, configured to support an execution device or a training device to implement the functions involved in the above aspect, for example, send or process the data involved in the above method; or, information.
  • the system-on-a-chip further includes a memory, and the memory is used for storing necessary program instructions and data of the execution device or the training device.
  • the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
  • Fig. 1 is a schematic diagram of a construction method of a location semantic fingerprint database according to an embodiment of the present application
  • Fig. 2 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a construction method of a location semantic fingerprint database according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application.
  • FIG. 14 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a device for constructing a location-semantic fingerprint library according to an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of a server provided by an embodiment of the present application.
  • FIG. 17 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • Fingerprint Use wireless signals (such as terminal base station signals, WIFI signals for wireless LAN communication), ubiquitous geomagnetic signals, or small-range signals emitted by deployed Bluetooth signal tags, etc., to measure and record these signals
  • the unique identification name of the signal point for example: Medium Access Control (MAC) address
  • MAC Medium Access Control
  • signal strength for example: Signal strength
  • Each stored location point and corresponding record information may be called a "fingerprint”.
  • the real-time location can be obtained through successful "fingerprint" matching, and the positioning function can be realized.
  • Location characteristics Nearly stable location points in the main indoor structure, including entry and exit points, doors, elevators, stairs, escalators, corridors, open areas, corners, etc.
  • Movement characteristics the typical movement characteristics of the user, which may include movement characteristics such as standing still, walking, running, turning, going up/down stairs, etc.
  • Map matching based on the identified location features and actual running trajectory, matching the location points provided by the map and the connection relationship between different areas in the map, and correcting the actual moving route and positioning points to the accurate path and location points.
  • Received signal strength specifically refers to the wideband received power received by the terminal on the channel bandwidth, unit dBm, this value is a relative value, the size is related to the terminal receiving antenna quality, surrounding environment link occlusion, and signal transmission related to the distance between the sources.
  • Dynamic time warping (dynamic time warping, DTW): Based on the idea of dynamic programming, it solves the problem of template matching with different pronunciation lengths. It is an earlier and more classic algorithm in speech recognition. There are almost no Additional calculations are required. In the application of geomagnetic matching, this algorithm is adopted to solve the problem of pulling up or compressing the signal caused by different user speeds during the real-time positioning process, so as to ensure the correct matching with the original data.
  • Pedestrian dead reckoning A method for estimating the distance and direction of pedestrian movement based on the characteristics of human walking dynamics, including step detection, step estimation, and heading estimation. The estimation is realized by using the built-in sensors of the terminal, such as accelerometer, magnetometer, gyroscope, etc.
  • K nearest neighbor algorithm K-NearestNeighbor, KNN: Each sample can be represented by its nearest k neighbors. If most of them belong to a certain category, the sample also belongs to this category and has the characteristics of samples in this category.
  • Weighted K-Nearest Neighbor Aiming at the differences in the files themselves, a weight factor is added to describe the impact of these differences on the results, so as to promote the effect of classification.
  • the algorithm implementation is still equivalent to the KNN algorithm.
  • Support vector machine algorithm In the field of machine learning, it is a supervised learning model, usually used for pattern recognition, classification and regression analysis.
  • Point of interest In a geographic information system, a POI can be a house, a store, a mailbox, a bus stop, etc. Each POI contains four aspects of information, name, category, longitude, latitude.
  • the application scenarios of indoor positioning can be divided into two categories.
  • One is for consumers, including shopping guides in shopping malls, reverse car search, anti-scattering of family members, self-guided tour guides in museum exhibition halls, location guidance for hospitals, scenic spots, airports, etc.
  • Location query and navigation, location sharing, etc. is for enterprise customers, including crowd monitoring, user behavior analysis, smart storage, business optimization analysis, advertisement push, emergency rescue, etc.
  • signal tags can include radio frequency identification systems, bluetooth tags, infrared emission tags, etc.
  • the terminal receives the signals sent by these signal tags , associated with the location corresponding to the signal label, so as to calculate the location of the terminal itself.
  • signal tags can include radio frequency identification systems, bluetooth tags, infrared emission tags, etc.
  • the terminal receives the signals sent by these signal tags , associated with the location corresponding to the signal label, so as to calculate the location of the terminal itself.
  • the application of signal tags is limited by high deployment costs, and due to the impact of battery life, high O&M costs that require periodic maintenance and replacement.
  • wireless signals may include base station signals for terminal communication, wireless fidelity (wireless fidelity, WIFI) signals for wireless local area network communication, and these received signal strengths (received signal strength (RSS) as the "fingerprint" of each location, a large-scale collection, classification, and storage of the fingerprint list and corresponding location information of these locations in advance to form a fingerprint database.
  • RSS received signal strength
  • the fingerprint of the unknown location is used to match with the fingerprint database, and the location information corresponding to the most matched fingerprint is output as the positioning result.
  • This mode is widely used because of the ubiquitous WIFI hotspots and no hardware cost.
  • Scenario 1 An underground parking lot with an area of about 10,000 square meters adopts the industry's low-power Bluetooth positioning solution and deploys about 300 signal tags at intervals of 6 meters.
  • the signal label near the toilet water room will greatly affect the battery life due to the humid environment, causing the power to run out in advance, then this area will become a positioning blind spot; and the location 10 meters away from the toilet water room, due to Bluetooth Positioning requires at least three valid signal tag data, which also affects the positioning of this area; after two or three years, the number of effective tags is only 80%. As time goes by, the number of effective signal tags will become more and more limited, and a single signal tag will fail. The affected area is within the range of 10 meters * 10 meters.
  • the positioning effect corresponding to the entire underground parking area will become worse and worse. If the accuracy of the initial Bluetooth positioning is better than 3 meters, it is very important for the signal tag to continue to work effectively. For this reason, it is necessary to periodically replace the old and damaged signal tags and update the fingerprint database synchronously.
  • the existing solution is mainly to update and maintain regularly.
  • the maintenance cycle is based on the battery life time approved by the signal tag, which is generally four years.
  • Scenario 2 There are a large number of shops and merchants in a shopping mall. Many shops have been relocated within half a year, and the WIFI hotspots have also been removed; or, some merchants are still in the same shopping mall but have changed to different areas. The WIFI hotspot has been moved to a different area; or the store and merchant have not changed, but the WIFI hotspot router is damaged, which causes the previous WIFI hotspot to disappear, and a new WIFI hotspot appears in the corresponding location. The situation can be a WIFI hotspot in the shopping mall.
  • the first type uses GNSS information and preset location points or geographic fence information for comparative identification. Such identification schemes rely on GNSS signal sources. This method cannot be used for positioning problems in indoor scenarios where GNSS signals cannot be collected due to signal occlusion. In addition, the GNSS signal source also has the problem of high power consumption, which affects the user's mobile phone battery life and battery life.
  • the second category uses wireless signal sources such as artificially deployed Beacons, such as some indoor value scenarios, to determine whether to push services based on the received signal strength of the target Beacon. This solution has the problem of high cost and cannot be applied on a large scale.
  • the third type uses GNSS information and wireless signal feature correlation information to perform feature correlation on location semantics, so that only wireless signal features are used in the identification process, achieving the goal of not relying on GNSS and reducing power consumption.
  • GNSS Global System for Mobile Communications
  • wireless signal feature correlation information to perform feature correlation on location semantics, so that only wireless signal features are used in the identification process, achieving the goal of not relying on GNSS and reducing power consumption.
  • the wireless features are only correlated for outdoor areas with GNSS. Most of the behaviors take place indoors. For example, indoor scenes such as subways and shopping malls cannot collect effective GNSS information due to satellite signal occlusion, so it is impossible to correlate wireless signal features indoors.
  • an embodiment of the present application provides a method for constructing a location semantic fingerprint library.
  • FIG. 1 is a schematic flow diagram of a method for constructing a location semantic fingerprint database provided by an embodiment of the present application.
  • a method for constructing a location semantic fingerprint database provided by an embodiment of the present application includes:
  • the target trajectory includes a plurality of trajectory points, and the multiple trajectory points include a first set of track points, a second set of track points, and a third set of track points connected in sequence, wherein the first track
  • the point set includes sensor information and/or first GNSS state information, the sensor information is used to indicate that the first track point set is a track point between different levels, and the first GNSS state information is used to indicate that the first track point set is a track point between different levels.
  • a track point set is track points on the entrance and exit between indoor and outdoor, the track points in the second track point set include GNSS position information with a confidence level higher than a threshold, and the third track point set includes the second GNSS State information, the second GNSS state information is used to indicate that the first track point set is an indoor track point.
  • the server can obtain the crowdsourcing data reported by the collection device on the terminal side.
  • the collection device here can be a mobile phone, a tablet personal computer, or a laptop computer. , digital camera, personal digital assistant (PDA for short), navigation device, mobile internet device (mobile internet device, MID) or wearable device (wearable device), etc., without specific limitation.
  • the server can also obtain manually collected trajectory data. It should be understood that, unlike crowdsourcing data, the server does not need to perform steps such as seed identification and growth described later when processing this part of trajectory data.
  • the collection device on the terminal side can collect available data such as sensors, network signals and global navigation satellite system (global navigation satellite system, GNSS) of the user terminal anonymously without the user's perception through a certain trigger mechanism ( Also known as fingerprint data).
  • the sensor signal can include IMU sensor data (such as accelerometer, gyroscope, magnetometer), positioning sensor data (GNSS positioning information, GNSS status (GNSS status)), and wireless signal data can include WiFi, Bluetooth, base station, etc. data.
  • the collection device may have real-time upload capability, that is, the collection device may upload the collected data to the server in real time.
  • the collection device may upload the collected data to the server in a unified manner.
  • the collected data is used by the server to build a fingerprint database.
  • the server on the cloud side can perform preprocessing after receiving the original crowdsourcing data.
  • the crowdsourcing data can be checked for validity, as well as indoor and outdoor recognition (indoor outdoor detection, IOD), cross-floor event recognition (cross floor detection, CFD), pedestrian dead reckoning (Pedestrian dead reckoning, PDR) and other data analysis steps to obtain information including indoor and outdoor information, semantic information such as cross-layer events, and relative coordinate information (for example, x-y-z coordinates) and absolute coordinates (for example, longitude-latitude-height).
  • IOD indoor outdoor detection
  • CFD cross floor detection
  • PDR pedestrian dead reckoning
  • other data analysis steps to obtain information including indoor and outdoor information, semantic information such as cross-layer events, and relative coordinate information (for example, x-y-z coordinates) and absolute coordinates (for example, longitude-latitude-height).
  • relative coordinate information for example, x-y-z coordinates
  • absolute coordinates for example, longitude-latitude-height
  • the final preprocessing transforms the sensor and wireless network signal information in the crowdsourcing data source into trajectory information composed of ordered coordinate information with wireless features and semantic features.
  • crowdsourcing data is extracted as crowdsourcing trajectories with relative location points as the core, taking crowdsourcing trajectories including target trajectories as an example.
  • each trajectory point in the target trajectory is a trajectory point in an outdoor area (also referred to as an invalid area in the embodiment of the present application) or a trajectory point in an indoor area (also referred to as a valid area in the embodiment of the application)
  • the server can also obtain indoor geo-fence information, which can indicate the physical boundary information of the indoor area.
  • the server Extraction of valid regions and invalid regions can be performed based on the above information.
  • the valid area may be inside the area enclosed by the geo-fence, and the invalid area may be the peripheral area of the geo-fence.
  • the server can identify the seed information of valid areas, invalid areas, and transition areas according to the absolute coordinate information contained in the preprocessed trajectory information and semantic information such as cross-layer, indoor and outdoor states.
  • the multiple track points of the target track may include a first track point set, a second track point set, and a third track point set that are sequentially connected.
  • trajectory points included in the target trajectory indicate that there is a cross-layer event (for example, when entering a subway station, it is necessary to go from the ground floor to the lower floor, or from the ground floor to a higher ground floor) or there is
  • a state switching event occurs from outdoor to indoor or from indoor to outdoor, it can be considered that this part of the trajectory points is located in the transition area between outdoor and indoor, and further, the valid area and the invalid area can be divided based on the transition area.
  • aggregate analysis (such as K-means, DBSCAN and other algorithms) can be performed on all indoor and outdoor switching points or absolute coordinate points at cross-layer events, and then the entry and exit points at the edge of the effective area can be identified. These entry and exit points are the transition areas, and the wireless signal feature set here is used as the information of the transition point feature library.
  • K-means algorithm here can be extended to: weighted K-nearest neighbor algorithm (Weighted K-NearestNeighbor, WKNN), support vector machine algorithm (support vector machine, SVM) and other typical classification algorithms.
  • the first track point set may be determined as a set of fingerprint points in the transition area between indoor and outdoor, wherein the first track point set may include sensor information and/or GNSS state information, and the sensor information It is used to indicate that the first track point set is a track point between different horizontal planes, and the first GNSS status information is used to indicate that the first track point set is a track point on an entrance and exit between indoors and outdoors.
  • the sensor information can be a barometer, and there is a significant difference in air pressure values between the track points included in the first track point set, for example, according to the direction of the first track point, there is a significant difference in the barometric pressure values of the track points included in the first track point set If the change trend from large to small or from small to large, it can be considered that the sensor information included in the first track point set is used to indicate that the first track point set is a track point between different levels, and then determine the first track The set of points is determined as a set of fingerprint points for the transition region between indoors and outdoors.
  • the track points (the second set of track points) including the GNSS position information whose confidence level is higher than the threshold in the target track can be determined as the outdoor track points, and then the second set of track points can be determined as the outdoor track points.
  • the distance between the track points in the second track point set and the indoor geo-fence is greater than a first threshold and smaller than a second threshold.
  • outdoor feature point information with high-confidence GNSS absolute coordinate information and meeting certain preset area conditions can be extracted as invalid area seed information.
  • the conditions that high-confidence GNSS absolute coordinate information need to meet can refer to the following formula:
  • GNSS.ACC is the positioning error in the GNSS data source. The smaller the value, the higher the positioning accuracy. For certain preset area conditions, you can refer to the following distance calculation formula:
  • the parameters in the distance calculation formula are the longitude and latitude points and the location semantic valid area fence information polygon composed of a series of ordered longitude and latitude points.
  • the output is the distance (meters) from point to polygon.
  • the data within the range of [10m, 50m] can be taken as the invalid area seed data set, and the distance between the track points in the second track point set and the indoor geo-fence is greater than 10 and less than 50.
  • the first threshold may be a value of 10 meters and its vicinity, such as 8 meters, 9 meters, 11 meters, 12 meters, etc.
  • the first threshold may be related to the area of the indoor geo-fence area, and the larger the area of the geo-fence area
  • the larger the value of the first threshold, the greater the value of the second threshold can be 50 meters and nearby values, such as 48 meters, 49 meters, 51 meters, 52 meters, etc.
  • the second threshold can also be related to the indoor geo-fence area The area of the geo-fence is related, and the larger the area of the geo-fence area, the larger the value of the second threshold.
  • the trajectory set connected to the first trajectory point set in the target trajectory and not connected to the second trajectory point set can be used as the trajectory point in the room, and then the third trajectory point set A collection of fingerprint points identified as indoor semantics.
  • the target trajectory is a trajectory set that passes through the transition region and some trajectory points belong to the invalid region, and some of the trajectory points belong to the valid region, and then the part of the wireless signal feature set in the valid region in the target trajectory is regarded as the seed information of the valid region .
  • the server can obtain the target trajectory and other trajectories determined by crowdsourcing data except the target trajectory, and use the target trajectory as the seed data to identify whether the trajectory points in other trajectories are outdoor semantics, indoor semantics, or transition Semantics of the region.
  • the trajectory information without GNSS information can be mined, specifically by calculating the similarity between wireless signals (such as the difference between signal strengths) Euclidean distance, etc.), assigning the crowdsourced trajectory to the invalid area and valid area determined above.
  • the track points meet the higher similarity with the third set of track points, but with When the similarity of the second track point set is low, it is added to the third track point set.
  • the track point satisfies a higher similarity degree with the second track point set and a lower similarity degree with the third track point set, it can be added to the second track point set. After several rounds of iterations, the effective area seed bank and the invalid area seed bank converge.
  • the wireless signal information of two track points located indoors and outdoors may be very similar, and these track points will reduce the accuracy of subsequent indoor and outdoor positioning.
  • the part of the track points in the target track (or other tracks) that meet the above conditions may be eliminated, so that each of the track points in the target track (or other tracks) includes wireless signal information, and The similarity between wireless signal information included in different track points is smaller than a threshold.
  • the characteristic propagation of wireless signals is omnidirectional and can penetrate obstacles such as buildings, there are the same measurable wireless signals in the effective area and the invalid area, making it impossible to distinguish the two.
  • the base station signal in the wireless signal when there is a high-power signal in the outdoor area, the transmission of the base station to the indoor effective area or the chain network along the rail transit (multiple radio frequency units share a cell) will have the problem of poor distance resolution. Therefore, a comparative analysis scheme of wireless signals is introduced to identify the confusing features that have no difference between the effective area and the invalid area. Construct the identified indifference feature as an invalid feature library, and do not use it as a positional semantic feature to participate in the subsequent process.
  • A is a valid area feature set
  • B is an invalid area feature set.
  • the intersection part A ⁇ B of the two is the confusing feature
  • A-B is the effective feature set of the valid area
  • B-A is the effective feature set of the invalid area.
  • the track points whose similarity between wireless signal information is greater than the threshold will cause errors in indoor and outdoor recognition when positioning based on the location fingerprint library, in the embodiment of the present application, the track points whose similarity between wireless signal information is greater than the threshold Points are eliminated from the target trajectory, which improves the accuracy of positioning.
  • the third track point set when constructing the location fingerprint library, includes M target track points, and the M target track points are track points in a preset indoor area, and each of the The target track point includes wireless signal information, and the wireless signal information includes the wireless signal strength of at least one network device, and the wireless signal strength of each network device included in the M target track points can be determined.
  • the signal strength distribution feature, the signal strength distribution feature includes a mapping relationship between wireless signal strength and probability density, and the location semantic fingerprint database includes the signal strength distribution feature of each network device.
  • the signal intensity distribution characteristic is a normal distribution characteristic.
  • the statistical analysis here can be realized through two schemes: one is to use all valid region samples for parameter estimation.
  • This scheme is suitable for simple location semantic scenarios such as subway station types.
  • One is to cluster the wireless signals in the effective area (such as DBSCAN, Affinity propagation algorithm, etc.), and perform parameter estimation in units of clusters.
  • This solution is suitable for complex scenarios, such as shopping malls.
  • Table 1 The structure of feature library table of location semantic valid area
  • the wireless signal information of some track points may be missing.
  • the wireless signal information may include the network device identifier (the first identifier and the second identifier) of the adjacent cell, wherein, The first identifier does not have global uniqueness, and the second identifier has global uniqueness.
  • the so-called global uniqueness means that the second identifier can uniquely indicate the cell where it is located, and there are different cells that correspond to the same first identifier.
  • the first identifier may be a global cell identifier CGI
  • the second identifier may be a pseudo cell identifier PCI.
  • the wireless signal information of the main cell may include the first identifier and the second identifier, while the wireless signal information of the adjacent cell does not include the second identifier, but only includes the first identifier , in this case, the wireless signal information of the track point only includes the first identifier and does not include the second identifier, and since the first identifier cannot uniquely indicate the network device, the track point is not available.
  • the second identifier not included in the track points is supplemented, so that the above track points can be used when the location fingerprint database is constructed, and the utilization rate of data is improved.
  • the positioning accuracy in subsequent position positioning is also improved.
  • the plurality of track points may include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes A first identifier of a network device, where the first identifier is not globally unique; the second track point includes second wireless signal information, and the second wireless signal information includes the first identifier and The second identifier, the second identifier is globally unique; furthermore, based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, all the information included in the second track point may be The second identifier is multiplexed to the first track point, so that the first wireless signal information includes the second identifier. That is to say, there are track points (first track points) with missing information in the target track, and the missing information in the first track points can be supplemented based on adjacent track points (second track points).
  • the completion of the CGI mapping relationship is mainly to obtain the base station signal according to the timing relationship information of the base station signal switch relationship between them, thus obtaining the initial mapping table information.
  • This is the advantage brought by crowdsourcing solutions. Crowdsourcing users will carry out daily activities in the preset area during the unaware crowdsourcing process, and the base station will switch according to communication needs and protocols. As shown in Figure 7 and Figure 8, there is a switching relationship between the base station signal Cell1 and Cell2, then there are two such CGI mapping tables:
  • a CGI mapping table is constructed through time-series base station Cell signal switching information, and complete CGI mapping relationship information is obtained by using a constraint-based connected graph completion scheme. In this way, the missing neighbor cell information is complemented to obtain high-integrity Cell signal feature information.
  • the plurality of track points include a first track point, a second track point, and a third track point that are sequentially adjacent, the first track point includes first wireless signal information, and the first track point A wireless signal information includes a first identifier of a network device, and the first identifier is not globally unique; the third track point includes second wireless signal information, and the second wireless signal information includes all The first identification and the second identification, the second identification is globally unique; further, based on the fact that the first wireless signal information does not include a globally unique identification for the network device, the third The second identifier included in the track point is multiplexed to the first track point, so that the first wireless signal information includes the second identifier.
  • the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network
  • the first identification of the device the first identification does not have global uniqueness; the first track can also be obtained, the first track includes the second track point and the fourth track point, and the fourth track point includes the first track point
  • Two wireless signal information the second wireless signal information includes the first identifier and the second identifier of the network device, and the second identifier is globally unique; further, it may be based on that the first wireless signal information does not include For the globally unique identifier of the network device, multiplexing the second identifier included in the fourth track point to the first track point, so that the first wireless signal information includes the second Two identification.
  • the missing CGI information in the neighboring cell in the original base station (Cell) information can be recovered by using the mapping table.
  • the mapping table there are problems of incomplete CGI mapping relationship table and asymmetry of recovery results by directly using such a mapping table to complement the missing CGI of adjacent stations.
  • a constrained Unicom graph scheme is introduced to complete the CGI mapping relationship table. Referring to FIG. 9 , the main idea is that if Cell1, Cell2, and Cell3 are included in a base station scanning record, there is a CGI mapping relationship between Cell1 and Cell2, and there is a CGI mapping relationship between Cell2 and Cell3. Then we think that there is such a CGI mapping relationship between Cell1 and Cell3. And complete the side. In this way, the integrity problem of the CGI mapping relationship table is solved.
  • the schematic structure of the finally generated CGI mapping relationship table can be as follows:
  • the location semantic fingerprint library may include multiple fingerprint points (including wireless signal information, indoor and outdoor semantic track points), and the location semantic fingerprint library may be used to determine indoor and outdoor states and specific locations.
  • the CGI mapping relationship table can be used to recover the missing CGI information in the adjacent station to obtain complete feature information.
  • the implementation process refer to the description of the above-mentioned construction process, and then use the wireless signal feature information to search the location semantic fingerprint database.
  • the retrieval process is to query whether the location semantic feature database has a corresponding primary key (Primary Key) according to CGI and PCI.
  • the first location point information includes target wireless signal information, and the target wireless signal information includes wireless signal strengths of M network devices; according to the wireless signal strength of each network device in the M network devices, from the location semantic fingerprint Determining corresponding probability densities in the library; determining that the terminal device is in the indoor preset area based on each of the determined probability densities being higher than a corresponding threshold.
  • d represents the distance calculation result based on NL
  • the mean value of the NL distance results of the main cell is the mean value of the NL distance results of neighboring cells
  • w is the harmonic parameter, with a value of 0.5. How to calculate the NL distance average value NL avg is described below.
  • J mod Modified jaccard
  • C is a feature set that satisfies a certain distribution range, and only uses the features in the set to participate in distance calculation to improve robustness.
  • This distribution range condition is described by Z-Score less than a certain threshold T z-score .
  • Z-Score calculation formula is:
  • ⁇ i and ⁇ i are the mean and standard deviation of feature f i matched in the location semantic feature library.
  • RSSI i is the signal strength of the wireless signal feature f i collected in real time.
  • P N( ⁇ , ⁇ ) (x) is the probability density function of the normal distribution N( ⁇ , ⁇ ), which can be implemented in two ways:
  • confidence information can be obtained through normalized estimation. In this way, the confidence is used for positional semantic recognition and ranking.
  • the confidence estimation function is as follows:
  • bw is the scaling parameter. Filter the location semantics whose confidence is lower than a certain preset threshold (threshold is 0.01).
  • An embodiment of the present application provides a method for constructing a location semantic fingerprint library, the method comprising: acquiring a target trajectory, the target trajectory including a plurality of trajectory points, the plurality of trajectory points including a set of first trajectory points connected in sequence, The second track point set and the third track point set, wherein the first track point set includes sensor information and/or first GNSS state information, and the sensor information is used to indicate that the first track point set is between different horizontal planes
  • the first GNSS state information is used to indicate that the first set of track points are track points on the entrance and exit between indoor and outdoor, and the track points in the second set of track points include The GNSS position information of the threshold value, the third track point set includes second GNSS state information, and the second GNSS state information is used to indicate that the first track point set is an indoor track point;
  • the first track point set The set of points is determined as a set of fingerprint points in the transition zone between indoor and outdoor;
  • the second track point set is determined as a set of fingerprint points for outdoor
  • the trajectory point of the transition area between indoor and outdoor can be identified through sensor information and/or GNSS state information
  • the trajectory point of the outdoor area can be identified through GNSS position information
  • the transition area will be extended from the outdoor area to
  • the indoor semantic fingerprint points can also be accurately constructed when accurate GNSS positioning information is missing indoors.
  • the input data on the cloud side comes from the collection on the device side, and may include crowdsourcing data and geographic information of preset areas (such as building outlines, or given locations and ranges).
  • Crowdsourcing data refers to the anonymized collection of sensor, wireless signal and other information of the user's smart terminal through a certain trigger mechanism on the terminal side without the user's perception.
  • Sensor signals include IMU sensor data (accelerometer, gyroscope, magnetometer) and positioning sensor information (GNSS, GNSS Status), etc.; wireless signal data include WiFi, Bluetooth, base station and other information.
  • the building outline information refers to the closed area information described by the orderly latitude and longitude point sequence, which completely and necessarily describes the coverage of the building.
  • the preprocessing module on the cloud side can perform data verification on sensor data and complete preliminary analysis, extracting semantic features such as indoor and outdoor features, cross-layer events, and location information such as absolute coordinates and relative coordinates. Since multiple data sources are measured asynchronously by different sensors, coordinate interpolation is performed on the characteristics of different wireless signal sensors to ensure the synchronization of input sources.
  • the final preprocessing transforms the sensor and wireless network signal information in the crowdsourcing data source into trajectory information composed of ordered coordinate information with wireless features and semantic features.
  • the data mining and extraction module can use the preset building outline information to extract trajectory information, identify transition points and data sets of valid and invalid areas.
  • the valid area is the indoor area inside the building outline; the invalid area is the area formed by a certain range of distance bands outside the building outline.
  • the transition point is a set of location points that must be passed when switching between indoor and outdoor areas, such as the entrance and exit of a shopping mall.
  • the effective feature extraction module based on comparative analysis can compare and analyze the mined wireless network information in valid areas and invalid areas, and obtain specific effective feature sets.
  • the positional semantic feature calculation module can perform statistical parameter estimation on the effective feature set in the effective area, and use the statistical feature band to replace all feature sets as the positional semantic feature library for output. Reduce storage overhead and provide the possibility to provide high-precision recognition.
  • the CGI mapping relationship building block can be aimed at the base station as a wireless signal data source. Due to protocol restrictions, the global unique identifier CGI information cannot be obtained in neighboring cells, which affects the recognition accuracy.
  • This patent utilizes the ordered base station signal information in the track to automatically construct a CGI mapping library of the base station's adjacent area, restore the adjacent area's CGI, and thus obtain complete base station information. Note that this module is only for base station wireless signal data sources, and other data sources such as WiFi do not need this module.
  • the input data may include wireless signal data collected by the device side and reported to the cloud side.
  • the wireless signals here include WiFi, Bluetooth, base stations, etc.
  • the CGI recovery module can recover the missing data of the adjacent cell by using the CGI mapping relationship library generated during the construction process for the base station data source.
  • the RFM retrieval module can use the wireless signal to search the location semantic feature library, and obtain all the location semantic feature information related to the wireless signal feature.
  • the feature matching module based on NL distance can use the wireless network signal data and the matched related location semantic feature information to perform NL-based distance estimation, and obtain confidence information through normalized mapping for all location semantic result distance information, and sort them in turn. Return ordered position semantic results with confidence to the end-side.
  • the input data can include the wireless signal data collected by the device side, the CGI mapping relationship library and the city-level location semantic feature library delivered from the cloud side to the device side.
  • the wireless signals here include WiFi, Bluetooth, base stations, etc.
  • the implementation scheme of the subsequent steps is the same as that on the cloud side.
  • the difference between the device-side implementation scheme and the cloud-side implementation scheme is that the cloud-side implementation scheme reports wireless signals to the cloud side, and all calculations are performed on the cloud side.
  • the device-side implementation solution is to deliver the CGI library and location semantic feature library to the device side, and all calculations are performed on the device side, reducing network delay and improving real-time recognition.
  • the embodiment of the present application also provides a positioning method, the method comprising:
  • each of the M network devices determine the corresponding signal strength distribution feature and the target signal strength interval in the signal strength distribution feature from the location semantic fingerprint database, each of the The probability density corresponding to the signal strength distribution feature in the wireless signal strength interval is higher than a threshold;
  • the terminal device Based on the wireless signal strength of each of the M network devices being within a corresponding target signal strength interval, it is determined that the terminal device is in the indoor preset area.
  • the first location point information may also include the first target identifier of the target network device and not include the second target identifier of the target network device, and the first target identifier does not have global uniqueness, the second target identifier has global uniqueness, and the second location including the first target identifier of the target network device and the second target identifier of the target network device is determined from the location semantic fingerprint database Point information: multiplexing the second target identifier included in the second location point information to the first location point information, so that the first location point information includes the second target identifier.
  • Fig. 14 is a schematic structural diagram of an apparatus for constructing a location semantic fingerprint library provided by an embodiment of the present application.
  • the apparatus 1400 may include:
  • the acquiring module 1401 is configured to acquire a target track, the target track includes a plurality of track points, and the multiple track points include a first set of track points, a second set of track points and a third set of track points connected in sequence, wherein the The first track point set includes sensor information and/or first GNSS state information, the sensor information is used to indicate that the first track point set is a track point between different levels, and the first GNSS state information is used for Indicate that the first track point set is a track point on an entrance and exit between indoors and outdoors, the track points in the second track point set include GNSS position information with a confidence level higher than a threshold, and the third track point set Including second GNSS state information, the second GNSS state information is used to indicate that the first track point set is an indoor track point;
  • a semantic determination module 1402 configured to determine the first set of track points as a set of fingerprint points in a transition area between indoors and outdoors;
  • semantic determination module 1402 For a specific description of the semantic determination module 1402, reference may be made to the description of steps 102, 103, and 104 in the above-mentioned embodiment, and details are not repeated here.
  • the fingerprint library construction module 1403 is configured to construct a location semantic fingerprint library according to the first track point set, the second track point set, and the third track point set.
  • step 105 For the specific description of the fingerprint library construction module 1403, reference may be made to the description of step 105 in the above embodiment, and details are not repeated here.
  • the distance between the track points in the second track point set and the indoor geo-fence is greater than a first threshold and smaller than a second threshold.
  • the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identifier of the device, the first identifier is not globally unique; the second track point includes second wireless signal information, and the second wireless signal information includes the first identifier and the first identifier of the network device Two identifications, the second identification has global uniqueness; the device also includes:
  • an identifier multiplexing module configured to multiplex the second identifier included in the second track point into the The first track point, so that the first wireless signal information includes the second identifier.
  • the plurality of track points include a first track point, a second track point, and a third track point that are sequentially adjacent, the first track point includes first wireless signal information, and the first track point A wireless signal information includes a first identifier of a network device, and the first identifier is not globally unique; the third track point includes second wireless signal information, and the second wireless signal information includes all The first identification and the second identification, the second identification has global uniqueness; the identification multiplexing module is also used for:
  • the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the third track point to the first track point, so that The first wireless signal information includes the second identifier.
  • the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network
  • the first identification of the device the first identification does not have global uniqueness; the identification multiplexing module is also used for:
  • the first track includes the second track point and a fourth track point
  • the fourth track point includes second wireless signal information
  • the second wireless signal information includes all of the network equipment
  • the first identification and the second identification, the second identification is globally unique
  • the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the fourth track point to the first track point, so that The first wireless signal information includes the second identifier.
  • the first identity is a pseudo cell identity PCI
  • the second identity is a global identifier CGI.
  • each track point includes wireless signal information, and a similarity between wireless signal information included in different track points is smaller than a threshold.
  • the third set of track points includes M target track points, and the M target track points are track points in an indoor preset area, and each target track point includes wireless signal information , and the wireless signal information includes the wireless signal strength of at least one network device;
  • the fingerprint library construction module is specifically used for:
  • the signal strength distribution feature of each network device includes a mapping relationship between wireless signal strength and probability density, so
  • the location semantic fingerprint library includes the signal strength distribution characteristics of each network device.
  • the signal intensity distribution feature is a normal distribution feature.
  • the acquisition module is also used to:
  • the device also includes:
  • a positioning module configured to determine a corresponding probability density from the location semantic fingerprint library according to the wireless signal strength of each of the M network devices;
  • An embodiment of the present application provides a location semantic fingerprint database construction device, the device includes: an acquisition module, used to acquire the target trajectory, the target trajectory includes a plurality of trajectory points, the plurality of trajectory points are sequentially connected A track point set, a second track point set, and a third track point set, wherein the first track point set includes sensor information and/or first GNSS state information, and the sensor information is used to indicate the first track point
  • the set is track points between different horizontal planes
  • the first GNSS state information is used to indicate that the first set of track points is track points on the entrance and exit between indoor and outdoor, and the track in the second set of track points
  • the point includes GNSS position information with a confidence level higher than a threshold
  • the third track point set includes second GNSS state information
  • the second GNSS state information is used to indicate that the first track point set is an indoor track point
  • semantics A determining module configured to determine the first set of track points as a set of fingerprint points in a transition area between indoor and outdoor; determine the
  • the trajectory point of the transition area between indoor and outdoor can be identified through sensor information and/or GNSS state information
  • the trajectory point of the outdoor area can be identified through GNSS position information
  • the transition area will be extended from the outdoor area to
  • the trajectory points of the indoor area are used as the trajectory points of the indoor area.
  • indoor semantic fingerprint points can also be accurately constructed.
  • FIG. 15 it is a schematic diagram of an embodiment of a terminal in the embodiment of the present application.
  • the terminal as a mobile phone as an example for illustration
  • FIG. 15 shows a block diagram of a partial structure of the mobile phone related to the terminal provided by the embodiment of the present application.
  • the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (wireless fidelity, WIFI) module 970, a processor 980 , and power supply 990 and other components.
  • RF Radio Frequency
  • the RF circuit 910 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after receiving the downlink information from the base station, it is processed by the processor 980; in addition, it sends the designed uplink data to the base station.
  • the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like.
  • RF circuitry 910 may also communicate with networks and other devices via wireless communications.
  • the above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Messaging Service
  • the memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 920 .
  • the memory 920 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc.
  • the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
  • the input unit 930 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone.
  • the input unit 930 may include a touch panel 931 and other input devices 932 .
  • the touch panel 931 also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 931 or near the touch panel 931). operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 931 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 980, and can receive and execute commands sent by the processor 980.
  • the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the input unit 930 may also include other input devices 932 .
  • other input devices 932 may include but not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and the like.
  • the display unit 940 may be used to display information input by or provided to the user and various menus of the mobile phone.
  • the display unit 940 may include a display panel 941.
  • the display panel 941 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
  • the touch panel 931 may cover the display panel 941, and when the touch panel 931 detects a touch operation on or near it, the touch operation is sent to the processor 980 to determine the type of the touch event, and then the processor 980 according to the touch event The type provides a corresponding visual output on the display panel 941 .
  • the touch panel 931 and the display panel 941 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 931 and the display panel 941 can be integrated to form a mobile phone. Realize the input and output functions of the mobile phone.
  • the handset may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors.
  • the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 941 and/or when the mobile phone is moved to the ear. or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.
  • mobile phone posture such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tap
  • other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.
  • the audio circuit 960, the speaker 961, and the microphone 962 can provide an audio interface between the user and the mobile phone.
  • the audio circuit 960 can transmit the electrical signal converted from the received audio data to the speaker 961, and the speaker 961 converts it into an audio signal for output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 980, and then sent to another mobile phone through the RF circuit 910, or the audio data is output to the memory 920 for further processing.
  • WIFI belongs to the short-distance wireless transmission technology.
  • the mobile phone can help users send and receive emails, browse web pages and access streaming media, etc. It provides users with wireless broadband Internet access.
  • Fig. 15 shows the WIFI module 970, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted as required without changing the essence of the invention.
  • the processor 980 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 920, and calling data stored in the memory 920, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole.
  • the processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that, the foregoing modem processor may not be integrated into the processor 980 .
  • the mobile phone also includes a power supply 990 (such as a battery) for supplying power to each component.
  • a power supply 990 (such as a battery) for supplying power to each component.
  • the power supply can be logically connected to the processor 980 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system.
  • the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.
  • the steps performed by the terminal in the foregoing method embodiments may be based on the terminal structure shown in FIG. 15 , and will not be repeated here.
  • Fig. 16 is a schematic structural diagram of the server provided in the embodiment of the present application
  • the server may have relatively large differences due to different configurations or performances, and may include one or More than one central processing unit (central processing units, CPU) 1622 (for example, one or more processors) and memory 1632, one or more storage media 1630 for storing application programs 1642 or data 1644 (for example, one or more mass storage equipment).
  • the memory 1632 and the storage medium 1630 may be temporary storage or persistent storage.
  • the program stored in the storage medium 1630 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the training device.
  • the central processing unit 1622 may be configured to communicate with the storage medium 1630 , and execute a series of instruction operations in the storage medium 1630 on the server 1600 .
  • the server 1600 can also include one or more power supplies 1626, one or more wired or wireless network interfaces 1650, one or more input and output interfaces 1658, and/or, one or more operating systems 1641, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • operating systems 1641 such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • the server may acquire a target track, the target track includes a plurality of track points, and the multiple track points include a first set of track points, a second set of track points, and a third set of track points connected in sequence, wherein the The first track point set includes sensor information and/or first GNSS state information, the sensor information is used to indicate that the first track point set is a track point between different levels, and the first GNSS state information is used to indicate The first track point set is track points on the entrance and exit between indoor and outdoor, the track points in the second track point set include GNSS position information with a confidence level higher than a threshold, and the third track point set includes second GNSS state information, the second GNSS state information is used to indicate that the first track point set is an indoor track point;
  • the sensor information can be a barometer, and there is a significant difference in air pressure values between the track points included in the first track point set, for example, according to the direction of the first track point, there is a significant difference in the barometric pressure values of the track points included in the first track point set If the change trend from large to small or from small to large, it can be considered that the sensor information included in the first track point set is used to indicate that the first track point set is a track point between different levels, and then determine the first track
  • the set of points is determined as a set of fingerprint points for the transition region between indoors and outdoors.
  • the first GNSS status information may be GNSS status;
  • the trajectory points (the second trajectory point set) including the GNSS position information whose confidence level is higher than the threshold can be determined as the outdoor trajectory points in the target trajectory, and then the second trajectory point set is determined as the fingerprint point of the outdoor semantics gather;
  • the trajectory set connected with the first trajectory point set in the target trajectory and not connected with the second trajectory point set can be used as the indoor trajectory point, and then the third trajectory point set is determined as the indoor semantic fingerprint point set ;
  • a location semantic fingerprint library is constructed according to the first track point set, the second track point set, and the third track point set.
  • the trajectory point of the transition area between indoor and outdoor can be identified through sensor information and/or GNSS state information
  • the trajectory point of the outdoor area can be identified through GNSS position information
  • the transition area will be extended from the outdoor area to
  • the indoor semantic fingerprint points can also be accurately constructed when accurate GNSS positioning information is missing indoors.
  • the distance between the track points in the second track point set and the indoor geo-fence is greater than a first threshold and smaller than a second threshold.
  • the first threshold may be a value of 10 meters and its vicinity, such as 8 meters, 9 meters, 11 meters, 12 meters, etc.
  • the first threshold may be related to the area of the indoor geo-fence area, and the larger the area of the geo-fence area
  • the larger the value of the first threshold, the greater the value of the second threshold can be 50 meters and nearby values, such as 48 meters, 49 meters, 51 meters, 52 meters, etc.
  • the second threshold can also be related to the indoor geo-fence area The area of the geo-fence is related, and the larger the area of the geo-fence area, the larger the value of the second threshold.
  • the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identifier of the device, the first identifier is not globally unique; the second track point includes second wireless signal information, and the second wireless signal information includes the first identifier and the first identifier of the network device Two identifications, the second identification has global uniqueness; the method also includes:
  • the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the second track point to the first track point, so that The first wireless signal information includes the second identifier.
  • the wireless signal information of some track points may be missing.
  • the wireless signal information may include the network device identifier (the first identifier and the second identifier) of the adjacent cell, wherein, The first identifier does not have global uniqueness, and the second identifier has global uniqueness.
  • the so-called global uniqueness means that the second identifier can uniquely indicate the cell where it is located, and there are different cells that correspond to the same first identifier.
  • the first identifier may be a global cell identifier CGI
  • the second identifier may be a pseudo cell identifier PCI.
  • the wireless signal information of the main cell may include the first identifier and the second identifier, while the wireless signal information of the adjacent cell does not include the second identifier, but only includes the first identifier , in this case, the wireless signal information of the track point only includes the first identifier and does not include the second identifier, and since the first identifier cannot uniquely indicate the network device, the track point is not available.
  • the second identifier not included in the track points is supplemented, so that the above track points can be used when the location fingerprint database is constructed, and the utilization rate of data is improved.
  • the positioning accuracy in subsequent position positioning is also improved.
  • the plurality of track points include a first track point, a second track point, and a third track point that are sequentially adjacent, the first track point includes first wireless signal information, and the first track point A wireless signal information includes a first identifier of a network device, and the first identifier is not globally unique; the third track point includes second wireless signal information, and the second wireless signal information includes all The first identifier and the second identifier, the second identifier is globally unique; based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, the third trajectory The second identifier included in the point is multiplexed to the first track point, so that the first wireless signal information includes the second identifier.
  • the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identification of the device, the first identification is not globally unique; the first track can be obtained, the first track includes the second track point and the fourth track point, the fourth track point includes the second wireless signal information, the second wireless signal information includes the first identifier and the second identifier of the network device, and the second identifier is globally unique;
  • the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the fourth track point to the first track point, so that The first wireless signal information includes the second identifier.
  • the first identity is a pseudo cell identity PCI
  • the second identity is a global identifier CGI.
  • each track point includes wireless signal information, and a similarity between wireless signal information included in different track points is smaller than a threshold.
  • the wireless signal information of two track points located indoors and outdoors may be very similar, and these track points will reduce the accuracy of subsequent indoor and outdoor positioning.
  • the part of the track points in the target track (or other tracks) that meet the above conditions may be eliminated, so that each of the track points in the target track (or other tracks) includes wireless signal information, and The similarity between wireless signal information included in different track points is smaller than a threshold.
  • the track points whose similarity between wireless signal information is greater than the threshold will cause errors in indoor and outdoor recognition when positioning based on the location fingerprint library, in the embodiment of the present application, the track points whose similarity between wireless signal information is greater than the threshold Points are eliminated from the target trajectory, which improves the accuracy of positioning.
  • the third set of track points includes M target track points, and the M target track points are track points in an indoor preset area, and each target track point includes wireless signal information , and the wireless signal information includes the wireless signal strength of at least one network device; the method further includes:
  • the signal strength distribution feature includes a mapping relationship between wireless signal strength and probability density, so
  • the location semantic fingerprint library includes the signal strength distribution characteristics of each network device.
  • the signal intensity distribution feature is a normal distribution feature.
  • the method further includes: acquiring the first location point information collected by the terminal device, where the first location point information includes target wireless signal information, and the target wireless signal information includes information of M network devices Wireless signal strength; according to the wireless signal strength of each network device in the M network devices, determine the corresponding signal strength distribution feature and the target signal strength interval in the signal strength distribution feature from the location semantic fingerprint library, In each of the wireless signal strength intervals, the probability density corresponding to the signal strength distribution feature is higher than a threshold; based on the wireless signal strength of each of the M network devices being within the corresponding target signal strength interval, determine the The terminal device is located in the indoor preset area.
  • the method further includes: based on that the first location point information includes a first target identifier of the target network device and does not include a second target identifier of the target network device, the first target The identifier does not have global uniqueness, the second target identifier has global uniqueness, and the first target identifier including the target network device and the second target identifier including the target network device are determined from the location semantic fingerprint database the second location point information; multiplexing the second target identifier included in the second location point information to the first location point information, so that the first location point information includes the second target identifier.
  • the embodiment of the present application also provides a computer program product, which, when running on a computer, causes the computer to execute the location semantic fingerprint database construction method described in the above embodiments.
  • An embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a program for performing signal processing, and when it is run on a computer, the computer executes the location as described in the above-mentioned embodiments Construction method of semantic fingerprint library.
  • the function adjustment device provided in the embodiment of the present application may specifically be a chip.
  • the chip includes: a processing unit and a communication unit.
  • the processing unit may be, for example, a processor, and the communication unit may be, for example, an input/output interface, a pin, or a circuit.
  • the processing unit can execute the computer-executed instructions stored in the storage unit, so that the chip in the execution device executes the image enhancement method described in the above embodiment, or the chip in the training device executes the image enhancement method described in the above embodiment.
  • the storage unit is a storage unit in the chip, such as a register, a cache, etc.
  • the storage unit may also be a storage unit located outside the chip in the wireless access device, such as a read-only memory (read- only memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM), etc.
  • ROM read-only memory
  • RAM random access memory
  • FIG. 17 is a schematic structural diagram of a chip provided by the embodiment of the present application.
  • the chip can be represented as a neural network processor NPU170, and the NPU 170 is mounted to the main CPU (Host CPU) as a coprocessor. Above, the tasks are assigned by the Host CPU.
  • the core part of the NPU is the operation circuit 1703, and the operation circuit 1703 is controlled by the controller 1704 to extract matrix data in the memory and perform multiplication operations.
  • the operation circuit 1703 includes multiple processing units (Process Engine, PE).
  • arithmetic circuit 1703 is a two-dimensional systolic array.
  • the arithmetic circuit 1703 may also be a one-dimensional systolic array or other electronic circuits capable of performing mathematical operations such as multiplication and addition.
  • arithmetic circuit 1703 is a general-purpose matrix processor.
  • the operation circuit fetches the data corresponding to the matrix B from the weight memory 1702, and caches it in each PE in the operation circuit.
  • the operation circuit takes the data of matrix A from the input memory 1701 and performs matrix operation with matrix B, and the obtained partial or final results of the matrix are stored in the accumulator 1708 .
  • the unified memory 1706 is used to store input data and output data.
  • the weight data directly accesses the controller (direct memory access controller, DMAC) 1705 through the storage unit, and the DMAC is transferred to the weight storage 1702.
  • Input data is also transferred to unified memory 1706 by DMAC.
  • the BIU is the Bus Interface Unit, that is, the bus interface unit 1710, which is used for the interaction between the AXI bus and the DMAC and the instruction fetch buffer (Instruction Fetch Buffer, IFB) 1709.
  • IFB Instruction Fetch Buffer
  • the bus interface unit 1710 (Bus Interface Unit, BIU for short) is used for the instruction fetch memory 1709 to obtain instructions from the external memory, and is also used for the storage unit access controller 1705 to obtain the original data of the input matrix A or the weight matrix B from the external memory.
  • BIU Bus Interface Unit
  • the DMAC is mainly used to move the input data in the external memory DDR to the unified memory 1706 , to move the weight data to the weight memory 1702 , or to move the input data to the input memory 1701 .
  • the vector calculation unit 1707 includes a plurality of calculation processing units, and further processes the output of the calculation circuit, such as vector multiplication, vector addition, exponential operation, logarithmic operation, size comparison, etc., if necessary. It is mainly used for non-convolutional/fully connected layer network calculations in neural networks, such as Batch Normalization (batch normalization), pixel-level summation, and upsampling of feature planes.
  • the vector computation unit 1707 can store the vector of the processed output to unified memory 1706 .
  • the vector calculation unit 1707 may apply a linear function and/or a nonlinear function to the output of the operation circuit 1703, such as performing linear interpolation on the feature plane extracted by the convolutional layer, and for example, a vector of accumulated values to generate an activation value.
  • the vector calculation unit 1707 generates normalized values, pixel-level summed values, or both.
  • the vector of processed outputs can be used as an activation input to operational circuitry 1703, eg, for use in subsequent layers in a neural network.
  • An instruction fetch buffer (instruction fetch buffer) 1709 connected to the controller 1704 is used to store instructions used by the controller 1704;
  • the unified memory 1706, the input memory 1701, the weight memory 1702 and the fetch memory 1709 are all On-Chip memories. External memory is private to the NPU hardware architecture.
  • the processor mentioned in any of the above-mentioned places can be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more programs for controlling the relevant steps of the location semantic fingerprint library construction method described in the above-mentioned embodiments implementation of the integrated circuit.
  • the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physically separated.
  • a unit can be located in one place, or it can be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • the connection relationship between the modules indicates that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines.
  • the essence of the technical solution of this application or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, such as a floppy disk of a computer , U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer, training device, or network device, etc.) execute the method of each embodiment of the present application .
  • a computer device which can be a personal computer, training device, or network device, etc.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be passed from a website site, computer, training device, or data center Wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) transmission to another website site, computer, training device, or data center.
  • Wired eg, coaxial cable, fiber optic, digital subscriber line (DSL)
  • wireless eg, infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a training device or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (Solid State Disk, SSD)), etc.

Abstract

Disclosed in embodiments of the present application is a location semantic fingerprint database construction method. The method comprises: acquiring a target trajectory, the target trajectory comprising a first set of trajectory points comprising sensor information and/or first GNSS status information, the sensor information being used for indicating that the first set of trajectory points being trajectory points between different horizontal planes, the first GNSS status information being used for indicating that the first set of trajectory points are trajectory points on an entrance and exit between indoors and outdoors, trajectory points in a second set of trajectory points comprising GNSS location information having a confidence level higher than a threshold, and second GNSS status information in a third set of trajectory points being used for indicating that the first set of trajectory points are indoor trajectory points. The location semantic fingerprint database generated on the basis of the information can be used for fingerprint identification and positioning. According to the present application, indoor semantic fingerprint points can be accurately constructed when accurate GNSS positioning information is missing indoors.

Description

一种位置语义指纹库构建方法以及相关装置A location semantic fingerprint library construction method and related device
本申请要求于2021年7月28日提交中国专利局、申请号为202110859719.0、发明名称为“一种位置语义指纹库构建方法以及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110859719.0 and the title of the invention "a location semantic fingerprint library construction method and related device" submitted to the China Patent Office on July 28, 2021, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及计算机领域,尤其涉及一种位置语义指纹库构建方法以及相关装置。The present application relates to the field of computers, in particular to a method for constructing a location semantic fingerprint database and related devices.
背景技术Background technique
随着位置服务的大众化、普通化、日常化,对于位置的定位服务成为人们越来越不可或缺的基本需求。而人们的日常活动大多数时间在室内,对于终端的使用和数据连接大多情况下也在室内,并且人们的日常活动信息通常与位置、时间相关,所以,对于移动互联网时代的位置服务需求将越来越大。With the popularization, generalization, and dailyization of location-based services, location-based services have become an increasingly indispensable basic demand for people. Most of people's daily activities are indoors, and most of the terminal use and data connection are also indoors, and people's daily activity information is usually related to location and time. Therefore, the demand for location-based services in the mobile Internet era will become more and more bigger and bigger.
位置语义识别技术属于定位导航技术领域。位置语义识别主要是在定位基础上为用户提供行为引导和语义引导等上层服务能力。例如当用户进入到地铁站闸机口3~10米范围内时为用户提前弹出地铁二维码。位置语义识别技术也为防疫健康管理、用户画像、个性化推荐及广告推送提供了底层数据支撑。智能手机的普及以及手机传感器的丰富,为位置语义的高精度识别提供了可能。The location semantic recognition technology belongs to the technical field of positioning and navigation. Location semantic recognition is mainly to provide users with upper-level service capabilities such as behavior guidance and semantic guidance on the basis of positioning. For example, when the user enters the range of 3-10 meters from the gate of the subway station, the QR code of the subway is popped up for the user in advance. The location semantic recognition technology also provides underlying data support for epidemic prevention and health management, user portraits, personalized recommendations and advertisement push. The popularity of smart phones and the abundance of mobile phone sensors provide the possibility for high-precision recognition of location semantics.
在现有的位置语义指纹库构建时,通过使用全球导航卫星系统(global navigation satellite system,GNSS)信息以及预设的位置点或者地理围栏信息进行对比识别。这类识别方案依赖GNSS信号源。对于室内这种由于信号遮挡而无法采集GNSS位置信息的场景下的位置语义指纹库,该方法无法使用。When the existing location semantic fingerprint database is constructed, the comparison and identification is carried out by using the global navigation satellite system (global navigation satellite system, GNSS) information and the preset location point or geofence information. Such identification schemes rely on GNSS signal sources. This method cannot be used for the location semantic fingerprint library in indoor scenes where GNSS location information cannot be collected due to signal occlusion.
发明内容Contents of the invention
第一方面,本申请提供了一种位置语义指纹库构建方法,所述方法包括:In a first aspect, the present application provides a method for constructing a location semantic fingerprint library, the method comprising:
获取目标轨迹,所述目标轨迹包括多个轨迹点,所述多个轨迹点包括依次连接的第一轨迹点集合、第二轨迹点集合以及第三轨迹点集合,其中所述第一轨迹点集合包括传感器信息和/或第一GNSS状态信息,所述传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,所述第一GNSS状态信息用于指示所述第一轨迹点集合为室内和室外之间的出入口上的轨迹点,所述第二轨迹点集合中的轨迹点包括置信度高于阈值的GNSS位置信息,所述第三轨迹点集合包括第二GNSS状态信息,所述第二GNSS状态信息用于指示所述第一轨迹点集合为室内的轨迹点;Obtaining a target trajectory, the target trajectory includes a plurality of trajectory points, and the plurality of trajectory points include a first set of track points, a second set of track points and a third set of track points connected in sequence, wherein the first set of track points Including sensor information and/or first GNSS state information, the sensor information is used to indicate that the first track point set is a track point between different levels, and the first GNSS state information is used to indicate the first track The point set is a track point on the entrance and exit between indoor and outdoor, the track point in the second track point set includes GNSS position information with a confidence level higher than the threshold, and the third track point set includes the second GNSS state information , the second GNSS state information is used to indicate that the first track point set is an indoor track point;
其中,传感器信息可以为气压计,第一轨迹点集合包括的各个轨迹点之间的气压值存在明显差异,例如按照第一轨迹的方向,第一轨迹点集合包括的轨迹点的气压值存在明显的由大到小或者由小到大的变化趋势,则可以认为第一轨迹点集合包括的传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,进而确定第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合。第一GNSS状态信息可以为GNSS status;Wherein, the sensor information can be a barometer, and there is a significant difference in air pressure values between the track points included in the first track point set, for example, according to the direction of the first track point, there is a significant difference in the barometric pressure values of the track points included in the first track point set If the change trend from large to small or from small to large, it can be considered that the sensor information included in the first track point set is used to indicate that the first track point set is a track point between different levels, and then determine the first track The set of points is determined as a set of fingerprint points for the transition region between indoors and outdoors. The first GNSS status information may be GNSS status;
其中,可以将目标轨迹中包括置信度高于阈值的GNSS位置信息的轨迹点(第二轨迹点集合)确定为室外的轨迹点,进而将所述第二轨迹点集合确定为室外语义的指纹点集合;Wherein, the trajectory points (the second trajectory point set) including the GNSS position information whose confidence level is higher than the threshold can be determined as the outdoor trajectory points in the target trajectory, and then the second trajectory point set is determined as the fingerprint point of the outdoor semantics gather;
其中,可以将目标轨迹中与第一轨迹点集合连接,且不与第二轨迹点集合连接的轨迹集合作为室内的轨迹点,进而将所述第三轨迹点集合确定为室内语义的指纹点集合;Among them, the trajectory set connected with the first trajectory point set in the target trajectory and not connected with the second trajectory point set can be used as the indoor trajectory point, and then the third trajectory point set is determined as the indoor semantic fingerprint point set ;
将所述第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合;Determining the first set of trajectory points as a set of fingerprint points in a transition zone between indoors and outdoors;
将所述第二轨迹点集合确定为室外语义的指纹点集合;Determining the second set of trajectory points as a set of fingerprint points for outdoor semantics;
将所述第三轨迹点集合确定为室内语义的指纹点集合;Determining the third set of trajectory points as a set of fingerprint points for indoor semantics;
根据所述第一轨迹点集合、所述第二轨迹点集合、以及所述第三轨迹点集合,构建位置语义指纹库。A location semantic fingerprint library is constructed according to the first track point set, the second track point set, and the third track point set.
本申请实施例中,通过传感器信息和/或GNSS状态信息可以识别出室内与室外之间过渡区域的轨迹点,通过GNSS位置信息识别室外区域的轨迹点,并将从室外区域经过过渡区域延伸到且GNSS状态可以指示室内状态的轨迹点作为室内区域的轨迹点,在室内缺失准确的GNSS定位信息时,也可以准确构建室内语义的指纹点。In the embodiment of the present application, the trajectory point of the transition area between indoor and outdoor can be identified through sensor information and/or GNSS state information, the trajectory point of the outdoor area can be identified through GNSS position information, and the transition area will be extended from the outdoor area to And the GNSS state can indicate the track point of the indoor state as the track point of the indoor area, and when the accurate GNSS positioning information is missing indoors, the fingerprint point of the indoor semantics can also be accurately constructed.
在一种可能的实现中,所述第二轨迹点集合中的轨迹点与所述室内的地理围栏之间的距离大于第一阈值且小于第二阈值。In a possible implementation, the distance between the track points in the second track point set and the indoor geo-fence is greater than a first threshold and smaller than a second threshold.
应理解,第一阈值可以为10米及其附近的数值,例如8米、9米、11米、12米等,第一阈值可以与室内的地理围栏区域的面积有关,地理围栏区域的面积越大,则第一阈值的取值越大,第二阈值可以为50米及其附近的数值,例如48米、49米、51米、52米等,第二阈值也可以与室内的地理围栏区域的面积有关,地理围栏区域的面积越大,则第二阈值的取值越大。It should be understood that the first threshold may be a value of 10 meters and its vicinity, such as 8 meters, 9 meters, 11 meters, 12 meters, etc., the first threshold may be related to the area of the indoor geo-fence area, and the larger the area of the geo-fence area The larger the value of the first threshold, the greater the value of the second threshold can be 50 meters and nearby values, such as 48 meters, 49 meters, 51 meters, 52 meters, etc. The second threshold can also be related to the indoor geo-fence area The area of the geo-fence is related, and the larger the area of the geo-fence area, the larger the value of the second threshold.
其中,本申请中的地理围栏可以有两种定义,第一种为一系列经纬度点序列所组成的凸多边形封闭区域;第二种为某个中心点半径为R的圆形范围。Among them, the geo-fence in this application can have two definitions, the first is a convex polygonal closed area composed of a series of longitude and latitude point sequences; the second is a circular range with a radius R of a certain center point.
地理围栏内部的经纬度点到地理围栏距离是0;The distance from the latitude and longitude points inside the geofence to the geofence is 0;
计算地理围栏外部某个位置点到地理围栏的计算方式可以为:The calculation method of calculating a location point outside the geofence to the geofence can be:
第一种:地理围栏中每两个相邻的点都可以构成一条线段,计算点到每条线段的距离,取最小值作为点到地理围栏的距离。The first type: Every two adjacent points in the geofence can form a line segment, calculate the distance from the point to each line segment, and take the minimum value as the distance from the point to the geofence.
第二种:直接计算点到中心点的距离减去半径R作为点到地理围栏的距离。The second: directly calculate the distance from the point to the center point minus the radius R as the distance from the point to the geofence.
在一种可能的实现中,所述多个轨迹点包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述第二轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;所述方法还包括:In a possible implementation, the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identifier of the device, the first identifier is not globally unique; the second track point includes second wireless signal information, and the second wireless signal information includes the first identifier and the first identifier of the network device Two identifications, the second identification has global uniqueness; the method also includes:
基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第二轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the second track point to the first track point, so that The first wireless signal information includes the second identifier.
在一些场景中,采集设备在采集轨迹点时,部分轨迹点的无线信号信息会存在缺失,具体的,无线信号信息可以包括临小区的网络设备标识(第一标识和第二标识),其中,第一标识不具备全球唯一性,第二标识具备全球唯一性,这里所谓的全球唯一性是指第二标识能唯一指示所在的小区,而存在不同的小区都对应于相同的第一标识,示例性的,第一标识可以为小区全局标识符PCI,所述第二标识可以为伪小区标识CGI。由于信息安全的考虑,一些基站在向终端发送无线信号时,主小区的无线信号信息可以包括第一标识和第二标识,而临小区的无线信号信息不包括第二标识,仅包括第一标识,这种情况下,轨迹点的无线信号信息仅包括第一标识,不包括第二标识,由于第一标识并不能唯一指示网络设备,则该轨迹点并不可用。In some scenarios, when the acquisition device collects the track points, the wireless signal information of some track points may be missing. Specifically, the wireless signal information may include the network device identifier (the first identifier and the second identifier) of the adjacent cell, wherein, The first identifier does not have global uniqueness, and the second identifier has global uniqueness. The so-called global uniqueness here means that the second identifier can uniquely indicate the cell where it is located, and there are different cells that correspond to the same first identifier. Example Specifically, the first identifier may be a global cell identifier PCI, and the second identifier may be a pseudo cell identifier CGI. Due to information security considerations, when some base stations send wireless signals to terminals, the wireless signal information of the main cell may include the first identifier and the second identifier, while the wireless signal information of the adjacent cell does not include the second identifier, but only includes the first identifier , in this case, the wireless signal information of the track point only includes the first identifier and does not include the second identifier, and since the first identifier cannot uniquely indicate the network device, the track point is not available.
本申请实施例中,基于相邻轨迹点的无线信号信息,将轨迹点中不包括的第二标识补齐,进而使得上述轨迹点在进行位置指纹库构建时可用,提高了数据的利用率,相应的也提高了后续进行位置定位时的定位准确度。In the embodiment of the present application, based on the wireless signal information of adjacent track points, the second identifier not included in the track points is supplemented, so that the above track points can be used when the location fingerprint database is constructed, and the utilization rate of data is improved. Correspondingly, the positioning accuracy in subsequent position positioning is also improved.
在一种可能的实现中,所述多个轨迹点包括依次相邻的第一轨迹点、第二轨迹点和第三轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述第三轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;可以基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第三轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。In a possible implementation, the plurality of track points include a first track point, a second track point, and a third track point that are sequentially adjacent, the first track point includes first wireless signal information, and the first track point A wireless signal information includes a first identifier of a network device, and the first identifier is not globally unique; the third track point includes second wireless signal information, and the second wireless signal information includes all The first identifier and the second identifier, the second identifier is globally unique; based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, the third trajectory The second identifier included in the point is multiplexed to the first track point, so that the first wireless signal information includes the second identifier.
在一种可能的实现中,所述多个轨迹点包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;可以获取第一轨迹,所述第一轨迹包括所述第二轨迹点和第四轨迹点,所述第四轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;In a possible implementation, the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identification of the device, the first identification is not globally unique; the first track can be obtained, the first track includes the second track point and the fourth track point, the fourth track point includes the second wireless signal information, the second wireless signal information includes the first identifier and the second identifier of the network device, and the second identifier is globally unique;
基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第四轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the fourth track point to the first track point, so that The first wireless signal information includes the second identifier.
在一种可能的实现中,所述第一标识为伪小区标识PCI,所述第二标识为全局标识符CGI。In a possible implementation, the first identity is a pseudo cell identity PCI, and the second identity is a global identifier CGI.
在一种可能的实现中,每个所述轨迹点包括无线信号信息,且不同所述轨迹点包括的无线信号信息之间的相似度小于阈值。In a possible implementation, each track point includes wireless signal information, and a similarity between wireless signal information included in different track points is smaller than a threshold.
在一种可能的实现中,由于信号穿透,位于室内和室外的两个轨迹点的无线信号信息可能很相似,这部分轨迹点会降低后续的室内室外定位的准确性。在一种可能的实现中,可以将目标轨迹(或者其他轨迹)中满足上述情况的这部分轨迹点剔除,以使得目标轨迹(或者其他轨迹)中每个所述轨迹点包括无线信号信息,且不同所述轨迹点包括的无线信 号信息之间的相似度小于阈值。In a possible implementation, due to signal penetration, the wireless signal information of two track points located indoors and outdoors may be very similar, and these track points will reduce the accuracy of subsequent indoor and outdoor positioning. In a possible implementation, the part of the track points in the target track (or other tracks) that meet the above conditions may be eliminated, so that each of the track points in the target track (or other tracks) includes wireless signal information, and The similarity between wireless signal information included in different track points is smaller than a threshold.
由于无线信号信息之间的相似度大于阈值的轨迹点会造成后续基于位置指纹库进行定位时室内室外识别的错误,本申请实施例中,通过将无线信号信息之间的相似度大于阈值的轨迹点从目标轨迹上剔除,提高了定位的准确度。Since the track points whose similarity between wireless signal information is greater than the threshold will cause errors in indoor and outdoor recognition when positioning based on the location fingerprint library, in the embodiment of the present application, the track points whose similarity between wireless signal information is greater than the threshold Points are eliminated from the target trajectory, which improves the accuracy of positioning.
在一种可能的实现中,所述第三轨迹点集合包括M个目标轨迹点,所述M个目标轨迹点为室内预设区域内的轨迹点,每个所述目标轨迹点包括无线信号信息,且所述无线信号信息包括至少一个网络设备的无线信号强度;所述方法还包括:In a possible implementation, the third set of track points includes M target track points, and the M target track points are track points in an indoor preset area, and each target track point includes wireless signal information , and the wireless signal information includes the wireless signal strength of at least one network device; the method further includes:
根据所述M个目标轨迹点包括的各个网络设备的无线信号强度,确定所述各个网络设备的信号强度分布特征,所述信号强度分布特征包括无线信号强度与概率密度之间的映射关系,所述位置语义指纹库包括所述各个网络设备的信号强度分布特征。可选的,所述信号强度分布特征为正态分布特征。According to the wireless signal strength of each network device included in the M target trajectory points, determine the signal strength distribution feature of each network device, the signal strength distribution feature includes a mapping relationship between wireless signal strength and probability density, so The location semantic fingerprint library includes the signal strength distribution characteristics of each network device. Optionally, the signal intensity distribution feature is a normal distribution feature.
具体的,可以对于有效区域的无线信号特征集合进行统计分析。假设每个特征对应的信号强度满足高斯分布。对于第二轨迹集合的轨迹点对应的网络设备内每个特征的信号强度分布参数进行估计,使用有一个正态分布N(μ,σ)来代替一个特征信息集合。从而降低了存储开销以及后续识别阶段的计算开销,且为高精度的位置语义识别提供了数据支撑。Specifically, statistical analysis may be performed on the wireless signal feature set in the effective area. It is assumed that the signal strength corresponding to each feature satisfies a Gaussian distribution. For estimating the signal strength distribution parameters of each feature in the network device corresponding to the track points of the second track set, a normal distribution N(μ, σ) is used to replace a feature information set. Thus, the storage overhead and the calculation overhead of the subsequent recognition stage are reduced, and data support is provided for high-precision location semantic recognition.
在一种可能的实现中,所述方法还包括:获取终端设备采集的第一位置点信息,所述第一位置点信息包括目标无线信号信息,所述目标无线信号信息包括M个网络设备的无线信号强度;根据所述M个网络设备中每个网络设备的无线信号强度,从所述位置语义指纹库中确定对应的信号强度分布特征以及所述信号强度分布特征中的目标信号强度区间,每个所述无线信号强度区间在所述信号强度分布特征对应的概率密度高于阈值;基于所述M个网络设备中每个网络设备的无线信号强度在对应的目标信号强度区间内,确定所述终端设备处于所述室内预设区域内。In a possible implementation, the method further includes: acquiring the first location point information collected by the terminal device, where the first location point information includes target wireless signal information, and the target wireless signal information includes information of M network devices Wireless signal strength; according to the wireless signal strength of each network device in the M network devices, determine the corresponding signal strength distribution feature and the target signal strength interval in the signal strength distribution feature from the location semantic fingerprint library, In each of the wireless signal strength intervals, the probability density corresponding to the signal strength distribution feature is higher than a threshold; based on the wireless signal strength of each of the M network devices being within the corresponding target signal strength interval, determine the The terminal device is located in the indoor preset area.
在一种可能的实现中,所述方法还包括:基于所述第一位置点信息包括目标网络设备的第一目标标识且不包括所述目标网络设备的第二目标标识,所述第一目标标识不具备全球唯一性,所述第二目标标识具备全球唯一性,从所述位置语义指纹库中确定包括所述目标网络设备的第一目标标识且包括所述目标网络设备的第二目标标识的第二位置点信息;将所述第二位置点信息包括的所述第二目标标识复用至所述第一位置点信息,以便所述第一位置点信息包括所述第二目标标识。In a possible implementation, the method further includes: based on that the first location point information includes a first target identifier of the target network device and does not include a second target identifier of the target network device, the first target The identifier does not have global uniqueness, the second target identifier has global uniqueness, and the first target identifier including the target network device and the second target identifier including the target network device are determined from the location semantic fingerprint library the second location point information; multiplexing the second target identifier included in the second location point information to the first location point information, so that the first location point information includes the second target identifier.
第二方面,本申请提供了一种位置语义指纹库构建装置,所述装置包括:In a second aspect, the present application provides a device for constructing a location semantic fingerprint library, the device comprising:
获取模块,用于获取目标轨迹,所述目标轨迹包括多个轨迹点,所述多个轨迹点包括依次连接的第一轨迹点集合、第二轨迹点集合以及第三轨迹点集合,其中所述第一轨迹点集合包括传感器信息和/或第一GNSS状态信息,所述传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,所述第一GNSS状态信息用于指示所述第一轨迹点集合 为室内和室外之间的出入口上的轨迹点,所述第二轨迹点集合中的轨迹点包括置信度高于阈值的GNSS位置信息,所述第三轨迹点集合包括第二GNSS状态信息,所述第二GNSS状态信息用于指示所述第一轨迹点集合为室内的轨迹点;An acquisition module, configured to acquire a target trajectory, the target trajectory includes a plurality of trajectory points, and the plurality of trajectory points include a first set of track points, a second set of track points, and a third set of track points connected in sequence, wherein the The first track point set includes sensor information and/or first GNSS state information, the sensor information is used to indicate that the first track point set is a track point between different levels, and the first GNSS state information is used to indicate The first track point set is track points on the entrance and exit between indoor and outdoor, the track points in the second track point set include GNSS position information with a confidence level higher than a threshold, and the third track point set includes second GNSS state information, the second GNSS state information is used to indicate that the first track point set is an indoor track point;
语义确定模块,用于将所述第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合;A semantic determination module, configured to determine the first set of trajectory points as a set of fingerprint points in a transition area between indoors and outdoors;
将所述第二轨迹点集合确定为室外语义的指纹点集合;Determining the second set of trajectory points as a set of fingerprint points for outdoor semantics;
将所述第三轨迹点集合确定为室内语义的指纹点集合;Determining the third set of trajectory points as a set of fingerprint points for indoor semantics;
指纹库构建模块,用于根据所述第一轨迹点集合、所述第二轨迹点集合、以及所述第三轨迹点集合,构建位置语义指纹库。A fingerprint library construction module, configured to construct a location semantic fingerprint library according to the first track point set, the second track point set, and the third track point set.
本申请实施例提供了一种位置语义指纹库构建装置,所述装置包括:获取模块,用于获取目标轨迹,所述目标轨迹包括多个轨迹点,所述多个轨迹点包括依次连接的第一轨迹点集合、第二轨迹点集合以及第三轨迹点集合,其中所述第一轨迹点集合包括传感器信息和/或第一GNSS状态信息,所述传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,所述第一GNSS状态信息用于指示所述第一轨迹点集合为室内和室外之间的出入口上的轨迹点,所述第二轨迹点集合中的轨迹点包括置信度高于阈值的GNSS位置信息;语义确定模块,用于将所述第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合;将所述第二轨迹点集合确定为室外语义的指纹点集合;将所述第三轨迹点集合确定为室内语义的指纹点集合;指纹库构建模块,用于根据所述第一轨迹点集合、所述第二轨迹点集合、以及所述第三轨迹点集合,构建位置语义指纹库。本申请实施例中,通过传感器信息和/或GNSS状态信息可以识别出室内与室外之间过渡区域的轨迹点,通过GNSS位置信息识别室外区域的轨迹点,并将从室外区域经过过渡区域延伸到的轨迹点作为室内区域的轨迹点,在室内缺失准确的GNSS定位信息时,也可以准确构建室内语义的指纹点。An embodiment of the present application provides a location semantic fingerprint database construction device, the device includes: an acquisition module, used to acquire the target trajectory, the target trajectory includes a plurality of trajectory points, the plurality of trajectory points are sequentially connected A track point set, a second track point set, and a third track point set, wherein the first track point set includes sensor information and/or first GNSS state information, and the sensor information is used to indicate the first track point The set is track points between different horizontal planes, the first GNSS state information is used to indicate that the first set of track points is track points on the entrance and exit between indoor and outdoor, and the track in the second set of track points The point includes the GNSS position information whose confidence level is higher than the threshold; the semantic determination module is used to determine the first track point set as the fingerprint point set of the transition zone between indoor and outdoor; the second track point set is determined as A fingerprint point set for outdoor semantics; determining the third track point set as a fingerprint point set for indoor semantics; The third set of trajectory points is used to construct a location semantic fingerprint library. In the embodiment of the present application, the trajectory point of the transition area between indoor and outdoor can be identified through sensor information and/or GNSS state information, the trajectory point of the outdoor area can be identified through GNSS position information, and the transition area will be extended from the outdoor area to As the trajectory points of the indoor area, the indoor semantic fingerprint points can also be accurately constructed when accurate GNSS positioning information is missing indoors.
在一种可能的实现中,所述第二轨迹点集合中的轨迹点与所述室内的地理围栏之间的距离大于第一阈值且小于第二阈值。In a possible implementation, the distance between the track points in the second track point set and the indoor geo-fence is greater than a first threshold and smaller than a second threshold.
在一种可能的实现中,所述多个轨迹点包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述第二轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;所述装置还包括:In a possible implementation, the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identifier of the device, the first identifier is not globally unique; the second track point includes second wireless signal information, and the second wireless signal information includes the first identifier and the first identifier of the network device Two identifications, the second identification has global uniqueness; the device also includes:
标识复用模块,用于基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第二轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。an identifier multiplexing module, configured to multiplex the second identifier included in the second track point into the The first track point, so that the first wireless signal information includes the second identifier.
在一种可能的实现中,所述多个轨迹点包括依次相邻的第一轨迹点、第二轨迹点和第三轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备 的第一标识,所述第一标识不具备全球唯一性;所述第三轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;所述标识复用模块,还用于:In a possible implementation, the plurality of track points include a first track point, a second track point, and a third track point that are sequentially adjacent, the first track point includes first wireless signal information, and the first track point A wireless signal information includes a first identifier of a network device, and the first identifier is not globally unique; the third track point includes second wireless signal information, and the second wireless signal information includes all The first identification and the second identification, the second identification has global uniqueness; the identification multiplexing module is also used for:
基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第三轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the third track point to the first track point, so that The first wireless signal information includes the second identifier.
在一种可能的实现中,所述多个轨迹点包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述标识复用模块,还用于:In a possible implementation, the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identification of the device, the first identification does not have global uniqueness; the identification multiplexing module is also used for:
获取第一轨迹,所述第一轨迹包括所述第二轨迹点和第四轨迹点,所述第四轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;Acquire a first track, the first track includes the second track point and a fourth track point, the fourth track point includes second wireless signal information, and the second wireless signal information includes all of the network equipment The first identification and the second identification, the second identification is globally unique;
基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第四轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the fourth track point to the first track point, so that The first wireless signal information includes the second identifier.
在一种可能的实现中,所述第一标识为伪小区标识PCI,所述第二标识为全局标识符CGI。In a possible implementation, the first identity is a pseudo cell identity PCI, and the second identity is a global identifier CGI.
在一种可能的实现中,每个所述轨迹点包括无线信号信息,且不同所述轨迹点包括的无线信号信息之间的相似度小于阈值。In a possible implementation, each track point includes wireless signal information, and a similarity between wireless signal information included in different track points is smaller than a threshold.
在一种可能的实现中,所述第三轨迹点集合包括M个目标轨迹点,所述M个目标轨迹点为室内预设区域内的轨迹点,每个所述目标轨迹点包括无线信号信息,且所述无线信号信息包括至少一个网络设备的无线信号强度;所述指纹库构建模块,具体用于:In a possible implementation, the third set of track points includes M target track points, and the M target track points are track points in an indoor preset area, and each target track point includes wireless signal information , and the wireless signal information includes the wireless signal strength of at least one network device; the fingerprint library construction module is specifically used for:
根据所述M个目标轨迹点包括的各个网络设备的无线信号强度,确定所述各个网络设备的信号强度分布特征,所述信号强度分布特征包括无线信号强度与概率密度之间的映射关系,所述位置语义指纹库包括所述各个网络设备的信号强度分布特征。According to the wireless signal strength of each network device included in the M target trajectory points, determine the signal strength distribution feature of each network device, the signal strength distribution feature includes a mapping relationship between wireless signal strength and probability density, so The location semantic fingerprint library includes the signal strength distribution characteristics of each network device.
在一种可能的实现中,所述信号强度分布特征为正态分布特征。In a possible implementation, the signal intensity distribution feature is a normal distribution feature.
在一种可能的实现中,所述获取模块,还用于:In a possible implementation, the acquisition module is also used to:
获取终端设备采集的第一位置点信息,所述第一位置点信息包括目标无线信号信息,所述目标无线信号信息包括M个网络设备的无线信号强度;Acquire first location point information collected by the terminal device, where the first location point information includes target wireless signal information, and the target wireless signal information includes wireless signal strengths of M network devices;
所述装置还包括:The device also includes:
定位模块,用于根据所述M个网络设备中每个网络设备的无线信号强度,从所述位置 语义指纹库中确定对应的信号强度分布特征以及所述信号强度分布特征中的目标信号强度区间,每个所述无线信号强度区间在所述信号强度分布特征对应的概率密度高于阈值;A positioning module, configured to determine a corresponding signal strength distribution feature and a target signal strength interval in the signal strength distribution feature from the location semantic fingerprint library according to the wireless signal strength of each of the M network devices , each of the wireless signal strength intervals has a probability density corresponding to the signal strength distribution feature higher than a threshold;
基于所述M个网络设备中每个网络设备的无线信号强度在对应的目标信号强度区间内,确定所述终端设备处于所述室内预设区域内。Based on the wireless signal strength of each of the M network devices being within a corresponding target signal strength interval, it is determined that the terminal device is in the indoor preset area.
在一种可能的实现中,所述装置还包括:In a possible implementation, the device also includes:
信息补齐模块,用于基于所述第一位置点信息包括目标网络设备的第一目标标识且不包括所述目标网络设备的第二目标标识,所述第一目标标识不具备全球唯一性,所述第二目标标识具备全球唯一性,从所述位置语义指纹库中确定包括所述目标网络设备的第一目标标识且包括所述目标网络设备的第二目标标识的第二位置点信息;An information completion module, configured to include the first target identifier of the target network device and not include the second target identifier of the target network device based on the first location point information, the first target identifier does not have global uniqueness, The second target identifier has global uniqueness, and the second location point information including the first target identifier of the target network device and the second target identifier of the target network device is determined from the location semantic fingerprint library;
将所述第二位置点信息包括的所述第二目标标识复用至所述第一位置点信息,以便所述第一位置点信息包括所述第二目标标识。The second target identifier included in the second location point information is multiplexed into the first location point information, so that the first location point information includes the second target identifier.
第三方面,本申请提供了一种定位方法,所述方法包括:In a third aspect, the present application provides a positioning method, the method comprising:
获取终端设备采集的第一位置点信息,所述第一位置点信息包括目标无线信号信息,所述目标无线信号信息包括M个网络设备的无线信号强度;Acquire first location point information collected by the terminal device, where the first location point information includes target wireless signal information, and the target wireless signal information includes wireless signal strengths of M network devices;
根据所述M个网络设备中每个网络设备的无线信号强度,从所述位置语义指纹库中确定对应的信号强度分布特征以及所述信号强度分布特征中的目标信号强度区间,每个所述无线信号强度区间在所述信号强度分布特征对应的概率密度高于阈值;According to the wireless signal strength of each of the M network devices, determine the corresponding signal strength distribution feature and the target signal strength interval in the signal strength distribution feature from the location semantic fingerprint database, each of the The probability density corresponding to the signal strength distribution feature in the wireless signal strength interval is higher than a threshold;
基于所述M个网络设备中每个网络设备的无线信号强度在对应的目标信号强度区间内,确定所述终端设备处于所述室内预设区域内。Based on the wireless signal strength of each of the M network devices being within a corresponding target signal strength interval, it is determined that the terminal device is in the indoor preset area.
在一种可能的实现中,所述方法还包括:基于所述第一位置点信息包括目标网络设备的第一目标标识且不包括所述目标网络设备的第二目标标识,所述第一目标标识不具备全球唯一性,所述第二目标标识具备全球唯一性,从所述位置语义指纹库中确定包括所述目标网络设备的第一目标标识且包括所述目标网络设备的第二目标标识的第二位置点信息;将所述第二位置点信息包括的所述第二目标标识复用至所述第一位置点信息,以便所述第一位置点信息包括所述第二目标标识。In a possible implementation, the method further includes: based on that the first location point information includes a first target identifier of the target network device and does not include a second target identifier of the target network device, the first target The identifier does not have global uniqueness, the second target identifier has global uniqueness, and the first target identifier including the target network device and the second target identifier including the target network device are determined from the location semantic fingerprint library the second location point information; multiplexing the second target identifier included in the second location point information to the first location point information, so that the first location point information includes the second target identifier.
第四方面,本申请实施例提供了一种位置语义指纹库构建装置,包括:一个或多个处理器和存储器;其中,所述存储器中存储有计算机可读指令;所述一个或多个处理器读取所述计算机可读指令,以使所述计算机设备实现如上述第一方面及任一可选的方法。In a fourth aspect, the embodiment of the present application provides an apparatus for constructing a location semantic fingerprint library, including: one or more processors and memories; wherein, computer-readable instructions are stored in the memories; the one or more processing The computer reads the computer-readable instructions, so that the computer device implements the above-mentioned first aspect and any optional method.
第五方面,本申请实施例提供了一种计算机可读存储介质,其特征在于,包括计算机可读指令,当该计算机可读指令在计算机设备上运行时,使得该计算机设备执行上述第一方面及其任一可选的方法。In the fifth aspect, the embodiment of the present application provides a computer-readable storage medium, which is characterized in that it includes computer-readable instructions, and when the computer-readable instructions are run on a computer device, the computer device is made to execute the above-mentioned first aspect. and any of its optional methods.
第六方面,本申请实施例提供了一种计算机程序产品,其特征在于,包括计算机可读指令,当该计算机可读指令在计算机设备上运行时,使得该计算机设备执行上述第一方面 及其任一可选的方法。In the sixth aspect, the embodiment of the present application provides a computer program product, which is characterized in that it includes computer-readable instructions, and when the computer-readable instructions are run on a computer device, the computer device executes the above-mentioned first aspect and its Either method is optional.
第七方面,本申请提供了一种芯片系统,该芯片系统包括处理器,用于支持执行设备或训练设备实现上述方面中所涉及的功能,例如,发送或处理上述方法中所涉及的数据;或,信息。在一种可能的设计中,该芯片系统还包括存储器,该存储器,用于保存执行设备或训练设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In a seventh aspect, the present application provides a chip system, which includes a processor, configured to support an execution device or a training device to implement the functions involved in the above aspect, for example, send or process the data involved in the above method; or, information. In a possible design, the system-on-a-chip further includes a memory, and the memory is used for storing necessary program instructions and data of the execution device or the training device. The system-on-a-chip may consist of chips, or may include chips and other discrete devices.
附图说明Description of drawings
图1为本申请实施例的一种位置语义指纹库的构建方法示意;Fig. 1 is a schematic diagram of a construction method of a location semantic fingerprint database according to an embodiment of the present application;
图2为本申请实施例的一种位置语义指纹库的构建方法示意;Fig. 2 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application;
图3为本申请实施例的一种位置语义指纹库的构建方法示意;FIG. 3 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application;
图4为本申请实施例的一种位置语义指纹库的构建方法示意;FIG. 4 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application;
图5为本申请实施例的一种位置语义指纹库的构建方法示意;FIG. 5 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application;
图6为本申请实施例的一种位置语义指纹库的构建方法示意;FIG. 6 is a schematic diagram of a construction method of a location semantic fingerprint database according to an embodiment of the present application;
图7为本申请实施例的一种位置语义指纹库的构建方法示意;FIG. 7 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application;
图8为本申请实施例的一种位置语义指纹库的构建方法示意;FIG. 8 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application;
图9为本申请实施例的一种位置语义指纹库的构建方法示意;FIG. 9 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application;
图10为本申请实施例的一种位置语义指纹库的构建方法示意;FIG. 10 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application;
图11为本申请实施例的一种位置语义指纹库的构建方法示意;FIG. 11 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application;
图12为本申请实施例的一种位置语义指纹库的构建方法示意;FIG. 12 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application;
图13为本申请实施例的一种位置语义指纹库的构建方法示意;FIG. 13 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application;
图14为本申请实施例的一种位置语义指纹库的构建方法示意;FIG. 14 is a schematic diagram of a construction method of a location semantic fingerprint library according to an embodiment of the present application;
图15为本申请实施例的一种位置语义指纹库的构建装置的结构示意;FIG. 15 is a schematic structural diagram of a device for constructing a location-semantic fingerprint library according to an embodiment of the present application;
图16为本申请实施例提供的服务器的一种结构示意图;FIG. 16 is a schematic structural diagram of a server provided by an embodiment of the present application;
图17为本申请实施例提供的芯片的一种结构示意图。FIG. 17 is a schematic structural diagram of a chip provided by an embodiment of the present application.
具体实施方式Detailed ways
下面结合本发明实施例中的附图对本发明实施例进行描述。本发明的实施方式部分使用的术语仅用于对本发明的具体实施例进行解释,而非旨在限定本发明。Embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention. The terms used in the embodiments of the present invention are only used to explain specific examples of the present invention, and are not intended to limit the present invention.
本申请的说明书和权利要求书及上述附图中的术语“第一”、第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,这仅仅是描述本申请的实施例中对相同属性的对象在描述时所采用的区分方式。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,以便包含一系列单元的过程、方法、系统、产品或设备不必限于那些单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它单元。The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned accompanying drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the terms used like this It can be interchanged under appropriate circumstances, and this is only to describe the distinguishing method adopted when describing the object of the same attribute in the embodiments of the application.In addition, the terms "comprising" and "having" and any deformation thereof are intended to be Covers a non-exclusive inclusion such that a process, method, system, product, or apparatus comprising a series of elements is not necessarily limited to those elements, but may include other elements not expressly listed or inherent to the process, method, product, or apparatus .
下面对本申请实施例中所涉及的关键术语和缩略语做一个简单的说明,如下所示:The key terms and abbreviations involved in the embodiments of the present application are briefly explained below, as follows:
指纹:利用无线信号(例如:终端基站信号、无线局域网通信的WIFI信号)、无处不在 的大地地磁信号、或者部署的蓝牙信号标签发射的小范围信号等等,对这些信号进行测量,记录这些信号点的唯一标识名(例如:媒体接入控制(Medium Access Control,MAC)地址)、信号强度,以及映射的经纬度位置点坐标,将这些记录信息存储在数据库,作为后续实时定位匹配基准,这些存储的每一个定位点以及对应的记录信息可以被称为“指纹”。实时定位过程中,通过“指纹”匹配成功,获取实时位置,实现定位功能。Fingerprint: Use wireless signals (such as terminal base station signals, WIFI signals for wireless LAN communication), ubiquitous geomagnetic signals, or small-range signals emitted by deployed Bluetooth signal tags, etc., to measure and record these signals The unique identification name of the signal point (for example: Medium Access Control (MAC) address), signal strength, and the mapped longitude and latitude location point coordinates, and store these record information in the database as a follow-up real-time positioning matching reference, these Each stored location point and corresponding record information may be called a "fingerprint". In the process of real-time positioning, the real-time location can be obtained through successful "fingerprint" matching, and the positioning function can be realized.
位置特征:室内主体结构中接近稳定不变的位置点,包括出入点、门、电梯、楼梯、扶梯、走廊、空旷区域、拐弯角等位置。Location characteristics: Nearly stable location points in the main indoor structure, including entry and exit points, doors, elevators, stairs, escalators, corridors, open areas, corners, etc.
运动特征:用户的典型运动特点,可以包括静止、行走、跑、转弯、上/下楼等运动特征。Movement characteristics: the typical movement characteristics of the user, which may include movement characteristics such as standing still, walking, running, turning, going up/down stairs, etc.
地图匹配:基于识别出来的位置特征和实际运行轨迹与地图提供的位置点和地图中的不同区域的连接关系进行匹配,将实际移动路线和定位点纠正到准确路径和位置点的方法。Map matching: based on the identified location features and actual running trajectory, matching the location points provided by the map and the connection relationship between different areas in the map, and correcting the actual moving route and positioning points to the accurate path and location points.
接收信号强度(received signal strength,RSS):具体指终端接收到信道带宽上的宽带接收功率,单位dBm,该值是一个相对值,大小与终端接收天线质量、周围环境链路遮挡、与信号发射源之间的距离等相关。Received signal strength (received signal strength, RSS): specifically refers to the wideband received power received by the terminal on the channel bandwidth, unit dBm, this value is a relative value, the size is related to the terminal receiving antenna quality, surrounding environment link occlusion, and signal transmission related to the distance between the sources.
动态时间规整(dynamic time warping,DTW):基于动态规划的思想,解决了发音长短不一的模板匹配问题,是语音识别中出现较早、较为经典的一种算法,该算法的训练中几乎不需要额外的计算。在地磁匹配应用中,采用了该算法,用来解决实时定位过程中数据因为用户快慢不同导致的信号的拉升或压缩,从而保证与原有数据的正确匹配。Dynamic time warping (dynamic time warping, DTW): Based on the idea of dynamic programming, it solves the problem of template matching with different pronunciation lengths. It is an earlier and more classic algorithm in speech recognition. There are almost no Additional calculations are required. In the application of geomagnetic matching, this algorithm is adopted to solve the problem of pulling up or compressing the signal caused by different user speeds during the real-time positioning process, so as to ensure the correct matching with the original data.
步行者航位推算(pedestrian dead reckoning,PDR):基于人类步行动力学的特征推测行人运动距离和方向的方法,包括步伐检测、步长估算和航向估计。利用的是终端自带传感器,如加速度计、磁力计、陀螺仪等来实现估计。Pedestrian dead reckoning (PDR): A method for estimating the distance and direction of pedestrian movement based on the characteristics of human walking dynamics, including step detection, step estimation, and heading estimation. The estimation is realized by using the built-in sensors of the terminal, such as accelerometer, magnetometer, gyroscope, etc.
K最邻近算法(K-NearestNeighbor,KNN):每个样本都可以用它最接近的k个邻居来代表,其核心思想是如果一个样本在特征空间中的k个最相邻的样本中的大多数属于某一个类别,则该样本也属于这个类别,并具有这个类别上样本的特性。K nearest neighbor algorithm (K-NearestNeighbor, KNN): Each sample can be represented by its nearest k neighbors. If most of them belong to a certain category, the sample also belongs to this category and has the characteristics of samples in this category.
加权K最邻近算法(Weighted K-NearestNeighbor,WKNN):针对文件本身的差异,增加权重因子来描述这些差异对结果的影响,以促进分类的效果,算法实现仍等同于KNN算法。Weighted K-Nearest Neighbor (WKNN): Aiming at the differences in the files themselves, a weight factor is added to describe the impact of these differences on the results, so as to promote the effect of classification. The algorithm implementation is still equivalent to the KNN algorithm.
支持向量机算法(support vector machine,SVM):在机器学习领域,是一个有监督的学习模型,通常用来进行模式识别、分类以及回归分析。Support vector machine algorithm (support vector machine, SVM): In the field of machine learning, it is a supervised learning model, usually used for pattern recognition, classification and regression analysis.
兴趣点(point of interest,POI):在地理信息系统中,一个POI可以是一栋房子、一个商铺、一个邮筒、一个公交站等。每个POI包含四方面信息、名称、类别、经度、纬度。Point of interest (POI): In a geographic information system, a POI can be a house, a store, a mailbox, a bus stop, etc. Each POI contains four aspects of information, name, category, longitude, latitude.
关于室内定位的应用场景主要可以分为两大类,一类是针对消费者,包括商场导购、反向寻车、家人防走散、博物馆展厅自助导游、医院、景区、机场等位置指引,周边位置查询和导航、位置共享等;另外一类是针对企业客户,包括人流监控、用户行为分析、智慧仓储、经营优化分析、广告推送、紧急救援等。The application scenarios of indoor positioning can be divided into two categories. One is for consumers, including shopping guides in shopping malls, reverse car search, anti-scattering of family members, self-guided tour guides in museum exhibition halls, location guidance for hospitals, scenic spots, airports, etc. Location query and navigation, location sharing, etc.; the other category is for enterprise customers, including crowd monitoring, user behavior analysis, smart storage, business optimization analysis, advertisement push, emergency rescue, etc.
现有的室内定位方法主要有两种模式,一种是依赖于主动部署的信号标签,例如:信号标签可以包括射频识别系统、蓝牙标签、红外线发射标签等,由终端接收这些信号标签 发送的信号,关联到信号标签对应的位置,从而计算出终端本身的位置。但是信号标签的应用受限于高昂的部署成本,以及由于电池寿命的影响,需要周期性的进行维护和更换的高代价运维成本。另外一种模式是利用普遍存在的无线信号,例如:无线信号可以包括用于终端通讯的基站信号、用于无线局域网通信的无线保真(wireless fidelity,WIFI)信号,将这些接收信号强度(received signal strength,RSS)作为每个地点的“指纹”,事先大范围的采集、分类、存储这些地点的指纹列表和对应的位置信息,形成指纹数据库。后续在定位时,利用未知位置的指纹,与指纹数据库进行匹配,将最匹配的指纹对应的位置信息作为定位结果输出,这种模式由于WIFI热点无处不在,没有硬件成本而被广泛应用。The existing indoor positioning methods mainly have two modes, one is to rely on actively deployed signal tags, for example: signal tags can include radio frequency identification systems, bluetooth tags, infrared emission tags, etc., and the terminal receives the signals sent by these signal tags , associated with the location corresponding to the signal label, so as to calculate the location of the terminal itself. However, the application of signal tags is limited by high deployment costs, and due to the impact of battery life, high O&M costs that require periodic maintenance and replacement. Another mode is to use ubiquitous wireless signals, for example: wireless signals may include base station signals for terminal communication, wireless fidelity (wireless fidelity, WIFI) signals for wireless local area network communication, and these received signal strengths (received signal strength (RSS) as the "fingerprint" of each location, a large-scale collection, classification, and storage of the fingerprint list and corresponding location information of these locations in advance to form a fingerprint database. In the subsequent positioning, the fingerprint of the unknown location is used to match with the fingerprint database, and the location information corresponding to the most matched fingerprint is output as the positioning result. This mode is widely used because of the ubiquitous WIFI hotspots and no hardware cost.
室内定位无论是基于主动部署信号标签或基于已有信号标签的方式实现定位,还是采用离线指纹采集,在线指纹匹配定位的模式,都无可避免存在初期的投入。现在各种应用解决方案上,都是在探索如何更新或维护已有的信号标签或者指纹数据库,保证这些基准信息的准确度,从而保证实时定位的精度。Whether indoor positioning is based on the active deployment of signal tags or based on existing signal tags, or the mode of offline fingerprint collection and online fingerprint matching positioning, there is inevitably an initial investment. Various application solutions are now exploring how to update or maintain existing signal tags or fingerprint databases to ensure the accuracy of these benchmark information, thereby ensuring the accuracy of real-time positioning.
场景1:某地下停车场,面积大概10000平方米,采用业界低功耗蓝牙定位方案,按照6米间隔部署了大概300个信号标签。一年以后,靠近厕所水房附近的信号标签,由于环境潮湿,极大影响电池寿命,导致电量提前耗完,那么该区域将成为定位盲区;而与厕所水房相差10米的位置,由于蓝牙定位至少需要三个有效信号标签数据,导致该区域定位也受到影响;两三年以后,有效标签数量仅80%,随着时间推移,有效信号标签数量会越来越有限,单个信号标签失效,影响区域在10米*10米的范围,随着多个信号标签失效,对应整个地下停车场区域的定位效果会越来越差。如果要实现初期蓝牙定位优于3米的精度,信号标签能持续有效工作至关重要,为此,需要对老坏损毁的信号标签进行周期更换,并同步更新指纹数据库。Scenario 1: An underground parking lot with an area of about 10,000 square meters adopts the industry's low-power Bluetooth positioning solution and deploys about 300 signal tags at intervals of 6 meters. One year later, the signal label near the toilet water room will greatly affect the battery life due to the humid environment, causing the power to run out in advance, then this area will become a positioning blind spot; and the location 10 meters away from the toilet water room, due to Bluetooth Positioning requires at least three valid signal tag data, which also affects the positioning of this area; after two or three years, the number of effective tags is only 80%. As time goes by, the number of effective signal tags will become more and more limited, and a single signal tag will fail. The affected area is within the range of 10 meters * 10 meters. With the failure of multiple signal tags, the positioning effect corresponding to the entire underground parking area will become worse and worse. If the accuracy of the initial Bluetooth positioning is better than 3 meters, it is very important for the signal tag to continue to work effectively. For this reason, it is necessary to periodically replace the old and damaged signal tags and update the fingerprint database synchronously.
针对主动部署信号标签的定位方式,现有解决方案主要是定期更新维护,维护周期根据信号标签核定的电池使用寿命时间,一般常见的是四年。For the positioning method of actively deploying signal tags, the existing solution is mainly to update and maintain regularly. The maintenance cycle is based on the battery life time approved by the signal tag, which is generally four years.
场景2:某商场内,存在大量的店铺和商户,半年时间内多个商铺搬迁了,同时将WIFI热点也移除了;或者,某些商户仍在同一商场只是更换不同区域了,对应的将WIFI热点搬移到了不同的区域;再或者店铺和商户没有变化,但是存在WIFI热点路由器损坏,由此造成之前的WIFI热点消失,对应的该位置出现新的WIFI热点,情形可以为商场内WIFI热点。其中,该区域范围内的WIFI热点,半年前对应的一共有7个WIFI热点,而半年之后原地保持不变是4个,由于搬迁撤出1个,由于变更地点更换其中两个位置,同时新增加1个。而由此带来的问题是:当定位终端在左下角A位置时,根据收到的WIFI热点信号强度与指纹数据库进行匹配,最终实时定位的结果会在B位置,也就是将左下角的位置A,错误的定位到了下方中心位置B处。同样的,在位置C处,即使终端能收到很强的WIFI热点信号,但是由于该新增的WIFI热点在指纹数据库中没有对应的位置信息和指纹列表,最终导致无法匹配到位置结果。而且,半年的时间间隔,这种WIFI热点新增、搬迁、删除等情形对于大型商场、展馆、机场等公共区域非常常见,那么无可避免的就会造成不准确的定位结果。Scenario 2: There are a large number of shops and merchants in a shopping mall. Many shops have been relocated within half a year, and the WIFI hotspots have also been removed; or, some merchants are still in the same shopping mall but have changed to different areas. The WIFI hotspot has been moved to a different area; or the store and merchant have not changed, but the WIFI hotspot router is damaged, which causes the previous WIFI hotspot to disappear, and a new WIFI hotspot appears in the corresponding location. The situation can be a WIFI hotspot in the shopping mall. Among them, there were 7 WIFI hotspots in this area corresponding to half a year ago, and 4 remained unchanged after half a year, 1 was withdrawn due to relocation, and two of them were replaced due to the change of location. Added 1 new. The resulting problem is: when the positioning terminal is at position A in the lower left corner, the received WIFI hotspot signal strength is matched with the fingerprint database, and the final real-time positioning result will be at position B, that is, the position at the lower left corner A, mistakenly positioned at the lower center position B. Similarly, at position C, even if the terminal can receive a strong WIFI hotspot signal, because the newly added WIFI hotspot has no corresponding location information and fingerprint list in the fingerprint database, the location result cannot be matched eventually. Moreover, with a time interval of half a year, this kind of WIFI hotspot addition, relocation, and deletion is very common in public areas such as large shopping malls, exhibition halls, and airports, which will inevitably lead to inaccurate positioning results.
现有的技术方案有三类。第一类使用GNSS信息以及预设的位置点或者地理围栏信息 进行对比识别。这类识别方案依赖GNSS信号源。对于室内这种由于信号遮挡而无法采集GNSS信号的场景下的定位问题,该方法无法使用。另外GNSS信号源也存在功耗高的问题,影响用户手机续航时间及电池寿命。第二类使用人工部署的Beacon等无线信号源,例如部分室内价值场景,根据接收到的目标Beacon的信号强度,来判断是否推送服务。该方案存在成本高,无法大规模应用的问题。第三类使用GNSS信息以及无线信号特征相关性信息对位置语义进行特征关联,从而在识别过程中仅使用无线信号特征,达到不依赖GNSS的目的,降低功耗。但是这类方案存在两个问题:首先,仅针对室外带有GNSS的区域对无线特征进行了关联。而大部分的行为发生在室内,例如地铁、商场等室内场景由于卫星信号遮挡无法采集有效GNSS信息,从而无法对室内进行无线信号特征关联。其次,识别阶段仅使用简单的无线信号特征匹配,利用无线信号本身的覆盖范围当作实际位置语义的范围,无法达到高精度识别的目的。Existing technical scheme has three classes. The first type uses GNSS information and preset location points or geographic fence information for comparative identification. Such identification schemes rely on GNSS signal sources. This method cannot be used for positioning problems in indoor scenarios where GNSS signals cannot be collected due to signal occlusion. In addition, the GNSS signal source also has the problem of high power consumption, which affects the user's mobile phone battery life and battery life. The second category uses wireless signal sources such as artificially deployed Beacons, such as some indoor value scenarios, to determine whether to push services based on the received signal strength of the target Beacon. This solution has the problem of high cost and cannot be applied on a large scale. The third type uses GNSS information and wireless signal feature correlation information to perform feature correlation on location semantics, so that only wireless signal features are used in the identification process, achieving the goal of not relying on GNSS and reducing power consumption. However, there are two problems in this type of scheme: First, the wireless features are only correlated for outdoor areas with GNSS. Most of the behaviors take place indoors. For example, indoor scenes such as subways and shopping malls cannot collect effective GNSS information due to satellite signal occlusion, so it is impossible to correlate wireless signal features indoors. Secondly, in the recognition stage, only simple wireless signal feature matching is used, and the coverage of the wireless signal itself is used as the range of the actual location semantics, which cannot achieve high-precision recognition.
基于此,本申请实施例提供了一种位置语义指纹库构建方法。Based on this, an embodiment of the present application provides a method for constructing a location semantic fingerprint library.
参照图1,图1为本申请实施例提供的一种位置语义指纹库构建方法的流程示意,如图1所示,本申请实施例提供的一种位置语义指纹库构建方法包括:Referring to FIG. 1, FIG. 1 is a schematic flow diagram of a method for constructing a location semantic fingerprint database provided by an embodiment of the present application. As shown in FIG. 1, a method for constructing a location semantic fingerprint database provided by an embodiment of the present application includes:
101、获取目标轨迹,所述目标轨迹包括多个轨迹点,所述多个轨迹点包括依次连接的第一轨迹点集合、第二轨迹点集合以及第三轨迹点集合,其中所述第一轨迹点集合包括传感器信息和/或第一GNSS状态信息,所述传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,所述第一GNSS状态信息用于指示所述第一轨迹点集合为室内和室外之间的出入口上的轨迹点,所述第二轨迹点集合中的轨迹点包括置信度高于阈值的GNSS位置信息,所述第三轨迹点集合包括第二GNSS状态信息,所述第二GNSS状态信息用于指示所述第一轨迹点集合为室内的轨迹点。101. Acquire a target trajectory, the target trajectory includes a plurality of trajectory points, and the multiple trajectory points include a first set of track points, a second set of track points, and a third set of track points connected in sequence, wherein the first track The point set includes sensor information and/or first GNSS state information, the sensor information is used to indicate that the first track point set is a track point between different levels, and the first GNSS state information is used to indicate that the first track point set is a track point between different levels. A track point set is track points on the entrance and exit between indoor and outdoor, the track points in the second track point set include GNSS position information with a confidence level higher than a threshold, and the third track point set includes the second GNSS State information, the second GNSS state information is used to indicate that the first track point set is an indoor track point.
本申请实施例中服务器可以获取到端侧的采集设备上报的众包数据,可以理解的是,这里的采集设备可以是移动电话、平板电脑(tablet personal computer)、膝上型电脑(laptop computer)、数码相机、个人数字助理(personal digital assistant,简称PDA)、导航装置、移动上网装置(mobile internet device,MID)或可穿戴式设备(wearable device)等,不做具体限定。此外,服务器也可以获取到人工采集的轨迹数据,应理解,不同于众包数据,服务器在处理这部分轨迹数据时,可以不需要进行后续描述的种子识别、生长等步骤。其中,端侧的采集设备可以通过一定的触发机制,在用户无感知的情况下,匿名化地收集用户终端的传感器、网络信号及全球导航卫星系统(global navigation satellite system,GNSS)等可用数据(也可称指纹数据)。可选的,传感器信号可以包括IMU传感器数据(例如加速度计、陀螺仪、磁力计)、定位传感器数据(GNSS定位信息、GNSS状态(GNSS status)),无线信号数据可以包括WiFi、蓝牙、基站等数据。In the embodiment of the present application, the server can obtain the crowdsourcing data reported by the collection device on the terminal side. It can be understood that the collection device here can be a mobile phone, a tablet personal computer, or a laptop computer. , digital camera, personal digital assistant (PDA for short), navigation device, mobile internet device (mobile internet device, MID) or wearable device (wearable device), etc., without specific limitation. In addition, the server can also obtain manually collected trajectory data. It should be understood that, unlike crowdsourcing data, the server does not need to perform steps such as seed identification and growth described later when processing this part of trajectory data. Among them, the collection device on the terminal side can collect available data such as sensors, network signals and global navigation satellite system (global navigation satellite system, GNSS) of the user terminal anonymously without the user's perception through a certain trigger mechanism ( Also known as fingerprint data). Optionally, the sensor signal can include IMU sensor data (such as accelerometer, gyroscope, magnetometer), positioning sensor data (GNSS positioning information, GNSS status (GNSS status)), and wireless signal data can include WiFi, Bluetooth, base station, etc. data.
可选的,该采集设备可以具备实时上传能力,即采集设备可以向服务器实时上传采集的数据。也可以是,采集设备将数据采集完成之后,统一将采集的数据向服务器上传。该采集的数据用于服务器构建指纹数据库。Optionally, the collection device may have real-time upload capability, that is, the collection device may upload the collected data to the server in real time. Alternatively, after the collection device completes the data collection, it uploads the collected data to the server in a unified manner. The collected data is used by the server to build a fingerprint database.
本申请实施例中服,云侧的服务器在拿到原始众包数据后可以进行预处理。预处理过程中可以对众包数据进行有效性校验,以及室内外识别(indoor outdoor detection,IOD)、 跨层事件识别(cross floor detection,CFD)、行人航迹推算(pedestrian dead reckoning,PDR)等数据分析步骤,从而得到包含室内外信息、跨层事件等语义信息以及相对坐标信息(例如,x-y-z坐标)绝对坐标(例如,经度-纬度-高度)的信息。因为各个传感器信号的采集为非同步测量,所以需要将各个维度的数据信息对其到相应的相对位置上。这一过程可以通过对相对位置进行性插值完成。最终预处理将众包数据源中的传感器及无线网络信号信息转化为由带有无线特征及语义特征的有序坐标信息组成的轨迹信息。通过预处理,众包数据被提取为以相对位置点为核心的众包轨迹,以众包轨迹包括目标轨迹为例。In the embodiment of this application, the server on the cloud side can perform preprocessing after receiving the original crowdsourcing data. In the preprocessing process, the crowdsourcing data can be checked for validity, as well as indoor and outdoor recognition (indoor outdoor detection, IOD), cross-floor event recognition (cross floor detection, CFD), pedestrian dead reckoning (Pedestrian dead reckoning, PDR) and other data analysis steps to obtain information including indoor and outdoor information, semantic information such as cross-layer events, and relative coordinate information (for example, x-y-z coordinates) and absolute coordinates (for example, longitude-latitude-height). Because the acquisition of each sensor signal is an asynchronous measurement, it is necessary to align the data information of each dimension to the corresponding relative position. This process can be done by interpolating relative positions. The final preprocessing transforms the sensor and wireless network signal information in the crowdsourcing data source into trajectory information composed of ordered coordinate information with wireless features and semantic features. Through preprocessing, crowdsourcing data is extracted as crowdsourcing trajectories with relative location points as the core, taking crowdsourcing trajectories including target trajectories as an example.
为了识别出目标轨迹中各个轨迹点是室外区域(本申请实施例中也可以称之为无效区域)的轨迹点、还是室内区域(本申请实施例中也可以称之为有效区域)的轨迹点,还是室外和室内之间过渡区域的轨迹点,服务器除了获取预处理之后的轨迹信息之外,还可以获取室内的地理围栏信息,该地理围栏信息可以指示室内区域的物理边界信息,进而,服务器可以基于上述信息进行有效区域及无效区域的提取。其中有效区域可以为地理围栏所围起来的区域内部,无效区域可以为地理围栏外围区域。具体的,服务器可以根据预处理之后的轨迹信息中包含的绝对坐标信息以及跨层、室内外状态等语义信息识别出有效区域、无效区域以及过渡区域的种子信息。In order to identify whether each trajectory point in the target trajectory is a trajectory point in an outdoor area (also referred to as an invalid area in the embodiment of the present application) or a trajectory point in an indoor area (also referred to as a valid area in the embodiment of the application) , is also the trajectory point of the transition area between outdoor and indoor. In addition to obtaining the preprocessed trajectory information, the server can also obtain indoor geo-fence information, which can indicate the physical boundary information of the indoor area. Further, the server Extraction of valid regions and invalid regions can be performed based on the above information. The valid area may be inside the area enclosed by the geo-fence, and the invalid area may be the peripheral area of the geo-fence. Specifically, the server can identify the seed information of valid areas, invalid areas, and transition areas according to the absolute coordinate information contained in the preprocessed trajectory information and semantic information such as cross-layer, indoor and outdoor states.
在一种可能的实现中,目标轨迹的所述多个轨迹点可以包括依次连接的第一轨迹点集合、第二轨迹点集合以及第三轨迹点集合。In a possible implementation, the multiple track points of the target track may include a first track point set, a second track point set, and a third track point set that are sequentially connected.
在一种可能的实现中,当目标轨迹包括的轨迹点指示存在跨层事件(例如进入地铁站时,需要由地上一层到低下,或者是由地上一层到更高的地上层)或者存在室外到室内或者室内到室外的状态切换事件时,可以认为这部分轨迹点是位于室外到室内之间的过渡区域,进而,可以基于过渡区域来划分有效区域和无效区域。In a possible implementation, when the trajectory points included in the target trajectory indicate that there is a cross-layer event (for example, when entering a subway station, it is necessary to go from the ground floor to the lower floor, or from the ground floor to a higher ground floor) or there is When a state switching event occurs from outdoor to indoor or from indoor to outdoor, it can be considered that this part of the trajectory points is located in the transition area between outdoor and indoor, and further, the valid area and the invalid area can be divided based on the transition area.
在一种可能的实现中,可以对于所有的室内外切换点或者跨层事件处的绝对坐标点进行聚集分析(如K-means,DBSCAN等算法),进而识别到有效区域边缘的出入口点。这些出入口点即为过渡区域,这里的无线信号特征集合当作过渡点特征库信息。应理解,这里的K-means算法可以扩展为:加权K最邻近算法(Weighted K-NearestNeighbor,WKNN)、支持向量机算法(support vector machine,SVM)等其他一些典型分类算法。In a possible implementation, aggregate analysis (such as K-means, DBSCAN and other algorithms) can be performed on all indoor and outdoor switching points or absolute coordinate points at cross-layer events, and then the entry and exit points at the edge of the effective area can be identified. These entry and exit points are the transition areas, and the wireless signal feature set here is used as the information of the transition point feature library. It should be understood that the K-means algorithm here can be extended to: weighted K-nearest neighbor algorithm (Weighted K-NearestNeighbor, WKNN), support vector machine algorithm (support vector machine, SVM) and other typical classification algorithms.
102、将所述第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合。102. Determine the first set of track points as a set of fingerprint points in a transition area between indoors and outdoors.
本申请实施例中,可以将第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合,其中所述第一轨迹点集合可以包括传感器信息和/或GNSS状态信息,所述传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,所述第一GNSS状态信息用于指示所述第一轨迹点集合为室内和室外之间的出入口上的轨迹点。In the embodiment of the present application, the first track point set may be determined as a set of fingerprint points in the transition area between indoor and outdoor, wherein the first track point set may include sensor information and/or GNSS state information, and the sensor information It is used to indicate that the first track point set is a track point between different horizontal planes, and the first GNSS status information is used to indicate that the first track point set is a track point on an entrance and exit between indoors and outdoors.
其中,传感器信息可以为气压计,第一轨迹点集合包括的各个轨迹点之间的气压值存在明显差异,例如按照第一轨迹的方向,第一轨迹点集合包括的轨迹点的气压值存在明显的由大到小或者由小到大的变化趋势,则可以认为第一轨迹点集合包括的传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,进而确定第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合。Wherein, the sensor information can be a barometer, and there is a significant difference in air pressure values between the track points included in the first track point set, for example, according to the direction of the first track point, there is a significant difference in the barometric pressure values of the track points included in the first track point set If the change trend from large to small or from small to large, it can be considered that the sensor information included in the first track point set is used to indicate that the first track point set is a track point between different levels, and then determine the first track The set of points is determined as a set of fingerprint points for the transition region between indoors and outdoors.
103、将所述第二轨迹点集合确定为室外语义的指纹点集合。103. Determine the second trajectory point set as an outdoor semantic fingerprint point set.
本申请实施例中,可以将目标轨迹中包括置信度高于阈值的GNSS位置信息的轨迹点(第二轨迹点集合)确定为室外的轨迹点,进而将所述第二轨迹点集合确定为室外语义的指纹点集合。In the embodiment of the present application, the track points (the second set of track points) including the GNSS position information whose confidence level is higher than the threshold in the target track can be determined as the outdoor track points, and then the second set of track points can be determined as the outdoor track points. A collection of semantic fingerprint points.
在一种可能的实现中,所述第二轨迹点集合中的轨迹点与所述室内的地理围栏之间的距离大于第一阈值且小于第二阈值。In a possible implementation, the distance between the track points in the second track point set and the indoor geo-fence is greater than a first threshold and smaller than a second threshold.
具体的,可以提取带有高置信度GNSS绝对坐标信息并满足一定预设区域范围条件的室外特征点信息作为无效区域种子信息,高置信度GNSS绝对坐标信息需要满足的条件可以参照如下公式:Specifically, outdoor feature point information with high-confidence GNSS absolute coordinate information and meeting certain preset area conditions can be extracted as invalid area seed information. The conditions that high-confidence GNSS absolute coordinate information need to meet can refer to the following formula:
GNSS.ACC<T acc,T acc=10; GNSS.ACC<T acc ,T acc =10;
其中,GNSS.ACC为GNSS数据源里的定位误差,其值越小代表定位精度越高,一定预设区域范围条件可以参照如下距离计算公式:Among them, GNSS.ACC is the positioning error in the GNSS data source. The smaller the value, the higher the positioning accuracy. For certain preset area conditions, you can refer to the following distance calculation formula:
distance(point,polygon)∈[D min,D max],D min=10m,D max=50m; distance(point,polygon)∈[D min ,D max ], D min =10m, D max =50m;
其中,距离计算公式中参数为经纬度点point以及由一些列有序经纬度点组成的位置语义有效区域围栏信息polygon。输出为point到polygon的距离(米)。例如,可以取[10m,50m]范围内的数据当做无效区域种子数据集合,进而第二轨迹点集合中的轨迹点与所述室内的地理围栏之间的距离大于10且小于50。Among them, the parameters in the distance calculation formula are the longitude and latitude points and the location semantic valid area fence information polygon composed of a series of ordered longitude and latitude points. The output is the distance (meters) from point to polygon. For example, the data within the range of [10m, 50m] can be taken as the invalid area seed data set, and the distance between the track points in the second track point set and the indoor geo-fence is greater than 10 and less than 50.
应理解,第一阈值可以为10米及其附近的数值,例如8米、9米、11米、12米等,第一阈值可以与室内的地理围栏区域的面积有关,地理围栏区域的面积越大,则第一阈值的取值越大,第二阈值可以为50米及其附近的数值,例如48米、49米、51米、52米等,第二阈值也可以与室内的地理围栏区域的面积有关,地理围栏区域的面积越大,则第二阈值的取值越大。It should be understood that the first threshold may be a value of 10 meters and its vicinity, such as 8 meters, 9 meters, 11 meters, 12 meters, etc., the first threshold may be related to the area of the indoor geo-fence area, and the larger the area of the geo-fence area The larger the value of the first threshold, the greater the value of the second threshold can be 50 meters and nearby values, such as 48 meters, 49 meters, 51 meters, 52 meters, etc. The second threshold can also be related to the indoor geo-fence area The area of the geo-fence is related, and the larger the area of the geo-fence area, the larger the value of the second threshold.
104、将所述第三轨迹点集合确定为室内语义的指纹点集合。104. Determine the third trajectory point set as an indoor semantic fingerprint point set.
本申请实施例中,参照图2,可以将目标轨迹中与第一轨迹点集合连接,且不与第二轨迹点集合连接的轨迹集合作为室内的轨迹点,进而将所述第三轨迹点集合确定为室内语义的指纹点集合。In the embodiment of the present application, referring to FIG. 2 , the trajectory set connected to the first trajectory point set in the target trajectory and not connected to the second trajectory point set can be used as the trajectory point in the room, and then the third trajectory point set A collection of fingerprint points identified as indoor semantics.
具体的,可以确定目标轨迹为穿过了过渡区域并且部分轨迹点属于无效区域、部分属于有效区域的轨迹条件的轨迹集合,进而将目标轨迹中有效区域部分无线信号特征集合视为有效区域种子信息。Specifically, it can be determined that the target trajectory is a trajectory set that passes through the transition region and some trajectory points belong to the invalid region, and some of the trajectory points belong to the valid region, and then the part of the wireless signal feature set in the valid region in the target trajectory is regarded as the seed information of the valid region .
本申请实施例中,服务器可以获取目标轨迹以及除了目标轨迹之外的其他由众包数据确定的轨迹,并以目标轨迹作为种子数据,识别其他轨迹中的轨迹点是室外语义、室内语义还是过渡区域的语义。In the embodiment of this application, the server can obtain the target trajectory and other trajectories determined by crowdsourcing data except the target trajectory, and use the target trajectory as the seed data to identify whether the trajectory points in other trajectories are outdoor semantics, indoor semantics, or transition Semantics of the region.
在一种可能的实现中,假设不同室内的无线传感器信号特征存在差异性,可以对于无GNSS信息的轨迹信息进行挖掘,具体的可以通过计算无线信号之间的相似度(如信号强度之间的欧式距离等),将众包轨迹归属到上述确定的无效区域及有效区域内。In a possible implementation, assuming that there are differences in the characteristics of wireless sensor signals in different rooms, the trajectory information without GNSS information can be mined, specifically by calculating the similarity between wireless signals (such as the difference between signal strengths) Euclidean distance, etc.), assigning the crowdsourced trajectory to the invalid area and valid area determined above.
对于所有的室内指纹信息,可以与第二轨迹点集合进行对比,对于满足一定相似性条件的室内轨迹,并且与无效区域特征集合具有相似度差异的轨迹,将其加入到第二轨迹点集合中。For all indoor fingerprint information, it can be compared with the second track point set. For indoor tracks that meet certain similarity conditions and have similarity differences with the invalid area feature set, add them to the second track point set. .
参照图3,对于无室内外状态或者GNSS状态的轨迹信息,与第二轨迹点集合和第三轨迹点集合进行相似度对比,对轨迹点满足与第三轨迹点集合相似度较高,但是与第二轨迹点集合相似度较低时,将其加入到第三轨迹点集合中。当轨迹点满足与第二轨迹点集合相似度较高,第三轨迹点集合相似度较低时,可以将其加入到第二轨迹点集合中。经过多轮迭代直到有效区域种子库以及无效区域种子库收敛。With reference to Fig. 3, for the track information of no indoor and outdoor state or GNSS state, carry out similarity comparison with the second set of track points and the third set of track points, the track points meet the higher similarity with the third set of track points, but with When the similarity of the second track point set is low, it is added to the third track point set. When the track point satisfies a higher similarity degree with the second track point set and a lower similarity degree with the third track point set, it can be added to the second track point set. After several rounds of iterations, the effective area seed bank and the invalid area seed bank converge.
在一种可能的实现中,由于信号穿透,位于室内和室外的两个轨迹点的无线信号信息可能很相似,这部分轨迹点会降低后续的室内室外定位的准确性。在一种可能的实现中,可以将目标轨迹(或者其他轨迹)中满足上述情况的这部分轨迹点剔除,以使得目标轨迹(或者其他轨迹)中每个所述轨迹点包括无线信号信息,且不同所述轨迹点包括的无线信号信息之间的相似度小于阈值。In a possible implementation, due to signal penetration, the wireless signal information of two track points located indoors and outdoors may be very similar, and these track points will reduce the accuracy of subsequent indoor and outdoor positioning. In a possible implementation, the part of the track points in the target track (or other tracks) that meet the above conditions may be eliminated, so that each of the track points in the target track (or other tracks) includes wireless signal information, and The similarity between wireless signal information included in different track points is smaller than a threshold.
参照图4,由于无线信号特征传播是全向的,且可以穿透建筑物等障碍,导致有效区域及无效区域内有相同的可测量无线信号,导致无法将二者区分开来。例如无线信号中的基站信号,当室外区域存在高功率信号基站的透射到室内有效区域或者轨道交通沿途链式组网(多个射频单元共小区)会存在距离分辨率差的问题。因此,引入无线信号的对比分析方案,从而识别有效区域与无效区域内无差异性的混淆特征。将识别到的无差异特征构建为无效特征库,不使用其作为位置语义特征参与后续流程。Referring to Figure 4, since the characteristic propagation of wireless signals is omnidirectional and can penetrate obstacles such as buildings, there are the same measurable wireless signals in the effective area and the invalid area, making it impossible to distinguish the two. For example, the base station signal in the wireless signal, when there is a high-power signal in the outdoor area, the transmission of the base station to the indoor effective area or the chain network along the rail transit (multiple radio frequency units share a cell) will have the problem of poor distance resolution. Therefore, a comparative analysis scheme of wireless signals is introduced to identify the confusing features that have no difference between the effective area and the invalid area. Construct the identified indifference feature as an invalid feature library, and do not use it as a positional semantic feature to participate in the subsequent process.
示例性的,可以参照图5,如图5所示,A为有效区域特征集合,B为无效区域特征集合。二者交集部分A∩B为混淆特征,A-B为有效区域有效特征集合,B-A为无效区域有效特征集合。For example, refer to FIG. 5 . As shown in FIG. 5 , A is a valid area feature set, and B is an invalid area feature set. The intersection part A∩B of the two is the confusing feature, A-B is the effective feature set of the valid area, and B-A is the effective feature set of the invalid area.
由于无线信号信息之间的相似度大于阈值的轨迹点会造成后续基于位置指纹库进行定位时室内室外识别的错误,本申请实施例中,通过将无线信号信息之间的相似度大于阈值的轨迹点从目标轨迹上剔除,提高了定位的准确度。Since the track points whose similarity between wireless signal information is greater than the threshold will cause errors in indoor and outdoor recognition when positioning based on the location fingerprint library, in the embodiment of the present application, the track points whose similarity between wireless signal information is greater than the threshold Points are eliminated from the target trajectory, which improves the accuracy of positioning.
在一种可能的实现中,在构建位置指纹库时,所述第三轨迹点集合包括M个目标轨迹点,所述M个目标轨迹点为室内预设区域内的轨迹点,每个所述目标轨迹点包括无线信号信息,且所述无线信号信息包括至少一个网络设备的无线信号强度,可以根据所述M个目标轨迹点包括的各个网络设备的无线信号强度,确定所述各个网络设备的信号强度分布特征,所述信号强度分布特征包括无线信号强度与概率密度之间的映射关系,所述位置语义指纹库包括所述各个网络设备的信号强度分布特征。参照图6,可选的,所述信号强度分布特征为正态分布特征。In a possible implementation, when constructing the location fingerprint library, the third track point set includes M target track points, and the M target track points are track points in a preset indoor area, and each of the The target track point includes wireless signal information, and the wireless signal information includes the wireless signal strength of at least one network device, and the wireless signal strength of each network device included in the M target track points can be determined. The signal strength distribution feature, the signal strength distribution feature includes a mapping relationship between wireless signal strength and probability density, and the location semantic fingerprint database includes the signal strength distribution feature of each network device. Referring to FIG. 6 , optionally, the signal intensity distribution characteristic is a normal distribution characteristic.
具体的,可以对于有效区域的无线信号特征集合进行统计分析。假设每个特征对应的信号强度满足高斯分布。对于第二轨迹集合的轨迹点对应的网络设备内每个特征的信号强度分布参数进行估计,使用有一个正态分布N(μ,σ)来代替一个特征信息集合。从而降低了存储开销以及后续识别阶段的计算开销,且为高精度的位置语义识别提供了数据支撑。Specifically, statistical analysis may be performed on the wireless signal feature set in the effective area. It is assumed that the signal strength corresponding to each feature satisfies a Gaussian distribution. For estimating the signal strength distribution parameters of each feature in the network device corresponding to the track points of the second track set, a normal distribution N(μ, σ) is used to replace a feature information set. Thus, the storage overhead and the calculation overhead of the subsequent recognition stage are reduced, and data support is provided for high-precision location semantic recognition.
在一种可能的实现中,此处的统计分析可以通过两种方案实现:一种是使用所有有效区域样本进行参数估计。这种方案适用于简单位置语义场景例如地铁站类型。一种是对于有效区域的无线信号进行聚类(如DBSCAN、Affinity propagation算法等),以聚类为单位进行参数估计。该方案适用于复杂场景,例如商场。In one possible implementation, the statistical analysis here can be realized through two schemes: one is to use all valid region samples for parameter estimation. This scheme is suitable for simple location semantic scenarios such as subway station types. One is to cluster the wireless signals in the effective area (such as DBSCAN, Affinity propagation algorithm, etc.), and perform parameter estimation in units of clusters. This solution is suitable for complex scenarios, such as shopping malls.
最终得到的位置语义有效区域有效特征库的表结构的示意可以如下所示:The final representation of the table structure of the effective feature library of the location semantic valid area can be shown as follows:
表1位置语义有效区域特征库表结构Table 1 The structure of feature library table of location semantic valid area
Figure PCTCN2022107577-appb-000001
Figure PCTCN2022107577-appb-000001
在一些场景中,采集设备在采集轨迹点时,部分轨迹点的无线信号信息会存在缺失,具体的,无线信号信息可以包括临小区的网络设备标识(第一标识和第二标识),其中,第一标识不具备全球唯一性,第二标识具备全球唯一性,这里所谓的全球唯一性是指第二标识能唯一指示所在的小区,而存在不同的小区都对应于相同的第一标识,示例性的,第一标识可以为小区全局标识符CGI,所述第二标识可以为伪小区标识PCI。由于信息安全的考虑,一些基站在向终端发送无线信号时,主小区的无线信号信息可以包括第一标识和第二标识,而临小区的无线信号信息不包括第二标识,仅包括第一标识,这种情况下,轨迹点的无线信号信息仅包括第一标识,不包括第二标识,由于第一标识并不能唯一指示网络设备,则该轨迹点并不可用。In some scenarios, when the acquisition device collects the track points, the wireless signal information of some track points may be missing. Specifically, the wireless signal information may include the network device identifier (the first identifier and the second identifier) of the adjacent cell, wherein, The first identifier does not have global uniqueness, and the second identifier has global uniqueness. The so-called global uniqueness here means that the second identifier can uniquely indicate the cell where it is located, and there are different cells that correspond to the same first identifier. Example Specifically, the first identifier may be a global cell identifier CGI, and the second identifier may be a pseudo cell identifier PCI. Due to information security considerations, when some base stations send wireless signals to terminals, the wireless signal information of the main cell may include the first identifier and the second identifier, while the wireless signal information of the adjacent cell does not include the second identifier, but only includes the first identifier , in this case, the wireless signal information of the track point only includes the first identifier and does not include the second identifier, and since the first identifier cannot uniquely indicate the network device, the track point is not available.
本申请实施例中,基于相邻轨迹点的无线信号信息,将轨迹点中不包括的第二标识补齐,进而使得上述轨迹点在进行位置指纹库构建时可用,提高了数据的利用率,相应的也提高了后续进行位置定位时的定位准确度。In the embodiment of the present application, based on the wireless signal information of adjacent track points, the second identifier not included in the track points is supplemented, so that the above track points can be used when the location fingerprint database is constructed, and the utilization rate of data is improved. Correspondingly, the positioning accuracy in subsequent position positioning is also improved.
在一种可能的实现中,所述多个轨迹点可以包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述第二轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;进而可以基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第二轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。也就是说,目标轨迹中存在信息缺失的轨迹点(第一轨迹点),可以基于相邻的轨迹点(第二轨迹点)对第一轨迹点中缺失的信息进行补齐。In a possible implementation, the plurality of track points may include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes A first identifier of a network device, where the first identifier is not globally unique; the second track point includes second wireless signal information, and the second wireless signal information includes the first identifier and The second identifier, the second identifier is globally unique; furthermore, based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, all the information included in the second track point may be The second identifier is multiplexed to the first track point, so that the first wireless signal information includes the second identifier. That is to say, there are track points (first track points) with missing information in the target track, and the missing information in the first track points can be supplemented based on adjacent track points (second track points).
以所述第一标识为伪小区标识PCI,所述第二标识为全局标识符CGI为例,在一种可能的实现中,CGI映射关系补全主要是根据基站信号的时序关系信息得到基站信号间切换关系,从而得到了初始映射表信息。这是众包方案带来的优势。众包用户在无感知的众包过程会在预设区域进行日常活动,基站会根据通信需求及协议进行切换。如图7和图8所示,基站信号Cell1与Cell2存在切换关系,那么就存在这样的两条CGI映射关系表:Taking the first identity as the pseudo cell identity PCI and the second identity as the global identifier CGI as an example, in a possible implementation, the completion of the CGI mapping relationship is mainly to obtain the base station signal according to the timing relationship information of the base station signal switch relationship between them, thus obtaining the initial mapping table information. This is the advantage brought by crowdsourcing solutions. Crowdsourcing users will carry out daily activities in the preset area during the unaware crowdsourcing process, and the base station will switch according to communication needs and protocols. As shown in Figure 7 and Figure 8, there is a switching relationship between the base station signal Cell1 and Cell2, then there are two such CGI mapping tables:
CGI1+PCI2->CGI2;CGI1+PCI2->CGI2;
CGI2+PCI1->CGI1;CGI2+PCI1->CGI1;
同理,通过Cell2和Cell3的切换关系也可以得到:In the same way, through the switching relationship between Cell2 and Cell3, you can also get:
CGI2+PCI3->CGI3;CGI2+PCI3->CGI3;
CGI3+PCI2->CGI2;CGI3+PCI2->CGI2;
本申请实施例通过时序的基站Cell信号切换信息构建CGI映射表,并利用基于带约束的连通图补全方案获得完整CGI映射关系信息。从而对缺失的邻区信息进行补全,得到高完整性的Cell信号特征信息。In this embodiment of the present application, a CGI mapping table is constructed through time-series base station Cell signal switching information, and complete CGI mapping relationship information is obtained by using a constraint-based connected graph completion scheme. In this way, the missing neighbor cell information is complemented to obtain high-integrity Cell signal feature information.
在一种可能的实现中,所述多个轨迹点包括依次相邻的第一轨迹点、第二轨迹点和第三轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述第三轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;进而可以基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第三轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。In a possible implementation, the plurality of track points include a first track point, a second track point, and a third track point that are sequentially adjacent, the first track point includes first wireless signal information, and the first track point A wireless signal information includes a first identifier of a network device, and the first identifier is not globally unique; the third track point includes second wireless signal information, and the second wireless signal information includes all The first identification and the second identification, the second identification is globally unique; further, based on the fact that the first wireless signal information does not include a globally unique identification for the network device, the third The second identifier included in the track point is multiplexed to the first track point, so that the first wireless signal information includes the second identifier.
在一种可能的实现中,所述多个轨迹点包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;还可以获取第一轨迹,所述第一轨迹包括所述第二轨迹点和第四轨迹点,所述第四轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;进而可以基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第四轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。In a possible implementation, the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identification of the device, the first identification does not have global uniqueness; the first track can also be obtained, the first track includes the second track point and the fourth track point, and the fourth track point includes the first track point Two wireless signal information, the second wireless signal information includes the first identifier and the second identifier of the network device, and the second identifier is globally unique; further, it may be based on that the first wireless signal information does not include For the globally unique identifier of the network device, multiplexing the second identifier included in the fourth track point to the first track point, so that the first wireless signal information includes the second Two identification.
在一种可能的实现中,使用映射表可以对原始的基站(Cell)信息中的邻区中缺失的CGI信息进行恢复。但是直接使用这样的映射表对临站缺失CGI补全存在CGI映射关系表不全以及恢复结果的非对称性问题。为了解决此问题,在构建CGI映射关系表过程中引入带约束的联通图方案补全CGI映射关系表。参照图9,其主要思路是如果在一次基站扫描记录中如果包含了Cell1、Cell2、Cell3,其中Cell1与Cell2存在CGI映射关系,Cell2与Cell3也存在CGI映射关系。那么我们认为Cell1与Cell3也存在这样一条CGI映射关系。并对该边进行补全。以此,解决了CGI映射关系表的完整性问题。In a possible implementation, the missing CGI information in the neighboring cell in the original base station (Cell) information can be recovered by using the mapping table. However, there are problems of incomplete CGI mapping relationship table and asymmetry of recovery results by directly using such a mapping table to complement the missing CGI of adjacent stations. In order to solve this problem, in the process of constructing the CGI mapping relationship table, a constrained Unicom graph scheme is introduced to complete the CGI mapping relationship table. Referring to FIG. 9 , the main idea is that if Cell1, Cell2, and Cell3 are included in a base station scanning record, there is a CGI mapping relationship between Cell1 and Cell2, and there is a CGI mapping relationship between Cell2 and Cell3. Then we think that there is such a CGI mapping relationship between Cell1 and Cell3. And complete the side. In this way, the integrity problem of the CGI mapping relationship table is solved.
最终生成的CGI映射关系表的示意结构可以如下:The schematic structure of the finally generated CGI mapping relationship table can be as follows:
表2 CGI映射关系表结构Table 2 CGI mapping relationship table structure
Figure PCTCN2022107577-appb-000002
Figure PCTCN2022107577-appb-000002
105、根据所述第一轨迹点集合、所述第二轨迹点集合、以及所述第三轨迹点集合,构建位置语义指纹库。105. Construct a location semantic fingerprint library according to the first track point set, the second track point set, and the third track point set.
本申请实施例中,位置语义指纹库可以包括多个指纹点(包括无线信号信息、室内外语义的轨迹点),位置语义指纹库可以用于进行室内外状态以及具体位置的确定。In the embodiment of the present application, the location semantic fingerprint library may include multiple fingerprint points (including wireless signal information, indoor and outdoor semantic track points), and the location semantic fingerprint library may be used to determine indoor and outdoor states and specific locations.
以无线信号为基站信号为例,在使用基站无线信号特征进行位置语义识别时,可以首先用CGI映射关系表对临站中缺失的CGI信息进行恢复,得到完整的特征信息。实现过程可参照上述构建的过程的描述,之后可以使用无线信号特征信息对位置语义指纹库进行检索。得到所有的位置语义指纹库特征信息集合。检索过程为根据CGI及PCI查询位置语义特征库是否有相应的主键(Primary Key)。Taking the wireless signal as the base station signal as an example, when using the characteristics of the wireless signal of the base station for location semantic recognition, the CGI mapping relationship table can be used to recover the missing CGI information in the adjacent station to obtain complete feature information. For the implementation process, refer to the description of the above-mentioned construction process, and then use the wireless signal feature information to search the location semantic fingerprint database. Obtain all feature information collections of the location semantic fingerprint library. The retrieval process is to query whether the location semantic feature database has a corresponding primary key (Primary Key) according to CGI and PCI.
之后可以采用负对数似然(Negative Log-likelihood,NL)距离的特征匹配来进行定位,参照图10,在一种可能的实现中,可以获取终端设备采集的第一位置点信息,所述第一位置点信息包括目标无线信号信息,所述目标无线信号信息包括M个网络设备的无线信号强度;根据所述M个网络设备中每个网络设备的无线信号强度,从所述位置语义指纹库中确定对应的概率密度;基于确定出的每个所述概率密度高于对应的阈值,确定所述终端设备处于所述室内预设区域内。Afterwards, feature matching of negative log-likelihood (Negative Log-likelihood, NL) distance can be used for positioning. Referring to FIG. The first location point information includes target wireless signal information, and the target wireless signal information includes wireless signal strengths of M network devices; according to the wireless signal strength of each network device in the M network devices, from the location semantic fingerprint Determining corresponding probability densities in the library; determining that the terminal device is in the indoor preset area based on each of the determined probability densities being higher than a corresponding threshold.
具体的,使用采集到的无线信号特征信息以及匹配到的位置语义特征信息进行距离估算:Specifically, use the collected wireless signal feature information and the matched location semantic feature information to perform distance estimation:
Figure PCTCN2022107577-appb-000003
Figure PCTCN2022107577-appb-000003
其中,d代表基于NL的距离计算结果,
Figure PCTCN2022107577-appb-000004
为主小区的NL距离结果均值,
Figure PCTCN2022107577-appb-000005
为邻区小区的NL距离结果均值,w为调和参数,取值0.5。下面对NL距离均值NL avg如何计算进行描述。
Among them, d represents the distance calculation result based on NL,
Figure PCTCN2022107577-appb-000004
The mean value of the NL distance results of the main cell,
Figure PCTCN2022107577-appb-000005
is the mean value of the NL distance results of neighboring cells, and w is the harmonic parameter, with a value of 0.5. How to calculate the NL distance average value NL avg is described below.
Figure PCTCN2022107577-appb-000006
Figure PCTCN2022107577-appb-000006
Figure PCTCN2022107577-appb-000007
Figure PCTCN2022107577-appb-000007
在计算NL均值时可以使用J mod(Modified jaccard)距离进行规范化。J mod计算公式如下: The J mod (Modified jaccard) distance can be used for normalization when calculating the NL mean. The calculation formula of J mod is as follows:
Figure PCTCN2022107577-appb-000008
Figure PCTCN2022107577-appb-000008
其中,C为满足一定分布范围内的特征集合,仅使用集合内特征参与距离计算,提高鲁棒性。这个分布范围条件由Z-Score小于一定阈值T z-score来描述。Z-Score计算公式为: Among them, C is a feature set that satisfies a certain distribution range, and only uses the features in the set to participate in distance calculation to improve robustness. This distribution range condition is described by Z-Score less than a certain threshold T z-score . Z-Score calculation formula is:
Z N(μ,σ)(RSSI)=|RSSI-μ|/σ; Z N(μ,σ) (RSSI)=|RSSI-μ|/σ;
每一个特征f i的NL距离计算公式如下: The NL distance calculation formula for each feature f i is as follows:
Figure PCTCN2022107577-appb-000009
Figure PCTCN2022107577-appb-000009
其中μ ii是特征f i在位置语义特征库中匹配到的均值和标准差。RSSI i是实时采集到的无线信号特征f i的信号强度。P N(μ,σ)(x)为正态分布N(μ,σ)的概率密度函数,其有两种实现方式: Among them, μ i and σ i are the mean and standard deviation of feature f i matched in the location semantic feature library. RSSI i is the signal strength of the wireless signal feature f i collected in real time. P N(μ,σ) (x) is the probability density function of the normal distribution N(μ,σ), which can be implemented in two ways:
实现一:Implementation one:
Figure PCTCN2022107577-appb-000010
Figure PCTCN2022107577-appb-000010
实现二:Implementation two:
Figure PCTCN2022107577-appb-000011
Figure PCTCN2022107577-appb-000011
得到距离估计结果d后,可以通过规范化估计得到置信度信息。从而使用置信度进行位置语义识别及排序。置信度估计函数如下:After obtaining the distance estimation result d, confidence information can be obtained through normalized estimation. In this way, the confidence is used for positional semantic recognition and ranking. The confidence estimation function is as follows:
Conf(d)=P N(0,bw)(d)/P N(0,bw)(0),其中bw=10; Conf(d)= PN(0,bw) (d)/ PN(0,bw) (0), where bw=10;
其中,bw为放缩参数。对于置信度低于一定预设阈值(阈值为0.01)的位置语义进行过滤。Among them, bw is the scaling parameter. Filter the location semantics whose confidence is lower than a certain preset threshold (threshold is 0.01).
本申请实施例提供了一种位置语义指纹库构建方法,所述方法包括:获取目标轨迹,所述目标轨迹包括多个轨迹点,所述多个轨迹点包括依次连接的第一轨迹点集合、第二轨迹点集合以及第三轨迹点集合,其中所述第一轨迹点集合包括传感器信息和/或第一GNSS状态信息,所述传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,所述第一GNSS状态信息用于指示所述第一轨迹点集合为室内和室外之间的出入口上的轨迹点,所述第二轨迹点集合中的轨迹点包括置信度高于阈值的GNSS位置信息,所述第三轨迹点集合包括第二GNSS状态信息,所述第二GNSS状态信息用于指示所述第一轨迹点集合为室内的轨迹点;将所述第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合;将所述第二轨迹点集合确定为室外语义的指纹点集合;将所述第三轨迹点集合确定为室内语义的指纹点集合;根据所述第一轨迹点集合、所述第二轨迹点集合、以及所述第三轨迹点集合,构建位置语义指纹库。本申请实施例中,通过传感器信息和/或GNSS状态信息可以识别出室内与室外之间过渡区域的轨迹点,通过GNSS位置信息识别室外区域的轨迹点,并将从室外区域经过过渡区域延伸到的轨迹点作为室内区域的轨迹点,在室内缺失准确的GNSS定位信息时,也可以准确构建室内语义的指纹点。An embodiment of the present application provides a method for constructing a location semantic fingerprint library, the method comprising: acquiring a target trajectory, the target trajectory including a plurality of trajectory points, the plurality of trajectory points including a set of first trajectory points connected in sequence, The second track point set and the third track point set, wherein the first track point set includes sensor information and/or first GNSS state information, and the sensor information is used to indicate that the first track point set is between different horizontal planes The first GNSS state information is used to indicate that the first set of track points are track points on the entrance and exit between indoor and outdoor, and the track points in the second set of track points include The GNSS position information of the threshold value, the third track point set includes second GNSS state information, and the second GNSS state information is used to indicate that the first track point set is an indoor track point; the first track point set The set of points is determined as a set of fingerprint points in the transition zone between indoor and outdoor; the second track point set is determined as a set of fingerprint points for outdoor semantics; the third set of track points is determined as a set of fingerprint points for indoor semantics; A location semantic fingerprint library is constructed according to the first track point set, the second track point set, and the third track point set. In the embodiment of the present application, the trajectory point of the transition area between indoor and outdoor can be identified through sensor information and/or GNSS state information, the trajectory point of the outdoor area can be identified through GNSS position information, and the transition area will be extended from the outdoor area to As the trajectory points of the indoor area, the indoor semantic fingerprint points can also be accurately constructed when accurate GNSS positioning information is missing indoors.
接下来结合端云之间的交互以及数据处理流程,对本申请实施例中的指纹库构建流程进行描述:Next, the fingerprint library construction process in the embodiment of this application will be described in combination with the interaction between the terminal and the cloud and the data processing process:
参照图11,云侧的输入数据来自于端侧的采集,可以包括众包数据以及预设区域的地理信息(如建筑物轮廓,或给定位置及范围)。众包数据是指端侧通过一定的触发机制,在用户无感知的情况下,匿名化地收集用户智能终端的传感器、无线信号等信息。传感器信号包括IMU传感器数据(加速度计、陀螺仪、磁力计)和定位传感器信息(GNSS、GNSS Status)等;无线信号数据包括WiFi、蓝牙、基站等信息。建筑物轮廓信息是指由有序的经 纬度点序列所描述的封闭区域信息,该区域完整并必要地描述了建筑物的覆盖范围。Referring to Figure 11, the input data on the cloud side comes from the collection on the device side, and may include crowdsourcing data and geographic information of preset areas (such as building outlines, or given locations and ranges). Crowdsourcing data refers to the anonymized collection of sensor, wireless signal and other information of the user's smart terminal through a certain trigger mechanism on the terminal side without the user's perception. Sensor signals include IMU sensor data (accelerometer, gyroscope, magnetometer) and positioning sensor information (GNSS, GNSS Status), etc.; wireless signal data include WiFi, Bluetooth, base station and other information. The building outline information refers to the closed area information described by the orderly latitude and longitude point sequence, which completely and necessarily describes the coverage of the building.
云侧的预处理模块可以对传感器数据进行数据校验并完成了初步的分析,提取出如室内外特征、跨层事件等语义特征以及如绝对坐标、相对坐标等位置信息。由于多个数据源由不同的传感器非同步测量得到,所以对于不同无线信号传感器特征进行了坐标插值,保证输入源的同步性。最终预处理将众包数据源中的传感器及无线网络信号信息转化为由带有无线特征及语义特征的有序坐标信息组成的轨迹信息。The preprocessing module on the cloud side can perform data verification on sensor data and complete preliminary analysis, extracting semantic features such as indoor and outdoor features, cross-layer events, and location information such as absolute coordinates and relative coordinates. Since multiple data sources are measured asynchronously by different sensors, coordinate interpolation is performed on the characteristics of different wireless signal sensors to ensure the synchronization of input sources. The final preprocessing transforms the sensor and wireless network signal information in the crowdsourcing data source into trajectory information composed of ordered coordinate information with wireless features and semantic features.
数据挖掘与提取模块可以使用预设的建筑物轮廓信息对于轨迹信息进行抽取,识别过渡点以及有效和无效区域的数据集合。有效区域为建筑物轮廓内室内区域;无效区域为建筑物轮廓外一定范围距离带构成的区域。过渡点为室内外区域切换时必经的位置点集合,如商场出入口等。The data mining and extraction module can use the preset building outline information to extract trajectory information, identify transition points and data sets of valid and invalid areas. The valid area is the indoor area inside the building outline; the invalid area is the area formed by a certain range of distance bands outside the building outline. The transition point is a set of location points that must be passed when switching between indoor and outdoor areas, such as the entrance and exit of a shopping mall.
基于对比分析的有效特征提取模块可以对于挖掘到的有效区域和无效区域无线网络信息进行对比分析,得到具有特异性的有效特征集合。The effective feature extraction module based on comparative analysis can compare and analyze the mined wireless network information in valid areas and invalid areas, and obtain specific effective feature sets.
位置语义特征计算模块可以对于有效区域内的有效特征集合进行统计参数估计,使用统计特征带来代替所有的特征集合作为位置语义特征库来输出。减少存储开销以及为提供高精度识别提供可能。The positional semantic feature calculation module can perform statistical parameter estimation on the effective feature set in the effective area, and use the statistical feature band to replace all feature sets as the positional semantic feature library for output. Reduce storage overhead and provide the possibility to provide high-precision recognition.
CGI映射关系构建模块可以针对基站这种无线信号数据源,由于协议限制,邻区中无法获取到全局唯一标识符CGI信息,从而影响了识别的精度。本专利利用轨迹中的有序基站信号信息自动化构建一种基站邻区CGI映射库,对邻区CGI进行恢复,从而得到完整的基站信息。注意这个模块仅针对基站无线信号数据源,其他WiFi等数据源无需此模块。The CGI mapping relationship building block can be aimed at the base station as a wireless signal data source. Due to protocol restrictions, the global unique identifier CGI information cannot be obtained in neighboring cells, which affects the recognition accuracy. This patent utilizes the ordered base station signal information in the track to automatically construct a CGI mapping library of the base station's adjacent area, restore the adjacent area's CGI, and thus obtain complete base station information. Note that this module is only for base station wireless signal data sources, and other data sources such as WiFi do not need this module.
参照图12,在基于构建好的位置指纹库进行位置语义识别时,输入数据可以包括通过端侧采集并上报给云侧的无线信号数据。这里的无线信号包括WiFi、蓝牙、基站等。Referring to FIG. 12 , when performing location semantic recognition based on the constructed location fingerprint database, the input data may include wireless signal data collected by the device side and reported to the cloud side. The wireless signals here include WiFi, Bluetooth, base stations, etc.
CGI恢复模块可以对于基站数据源,使用构建过程中生成的CGI映射关系库对邻区缺失数据进行恢复。The CGI recovery module can recover the missing data of the adjacent cell by using the CGI mapping relationship library generated during the construction process for the base station data source.
RFM检索模块可以使用无线信号对位置语义特征库进行检索,获得无线信号特征相关的所有位置语义特征信息。The RFM retrieval module can use the wireless signal to search the location semantic feature library, and obtain all the location semantic feature information related to the wireless signal feature.
基于NL距离的特征匹配模块可以使用无线网络信号数据以及匹配到的相关位置语义特征信息进行基于NL的距离估算,并对所有位置语义结果距离信息通过规范化映射得到置信度信息,并依次进行排序。将有序的带有置信度的位置语义结果返回给端侧。The feature matching module based on NL distance can use the wireless network signal data and the matched related location semantic feature information to perform NL-based distance estimation, and obtain confidence information through normalized mapping for all location semantic result distance information, and sort them in turn. Return ordered position semantic results with confidence to the end-side.
其中,位置语义的端侧实现方案可以如图13所示。Among them, the device-side implementation solution of location semantics can be shown in Figure 13 .
输入数据可以包括通过端侧采集的无线信号数据以及云侧下发给端侧的CGI映射关系库和城市级位置语义特征库。这里的无线信号包括WiFi、蓝牙、基站等。后续步骤实现方案与云侧实现方案相同。The input data can include the wireless signal data collected by the device side, the CGI mapping relationship library and the city-level location semantic feature library delivered from the cloud side to the device side. The wireless signals here include WiFi, Bluetooth, base stations, etc. The implementation scheme of the subsequent steps is the same as that on the cloud side.
端侧实现方案与云侧实现方案的差异点在于云侧实现方案是将无线信号上报至云侧,所有计算在云侧实施。而端侧实现方案是将CGI库和位置语义特征库下发至端侧,所有计算在端侧实施,降低网络时延,提高识别的实时性。The difference between the device-side implementation scheme and the cloud-side implementation scheme is that the cloud-side implementation scheme reports wireless signals to the cloud side, and all calculations are performed on the cloud side. The device-side implementation solution is to deliver the CGI library and location semantic feature library to the device side, and all calculations are performed on the device side, reducing network delay and improving real-time recognition.
此外,本申请实施例还提供了一种定位方法,所述方法包括:In addition, the embodiment of the present application also provides a positioning method, the method comprising:
获取终端设备采集的第一位置点信息,所述第一位置点信息包括目标无线信号信息, 所述目标无线信号信息包括M个网络设备的无线信号强度;Acquire first location point information collected by the terminal device, where the first location point information includes target wireless signal information, and the target wireless signal information includes wireless signal strengths of M network devices;
根据所述M个网络设备中每个网络设备的无线信号强度,从所述位置语义指纹库中确定对应的信号强度分布特征以及所述信号强度分布特征中的目标信号强度区间,每个所述无线信号强度区间在所述信号强度分布特征对应的概率密度高于阈值;According to the wireless signal strength of each of the M network devices, determine the corresponding signal strength distribution feature and the target signal strength interval in the signal strength distribution feature from the location semantic fingerprint database, each of the The probability density corresponding to the signal strength distribution feature in the wireless signal strength interval is higher than a threshold;
基于所述M个网络设备中每个网络设备的无线信号强度在对应的目标信号强度区间内,确定所述终端设备处于所述室内预设区域内。Based on the wireless signal strength of each of the M network devices being within a corresponding target signal strength interval, it is determined that the terminal device is in the indoor preset area.
在一种可能的实现中,还可以基于所述第一位置点信息包括目标网络设备的第一目标标识且不包括所述目标网络设备的第二目标标识,所述第一目标标识不具备全球唯一性,所述第二目标标识具备全球唯一性,从所述位置语义指纹库中确定包括所述目标网络设备的第一目标标识且包括所述目标网络设备的第二目标标识的第二位置点信息;将所述第二位置点信息包括的所述第二目标标识复用至所述第一位置点信息,以便所述第一位置点信息包括所述第二目标标识。In a possible implementation, based on the first location point information, it may also include the first target identifier of the target network device and not include the second target identifier of the target network device, and the first target identifier does not have global uniqueness, the second target identifier has global uniqueness, and the second location including the first target identifier of the target network device and the second target identifier of the target network device is determined from the location semantic fingerprint database Point information: multiplexing the second target identifier included in the second location point information to the first location point information, so that the first location point information includes the second target identifier.
参照图14,图14为本申请实施例提供的一种位置语义指纹库构建装置的结构示意,所述装置1400可以包括:Referring to Fig. 14, Fig. 14 is a schematic structural diagram of an apparatus for constructing a location semantic fingerprint library provided by an embodiment of the present application. The apparatus 1400 may include:
获取模块1401,用于获取目标轨迹,所述目标轨迹包括多个轨迹点,所述多个轨迹点包括依次连接的第一轨迹点集合、第二轨迹点集合以及第三轨迹点集合,其中所述第一轨迹点集合包括传感器信息和/或第一GNSS状态信息,所述传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,所述第一GNSS状态信息用于指示所述第一轨迹点集合为室内和室外之间的出入口上的轨迹点,所述第二轨迹点集合中的轨迹点包括置信度高于阈值的GNSS位置信息,所述第三轨迹点集合包括第二GNSS状态信息,所述第二GNSS状态信息用于指示所述第一轨迹点集合为室内的轨迹点;The acquiring module 1401 is configured to acquire a target track, the target track includes a plurality of track points, and the multiple track points include a first set of track points, a second set of track points and a third set of track points connected in sequence, wherein the The first track point set includes sensor information and/or first GNSS state information, the sensor information is used to indicate that the first track point set is a track point between different levels, and the first GNSS state information is used for Indicate that the first track point set is a track point on an entrance and exit between indoors and outdoors, the track points in the second track point set include GNSS position information with a confidence level higher than a threshold, and the third track point set Including second GNSS state information, the second GNSS state information is used to indicate that the first track point set is an indoor track point;
关于获取模块1401的具体描述可以参照上述实施例中步骤101的描述,这里不再赘述。For a specific description of the acquiring module 1401, reference may be made to the description of step 101 in the foregoing embodiment, and details are not repeated here.
语义确定模块1402,用于将所述第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合;A semantic determination module 1402, configured to determine the first set of track points as a set of fingerprint points in a transition area between indoors and outdoors;
关于语义确定模块1402的具体描述可以参照上述实施例中步骤102、103以及104的描述,这里不再赘述。For a specific description of the semantic determination module 1402, reference may be made to the description of steps 102, 103, and 104 in the above-mentioned embodiment, and details are not repeated here.
将所述第二轨迹点集合确定为室外语义的指纹点集合;Determining the second set of trajectory points as a set of fingerprint points for outdoor semantics;
将所述第三轨迹点集合确定为室内语义的指纹点集合;Determining the third set of trajectory points as a set of fingerprint points for indoor semantics;
指纹库构建模块1403,用于根据所述第一轨迹点集合、所述第二轨迹点集合、以及所述第三轨迹点集合,构建位置语义指纹库。The fingerprint library construction module 1403 is configured to construct a location semantic fingerprint library according to the first track point set, the second track point set, and the third track point set.
关于指纹库构建模块1403的具体描述可以参照上述实施例中步骤105的描述,这里不再赘述。For the specific description of the fingerprint library construction module 1403, reference may be made to the description of step 105 in the above embodiment, and details are not repeated here.
在一种可能的实现中,所述第二轨迹点集合中的轨迹点与所述室内的地理围栏之间的距离大于第一阈值且小于第二阈值。In a possible implementation, the distance between the track points in the second track point set and the indoor geo-fence is greater than a first threshold and smaller than a second threshold.
在一种可能的实现中,所述多个轨迹点包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述 第一标识不具备全球唯一性;所述第二轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;所述装置还包括:In a possible implementation, the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identifier of the device, the first identifier is not globally unique; the second track point includes second wireless signal information, and the second wireless signal information includes the first identifier and the first identifier of the network device Two identifications, the second identification has global uniqueness; the device also includes:
标识复用模块,用于基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第二轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。an identifier multiplexing module, configured to multiplex the second identifier included in the second track point into the The first track point, so that the first wireless signal information includes the second identifier.
在一种可能的实现中,所述多个轨迹点包括依次相邻的第一轨迹点、第二轨迹点和第三轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述第三轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;所述标识复用模块,还用于:In a possible implementation, the plurality of track points include a first track point, a second track point, and a third track point that are sequentially adjacent, the first track point includes first wireless signal information, and the first track point A wireless signal information includes a first identifier of a network device, and the first identifier is not globally unique; the third track point includes second wireless signal information, and the second wireless signal information includes all The first identification and the second identification, the second identification has global uniqueness; the identification multiplexing module is also used for:
基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第三轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the third track point to the first track point, so that The first wireless signal information includes the second identifier.
在一种可能的实现中,所述多个轨迹点包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述标识复用模块,还用于:In a possible implementation, the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identification of the device, the first identification does not have global uniqueness; the identification multiplexing module is also used for:
获取第一轨迹,所述第一轨迹包括所述第二轨迹点和第四轨迹点,所述第四轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;Acquire a first track, the first track includes the second track point and a fourth track point, the fourth track point includes second wireless signal information, and the second wireless signal information includes all of the network equipment The first identification and the second identification, the second identification is globally unique;
基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第四轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the fourth track point to the first track point, so that The first wireless signal information includes the second identifier.
在一种可能的实现中,所述第一标识为伪小区标识PCI,所述第二标识为全局标识符CGI。In a possible implementation, the first identity is a pseudo cell identity PCI, and the second identity is a global identifier CGI.
在一种可能的实现中,每个所述轨迹点包括无线信号信息,且不同所述轨迹点包括的无线信号信息之间的相似度小于阈值。In a possible implementation, each track point includes wireless signal information, and a similarity between wireless signal information included in different track points is smaller than a threshold.
在一种可能的实现中,所述第三轨迹点集合包括M个目标轨迹点,所述M个目标轨迹点为室内预设区域内的轨迹点,每个所述目标轨迹点包括无线信号信息,且所述无线信号信息包括至少一个网络设备的无线信号强度;所述指纹库构建模块,具体用于:In a possible implementation, the third set of track points includes M target track points, and the M target track points are track points in an indoor preset area, and each target track point includes wireless signal information , and the wireless signal information includes the wireless signal strength of at least one network device; the fingerprint library construction module is specifically used for:
根据所述M个目标轨迹点包括的各个网络设备的无线信号强度,确定所述各个网络设备的信号强度分布特征,所述信号强度分布特征包括无线信号强度与概率密度之间的映射关系,所述位置语义指纹库包括所述各个网络设备的信号强度分布特征。According to the wireless signal strength of each network device included in the M target trajectory points, determine the signal strength distribution feature of each network device, the signal strength distribution feature includes a mapping relationship between wireless signal strength and probability density, so The location semantic fingerprint library includes the signal strength distribution characteristics of each network device.
在一种可能的实现中,所述信号强度分布特征为正态分布特征。In a possible implementation, the signal intensity distribution feature is a normal distribution feature.
在一种可能的实现中,所述获取模块,还用于:In a possible implementation, the acquisition module is also used to:
获取终端设备采集的第一位置点信息,所述第一位置点信息包括目标无线信号信息,所述目标无线信号信息包括M个网络设备的无线信号强度;Acquire first location point information collected by the terminal device, where the first location point information includes target wireless signal information, and the target wireless signal information includes wireless signal strengths of M network devices;
所述装置还包括:The device also includes:
定位模块,用于根据所述M个网络设备中每个网络设备的无线信号强度,从所述位置语义指纹库中确定对应的概率密度;A positioning module, configured to determine a corresponding probability density from the location semantic fingerprint library according to the wireless signal strength of each of the M network devices;
基于确定出的每个所述概率密度高于对应的阈值,确定所述终端设备处于所述室内预设区域内。Based on each of the determined probability densities being higher than a corresponding threshold, it is determined that the terminal device is in the indoor preset area.
本申请实施例提供了一种位置语义指纹库构建装置,所述装置包括:获取模块,用于获取目标轨迹,所述目标轨迹包括多个轨迹点,所述多个轨迹点包括依次连接的第一轨迹点集合、第二轨迹点集合以及第三轨迹点集合,其中所述第一轨迹点集合包括传感器信息和/或第一GNSS状态信息,所述传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,所述第一GNSS状态信息用于指示所述第一轨迹点集合为室内和室外之间的出入口上的轨迹点,所述第二轨迹点集合中的轨迹点包括置信度高于阈值的GNSS位置信息,所述第三轨迹点集合包括第二GNSS状态信息,所述第二GNSS状态信息用于指示所述第一轨迹点集合为室内的轨迹点;语义确定模块,用于将所述第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合;将所述第二轨迹点集合确定为室外语义的指纹点集合;将所述第三轨迹点集合确定为室内语义的指纹点集合;指纹库构建模块,用于根据所述第一轨迹点集合、所述第二轨迹点集合、以及所述第三轨迹点集合,构建位置语义指纹库。本申请实施例中,通过传感器信息和/或GNSS状态信息可以识别出室内与室外之间过渡区域的轨迹点,通过GNSS位置信息识别室外区域的轨迹点,并将从室外区域经过过渡区域延伸到的轨迹点作为室内区域的轨迹点,在室内缺失准确的GNSS定位信息时,也可以准确构建室内语义的指纹点。An embodiment of the present application provides a location semantic fingerprint database construction device, the device includes: an acquisition module, used to acquire the target trajectory, the target trajectory includes a plurality of trajectory points, the plurality of trajectory points are sequentially connected A track point set, a second track point set, and a third track point set, wherein the first track point set includes sensor information and/or first GNSS state information, and the sensor information is used to indicate the first track point The set is track points between different horizontal planes, the first GNSS state information is used to indicate that the first set of track points is track points on the entrance and exit between indoor and outdoor, and the track in the second set of track points The point includes GNSS position information with a confidence level higher than a threshold, the third track point set includes second GNSS state information, and the second GNSS state information is used to indicate that the first track point set is an indoor track point; semantics A determining module, configured to determine the first set of track points as a set of fingerprint points in a transition area between indoor and outdoor; determine the second set of track points as a set of fingerprint points for outdoor semantics; set the third track The point set is determined as an indoor semantic fingerprint point set; a fingerprint library construction module is configured to construct a location semantic fingerprint library according to the first track point set, the second track point set, and the third track point set. In the embodiment of the present application, the trajectory point of the transition area between indoor and outdoor can be identified through sensor information and/or GNSS state information, the trajectory point of the outdoor area can be identified through GNSS position information, and the transition area will be extended from the outdoor area to The trajectory points of the indoor area are used as the trajectory points of the indoor area. When accurate GNSS positioning information is missing indoors, indoor semantic fingerprint points can also be accurately constructed.
如图15所示,为本申请实施例中终端的一个实施例示意图。以终端为手机为例进行说明,图15示出的是与本申请实施例提供的终端相关的手机的部分结构的框图。参考图15,手机包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、无线保真(wireless fidelity,WIFI)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图15中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。As shown in FIG. 15 , it is a schematic diagram of an embodiment of a terminal in the embodiment of the present application. Taking the terminal as a mobile phone as an example for illustration, FIG. 15 shows a block diagram of a partial structure of the mobile phone related to the terminal provided by the embodiment of the present application. 15, the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (wireless fidelity, WIFI) module 970, a processor 980 , and power supply 990 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 15 does not constitute a limitation to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
下面结合图15对手机的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the mobile phone in conjunction with Figure 15:
RF电路910可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器980处理;另外,将设计上行的数据发送给基站。通常,RF电路910包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 910 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after receiving the downlink information from the base station, it is processed by the processor 980; in addition, it sends the designed uplink data to the base station. Generally, the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuitry 910 may also communicate with networks and other devices via wireless communications. The above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 920 . The memory 920 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
输入单元930可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括触控面板931以及其他输入设备932。触控面板931,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板931上或在触控面板931附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板931可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器980,并能接收处理器980发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板931。除了触控面板931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 930 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 930 may include a touch panel 931 and other input devices 932 . The touch panel 931, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 931 or near the touch panel 931). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 931 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 931 , the input unit 930 may also include other input devices 932 . Specifically, other input devices 932 may include but not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and the like.
显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示面板941,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板941。进一步的,触控面板931可覆盖显示面板941,当触控面板931检测到在其上或附近的触摸操作后,传送给处理器980以确定触摸事件的类型,随后处理器980根据触摸事件的类型在显示面板941上提供相应的视觉输出。虽然在图15中,触控面板931与显示面板941是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板931与显示面板941集成而实现手机的输入和输出功能。The display unit 940 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 940 may include a display panel 941. Optionally, the display panel 941 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Further, the touch panel 931 may cover the display panel 941, and when the touch panel 931 detects a touch operation on or near it, the touch operation is sent to the processor 980 to determine the type of the touch event, and then the processor 980 according to the touch event The type provides a corresponding visual output on the display panel 941 . Although in FIG. 15 , the touch panel 931 and the display panel 941 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 931 and the display panel 941 can be integrated to form a mobile phone. Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板941的亮度,接近传感器可在手机移动到耳边时,关闭显示面板941和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 941 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.
音频电路960、扬声器961,传声器962可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号输出;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收 后转换为音频数据,再将音频数据输出处理器980处理后,经RF电路910以发送给比如另一手机,或者将音频数据输出至存储器920以便进一步处理。The audio circuit 960, the speaker 961, and the microphone 962 can provide an audio interface between the user and the mobile phone. The audio circuit 960 can transmit the electrical signal converted from the received audio data to the speaker 961, and the speaker 961 converts it into an audio signal for output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 980, and then sent to another mobile phone through the RF circuit 910, or the audio data is output to the memory 920 for further processing.
WIFI属于短距离无线传输技术,手机通过WIFI模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图15示出了WIFI模块970,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WIFI belongs to the short-distance wireless transmission technology. Through the WIFI module 970, the mobile phone can help users send and receive emails, browse web pages and access streaming media, etc. It provides users with wireless broadband Internet access. Although Fig. 15 shows the WIFI module 970, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted as required without changing the essence of the invention.
处理器980是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器980可包括一个或多个处理单元;优选的,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 920, and calling data stored in the memory 920, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that, the foregoing modem processor may not be integrated into the processor 980 .
手机还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 990 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 980 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.
在上述方法实施例中由终端所执行的步骤可以基于该图15所示的终端结构,此处不再赘述。The steps performed by the terminal in the foregoing method embodiments may be based on the terminal structure shown in FIG. 15 , and will not be repeated here.
本申请实施例还提供了一种服务器,请参阅图16,图16是本申请实施例提供的服务器的一种结构示意图,服务器可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)1622(例如,一个或一个以上处理器)和存储器1632,一个或一个以上存储应用程序1642或数据1644的存储介质1630(例如一个或一个以上海量存储设备)。其中,存储器1632和存储介质1630可以是短暂存储或持久存储。存储在存储介质1630的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对训练设备中的一系列指令操作。更进一步地,中央处理器1622可以设置为与存储介质1630通信,在服务器1600上执行存储介质1630中的一系列指令操作。The embodiment of the present application also provides a server, please refer to Fig. 16, Fig. 16 is a schematic structural diagram of the server provided in the embodiment of the present application, the server may have relatively large differences due to different configurations or performances, and may include one or More than one central processing unit (central processing units, CPU) 1622 (for example, one or more processors) and memory 1632, one or more storage media 1630 for storing application programs 1642 or data 1644 (for example, one or more mass storage equipment). Wherein, the memory 1632 and the storage medium 1630 may be temporary storage or persistent storage. The program stored in the storage medium 1630 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the training device. Furthermore, the central processing unit 1622 may be configured to communicate with the storage medium 1630 , and execute a series of instruction operations in the storage medium 1630 on the server 1600 .
服务器1600还可以包括一个或一个以上电源1626,一个或一个以上有线或无线网络接口1650,一个或一个以上输入输出接口1658,和/或,一个或一个以上操作系统1641,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。The server 1600 can also include one or more power supplies 1626, one or more wired or wireless network interfaces 1650, one or more input and output interfaces 1658, and/or, one or more operating systems 1641, such as Windows Server™, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
具体的,服务器可以获取目标轨迹,所述目标轨迹包括多个轨迹点,所述多个轨迹点包括依次连接的第一轨迹点集合、第二轨迹点集合以及第三轨迹点集合,其中所述第一轨迹点集合包括传感器信息和/或第一GNSS状态信息,所述传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,所述第一GNSS状态信息用于指示所述第一轨迹点集合为室内和室外之间的出入口上的轨迹点,所述第二轨迹点集合中的轨迹点包括置信度高于阈值的GNSS位置信息,所述第三轨迹点集合包括第二GNSS状态信息,所述第二GNSS状态信息用于指示所述第一轨迹点集合为室内的轨迹点;Specifically, the server may acquire a target track, the target track includes a plurality of track points, and the multiple track points include a first set of track points, a second set of track points, and a third set of track points connected in sequence, wherein the The first track point set includes sensor information and/or first GNSS state information, the sensor information is used to indicate that the first track point set is a track point between different levels, and the first GNSS state information is used to indicate The first track point set is track points on the entrance and exit between indoor and outdoor, the track points in the second track point set include GNSS position information with a confidence level higher than a threshold, and the third track point set includes second GNSS state information, the second GNSS state information is used to indicate that the first track point set is an indoor track point;
其中,传感器信息可以为气压计,第一轨迹点集合包括的各个轨迹点之间的气压值存 在明显差异,例如按照第一轨迹的方向,第一轨迹点集合包括的轨迹点的气压值存在明显的由大到小或者由小到大的变化趋势,则可以认为第一轨迹点集合包括的传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,进而确定第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合。第一GNSS状态信息可以为GNSS status;Wherein, the sensor information can be a barometer, and there is a significant difference in air pressure values between the track points included in the first track point set, for example, according to the direction of the first track point, there is a significant difference in the barometric pressure values of the track points included in the first track point set If the change trend from large to small or from small to large, it can be considered that the sensor information included in the first track point set is used to indicate that the first track point set is a track point between different levels, and then determine the first track The set of points is determined as a set of fingerprint points for the transition region between indoors and outdoors. The first GNSS status information may be GNSS status;
其中,可以将目标轨迹中包括置信度高于阈值的GNSS位置信息的轨迹点(第二轨迹点集合)确定为室外的轨迹点,进而将所述第二轨迹点集合确定为室外语义的指纹点集合;Wherein, the trajectory points (the second trajectory point set) including the GNSS position information whose confidence level is higher than the threshold can be determined as the outdoor trajectory points in the target trajectory, and then the second trajectory point set is determined as the fingerprint point of the outdoor semantics gather;
其中,可以将目标轨迹中与第一轨迹点集合连接,且不与第二轨迹点集合连接的轨迹集合作为室内的轨迹点,进而将所述第三轨迹点集合确定为室内语义的指纹点集合;Among them, the trajectory set connected with the first trajectory point set in the target trajectory and not connected with the second trajectory point set can be used as the indoor trajectory point, and then the third trajectory point set is determined as the indoor semantic fingerprint point set ;
将所述第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合;Determining the first set of trajectory points as a set of fingerprint points in a transition zone between indoors and outdoors;
将所述第二轨迹点集合确定为室外语义的指纹点集合;Determining the second set of trajectory points as a set of fingerprint points for outdoor semantics;
将所述第三轨迹点集合确定为室内语义的指纹点集合;Determining the third set of trajectory points as a set of fingerprint points for indoor semantics;
根据所述第一轨迹点集合、所述第二轨迹点集合、以及所述第三轨迹点集合,构建位置语义指纹库。A location semantic fingerprint library is constructed according to the first track point set, the second track point set, and the third track point set.
本申请实施例中,通过传感器信息和/或GNSS状态信息可以识别出室内与室外之间过渡区域的轨迹点,通过GNSS位置信息识别室外区域的轨迹点,并将从室外区域经过过渡区域延伸到的轨迹点作为室内区域的轨迹点,在室内缺失准确的GNSS定位信息时,也可以准确构建室内语义的指纹点。In the embodiment of the present application, the trajectory point of the transition area between indoor and outdoor can be identified through sensor information and/or GNSS state information, the trajectory point of the outdoor area can be identified through GNSS position information, and the transition area will be extended from the outdoor area to As the trajectory points of the indoor area, the indoor semantic fingerprint points can also be accurately constructed when accurate GNSS positioning information is missing indoors.
在一种可能的实现中,所述第二轨迹点集合中的轨迹点与所述室内的地理围栏之间的距离大于第一阈值且小于第二阈值。In a possible implementation, the distance between the track points in the second track point set and the indoor geo-fence is greater than a first threshold and smaller than a second threshold.
应理解,第一阈值可以为10米及其附近的数值,例如8米、9米、11米、12米等,第一阈值可以与室内的地理围栏区域的面积有关,地理围栏区域的面积越大,则第一阈值的取值越大,第二阈值可以为50米及其附近的数值,例如48米、49米、51米、52米等,第二阈值也可以与室内的地理围栏区域的面积有关,地理围栏区域的面积越大,则第二阈值的取值越大。It should be understood that the first threshold may be a value of 10 meters and its vicinity, such as 8 meters, 9 meters, 11 meters, 12 meters, etc., the first threshold may be related to the area of the indoor geo-fence area, and the larger the area of the geo-fence area The larger the value of the first threshold, the greater the value of the second threshold can be 50 meters and nearby values, such as 48 meters, 49 meters, 51 meters, 52 meters, etc. The second threshold can also be related to the indoor geo-fence area The area of the geo-fence is related, and the larger the area of the geo-fence area, the larger the value of the second threshold.
在一种可能的实现中,所述多个轨迹点包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述第二轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;所述方法还包括:In a possible implementation, the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identifier of the device, the first identifier is not globally unique; the second track point includes second wireless signal information, and the second wireless signal information includes the first identifier and the first identifier of the network device Two identifications, the second identification has global uniqueness; the method also includes:
基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第二轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the second track point to the first track point, so that The first wireless signal information includes the second identifier.
在一些场景中,采集设备在采集轨迹点时,部分轨迹点的无线信号信息会存在缺失,具体的,无线信号信息可以包括临小区的网络设备标识(第一标识和第二标识),其中,第一标识不具备全球唯一性,第二标识具备全球唯一性,这里所谓的全球唯一性是指第二标识能唯一指示所在的小区,而存在不同的小区都对应于相同的第一标识,示例性的,第一标识可以为小区全局标识符CGI,所述第二标识可以为伪小区标识PCI。由于信息安全的 考虑,一些基站在向终端发送无线信号时,主小区的无线信号信息可以包括第一标识和第二标识,而临小区的无线信号信息不包括第二标识,仅包括第一标识,这种情况下,轨迹点的无线信号信息仅包括第一标识,不包括第二标识,由于第一标识并不能唯一指示网络设备,则该轨迹点并不可用。In some scenarios, when the acquisition device collects the track points, the wireless signal information of some track points may be missing. Specifically, the wireless signal information may include the network device identifier (the first identifier and the second identifier) of the adjacent cell, wherein, The first identifier does not have global uniqueness, and the second identifier has global uniqueness. The so-called global uniqueness here means that the second identifier can uniquely indicate the cell where it is located, and there are different cells that correspond to the same first identifier. Example Specifically, the first identifier may be a global cell identifier CGI, and the second identifier may be a pseudo cell identifier PCI. Due to information security considerations, when some base stations send wireless signals to terminals, the wireless signal information of the main cell may include the first identifier and the second identifier, while the wireless signal information of the adjacent cell does not include the second identifier, but only includes the first identifier , in this case, the wireless signal information of the track point only includes the first identifier and does not include the second identifier, and since the first identifier cannot uniquely indicate the network device, the track point is not available.
本申请实施例中,基于相邻轨迹点的无线信号信息,将轨迹点中不包括的第二标识补齐,进而使得上述轨迹点在进行位置指纹库构建时可用,提高了数据的利用率,相应的也提高了后续进行位置定位时的定位准确度。In the embodiment of the present application, based on the wireless signal information of adjacent track points, the second identifier not included in the track points is supplemented, so that the above track points can be used when the location fingerprint database is constructed, and the utilization rate of data is improved. Correspondingly, the positioning accuracy in subsequent position positioning is also improved.
在一种可能的实现中,所述多个轨迹点包括依次相邻的第一轨迹点、第二轨迹点和第三轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述第三轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;可以基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第三轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。In a possible implementation, the plurality of track points include a first track point, a second track point, and a third track point that are sequentially adjacent, the first track point includes first wireless signal information, and the first track point A wireless signal information includes a first identifier of a network device, and the first identifier is not globally unique; the third track point includes second wireless signal information, and the second wireless signal information includes all The first identifier and the second identifier, the second identifier is globally unique; based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, the third trajectory The second identifier included in the point is multiplexed to the first track point, so that the first wireless signal information includes the second identifier.
在一种可能的实现中,所述多个轨迹点包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;可以获取第一轨迹,所述第一轨迹包括所述第二轨迹点和第四轨迹点,所述第四轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;In a possible implementation, the plurality of track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the first wireless signal information includes network The first identification of the device, the first identification is not globally unique; the first track can be obtained, the first track includes the second track point and the fourth track point, the fourth track point includes the second wireless signal information, the second wireless signal information includes the first identifier and the second identifier of the network device, and the second identifier is globally unique;
基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第四轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the fourth track point to the first track point, so that The first wireless signal information includes the second identifier.
在一种可能的实现中,所述第一标识为伪小区标识PCI,所述第二标识为全局标识符CGI。In a possible implementation, the first identity is a pseudo cell identity PCI, and the second identity is a global identifier CGI.
在一种可能的实现中,每个所述轨迹点包括无线信号信息,且不同所述轨迹点包括的无线信号信息之间的相似度小于阈值。In a possible implementation, each track point includes wireless signal information, and a similarity between wireless signal information included in different track points is smaller than a threshold.
在一种可能的实现中,由于信号穿透,位于室内和室外的两个轨迹点的无线信号信息可能很相似,这部分轨迹点会降低后续的室内室外定位的准确性。在一种可能的实现中,可以将目标轨迹(或者其他轨迹)中满足上述情况的这部分轨迹点剔除,以使得目标轨迹(或者其他轨迹)中每个所述轨迹点包括无线信号信息,且不同所述轨迹点包括的无线信号信息之间的相似度小于阈值。In a possible implementation, due to signal penetration, the wireless signal information of two track points located indoors and outdoors may be very similar, and these track points will reduce the accuracy of subsequent indoor and outdoor positioning. In a possible implementation, the part of the track points in the target track (or other tracks) that meet the above conditions may be eliminated, so that each of the track points in the target track (or other tracks) includes wireless signal information, and The similarity between wireless signal information included in different track points is smaller than a threshold.
由于无线信号信息之间的相似度大于阈值的轨迹点会造成后续基于位置指纹库进行定位时室内室外识别的错误,本申请实施例中,通过将无线信号信息之间的相似度大于阈值的轨迹点从目标轨迹上剔除,提高了定位的准确度。Since the track points whose similarity between wireless signal information is greater than the threshold will cause errors in indoor and outdoor recognition when positioning based on the location fingerprint library, in the embodiment of the present application, the track points whose similarity between wireless signal information is greater than the threshold Points are eliminated from the target trajectory, which improves the accuracy of positioning.
在一种可能的实现中,所述第三轨迹点集合包括M个目标轨迹点,所述M个目标轨迹点为室内预设区域内的轨迹点,每个所述目标轨迹点包括无线信号信息,且所述无线信号信息包括至少一个网络设备的无线信号强度;所述方法还包括:In a possible implementation, the third set of track points includes M target track points, and the M target track points are track points in an indoor preset area, and each target track point includes wireless signal information , and the wireless signal information includes the wireless signal strength of at least one network device; the method further includes:
根据所述M个目标轨迹点包括的各个网络设备的无线信号强度,确定所述各个网络设备的信号强度分布特征,所述信号强度分布特征包括无线信号强度与概率密度之间的映射关系,所述位置语义指纹库包括所述各个网络设备的信号强度分布特征。可选的,所述信号强度分布特征为正态分布特征。According to the wireless signal strength of each network device included in the M target trajectory points, determine the signal strength distribution feature of each network device, the signal strength distribution feature includes a mapping relationship between wireless signal strength and probability density, so The location semantic fingerprint library includes the signal strength distribution characteristics of each network device. Optionally, the signal intensity distribution feature is a normal distribution feature.
具体的,可以对于有效区域的无线信号特征集合进行统计分析。假设每个特征对应的信号强度满足高斯分布。对于第二轨迹集合的轨迹点对应的网络设备内每个特征的信号强度分布参数进行估计,使用有一个正态分布N(μ,σ)来代替一个特征信息集合。从而降低了存储开销以及后续识别阶段的计算开销,且为高精度的位置语义识别提供了数据支撑。Specifically, statistical analysis may be performed on the wireless signal feature set in the effective area. It is assumed that the signal strength corresponding to each feature satisfies a Gaussian distribution. For estimating the signal strength distribution parameters of each feature in the network device corresponding to the track points of the second track set, a normal distribution N(μ, σ) is used to replace a feature information set. Thus, the storage overhead and the calculation overhead of the subsequent recognition stage are reduced, and data support is provided for high-precision location semantic recognition.
在一种可能的实现中,所述方法还包括:获取终端设备采集的第一位置点信息,所述第一位置点信息包括目标无线信号信息,所述目标无线信号信息包括M个网络设备的无线信号强度;根据所述M个网络设备中每个网络设备的无线信号强度,从所述位置语义指纹库中确定对应的信号强度分布特征以及所述信号强度分布特征中的目标信号强度区间,每个所述无线信号强度区间在所述信号强度分布特征对应的概率密度高于阈值;基于所述M个网络设备中每个网络设备的无线信号强度在对应的目标信号强度区间内,确定所述终端设备处于所述室内预设区域内。In a possible implementation, the method further includes: acquiring the first location point information collected by the terminal device, where the first location point information includes target wireless signal information, and the target wireless signal information includes information of M network devices Wireless signal strength; according to the wireless signal strength of each network device in the M network devices, determine the corresponding signal strength distribution feature and the target signal strength interval in the signal strength distribution feature from the location semantic fingerprint library, In each of the wireless signal strength intervals, the probability density corresponding to the signal strength distribution feature is higher than a threshold; based on the wireless signal strength of each of the M network devices being within the corresponding target signal strength interval, determine the The terminal device is located in the indoor preset area.
在一种可能的实现中,所述方法还包括:基于所述第一位置点信息包括目标网络设备的第一目标标识且不包括所述目标网络设备的第二目标标识,所述第一目标标识不具备全球唯一性,所述第二目标标识具备全球唯一性,从所述位置语义指纹库中确定包括所述目标网络设备的第一目标标识且包括所述目标网络设备的第二目标标识的第二位置点信息;将所述第二位置点信息包括的所述第二目标标识复用至所述第一位置点信息,以便所述第一位置点信息包括所述第二目标标识。In a possible implementation, the method further includes: based on that the first location point information includes a first target identifier of the target network device and does not include a second target identifier of the target network device, the first target The identifier does not have global uniqueness, the second target identifier has global uniqueness, and the first target identifier including the target network device and the second target identifier including the target network device are determined from the location semantic fingerprint database the second location point information; multiplexing the second target identifier included in the second location point information to the first location point information, so that the first location point information includes the second target identifier.
本申请实施例中还提供一种包括计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中描述的位置语义指纹库构建方法。The embodiment of the present application also provides a computer program product, which, when running on a computer, causes the computer to execute the location semantic fingerprint database construction method described in the above embodiments.
本申请实施例中还提供一种计算机可读存储介质,该计算机可读存储介质中存储有用于进行信号处理的程序,当其在计算机上运行时,使得计算机执行如上述实施例中描述的位置语义指纹库构建方法。An embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a program for performing signal processing, and when it is run on a computer, the computer executes the location as described in the above-mentioned embodiments Construction method of semantic fingerprint library.
本申请实施例提供的功能调节装置具体可以为芯片,芯片包括:处理单元和通信单元,该处理单元例如可以是处理器,该通信单元例如可以是输入/输出接口、管脚或电路等。该处理单元可执行存储单元存储的计算机执行指令,以使执行设备内的芯片执行上述实施例描述的图像增强方法,或者,以使训练设备内的芯片执行上述实施例描述的图像增强方法。可选地,该存储单元为该芯片内的存储单元,如寄存器、缓存等,该存储单元还可以是该无线接入设备端内的位于该芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。The function adjustment device provided in the embodiment of the present application may specifically be a chip. The chip includes: a processing unit and a communication unit. The processing unit may be, for example, a processor, and the communication unit may be, for example, an input/output interface, a pin, or a circuit. The processing unit can execute the computer-executed instructions stored in the storage unit, so that the chip in the execution device executes the image enhancement method described in the above embodiment, or the chip in the training device executes the image enhancement method described in the above embodiment. Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, etc., and the storage unit may also be a storage unit located outside the chip in the wireless access device, such as a read-only memory (read- only memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM), etc.
具体的,请参阅图17,图17为本申请实施例提供的芯片的一种结构示意图,该芯片可以表现为神经网络处理器NPU170,NPU 170作为协处理器挂载到主CPU(Host CPU) 上,由Host CPU分配任务。NPU的核心部分为运算电路1703,通过控制器1704控制运算电路1703提取存储器中的矩阵数据并进行乘法运算。Specifically, please refer to FIG. 17. FIG. 17 is a schematic structural diagram of a chip provided by the embodiment of the present application. The chip can be represented as a neural network processor NPU170, and the NPU 170 is mounted to the main CPU (Host CPU) as a coprocessor. Above, the tasks are assigned by the Host CPU. The core part of the NPU is the operation circuit 1703, and the operation circuit 1703 is controlled by the controller 1704 to extract matrix data in the memory and perform multiplication operations.
在一些实现中,运算电路1703内部包括多个处理单元(Process Engine,PE)。在一些实现中,运算电路1703是二维脉动阵列。运算电路1703还可以是一维脉动阵列或者能够执行例如乘法和加法这样的数学运算的其它电子线路。在一些实现中,运算电路1703是通用的矩阵处理器。In some implementations, the operation circuit 1703 includes multiple processing units (Process Engine, PE). In some implementations, arithmetic circuit 1703 is a two-dimensional systolic array. The arithmetic circuit 1703 may also be a one-dimensional systolic array or other electronic circuits capable of performing mathematical operations such as multiplication and addition. In some implementations, arithmetic circuit 1703 is a general-purpose matrix processor.
举例来说,假设有输入矩阵A,权重矩阵B,输出矩阵C。运算电路从权重存储器1702中取矩阵B相应的数据,并缓存在运算电路中每一个PE上。运算电路从输入存储器1701中取矩阵A数据与矩阵B进行矩阵运算,得到的矩阵的部分结果或最终结果,保存在累加器(accumulator)1708中。For example, suppose there is an input matrix A, a weight matrix B, and an output matrix C. The operation circuit fetches the data corresponding to the matrix B from the weight memory 1702, and caches it in each PE in the operation circuit. The operation circuit takes the data of matrix A from the input memory 1701 and performs matrix operation with matrix B, and the obtained partial or final results of the matrix are stored in the accumulator 1708 .
统一存储器1706用于存放输入数据以及输出数据。权重数据直接通过存储单元访问控制器(direct memory access controller,DMAC)1705,DMAC被搬运到权重存储器1702中。输入数据也通过DMAC被搬运到统一存储器1706中。The unified memory 1706 is used to store input data and output data. The weight data directly accesses the controller (direct memory access controller, DMAC) 1705 through the storage unit, and the DMAC is transferred to the weight storage 1702. Input data is also transferred to unified memory 1706 by DMAC.
BIU为Bus Interface Unit即,总线接口单元1710,用于AXI总线与DMAC和取指存储器(Instruction Fetch Buffer,IFB)1709的交互。The BIU is the Bus Interface Unit, that is, the bus interface unit 1710, which is used for the interaction between the AXI bus and the DMAC and the instruction fetch buffer (Instruction Fetch Buffer, IFB) 1709.
总线接口单元1710(Bus Interface Unit,简称BIU),用于取指存储器1709从外部存储器获取指令,还用于存储单元访问控制器1705从外部存储器获取输入矩阵A或者权重矩阵B的原数据。The bus interface unit 1710 (Bus Interface Unit, BIU for short) is used for the instruction fetch memory 1709 to obtain instructions from the external memory, and is also used for the storage unit access controller 1705 to obtain the original data of the input matrix A or the weight matrix B from the external memory.
DMAC主要用于将外部存储器DDR中的输入数据搬运到统一存储器1706或将权重数据搬运到权重存储器1702中或将输入数据数据搬运到输入存储器1701中。The DMAC is mainly used to move the input data in the external memory DDR to the unified memory 1706 , to move the weight data to the weight memory 1702 , or to move the input data to the input memory 1701 .
向量计算单元1707包括多个运算处理单元,在需要的情况下,对运算电路的输出做进一步处理,如向量乘,向量加,指数运算,对数运算,大小比较等等。主要用于神经网络中非卷积/全连接层网络计算,如Batch Normalization(批归一化),像素级求和,对特征平面进行上采样等。The vector calculation unit 1707 includes a plurality of calculation processing units, and further processes the output of the calculation circuit, such as vector multiplication, vector addition, exponential operation, logarithmic operation, size comparison, etc., if necessary. It is mainly used for non-convolutional/fully connected layer network calculations in neural networks, such as Batch Normalization (batch normalization), pixel-level summation, and upsampling of feature planes.
在一些实现中,向量计算单元1707能将经处理的输出的向量存储到统一存储器1706。例如,向量计算单元1707可以将线性函数和/或非线性函数应用到运算电路1703的输出,例如对卷积层提取的特征平面进行线性插值,再例如累加值的向量,用以生成激活值。在一些实现中,向量计算单元1707生成归一化的值、像素级求和的值,或二者均有。在一些实现中,处理过的输出的向量能够用作到运算电路1703的激活输入,例如用于在神经网络中的后续层中的使用。In some implementations, the vector computation unit 1707 can store the vector of the processed output to unified memory 1706 . For example, the vector calculation unit 1707 may apply a linear function and/or a nonlinear function to the output of the operation circuit 1703, such as performing linear interpolation on the feature plane extracted by the convolutional layer, and for example, a vector of accumulated values to generate an activation value. In some implementations, the vector calculation unit 1707 generates normalized values, pixel-level summed values, or both. In some implementations, the vector of processed outputs can be used as an activation input to operational circuitry 1703, eg, for use in subsequent layers in a neural network.
控制器1704连接的取指存储器(instruction fetch buffer)1709,用于存储控制器1704使用的指令;An instruction fetch buffer (instruction fetch buffer) 1709 connected to the controller 1704 is used to store instructions used by the controller 1704;
统一存储器1706,输入存储器1701,权重存储器1702以及取指存储器1709均为On-Chip存储器。外部存储器私有于该NPU硬件架构。The unified memory 1706, the input memory 1701, the weight memory 1702 and the fetch memory 1709 are all On-Chip memories. External memory is private to the NPU hardware architecture.
其中,上述任一处提到的处理器,可以是一个通用中央处理器,微处理器,ASIC,或一个或多个用于控制上述实施例中描述的位置语义指纹库构建方法相关步骤的程序执行的集成电路。Wherein, the processor mentioned in any of the above-mentioned places can be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more programs for controlling the relevant steps of the location semantic fingerprint library construction method described in the above-mentioned embodiments implementation of the integrated circuit.
另外需说明的是,以上所描述的装置实施例仅仅是示意性的,其中该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本申请提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。In addition, it should be noted that the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physically separated. A unit can be located in one place, or it can be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the device embodiments provided in the present application, the connection relationship between the modules indicates that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本申请而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘、U盘、移动硬盘、ROM、RAM、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,训练设备,或者网络设备等)执行本申请各个实施例该的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general-purpose hardware, and of course it can also be realized by special hardware including application-specific integrated circuits, dedicated CPUs, dedicated memories, Special components, etc. to achieve. In general, all functions completed by computer programs can be easily realized by corresponding hardware, and the specific hardware structure used to realize the same function can also be varied, such as analog circuits, digital circuits or special-purpose circuit etc. However, for this application, software program implementation is a better implementation mode in most cases. Based on this understanding, the essence of the technical solution of this application or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, such as a floppy disk of a computer , U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer, training device, or network device, etc.) execute the method of each embodiment of the present application .
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地产生按照本申请实施例该的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,该计算机指令可以从一个网站站点、计算机、训练设备或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、训练设备或数据中心进行传输。该计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的训练设备、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be passed from a website site, computer, training device, or data center Wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) transmission to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a training device or a data center integrated with one or more available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (Solid State Disk, SSD)), etc.

Claims (25)

  1. 一种位置语义指纹库构建方法,其特征在于,所述方法包括:A method for constructing a location semantic fingerprint library, characterized in that the method comprises:
    获取目标轨迹,所述目标轨迹包括多个轨迹点,所述多个轨迹点包括依次连接的第一轨迹点集合、第二轨迹点集合以及第三轨迹点集合,其中所述第一轨迹点集合包括传感器信息和/或第一GNSS状态信息,所述传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,所述第一GNSS状态信息用于指示所述第一轨迹点集合为室内和室外之间的出入口上的轨迹点,所述第二轨迹点集合中的轨迹点包括置信度高于阈值的GNSS位置信息,所述第三轨迹点集合包括第二GNSS状态信息,所述第二GNSS状态信息用于指示所述第一轨迹点集合为室内的轨迹点;Obtaining a target trajectory, the target trajectory includes a plurality of trajectory points, and the plurality of trajectory points include a first set of track points, a second set of track points and a third set of track points connected in sequence, wherein the first set of track points Including sensor information and/or first GNSS state information, the sensor information is used to indicate that the first track point set is a track point between different levels, and the first GNSS state information is used to indicate the first track The point set is a track point on the entrance and exit between indoor and outdoor, the track point in the second track point set includes GNSS position information with a confidence level higher than the threshold, and the third track point set includes the second GNSS state information , the second GNSS state information is used to indicate that the first track point set is an indoor track point;
    将所述第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合;Determining the first set of trajectory points as a set of fingerprint points in a transition zone between indoors and outdoors;
    将所述第二轨迹点集合确定为室外语义的指纹点集合;Determining the second set of trajectory points as a set of fingerprint points for outdoor semantics;
    将所述第三轨迹点集合确定为室内语义的指纹点集合;Determining the third set of trajectory points as a set of fingerprint points for indoor semantics;
    根据所述第一轨迹点集合、所述第二轨迹点集合、以及所述第三轨迹点集合,构建位置语义指纹库。A location semantic fingerprint library is constructed according to the first track point set, the second track point set, and the third track point set.
  2. 根据权利要求1所述的方法,其特征在于,所述第二轨迹点集合中的轨迹点与所述室内的地理围栏之间的距离大于第一阈值且小于第二阈值。The method according to claim 1, wherein the distance between the track points in the second set of track points and the indoor geo-fence is greater than a first threshold and smaller than a second threshold.
  3. 根据权利要求1或2所述的方法,其特征在于,所述多个轨迹点包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述第二轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;所述方法还包括:The method according to claim 1 or 2, wherein the multiple track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the The first wireless signal information includes a first identifier of the network device, and the first identifier is not globally unique; the second track point includes second wireless signal information, and the second wireless signal information includes the network device's The first identification and the second identification, the second identification is globally unique; the method also includes:
    基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第二轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the second track point to the first track point, so that The first wireless signal information includes the second identifier.
  4. 根据权利要求1或2所述的方法,其特征在于,所述多个轨迹点包括依次相邻的第一轨迹点、第二轨迹点和第三轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述第三轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;所述方法还包括:The method according to claim 1 or 2, wherein the plurality of track points include sequentially adjacent first track points, second track points and third track points, and the first track points include the first Wireless signal information, the first wireless signal information includes a first identifier of a network device, and the first identifier is not globally unique; the third track point includes second wireless signal information, and the second wireless signal information The first identification and the second identification of the network device are included, and the second identification is globally unique; the method further includes:
    基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第三轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the third track point to the first track point, so that The first wireless signal information includes the second identifier.
  5. 根据权利要求1或2所述的方法,其特征在于,所述多个轨迹点包括相邻的第一轨 迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述方法还包括:The method according to claim 1 or 2, wherein the multiple track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the The first wireless signal information includes a first identifier of the network device, and the first identifier is not globally unique; the method further includes:
    获取第一轨迹,所述第一轨迹包括所述第二轨迹点和第四轨迹点,所述第四轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;Acquire a first track, the first track includes the second track point and a fourth track point, the fourth track point includes second wireless signal information, and the second wireless signal information includes all of the network equipment The first identification and the second identification, the second identification is globally unique;
    基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第四轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the fourth track point to the first track point, so that The first wireless signal information includes the second identifier.
  6. 根据权利要求3至5任一所述的方法,其特征在于,所述第一标识为伪小区标识PCI,所述第二标识为全局标识符CGI。The method according to any one of claims 3 to 5, wherein the first identity is a pseudo cell identity PCI, and the second identity is a global identifier CGI.
  7. 根据权利要求1至6任一所述的方法,其特征在于,每个所述轨迹点包括无线信号信息,且不同所述轨迹点包括的无线信号信息之间的相似度小于阈值。The method according to any one of claims 1 to 6, wherein each track point includes wireless signal information, and the similarity between wireless signal information included in different track points is smaller than a threshold.
  8. 根据权利要求1至7任一所述的方法,其特征在于,所述第三轨迹点集合包括M个目标轨迹点,所述M个目标轨迹点为室内预设区域内的轨迹点,每个所述目标轨迹点包括无线信号信息,且所述无线信号信息包括至少一个网络设备的无线信号强度;所述方法还包括:The method according to any one of claims 1 to 7, wherein the third track point set includes M target track points, and the M target track points are track points in an indoor preset area, each The target trajectory point includes wireless signal information, and the wireless signal information includes wireless signal strength of at least one network device; the method further includes:
    根据所述M个目标轨迹点包括的各个网络设备的无线信号强度,确定所述各个网络设备的信号强度分布特征,所述信号强度分布特征包括无线信号强度与概率密度之间的映射关系,所述位置语义指纹库包括所述各个网络设备的信号强度分布特征。According to the wireless signal strength of each network device included in the M target trajectory points, determine the signal strength distribution feature of each network device, the signal strength distribution feature includes a mapping relationship between wireless signal strength and probability density, so The location semantic fingerprint library includes the signal strength distribution characteristics of each network device.
  9. 根据权利要求8所述的方法,其特征在于,所述信号强度分布特征为正态分布特征。The method according to claim 8, characterized in that, the signal intensity distribution characteristic is a normal distribution characteristic.
  10. 根据权利要求8或9所述的方法,其特征在于,所述方法还包括:The method according to claim 8 or 9, wherein the method further comprises:
    获取终端设备采集的第一位置点信息,所述第一位置点信息包括目标无线信号信息,所述目标无线信号信息包括M个网络设备的无线信号强度;根据所述M个网络设备中每个网络设备的无线信号强度,从所述位置语义指纹库中确定对应的信号强度分布特征以及所述信号强度分布特征中的目标信号强度区间,每个所述无线信号强度区间在所述信号强度分布特征对应的概率密度高于阈值;Acquire the first location point information collected by the terminal device, the first location point information includes target wireless signal information, and the target wireless signal information includes wireless signal strengths of M network devices; according to each of the M network devices For the wireless signal strength of the network device, determine the corresponding signal strength distribution feature and the target signal strength interval in the signal strength distribution feature from the location semantic fingerprint library, each of the wireless signal strength intervals is within the signal strength distribution The probability density corresponding to the feature is higher than the threshold;
    基于所述M个网络设备中每个网络设备的无线信号强度在对应的目标信号强度区间内,确定所述终端设备处于所述室内预设区域内。Based on the wireless signal strength of each of the M network devices being within a corresponding target signal strength interval, it is determined that the terminal device is in the indoor preset area.
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method according to claim 10, characterized in that the method further comprises:
    基于所述第一位置点信息包括目标网络设备的第一目标标识且不包括所述目标网络设备的第二目标标识,所述第一目标标识不具备全球唯一性,所述第二目标标识具备全球唯 一性,从所述位置语义指纹库中确定包括所述目标网络设备的第一目标标识且包括所述目标网络设备的第二目标标识的第二位置点信息;Based on the fact that the first location point information includes the first target identifier of the target network device and does not include the second target identifier of the target network device, the first target identifier does not have global uniqueness, and the second target identifier has global uniqueness, determining from the location semantic fingerprint database the second location point information including the first target identifier of the target network device and including the second target identifier of the target network device;
    将所述第二位置点信息包括的所述第二目标标识复用至所述第一位置点信息,以便所述第一位置点信息包括所述第二目标标识。The second target identifier included in the second location point information is multiplexed into the first location point information, so that the first location point information includes the second target identifier.
  12. 一种位置语义指纹库构建装置,其特征在于,所述装置包括:A location semantic fingerprint library construction device, characterized in that the device comprises:
    获取模块,用于获取目标轨迹,所述目标轨迹包括多个轨迹点,所述多个轨迹点包括依次连接的第一轨迹点集合、第二轨迹点集合以及第三轨迹点集合,其中所述第一轨迹点集合包括传感器信息和/或第一GNSS状态信息,所述传感器信息用于指示所述第一轨迹点集合为不同水平面之间的轨迹点,所述第一GNSS状态信息用于指示所述第一轨迹点集合为室内和室外之间的出入口上的轨迹点,所述第二轨迹点集合中的轨迹点包括置信度高于阈值的GNSS位置信息,所述第三轨迹点集合包括第二GNSS状态信息,所述第二GNSS状态信息用于指示所述第一轨迹点集合为室内的轨迹点;An acquisition module, configured to acquire a target trajectory, the target trajectory includes a plurality of trajectory points, and the plurality of trajectory points include a first set of track points, a second set of track points, and a third set of track points connected in sequence, wherein the The first track point set includes sensor information and/or first GNSS state information, the sensor information is used to indicate that the first track point set is a track point between different levels, and the first GNSS state information is used to indicate The first track point set is track points on the entrance and exit between indoor and outdoor, the track points in the second track point set include GNSS position information with a confidence level higher than a threshold, and the third track point set includes second GNSS state information, the second GNSS state information is used to indicate that the first track point set is an indoor track point;
    语义确定模块,用于将所述第一轨迹点集合确定为室内和室外之间过渡区域的指纹点集合;A semantic determination module, configured to determine the first set of trajectory points as a set of fingerprint points in a transition area between indoors and outdoors;
    将所述第二轨迹点集合确定为室外语义的指纹点集合;Determining the second set of trajectory points as a set of fingerprint points for outdoor semantics;
    将所述第三轨迹点集合确定为室内语义的指纹点集合;Determining the third set of trajectory points as a set of fingerprint points for indoor semantics;
    指纹库构建模块,用于根据所述第一轨迹点集合、所述第二轨迹点集合、以及所述第三轨迹点集合,构建位置语义指纹库。A fingerprint library construction module, configured to construct a location semantic fingerprint library according to the first track point set, the second track point set, and the third track point set.
  13. 根据权利要求12所述的装置,其特征在于,所述第二轨迹点集合中的轨迹点与所述室内的地理围栏之间的距离大于第一阈值且小于第二阈值。The device according to claim 12, wherein the distance between the track points in the second set of track points and the indoor geo-fence is greater than a first threshold and smaller than a second threshold.
  14. 根据权利要求12或13所述的装置,其特征在于,所述多个轨迹点包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述第二轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;所述装置还包括:The device according to claim 12 or 13, wherein the multiple track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the The first wireless signal information includes a first identifier of the network device, and the first identifier is not globally unique; the second track point includes second wireless signal information, and the second wireless signal information includes the network device's The first identification and the second identification, the second identification is globally unique; the device also includes:
    标识复用模块,用于基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第二轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。an identifier multiplexing module, configured to multiplex the second identifier included in the second track point into the The first track point, so that the first wireless signal information includes the second identifier.
  15. 根据权利要求12或13所述的装置,其特征在于,所述多个轨迹点包括依次相邻的第一轨迹点、第二轨迹点和第三轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述第三轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;所述标识复用模块,还用于:The device according to claim 12 or 13, wherein the plurality of track points include sequentially adjacent first track points, second track points and third track points, and the first track points include the first Wireless signal information, the first wireless signal information includes a first identifier of a network device, and the first identifier is not globally unique; the third track point includes second wireless signal information, and the second wireless signal information Including the first identification and the second identification of the network device, the second identification has global uniqueness; the identification multiplexing module is also used for:
    基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第三轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the third track point to the first track point, so that The first wireless signal information includes the second identifier.
  16. 根据权利要求12或13所述的装置,其特征在于,所述多个轨迹点包括相邻的第一轨迹点和第二轨迹点,所述第一轨迹点包括第一无线信号信息,所述第一无线信号信息包括网络设备的第一标识,所述第一标识不具备全球唯一性;所述标识复用模块,还用于:The device according to claim 12 or 13, wherein the multiple track points include adjacent first track points and second track points, the first track point includes first wireless signal information, and the The first wireless signal information includes a first identifier of the network device, and the first identifier is not globally unique; the identifier multiplexing module is also used for:
    获取第一轨迹,所述第一轨迹包括所述第二轨迹点和第四轨迹点,所述第四轨迹点包括第二无线信号信息,所述第二无线信号信息包括所述网络设备的所述第一标识和第二标识,所述第二标识具备全球唯一性;Acquire a first track, the first track includes the second track point and a fourth track point, the fourth track point includes second wireless signal information, and the second wireless signal information includes all of the network equipment The first identification and the second identification, the second identification is globally unique;
    基于所述第一无线信号信息不包括针对于所述网络设备的具备全球唯一性的标识,将所述第四轨迹点包括的所述第二标识复用至所述第一轨迹点,以便所述第一无线信号信息包括所述第二标识。Based on the fact that the first wireless signal information does not include a globally unique identifier for the network device, multiplexing the second identifier included in the fourth track point to the first track point, so that The first wireless signal information includes the second identifier.
  17. 根据权利要求14至16任一所述的装置,其特征在于,所述第一标识为伪小区标识PCI,所述第二标识为全局标识符CGI。The device according to any one of claims 14 to 16, wherein the first identifier is a pseudo cell identifier PCI, and the second identifier is a global identifier CGI.
  18. 根据权利要求12至17任一所述的装置,其特征在于,每个所述轨迹点包括无线信号信息,且不同所述轨迹点包括的无线信号信息之间的相似度小于阈值。The device according to any one of claims 12 to 17, wherein each track point includes wireless signal information, and the similarity between wireless signal information included in different track points is smaller than a threshold.
  19. 根据权利要求12至18任一所述的装置,其特征在于,所述第三轨迹点集合包括M个目标轨迹点,所述M个目标轨迹点为室内预设区域内的轨迹点,每个所述目标轨迹点包括无线信号信息,且所述无线信号信息包括至少一个网络设备的无线信号强度;所述指纹库构建模块,具体用于:The device according to any one of claims 12 to 18, wherein the third track point set includes M target track points, and the M target track points are track points in an indoor preset area, each The target trajectory point includes wireless signal information, and the wireless signal information includes the wireless signal strength of at least one network device; the fingerprint library construction module is specifically used for:
    根据所述M个目标轨迹点包括的各个网络设备的无线信号强度,确定所述各个网络设备的信号强度分布特征,所述信号强度分布特征包括无线信号强度与概率密度之间的映射关系,所述位置语义指纹库包括所述各个网络设备的信号强度分布特征。According to the wireless signal strength of each network device included in the M target trajectory points, determine the signal strength distribution feature of each network device, the signal strength distribution feature includes a mapping relationship between wireless signal strength and probability density, so The location semantic fingerprint library includes the signal strength distribution characteristics of each network device.
  20. 根据权利要求19所述的装置,其特征在于,所述信号强度分布特征为正态分布特征。The device according to claim 19, wherein the signal strength distribution characteristic is a normal distribution characteristic.
  21. 根据权利要求19或20所述的装置,其特征在于,所述获取模块,还用于:The device according to claim 19 or 20, wherein the acquisition module is also used for:
    获取终端设备采集的第一位置点信息,所述第一位置点信息包括目标无线信号信息,所述目标无线信号信息包括M个网络设备的无线信号强度;Acquire first location point information collected by the terminal device, where the first location point information includes target wireless signal information, and the target wireless signal information includes wireless signal strengths of M network devices;
    所述装置还包括:The device also includes:
    定位模块,用于根据所述M个网络设备中每个网络设备的无线信号强度,从所述位置语义指纹库中确定对应的信号强度分布特征以及所述信号强度分布特征中的目标信号强度 区间,每个所述无线信号强度区间在所述信号强度分布特征对应的概率密度高于阈值;A positioning module, configured to determine a corresponding signal strength distribution feature and a target signal strength interval in the signal strength distribution feature from the location semantic fingerprint library according to the wireless signal strength of each of the M network devices , each of the wireless signal strength intervals has a probability density corresponding to the signal strength distribution feature higher than a threshold;
    基于所述M个网络设备中每个网络设备的无线信号强度在对应的目标信号强度区间内,确定所述终端设备处于所述室内预设区域内。Based on the wireless signal strength of each of the M network devices being within a corresponding target signal strength interval, it is determined that the terminal device is in the indoor preset area.
  22. 根据权利要求21所述的装置,其特征在于,所述装置还包括:The device according to claim 21, further comprising:
    信息补齐模块,用于基于所述第一位置点信息包括目标网络设备的第一目标标识且不包括所述目标网络设备的第二目标标识,所述第一目标标识不具备全球唯一性,所述第二目标标识具备全球唯一性,从所述位置语义指纹库中确定包括所述目标网络设备的第一目标标识且包括所述目标网络设备的第二目标标识的第二位置点信息;An information completion module, configured to include the first target identifier of the target network device and not include the second target identifier of the target network device based on the first location point information, the first target identifier does not have global uniqueness, The second target identifier has global uniqueness, and the second location point information including the first target identifier of the target network device and the second target identifier of the target network device is determined from the location semantic fingerprint database;
    将所述第二位置点信息包括的所述第二目标标识复用至所述第一位置点信息,以便所述第一位置点信息包括所述第二目标标识。The second target identifier included in the second location point information is multiplexed into the first location point information, so that the first location point information includes the second target identifier.
  23. 一种位置语义指纹库构建装置,其特征在于,包括:一个或多个处理器和存储器;其中,所述存储器中存储有计算机可读指令;A location semantic fingerprint library construction device, characterized in that it includes: one or more processors and memory; wherein, computer-readable instructions are stored in the memory;
    所述一个或多个处理器读取所述计算机可读指令,以使所述计算机设备实现如权利要求1至11任一所述的方法。The one or more processors read the computer readable instructions to cause the computer device to implement the method according to any one of claims 1 to 11.
  24. 一种计算机可读存储介质,其特征在于,包括计算机可读指令,当所述计算机可读指令在计算机设备上运行时,使得所述计算机设备执行权利要求1至11任一项所述的方法。A computer-readable storage medium, characterized in that it includes computer-readable instructions, and when the computer-readable instructions are run on a computer device, the computer device executes the method described in any one of claims 1 to 11 .
  25. 一种计算机程序产品,其特征在于,包括计算机可读指令,当所述计算机可读指令在计算机设备上运行时,使得所述计算机设备执行如权利要求1至11任一所述的方法。A computer program product, characterized by comprising computer-readable instructions, which, when the computer-readable instructions are run on a computer device, cause the computer device to execute the method according to any one of claims 1 to 11.
PCT/CN2022/107577 2021-07-28 2022-07-25 Location semantic fingerprint database construction method and related apparatus WO2023005864A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110859719.0 2021-07-28
CN202110859719.0A CN115696195A (en) 2021-07-28 2021-07-28 Position semantic fingerprint database construction method and related device

Publications (1)

Publication Number Publication Date
WO2023005864A1 true WO2023005864A1 (en) 2023-02-02

Family

ID=85057797

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/107577 WO2023005864A1 (en) 2021-07-28 2022-07-25 Location semantic fingerprint database construction method and related apparatus

Country Status (2)

Country Link
CN (1) CN115696195A (en)
WO (1) WO2023005864A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142216A (en) * 2015-08-07 2015-12-09 北京航空航天大学 Indoor and outdoor positioning switching method based on characteristic signal fingerprint database
CN105612794A (en) * 2014-02-25 2016-05-25 华为技术有限公司 Indoor locating features library establishment method and device
CN110519701A (en) * 2019-08-15 2019-11-29 广州小鹏汽车科技有限公司 Creation method, car-mounted terminal, server apparatus and the positioning system of location information
CN111427982A (en) * 2020-03-20 2020-07-17 浙江大学城市学院 WiFi indoor positioning fingerprint database construction and updating technology based on crowd sensing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105612794A (en) * 2014-02-25 2016-05-25 华为技术有限公司 Indoor locating features library establishment method and device
CN105142216A (en) * 2015-08-07 2015-12-09 北京航空航天大学 Indoor and outdoor positioning switching method based on characteristic signal fingerprint database
CN110519701A (en) * 2019-08-15 2019-11-29 广州小鹏汽车科技有限公司 Creation method, car-mounted terminal, server apparatus and the positioning system of location information
CN111427982A (en) * 2020-03-20 2020-07-17 浙江大学城市学院 WiFi indoor positioning fingerprint database construction and updating technology based on crowd sensing

Also Published As

Publication number Publication date
CN115696195A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
WO2021093872A1 (en) Crowdsensing-based multi-source information fusion indoor positioning method and system
CN109874112B (en) Positioning method and terminal
Abdelnasser et al. SemanticSLAM: Using environment landmarks for unsupervised indoor localization
Pan et al. Tracking mobile users in wireless networks via semi-supervised colocalization
US9740773B2 (en) Context labels for data clusters
JP2015531053A (en) System, method, and computer program for dynamically creating a radio map
US8639640B1 (en) Prediction of indoor location using decision trees
US11663282B2 (en) Taxonomy-based system for discovering and annotating geofences from geo-referenced data
CN105635956B (en) One kind is based on indoor virtually target localization method and device
Cengiz Comprehensive analysis on least-squares lateration for indoor positioning systems
Zhou et al. SCaNME: location tracking system in large-scale campus Wi-Fi environment using unlabeled mobility map
Cui et al. A robust mobile robot indoor positioning system based on Wi-Fi
CN113124857B (en) Method for determining entrance and exit positions, related device, equipment and storage medium
Bhargava et al. Senseme: a system for continuous, on-device, and multi-dimensional context and activity recognition
Wang et al. Fingerprint-based Wi-Fi indoor localization using map and inertial sensors
Zhao et al. Research on Crowdsourcing network indoor localization based on Co-Forest and Bayesian Compressed Sensing
KR20210090058A (en) Method and system for building indoor positioning database and positioning indoor with indoor positioning database
Shahid et al. Indoor positioning:“an image-based crowdsource machine learning approach”
Xu Autonomous Indoor Localization Using Unsupervised Wi-Fi Fingerprinting
Tarekegn et al. Applying long short-term memory (LSTM) mechanisms for fingerprinting outdoor positioning in hybrid networks
WO2023005864A1 (en) Location semantic fingerprint database construction method and related apparatus
CN110320493B (en) Indoor positioning method, device, electronic equipment and computer storage medium
CN109583583B (en) Neural network training method and device, computer equipment and readable medium
WO2023005865A1 (en) Method for constructing indoor map and related apparatus
Ashraf et al. Ensembling neural networks for user’s indoor localization using magnetic field data from smartphones

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22848469

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE