[go: up one dir, main page]

CN106211321B - For the method and apparatus for the positional information for determining user equipment - Google Patents

For the method and apparatus for the positional information for determining user equipment Download PDF

Info

Publication number
CN106211321B
CN106211321B CN201610606115.4A CN201610606115A CN106211321B CN 106211321 B CN106211321 B CN 106211321B CN 201610606115 A CN201610606115 A CN 201610606115A CN 106211321 B CN106211321 B CN 106211321B
Authority
CN
China
Prior art keywords
location information
access point
wireless access
user equipment
access points
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610606115.4A
Other languages
Chinese (zh)
Other versions
CN106211321A (en
Inventor
张健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zongzhang Technology Group Co.,Ltd.
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201610606115.4A priority Critical patent/CN106211321B/en
Publication of CN106211321A publication Critical patent/CN106211321A/en
Application granted granted Critical
Publication of CN106211321B publication Critical patent/CN106211321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/003Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请的目的是提供一种用于确定用户设备的位置信息的方法与设备。与现有技术相比,本申请通过获取第一用户设备扫描所得的多个第一无线接入点,然后确定所述多个第一无线接入点对应的多个候选位置信息,进而根据所述多个候选位置信息确定所述第一用户设备的位置信息。这种通过用户设备扫描到的多个无线接入点对用户设备进行定位的方式,无论该设备的定位客户端是否定位成功,都能够随时获得该设备的位置信息,而且,还可以在定位客户端定位失败或出现缓存的时候,实现对设备的定位或位置纠错。

The purpose of the present application is to provide a method and device for determining location information of a user equipment. Compared with the prior art, the present application obtains multiple first wireless access points scanned by the first user equipment, and then determines multiple candidate location information corresponding to the multiple first wireless access points, and then according to the Determine the location information of the first user equipment by using the plurality of candidate location information. This method of locating the user equipment through multiple wireless access points scanned by the user equipment can obtain the location information of the equipment at any time regardless of whether the positioning client of the equipment is positioned successfully. When the terminal positioning fails or cache occurs, the positioning or position error correction of the device is realized.

Description

用于确定用户设备的位置信息的方法与设备Method and device for determining location information of user equipment

技术领域technical field

本申请涉及计算机领域,尤其涉及一种用于确定用户设备的位置信息技术。The present application relates to the field of computers, and in particular to a technology for determining location information of user equipment.

背景技术Background technique

现有技术中,对于用户设备的定位往往通过设备本身的定位装置或者借助于当前的热点、基站的位置等进行定位,但是存在定位失败、耗时的问题,另外,对于部分使用了位置缓存的定位客户端,当用户设备位置发生变动时,得到的定位信息会不准,因此,如何更准确的实现用户设备的定位成为一个亟待解决的问题。In the prior art, the positioning of the user equipment is usually performed through the positioning device of the equipment itself or by means of the current hotspot, the location of the base station, etc., but there are problems of positioning failure and time-consuming. In addition, for some locations that use location caching For the positioning client, when the location of the user equipment changes, the obtained positioning information will be inaccurate. Therefore, how to realize the positioning of the user equipment more accurately becomes an urgent problem to be solved.

发明内容Contents of the invention

本申请的目的是提供一种用于确定用户设备的位置信息的方法与设备。The purpose of the present application is to provide a method and device for determining location information of a user equipment.

根据本申请的一个方面,提供了一种用于确定用户设备的位置信息的方法,其中,该方法包括:According to one aspect of the present application, a method for determining location information of a user equipment is provided, wherein the method includes:

获取第一用户设备扫描所得的多个第一无线接入点;Acquiring multiple first wireless access points scanned by the first user equipment;

确定所述多个第一无线接入点对应的多个候选位置信息;determining a plurality of candidate location information corresponding to the plurality of first wireless access points;

根据所述多个候选位置信息确定所述第一用户设备的位置信息。Determine location information of the first user equipment according to the plurality of candidate location information.

根据本申请的另一方面,还提供了一种用于确定用户设备的位置信息的设备,其中,该设备包括:According to another aspect of the present application, a device for determining location information of a user equipment is also provided, wherein the device includes:

第一装置,用于获取第一用户设备扫描所得的多个第一无线接入点;The first device is configured to acquire a plurality of first wireless access points scanned by the first user equipment;

第二装置,用于确定所述多个第一无线接入点对应的多个候选位置信息;The second device is configured to determine a plurality of candidate location information corresponding to the plurality of first wireless access points;

第三装置,用于根据所述多个候选位置信息确定所述第一用户设备的位置信息。The third means is configured to determine the location information of the first user equipment according to the plurality of pieces of candidate location information.

与现有技术相比,本申请通过获取第一用户设备扫描所得的多个第一无线接入点,然后确定所述多个第一无线接入点对应的多个候选位置信息,进而根据所述多个候选位置信息确定所述第一用户设备的位置信息。这种通过用户设备扫描到的多个无线接入点对用户设备进行定位的方式,无论该设备的定位客户端是否定位成功,都能够随时获得该设备的位置信息,而且,还可以在定位客户端定位失败或出现缓存的时候,实现对设备的定位或位置纠错。Compared with the prior art, the present application obtains multiple first wireless access points scanned by the first user equipment, and then determines multiple candidate location information corresponding to the multiple first wireless access points, and then according to the Determine the location information of the first user equipment by using the plurality of candidate location information. This way of locating the user equipment through multiple wireless access points scanned by the user equipment can obtain the location information of the equipment at any time regardless of whether the positioning client of the equipment is successfully located. When the terminal positioning fails or cache occurs, the positioning or position error correction of the device is realized.

而且,本申请还可以确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组,其中,每个接入点扫描组由第二用户设备扫描所得的一个或多个第二无线接入点组成,并且每个接入点扫描组构成的第二向量与所述多个第一无线接入点构成的第一向量间的向量距离小于或等于预定的向量距离阈值,后根据所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置确定所述多个第一无线接入点对应的多个候选位置信息。这种使第二向量与第一向量间的向量距离小于或等于预定的向量距离阈值的方式,能够更精确的确定所述多个第一无线接入点对应的多个候选位置信息,从而使用户设备的定位更准确。Moreover, the present application may also determine one or more access point scan groups that match the plurality of first wireless access points, where each access point scan group is one or more scan groups scanned by the second user equipment. It consists of a plurality of second wireless access points, and the vector distance between the second vector formed by each access point scan group and the first vector formed by the plurality of first wireless access points is less than or equal to a predetermined vector distance The threshold value, and then determine a plurality of candidate location information corresponding to the plurality of first wireless access points according to the scanning positions corresponding to each access point scanning group in the one or more access point scanning groups. This method of making the vector distance between the second vector and the first vector less than or equal to the predetermined vector distance threshold can more accurately determine the plurality of candidate location information corresponding to the plurality of first wireless access points, so that The positioning of the user equipment is more accurate.

此外,本申请还可以确定与所述第一用户设备的位置信息相匹配的应用信息,然后将所述应用信息提供至所述第一用户设备。这种方式,在确定了第一用户设备的位置信息后,可以基于该位置信息为该设备匹配相应的应用信息,例如,与该设备的位置信息相匹配的广告信息或者与该设备的位置信息相匹配的目标无线接入点的相关信息等等。In addition, the present application may also determine application information that matches the location information of the first user equipment, and then provide the application information to the first user equipment. In this way, after the location information of the first user device is determined, the device can be matched with corresponding application information based on the location information, for example, advertisement information that matches the location information of the device or information that matches the location information of the device. Information about the matching target wireless access point and so on.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1示出根据本申请一个方面的一种用于确定用户设备的位置信息的方法流程图;FIG. 1 shows a flowchart of a method for determining location information of a user equipment according to an aspect of the present application;

图2示出根据本申请一个优选实施例的一种用于确定用户设备的位置信息的方法流程图;FIG. 2 shows a flowchart of a method for determining location information of a user equipment according to a preferred embodiment of the present application;

图3示出根据本申请另一个方面的一种用于确定用户设备的位置信息的设备示意图;Fig. 3 shows a schematic diagram of a device for determining location information of a user equipment according to another aspect of the present application;

图4示出根据本申请另一个优选实施例的一种用于确定用户设备的位置信息的设备示意图。Fig. 4 shows a schematic diagram of a device for determining location information of a user equipment according to another preferred embodiment of the present application.

附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numerals in the drawings represent the same or similar components.

具体实施方式Detailed ways

下面结合附图对本发明作进一步详细描述。The present invention will be described in further detail below in conjunction with the accompanying drawings.

在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input/output interfaces, network interfaces and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flashRAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer-readable media, in the form of random access memory (RAM) and/or nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM). Memory is an example of computer readable media.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes non-transitory computer-readable media, such as modulated data signals and carrier waves.

为更进一步阐述本申请所采取的技术手段及取得的效果,下面结合附图及较佳实施例,对本申请的技术方案,进行清楚和完整的描述。In order to further explain the technical means adopted by the present application and the achieved effects, the technical solutions of the present application will be clearly and completely described below in conjunction with the accompanying drawings and preferred embodiments.

图1示出本申请一个方面提供的一种用于确定用户设备的位置信息的方法,其中,该方法包括:FIG. 1 shows a method for determining location information of a user equipment provided by an aspect of the present application, where the method includes:

S1获取第一用户设备扫描所得的多个第一无线接入点;S1 acquires multiple first wireless access points scanned by the first user equipment;

S2确定所述多个第一无线接入点对应的多个候选位置信息;S2 determines a plurality of candidate location information corresponding to the plurality of first wireless access points;

S3根据所述多个候选位置信息确定所述第一用户设备的位置信息。S3 Determine location information of the first user equipment according to the multiple pieces of candidate location information.

在该实施例中,在所述步骤S1中,设备1获取第一用户设备扫描所得的多个第一无线接入点,在此,所述设备1包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云;其中,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个虚拟超级计算机;在此,所述设备1还可以包括但不限于任何一种可与用户通过触摸板进行人机交互的移动终端,例如智能手机、平板电脑等,所述移动电子产品可以采用任意操作系统,如android操作系统、iOS操作系统等。具体地,当所述设备1为第一用户设备时,可以通过自身的扫描装置来扫描获取多个第一无线接入点;当所述设备1为服务器时,可以通过与第一用户设备之间建立的无线连接、基于各自的通信协议来获取第一用户设备扫描所得的多个第一无线接入点。优选地,其中,所述第一无线接入点被所述第一用户设备扫描到的无线信号强度等于或大于预定的无线信号强度阈值。本领域的技术人员应能理解,与用户设备距离越近的无线接入点的信号强度越大,因此,当限定所述第一用户设备扫描到的无线信号强度等于或大于预定的无线信号强度阈值能够更好的提高定位精度。In this embodiment, in the step S1, the device 1 acquires multiple first wireless access points scanned by the first user equipment, where the device 1 includes but not limited to a computer, a network host, a single network A server, multiple network server sets, or a cloud composed of multiple servers; among them, the cloud is composed of a large number of computers or network servers based on cloud computing (Cloud Computing), among which cloud computing is a kind of distributed computing, consisting of a group of loosely coupled A virtual supercomputer composed of computer sets; here, the device 1 may also include but not limited to any mobile terminal that can interact with the user through a touch panel, such as a smart phone, a tablet computer, etc., the Mobile electronic products can use any operating system, such as android operating system, iOS operating system and so on. Specifically, when the device 1 is a first user device, it can scan and obtain multiple first wireless access points through its own scanning device; Obtain the multiple first wireless access points scanned by the first user equipment based on the wireless connections established between them based on their respective communication protocols. Preferably, the wireless signal strength of the first wireless access point scanned by the first user equipment is equal to or greater than a predetermined wireless signal strength threshold. Those skilled in the art should understand that the signal strength of the wireless access point closer to the user equipment is greater, therefore, when the wireless signal strength scanned by the first user equipment is limited to be equal to or greater than the predetermined wireless signal strength The threshold can better improve the positioning accuracy.

继续在该实施例中,在所述步骤S2中,设备1确定所述多个第一无线接入点对应的多个候选位置信息,具体地,当所述设备1为第一用户设备时,可以通过设备1的历史记录信息来确定所述多个第一无线接入点对应的多个候选位置信息,例如,当所述多个第一无线接入点为所述第一用户设备之前扫描过的历史无线接入点,而且所述第一用户设备保存过该多个第一无线接入点的位置信息时,可以根据该保存信息确定所述多个第一无线接入点对应的多个候选位置信息;当设备1为服务器时,设备1可以在服务器的记录中查询所述多个第一无线接入点的位置信息,当所述第一无线接入点的位置信息有多个时,可以将该多个位置信息的均值确定为所述第一无线接入点对应的候选位置信息,例如,第一无线接入点为热点1,用户设备1、用户设备2和用户设备3分别上传了所述热点1的位置信息,则设备1可以将这些位置信息的均值确定为所述热点1的候选位置信息。优选地,其中所述步骤S2包括:设备1根据所述第一无线接入点在接入点信息库中匹配查询确定所述多个第一无线接入点对应的多个候选位置信息,其中,所述接入点信息库存储有无线接入点及对应的接入点位置信息。具体地,可以通过所述第一无线接入点的相关信息,例如第一无线接入点的名称信息在所述接入点信息库中匹配查询以确定所述多个第一无线接入点对应的多个候选位置信息。更优选地,其中,所述接入点信息库是根据第二用户设备扫描所得的一个或多个第二无线接入点及对应的扫描位置信息来建立或更新的。在此,其中,所述第二用户设备包括定位成功的用户设备,所述第二用户设备可以获取所述一个或多个第二无线接入点的扫描位置信息,具体地,所述第二用户设备将扫描所得的一个或多个第二无线接入点及对应的扫描位置信息发送至所述设备1,以供设备1建立或更新所述接入点信息库。更优选地,其中,所述接入点信息库的建立或更新包括:若所述接入点信息库已包括所述第二无线接入点的记录,则将所述扫描位置信息添加至所述第二无线接入点的记录;否则,在所述接入点信息库中添加所述第二无线接入点的记录,其中,所述第二无线接入点的记录包括所述扫描位置信息。具体地,不同的第二用户设备确定的所述第二无线接入点的扫描位置信息可能是不同的,因此,可以将所述不同的第二用户设备确定的所述第二无线接入点的不同的扫描位置信息都添加至所述第二无线接入点的记录,即若所述接入点信息库已包括所述第二无线接入点的记录,则将所述扫描位置信息添加至所述第二无线接入点的记录;而当所述接入点信息库未包括所述第二无线接入点的记录,直接在所述接入点信息库中添加所述第二无线接入点的记录。Continuing in this embodiment, in the step S2, the device 1 determines a plurality of candidate location information corresponding to the plurality of first wireless access points, specifically, when the device 1 is a first user equipment, The multiple candidate location information corresponding to the multiple first wireless access points may be determined through the historical record information of the device 1, for example, when the multiple first wireless access points are scanned by the first user equipment When the first user equipment has saved the location information of the multiple first wireless access points, it may determine the multiple locations corresponding to the multiple first wireless access points according to the stored information. Candidate location information; when device 1 is a server, device 1 can query the location information of the multiple first wireless access points in the server record, when the location information of the first wireless access point has multiple , the average value of the plurality of location information can be determined as the candidate location information corresponding to the first wireless access point, for example, the first wireless access point is hotspot 1, and user equipment 1, user equipment 2, and user equipment 3 After the location information of the hot spot 1 is uploaded, the device 1 may determine the mean value of the location information as the candidate location information of the hot spot 1 . Preferably, the step S2 includes: the device 1 determines a plurality of candidate location information corresponding to the plurality of first wireless access points according to the matching query of the first wireless access point in the access point information database, wherein , the access point information library stores wireless access points and corresponding access point location information. Specifically, related information of the first wireless access point, such as name information of the first wireless access point, may be used to match a query in the access point information database to determine the plurality of first wireless access points Corresponding multiple candidate location information. More preferably, the access point information database is established or updated according to one or more second wireless access points scanned by the second user equipment and corresponding scanning location information. Here, where the second user equipment includes a successfully positioned user equipment, the second user equipment may obtain scanning location information of the one or more second wireless access points, specifically, the second The user equipment sends the scanned one or more second wireless access points and corresponding scanned location information to the device 1, so that the device 1 establishes or updates the access point information database. More preferably, the establishment or update of the access point information library includes: if the access point information library already includes the record of the second wireless access point, adding the scanning location information to the Otherwise, add the record of the second wireless access point to the access point information database, wherein the record of the second wireless access point includes the scanning position information. Specifically, the scanning location information of the second wireless access point determined by different second user equipments may be different, therefore, the second wireless access point determined by the different second user equipments may be The different scanning location information is added to the record of the second wireless access point, that is, if the access point information base already includes the record of the second wireless access point, the scanning location information is added to to the record of the second wireless access point; and when the access point information database does not include the record of the second wireless access point, directly add the second wireless access point to the access point information database Access point records.

优选地,其中,所述步骤S2包括:S21(未示出)设备1确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组,其中,每个接入点扫描组由第二用户设备扫描所得的一个或多个第二无线接入点组成并包含至少一个所述第一无线接入点;S22(未示出)设备1根据所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置确定所述多个第一无线接入点对应的多个候选位置信息。在所述步骤S21中,例如,所述多个第一无线接入点分别为AP1、AP2、AP3,则可以确定与第一无线接入点AP1相匹配的一个或多个接入点扫描组,例如,扫描组(AP1、AP2、AP4)、(AP1、AP2、AP5)或者扫描组(AP1、AP3、AP6)等等,其中,与所述多个第一无线接入点最匹配的接入点扫描组为(AP1、AP2、AP3)。本领域的技术人员应能理解,所述扫描组仅为举例,在此,所述扫描组中的接入点的个数并不限定。具体地,设备1可以根据所述多个第一无线接入点的名称和MAC信息在接入点信息库中确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组。更优选地,其中,所述步骤S21包括:确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组,其中,每个接入点扫描组由第二用户设备扫描所得的一个或多个第二无线接入点组成,并且每个接入点扫描组构成的第二向量与所述多个第一无线接入点构成的第一向量间的向量距离小于或等于预定的向量距离阈值。在此,所述接入点扫描组可以用向量的形式表示,例如,所述多个第一无线接入点构成的第一向量为(AP1、AP2、AP3、AP4、AP5、AP6),所述第二用户设备扫描所得接入点扫描组一为(AP1、AP2、AP7、AP8、AP9、AP10)或者扫描组二为(AP1、AP2、AP3、AP7、AP8、AP9)或者扫描组三为(AP1、AP2、AP3、AP4、AP7、AP8)等等,则可以确定扫描组三构成的第二向量与所述多个第一无线接入点构成的第一向量间的向量距离是最小的,其次是扫描组二,因此,可以根据预设的向量距离阈值来确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组。更优选地,其中,所述第一向量或所述第二向量中各分量按分量所对应无线接入点被扫描到的无线信号强度顺序排列。例如,所述第一向量为(AP1、AP2、AP3、AP4),所述第一向量中的多个第一无线接入点可以按照无线信号强度递减的顺序排列,例如,AP1的信号强度>AP2的信号强度>AP3的信号强度>AP4的信号强度,或者按照多个第一无线接入点可以按照无线信号强度递增的顺序排列。在所述步骤S22中,设备1根据所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置确定所述多个第一无线接入点对应的多个候选位置信息。具体地,所述设备1可以先确定所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置,例如,可以将每个扫描组中多个无线接入点的位置信息的均值作为扫描组对应的扫描位置,或者是将多个无线接入点的位置信息加权之后的均值作为扫描组对应的扫描位置,并将与所述多个第一无线接入点匹配的接入点扫描组对应的扫描位置确定为所述多个第一无线接入点的多个候选位置信息,例如,多个第一无线接入点分别为AP1、AP2、AP3,与第一无线接入点AP1相匹配的一个或多个接入点扫描组为(AP1、AP2、AP4),则可以将无线接入点AP1、AP2、AP4的位置信息的均值作为第一无线接入点AP1的候选位置信息,或者,将无线接入点AP1、AP2、AP4的位置信息加权之后的均值作为第一无线接入点AP1的候选位置信息,例如,可以按照无线接入点的信号强度来确定权重,如信号强度大的权重大等等。例如,接入点扫描组为(AP1、AP2、AP3、AP4),且AP1的信号强度>AP2的信号强度>AP3的信号强度>AP4的信号强度,则相应的权重值可以设定为0.6、0.2、0.1、01,只要将无线接入点AP1、AP2、AP3、AP4的位置信息与对应的权重值相乘并求和即可确定该接入点扫描组的扫描位置,在此,本领域的技术人员应能理解,所述接入点扫描组及相应的无线接入点对应的权重值仅为举例,其他现有的或今后可能出现的接入点扫描组及相应的无线接入点对应的权重值如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。Preferably, the step S2 includes: S21 (not shown) The device 1 determines one or more scan groups of access points matching the plurality of first wireless access points, wherein each access point The point scanning group is composed of one or more second wireless access points scanned by the second user equipment and includes at least one of the first wireless access points; S22 (not shown) the device 1 according to the one or more The scanning positions corresponding to the access point scanning groups in the access point scanning groups determine the plurality of candidate position information corresponding to the plurality of first wireless access points. In the step S21, for example, the plurality of first wireless access points are AP1, AP2, and AP3 respectively, then one or more access point scan groups matching the first wireless access point AP1 can be determined , for example, scan group (AP1, AP2, AP4), (AP1, AP2, AP5) or scan group (AP1, AP3, AP6) and so on, wherein, the most matching access points with the plurality of first wireless access points The in-point scanning group is (AP1, AP2, AP3). Those skilled in the art should understand that the scanning group is only an example, and here, the number of access points in the scanning group is not limited. Specifically, device 1 may determine one or more access points that match the multiple first wireless access points in the access point information database according to the names and MAC information of the multiple first wireless access points. Click Scan Group. More preferably, wherein, the step S21 includes: determining one or more access point scanning groups matching the plurality of first wireless access points, wherein each access point scanning group is provided by the second user The device scans one or more second wireless access points, and the vector distance between the second vector formed by each access point scan group and the first vector formed by the plurality of first wireless access points is less than or equal to a predetermined vector distance threshold. Here, the access point scan group may be expressed in the form of a vector, for example, the first vector formed by the plurality of first wireless access points is (AP1, AP2, AP3, AP4, AP5, AP6), so The scan group one of the access points scanned by the second user equipment is (AP1, AP2, AP7, AP8, AP9, AP10) or the scan group two is (AP1, AP2, AP3, AP7, AP8, AP9) or the scan group three is (AP1, AP2, AP3, AP4, AP7, AP8) and so on, it can be determined that the vector distance between the second vector formed by scan group three and the first vector formed by the plurality of first wireless access points is the smallest , followed by scanning group 2, therefore, one or more scanning groups of access points matching the plurality of first wireless access points may be determined according to a preset vector distance threshold. More preferably, the components in the first vector or the second vector are arranged in the order of the wireless signal strengths of the scanned wireless access points corresponding to the components. For example, the first vector is (AP1, AP2, AP3, AP4), and the multiple first wireless access points in the first vector may be arranged in descending order of wireless signal strength, for example, the signal strength of AP1 > The signal strength of AP2>the signal strength of AP3>the signal strength of AP4, or the multiple first wireless access points may be arranged in ascending order of wireless signal strength. In the step S22, the device 1 determines a plurality of candidate location information corresponding to the plurality of first wireless access points according to the scanning position corresponding to each access point scanning group in the one or more access point scanning groups . Specifically, the device 1 may first determine the scanning position corresponding to each access point scanning group in the one or more access point scanning groups, for example, the positions of multiple wireless access points in each scanning group may be The average value of the information is used as the scanning position corresponding to the scanning group, or the average value after weighting the position information of multiple wireless access points is used as the scanning position corresponding to the scanning group, and the The scanning position corresponding to the access point scanning group is determined as a plurality of candidate position information of the plurality of first wireless access points, for example, the plurality of first wireless access points are respectively AP1, AP2, and AP3, and the first wireless access point One or more access point scan groups matched by access point AP1 are (AP1, AP2, AP4), then the mean value of the location information of wireless access points AP1, AP2, and AP4 can be used as the first wireless access point AP1 Alternatively, the weighted average of the location information of the wireless access points AP1, AP2, and AP4 is used as the candidate location information of the first wireless access point AP1, for example, it can be determined according to the signal strength of the wireless access point Weight, such as the weight of the signal strength is greater, and so on. For example, the access point scanning group is (AP1, AP2, AP3, AP4), and the signal strength of AP1 > the signal strength of AP2 > the signal strength of AP3 > the signal strength of AP4, then the corresponding weight value can be set to 0.6, 0.2, 0.1, 01, as long as the position information of the wireless access points AP1, AP2, AP3, AP4 is multiplied and summed to determine the scanning position of the access point scanning group, here, in the art Those skilled in the art should be able to understand that the weight values corresponding to the access point scan groups and corresponding wireless access points are only examples, and other existing or future access point scan groups and corresponding wireless access points If the corresponding weight value is applicable to the present application, it should also be included in the protection scope of the present application, and is included here by reference.

继续在该实施例中,在所述步骤S3中,设备1根据所述多个候选位置信息确定所述第一用户设备的位置信息,具体地,设备1可以将所述多个候选位置信息的均值确定所述第一用户设备的位置信息。Continuing in this embodiment, in the step S3, the device 1 determines the location information of the first user equipment according to the plurality of candidate location information, specifically, the device 1 may combine the plurality of candidate location information The mean value determines the location information of the first user equipment.

在一个优选的实施例中,参图2所示,其中,图2中的步骤S1'、S2'、与图1实施例中的步骤S1、S2相同或基本相同,故在此不再赘述,仅以引用的方式包含于此。优选地,其中,所述步骤S3'包括:S31'(未示出)设备1对所述多个候选位置信息进行聚类处理,得到一个或多个聚类,其中,每个聚类包含一个或多个所述候选位置信息;S32'(未示出)设备1根据包含最多数量的所述候选位置信息的所述聚类确定所述第一用户设备的位置信息。在该实施例中,在所述步骤S31'中,设备1将所述多个候选位置信息中候选位置信息相同的或者距离小于预定阈值的候选位置信息进行聚类,即候选位置信息相同的或者距离小于预定阈值的可用合并到一组,进一步地,在所述步骤S32'中,设备1根据包含最多数量的所述候选位置信息的所述聚类确定所述第一用户设备的位置信息,例如,当聚类组中所述多个候选位置信息中候选位置信息相同,设备1可以将该候选位置信息确定为所述第一用户设备的位置信息,或者,当所述多个候选位置信息中候选位置信息不同时,可以将该聚类组中所述多个候选位置信息的均值确定为所述第一用户设备的位置信息。In a preferred embodiment, as shown in FIG. 2, the steps S1' and S2' in FIG. 2 are the same or basically the same as the steps S1 and S2 in the embodiment of FIG. 1, so no further details are given here. It is incorporated herein by reference only. Preferably, the step S3' includes: S31' (not shown) The device 1 clusters the plurality of candidate location information to obtain one or more clusters, wherein each cluster contains a or a plurality of candidate location information; S32' (not shown) The device 1 determines the location information of the first user equipment according to the cluster containing the largest number of candidate location information. In this embodiment, in the step S31', the device 1 clusters the candidate position information among the plurality of candidate position information with the same candidate position information or whose distance is smaller than a predetermined threshold, that is, the candidate position information with the same candidate position information or The available ones whose distance is smaller than the predetermined threshold are combined into one group. Further, in the step S32', the device 1 determines the location information of the first user equipment according to the cluster containing the largest number of the candidate location information, For example, when the candidate location information among the plurality of candidate location information in the clustering group is the same, device 1 may determine the candidate location information as the location information of the first user equipment, or, when the plurality of candidate location information When the candidate location information is different, an average value of the plurality of candidate location information in the clustering group may be determined as the location information of the first user equipment.

优选地,其中,所述步骤S3'包括:S33'设备1将所述多个候选位置信息归入对应的一个或多个位置区域;S34'设备1根据包含最多数量的所述候选位置信息的所述位置区域确定所述第一用户设备的位置信息。在该实施例中,在所述步骤S33'中,设备1将所述多个候选位置信息归入对应的一个或多个位置区域,例如,可以设定一个坐标网格,可以将所述多个候选位置信息归入对应的坐标网格内,其中,所述一个或多个位置区域与所述用户设备的位置精度信息相适应,例如,坐标网格的单位长度可以根据需要设定,例如,长和宽各100米的网格。进一步地,在所述步骤S34'中,设备1可以根据包含最多数量的所述候选位置信息的位置区域确定所述第一用户设备的位置信息,例如,可以将包含最多数量的所述候选位置信息的坐标网格的中心位置作为所述第一用户设备的位置信息,或者,将该网格内包含的多个候选位置信息的均值作为所述第一用户设备的位置信息。Preferably, the step S3' includes: S33' the device 1 classifies the plurality of candidate location information into corresponding one or more location areas; S34' the device 1 according to the The location area determines location information of the first user equipment. In this embodiment, in the step S33', the device 1 classifies the multiple candidate location information into one or more corresponding location areas, for example, a coordinate grid can be set, and the multiple Candidate location information is included in the corresponding coordinate grid, wherein the one or more location areas are adapted to the location accuracy information of the user equipment, for example, the unit length of the coordinate grid can be set as required, for example , a grid 100 meters long and 100 meters wide. Further, in the step S34', the device 1 may determine the location information of the first user equipment according to the location area containing the largest number of the candidate location information, for example, may include the largest number of the candidate location information The central position of the information coordinate grid is used as the position information of the first user equipment, or the mean value of multiple candidate position information contained in the grid is used as the position information of the first user equipment.

优选地,其中,所述步骤S3'包括:根据所述多个候选位置信息,以及各候选位置信息对应的所述第一无线接入点被扫描的无线信号强度,确定所述第一用户设备的位置信息。本领域的技术人员应能理解,与用户设备距离越近的无线接入点的信号强度越大,因此,可以对所述第一无线接入点根据信号强度进行加权平均以确定所述第一用户设备的位置信息,其中,信号强度越大对应的权重就越大,例如,可以将所述多个候选位置信息对应的所述第一无线接入点被扫描的无线信号强度的大小进行排序,并赋予不同的权重值,然后对所述多个候选位置信息根据不同的权重值取平均值作为所述第一用户设备的位置信息。例如,所述多个第一无线接入点分别为AP1、AP2、AP3、AP4,且AP1的信号强度>AP2的信号强度>AP3的信号强度>AP4的信号强度,可以设定AP1、AP2、AP3、AP4分别对应的权重值为0.5、0.2、0.2、01,因此,可以将所述AP1、AP2、AP3、AP4对应的候选位置分别与对应的权重值相乘求和,并将所得结果作为所述第一用户设备的位置信息。Preferably, the step S3' includes: determining the first user equipment according to the plurality of candidate location information and the scanned wireless signal strength of the first wireless access point corresponding to each candidate location information location information. Those skilled in the art should understand that the closer the wireless access point is to the user equipment, the greater the signal strength is. Therefore, the first wireless access point may be weighted and averaged according to the signal strength to determine the first wireless access point. The location information of the user equipment, where the greater the signal strength, the greater the weight, for example, the wireless signal strength of the first wireless access point corresponding to the plurality of candidate location information can be sorted , and give different weight values, and then take an average value of the plurality of candidate location information according to different weight values as the location information of the first user equipment. For example, the plurality of first wireless access points are AP1, AP2, AP3, and AP4 respectively, and the signal strength of AP1>the signal strength of AP2>the signal strength of AP3>the signal strength of AP4, it can be set that AP1, AP2, The weight values corresponding to AP3 and AP4 are 0.5, 0.2, 0.2, and 01 respectively. Therefore, the candidate positions corresponding to AP1, AP2, AP3, and AP4 can be multiplied and summed by the corresponding weight values, and the obtained results can be used as Location information of the first user equipment.

优选地,其中,所述方法还包括:S5'(未示出)设备1确定与所述第一用户设备的位置信息相匹配的应用信息;S6'(未示出)设备1将所述应用信息提供至所述第一用户设备。在该实施例中,在所述步骤S5'中,在所述第一用户设备的位置信息确定之后,设备1可以根据该位置信息为所述第一用户设备匹配对应的应用信息,例如,与该位置信息相匹配目标无线接入点的相关信息、与该位置信息相匹配的推送信息,如促销信息、广告信息等等,进一步地,在所述步骤S6'中,设备1基于与所述第一用户设备之间建立的无线连接、基于各自的通信协议,将所述应用信息提供至所述第一用户设备。Preferably, the method further includes: S5' (not shown) The device 1 determines the application information matching the location information of the first user equipment; S6' (Not shown) The device 1 converts the application Information is provided to the first user device. In this embodiment, in the step S5', after the location information of the first user equipment is determined, device 1 can match the corresponding application information for the first user equipment according to the location information, for example, with The location information matches the relevant information of the target wireless access point, and push information matching the location information, such as promotional information, advertisement information, etc., further, in the step S6', the device 1 based on the The wireless connections established between the first user equipments provide the application information to the first user equipments based on respective communication protocols.

与现有技术相比,本申请通过获取第一用户设备扫描所得的多个第一无线接入点,然后确定所述多个第一无线接入点对应的多个候选位置信息,进而根据所述多个候选位置信息确定所述第一用户设备的位置信息。这种通过用户设备扫描到的多个无线接入点对用户设备进行定位的方式,无论该设备的定位客户端是否定位成功,都能够随时获得该设备的位置信息,而且,还可以在定位客户端定位失败或出现缓存的时候,实现对设备的定位或位置纠错。Compared with the prior art, the present application obtains multiple first wireless access points scanned by the first user equipment, and then determines multiple candidate location information corresponding to the multiple first wireless access points, and then according to the Determine the location information of the first user equipment by using the plurality of candidate location information. This way of locating the user equipment through multiple wireless access points scanned by the user equipment can obtain the location information of the equipment at any time regardless of whether the positioning client of the equipment is successfully located. When the terminal positioning fails or cache occurs, the positioning or position error correction of the device is realized.

而且,本申请还可以确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组,其中,每个接入点扫描组由第二用户设备扫描所得的一个或多个第二无线接入点组成,并且每个接入点扫描组构成的第二向量与所述多个第一无线接入点构成的第一向量间的向量距离小于或等于预定的向量距离阈值,后根据所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置确定所述多个第一无线接入点对应的多个候选位置信息。这种使第二向量与第一向量间的向量距离小于或等于预定的向量距离阈值的方式,能够更精确的确定所述多个第一无线接入点对应的多个候选位置信息,从而使用户设备的定位更准确。Moreover, the present application may also determine one or more access point scan groups that match the plurality of first wireless access points, where each access point scan group is one or more scan groups scanned by the second user equipment. It consists of a plurality of second wireless access points, and the vector distance between the second vector formed by each access point scan group and the first vector formed by the plurality of first wireless access points is less than or equal to a predetermined vector distance The threshold value, and then determine a plurality of candidate location information corresponding to the plurality of first wireless access points according to the scanning positions corresponding to each access point scanning group in the one or more access point scanning groups. This method of making the vector distance between the second vector and the first vector less than or equal to the predetermined vector distance threshold can more accurately determine the plurality of candidate location information corresponding to the plurality of first wireless access points, so that The positioning of the user equipment is more accurate.

此外,本申请还可以确定与所述第一用户设备的位置信息相匹配的应用信息,然后将所述应用信息提供至所述第一用户设备。这种方式,在确定了第一用户设备的位置信息后,可以基于该位置信息为该设备匹配相应的应用信息,例如,与该设备的位置信息相匹配的广告信息或者与该设备的位置信息相匹配的目标无线接入点的相关信息等等。In addition, the present application may also determine application information that matches the location information of the first user equipment, and then provide the application information to the first user equipment. In this way, after the location information of the first user device is determined, the device can be matched with corresponding application information based on the location information, for example, advertisement information that matches the location information of the device or information that matches the location information of the device. Information about the matching target wireless access point and so on.

图3示出本申请一个方面提供的一种用于确定用户设备的位置信息的设备,其中,该设备包括:FIG. 3 shows a device for determining location information of a user equipment provided by an aspect of the present application, where the device includes:

第一装置,用于获取第一用户设备扫描所得的多个第一无线接入点;The first device is configured to acquire a plurality of first wireless access points scanned by the first user equipment;

第二装置,用于确定所述多个第一无线接入点对应的多个候选位置信息;The second device is configured to determine a plurality of candidate location information corresponding to the plurality of first wireless access points;

第三装置,用于根据所述多个候选位置信息确定所述第一用户设备的位置信息。The third means is configured to determine the location information of the first user equipment according to the plurality of pieces of candidate location information.

在该实施例中,所述设备1的第一装置获取第一用户设备扫描所得的多个第一无线接入点,在此,所述设备1包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云;其中,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个虚拟超级计算机;在此,所述设备1还可以包括但不限于任何一种可与用户通过触摸板进行人机交互的移动终端,例如智能手机、平板电脑等,所述移动电子产品可以采用任意操作系统,如android操作系统、iOS操作系统等。具体地,当所述设备1为第一用户设备时,可以通过自身的扫描装置来扫描获取多个第一无线接入点;当所述设备1为服务器时,可以通过与第一用户设备之间建立的无线连接、基于各自的通信协议来获取第一用户设备扫描所得的多个第一无线接入点。优选地,其中,所述第一无线接入点被所述第一用户设备扫描到的无线信号强度等于或大于预定的无线信号强度阈值。本领域的技术人员应能理解,与用户设备距离越近的无线接入点的信号强度越大,因此,当限定所述第一用户设备扫描到的无线信号强度等于或大于预定的无线信号强度阈值能够更好的提高定位精度。In this embodiment, the first means of the device 1 obtains multiple first wireless access points scanned by the first user equipment, where the device 1 includes but not limited to a computer, a network host, a single network server , multiple network server sets or a cloud composed of multiple servers; wherein, the cloud is composed of a large number of computers or network servers based on cloud computing (Cloud Computing), wherein cloud computing is a kind of distributed computing, consisting of a group of loosely coupled A virtual supercomputer composed of a computer set; here, the device 1 may also include but not limited to any mobile terminal that can interact with the user through a touch panel, such as a smart phone, a tablet computer, etc., the mobile terminal Electronic products can use any operating system, such as android operating system, iOS operating system, etc. Specifically, when the device 1 is a first user device, it can scan and obtain multiple first wireless access points through its own scanning device; Obtain the multiple first wireless access points scanned by the first user equipment based on the wireless connections established between them based on their respective communication protocols. Preferably, the wireless signal strength of the first wireless access point scanned by the first user equipment is equal to or greater than a predetermined wireless signal strength threshold. Those skilled in the art should understand that the signal strength of the wireless access point closer to the user equipment is greater, therefore, when the wireless signal strength scanned by the first user equipment is limited to be equal to or greater than the predetermined wireless signal strength The threshold can better improve the positioning accuracy.

继续在该实施例中,所述设备1的第二装置确定所述多个第一无线接入点对应的多个候选位置信息,具体地,当所述设备1为第一用户设备时,所述设备1的第二装置可以通过设备1的历史记录信息来确定所述多个第一无线接入点对应的多个候选位置信息,例如,当所述多个第一无线接入点为所述第一用户设备之前扫描过的历史无线接入点,而且所述第一用户设备保存过该多个第一无线接入点的位置信息时,可以根据该保存信息确定所述多个第一无线接入点对应的多个候选位置信息;当设备1为服务器时,所述设备1的第二装置可以在服务器的记录中查询所述多个第一无线接入点的位置信息,当所述第一无线接入点的位置信息有多个时,可以将该多个位置信息的均值确定为所述第一无线接入点对应的候选位置信息,例如,第一无线接入点为热点1,用户设备1、用户设备2和用户设备3分别上传了所述热点1的位置信息,则设备1可以将这些位置信息的均值确定为所述热点1的候选位置信息。优选地,其中所述第二装置用于:设备1根据所述第一无线接入点在接入点信息库中匹配查询确定所述多个第一无线接入点对应的多个候选位置信息,其中,所述接入点信息库存储有无线接入点及对应的接入点位置信息。具体地,所述第二装置可以通过所述第一无线接入点的相关信息,例如第一无线接入点的名称信息在所述接入点信息库中匹配查询以确定所述多个第一无线接入点对应的多个候选位置信息。更优选地,其中,所述接入点信息库是根据第二用户设备扫描所得的一个或多个第二无线接入点及对应的扫描位置信息来建立或更新的。在此,其中,所述第二用户设备包括定位成功的用户设备,所述第二用户设备可以获取所述一个或多个第二无线接入点的扫描位置信息,具体地,所述第二用户设备将扫描所得的一个或多个第二无线接入点及对应的扫描位置信息发送至所述设备1,以供设备1建立或更新所述接入点信息库。更优选地,其中,所述接入点信息库的建立或更新包括:若所述接入点信息库已包括所述第二无线接入点的记录,则将所述扫描位置信息添加至所述第二无线接入点的记录;否则,在所述接入点信息库中添加所述第二无线接入点的记录,其中,所述第二无线接入点的记录包括所述扫描位置信息。具体地,不同的第二用户设备确定的所述第二无线接入点的扫描位置信息可能是不同的,因此,可以将所述不同的第二用户设备确定的所述第二无线接入点的不同的扫描位置信息都添加至所述第二无线接入点的记录,即若所述接入点信息库已包括所述第二无线接入点的记录,则将所述扫描位置信息添加至所述第二无线接入点的记录;而当所述接入点信息库未包括所述第二无线接入点的记录,直接在所述接入点信息库中添加所述第二无线接入点的记录。Continuing in this embodiment, the second means of the device 1 determines a plurality of candidate location information corresponding to the plurality of first wireless access points, specifically, when the device 1 is a first user equipment, the The second means of the device 1 may determine the plurality of candidate location information corresponding to the plurality of first wireless access points according to the historical record information of the device 1, for example, when the plurality of first wireless access points are the When the historical wireless access points scanned by the first user equipment before, and the first user equipment has saved the location information of the multiple first wireless access points, the multiple first wireless access points may be determined according to the stored information. A plurality of candidate location information corresponding to the wireless access point; when the device 1 is a server, the second device of the device 1 may query the location information of the plurality of first wireless access points in the record of the server, when the When there is multiple location information of the first wireless access point, the average value of the multiple location information may be determined as the candidate location information corresponding to the first wireless access point, for example, the first wireless access point is a hotspot 1. User equipment 1, user equipment 2, and user equipment 3 respectively upload the location information of the hotspot 1, and the device 1 may determine the mean value of these location information as the candidate location information of the hotspot 1. Preferably, the second means is used for: the device 1 determines a plurality of candidate location information corresponding to the plurality of first wireless access points according to the matching query of the first wireless access point in the access point information database , wherein the access point information database stores wireless access points and corresponding access point location information. Specifically, the second device may use related information of the first wireless access point, such as name information of the first wireless access point, to match a query in the access point information database to determine the plurality of first wireless access points. A plurality of candidate location information corresponding to a wireless access point. More preferably, the access point information database is established or updated according to one or more second wireless access points scanned by the second user equipment and corresponding scanning location information. Here, where the second user equipment includes a successfully positioned user equipment, the second user equipment may obtain scanning location information of the one or more second wireless access points, specifically, the second The user equipment sends the scanned one or more second wireless access points and corresponding scanned location information to the device 1, so that the device 1 establishes or updates the access point information database. More preferably, the establishment or update of the access point information library includes: if the access point information library already includes the record of the second wireless access point, adding the scanning location information to the Otherwise, add the record of the second wireless access point to the access point information database, wherein the record of the second wireless access point includes the scanning position information. Specifically, the scanning location information of the second wireless access point determined by different second user equipments may be different, therefore, the second wireless access point determined by the different second user equipments may be The different scanning location information is added to the record of the second wireless access point, that is, if the access point information base already includes the record of the second wireless access point, the scanning location information is added to to the record of the second wireless access point; and when the access point information database does not include the record of the second wireless access point, directly add the second wireless access point to the access point information database Access point records.

优选地,其中,所述第二装置包括:第一单元(未示出),用于确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组,其中,每个接入点扫描组由第二用户设备扫描所得的一个或多个第二无线接入点组成并包含至少一个所述第一无线接入点;第二单元(未示出),用于根据所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置确定所述多个第一无线接入点对应的多个候选位置信息。例如,所述多个第一无线接入点分别为AP1、AP2、AP3,则所述第一单元可以确定与第一无线接入点AP1相匹配的一个或多个接入点扫描组,例如,扫描组(AP1、AP2、AP4)、(AP1、AP2、AP5)或者扫描组(AP1、AP3、AP6)等等,其中,与所述多个第一无线接入点最匹配的接入点扫描组为(AP1、AP2、AP3)。本领域的技术人员应能理解,所述扫描组仅为举例,在此,所述扫描组中的接入点的个数并不限定。具体地,设备1的第一单元可以根据所述多个第一无线接入点的名称和MAC信息在接入点信息库中确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组。更优选地,其中,所述第一单元用于:确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组,其中,每个接入点扫描组由第二用户设备扫描所得的一个或多个第二无线接入点组成,并且每个接入点扫描组构成的第二向量与所述多个第一无线接入点构成的第一向量间的向量距离小于或等于预定的向量距离阈值。在此,所述接入点扫描组可以用向量的形式表示,例如,所述多个第一无线接入点构成的第一向量为(AP1、AP2、AP3、AP4、AP5、AP6),所述第二用户设备扫描所得接入点扫描组一为(AP1、AP2、AP7、AP8、AP9、AP10)或者扫描组二为(AP1、AP2、AP3、AP7、AP8、AP9)或者扫描组三为(AP1、AP2、AP3、AP4、AP7、AP8)等等,则可以确定扫描组三构成的第二向量与所述多个第一无线接入点构成的第一向量间的向量距离是最小的,其次是扫描组二,因此,可以根据预设的向量距离阈值来确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组。更优选地,其中,所述第一向量或所述第二向量中各分量按分量所对应无线接入点被扫描到的无线信号强度顺序排列。例如,所述第一向量为(AP1、AP2、AP3、AP4),所述第一向量中的多个第一无线接入点可以按照无线信号强度递减的顺序排列,例如,AP1的信号强度>AP2的信号强度>AP3的信号强度>AP4的信号强度,或者按照多个第一无线接入点可以按照无线信号强度递增的顺序排列。进一步地,所述设备1的第二单元根据所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置确定所述多个第一无线接入点对应的多个候选位置信息。具体地,所述设备1的第二单元可以先确定所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置,例如,可以将每个扫描组中多个无线接入点的位置信息的均值作为扫描组对应的扫描位置,或者是将多个无线接入点的位置信息加权之后的均值作为扫描组对应的扫描位置,并将与所述多个第一无线接入点匹配的接入点扫描组对应的扫描位置确定为所述多个第一无线接入点的多个候选位置信息,例如,多个第一无线接入点分别为AP1、AP2、AP3,与第一无线接入点AP1相匹配的一个或多个接入点扫描组为(AP1、AP2、AP4),则可以将无线接入点AP1、AP2、AP4的位置信息的均值作为第一无线接入点AP1的候选位置信息,或者,将无线接入点AP1、AP2、AP4的位置信息加权之后的均值作为第一无线接入点AP1的候选位置信息,例如,可以按照无线接入点的信号强度来确定权重,如信号强度大的权重大等等。例如,接入点扫描组为(AP1、AP2、AP3、AP4),且AP1的信号强度>AP2的信号强度>AP3的信号强度>AP4的信号强度,则相应的权重值可以设定为0.6、0.2、0.1、01,只要将无线接入点AP1、AP2、AP3、AP4的位置信息与对应的权重值相乘并求和即可确定该接入点扫描组的扫描位置,在此,本领域的技术人员应能理解,所述接入点扫描组及相应的无线接入点对应的权重值仅为举例,其他现有的或今后可能出现的接入点扫描组及相应的无线接入点对应的权重值如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。Preferably, the second device includes: a first unit (not shown), configured to determine one or more scan groups of access points matching the plurality of first wireless access points, wherein, Each access point scanning group is composed of one or more second wireless access points scanned by the second user equipment and includes at least one first wireless access point; the second unit (not shown) is configured to A plurality of candidate location information corresponding to the plurality of first wireless access points is determined according to scanning positions corresponding to each access point scanning group in the one or more access point scanning groups. For example, the plurality of first wireless access points are AP1, AP2, and AP3 respectively, and the first unit may determine one or more access point scan groups that match the first wireless access point AP1, for example , scan groups (AP1, AP2, AP4), (AP1, AP2, AP5) or scan groups (AP1, AP3, AP6) and so on, wherein the access point that best matches the plurality of first wireless access points The scanning group is (AP1, AP2, AP3). Those skilled in the art should understand that the scanning group is only an example, and here, the number of access points in the scanning group is not limited. Specifically, the first unit of device 1 may determine one or more wireless access points that match the multiple first wireless access points in the access point information database according to the names and MAC information of the multiple first wireless access points. Multiple access point scan groups. More preferably, wherein, the first unit is configured to: determine one or more access point scanning groups matching the plurality of first wireless access points, wherein each access point scanning group consists of the first One or more second wireless access points scanned by two user equipments, and a vector between the second vector formed by each access point scan group and the first vector formed by the plurality of first wireless access points The distance is less than or equal to a predetermined vector distance threshold. Here, the access point scan group may be expressed in the form of a vector, for example, the first vector formed by the plurality of first wireless access points is (AP1, AP2, AP3, AP4, AP5, AP6), so The scan group one of the access points scanned by the second user equipment is (AP1, AP2, AP7, AP8, AP9, AP10) or the scan group two is (AP1, AP2, AP3, AP7, AP8, AP9) or the scan group three is (AP1, AP2, AP3, AP4, AP7, AP8) and so on, it can be determined that the vector distance between the second vector formed by scan group three and the first vector formed by the plurality of first wireless access points is the smallest , followed by scanning group 2, therefore, one or more scanning groups of access points matching the plurality of first wireless access points may be determined according to a preset vector distance threshold. More preferably, the components in the first vector or the second vector are arranged in the order of the wireless signal strengths of the scanned wireless access points corresponding to the components. For example, the first vector is (AP1, AP2, AP3, AP4), and the multiple first wireless access points in the first vector may be arranged in descending order of wireless signal strength, for example, the signal strength of AP1 > The signal strength of AP2>the signal strength of AP3>the signal strength of AP4, or the multiple first wireless access points may be arranged in ascending order of wireless signal strength. Further, the second unit of the device 1 determines a plurality of candidate wireless access points corresponding to the plurality of first wireless access points according to scanning positions corresponding to each access point scanning group in the one or more access point scanning groups. location information. Specifically, the second unit of the device 1 may first determine the scanning position corresponding to each access point scanning group in the one or more access point scanning groups, for example, multiple wireless access points in each scanning group may be The average value of the position information of the entry point is used as the scanning position corresponding to the scanning group, or the mean value after weighting the position information of multiple wireless access points is used as the scanning position corresponding to the scanning group, and the scanning position corresponding to the multiple first wireless access points is used as the scanning position corresponding to the scanning group. The scanning position corresponding to the access point scanning group matched by the entry point is determined as a plurality of candidate position information of the plurality of first wireless access points, for example, the plurality of first wireless access points are AP1, AP2, and AP3 respectively, One or more access point scanning groups matched with the first wireless access point AP1 are (AP1, AP2, AP4), then the mean value of the location information of the wireless access points AP1, AP2, and AP4 can be used as the first wireless access point The candidate location information of the access point AP1, or the weighted average value of the location information of the wireless access points AP1, AP2, and AP4 as the candidate location information of the first wireless access point AP1, for example, according to the wireless access point The signal strength is used to determine the weight, such as the weight of the signal strength is greater, and so on. For example, the access point scanning group is (AP1, AP2, AP3, AP4), and the signal strength of AP1 > the signal strength of AP2 > the signal strength of AP3 > the signal strength of AP4, then the corresponding weight value can be set to 0.6, 0.2, 0.1, 01, as long as the position information of the wireless access points AP1, AP2, AP3, AP4 is multiplied and summed to determine the scanning position of the access point scanning group, here, in the art Those skilled in the art should be able to understand that the weight values corresponding to the access point scan groups and corresponding wireless access points are only examples, and other existing or future access point scan groups and corresponding wireless access points If the corresponding weight value is applicable to the present application, it should also be included in the protection scope of the present application, and is included here by reference.

继续在该实施例中,所述设备1的第三装置根据所述多个候选位置信息确定所述第一用户设备的位置信息,具体地,设备1的第三装置可以将所述多个候选位置信息的均值确定所述第一用户设备的位置信息。Continuing in this embodiment, the third means of the device 1 determines the position information of the first user equipment according to the plurality of candidate position information, specifically, the third means of the device 1 may combine the plurality of candidate position information The mean value of the location information determines the location information of the first user equipment.

在一个优选的实施例中,参图4所示,其中,图4中的第一装置、第二装置与图1实施例中的第一装置、第二装置相同或基本相同,故在此不再赘述,仅以引用的方式包含于此。优选地,其中,所述第三装置包括:第三单元(未示出),用于对所述多个候选位置信息进行聚类处理,得到一个或多个聚类,其中,每个聚类包含一个或多个所述候选位置信息;第四单元(未示出),用于根据包含最多数量的所述候选位置信息的所述聚类确定所述第一用户设备的位置信息。在该实施例中,所述设备1的第三单元将所述多个候选位置信息中候选位置信息相同的或者距离小于预定阈值的候选位置信息进行聚类,即候选位置信息相同的或者距离小于预定阈值的可用合并到一组,进一步地,所述设备1的第四单元根据包含最多数量的所述候选位置信息的所述聚类确定所述第一用户设备的位置信息,例如,当聚类组中所述多个候选位置信息中候选位置信息相同,设备1的第四单元可以将该候选位置信息确定为所述第一用户设备的位置信息,或者,当所述多个候选位置信息中候选位置信息不同时,可以将该聚类组中所述多个候选位置信息的均值确定为所述第一用户设备的位置信息。In a preferred embodiment, as shown in FIG. 4, wherein, the first device and the second device in FIG. 4 are the same or substantially the same as the first device and the second device in the embodiment of FIG. Again, it is incorporated herein by reference only. Preferably, the third device includes: a third unit (not shown), configured to perform clustering processing on the plurality of candidate position information to obtain one or more clusters, wherein each cluster Including one or more of the candidate location information; a fourth unit (not shown), configured to determine the location information of the first user equipment according to the cluster containing the largest number of the candidate location information. In this embodiment, the third unit of the device 1 clusters the candidate location information with the same candidate location information or a distance smaller than a predetermined threshold among the plurality of candidate location information, that is, the candidate location information with the same candidate location information or a distance smaller than The availability of the predetermined threshold is combined into one group, further, the fourth unit of the device 1 determines the location information of the first user equipment according to the cluster containing the largest number of candidate location information, for example, when the cluster The candidate location information among the plurality of candidate location information in the cluster is the same, and the fourth unit of device 1 may determine the candidate location information as the location information of the first user equipment, or, when the plurality of candidate location information When the candidate location information is different, an average value of the plurality of candidate location information in the clustering group may be determined as the location information of the first user equipment.

优选地,其中,所述第三装置包括:第五单元,用于将所述多个候选位置信息归入对应的一个或多个位置区域;第六单元,用于根据包含最多数量的所述候选位置信息的所述位置区域确定所述第一用户设备的位置信息。在该实施例中,所述设备1的第五单元将所述多个候选位置信息归入对应的一个或多个位置区域,例如,可以设定一个坐标网格,可以将所述多个候选位置信息归入对应的坐标网格内,其中,所述一个或多个位置区域与所述用户设备的位置精度信息相适应,例如,坐标网格的单位长度可以根据需要设定,例如,长和宽各100米的网格。进一步地,所述设备1的第六单元可以根据包含最多数量的所述候选位置信息的位置区域确定所述第一用户设备的位置信息,例如,可以将包含最多数量的所述候选位置信息的坐标网格的中心位置作为所述第一用户设备的位置信息,或者,将该网格内包含的多个候选位置信息的均值作为所述第一用户设备的位置信息。Preferably, the third device includes: a fifth unit, configured to classify the plurality of candidate location information into corresponding one or more location areas; a sixth unit, configured to include the largest number of the The location area of the candidate location information determines the location information of the first user equipment. In this embodiment, the fifth unit of the device 1 classifies the plurality of candidate location information into corresponding one or more location areas, for example, a coordinate grid may be set, and the plurality of candidate location information may be The location information is classified into a corresponding coordinate grid, wherein the one or more location areas are adapted to the location accuracy information of the user equipment, for example, the unit length of the coordinate grid can be set as required, for example, the length and grids 100 meters wide each. Further, the sixth unit of the device 1 may determine the location information of the first user equipment according to the location area containing the largest number of candidate location information, for example, the location information containing the largest number of candidate location information may be The central position of the coordinate grid is used as the position information of the first user equipment, or the mean value of multiple candidate position information contained in the grid is used as the position information of the first user equipment.

优选地,其中,所述第三装置用于:根据所述多个候选位置信息,以及各候选位置信息对应的所述第一无线接入点被扫描的无线信号强度,确定所述第一用户设备的位置信息。本领域的技术人员应能理解,与用户设备距离越近的无线接入点的信号强度越大,因此,可以对所述第一无线接入点根据信号强度进行加权平均以确定所述第一用户设备的位置信息,其中,信号强度越大对应的权重就越大,例如,可以将所述多个候选位置信息对应的所述第一无线接入点被扫描的无线信号强度的大小进行排序,并赋予不同的权重值,然后对所述多个候选位置信息根据不同的权重值取平均值作为所述第一用户设备的位置信息。例如,所述多个第一无线接入点分别为AP1、AP2、AP3、AP4,且AP1的信号强度>AP2的信号强度>AP3的信号强度>AP4的信号强度,可以设定AP1、AP2、AP3、AP4分别对应的权重值为0.5、0.2、0.2、01,因此,可以将所述AP1、AP2、AP3、AP4对应的候选位置分别与对应的权重值相乘求和,并将所得结果作为所述第一用户设备的位置信息。Preferably, the third device is configured to: determine the first user's location according to the plurality of candidate location information and the scanned wireless signal strength of the first wireless access point corresponding to each candidate location information. Device location information. Those skilled in the art should understand that the closer the wireless access point is to the user equipment, the greater the signal strength is. Therefore, the first wireless access point may be weighted and averaged according to the signal strength to determine the first wireless access point. The location information of the user equipment, where the greater the signal strength, the greater the weight, for example, the wireless signal strength of the first wireless access point corresponding to the plurality of candidate location information can be sorted , and give different weight values, and then take an average value of the plurality of candidate location information according to different weight values as the location information of the first user equipment. For example, the plurality of first wireless access points are AP1, AP2, AP3, and AP4 respectively, and the signal strength of AP1>the signal strength of AP2>the signal strength of AP3>the signal strength of AP4, it can be set that AP1, AP2, The weight values corresponding to AP3 and AP4 are 0.5, 0.2, 0.2, and 01 respectively. Therefore, the candidate positions corresponding to AP1, AP2, AP3, and AP4 can be multiplied and summed by the corresponding weight values, and the obtained results can be used as Location information of the first user equipment.

优选地,其中,所述设备还包括:第五装置(未示出),用于确定与所述第一用户设备的位置信息相匹配的应用信息;第六装置(未示出),用于将所述应用信息提供至所述第一用户设备。在该实施例中,在所述第一用户设备的位置信息确定之后,设备1的第五装置可以根据该位置信息为所述第一用户设备匹配对应的应用信息,例如,与该位置信息相匹配目标无线接入点的相关信息、与该位置信息相匹配的推送信息,如促销信息、广告信息等等,进一步地,所述设备1的第六装置基于与所述第一用户设备之间建立的无线连接、基于各自的通信协议,将所述应用信息提供至所述第一用户设备。Preferably, the device further includes: fifth means (not shown), configured to determine application information that matches the location information of the first user equipment; sixth means (not shown), configured to The application information is provided to the first user equipment. In this embodiment, after the location information of the first user equipment is determined, the fifth device of device 1 may match the corresponding application information for the first user equipment according to the location information, for example, matching the relevant information of the target wireless access point, and push information matching the location information, such as promotional information, advertisement information, etc., further, the sixth means of the device 1 based on the The established wireless connections provide the application information to the first user equipment based on respective communication protocols.

与现有技术相比,本申请通过获取第一用户设备扫描所得的多个第一无线接入点,然后确定所述多个第一无线接入点对应的多个候选位置信息,进而根据所述多个候选位置信息确定所述第一用户设备的位置信息。这种通过用户设备扫描到的多个无线接入点对用户设备进行定位的方式,无论该设备的定位客户端是否定位成功,都能够随时获得该设备的位置信息,而且,还可以在定位客户端定位失败或出现缓存的时候,实现对设备的定位或位置纠错。Compared with the prior art, the present application obtains multiple first wireless access points scanned by the first user equipment, and then determines multiple candidate location information corresponding to the multiple first wireless access points, and then according to the Determine the location information of the first user equipment by using the plurality of candidate location information. This way of locating the user equipment through multiple wireless access points scanned by the user equipment can obtain the location information of the equipment at any time regardless of whether the positioning client of the equipment is successfully located. When the terminal positioning fails or cache occurs, the positioning or position error correction of the device is realized.

而且,本申请还可以确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组,其中,每个接入点扫描组由第二用户设备扫描所得的一个或多个第二无线接入点组成,并且每个接入点扫描组构成的第二向量与所述多个第一无线接入点构成的第一向量间的向量距离小于或等于预定的向量距离阈值,后根据所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置确定所述多个第一无线接入点对应的多个候选位置信息。这种使第二向量与第一向量间的向量距离小于或等于预定的向量距离阈值的方式,能够更精确的确定所述多个第一无线接入点对应的多个候选位置信息,从而使用户设备的定位更准确。Moreover, the present application may also determine one or more access point scan groups that match the plurality of first wireless access points, where each access point scan group is one or more scan groups scanned by the second user equipment. It consists of a plurality of second wireless access points, and the vector distance between the second vector formed by each access point scan group and the first vector formed by the plurality of first wireless access points is less than or equal to a predetermined vector distance The threshold value, and then determine a plurality of candidate location information corresponding to the plurality of first wireless access points according to the scanning positions corresponding to each access point scanning group in the one or more access point scanning groups. This method of making the vector distance between the second vector and the first vector less than or equal to the predetermined vector distance threshold can more accurately determine the plurality of candidate location information corresponding to the plurality of first wireless access points, so that The positioning of the user equipment is more accurate.

此外,本申请还可以确定与所述第一用户设备的位置信息相匹配的应用信息,然后将所述应用信息提供至所述第一用户设备。这种方式,在确定了第一用户设备的位置信息后,可以基于该位置信息为该设备匹配相应的应用信息,例如,与该设备的位置信息相匹配的广告信息或者与该设备的位置信息相匹配的目标无线接入点的相关信息等等。In addition, the present application may also determine application information that matches the location information of the first user equipment, and then provide the application information to the first user equipment. In this way, after the location information of the first user device is determined, the device can be matched with corresponding application information based on the location information, for example, advertisement information that matches the location information of the device or information that matches the location information of the device. Information about the matching target wireless access point and so on.

对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the invention is not limited to the details of the above-described exemplary embodiments, but that the invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Accordingly, the embodiments should be regarded in all points of view as exemplary and not restrictive, the scope of the invention being defined by the appended claims rather than the foregoing description, and it is therefore intended that the scope of the invention be defined by the appended claims rather than by the foregoing description. All changes within the meaning and range of equivalents of the elements are embraced in the present invention. Any reference sign in a claim should not be construed as limiting the claim concerned. In addition, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means stated in the device claims may also be realized by one unit or device through software or hardware. The words first, second, etc. are used to denote names and do not imply any particular order.

Claims (22)

1.一种用于确定用户设备的位置信息的方法,其中,该方法包括:1. A method for determining location information of a user equipment, wherein the method comprises: 获取第一用户设备扫描所得的多个第一无线接入点;Acquiring multiple first wireless access points scanned by the first user equipment; 确定所述多个第一无线接入点对应的多个候选位置信息;determining a plurality of candidate location information corresponding to the plurality of first wireless access points; 对所述多个候选位置信息进行聚类处理,得到一个或多个聚类,其中,每个聚类包含一个或多个所述候选位置信息;performing clustering processing on the plurality of candidate location information to obtain one or more clusters, wherein each cluster contains one or more of the candidate location information; 根据包含最多数量的所述候选位置信息的所述聚类确定所述第一用户设备的位置信息;determining the location information of the first user equipment according to the cluster containing the largest number of the candidate location information; 其中,所述多个候选位置信息根据如下方式确定:Wherein, the plurality of candidate location information are determined according to the following manner: 确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组,其中,每个接入点扫描组由第二用户设备扫描所得的一个或多个第二无线接入点组成并包含至少一个所述第一无线接入点;determining one or more access point scan groups that match the plurality of first wireless access points, where each access point scan group is one or more second wireless access points scanned by the second user equipment The access point constitutes and includes at least one of the first wireless access point; 根据所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置确定所述多个第一无线接入点对应的多个候选位置信息。A plurality of candidate location information corresponding to the plurality of first wireless access points is determined according to scanning positions corresponding to each access point scanning group in the one or more access point scanning groups. 2.一种用于确定用户设备的位置信息的方法,其中,该方法包括:2. A method for determining location information of a user equipment, wherein the method comprises: 获取第一用户设备扫描所得的多个第一无线接入点;Acquiring multiple first wireless access points scanned by the first user equipment; 确定所述多个第一无线接入点对应的多个候选位置信息;determining a plurality of candidate location information corresponding to the plurality of first wireless access points; 将所述多个候选位置信息归入对应的一个或多个位置区域;Classifying the plurality of candidate location information into corresponding one or more location areas; 根据包含最多数量的所述候选位置信息的所述位置区域确定所述第一用户设备的位置信息;determining the location information of the first user equipment according to the location area containing the largest number of the candidate location information; 其中,所述多个候选位置信息根据如下方式确定:Wherein, the plurality of candidate location information are determined according to the following manner: 确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组,其中,每个接入点扫描组由第二用户设备扫描所得的一个或多个第二无线接入点组成并包含至少一个所述第一无线接入点;determining one or more access point scan groups that match the plurality of first wireless access points, where each access point scan group is one or more second wireless access points scanned by the second user equipment The access point constitutes and includes at least one of the first wireless access point; 根据所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置确定所述多个第一无线接入点对应的多个候选位置信息。A plurality of candidate location information corresponding to the plurality of first wireless access points is determined according to scanning positions corresponding to each access point scanning group in the one or more access point scanning groups. 3.根据权利要求1或2所述的方法,其中,所述确定所述多个第一无线接入点对应的多个候选位置信息包括:3. The method according to claim 1 or 2, wherein the determining a plurality of candidate location information corresponding to the plurality of first wireless access points comprises: 根据所述第一无线接入点在接入点信息库中匹配查询确定所述多个第一无线接入点对应的多个候选位置信息,其中,所述接入点信息库存储有无线接入点及对应的接入点位置信息。A plurality of candidate location information corresponding to the plurality of first wireless access points is determined according to the matching query of the first wireless access point in the access point information database, wherein the access point information database stores wireless access points Access point and corresponding access point location information. 4.根据权利要求3所述的方法,其中,所述接入点信息库是根据第二用户设备扫描所得的一个或多个第二无线接入点及对应的扫描位置信息来建立或更新的。4. The method according to claim 3, wherein the access point information database is established or updated according to one or more second wireless access points scanned by the second user equipment and corresponding scanning location information . 5.根据权利要求4所述的方法,其中,所述接入点信息库的建立或更新包括:5. The method according to claim 4, wherein the establishment or update of the access point information database comprises: 若所述接入点信息库已包括所述第二无线接入点的记录,则将所述扫描位置信息添加至所述第二无线接入点的记录;否则,If the access point information library already includes the record of the second wireless access point, adding the scanning position information to the record of the second wireless access point; otherwise, 在所述接入点信息库中添加所述第二无线接入点的记录,其中,所述第二无线接入点的记录包括所述扫描位置信息。Adding the record of the second wireless access point to the access point information database, where the record of the second wireless access point includes the scanning location information. 6.根据权利要求1或2所述的方法,其中,每个接入点扫描组构成的第二向量与所述多个第一无线接入点构成的第一向量间的向量距离小于或等于预定的向量距离阈值。6. The method according to claim 1 or 2, wherein the vector distance between the second vector formed by each access point scanning group and the first vector formed by the plurality of first wireless access points is less than or equal to Predetermined vector distance threshold. 7.根据权利要求6所述的方法,其中,所述第一向量或所述第二向量中各分量按分量所对应无线接入点被扫描到的无线信号强度顺序排列。7. The method according to claim 6, wherein the components in the first vector or the second vector are arranged in the order of the wireless signal strengths of the scanned wireless access points corresponding to the components. 8.根据权利要求2所述的方法,其中,所述一个或多个位置区域与所述用户设备的位置精度信息相适应。8. The method of claim 2, wherein the one or more location areas are adapted to location accuracy information of the user equipment. 9.根据权利要求1或2所述的方法,其中,所述确定所述第一用户设备的位置信息还包括:9. The method according to claim 1 or 2, wherein the determining the location information of the first user equipment further comprises: 根据所述多个候选位置信息,以及各候选位置信息对应的所述第一无线接入点被扫描的无线信号强度,确定所述第一用户设备的位置信息。Determine the location information of the first user equipment according to the plurality of candidate location information and the scanned wireless signal strength of the first wireless access point corresponding to each candidate location information. 10.根据权利要求1或2所述的方法,其中,所述方法还包括:10. The method according to claim 1 or 2, wherein the method further comprises: 确定与所述第一用户设备的位置信息相匹配的应用信息;determining application information matching the location information of the first user equipment; 将所述应用信息提供至所述第一用户设备。The application information is provided to the first user equipment. 11.根据权利要求1或2所述的方法,其中,所述第一无线接入点被所述第一用户设备扫描到的无线信号强度等于或大于预定的无线信号强度阈值。11. The method according to claim 1 or 2, wherein the wireless signal strength of the first wireless access point scanned by the first user equipment is equal to or greater than a predetermined wireless signal strength threshold. 12.一种用于确定用户设备的位置信息的设备,其中,该设备包括:12. An apparatus for determining location information of a user equipment, wherein the apparatus comprises: 第一装置,用于获取第一用户设备扫描所得的多个第一无线接入点;The first device is configured to acquire a plurality of first wireless access points scanned by the first user equipment; 第二装置,用于确定所述多个第一无线接入点对应的多个候选位置信息;The second device is configured to determine a plurality of candidate location information corresponding to the plurality of first wireless access points; 第三装置,包括第三单元,用于对所述多个候选位置信息进行聚类处理,得到一个或多个聚类,其中,每个聚类包含一个或多个所述候选位置信息;第四单元,用于根据包含最多数量的所述候选位置信息的所述聚类确定所述第一用户设备的位置信息;The third device includes a third unit, configured to perform cluster processing on the plurality of candidate location information to obtain one or more clusters, wherein each cluster contains one or more of the candidate location information; Four units, configured to determine the location information of the first user equipment according to the cluster containing the largest number of the candidate location information; 其中,所述第二装置包括:Wherein, the second device includes: 第一单元,用于确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组,其中,每个接入点扫描组由第二用户设备扫描所得的一个或多个第二无线接入点组成并包含至少一个所述第一无线接入点;The first unit is configured to determine one or more access point scan groups that match the plurality of first wireless access points, where each access point scan group is one or more of the access point scan groups scanned by the second user equipment. A plurality of second wireless access points constitute and include at least one of the first wireless access points; 第二单元,用于根据所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置确定所述多个第一无线接入点对应的多个候选位置信息。The second unit is configured to determine a plurality of candidate location information corresponding to the plurality of first wireless access points according to scanning positions corresponding to each access point scanning group in the one or more access point scanning groups. 13.一种用于确定用户设备的位置信息的设备,其中,该设备包括:13. An apparatus for determining location information of a user equipment, wherein the apparatus comprises: 第一装置,用于获取第一用户设备扫描所得的多个第一无线接入点;The first device is configured to acquire a plurality of first wireless access points scanned by the first user equipment; 第二装置,用于确定所述多个第一无线接入点对应的多个候选位置信息;The second device is configured to determine a plurality of candidate location information corresponding to the plurality of first wireless access points; 第三装置,包括第五单元,用于将所述多个候选位置信息归入对应的一个或多个位置区域;第六单元,用于根据包含最多数量的所述候选位置信息的所述位置区域确定所述第一用户设备的位置信息;The third device includes a fifth unit, configured to classify the plurality of candidate location information into corresponding one or more location areas; a sixth unit, configured to determining the location information of the first user equipment in an area; 其中,所述第二装置包括:Wherein, the second device includes: 第一单元,用于确定与所述多个第一无线接入点相匹配的一个或多个接入点扫描组,其中,每个接入点扫描组由第二用户设备扫描所得的一个或多个第二无线接入点组成并包含至少一个所述第一无线接入点;The first unit is configured to determine one or more access point scan groups that match the plurality of first wireless access points, where each access point scan group is one or more of the access point scan groups scanned by the second user equipment. A plurality of second wireless access points constitute and include at least one of the first wireless access points; 第二单元,用于根据所述一个或多个接入点扫描组中各接入点扫描组对应的扫描位置确定所述多个第一无线接入点对应的多个候选位置信息。The second unit is configured to determine a plurality of candidate location information corresponding to the plurality of first wireless access points according to scanning positions corresponding to each access point scanning group in the one or more access point scanning groups. 14.根据权利要求12或13所述的设备,其中,所述确定所述多个第一无线接入点对应的多个候选位置信息包括:14. The device according to claim 12 or 13, wherein the determining a plurality of candidate location information corresponding to the plurality of first wireless access points comprises: 根据所述第一无线接入点在接入点信息库中匹配查询确定所述多个第一无线接入点对应的多个候选位置信息,其中,所述接入点信息库存储有无线接入点及对应的接入点位置信息。A plurality of candidate location information corresponding to the plurality of first wireless access points is determined according to the matching query of the first wireless access point in the access point information database, wherein the access point information database stores wireless access points Access point and corresponding access point location information. 15.根据权利要求14所述的设备,其中,所述接入点信息库是根据第二用户设备扫描所得的一个或多个第二无线接入点及对应的扫描位置信息来建立或更新的。15. The device according to claim 14, wherein the access point information database is established or updated according to one or more second wireless access points scanned by the second user equipment and corresponding scanning location information . 16.根据权利要求15所述的设备,其中,所述接入点信息库的建立或更新包括:16. The device according to claim 15, wherein the establishment or update of the access point information base comprises: 若所述接入点信息库已包括所述第二无线接入点的记录,则将所述扫描位置信息添加至所述第二无线接入点的记录;否则,If the access point information library already includes the record of the second wireless access point, adding the scanning position information to the record of the second wireless access point; otherwise, 在所述接入点信息库中添加所述第二无线接入点的记录,其中,所述第二无线接入点的记录包括所述扫描位置信息。Adding the record of the second wireless access point to the access point information database, where the record of the second wireless access point includes the scanning location information. 17.根据权利要求12或13所述的设备,其中,每个接入点扫描组构成的第二向量与所述多个第一无线接入点构成的第一向量间的向量距离小于或等于预定的向量距离阈值。17. The device according to claim 12 or 13, wherein the vector distance between the second vector formed by each access point scanning group and the first vector formed by the plurality of first wireless access points is less than or equal to Predetermined vector distance threshold. 18.根据权利要求17所述的设备,其中,所述第一向量或所述第二向量中各分量按分量所对应无线接入点被扫描到的无线信号强度顺序排列。18. The device according to claim 17, wherein the components in the first vector or the second vector are arranged in the order of wireless signal strengths of scanned wireless access points corresponding to the components. 19.根据权利要求13所述的设备,其中,所述一个或多个位置区域与所述用户设备的位置精度信息相适应。19. The device of claim 13, wherein the one or more location areas are adapted to location accuracy information of the user equipment. 20.根据权利要求12或13所述的设备,其中,所述确定所述第一用户设备的位置信息还包括:20. The device according to claim 12 or 13, wherein the determining the location information of the first user equipment further comprises: 根据所述多个候选位置信息,以及各候选位置信息对应的所述第一无线接入点被扫描的无线信号强度,确定所述第一用户设备的位置信息。Determine the location information of the first user equipment according to the plurality of candidate location information and the scanned wireless signal strength of the first wireless access point corresponding to each candidate location information. 21.根据权利要求12或13所述的设备,其中,所述设备还包括:21. The device of claim 12 or 13, wherein the device further comprises: 第五装置,用于确定与所述第一用户设备的位置信息相匹配的应用信息;A fifth means, configured to determine application information matching the location information of the first user equipment; 第六装置,用于将所述应用信息提供至所述第一用户设备。A sixth means, configured to provide the application information to the first user equipment. 22.根据权利要求12或13所述的设备,其中,所述第一无线接入点被所述第一用户设备扫描到的无线信号强度等于或大于预定的无线信号强度阈值。22. The device according to claim 12 or 13, wherein the wireless signal strength of the first wireless access point scanned by the first user equipment is equal to or greater than a predetermined wireless signal strength threshold.
CN201610606115.4A 2016-07-28 2016-07-28 For the method and apparatus for the positional information for determining user equipment Active CN106211321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610606115.4A CN106211321B (en) 2016-07-28 2016-07-28 For the method and apparatus for the positional information for determining user equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610606115.4A CN106211321B (en) 2016-07-28 2016-07-28 For the method and apparatus for the positional information for determining user equipment

Publications (2)

Publication Number Publication Date
CN106211321A CN106211321A (en) 2016-12-07
CN106211321B true CN106211321B (en) 2018-03-30

Family

ID=57496590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610606115.4A Active CN106211321B (en) 2016-07-28 2016-07-28 For the method and apparatus for the positional information for determining user equipment

Country Status (1)

Country Link
CN (1) CN106211321B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937308B (en) * 2016-12-28 2021-12-28 上海掌门科技有限公司 Method and equipment for determining user access service area and activity information
CN107682811A (en) * 2017-10-19 2018-02-09 北京三快在线科技有限公司 A kind of localization method and device
CN108882174B (en) * 2018-07-03 2020-12-04 北京三快在线科技有限公司 Mobile terminal positioning method and device, electronic equipment and storage medium
CN110446167B (en) * 2019-06-20 2021-01-05 创新先进技术有限公司 Position estimation method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8369264B2 (en) * 2005-10-28 2013-02-05 Skyhook Wireless, Inc. Method and system for selecting and providing a relevant subset of Wi-Fi location information to a mobile client device so the client device may estimate its position with efficient utilization of resources
US20100208711A1 (en) * 2009-02-13 2010-08-19 Sony Corporation System and method for efficiently populating an access point database
CN102348258A (en) * 2011-10-12 2012-02-08 北京百度网讯科技有限公司 Mobile terminal positioning method and device
CN103200520B (en) * 2013-03-06 2015-08-26 中国电子科技集团公司第二十八研究所 A kind ofly utilize the quick accurate positioning method of the mobile terminal of Wi-Fi
CN104066175A (en) * 2014-06-25 2014-09-24 深圳市东信时代信息技术有限公司 Indoor positioning system and method based on WiFi
CN105101082A (en) * 2015-07-14 2015-11-25 青岛海信网络科技股份有限公司 Positioning method and device

Also Published As

Publication number Publication date
CN106211321A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN110166943B (en) Method for processing terminal position information
CN103347278B (en) The update method of fingerprint database and device in wireless location
CN106792992B (en) A method and device for providing wireless access point information
CN103120000B (en) The generation of overlay area model and use
CN106211321B (en) For the method and apparatus for the positional information for determining user equipment
WO2015154438A1 (en) Positioning method and device
CN109672980B (en) Method, device and storage medium for determining wireless local area network hotspot corresponding to interest point
JP5388221B2 (en) Estimating whether a wireless terminal is indoors using pattern classification
US20210158353A1 (en) Methods, systems, apparatuses, and devices for processing request in consortium blockchain
US10959043B2 (en) Determining hardware requirements for a wireless network event using crowdsourcing
CN107277772B (en) Wireless access point positioning method and device and computer readable storage medium
US20140221009A1 (en) Method, system and apparatus for collecting location information
CN110209956B (en) Method, medium, apparatus and computing device for providing reading service
TW201918103A (en) Method of wireless asset positioning
CN107567071B (en) Method and equipment for inquiring wireless hotspot
CN109388722B (en) Method and equipment for adding or searching social contact
CN107659978B (en) Method and apparatus for identifying wireless access point
CN105163275B (en) A kind of data transmission method for uplink, relevant apparatus and system
CN108469600A (en) A kind of dynamic network relative positioning method
CN108228610B (en) A method and device for storing and updating wireless access point data
CN110940951A (en) Positioning method and device
CN109831737A (en) A kind of bluetooth localization method, device, equipment and system based on confidence level
CN108235246A (en) A kind of indoor orientation method and system
CN107040603A (en) Method and device for determining active scene of application program App
CN108156011B (en) Method and equipment for clustering wireless access points

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 80536, Shanghai

Patentee after: Shanghai Zongzhang Technology Group Co.,Ltd.

Country or region after: China

Address before: Room 80536, Shanghai

Patentee before: SHANGHAI ZHANGMEN SCIENCE AND TECHNOLOGY Co.,Ltd.

Country or region before: China