A method, device, server and system for obtaining association relationship
The terminal device scans short-distance communication signals and locations to determine the relationship between the signal coverage area and the building, which solves the problem of positioning information deviation within the building, realizes automatic association and rapid acquisition, reduces labor costs, and improves user experience.
Patent Information
- Application Number
- CN202010476607.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-29
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-05-29
AI Technical Summary
In the existing technology, when a passenger initiates a car request inside a building, the positioning information obtained through the global satellite positioning system may be biased, resulting in increased communication costs between the driver and the passenger and poor user experience.
The terminal device scans the identification and location of short-distance communication signals to determine the coverage area of the signal, and automatically obtains the correlation between buildings based on the correlation between the coverage area and the building, reducing manual correlation costs and improving the acquisition progress.
There is no need to judge the indoor or outdoor location of the terminal device, and it can automatically associate short-distance communication signals and buildings, reduce labor costs, speed up the acquisition of association relationships, and improve user experience.
Smart Images

Figure CN111814824B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of positioning technology, and more specifically, to a method for acquiring an association relationship, a device for acquiring an association relationship, a server, and a system for acquiring an association relationship. Background Art
[0002] At present, online ride-hailing has become a new mode of transportation in cities, which can effectively meet the travel needs of urban residents.
[0003] In the prior art, the terminal device used by the passenger usually determines the passenger's location through a global satellite positioning system, and marks the passenger's location on a corresponding map so that the corresponding driver can quickly and accurately reach the passenger's location.
[0004] When a passenger initiates a car request while inside a building (such as a supermarket, community, shopping mall, etc.), the positioning information obtained through the global satellite positioning system may be biased, or even located near other buildings. This causes the passenger to perform unnecessary operations or increases the communication cost between the driver and the passenger, resulting in a poor user experience. Summary of the invention
[0005] One purpose of this specification is to provide a new technical solution for automatically acquiring the association relationship between the identification of short-range communication signals and buildings.
[0006] According to a first aspect of the present specification, a method for acquiring an association relationship is provided, comprising:
[0007] Obtaining an identifier of a short-range communication signal scanned by a terminal device and a scanning position of the terminal device;
[0008] Determining a coverage area of the identification according to the scanning position;
[0009] Determining a building corresponding to the identification according to the coverage area of the identification, wherein the coverage area of the building at least partially overlaps with the coverage area of the identification;
[0010] An association relationship between the identifier and the building is determined according to the coverage area of the identifier and the coverage area of the building.
[0011] Optionally, determining the coverage area of the marker according to the scanning position includes:
[0012] Clustering the scanning positions corresponding to the identifiers to obtain position sets; the number of the position sets is the same as the number of short-range communication signals corresponding to the identifiers;
[0013] Obtaining, according to the scanning positions included in the position set, a signal coverage area corresponding to the position set;
[0014] The identified coverage area is determined according to the signal coverage area corresponding to the location set.
[0015] Optionally, obtaining, according to the scanning positions included in the position set, a signal coverage area corresponding to the position set includes:
[0016] determining a center of the scanning position included in the position set;
[0017] determining a transmission distance of the short-range communication signal;
[0018] A signal coverage area corresponding to the location set is determined according to the center and the transmission distance corresponding to the location set.
[0019] Optionally, the building includes a plurality of buildings;
[0020] Determining the association relationship between the identifier and the building according to the coverage area of the identifier and the coverage area of the building includes:
[0021] Obtaining distribution areas of the multiple buildings according to the coverage areas of the multiple buildings;
[0022] Based on a preset neural network, an association relationship between the identifier and the building to be associated is obtained according to the coverage area of the identifier, the distribution areas of the multiple buildings, and the coverage area of the building to be associated; wherein the building to be associated is any one of the multiple buildings.
[0023] Optionally, obtaining the association relationship between the identifier and the building to be associated based on a preset neural network according to the coverage area of the identifier, the distribution areas of the multiple buildings, and the coverage area of the building to be associated includes:
[0024] Taking a preset geographical unit as a pixel point, determining a first picture representing the coverage area of the mark, a second picture representing the distribution area of the plurality of buildings, and a third picture representing the coverage area of the building to be associated;
[0025] Based on the neural network, the association relationship between the logo and the building to be associated is obtained according to the first picture, the second picture and the third picture respectively.
[0026] Optionally, also include:
[0027] Acquire signal information of geographical units included in the identified coverage area, and record the signal information of geographical units included in the identified coverage area into the first picture;
[0028] The signal information includes the number of corresponding scanning positions and / or the average value of the short-range communication signal strength of the marker.
[0029] Optionally, also include:
[0030] In response to a positioning request issued by a target terminal device, obtaining a current identifier of a short-range communication signal scanned by the target terminal device when issuing the positioning request;
[0031] Determine, according to the current identifier and the association relationship, the building in which the target terminal device is currently located as the current building;
[0032] The current location of the target terminal device is determined according to the location information of the current building.
[0033] Optionally, the current identifier includes an identifier;
[0034] The determining, according to the current identifier and the association relationship, the building in which the target terminal device is currently located as the current building includes:
[0035] According to the association relationship, a building associated with the current identifier is determined as the current building.
[0036] Optionally, the building associated with the current identifier includes at least two buildings;
[0037] The method further comprises:
[0038] A current scanning position corresponding to the current identifier is obtained, so as to determine the current building according to the current scanning position.
[0039] Optionally, the current identifier includes multiple identifiers;
[0040] The determining, according to the current identifier and the association relationship, the building in which the target terminal is currently located as the current building includes:
[0041] According to the association relationship, determine the buildings associated with the multiple current identifiers as candidate buildings;
[0042] From the candidate buildings, a building with the largest number of associated current identifiers is selected as the current building.
[0043] According to a second aspect of the present specification, there is provided a device for acquiring an association relationship, including:
[0044] An information acquisition module, used to acquire an identifier of a short-range communication signal scanned by a terminal device and a scanning position of the terminal device;
[0045] An area determination module, used to determine the coverage area of the mark according to the scanning position;
[0046] A building determination module, configured to determine a building corresponding to the identification according to a coverage area of the identification, wherein the coverage area of the building at least partially overlaps with the coverage area of the identification;
[0047] The relationship determination module is used to determine the association relationship between the identifier and the building according to the coverage area of the identifier and the coverage area of the building.
[0048] According to a third aspect of this specification, there is provided an electronic device, including:
[0049] The device as described in the second aspect of this specification, or,
[0050] A processor and a memory, wherein the memory is used to store an executable computer program, and the computer program is used to control the processor to execute the method described in the first aspect of this specification.
[0051] According to a fourth aspect of this specification, a system for acquiring an association relationship is provided, comprising a terminal device and a server as described in the third aspect of this specification;
[0052] The terminal device is configured as follows:
[0053] Scanning a short-range communication signal, and obtaining an identifier of the short-range communication signal and a corresponding scanning position;
[0054] The identification and the corresponding scan location are provided to the server.
[0055] One beneficial effect of the present invention is that, through the embodiments of this specification, based on the identification of the short-range communication signal scanned by the terminal device and the scanning position of the terminal device, the association relationship between the identification of the short-range communication signal and the building can be obtained. There is no need to judge whether the scanning position of the terminal device is indoors or outdoors, and there is no need to manually associate the identification of the short-range communication signal with the building. In this way, labor costs can be reduced and the progress of obtaining the association relationship can be accelerated.
[0056] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0058] Figure 1 is a block diagram of an example of a hardware configuration of a positioning system that can be used to implement an embodiment of the present invention.
[0059] Figure 2 A schematic flow chart of a method for acquiring an association relationship according to an embodiment of the present invention is shown.
[0060] Figure 3 A schematic diagram showing a method for determining a coverage area of a short-range communication signal identification according to an embodiment of the present invention.
[0061] Figure 4 A schematic diagram showing a method for determining a first picture according to an embodiment of the present invention.
[0062] Figure 5 A schematic diagram showing a method for determining the second picture (or the third picture) according to an embodiment of the present invention.
[0063] Figure 6 A schematic flow chart of a method for acquiring an association relationship according to another embodiment of the present invention is shown.
[0064] Figure 7 A principle block diagram of a device for acquiring association relationships according to an embodiment of the present invention is shown.
[0065] Figure 8 A principle block diagram of a server according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0066] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.
[0067] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0068] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0069] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0070] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0071] <Hardware Configuration>
[0072] Figure 1 The figure is a schematic diagram of the structure of a positioning system to which the method according to the embodiments of the present specification can be applied.
[0073] like Figure 1 As shown, the positioning system 1000 of this embodiment includes a server 1100 , a terminal device 1200 and a network 1300 .
[0074] The server 1100 may be, for example, a blade server, a rack server, etc. The server 1100 may also be a server cluster deployed in the cloud, which is not limited here. The server may be a server providing online transaction platform services, or a server of the above administrative functional departments, which is not limited here.
[0075] like Figure 1 As shown, the server 1100 may include a processor 1110, a memory 1120, an interface device 1130, a communication device 1140, a display device 1150, and an input device 1160. The processor 1110 may be, for example, a central processing unit CPU, etc. The memory 1120 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1130 may include, for example, a USB interface, a serial interface, etc. The communication device 1140 may be capable of wired or wireless communication, for example. The display device 1150 may be, for example, a liquid crystal display screen. The input device 1160 may include, for example, a touch screen, a keyboard, etc.
[0076] In this embodiment, the server 1100 may be used to participate in implementing the method according to any embodiment of this specification.
[0077] In this embodiment, the server 1100 has stored data required for positioning, and the data is sent to the server 1100 by, for example, a user's terminal device.
[0078] In the embodiments of this specification, the memory 1120 of the server 1100 is used to store instructions, which are used to control the processor 1110 to operate to support the implementation of the venue-based navigation method according to any embodiment of this specification. The technician can design instructions according to the scheme disclosed in this specification. How the instructions control the processor to operate is well known in the art, so it will not be described in detail here.
[0079] It should be understood by those skilled in the art that although Figure 1Multiple devices of the server 1100 are shown in the figure, but the server 1100 of the embodiment of this specification may only involve some of the devices, for example, only the processor 1110 and the memory 1120.
[0080] like Figure 1 As shown, the terminal device 1200 may include a processor 1210, a memory 1220, an interface device 1230, a communication device 1240, a display device 1250, an input device 1260, an audio output device 1270, an audio input device 1280, and the like. The processor 1210 may be a central processing unit CPU, a microprocessor MCU, and the like. The memory 1220 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, and the like. The interface device 1230 may include, for example, a USB interface, an earphone interface, and the like. The communication device 1240 may, for example, be capable of wired or wireless communication. The display device 1250 may, for example, be a liquid crystal display screen, a touch display screen, and the like. The input device 1260 may, for example, include a touch screen, a keyboard, and the like. The terminal device 1200 may output audio information through an audio output device 1270, and the audio output device 1270 may, for example, include a speaker. The terminal device 1200 may pick up voice information input by a user through an audio pickup device 1280, and the audio pickup device 1280 may, for example, include a microphone.
[0081] The terminal device 1200 may be any device that can support user participation in positioning, such as a smart phone, a portable computer, a desktop computer, a tablet computer, or the like.
[0082] In this embodiment, the terminal device 1200 can be used to scan the surrounding short-range communication signals, and send the identification of the short-range communication signal and the corresponding scanning position to the server 1100 through the corresponding scanning position of the global satellite positioning system to implement the method of this embodiment.
[0083] In the embodiments of this specification, the memory 1220 of the terminal device 1200 is used to store instructions, which are used to control the processor 1210 to operate to support the implementation of the method according to any embodiment of this specification. The technician can design instructions according to the scheme disclosed in this specification. How the instructions control the processor to operate is well known in the art, so it will not be described in detail here.
[0084] It should be understood by those skilled in the art that although Figure 1 Multiple devices of the terminal device 1200 are shown in the figure, but the terminal device 1200 of the embodiment of this specification may only involve some of the devices, for example, only the processor 1210, the memory 1220, the display device 1250, the input device 1260, etc.
[0085] The communication network 1300 may be a wireless network or a wired network, a local area network or a wide area network. The terminal device 1200 may communicate with the server 1100 via the communication network 1300 .
[0086] Figure 1 The positioning system 1000 shown is illustrative only and is in no way intended to limit the present specification, its application, or uses. Figure 1 Only one server 1100 and one terminal device 1200 are shown, but this does not mean to limit the respective numbers. The positioning system 1000 may include multiple servers 1100 and / or multiple terminal devices 1200.
[0087] <Method Example>
[0088] Figure 2 The figure is a schematic flow chart of a method for acquiring an association relationship according to an embodiment of the present invention.
[0089] In one example, Figure 2 The method shown can be implemented by a server. In one embodiment, the server can be Figure 1 Server 1100 is shown.
[0090] like Figure 2 As shown, the method of this embodiment includes the following steps S1000 to S4000:
[0091] Step S1000, obtaining the identifier of the short-range communication signal scanned by the terminal device and the scanning position of the terminal device.
[0092] The short-range communication signal in this embodiment may be a signal transmitted by a signal transmitting device near the terminal device, for example, may be a WiFi signal, a Bluetooth signal, an NFC signal, or a ZigBee signal.
[0093] The identification of the short-range communication signal may include a MAC address and / or a name of a signal transmitting device that transmits the corresponding short-range communication signal, wherein the name of the signal transmitting device may be set by a user who manages the corresponding signal transmitting device.
[0094] The scanning position of the terminal device may be the position of the terminal device when scanning the corresponding short-range communication signal identifier. The scanning position is usually obtained by the terminal device through a global navigation satellite system (including at least one of the GPS positioning system, the Beidou positioning system, and the Galileo positioning system).
[0095] In one embodiment of the present specification, the terminal device may send the identifier of the short-range communication signal currently scanned and the corresponding scanning position to the server when issuing a positioning request to the server, so that the server can locate the terminal device according to the identifier of the short-range communication signal and the corresponding scanning position.
[0096] In another embodiment of the present specification, the terminal device may also send the identification of the scanned short-range communication signal and the corresponding scanning position to the server according to the set frequency. The set frequency may be set in advance according to the application scenario or specific needs, for example, the set frequency may be 1 Hz.
[0097] In step S1000, the server may obtain the identifier of the short-range communication signal provided by the terminal device and the scanning position of the terminal device within a preset statistical period, wherein the preset statistical period may be pre-set according to the application scenario or specific requirements, for example, may be 1 year.
[0098] In one embodiment of the present specification, the server may store multiple identifiers of short-range communication signals and a scanning position corresponding to each identifier. Then, the server may determine the scanning position at which the terminal device is located when it scans the identifier of the short-range communication signal based on the identifier of the short-range communication signal. The scanning position corresponding to the identifier may be one or more, and the present embodiment does not limit the number of scanning positions.
[0099] Step S2000: determine the coverage area of the mark according to the scanning position.
[0100] Since the identifier may correspond to a short-range communication signal transmitted by one signal transmitting device or may correspond to short-range communication signals transmitted by multiple signal transmitting devices, in one embodiment of the present specification, determining the coverage area of the identifier according to the scanning position may include steps S2100 to S2300 as shown below:
[0101] Step S2100: cluster the scan positions corresponding to the identifier to obtain a position set.
[0102] The number of location sets is the same as the number of short-range communication signals corresponding to the identifier.
[0103] Under normal circumstances, the possibility that at least two short-range communication signals corresponding to the same identifier appear in the same area is very small. Therefore, this embodiment can split the scanning position corresponding to the identifier into multiple position sets based on a preset distance.
[0104] Specifically, scanning positions whose spacing is less than or equal to the preset distance may be connected, that is, multiple position sets may be obtained. For any scanning position, the spacing between at least one scanning position in the position set to which it belongs is less than or equal to the preset distance, and the spacing between any scanning position in other position sets (position sets other than the position set to which the scanning position belongs) is greater than the preset distance.
[0105] The preset distance may be set in advance according to an application scenario or specific requirements. For example, the preset distance may be 100 m.
[0106] Step S2200: Obtain a signal coverage area corresponding to the position set according to the scanning positions included in the position set.
[0107] When the number of position sets obtained in step S2100 is one, a signal coverage area corresponding to the position set may be obtained for the scanning positions included in the position set.
[0108] In the case that there are multiple position sets obtained in step S2100, the signal coverage area corresponding to each of the scanning positions included in at least one position set may be obtained.
[0109] For any position set, the method of obtaining the signal coverage area corresponding to the position set according to the scanning positions included therein may be the same or different. The following only describes the method of determining the signal coverage area corresponding to any position set.
[0110] In one embodiment of the present specification, the preset area may be pre-divided into a plurality of geographical units. The geographical units may divide the preset area (eg, a city or an administrative district of a city) according to a preset division rule. Each geographical unit has a corresponding geographical location.
[0111] For example, the geographic area shape and area of each geographic unit can be set in advance. For example, the geographic unit is set to a square area with a preset side length. The preset side length can be set according to specific needs. For example, the preset side length is 10 meters, and the corresponding geographic unit is a square area of 10 meters * 10 meters. Correspondingly, the geographic unit can be divided into grids horizontally and vertically, and each grid is a geographic unit of 10 meters * 10 meters. The geographic location of the geographic unit can be the geographic coordinate information of the center position of the area, such as the longitude and latitude information of the center position.
[0112] Based on this embodiment, according to the scanning positions included in the position set, obtaining the signal coverage area corresponding to the position set may include: taking the area formed by the geographical units where the scanning positions included in the position set are located as the signal coverage area corresponding to the position set.
[0113] like Figure 3 As shown, each grid represents a geographical unit, and the solid point represents the scanning position in the position set. The area consisting of all geographical units containing the scanning positions in the position set can be used as the signal coverage area corresponding to the position set, such as Figure 3 The gray area shown.
[0114] In another embodiment of the present specification, in one embodiment of the present specification, obtaining a signal coverage area corresponding to the position set according to the scanning positions included in the position set may include the following steps S2210 to S2230:
[0115] Step S2210, determining the center of the scanning position in the position set.
[0116] In this embodiment, the center may be used to indicate the location of one of the signal transmitting devices that transmits the identification of the short-range communication signal.
[0117] In one embodiment of the present specification, the corresponding center may be obtained according to the scanning positions in the position set based on the triangulation positioning method.
[0118] Step S2220, determining the transmission distance of the short-range communication signal.
[0119] In one embodiment of the present specification, the transmission distance of the short-distance communication signal may be a preset fixed value. The fixed value may be set in advance according to the type, application scenario or specific requirements of the short-distance communication signal, for example, the fixed value may be 10m.
[0120] In one embodiment of the present specification, the transmission distance of the short-range communication signal may be the maximum value of the distance between the scanning position and the corresponding center in the position set.
[0121] Step S2230: Determine a signal coverage area corresponding to the location set according to the center of the location set and the transmission distance.
[0122] In one embodiment of the present specification, the signal coverage area corresponding to the position set may be a circular area with the center of the position set as the center and the transmission distance as the radius.
[0123] In this embodiment, the signal coverage area corresponding to the position set is determined by determining the center of the scanning position in the position set and the transmission distance of the short-range communication signal. This can make the obtained signal coverage area corresponding to the position set more accurate, and furthermore, the coverage area of the identification obtained based on the signal coverage area corresponding to the position set can be more accurate.
[0124] Step S2300: Determine the coverage area of the marker according to the signal coverage area corresponding to the location set.
[0125] When the number of the position sets obtained in step S2100 is one, the signal coverage area corresponding to the position set may be used as the coverage area of the marker.
[0126] In the case that there are multiple position sets obtained through step S2100, the signal coverage area corresponding to at least one position set may be used as the coverage area of the identifier.
[0127] In this embodiment, the signal coverage areas corresponding to at least one location set may be merged to obtain the coverage area of the short-distance communication signal. Specifically, the coverage area of the short-distance communication signal may include the signal coverage area corresponding to at least one location set.
[0128] In this embodiment, the scanning positions corresponding to the identifier are clustered to obtain a position set with the same number as the number of short-range communication signals corresponding to the identifier, and the signal coverage area of the position set is determined according to the scanning positions in the position set. Then, the coverage area of the identifier is determined according to the coverage area of the position set. This can effectively avoid the problem of too large a coverage area of the identifier when the identifier corresponds to multiple short-range communication signals, make the obtained coverage area of the identifier more accurate, and avoid the coverage area of the identifier containing an area where it is completely impossible to scan the identifier.
[0129] In one embodiment of the present specification, the method may further include:
[0130] For multiple scanning positions in any position set, outlier scanning positions are determined based on a preset outlier detection algorithm; and the outlier scanning positions in the position set are deleted.
[0131] In one embodiment of the present specification, the scanning position is usually obtained by the terminal device through the global navigation satellite system (including at least one of the GPS positioning system, the Beidou positioning system, and the Galileo positioning system). During the positioning process of the terminal device, if there are tall buildings (walls, slopes and other smooth surfaces) nearby, a "multipath effect" will be generated, resulting in deviations in the obtained scanning position. The multipath effect refers to the phenomenon that the signal direction, amplitude, polarization and phase change caused by the reflection / refraction of the object during the propagation of the positioning signal, thereby affecting the positioning accuracy.
[0132] Therefore, the main purpose of outlier detection in this embodiment is to detect abnormal scanning positions that are greatly different from normal scanning positions.
[0133] The outlier detection algorithm used in this embodiment can be pre-set according to the application scenario or specific requirements. For example, the outlier detection algorithm can be a statistical outlier detection method, a clustering-based outlier detection method, a classification-based outlier detection method, a distance-based outlier detection method, a density-based outlier detection method, or an information entropy-based outlier detection method.
[0134] This embodiment deletes outlier scanning positions in any position set, so that the coverage area of the mark obtained subsequently can be more accurate, and further the association relationship obtained according to the coverage area of the mark can be more accurate.
[0135] Step S3000: Determine the building corresponding to the mark according to the coverage area of the mark.
[0136] In this embodiment, the coverage area of the building corresponding to the mark at least partially overlaps with the coverage area of the mark.
[0137] In this embodiment, the server may pre-store coverage areas of buildings, and determine a building whose coverage area at least partially overlaps with the coverage area of the identifier as the building corresponding to the identifier.
[0138] For example, for the coverage area S of the mark, building A, building B and building C, the coverage area of building A overlaps with the coverage area S of the mark, so building A can be used as the building corresponding to the mark. The coverage area of building B is completely included in the coverage area S of the mark, so building B can be used as the building corresponding to the mark. Building C is completely outside the coverage area S of the mark, that is, the coverage area of building C does not overlap with the coverage area S of the mark at all, so building C cannot be used as the building corresponding to the mark.
[0139] Step S4000: determining the association relationship between the identifier and the building according to the coverage area of the identifier and the coverage area of the building.
[0140] In the embodiments of this specification, the association relationship may indicate whether the identifier and the building are associated. Specifically, through the association relationship, the building associated with the identifier may be determined, and the identifier of the short-range communication signal associated with the building may also be determined.
[0141] Through the embodiments of the present specification, the association relationship between the identifier of the short-range communication signal and the building can be obtained based on the identifier of the short-range communication signal scanned by the terminal device and the scanning position of the terminal device. There is no need to judge whether the scanning position of the terminal device is indoors or outdoors, and there is no need to manually associate the identifier of the short-range communication signal and the building. In this way, labor costs can be reduced and the progress of obtaining the association relationship can be accelerated.
[0142] In one embodiment of the present specification, the building corresponding to the identifier may be a building, and determining the association relationship between the identifier and the building may be: determining that the identifier is associated with the building.
[0143] In one embodiment of the present specification, the building corresponding to the identifier includes multiple buildings. Then, according to the coverage area of the identifier and the coverage area of the building, determining the association relationship between the identifier and the building may include the following steps S4100 to S4200:
[0144] Step S4100, obtaining distribution areas of the multiple buildings according to the coverage areas of the multiple buildings corresponding to the identifier.
[0145] In one embodiment of the present specification, the distribution area of the plurality of buildings may include the coverage area of each of the plurality of buildings. Moreover, the distribution area of the plurality of buildings may represent the relative position relationship between the coverage areas of each building.
[0146] For any one of the multiple buildings corresponding to the identifier, the method of determining the association relationship between it and the identifier is the same. Therefore, this embodiment takes any one of the multiple buildings corresponding to the short-range communication signal as the building to be associated, and explains the determination of the association relationship between the identifier and the building to be associated.
[0147] Step S4200, based on a preset neural network, according to the coverage area of the identifier, the distribution areas of multiple buildings, and the coverage area of the building to be associated, obtain the association relationship between the identifier and the building to be associated.
[0148] The preset neural network may be any neural network that is pre-trained according to application scenarios or specific requirements. The preset neural network may be, for example but not limited to, a convolutional neural network.
[0149] Based on the neural network, the association relationship between the identifier and the building to be associated may be obtained according to the coverage area of the identifier, the distribution areas of multiple buildings, and the coverage area of the building to be associated.
[0150] For example, for the identifier A of the short-range communication signal, the corresponding multiple buildings may include building A and building B. Then, based on the neural network, the association relationship between identifier A and building A can be obtained according to the coverage area of identifier A, the distribution area of the multiple buildings corresponding to identifier A, and the coverage area of building A; and then based on the neural network, the association relationship between identifier A and building B can be obtained according to the coverage area of identifier A, the distribution area of the multiple buildings corresponding to identifier A, and the coverage area of building B.
[0151] In the embodiments of this specification, the number of buildings associated with the identifier may be the same as the number of short-range communication signals corresponding to the identifier. Each building may be associated with one or more identifiers of short-range communication signals.
[0152] Through the embodiments of this specification, based on a neural network, the association relationship between the identifier and the building to be associated is obtained according to the coverage area of the identifier of the short-range communication signal, the distribution areas of multiple buildings corresponding to the identifier, and the coverage area of the building to be associated, and the obtained association relationship can be made more accurate.
[0153] In one embodiment of the present specification, based on a preset neural network, according to the coverage area of the identifier, the distribution areas of the multiple buildings, and the coverage area of the building to be associated, obtaining the association relationship between the identifier and the building to be associated may include the following steps S4210 to S4220:
[0154] Step S4210, using preset geographic units as pixel points, determines a first picture representing the coverage area of the logo, a second picture representing the distribution areas of multiple buildings corresponding to the logo, and a third picture representing the coverage area of the building to be associated.
[0155] In this embodiment, the geographical unit can divide a preset area (such as a city or an administrative district of a city) according to a preset division rule. Each geographical unit has a corresponding geographical location.
[0156] For example, the geographic area shape and area of each geographic unit can be set in advance. For example, the geographic unit is set to a square area with a preset side length. The preset side length can be set according to specific needs. For example, the preset side length is 10 meters, and the corresponding geographic unit is a square area of 10 meters * 10 meters. Correspondingly, the geographic unit can be divided into grids horizontally and vertically, and each grid is a geographic unit of 10 meters * 10 meters. The geographic location of the geographic unit can be the geographic coordinate information of the center position of the area, such as the longitude and latitude information of the center position.
[0157] In the process of determining the first image representing the coverage area of the mark, the geographical units included in the coverage area of the mark may be determined, and then the first image with the geographical units as pixels is generated based on the geographical units included in the coverage area of the mark.
[0158] The geographical units included in the coverage area of the mark may be geographical units that at least partially overlap with the coverage area of the mark.
[0159] like Figure 4 As shown, each grid represents a geographical unit, and the area within the thick solid circle represents the coverage area of the mark. The geographical units at least partially located in the coverage area of the mark can be regarded as the geographical units included in the coverage area of the mark. Figure 4 Geographical units shown in grey.
[0160] In the process of determining the second image representing the distribution area of the multiple buildings corresponding to the logo, the geographic units included in the distribution area of the multiple buildings can be determined, and then the second image with the geographic units as pixels is generated based on the geographic units included in the distribution area of the multiple buildings.
[0161] In the process of determining the third image representing the coverage area of the building to be associated, the geographical units included in the coverage area of the building to be associated may be determined, and then the third image with the geographical units as pixels is generated based on the geographical units included in the coverage area of the building to be associated.
[0162] For example, Figure 5 As shown, the thick solid lines represent the distribution areas of the multiple buildings (or the coverage areas of the buildings to be associated). According to the distribution areas of the multiple buildings (or the coverage areas of the buildings to be associated), the geographical units at least partially located in the distribution areas of the multiple buildings (or the coverage areas of the buildings to be associated) can be taken as the geographical units included in the distribution areas of the multiple buildings (or the coverage areas of the buildings to be associated), such as Figure 5 Geographical units shown in grey.
[0163] In one embodiment of the present specification, the method may further include: acquiring signal information of geographical units included in the coverage area of the identification, and recording the signal information of geographical units included in the coverage area of the identification into the first picture.
[0164] The signal information may include the number of scanning locations corresponding to the identifier contained in the corresponding geographical unit, and / or an average value of the short-range communication signal strength of the identifier.
[0165] Through the embodiments of this specification, the signal information of the geographical unit corresponding to the pixel point is recorded in the first picture, and the association relationship between the logo and the building to be associated is determined based on the first picture recording the signal information, so that the obtained association relationship can be more accurate.
[0166] Based on this embodiment, the first image may be a multi-channel image. The first image of the logo also records at least one of the following items: the number of scanning positions corresponding to the logo contained in the geographical unit corresponding to the pixel point; and the average value of the signal strength of the logo contained in the geographical unit corresponding to the pixel point.
[0167] Step S4220, based on the neural network, obtain the association relationship between the logo and the building to be associated according to the first picture, the second picture and the third picture.
[0168] Through the embodiments of the present specification, a first picture representing the coverage area of the logo, a second picture representing the distribution area of multiple buildings corresponding to the logo, and a third picture representing the coverage area of the building to be associated are constructed. Based on a neural network, the association relationship between the logo and the building to be associated is obtained according to the first picture, the second picture and the third picture, so that the obtained association relationship can be more accurate.
[0169] In one embodiment of the present specification, after obtaining the association relationship, the method may further include: Figure 6 Steps S6100 to S6300 shown:
[0170] Step S6100, in response to a positioning request sent by a target terminal device, obtaining a current identifier of a current short-range communication signal scanned by the target terminal device when sending the positioning request.
[0171] In one embodiment of the present specification, the current identifier scanned by the target terminal device when issuing the positioning request may be all identifiers scanned by the target terminal device, or may include some of the identifiers.
[0172] In another embodiment of the present specification, the current identifier scanned by the target terminal device when issuing the positioning request may be an identifier of a short-range communication signal that establishes a short-range communication connection with the target terminal device.
[0173] Step S6200: Determine the building where the target terminal device is currently located as the current building based on the current identifier and the association relationship.
[0174] In an embodiment where the current identifier includes only one identifier, the building where the target terminal device is currently located is determined according to the current identifier and the association relationship, and the current building may include:
[0175] According to the association relationship, the building associated with the current identifier is determined as the current building where the target terminal device is currently located.
[0176] In this embodiment, the current identifier may be an identifier of a short-range communication signal that establishes a short-range communication connection with the target terminal device, or an identifier of a short-range communication signal that does not establish a short-range communication connection with the target terminal device.
[0177] In this embodiment, when there are at least two buildings associated with a current identifier, the following may also be included:
[0178] A current scanning position corresponding to the current identifier is obtained, so as to determine the current building according to the current scanning position.
[0179] Specifically, the current scanning position may be the position of the target terminal device determined by the global navigation satellite system when the target terminal device scans the current identifier.
[0180] Determining the current building according to the current scanning position may also include: selecting one of the at least two buildings associated with the current identifier, which has the smallest distance to the current scanning position, as the current building.
[0181] This embodiment assists in determining the current building by acquiring the current scanning position corresponding to the current identifier, so that the current position of the target terminal device can be determined more accurately based on the current building.
[0182] In an embodiment where the current identifier includes multiple identifiers, the building where the target terminal device is currently located is determined according to the current identifier and the association relationship, and the current building may include:
[0183] According to the association relationship, the buildings associated with the multiple current identifications are determined; from the buildings associated with the multiple current identifications, the building associated with the largest number of current identifications is selected as the current building.
[0184] In this embodiment, by selecting the building with the largest number of associated current identifiers from the buildings associated with multiple current identifiers as the current building, the current building where the target terminal device is currently located can be accurately determined when there are at least two buildings associated with a current identifier.
[0185] Step S6300: Determine the current location of the target terminal device based on the location information of the current building.
[0186] Specifically, a designated location in the current building is determined as the current location of the target terminal device. The designated location may be determined in advance according to an application scenario or specific needs. For example, the designated location may be the center of the current building. For another example, in the application scenario of online car-hailing, the designated location may be the exit of the current building. Then, according to this embodiment, the building in which the user is currently located can be identified, and the correct boarding point can be directly recommended to the user.
[0187] In this embodiment, based on the pre-acquired association relationship and the current identifier scanned by the target terminal device when issuing a positioning request, the building where the target terminal device is currently located can be quickly and accurately known, which can improve the user's positioning accuracy in the building and enhance the user experience.
[0188] In one embodiment of the present specification, the current location of the target terminal device may also be marked on a corresponding map for viewing by a corresponding user.
[0189] <Device Example>
[0190] Corresponding to the above method, the present invention also provides a device 7000 for acquiring an association relationship. Figure 7 As shown, the association relationship acquisition device 7000 may include an information acquisition module 7100, an area determination module 7200, a building determination module 7300, and a relationship determination module 7400. The information acquisition module 7100 is used to acquire the identification of the short-range communication signal scanned by the terminal device and the scanning position of the terminal device; the area determination module 7200 is used to determine the coverage area of the short-range communication signal according to the scanning position; the building determination module 7300 is used to determine the building corresponding to the identification according to the coverage area of the identification, wherein the coverage area of the building at least partially overlaps with the coverage area of the identification; the relationship determination module 7400 is used to determine the association relationship between the identification and the building according to the coverage area of the identification and the coverage area of the building.
[0191] In one embodiment of the present specification, the region determination module 7200 may also be used to:
[0192] Clustering the scan positions corresponding to the identifiers to obtain position sets; wherein the number of position sets is the same as the number of short-range communication signals corresponding to the identifiers;
[0193] According to the scanning positions included in the position set, a signal coverage area corresponding to the position set is obtained;
[0194] The identified coverage area is determined according to the signal coverage area corresponding to the location set.
[0195] In one embodiment of the present specification, obtaining a signal coverage area corresponding to the position set according to the scanning positions included in the position set may include:
[0196] determining the center of the scan position contained in the position set;
[0197] Determine the transmission distance of short-range communication signals;
[0198] The signal coverage area corresponding to the location set is determined according to the center and transmission distance corresponding to the location set.
[0199] In one embodiment of the present specification, the building includes a plurality of buildings;
[0200] The relationship determination module 7400 may also be used to:
[0201] According to the coverage areas of the multiple buildings, the distribution areas of the multiple buildings are obtained;
[0202] Based on a preset neural network, an association relationship between the identifier and the building to be associated is obtained according to the coverage area of the identifier, the distribution areas of multiple buildings, and the coverage area of the building to be associated; wherein the building to be associated is any one of the multiple buildings.
[0203] In one embodiment of the present specification, based on a preset neural network, according to the coverage area of the identifier, the distribution areas of the plurality of buildings, and the coverage area of the building to be associated, obtaining the association relationship between the identifier and the building to be associated may include:
[0204] Taking a preset geographic unit as a pixel point, determining a first picture representing a coverage area of the mark, a second picture representing a distribution area of a plurality of buildings, and a third picture representing a coverage area of the building to be associated;
[0205] Based on the neural network, the association relationship between the logo and the building to be associated is obtained according to the first picture, the second picture and the third picture respectively.
[0206] In one embodiment of the present specification, the association relationship acquisition device 7000 may further include:
[0207] A module for obtaining signal information of geographical units included in the coverage area of the mark, and recording the signal information of geographical units included in the coverage area of the mark into the first picture;
[0208] The signal information includes the number of corresponding scanning positions and / or the average value of the short-range communication signal strength of the identifier.
[0209] In one embodiment of the present specification, the association relationship acquisition device 7000 may further include:
[0210] A module for responding to a positioning request issued by a target terminal device and acquiring a current identification scanned by the target terminal device when issuing the positioning request;
[0211] Used to determine the building where the target terminal device is currently located according to the current identification and association relationship as the module of the current building;
[0212] A module used to determine the current location of a target terminal device based on the location information of the current building.
[0213] In one embodiment of the present specification, the current identification includes an identification;
[0214] According to the current identification and association relationship, the building where the target terminal device is currently located is determined, and the current building includes:
[0215] According to the association relationship, the building associated with the current identifier is determined as the current building.
[0216] In one embodiment of the present specification, the buildings associated with the current identification include at least two buildings;
[0217] The association relationship acquisition device 7000 may further include:
[0218] It is used to obtain the current scanning position corresponding to the current identification, and also to determine the module of the current building according to the current scanning position.
[0219] In one embodiment of the present specification, the current identification includes a plurality of identifications;
[0220] According to the current identification and association relationship, the building where the target terminal is currently located is determined, and the current building includes:
[0221] According to the association relationship, determine the buildings associated with the multiple current identifiers as candidate buildings;
[0222] From the candidate buildings, the building with the largest number of associated current identifiers is selected as the current building.
[0223] Those skilled in the art should understand that the association relationship acquisition device 7000 can be implemented in various ways. For example, the association relationship acquisition device 7000 can be implemented by configuring the processor with instructions. For example, the instructions can be stored in a ROM, and when the device is started, the instructions are read from the ROM into a programmable device to implement the association relationship acquisition device 7000. For example, the association relationship acquisition device 7000 can be solidified into a dedicated device (such as an ASIC). The association relationship acquisition device 7000 can be divided into independent units, or they can be combined together for implementation. The association relationship acquisition device 7000 can be implemented by one of the various implementations described above, or can be implemented by a combination of two or more of the various implementations described above.
[0224] In this embodiment, the association relationship acquisition device 7000 can have multiple implementation forms. For example, the association relationship acquisition device 7000 can be a functional module running in any software product or application that provides information processing functions, or it can be a peripheral embedded component, plug-in, patch, etc. of these software products or applications, or it can also be these software products or applications themselves.
[0225] Through the embodiments of the present specification, the association relationship between the identifier of the short-range communication signal and the building can be obtained based on the identifier of the short-range communication signal scanned by the terminal device and the scanning position of the terminal device. There is no need to judge whether the scanning position of the terminal device is indoors or outdoors, and there is no need to manually associate the identifier of the short-range communication signal and the building. In this way, labor costs can be reduced and the progress of obtaining the association relationship can be accelerated.
[0226] <Server Implementation>
[0227] The present invention also provides a server 8000. The server 8000 may be as follows Figure 1 Server 1100 shown in .
[0228] In an example, the server 8000 may include the association relationship acquisition device 7000 provided in the aforementioned embodiment, which is used to execute the association relationship acquisition method of any embodiment of the present invention.
[0229] In another example, Figure 8 As shown, the server 8000 may further include a processor 8100 and a memory 8200, wherein the memory 8200 is used to store a computer program; the computer program is used to control the processor 8100 to execute the method for obtaining the association relationship of any embodiment of the present invention.
[0230] Through the embodiments of the present specification, the association relationship between the identifier of the short-range communication signal and the building can be obtained based on the identifier of the short-range communication signal scanned by the terminal device and the scanning position of the terminal device. There is no need to judge whether the scanning position of the terminal device is indoors or outdoors, and there is no need to manually associate the identifier of the short-range communication signal and the building. In this way, labor costs can be reduced and the progress of obtaining the association relationship can be accelerated.
[0231] <System Embodiment>
[0232] The present invention further provides a system for acquiring an association relationship, comprising a terminal device and a server provided according to the aforementioned embodiment of the present invention. The terminal device is configured as follows:
[0233] Scanning a short-range communication signal, and obtaining an identifier of the short-range communication signal and a corresponding scanning position;
[0234] An identification of the short-range communication signal and a corresponding scanning location are provided to a server.
[0235] Through the embodiments of the present specification, the association relationship between the identifier of the short-range communication signal and the building can be obtained based on the identifier of the short-range communication signal scanned by the terminal device and the scanning position of the terminal device. There is no need to judge whether the scanning position of the terminal device is indoors or outdoors, and there is no need to manually associate the identifier of the short-range communication signal and the building. In this way, labor costs can be reduced and the progress of obtaining the association relationship can be accelerated.
[0236] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.
[0237] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0238] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0239] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or second code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.
[0240] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.
[0241] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0242] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0243] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0244] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.
Claims
1. A method for obtaining an association relationship, comprising: Obtaining an identifier of a short-range communication signal scanned by a terminal device and a scanning position of the terminal device; Determining a coverage area of the identification according to the scanning position; Determining a building corresponding to the identification according to the coverage area of the identification, wherein the coverage area of the building at least partially overlaps with the coverage area of the identification; Determining an association relationship between the identifier and the building according to a coverage area of the identifier and a coverage area of the building; The building comprises a plurality of buildings; Determining the association relationship between the identifier and the building according to the coverage area of the identifier and the coverage area of the building includes: Obtaining distribution areas of the multiple buildings according to the coverage areas of the multiple buildings; Based on a preset neural network, an association relationship between the identifier and the building to be associated is obtained according to the coverage area of the identifier, the distribution areas of the multiple buildings, and the coverage area of the building to be associated; wherein the building to be associated is any one of the multiple buildings; The step of obtaining the association relationship between the identifier and the building to be associated based on the preset neural network according to the coverage area of the identifier, the distribution areas of the multiple buildings, and the coverage area of the building to be associated includes: Taking a preset geographical unit as a pixel point, determining a first picture representing the coverage area of the mark, a second picture representing the distribution area of the plurality of buildings, and a third picture representing the coverage area of the building to be associated; Based on the neural network, obtaining the association relationship between the identifier and the building to be associated according to the first picture, the second picture and the third picture respectively; Also includes: Acquire signal information of geographical units included in the identified coverage area, and record the signal information of geographical units included in the identified coverage area into the first picture; The signal information includes the number of corresponding scanning positions and / or the average value of the short-range communication signal strength of the marker.
2. The method according to claim 1, wherein determining the coverage area of the marker according to the scanning position comprises: Clustering the scanning positions corresponding to the identifiers to obtain position sets; wherein the number of the position sets is the same as the number of short-range communication signals corresponding to the identifiers; According to the scanning positions included in the position set, obtaining a signal coverage area corresponding to the position set; The identified coverage area is determined according to the signal coverage area corresponding to the location set.
3. The method according to claim 2, wherein obtaining a signal coverage area corresponding to the position set according to the scanning position included in the position set comprises: determining a center of the scanning position included in the position set; determining a transmission distance of the short-range communication signal; A signal coverage area corresponding to the location set is determined according to the center and the transmission distance corresponding to the location set.
4. The method according to any one of claims 1 to 3, further comprising: In response to a positioning request issued by a target terminal device, obtaining a current identifier of a short-range communication signal scanned by the target terminal device when issuing the positioning request; Determine, according to the current identifier and the association relationship, the building in which the target terminal device is currently located as the current building; The current location of the target terminal device is determined according to the location information of the current building.
5. The method of claim 4, wherein the current identifier comprises an identifier; The determining, according to the current identifier and the association relationship, the building in which the target terminal device is currently located as the current building includes: According to the association relationship, a building associated with the current identifier is determined as the current building.
6. The method according to claim 5, wherein the building associated with the current identification comprises at least two buildings; The method further comprises: A current scanning position corresponding to the current identifier is obtained, so as to determine the current building according to the current scanning position.
7. The method according to claim 4, wherein the current identification comprises a plurality of identifications; The determining, according to the current identifier and the association relationship, the building in which the target terminal is currently located as the current building includes: According to the association relationship, determine the buildings associated with the multiple current identifiers as candidate buildings; From the candidate buildings, a building with the largest number of associated current identifiers is selected as the current building.
8. A device for acquiring an association relationship, comprising: An information acquisition module, used to acquire an identifier of a short-range communication signal scanned by a terminal device and a scanning position of the terminal device; An area determination module, used to determine the coverage area of the mark according to the scanning position; A building determination module, configured to determine a building corresponding to the identification according to a coverage area of the identification, wherein the coverage area of the building at least partially overlaps with the coverage area of the identification; A relationship determination module, used to determine the association relationship between the identifier and the building according to the coverage area of the identifier and the coverage area of the building; The building comprises a plurality of buildings; Determining the association relationship between the identifier and the building according to the coverage area of the identifier and the coverage area of the building includes: Obtaining distribution areas of the multiple buildings according to the coverage areas of the multiple buildings; Based on a preset neural network, an association relationship between the identifier and the building to be associated is obtained according to the coverage area of the identifier, the distribution areas of the multiple buildings, and the coverage area of the building to be associated; wherein the building to be associated is any one of the multiple buildings; The step of obtaining the association relationship between the identifier and the building to be associated based on the preset neural network according to the coverage area of the identifier, the distribution areas of the multiple buildings, and the coverage area of the building to be associated includes: Taking a preset geographical unit as a pixel point, determining a first picture representing the coverage area of the mark, a second picture representing the distribution area of the plurality of buildings, and a third picture representing the coverage area of the building to be associated; Based on the neural network, obtaining the association relationship between the identifier and the building to be associated according to the first picture, the second picture and the third picture respectively; Also includes: Acquire signal information of geographical units included in the identified coverage area, and record the signal information of geographical units included in the identified coverage area into the first picture; The signal information includes the number of corresponding scanning positions and / or the average value of the short-range communication signal strength of the marker.
9. A server, comprising: The device as claimed in claim 8, or A processor and a memory, wherein the memory is used to store an executable computer program, and the computer program is used to control the processor to execute the method according to any one of claims 1 to 7.
10. A system for acquiring association relationships, comprising a terminal device and the server according to claim 9; The terminal device is configured as follows: Scanning a short-range communication signal, and obtaining an identifier of the short-range communication signal and a corresponding scanning position; The identification and the corresponding scan location are provided to the server.
