A data processing method and device
By constructing a relative position-signal pair and a target mapping relationship, the problem of low positioning accuracy of wireless signal models in the existing technology is solved, and high-precision indoor positioning services are achieved.
Patent Information
- Application Number
- CN202011602647.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-29
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-12-29
AI Technical Summary
Among existing indoor positioning technologies, the indoor positioning method based on wireless signal feature matching has low positioning accuracy due to the limitation of terminal device sensor accuracy, and cannot effectively construct high-precision wireless signals without relying on absolute position information. Model.
By obtaining the crowdsourced data of terminal devices in a preset area, constructing relative position-signal pairs, using the mapping relationship between similarity and position similarity to perform trajectory fusion, and establishing a target mapping relationship, thereby improving the positioning accuracy of the wireless signal model.
It is possible to improve the positioning accuracy of the wireless signal model without relying on absolute position information, and enhance the reliability and accuracy of indoor positioning services.
Smart Images

Figure CN114698094B
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence, and in particular to a data processing method and device. Background Art
[0002] The popularity of mobile devices and the development of mobile communication technology have provided different possibilities for achieving positioning and navigation. Taking positioning as an example, the chips integrated in mobile devices can be used to provide users with accurate outdoor positioning services. Satellite-based outdoor positioning and navigation can already meet many of the users' outdoor travel needs, but due to obstructions such as buildings, positioning technology based on satellite signals cannot provide available positioning services indoors. From the existing indoor positioning solutions, the widely available features or signals include: visual images, photoacoustic signals, geomagnetic fields, and wireless signals from mobile base stations, WiFi, Bluetooth, etc. As a method for building low-cost and highly available indoor positioning services, indoor positioning based on wireless signal feature matching is one of the most promising solutions.
[0003] The indoor positioning method based on wireless signal feature matching includes two key steps: one is to model the measurable wireless signals in the indoor area. The established model can include the mapping relationship between the location information of each location point in the indoor area and the wireless signal information; the other is to estimate the user's position based on the wireless signal information measured by the user's mobile terminal.
[0004] However, in the existing implementation of wireless signal modeling, the crowdsourced data (including the absolute position of the location point and the wireless signal information) collected by the terminal device in the indoor place is used as the training input, and the wireless signal model is obtained through a large amount of data training. However, the crowdsourced data includes the absolute position of the location point, and the propagation model of each wireless signal source is fitted by the absolute position of the location point. However, due to the accuracy limitation of the sensor carried by the terminal device, the absolute position obtained is not very accurate, which affects the positioning accuracy of the established model. Summary of the invention
[0005] In a first aspect, the present application provides a data processing method, the method comprising:
[0006] Acquire multiple crowdsourced data, each of which includes first location information of a terminal at a location point and received wireless signal information, wherein the location point is within a preset area, and the first location information is used to indicate a relative position between the location point and the preset location point;
[0007] In order to model the wireless signal for a certain indoor area (referred to as a preset area in this embodiment), the server may receive crowdsourced data sent by the terminal device and collected by the terminal device in the preset area. Specifically, the crowdsourced data may be data collected by the same terminal device at different times, or the crowdsourced data may be data collected by different terminal devices at the same or different times.
[0008] The terminal device can move along a certain terminal motion trajectory, which includes multiple position points. The terminal device can collect the first position information and wireless signal information of each position point, wherein the first position information is obtained based on the data collected by the inertial measurement unit (IMU). Specifically, the data collected by the IMU can be processed (such as double integral processing, processing based on a deep learning model, etc.) to obtain the user's continuous running trajectory, and the first position information is the position of the first position point on the continuous running trajectory relative to the preset position. The first position information can also be obtained through the visual-inertial odometry (VIO) integrated on the terminal device side.
[0009] The preset position point may be the starting point of the terminal motion trajectory, or a position point at the previous moment in the terminal motion trajectory, or a position point at a non-adjacent moment in the terminal motion trajectory, and the present application does not limit this. For example, the terminal motion trajectory may include position point A, position point B, and position point C, where position point A, position point B, and position point C are position points at consecutively adjacent moments, position point B is a position point at the previous moment in the terminal motion trajectory, and position point A is a position point at a non-adjacent moment before position point C.
[0010] The wireless signal information can be obtained through the existing wireless signal chip and its system layer data measurement port on the terminal device side, for example, data from a WiFi access point, a Bluetooth beacon, or a mobile base station can be obtained. In this embodiment, the wireless signal information can also be referred to as access point parameter information, which specifically refers to the identification of each wireless signal source detected by the terminal device at a certain location point, and the characteristic parameters of the signal of each wireless signal source.
[0011] According to the plurality of crowdsourced data, a plurality of first similarities and a second similarity corresponding to each first similarity are obtained, wherein each first similarity is used to represent the signal similarity between the wireless signal information included in each two crowdsourced data, and each second similarity is used to represent the position similarity between the first position information included in each two crowdsourced data;
[0012] The server can combine crowdsourced data from the same terminal motion trajectory in pairs to construct multiple position-signal pairs, and calculate the position similarity between the first position information included in each position-signal pair and the signal similarity between the wireless signal information.
[0013] Determine a target mapping relationship according to the multiple first similarities and the second similarity corresponding to each first similarity, the target mapping relationship including a mapping relationship between position similarities between the first position information and signal similarities between the received wireless signal information when the terminal is at different positions, and an uncertainty of the mapping relationship;
[0014] The multiple first similarities may be distributed in M similarity intervals, each similarity interval includes multiple first similarities, and the second similarities corresponding to the multiple first similarities in each similarity interval satisfy the Rayleigh distribution, and the server may obtain the Rayleigh distribution parameters of the Rayleigh distribution satisfied by the second similarities corresponding to the multiple first similarities in each similarity interval in the M similarity intervals, and the Rayleigh distribution parameters are used to represent the maximum likelihood estimation (maximum likelihood estimation, MLE) results of the second similarities corresponding to the multiple first similarities in the similarity interval, and determine the target mapping relationship through continuous function estimation according to the M Rayleigh distribution parameters. Among them, the uncertainty may represent the weight of the position similarity between the first position information of the two position points determined in the constraint. Among them, the constraint may be used for subsequent trajectory fusion, and the constraint may be used to represent the distance constraint between the position similarities between the two position points when determining the similarity of the wireless signal information of the two position points. Specifically, the position transformation relationship between the multiple trajectories may be calculated through nonlinear optimization, so that the loss function value of the constraint (including the position similarity determined based on the target mapping relationship) is minimized, thereby achieving trajectory fusion. Exemplarily, trajectory A includes position point A, and trajectory B includes position point B. Based on the similarity between the wireless signal information of position point A and the wireless signal information of position point B, the position similarity between position A and position B can be determined through the target mapping relationship. If the uncertainty corresponding to the position similarity is large, the weight of the position constraint corresponding to the position similarity when performing trajectory fusion is large. If the uncertainty corresponding to the position similarity is small, the weight of the position constraint corresponding to the position similarity when performing trajectory fusion is small. Acquire multiple preset trajectories within the preset area, and perform trajectory fusion on the multiple preset trajectories with the target mapping relationship as a constraint to obtain a trajectory fusion result, wherein the trajectory fusion result includes the second position information and wireless signal information of the multiple position points within the preset area, and the second position information is used to represent the absolute position of the position point within the preset area.
[0015] Trajectory fusion is the process of unifying and aligning the preset trajectories from multiple different coordinate systems, where the preset trajectory is the object of trajectory fusion, and the preset trajectory is the trajectory expressed in each local coordinate system. In this embodiment, the preset trajectory is also referred to as a relative trajectory or a preset motion trajectory or a preset motion trajectory. The trajectory fusion solution based on wireless signals constructs multiple types of geometric constraints between multiple trajectories on the basis of geometric constraint modeling, where the geometric constraints can include target mapping relationships and relative position constraints.
[0016] When performing trajectory fusion, the server can calculate the position transformation relationship between multiple trajectories through nonlinear optimization to minimize the loss function value of a given constraint (including a target mapping relationship and, optionally, a relative position constraint), thereby achieving trajectory fusion.
[0017] The absolute position can also be called the global position, that is, the specific position of the location point on the physical plane. Based on the absolute position, it can be determined at which point in the preset area the terminal device is located.
[0018] When the user's terminal device collects a group of wireless signals within a preset area, it can match it with the various wireless signal information in the trajectory fusion result (for example, matching based on the k-nearest neighbor algorithm) to calculate the location of the terminal device (second location information). The above positioning process can be implemented in a terminal device on the end side or a server on the cloud side. When implemented in a terminal device on the end side, the terminal device can obtain the first wireless signal information within the preset area, and determine the location information of the terminal device based on the first wireless signal information and the trajectory fusion result. When implemented in a server on the cloud side, the server can obtain the first wireless signal information within the preset area sent by the terminal device and collected by the terminal device, and determine the location information of the terminal device based on the first wireless signal information and the trajectory fusion result.
[0019] Through the above method, by combining the crowdsourcing data to construct a relative position-signal pair, and building geometric constraints from the relative position information and the wireless signal information (that is, the target mapping relationship in this embodiment), it is possible to determine the wireless signal model based on the crowdsourcing data without relying on the absolute position information (that is, the trajectory fusion result in this embodiment), thereby improving the positioning accuracy of the wireless signal model.
[0020] In a possible implementation, the plurality of crowdsourced data are data of position points on the same terminal motion trajectory. The plurality of crowdsourced data are data of position points on the same terminal motion trajectory, that is, the first position information included in each of the plurality of crowdsourced data is the relative position of each position point on the same motion trajectory relative to the preset position point.
[0021] In a possible implementation, the multiple first similarities are distributed in M similarity intervals, each similarity interval includes multiple first similarities, and the second similarities corresponding to the multiple first similarities in each similarity interval satisfy the Rayleigh distribution, and the target mapping relationship is determined according to the multiple first similarities and the second similarities corresponding to each first similarity, including: obtaining the Rayleigh distribution parameters of the Rayleigh distribution satisfied by the second similarities corresponding to the multiple first similarities in each similarity interval in the M similarity intervals, and the Rayleigh distribution parameters are used to represent the maximum likelihood estimation result of the second similarities corresponding to the multiple first similarities in the similarity interval; the server can divide it into several similarity intervals according to the range of similarity values, and classify the distance and similarity calculated for the position-signal pairs falling in the corresponding similarity interval into the corresponding interval. According to the distance (first similarity) falling into each similarity interval, it can be assumed to be a distribution, which can be used to fit these distance distributions as Rayleigh distribution (such as Figure 6 As shown in Figure 2 ). Under the assumption of Rayleigh distribution, the maximum likelihood estimation (MLE) can be used to calculate the parameters of the Rayleigh distribution according to the distance in the similarity interval.
[0022] The target mapping relationship is determined by continuous function estimation based on M Rayleigh distribution parameters.
[0023] The so-called continuous function estimation refers to determining a continuous function mapping relationship from the originally discrete data correspondence relationship, and the function mapping relationship can fit the originally discrete data correspondence relationship.
[0024] This embodiment assumes that the distance distribution in the similarity interval is Rayleigh distribution and estimates its distribution parameters, thereby achieving estimation from wireless signal similarity to distance similarity and its uncertainty.
[0025] In a possible implementation, the Rayleigh distribution parameter is obtained based on the following formula:
[0026]
[0027] Among them, the represents the Rayleigh distribution parameter, the d i represents the second similarity, and n represents the number of first similarities included in each similarity interval.
[0028] In a possible implementation, the target mapping relationship is determined by continuous function estimation based on M Rayleigh distribution parameters, including: determining the estimated geometric distance within the similarity interval corresponding to each Rayleigh distribution parameter based on the M Rayleigh distribution parameters; determining the target mapping relationship by continuous function estimation based on the M estimated geometric distances and the similarity interval corresponding to each estimated geometric distance.
[0029] In a possible implementation, the wireless signal information includes an identifier of a wireless signal source that transmits a wireless signal and signal strength information of the wireless signal, and the second similarity includes the similarity between the identifiers of the wireless signal sources that transmit the wireless signal and the similarity between the signal strength information of the wireless signal. The wireless signal information can be obtained through the existing wireless signal chip on the terminal device side and its system layer data measurement port, for example, data from a WiFi access point, a Bluetooth beacon or a mobile base station can be obtained. In this embodiment, the wireless signal information can also be referred to as access point parameter information, which can specifically refer to the identifiers of each wireless signal source detected by the terminal device at a certain location point, and the characteristic parameters of the signal of each wireless signal source. For example, the wireless signal source can be an access point (AP) in a wireless local area network (WLAN), the wireless signal source identifier can be a media access control (MAC) address of the AP, and the characteristic parameter of the signal of the wireless signal source can be a received signal strength indication (RSSI). Among them, the wireless signal source can include but is not limited to access points (AP), Bluetooth signal sources and other short-range wireless communication signal sources. AP may specifically refer to a wireless router, a mobile phone hotspot, etc., which is not limited in the embodiments of the present application. Each AP has a unique WiFi identifier, which may be a service set identifier (SSID) or a WiFi name. The WiFi identifier may also include the MAC address of the AP, RSSI, etc.
[0030] In a possible implementation, the second similarity is obtained based on the following formula:
[0031]
[0032] Wherein, β is the weighted value of the preset value, and the g1(O i ,O j ) is used to indicate the similarity between the identifiers of the wireless signal sources transmitting the wireless signals, and the g2(O i ,Oj ) is used to represent the similarity between the signal strength information of the wireless signals. The server can calculate the signal similarity between the wireless signal information based on the measurability of the wireless signal and its signal strength information. For example, the wireless signal O can be represented by a unique identifier of a measurable signal (such as a Media Access Control, MAC address) and a signal strength, that is, Where |O| represents the number of signal sources included in the wireless signal measurement. The unique identifier of all measurable wireless signals included in the wireless signal O is represented by A. When calculating the similarity of wireless signal information, the measurability of the wireless signal and its signal strength information can be jointly considered.
[0033] In a possible implementation, the method further includes:
[0034] Acquire first wireless signal information of the terminal device in the preset area;
[0035] The location information of the terminal device is determined according to the first wireless signal information and the trajectory fusion result; wherein the first wireless signal information has the highest similarity with the target wireless signal information in the trajectory fusion result, and in the trajectory fusion result, the target wireless signal information corresponds to the location information of the terminal device.
[0036] The trajectory fusion result can be used to locate the terminal device. The server can obtain the first wireless signal information of the terminal device in the preset area, and determine the location information of the terminal device based on the first wireless signal information and the trajectory fusion result; wherein the first wireless signal information has the highest similarity with the target wireless signal information in the trajectory fusion result, and in the trajectory fusion result, the target wireless signal information corresponds to the location information of the terminal device.
[0037] Specifically, when the user's terminal device collects a group of wireless signals within a preset area, it can match them with the various wireless signal information in the trajectory fusion result (for example, matching based on the k-nearest neighbor algorithm) to calculate the location of the terminal device (second location information). The above positioning process can be implemented in a terminal device on the end side or a server on the cloud side. When implemented in a terminal device on the end side, the terminal device can obtain the first wireless signal information within the preset area, and determine the location information of the terminal device based on the first wireless signal information and the trajectory fusion result. When implemented in a server on the cloud side, the server can obtain the first wireless signal information within the preset area sent by the terminal device and collected by the terminal device, and determine the location information of the terminal device based on the first wireless signal information and the trajectory fusion result.
[0038] In a second aspect, the present application provides a data processing device, the device comprising:
[0039] An acquisition module, used to acquire a plurality of crowdsourced data, each of which includes first location information of a terminal at a location point and received wireless signal information, wherein the location point is within a preset area, and the first location information is used to indicate a relative position between the location point and a preset location point;
[0040] A similarity determination module, configured to obtain, based on the plurality of crowdsourced data, a plurality of first similarities and a second similarity corresponding to each first similarity, wherein each first similarity is used to represent the signal similarity between the wireless signal information included in each two crowdsourced data, and each second similarity is used to represent the position similarity between the first position information included in each two crowdsourced data;
[0041] A mapping relationship determination module, configured to determine a target mapping relationship according to the multiple first similarities and a second similarity corresponding to each first similarity, wherein the target mapping relationship includes a mapping relationship between position similarities between the first position information and signal similarities between the received wireless signal information when the terminal is at different positions, and an uncertainty of the mapping relationship;
[0042] A trajectory fusion module is used to obtain multiple preset trajectories within the preset area, and to fuse the multiple preset trajectories based on the target mapping relationship as a constraint to obtain a trajectory fusion result, wherein the trajectory fusion result includes second position information of multiple position points within the preset area and wireless signal information, and the second position information is used to indicate the absolute position of the position point within the preset area.
[0043] In a possible implementation, the plurality of crowdsourced data are data of location points on the same terminal motion trajectory.
[0044] In a possible implementation, the multiple first similarities are distributed in M similarity intervals, each similarity interval includes multiple first similarities, and the second similarities corresponding to the multiple first similarities in each similarity interval satisfy Rayleigh distribution, and the mapping relationship determination module is used to:
[0045] Obtaining Rayleigh distribution parameters of a Rayleigh distribution satisfied by the second similarities corresponding to the multiple first similarities in each of the M similarity intervals, wherein the Rayleigh distribution parameters are used to represent a maximum likelihood estimation result of the second similarities corresponding to the multiple first similarities in the similarity interval;
[0046] The target mapping relationship is determined by continuous function estimation based on M Rayleigh distribution parameters.
[0047] In a possible implementation, the Rayleigh distribution parameter is obtained based on the following formula:
[0048]
[0049] Among them, the represents the Rayleigh distribution parameter, the d i represents the second similarity, and n represents the number of first similarities included in each similarity interval.
[0050] In a possible implementation, the mapping relationship determination module is used to:
[0051] According to the M Rayleigh distribution parameters, determining an estimated geometric distance within a similarity interval corresponding to each Rayleigh distribution parameter;
[0052] The target mapping relationship is determined through continuous function estimation according to the M estimated geometric distances and the similarity interval corresponding to each estimated geometric distance.
[0053] In a possible implementation, the wireless signal information includes an identifier of a wireless signal source that transmits wireless signals and signal strength information of wireless signals, and the second similarity includes the similarity between the identifiers of the wireless signal sources that transmit wireless signals and the similarity between the signal strength information of the wireless signals.
[0054] In a possible implementation, the second similarity is obtained based on the following formula:
[0055]
[0056] Wherein, β is the weighted value of the preset value, and the g1(O i ,O j ) is used to indicate the similarity between the identifiers of the wireless signal sources transmitting the wireless signals, and the g2(O i ,O j ) is used to indicate the similarity between the signal strength information of the wireless signals.
[0057] In a possible implementation, the device further includes:
[0058] A positioning module, used to obtain first wireless signal information of the terminal device in the preset area;
[0059] The location information of the terminal device is determined according to the first wireless signal information and the trajectory fusion result; wherein the first wireless signal information has the highest similarity with the target wireless signal information in the trajectory fusion result, and in the trajectory fusion result, the target wireless signal information corresponds to the location information of the terminal device.
[0060] In a third aspect, an embodiment of the present application provides a data processing device, which may include a memory, a processor, and a bus system, wherein the memory is used to store programs, and the processor is used to execute the programs in the memory to perform the first aspect and any optional method thereof.
[0061] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the above-mentioned first aspect and any optional method thereof.
[0062] In a fifth aspect, an embodiment of the present application provides a computer program, wherein the computer program product includes codes, and when the codes are executed, the above-mentioned first aspect and any optional method thereof are implemented.
[0063] In a sixth aspect, the present application provides a chip system, which includes a processor for supporting an execution device or a training device to implement the functions involved in the above aspects, such as sending or processing the data involved in the above methods; or, information. In one possible design, the chip system also includes a memory, which is used to store program instructions and data necessary for the execution device or the training device. The chip system can be composed of chips, or it can include chips and other discrete devices.
[0064] The embodiment of the present application provides a data processing method, the method comprising: obtaining a plurality of crowdsourced data, each of which comprises first location information of a terminal at a location point and received wireless signal information, wherein the location point is within a preset area, and the first location information is used to indicate the relative position between the location point and the preset location point; according to the plurality of crowdsourced data, obtaining a plurality of first similarities and a second similarity corresponding to each first similarity, wherein each first similarity is used to indicate the signal similarity between the wireless signal information included in each two crowdsourced data, and each second similarity is used to indicate the position similarity between the first location information included in each two crowdsourced data; according to the plurality of The first similarity and the second similarity corresponding to each first similarity are used to determine the target mapping relationship, wherein the target mapping relationship includes the mapping relationship between the position similarity between the first position information and the signal similarity between the received wireless signal information when the terminal is at different positions, and the uncertainty of the mapping relationship; multiple preset trajectories within the preset area are obtained, and the multiple preset trajectories are subjected to trajectory fusion with the target mapping relationship as a constraint to obtain a trajectory fusion result, wherein the trajectory fusion result includes the second position information and wireless signal information of multiple position points within the preset area, and the second position information is used to represent the absolute position of the position point within the preset area. In the above manner, by combining crowdsourcing data to construct relative position-signal pairs, geometric constraints (that is, the target mapping relationship in this embodiment) are constructed from relative position information and wireless signal information, so that the wireless signal model (that is, the trajectory fusion result in this embodiment) can be determined based on crowdsourcing data without relying on absolute position information, thereby improving the positioning accuracy of the wireless signal model. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 A schematic diagram of the structure of a server provided in an embodiment of the present application;
[0066] Figure 2 An example of an application architecture provided in an embodiment of the present application;
[0067] Figure 3 A flowchart of a data processing method provided in an embodiment of the present application;
[0068] Figure 4 A schematic diagram of a terminal motion trajectory provided in an embodiment of the present application;
[0069] Figure 5 A similarity distribution diagram provided in an embodiment of the present application;
[0070] Figure 6 A schematic diagram of location similarity distribution provided in an embodiment of the present application;
[0071] Figure 7 A schematic diagram of the fitting between the wireless signal similarity and the distance estimation provided in an embodiment of the present application;
[0072] Figure 8 A schematic diagram of the fitting between the wireless signal similarity and the distance estimation provided in an embodiment of the present application;
[0073] Fig. 9 A schematic diagram of trajectory fusion provided in an embodiment of the present application;
[0074] Fig.10 A schematic diagram of trajectory fusion provided in an embodiment of the present application;
[0075] Fig.11 A schematic diagram of a software architecture provided for an embodiment of the present application;
[0076] Fig.12 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application;
[0077] Fig.13 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application;
[0078] Fig.14 A schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0079] The embodiments of the present invention are described below in conjunction with the accompanying drawings in the embodiments of the present invention. The terms used in the implementation mode of the present invention are only used to explain the specific embodiments of the present invention, and are not intended to limit the present invention.
[0080] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0081] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0082] The method in the embodiment of the present application is applied in one or more data processing devices, which may be terminals or servers, and the process of acquiring data, data training and data fusion judgment is implemented through software and / or hardware. Figure 1 , is a schematic diagram of a server structure provided in an embodiment of the present application. The steps performed by the server in the embodiment of the present application can be based on the Figure 1 The server structure shown.
[0083] The server 100 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 122 (e.g., one or more processors) and memory 132, and one or more storage media 130 (e.g., one or more mass storage devices) storing application programs 142 or data 144. Among them, the memory 132 and the storage medium 130 may be temporary storage or permanent storage. The program stored in the storage medium 130 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 122 may be configured to communicate with the storage medium 130 and execute a series of instruction operations in the storage medium 130 on the server 100.
[0084] The server 100 may also include one or more power supplies 126, one or more wired or wireless network interfaces 150, one or more input and output interfaces 158, and / or one or more operating systems 141, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0085] In the embodiment of the present application, the CPU 122 may obtain the code in the storage medium 130 to execute the data processing method provided in the embodiment of the present application.
[0086] First, some concepts involved in the embodiments of the present application are introduced.
[0087] (1) Crowdsourced data refers to available data such as sensor signals, radio frequency signals, and network signals from users’ smart terminals that are collected through certain trigger mechanisms without the users’ awareness.
[0088] (2) Access point parameter information refers to the identification of each wireless signal source detected by the electronic device at a certain geographical location, and the characteristic parameters of the signal of each wireless signal source. For example, the wireless signal source may be an access point (AP) in a wireless local area network (WLAN), the wireless signal source identification may be the media access control (MAC) address of the AP, and the characteristic parameter of the signal of the wireless signal source may be a received signal strength indication (RSSI).
[0089] (3) A wireless signal source may be an access point (AP), a Bluetooth signal source, or other short-range wireless communication signal source. AP may specifically refer to a wireless router, a mobile phone hotspot, etc., which is not limited in the embodiments of the present application. Each AP has a unique WiFi identifier, which may be a service set identifier (SSID) or a WiFi name. The WiFi identifier may also include the AP's MAC address, RSSI, etc.
[0090] Figure 2 The schematic diagram of an indoor positioning scenario architecture includes a terminal device 100 and a server 200 located in an indoor space, and multiple wireless signal sources (such as AP1 / AP2 / AP3 / AP4) located at different floors in the indoor space. The terminal device 100 and the server 200 can communicate with each other through a communication network. Schematically, Figure 2 The indoor space in is a building, and AP1 / AP2 / AP3 / AP4 are located on different floors. The server 200 can be a server, or a server cluster composed of several servers, or a cloud server.
[0091] The communication network may be a local area network, or a wide area network transferred through a relay device, or may include a local area network and a wide area network. When the communication network is a local area network, exemplarily, the communication network may be a short-distance communication network such as a WiFi hotspot network, a WiFi P2P network, a Bluetooth network, a Zigbee network, or a near field communication (NFC) network. When the communication network is a wide area network, exemplarily, the communication network may be a third-generation wireless telephone technology (3G) network, a fourth-generation mobile communication technology (4G) network, a fifth-generation mobile communication technology (5G) network, a future-evolved public land mobile network (PLMN) or the Internet, etc.
[0092] Reference Figure 3 , Figure 3 The embodiment of a data processing method provided in the embodiment of the present application is illustrated. The data processing method provided in the embodiment of the present application can be applied on a server or a terminal device, such as Figure 3 As shown, a data processing method provided by an embodiment of the present application includes:
[0093] 301. Acquire multiple crowdsourced data, each crowdsourced data includes first location information of a terminal at a location point and received wireless signal information, wherein the location point is within a preset area, and the first location information is used to indicate a relative position between the location point and a preset location point.
[0094] In the embodiment of the present application, in order to model the wireless signal for a certain indoor area (referred to as a preset area in this embodiment), the server can receive crowdsourced data sent by the terminal device and collected by the terminal device in the preset area. Specifically, the crowdsourced data can be data collected by the same terminal device at different times, or the crowdsourced data can be data collected by different terminal devices at the same or different times.
[0095] In an embodiment of the present application, the terminal device can move along a certain motion trajectory, which includes multiple position points. The terminal device can collect first position information and wireless signal information of each position point, wherein the first position information is obtained based on data collected by an inertial measurement unit (IMU). Specifically, the data collected by the IMU can be processed (such as double integral processing, processing based on a deep learning model, etc.) to obtain the user's continuous running trajectory, and the first position information is the position of the first position point on the continuous running trajectory relative to a preset position. The first position information can also be obtained through a visual-inertial odometry (VIO) integrated on the terminal device side.
[0096] In an embodiment of the present application, the first position information is used to indicate the relative position between the position point and the preset position point, and the multiple crowdsourced data are data of the position points on the same terminal motion trajectory, that is, the first position information included in each crowdsourced data in the multiple crowdsourced data is the relative position of each position point on the same running trajectory relative to the preset position point. Among them, the preset position point can be the starting point of the terminal motion trajectory, or the position point of the previous moment adjacent to the terminal motion trajectory, or the position point of the previous moment of the non-adjacent moment in the terminal motion trajectory, which is not limited by the present application. For example, the terminal motion trajectory may include position point A, position point B, and position point C, where position point A, position point B, and position point C are position points of consecutively adjacent moments, position point B is the position point of the previous moment adjacent to position point C, and position point A is the position point of the non-adjacent moment before position point C, which is not limited by the present application.
[0097] It should be understood that the first position information may be represented in two dimensions (xy coordinates) or three dimensions (xyz coordinates), and this application does not limit this.
[0098] It should be understood that the server can also obtain crowdsourced data of other terminal motion trajectories of the terminal device.
[0099] In the embodiment of the present application, the wireless signal information can be obtained through the existing wireless signal chip and its system layer data measurement port on the terminal device side, for example, data from a WiFi access point, a Bluetooth beacon or a mobile base station can be obtained. In the present embodiment, the wireless signal information can also be referred to as access point parameter information, which can specifically refer to the identification of each wireless signal source detected by the terminal device at a certain location point, and the characteristic parameters of the signal of each wireless signal source. For example, the wireless signal source can be an access point (AP) in a wireless local area network (WLAN), the wireless signal source identification can be the media access control (MAC) address of the AP, and the characteristic parameter of the signal of the wireless signal source can be a received signal strength indication (RSSI). Among them, the wireless signal source can include but is not limited to a short-range wireless communication signal source such as an access point (AP) and a Bluetooth signal source. AP can specifically refer to a wireless router, a mobile phone hotspot, etc., which is not limited in the embodiment of the present application. Each AP has a unique WiFi identifier, and the WiFi identifier can be a service set identifier (SSID) or a WiFi name. Among them, the WiFi identifier can also include the MAC address of the AP, RSSI, etc.
[0100] Since the first position information and the wireless signal information are collected by different sensors, the sensors do not achieve synchronous measurement. Therefore, the wireless signal information can be aligned to the corresponding first position information. This process can be completed by interpolating the relative position.
[0101] Then, the server can obtain the relative position (first position information) and wireless signal information between each position point in a terminal motion track from the same terminal, that is, Among them, p i Indicates the first position information, O i Indicates wireless signal information. Similarly, the server can obtain crowdsourced data of multiple terminal movement trajectories.
[0102] like Figure 4 As shown, a terminal motion trajectory may include multiple position points, at some of the position points (in Figure 4 , wherein the first position information of a part of the position points can be determined based on the data acquired by the sensor, and the first position information of a part of the position points can be determined based on the interpolation method, such as Figure 4 As shown, wireless signal information can also be obtained (the corresponding wireless signal source is in Figure 4 Indicated by square symbols), for example Figure 4 5 crowdsourced data can be obtained.
[0103] 302. According to the multiple crowdsourced data, obtain multiple first similarities and a second similarity corresponding to each first similarity, wherein each first similarity is used to represent the signal similarity between the wireless signal information included in each two crowdsourced data, and each second similarity is used to represent the position similarity between the first position information included in each two crowdsourced data.
[0104] In an embodiment of the present application, after the server obtains multiple crowdsourced data, it can obtain multiple first similarities and second similarities corresponding to each first similarity based on the multiple crowdsourced data, wherein each first similarity is used to represent the signal similarity between the wireless signal information included in each two crowdsourced data, and each second similarity is used to represent the position similarity between the first position information included in each two crowdsourced data.
[0105] Specifically, in an embodiment of the present application, the server can combine crowdsourced data from the same terminal motion trajectory in pairs to construct multiple position-signal pairs, and calculate the position similarity between the first position information included in each position-signal pair and the signal similarity between the wireless signal information.
[0106] Next, we first describe how the server combines crowdsourced data from the same terminal motion trajectory in pairs to construct multiple position-signal pairs:
[0107] In the embodiment of the present application, the server may process multiple crowdsourced data (for example, To represent it) combine them in pairs (N crowdsourcing data can constitute N(N-1) / 2 at most) to construct multiple position-signal pairs [(p i ,O i ),p j ,O j )].For example, Figure 4 There are 5 crowdsourced data in the terminal motion trajectory shown, which can be combined in pairs to form 10 position-signal pairs.
[0108] Similarly, the server can perform pairwise combinations of crowdsourced data on each terminal motion trajectory. For example, crowdsourced data of K terminal motion trajectories can be collected from various terminals of multiple users, and the crowdsourced data of each terminal motion trajectory can be combined in pairs to obtain M·K position-signal pairs. These position-signal pairs constitute the samples required for geometric constraint modeling, so that geometric constraints can be estimated without relying on absolute position information.
[0109] Next, we first describe how the server calculates the position similarity between the first position information included in each position-signal pair and the signal similarity between the wireless signal information:
[0110] In an embodiment of the present application, the wireless signal information may include an identifier of a wireless signal source that transmits a wireless signal and signal strength information of the wireless signal. Accordingly, the second similarity includes the similarity between the identifiers of the wireless signal source that transmits the wireless signal and the similarity between the signal strength information of the wireless signal.
[0111] In one implementation, the second similarity may be obtained based on the following formula:
[0112]
[0113] Wherein, β is the weighted value of the preset value, and the g1(O i ,O j ) is used to indicate the similarity between the identifiers of the wireless signal sources transmitting the wireless signals, and the g2(O i ,O j ) is used to indicate the similarity between the signal strength information of the wireless signals.
[0114] Specifically, the server can calculate the signal similarity between the wireless signal information based on the measurability of the wireless signal and its signal strength information. For example, the wireless signal O can be represented by a unique identifier of a measurable signal (such as a Media Access Control, MAC address) and a signal strength, that is, Where |O| represents the number of signal sources included in the wireless signal measurement. The unique identifier of all measurable wireless signals contained in the wireless signal O is represented by A. When calculating the similarity of wireless signal information, the measurability of the wireless signal and its signal strength information can be considered jointly. One way to achieve this similarity calculation is to perform a geometric average of the measurability and signal strength information similarity, that is:
[0115]
[0116] Where β is a weighting factor used to balance the contribution of signal measurability and signal strength information to similarity. i O j ) is used to represent the contribution of signal measurability to similarity and can be calculated as follows:
[0117]
[0118] In the above formula, the numerator represents the number of signal sources measured by the two sets of wireless signal information in the position-signal pair, and the numerator represents the number of signal sources measured by the two sets of wireless signal information in total. i ,O j ) is used to represent the similarity between the signal strength information of the measurable signals and can be calculated by the following formula:
[0119]
[0120] In the embodiment of the present application, the position similarity between the first position information included in each position-signal pair can be defined as the Euclidean distance of the two-dimensional or three-dimensional coordinates between the physical positions, which can be specifically shown in the following formula (taking two-dimensional coordinates as an example):
[0121]
[0122] At this time, for every two crowdsourced data, a first similarity and a second similarity can be obtained, and a set of similarities (including a first similarity and a second similarity) can be used as a coordinate point on a two-dimensional coordinate system to obtain a similarity distribution composed of coordinate points. Figure 5 As shown, Figure 5 is a schematic diagram of similarity distribution, where the numerical range of the first similarity is [0, 1]. Qualitatively, when the first similarity is closer to 0, the distance between the wireless signals is farther, the geometric constraint is weaker, the relative distance is larger, and the second similarity is smaller; and when the first similarity is closer to 1, the distance between the wireless signals is closer, the geometric constraint is stronger, the relative distance is smaller, and the second similarity is larger. Among them, as the first similarity increases, the size of the second similarity becomes smaller (the second similarity represents the similarity between positions, and the greater the position similarity, the smaller the relative position distance).
[0123] 303. Determine a target mapping relationship based on the multiple first similarities and the second similarities corresponding to each first similarity, wherein the target mapping relationship includes a mapping relationship between position similarities between the first position information and signal similarities between the received wireless signal information when the terminal is at different positions, and an uncertainty of the mapping relationship.
[0124] In an embodiment of the present application, after obtaining multiple first similarities and the second similarities corresponding to each first similarity based on the multiple crowdsourcing data, a target mapping relationship can be determined based on the multiple first similarities and the second similarities corresponding to each first similarity. The target mapping relationship includes a mapping relationship between position similarities between the first position information and signal similarities between the received wireless signal information when the terminal is at different positions, as well as the uncertainty of the mapping relationship.
[0125] Specifically, in this embodiment, the multiple first similarities can be distributed in M similarity intervals, each similarity interval includes multiple first similarities, and the second similarities corresponding to the multiple first similarities in each similarity interval satisfy the Rayleigh distribution. The server can obtain the Rayleigh distribution parameters of the Rayleigh distribution satisfied by the second similarities corresponding to the multiple first similarities in each similarity interval of the M similarity intervals. The Rayleigh distribution parameters are used to represent the maximum likelihood estimation results of the second similarities corresponding to the multiple first similarities in the similarity interval, and determine the target mapping relationship through continuous function estimation based on the M Rayleigh distribution parameters.
[0126] In one implementation, the Rayleigh distribution parameter may be obtained based on the following formula:
[0127]
[0128] Among them, the represents the Rayleigh distribution parameter, the d i represents the second similarity, and n represents the number of first similarities included in each similarity interval.
[0129] The server may determine the estimated geometric distance within the similarity interval corresponding to each Rayleigh distribution parameter based on the M Rayleigh distribution parameters, and determine the target mapping relationship through continuous function estimation based on the M estimated geometric distances and the similarity interval corresponding to each estimated geometric distance.
[0130] In the embodiment of the present application, the server may divide the similarity into several similarity intervals according to the range of similarity values, and classify the distances and similarities calculated for the position-signal pairs falling in the corresponding similarity intervals into the corresponding intervals. According to the distances falling in each similarity interval (first similarity), it may be assumed to be a distribution, which can be used to fit these distance distributions to a Rayleigh distribution (such as Figure 6 As shown in Figure 2). Under the assumption of Rayleigh distribution, the maximum likelihood estimation (MLE) can be used to calculate the parameter σ of the Rayleigh distribution according to the distance in the similarity interval:
[0131]
[0132] Assume that it falls into the similarity interval g c The distance between n pairs of relative positions in Then the estimated result of MLE is:
[0133]
[0134] According to the characteristics of Rayleigh distribution, the expected geometric distance constraint and uncertainty corresponding to the similarity interval can be calculated from the parameters of Rayleigh distribution:
[0135]
[0136]
[0137] Among them, μ d represents the expected geometric distance constraint, Indicates uncertainty.
[0138] For example, the server can obtain the geometric constraints corresponding to each discrete similarity by dividing the similarity interval and estimating the distribution parameters. In order to estimate the geometric constraints corresponding to any similarity, a continuous function is estimated for the similarity interval and its corresponding distribution parameter value. One estimation method is to assume that the similarity and the distribution parameter value have a logarithmic-linear relationship (e.g. Figure 7 and Figure 8 As shown), that is:
[0139] ln(σ)=f(g(O i ,O j ))=ag(O i ,O j )+b;
[0140] The parameters a and b in the above formula can be obtained by using the existing similarity interval and the corresponding distribution parameter value for least square estimation. After the target mapping relationship shown in the above formula is obtained, the expected geometric distance constraint and uncertainty can be calculated.
[0141] 304. Acquire multiple preset trajectories within the preset area, and perform trajectory fusion on the multiple preset trajectories based on the target mapping relationship as a constraint to obtain a trajectory fusion result, wherein the trajectory fusion result includes second position information and wireless signal information of multiple position points within the preset area, and the second position information is used to indicate the absolute position of the position point within the preset area.
[0142] In an embodiment of the present application, after determining the target mapping relationship based on the multiple first similarities and the second similarities corresponding to each first similarity, multiple preset trajectories within the preset area can be obtained, and the multiple preset trajectories can be trajectory fused with the target mapping relationship as a constraint to obtain a trajectory fusion result.
[0143] In the embodiment of the present application, trajectory fusion is a process of aligning and aligning the preset trajectories from multiple different coordinate systems (for example, Fig. 9 and Fig.10As shown), the preset trajectory is the object of trajectory fusion, and the preset trajectory is the trajectory expressed in the respective local coordinate systems. In this embodiment, the preset trajectory is also referred to as a relative trajectory or a preset motion trajectory or a preset motion trajectory. The trajectory fusion solution based on wireless signals constructs multiple types of geometric constraints between multiple trajectories on the basis of geometric constraint modeling, wherein the geometric constraints may include the target mapping relationship and relative position constraints obtained in step 303.
[0144] Wherein, the target mapping relationship includes the mapping relationship between the position similarity between the first position information and the signal similarity between the received wireless signal information when the terminal is at different positions, and the uncertainty of the mapping relationship. When performing trajectory fusion, the wireless signal information of any two position points in multiple trajectories can be obtained, and the similarity between the wireless signal information can be calculated. The position similarity between the first position information of the two position points and the uncertainty are determined based on the target mapping relationship. The uncertainty can represent the weight of the position similarity between the first position information of the two position points in the constraint. Wherein, the constraint can be used for subsequent trajectory fusion. The constraint can be used to represent the distance constraint between the position similarity between the two position points when the similarity of the wireless signal information of the two position points is determined. Specifically, the position transformation relationship between multiple trajectories can be calculated by nonlinear optimization so that the loss function value of the constraint (including the target mapping relationship, and optionally, the relative position constraint) is minimized, thereby achieving trajectory fusion. Exemplarily, trajectory A includes position point A, and trajectory B includes position point B. Based on the similarity between the wireless signal information of position point A and the wireless signal information of position point B, the position similarity between position A and position B can be determined through the target mapping relationship. If the uncertainty corresponding to the position similarity is large, the weight of the position constraint corresponding to the position similarity when performing trajectory fusion is large. If the uncertainty corresponding to the position similarity is small, the weight of the position constraint corresponding to the position similarity when performing trajectory fusion is small.
[0145] In addition, relative position constraints refer to the distance and direction constraints between adjacent positions obtained by IMU or VIO, and their uncertainty is given by the relative position estimation algorithm of IMU (such as double integration) or VIO algorithm.
[0146] When performing trajectory fusion, the server can calculate the position transformation relationship between multiple trajectories through nonlinear optimization to minimize the loss function value between given constraints, thereby achieving trajectory fusion.
[0147] In an embodiment of the present application, the trajectory fusion result may also be referred to as a wireless signal model, and the trajectory fusion result includes second position information of multiple position points within the preset area and wireless signal information, wherein the second position information is used to indicate the absolute position of the position point within the preset area.
[0148] In an embodiment of the present application, the trajectory fusion result can be used to locate the terminal device. The server can obtain the first wireless signal information of the terminal device in the preset area, and determine the location information of the terminal device based on the first wireless signal information and the trajectory fusion result; wherein the first wireless signal information has the highest similarity with the target wireless signal information in the trajectory fusion result, and in the trajectory fusion result, the target wireless signal information corresponds to the location information of the terminal device.
[0149] Specifically, when the user's terminal device collects a group of wireless signals within a preset area, it can match them with the various wireless signal information in the trajectory fusion result (for example, matching based on the k-nearest neighbor algorithm) to calculate the location of the terminal device (second location information). The above positioning process can be implemented in a terminal device on the end side or a server on the cloud side. If implemented in a terminal device on the end side, the terminal device can obtain the first wireless signal information within the preset area, and determine the location information of the terminal device based on the first wireless signal information and the trajectory fusion result. If implemented in a server on the cloud side, the server can obtain the first wireless signal information within the preset area sent by the terminal device and collected by the terminal device, and determine the second location information of the terminal device based on the first wireless signal information and the trajectory fusion result.
[0150] After completing the positioning of the terminal device (that is, after calculating the second location information of the terminal device), the server may send the second location information of the terminal device to the terminal device so that the terminal device can obtain its own location.
[0151] It should be understood that in one implementation, the server may also directly send the trajectory fusion result to the terminal device, and the terminal device may complete the calculation of the second position information based on the trajectory fusion result, which is not limited in this embodiment.
[0152] It should be understood that the terminal device can also obtain the yaw angle, pitch angle and roll angle of the terminal device, and implement augmented reality (AR) related functions based on the second position information and the yaw angle, pitch angle and roll angle. For example, indoor AR navigation can be performed. AR navigation refers to providing real-time navigation for users based on visual information (such as a camera) obtained from a mobile terminal and combined with position estimation results. In the process of providing indoor AR navigation, position estimation and trajectory optimization are actually required on the terminal side. The position estimation is implemented by indoor positioning, and the position estimation and its uncertainty are provided to constitute a geometric constraint. At the same time, the relative position change position (distance and heading) is obtained through VIO. Under the premise of the above two constraints, the user's trajectory is optimized in real time (such as a nonlinear optimizer). In this process, indoor AR navigation can be achieved without relying on visual positioning.
[0153] The embodiment of the present application provides a data processing method, the method comprising: obtaining a plurality of crowdsourced data, each of which comprises first location information of a terminal at a location point and received wireless signal information, wherein the location point is within a preset area, and the first location information is used to indicate the relative position between the location point and the preset location point; according to the plurality of crowdsourced data, obtaining a plurality of first similarities and a second similarity corresponding to each first similarity, wherein each first similarity is used to indicate the signal similarity between the wireless signal information included in each two crowdsourced data, and each second similarity is used to indicate the position similarity between the first location information included in each two crowdsourced data; according to the plurality of The first similarity and the second similarity corresponding to each first similarity are used to determine the target mapping relationship, wherein the target mapping relationship includes the mapping relationship between the position similarity between the first position information and the signal similarity between the received wireless signal information when the terminal is at different positions, and the uncertainty of the mapping relationship; multiple preset trajectories within the preset area are obtained, and the multiple preset trajectories are subjected to trajectory fusion with the target mapping relationship as a constraint to obtain a trajectory fusion result, wherein the trajectory fusion result includes the second position information and wireless signal information of multiple position points within the preset area, and the second position information is used to represent the absolute position of the position point within the preset area. In the above manner, by combining crowdsourcing data to construct relative position-signal pairs, geometric constraints (that is, the target mapping relationship in this embodiment) are constructed from relative position information and wireless signal information, so that the wireless signal model (that is, the trajectory fusion result in this embodiment) can be determined based on crowdsourcing data without relying on absolute position information, thereby improving the positioning accuracy of the wireless signal model.
[0154] In addition, by assuming that the distance distribution in the similarity interval is Rayleigh distribution and estimating its distribution parameters, the estimation from wireless signal similarity to distance similarity and its uncertainty is achieved.
[0155] Reference Fig.11 , Fig.11 A system architecture diagram is provided for this embodiment. Specifically, the terminal side data can be acquired first. Specifically, data information for estimating the relative position of the user can be acquired from the smart mobile terminal, for example, data collected by sensors such as IMU and visual inertial navigation odometer; and wireless signals existing in space, such as WiFi, Bluetooth, mobile base stations, etc. Then, geometric constraint modeling is performed. Specifically, the mapping relationship between wireless signals and geometric constraints can be adaptively estimated based on the trajectory data (including relative position and wireless signal information) obtained from different terminals; positioning and navigation can be performed afterwards. Specifically, according to the constructed model between wireless signals and geometric constraints, the crowdsourced trajectory is integrated to construct an indoor wireless signal model, and low-cost, highly available indoor positioning services and AR-related functions of wireless signal enhancement are realized.
[0156] Reference Fig.12 , Fig.12 A data processing device 1200 is provided in accordance with an embodiment of the present application. Fig.12 As shown in FIG. 1 , the data processing device 1200 provided by the present application includes:
[0157] An acquisition module 1201 is used to acquire a plurality of crowdsourced data, each of which includes first location information of a terminal at a location point and received wireless signal information, wherein the location point is within a preset area, and the first location information is used to indicate a relative position between the location point and a preset location point;
[0158] The specific description of the acquisition module 1201 can refer to the description of step 301, which will not be repeated here.
[0159] A similarity determination module 1202 is used to obtain multiple first similarities and a second similarity corresponding to each first similarity according to the multiple crowdsourced data, wherein each first similarity is used to represent the signal similarity between the wireless signal information included in each two crowdsourced data, and each second similarity is used to represent the position similarity between the first position information included in each two crowdsourced data;
[0160] The specific description of the similarity determination module 1202 can refer to the description of step 302, which will not be repeated here.
[0161] A mapping relationship determination module 1203 is used to determine a target mapping relationship according to the multiple first similarities and the second similarity corresponding to each first similarity, wherein the target mapping relationship includes a mapping relationship between the position similarity between the first position information and the signal similarity between the received wireless signal information when the terminal is at different positions, and an uncertainty of the mapping relationship;
[0162] The specific description of the mapping relationship determination module 1203 can refer to the description of step 303, which will not be repeated here.
[0163] The trajectory fusion module 1204 is used to obtain multiple preset trajectories within the preset area, and use the target mapping relationship as a constraint to perform trajectory fusion on the multiple preset trajectories to obtain a trajectory fusion result, wherein the trajectory fusion result includes second position information of multiple position points within the preset area and wireless signal information, and the second position information is used to indicate the absolute position of the position point within the preset area.
[0164] The specific description of the trajectory fusion module 1204 can refer to the description of step 304, which will not be repeated here.
[0165] In a possible implementation, the plurality of crowdsourced data are data of location points on the same terminal motion trajectory.
[0166] In a possible implementation, the multiple first similarities are distributed in M similarity intervals, each similarity interval includes multiple first similarities, and the second similarities corresponding to the multiple first similarities in each similarity interval satisfy Rayleigh distribution, and the mapping relationship determination module is used to:
[0167] Obtaining Rayleigh distribution parameters of a Rayleigh distribution satisfied by the second similarities corresponding to the multiple first similarities in each of the M similarity intervals, wherein the Rayleigh distribution parameters are used to represent a maximum likelihood estimation result of the second similarities corresponding to the multiple first similarities in the similarity interval;
[0168] The target mapping relationship is determined by continuous function estimation based on M Rayleigh distribution parameters.
[0169] In a possible implementation, the Rayleigh distribution parameter is obtained based on the following formula:
[0170]
[0171] Among them, the represents the Rayleigh distribution parameter, the d i represents the second similarity, and n represents the number of first similarities included in each similarity interval.
[0172] In a possible implementation, the mapping relationship determination module is used to:
[0173] According to the M Rayleigh distribution parameters, determining an estimated geometric distance within a similarity interval corresponding to each Rayleigh distribution parameter;
[0174] The target mapping relationship is determined through continuous function estimation according to the M estimated geometric distances and the similarity interval corresponding to each estimated geometric distance.
[0175] In a possible implementation, the wireless signal information includes an identifier of a wireless signal source that transmits wireless signals and signal strength information of wireless signals, and the second similarity includes the similarity between the identifiers of the wireless signal sources that transmit wireless signals and the similarity between the signal strength information of the wireless signals.
[0176] In a possible implementation, the second similarity is obtained based on the following formula:
[0177]
[0178] Wherein, β is the weighted value of the preset value, and the g1(O i ,O j ) is used to indicate the similarity between the identifiers of the wireless signal sources transmitting the wireless signals, and the g2(O i ,O j ) is used to indicate the similarity between the signal strength information of the wireless signals.
[0179] In a possible implementation, the device further includes:
[0180] A positioning module, used to obtain first wireless signal information of the terminal device in the preset area;
[0181] The location information of the terminal device is determined according to the first wireless signal information and the trajectory fusion result; wherein the first wireless signal information has the highest similarity with the target wireless signal information in the trajectory fusion result, and in the trajectory fusion result, the target wireless signal information corresponds to the location information of the terminal device.
[0182] The embodiment of the present application provides a data processing device, the device comprising: an acquisition module, used to acquire a plurality of crowdsourced data, each of which includes first location information of a terminal at a location point and received wireless signal information, wherein the location point is within a preset area, and the first location information is used to indicate the relative position between the location point and the preset location point; a similarity determination module, used to acquire a plurality of first similarities and a second similarity corresponding to each first similarity based on the plurality of crowdsourced data, wherein each first similarity is used to indicate the signal similarity between the wireless signal information included in each two crowdsourced data, and each second similarity is used to indicate the position similarity between the first location information included in each two crowdsourced data; a mapping relationship determination module A block is used to determine a target mapping relationship according to the multiple first similarities and the second similarity corresponding to each first similarity, wherein the target mapping relationship includes a mapping relationship between the position similarity between the first position information and the signal similarity between the received wireless signal information when the terminal is at different positions, and the uncertainty of the mapping relationship; a trajectory fusion module is used to obtain multiple preset trajectories within the preset area, and to perform trajectory fusion on the multiple preset trajectories with the target mapping relationship as a constraint to obtain a trajectory fusion result, wherein the trajectory fusion result includes the second position information and wireless signal information of multiple position points within the preset area, and the second position information is used to represent the absolute position of the position point within the preset area. By combining crowdsourcing data to construct a relative position-signal pair, and constructing geometric constraints (that is, the target mapping relationship in this embodiment) from the relative position information and the wireless signal information, it is possible to determine the wireless signal model (that is, the trajectory fusion result in this embodiment) based on crowdsourcing data without relying on the absolute position information, thereby improving the positioning accuracy of the wireless signal model.
[0183] Next, a data processing device provided by an embodiment of the present application is introduced. Fig.13 , Fig.13 A schematic diagram of a data processing device provided in an embodiment of the present application. The data processing device 1300 may be a mobile phone, a tablet, a laptop, a smart wearable device, a server, etc., which are not limited here. The data processing device 1300 may be deployed with Fig.12 The data processing device described in the corresponding embodiment is used to implement Fig.12 The data processing function in the corresponding embodiment. Specifically, the data processing device 1300 includes: a receiver 1301, a transmitter 1302, a processor 1303 and a memory 1304 (wherein the number of the processor 1303 in the execution device 1300 can be one or more, Fig.13In the example of FIG. 1301 , the processor 1303 may include an application processor 13031 and a communication processor 13032. In some embodiments of the present application, the receiver 1301, the transmitter 1302, the processor 1303 and the memory 1304 may be connected via a bus or other means.
[0184] The memory 1304 may include a read-only memory and a random access memory, and provides instructions and data to the processor 1303. A portion of the memory 1304 may also include a non-volatile random access memory (NVRAM). The memory 1304 stores processor and operation instructions, executable modules or data structures, or subsets thereof, or extended sets thereof, wherein the operation instructions may include various operation instructions for implementing various operations.
[0185] The processor 1303 controls the operation of the execution device. In a specific application, the various components of the execution device are coupled together through a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus, and a status signal bus, etc. However, for the sake of clarity, various buses are referred to as bus systems in the figure.
[0186] The method disclosed in the above embodiment of the present application can be applied to the processor 1303, or implemented by the processor 1303. The processor 1303 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 1303. The above processor 1303 can be a general processor, a digital signal processor (digital signal processing, DSP), a microprocessor or a microcontroller, and can further include an application specific integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The processor 1303 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor are combined to execute. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1304, and the processor 1303 reads the information in the memory 1304 and completes the steps of the above method in combination with its hardware.
[0187] The receiver 1301 can be used to receive input digital or character information and generate signal input related to the relevant settings and function control of the execution device. The transmitter 1302 can be used to output digital or character information through the first interface; the transmitter 1302 can also be used to send instructions to the disk group through the first interface to modify the data in the disk group; the transmitter 1302 can also include a display device such as a display screen.
[0188] In one embodiment of the present application, the processor 1303 is configured to execute Figure 3 The data processing method executed by the server in the corresponding embodiment.
[0189] Specifically, the processor 1303 is used to obtain a plurality of crowdsourced data, each of which includes first location information of a terminal at a location point and received wireless signal information, wherein the location point is within a preset area, and the first location information is used to indicate a relative position between the location point and a preset location point;
[0190] According to the plurality of crowdsourced data, a plurality of first similarities and a second similarity corresponding to each first similarity are obtained, wherein each first similarity is used to represent the signal similarity between the wireless signal information included in each two crowdsourced data, and each second similarity is used to represent the position similarity between the first position information included in each two crowdsourced data;
[0191] Determine a target mapping relationship according to the multiple first similarities and the second similarity corresponding to each first similarity, the target mapping relationship including a mapping relationship between position similarities between the first position information and signal similarities between the received wireless signal information when the terminal is at different positions, and an uncertainty of the mapping relationship;
[0192] A plurality of preset trajectories within the preset area are obtained, and the plurality of preset trajectories are subjected to trajectory fusion based on the target mapping relationship as a constraint to obtain a trajectory fusion result, wherein the trajectory fusion result includes second position information of a plurality of position points within the preset area and wireless signal information, and the second position information is used to indicate an absolute position of a position point within the preset area.
[0193] In a possible implementation, the plurality of crowdsourced data are data of location points on the same terminal motion trajectory.
[0194] In a possible implementation, the multiple first similarities are distributed in M similarity intervals, each similarity interval includes multiple first similarities, and the second similarities corresponding to the multiple first similarities in each similarity interval satisfy the Rayleigh distribution. Specifically, the processor 1303 is used to obtain the Rayleigh distribution parameters of the Rayleigh distribution satisfied by the second similarities corresponding to the multiple first similarities in each similarity interval of the M similarity intervals, and the Rayleigh distribution parameters are used to represent the maximum likelihood estimation result of the second similarities corresponding to the multiple first similarities in the similarity interval;
[0195] The target mapping relationship is determined by continuous function estimation based on M Rayleigh distribution parameters.
[0196] In a possible implementation, the Rayleigh distribution parameter is obtained based on the following formula:
[0197]
[0198] Among them, the represents the Rayleigh distribution parameter, the d i represents the second similarity, and n represents the number of first similarities included in each similarity interval.
[0199] In a possible implementation, specifically, the processor 1303 is configured to determine, according to the M Rayleigh distribution parameters, an estimated geometric distance within a similarity interval corresponding to each Rayleigh distribution parameter;
[0200] The target mapping relationship is determined through continuous function estimation according to the M estimated geometric distances and the similarity interval corresponding to each estimated geometric distance.
[0201] In a possible implementation, the wireless signal information includes an identifier of a wireless signal source that transmits wireless signals and signal strength information of wireless signals, and the second similarity includes the similarity between the identifiers of the wireless signal sources that transmit wireless signals and the similarity between the signal strength information of the wireless signals.
[0202] In a possible implementation, the second similarity is obtained based on the following formula:
[0203]
[0204] Wherein, β is the weighted value of the preset value, and the g1(O i ,O j ) is used to indicate the similarity between the identifiers of the wireless signal sources transmitting the wireless signals, and the g2(O i ,O j ) is used to indicate the similarity between the signal strength information of the wireless signals.
[0205] In a possible implementation, specifically, the processor 1303 is configured to obtain first wireless signal information of the terminal device in the preset area;
[0206] The location information of the terminal device is determined according to the first wireless signal information and the trajectory fusion result; wherein the first wireless signal information has the highest similarity with the target wireless signal information in the trajectory fusion result, and in the trajectory fusion result, the target wireless signal information corresponds to the location information of the terminal device.
[0207] An embodiment of the present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the steps executed by the aforementioned data processing device.
[0208] A computer-readable storage medium is also provided in an embodiment of the present application. The computer-readable storage medium stores a program for performing signal processing. When the program is run on a computer, the computer executes the steps executed by the aforementioned data processing device.
[0209] The data processing device provided in the embodiment of the present application may specifically be a chip, and the chip includes: a processing unit and a communication unit, wherein 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, etc. The processing unit may execute the computer execution instructions stored in the storage unit so that the chip in the execution device executes the data processing method described in the above embodiment, or so that the chip in the training device executes the data processing method described in the above embodiment. Optionally, 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 (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.
[0210] For details, please refer to Fig.14 , Fig.14 A schematic diagram of the structure of a chip provided in an embodiment of the present application, the chip can be expressed as a neural network processor NPU 1400, NPU 1400 is mounted on the host CPU (Host CPU) as a coprocessor, and the host CPU assigns tasks. The core part of the NPU is the operation circuit 1403, which is controlled by the controller 1404 to extract matrix data from the memory and perform multiplication operations.
[0211] In some implementations, the operation circuit 1403 includes multiple processing units (Process Engine, PE) inside. In some implementations, the operation circuit 1403 is a two-dimensional systolic array. The operation circuit 1403 can also be a one-dimensional systolic array or other electronic circuits capable of performing mathematical operations such as multiplication and addition. In some implementations, the operation circuit 1403 is a general-purpose matrix processor.
[0212] For example, assume there is an input matrix A, a weight matrix B, and an output matrix C. The operation circuit takes the corresponding data of matrix B from the weight memory 1402 and caches it on each PE in the operation circuit. The operation circuit takes the matrix A data from the input memory 1401 and performs matrix operation with matrix B, and the partial result or final result of the matrix is stored in the accumulator 1408.
[0213] The unified memory 1406 is used to store input data and output data. The weight data is directly transferred to the weight memory 1402 through the direct memory access controller (DMAC) 1405. The input data is also transferred to the unified memory 1406 through the DMAC.
[0214] BIU stands for Bus Interface Unit, i.e., bus interface unit 1414 , which is used for the interaction between AXI bus, DMAC and instruction fetch buffer (IFB) 1409 .
[0215] The bus interface unit 1414 (Bus Interface Unit, BIU for short) is used for the instruction fetch memory 1409 to obtain instructions from the external memory, and is also used for the storage unit access controller 1405 to obtain the original data of the input matrix A or the weight matrix B from the external memory.
[0216] DMAC is mainly used to transfer input data in the external memory DDR to the unified memory 1406 or to transfer weight data to the weight memory 1402 or to transfer input data to the input memory 1401.
[0217] The vector calculation unit 1407 includes multiple operation processing units, and further processes the output of the operation circuit 1403 when necessary, such as vector multiplication, vector addition, exponential operation, logarithmic operation, size comparison, etc. It is mainly used for non-convolutional / fully connected layer network calculations in neural networks, such as Batch Normalization, pixel-level summation, upsampling of feature planes, etc.
[0218] In some implementations, the vector calculation unit 1407 can store the processed output vector to the unified memory 1406. For example, the vector calculation unit 1407 can apply a linear function; or a nonlinear function to the output of the operation circuit 1403, such as linear interpolation of the feature plane extracted by the convolution layer, and then, for example, a vector of accumulated values to generate an activation value. In some implementations, the vector calculation unit 1407 generates a normalized value, a pixel-level summed value, or both. In some implementations, the processed output vector can be used as an activation input to the operation circuit 1403, for example, for use in a subsequent layer in a neural network.
[0219] An instruction fetch buffer 1409 connected to the controller 1404 is used to store instructions used by the controller 1404;
[0220] Unified memory 1406, input memory 1401, weight memory 1402 and instruction fetch memory 1409 are all on-chip memories. External memories are private to the NPU hardware architecture.
[0221] The processor mentioned in any of the above places may be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the above program.
[0222] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0223] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0224] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0225] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
Claims
1. A data processing method, characterized in that: The method comprises: Acquire multiple crowdsourced data, each of which includes first location information of a terminal at a location point and received wireless signal information, wherein the location point is within a preset area, and the first location information is used to indicate a relative position between the location point and the preset location point; According to the plurality of crowdsourced data, a plurality of first similarities and a second similarity corresponding to each first similarity are obtained, wherein each first similarity is used to represent the signal similarity between the wireless signal information included in each two crowdsourced data, and each second similarity is used to represent the position similarity between the first position information included in each two crowdsourced data; Determine a target mapping relationship according to the multiple first similarities and the second similarity corresponding to each first similarity, the target mapping relationship including a mapping relationship between position similarities between the first position information and signal similarities between the received wireless signal information when the terminal is at different positions, and an uncertainty of the mapping relationship; A plurality of preset trajectories within the preset area are obtained, and the plurality of preset trajectories are subjected to trajectory fusion based on the target mapping relationship as a constraint to obtain a trajectory fusion result, wherein the trajectory fusion result includes second position information of a plurality of position points within the preset area and wireless signal information, and the second position information is used to indicate an absolute position of a position point within the preset area.
2. The method according to claim 1, characterized in that: The plurality of crowdsourced data are data of location points on the same terminal motion trajectory.
3. The method according to claim 1 or 2, characterized in that: The multiple first similarities are distributed in M similarity intervals, each similarity interval includes multiple first similarities, and the second similarities corresponding to the multiple first similarities in each similarity interval satisfy Rayleigh distribution, and determining the target mapping relationship according to the multiple first similarities and the second similarity corresponding to each first similarity includes: Obtaining Rayleigh distribution parameters of a Rayleigh distribution satisfied by the second similarities corresponding to the multiple first similarities in each of the M similarity intervals, wherein the Rayleigh distribution parameters are used to represent a maximum likelihood estimation result of the second similarities corresponding to the multiple first similarities in the similarity interval; The target mapping relationship is determined by continuous function estimation based on M Rayleigh distribution parameters.
4. The method according to claim 3, characterized in that The Rayleigh distribution parameter is obtained based on the following formula: Among them, the represents the Rayleigh distribution parameter, the d i represents the i-th second similarity, and n represents the number of first similarities included in each similarity interval.
5. The method according to claim 3, characterized in that: Determining the target mapping relationship by continuous function estimation according to the M Rayleigh distribution parameters includes: According to the M Rayleigh distribution parameters, determining an estimated geometric distance within a similarity interval corresponding to each Rayleigh distribution parameter; The target mapping relationship is determined through continuous function estimation according to the M estimated geometric distances and the similarity interval corresponding to each estimated geometric distance.
6. The method according to claim 1 or 2, characterized in that: The wireless signal information includes the identifier of the wireless signal source transmitting the wireless signal and the signal strength information of the wireless signal, and the second similarity includes the similarity between the identifiers of the wireless signal source transmitting the wireless signal and the similarity between the signal strength information of the wireless signal.
7. The method according to claim 6, characterized in that The second similarity is obtained based on the following formula: Wherein, β is the weighted value of the preset value, and the g1(O i , O j ) is used to indicate the similarity between the identifiers of the wireless signal sources transmitting the wireless signals, and the g2(O i , O j ) is used to represent the similarity between the signal strength information of the wireless signals, wherein i represents the i-th crowdsourcing data, the O j Represents the jth crowdsourcing data.
8. The method according to claim 1 or 2, characterized in that: The method further comprises: Acquire first wireless signal information of the terminal device in the preset area; The location information of the terminal device is determined according to the first wireless signal information and the trajectory fusion result; wherein the first wireless signal information has the highest similarity with the target wireless signal information in the trajectory fusion result, and in the trajectory fusion result, the target wireless signal information corresponds to the location information of the terminal device.
9. A data processing device, characterized in that: The device comprises: An acquisition module, used to acquire a plurality of crowdsourced data, each of which includes first location information of a terminal at a location point and received wireless signal information, wherein the location point is within a preset area, and the first location information is used to indicate a relative position between the location point and a preset location point; A similarity determination module, configured to obtain, based on the plurality of crowdsourced data, a plurality of first similarities and a second similarity corresponding to each first similarity, wherein each first similarity is used to represent the signal similarity between the wireless signal information included in each two crowdsourced data, and each second similarity is used to represent the position similarity between the first position information included in each two crowdsourced data; A mapping relationship determination module, configured to determine a target mapping relationship according to the multiple first similarities and a second similarity corresponding to each first similarity, wherein the target mapping relationship includes a mapping relationship between position similarities between the first position information and signal similarities between the received wireless signal information when the terminal is at different positions, and an uncertainty of the mapping relationship; A trajectory fusion module is used to obtain multiple preset trajectories within the preset area, and to fuse the multiple preset trajectories based on the target mapping relationship as a constraint to obtain a trajectory fusion result, wherein the trajectory fusion result includes second position information of multiple position points within the preset area and wireless signal information, and the second position information is used to indicate the absolute position of the position point within the preset area.
10. The device according to claim 9, characterized in that The plurality of crowdsourced data are data of location points on the same terminal motion trajectory.
11. The device according to claim 9 or 10, characterized in that The multiple first similarities are distributed in M similarity intervals, each similarity interval includes multiple first similarities, and the second similarities corresponding to the multiple first similarities in each similarity interval satisfy Rayleigh distribution, and the mapping relationship determination module is used to: Obtaining Rayleigh distribution parameters of a Rayleigh distribution satisfied by the second similarities corresponding to the multiple first similarities in each of the M similarity intervals, wherein the Rayleigh distribution parameters are used to represent a maximum likelihood estimation result of the second similarities corresponding to the multiple first similarities in the similarity interval; The target mapping relationship is determined by continuous function estimation based on M Rayleigh distribution parameters.
12. The device according to claim 11, characterized in that The Rayleigh distribution parameter is obtained based on the following formula: Among them, the represents the Rayleigh distribution parameter, the d i represents the i-th second similarity, and n represents the number of first similarities included in each similarity interval.
13. The device according to claim 11, characterized in that The mapping relationship determination module is used to: According to the M Rayleigh distribution parameters, determining an estimated geometric distance within a similarity interval corresponding to each Rayleigh distribution parameter; The target mapping relationship is determined through continuous function estimation according to the M estimated geometric distances and the similarity interval corresponding to each estimated geometric distance.
14. The device according to claim 9 or 10, characterized in that The wireless signal information includes the identifier of the wireless signal source transmitting the wireless signal and the signal strength information of the wireless signal, and the second similarity includes the similarity between the identifiers of the wireless signal source transmitting the wireless signal and the similarity between the signal strength information of the wireless signal.
15. The device according to claim 14, characterized in that The second similarity is obtained based on the following formula: Wherein, β is the weighted value of the preset value, and the g1(O i , O j ) is used to indicate the similarity between the identifiers of the wireless signal sources transmitting the wireless signals, and the g2(O i , O j ) is used to represent the similarity between the signal strength information of the wireless signals, wherein i represents the i-th crowdsourcing data, the O j Represents the jth crowdsourcing data.
16. The device according to claim 9 or 10, characterized in that The device also includes: A positioning module, used to obtain first wireless signal information of the terminal device in the preset area; The location information of the terminal device is determined according to the first wireless signal information and the trajectory fusion result; wherein the first wireless signal information has the highest similarity with the target wireless signal information in the trajectory fusion result, and in the trajectory fusion result, the target wireless signal information corresponds to the location information of the terminal device.
17. A data processing device, characterized in that: The device includes a memory and a processor; the memory stores codes, and the processor is configured to obtain the codes and execute the method according to any one of claims 1 to 8.
18. A computer storage medium, characterized in that: The computer storage medium stores one or more instructions, which, when executed by one or more computers, enable the one or more computers to implement the method of any one of claims 1 to 8.
