Movatterモバイル変換


[0]ホーム

URL:


CN112468952B - Positioning method, positioning device, storage medium and electronic equipment - Google Patents

Positioning method, positioning device, storage medium and electronic equipment
Download PDF

Info

Publication number
CN112468952B
CN112468952BCN201910828566.6ACN201910828566ACN112468952BCN 112468952 BCN112468952 BCN 112468952BCN 201910828566 ACN201910828566 ACN 201910828566ACN 112468952 BCN112468952 BCN 112468952B
Authority
CN
China
Prior art keywords
access point
electronic device
position information
preset
location information
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
CN201910828566.6A
Other languages
Chinese (zh)
Other versions
CN112468952A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910828566.6ApriorityCriticalpatent/CN112468952B/en
Publication of CN112468952ApublicationCriticalpatent/CN112468952A/en
Application grantedgrantedCritical
Publication of CN112468952BpublicationCriticalpatent/CN112468952B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种定位方法、装置、存储介质及电子设备。该方法包括:接收定位请求;根据所述定位请求,搜索接入点,以确定搜索到的至少三个接入点;确定每个接入点的位置信息,以得到至少三个位置信息;确定每个接入点与所述电子设备的距离,以得到至少三个距离;根据所述至少三个位置信息,以及所述至少三个距离,确定所述电子设备的位置。在GPS信号较弱的场景中,本申请可以提高定位精度。

Figure 201910828566

The application discloses a positioning method, device, storage medium and electronic equipment. The method includes: receiving a positioning request; searching for access points according to the positioning request to determine at least three searched access points; determining the location information of each access point to obtain at least three location information; determining The distance between each access point and the electronic device is obtained to obtain at least three distances; according to the at least three position information and the at least three distances, the position of the electronic device is determined. In a scene where the GPS signal is weak, the application can improve the positioning accuracy.

Figure 201910828566

Description

Translated fromChinese
定位方法、装置、存储介质及电子设备Positioning method, device, storage medium and electronic equipment

技术领域technical field

本申请属于电子技术领域,尤其涉及一种定位方法、装置、存储介质及电子设备。The present application belongs to the field of electronic technology, and in particular relates to a positioning method, device, storage medium and electronic equipment.

背景技术Background technique

随着定位技术的不断发展,定位技术应用也越来越广泛,不仅追踪器、定位器越来越常见,智能手机或智能手表等电子设备也逐步加入了定位功能,以实现实时定位用户的位置或记录运动轨迹。With the continuous development of positioning technology, the application of positioning technology is becoming more and more extensive. Not only trackers and locators are becoming more and more common, but also electronic devices such as smartphones or smart watches have gradually added positioning functions to achieve real-time positioning of users. Or record the movement track.

相关技术中,对于智能手机或智能手表等电子设备来说,通常可以利用GPS来实现定位。然而,在GPS信号较弱的场景中,如建筑物比较多且集中的场景中,GPS定位的定位精度会大大降低。In related technologies, for electronic devices such as smart phones or smart watches, GPS can usually be used to achieve positioning. However, in a scene with a weak GPS signal, such as a scene with many and concentrated buildings, the positioning accuracy of GPS positioning will be greatly reduced.

发明内容Contents of the invention

本申请实施例提供一种定位方法、装置、存储介质及电子设备,在GPS信号较弱的场景中,可以提高定位精度。Embodiments of the present application provide a positioning method, device, storage medium, and electronic equipment, which can improve positioning accuracy in a scene where the GPS signal is weak.

本申请实施例提供一种定位方法,应用于电子设备,包括:An embodiment of the present application provides a positioning method applied to electronic equipment, including:

接收定位请求;receive location requests;

根据所述定位请求,搜索接入点,以确定搜索到的至少三个接入点;Searching for access points according to the positioning request, to determine at least three searched access points;

确定每个接入点的位置信息,以得到至少三个位置信息;determining location information of each access point to obtain at least three location information;

确定每个接入点与所述电子设备的距离,以得到至少三个距离;determining a distance from each access point to the electronic device to obtain at least three distances;

根据所述至少三个位置信息,以及所述至少三个距离,确定所述电子设备的位置。Determine the location of the electronic device according to the at least three pieces of location information and the at least three distances.

本申请实施例提供一种定位装置,应用于电子设备,包括:An embodiment of the present application provides a positioning device applied to electronic equipment, including:

接收模块,用于接收定位请求;A receiving module, configured to receive a positioning request;

搜索模块,用于根据所述定位请求,搜索接入点,以确定搜索到的至少三个接入点;A search module, configured to search for access points according to the positioning request, so as to determine at least three searched access points;

第一确定模块,用于确定每个接入点的位置信息,以得到至少三个位置信息;A first determining module, configured to determine the location information of each access point to obtain at least three location information;

第二确定模块,用于确定每个接入点与所述电子设备的距离,以得到至少三个距离;A second determining module, configured to determine the distance between each access point and the electronic device, so as to obtain at least three distances;

第三确定模块,用于根据所述至少三个位置信息,以及所述至少三个距离,确定所述电子设备的位置。The third determination module is configured to determine the position of the electronic device according to the at least three position information and the at least three distances.

本申请实施例提供一种存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行本申请实施例提供的定位方法中的流程。An embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is executed on a computer, the computer is made to execute the procedures in the positioning method provided in the embodiment of the present application.

本申请实施例还提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行本申请实施例提供的定位方法中的流程。The embodiment of the present application also provides an electronic device, including a memory and a processor, and the processor is used to execute the procedure in the positioning method provided in the embodiment of the present application by invoking a computer program stored in the memory.

本申请实施例中,通过确定至少三个接入点的位置,以及至少三个接入点与电子设备的距离,便可确定电子设备的具体位置,在GPS信号较弱的场景中,相对于使用信号较弱的GPS定位,本申请实施例所提供的定位方法可以提高定位精度。In the embodiment of the present application, by determining the positions of at least three access points and the distance between at least three access points and the electronic device, the specific position of the electronic device can be determined. In a scenario where the GPS signal is weak, relative to Using GPS positioning with a weaker signal, the positioning method provided in the embodiment of the present application can improve positioning accuracy.

附图说明Description of drawings

下面结合附图,通过对本申请的具体实施方式详细描述,将使本申请的技术方案及其有益效果显而易见。The technical solutions and beneficial effects of the present application will be apparent through the detailed description of the specific embodiments of the present application below in conjunction with the accompanying drawings.

图1是本申请实施例提供的定位方法的第一种流程示意图。FIG. 1 is a schematic flowchart of a first positioning method provided by an embodiment of the present application.

图2是本申请实施例提供的定位方法的第二种流程示意图。Fig. 2 is a schematic flowchart of a second positioning method provided by an embodiment of the present application.

图3是本申请实施例提供的定位方法的第一种场景示意图。Fig. 3 is a schematic diagram of a first scenario of a positioning method provided by an embodiment of the present application.

图4是本申请实施例提供的定位方法的第二种场景示意图。Fig. 4 is a schematic diagram of a second scenario of a positioning method provided by an embodiment of the present application.

图5是本申请实施例提供的定位装置的结构示意图。Fig. 5 is a schematic structural diagram of a positioning device provided by an embodiment of the present application.

图6是本申请实施例提供的电子设备的第一种结构示意图。FIG. 6 is a schematic diagram of a first structure of an electronic device provided by an embodiment of the present application.

图7是本申请实施例提供的电子设备的第二种结构示意图。FIG. 7 is a schematic diagram of a second structure of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

请参照图示,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Referring to the drawings, where the same reference numerals represent the same components, the principle of the present application is illustrated by being implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the present application, which should not be construed as limiting other specific embodiments of the present application that are not described in detail here.

可以理解的是,本申请实施例的执行主体可以是诸如智能手机、平板电脑、智能手表、通话手表、运动手表或智能手环等电子设备。It can be understood that the execution subject of the embodiment of the present application may be an electronic device such as a smart phone, a tablet computer, a smart watch, a talking watch, a sports watch, or a smart bracelet.

请参阅图1,图1是本申请实施例提供的定位方法的第一种流程示意图,该定位方法可应用于电子设备,该流程可以包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of the first positioning method provided by the embodiment of the present application. The positioning method can be applied to electronic devices, and the process may include:

101、接收定位请求。101. Receive a positioning request.

比如,用户可以点击或者按压电子设备中的“定位”按键。电子设备即弹出一选择框,以提示用户选择进行多点定位或者进行GPS定位等。若用户选择进行多点定位,则电子设备接收到定位请求。For example, the user may click or press a "locate" button in the electronic device. The electronic device then pops up a selection box to prompt the user to select multi-point positioning or GPS positioning. If the user chooses to perform multipoint positioning, the electronic device receives a positioning request.

或者,可以在电子设备中新增一虚拟按键,用户可以对该虚拟按键进行点击或者按压操作。当用户点击或者按压该虚拟按键时,电子设备即接收到定位请求。Alternatively, a virtual button can be added in the electronic device, and the user can click or press the virtual button. When the user clicks or presses the virtual button, the electronic device receives a positioning request.

或者,用户可以在电子设备的屏幕上划出一预设手势,当电子设备接收到该预设手势时,即接收到定位请求。其中,该预设手势由用户预先设置,并与本申请实施例提供的定位方法相关联。Alternatively, the user may draw a preset gesture on the screen of the electronic device, and when the electronic device receives the preset gesture, it receives a positioning request. Wherein, the preset gesture is preset by the user and is associated with the positioning method provided in the embodiment of the present application.

或者,用户可以靠近电子设备说出一预设语音,如“请进行多点定位”,当电子设备接收到该预设语音时,即接收到定位请求。Alternatively, the user can approach the electronic device and speak a preset voice, such as "please perform multilateration", and when the electronic device receives the preset voice, it will receive a positioning request.

102、根据定位请求,搜索接入点,以确定搜索到的至少三个接入点。102. Search for access points according to the positioning request, so as to determine at least three searched access points.

比如,当接收到定位请求时,电子设备可以根据该定位请求,搜索接入点,以确定搜索到的至少三个接入点。For example, when receiving a positioning request, the electronic device may search for access points according to the positioning request, so as to determine at least three searched access points.

其中,接入点可以为路由器,用于将无线设备,如电子设备接入到有线网络中。当电子设备处于接入点的信号的覆盖范围时,电子设备可以搜索到该接入点。例如,若电子设备搜索到至少一个接入点,电子设备可以以列表的形式展示搜索到的该至少一个接入点。Wherein, the access point may be a router, which is used to connect wireless devices, such as electronic devices, to a wired network. When the electronic device is within the coverage of the signal of the access point, the electronic device can search for the access point. For example, if the electronic device searches for at least one access point, the electronic device may display the at least one searched access point in a list form.

需要说明的是,在本申请实施例中,若电子设备仅搜索到两个或两个以下的接入点,那么电子设备可以直接不做处理。或者,电子设备可以生成一提示信息,以提示用户无法进行多点定位。其中,该提示信息可以为文本信息,也可以为语音信息。It should be noted that, in the embodiment of the present application, if the electronic device only searches for two or less access points, the electronic device may not perform any processing directly. Alternatively, the electronic device may generate a prompt message to prompt the user that multi-point positioning cannot be performed. Wherein, the prompt information may be text information or voice information.

103、确定每个接入点的位置信息,以得到至少三个位置信息。103. Determine location information of each access point to obtain at least three location information.

比如,当确定出至少三个接入点之后,电子设备可以确定每个接入点的位置信息,以得到至少三个位置信息。For example, after at least three access points are determined, the electronic device may determine location information of each access point to obtain at least three location information.

例如,可以预先从位置服务商获取接入点位置信息库,并将该接入点位置信息库存入电子设备中。其中,接入点位置信息库包括多个接入点的标识信息及其对应的位置信息。当电子设备确定出至少三个接入点之后,电子设备可以获取每个接入点的标识信息。然后依次检测接入点位置信息库中是否存在与每个接入点的标识信息匹配的标识信息。当检测到接入点位置信息库中存在与每个接入点的标识信息匹配的标识信息时,电子设备可以获取该标识信息对应的位置信息,将其确定为每个接入点的位置信息。For example, an access point location information library may be obtained from a location service provider in advance, and the access point location information library may be stored in the electronic device. Wherein, the access point location information database includes identification information of multiple access points and corresponding location information. After the electronic device determines at least three access points, the electronic device may acquire identification information of each access point. Then it is sequentially detected whether there is identification information matching the identification information of each access point in the access point location information database. When it is detected that there is identification information matching the identification information of each access point in the access point location information database, the electronic device may obtain the location information corresponding to the identification information, and determine it as the location information of each access point .

例如,假设电子设备确定出四个接入点。分别为接入点A1,A2,A3和A4。电子设备可以获取A1的标识信息。然后,电子设备可以检测接入点位置信息库中是否存在与A1的标识信息匹配的目标标识信息。若存在,则将该目标标识信息对应的位置信息确定为接入点A1的位置信息。接着,电子设备可以获取A2的标识信息。然后,电子设备可以检测接入点位置信息库中是否存在与A2的标识信息匹配的目标标识信息。若存在,则将该目标标识信息对应的位置信息确定为接入点A2的位置信息。随后,电子设备可以获取A3的标识信息。然后,电子设备可以检测接入点位置信息库中是否存在与A3的标识信息匹配的目标标识信息。若存在,则将该目标标识信息对应的位置信息确定为接入点A3的位置信息。最后,电子设备可以获取A4的标识信息。然后,电子设备可以检测接入点位置信息库中是否存在与A4的标识信息匹配的目标标识信息。若存在,则将该目标标识信息对应的位置信息确定为接入点A4的位置信息。For example, assume that the electronic device determines four access points. These are access points A1, A2, A3 and A4, respectively. The electronic device can acquire the identification information of A1. Then, the electronic device may detect whether there is target identification information matching the identification information of A1 in the access point location information database. If it exists, the location information corresponding to the target identification information is determined as the location information of the access point A1. Next, the electronic device may acquire the identification information of A2. Then, the electronic device may detect whether there is target identification information matching the identification information of A2 in the access point location information database. If it exists, the location information corresponding to the target identification information is determined as the location information of the access point A2. Subsequently, the electronic device may acquire the identification information of A3. Then, the electronic device may detect whether there is target identification information matching the identification information of A3 in the access point location information database. If it exists, the location information corresponding to the target identification information is determined as the location information of the access point A3. Finally, the electronic device can acquire the identification information of A4. Then, the electronic device may detect whether there is target identification information matching the identification information of A4 in the access point location information database. If it exists, the location information corresponding to the target identification information is determined as the location information of the access point A4.

又例如,假设电子设备确定出四个接入点。分别为接入点A1,A2,A3和A4。电子设备可以采用第一线程获取A1的标识信息。然后,电子设备可以采用该第一线程检测接入点位置信息库中是否存在与A1的标识信息匹配的目标标识信息。若存在,则将该目标标识信息对应的位置信息确定为接入点A1的位置信息。同时,电子设备可以采用第二线程获取A2的标识信息。然后,电子设备可以采用该第二线程可以检测接入点位置信息库中是否存在与A2的标识信息匹配的目标标识信息。若存在,则将该目标标识信息对应的位置信息确定为接入点A2的位置信息。同时,电子设备可以第三线程获取A3的标识信息。然后,电子设备可以采用该第三线程检测接入点位置信息库中是否存在与A3的标识信息匹配的目标标识信息。若存在,则将该目标标识信息对应的位置信息确定为接入点A3的位置信息。同时,电子设备可以采用第四线程获取A4的标识信息。然后,电子设备可以采用第四线程检测接入点位置信息库中是否存在与A4的标识信息匹配的目标标识信息。若存在,则将该目标标识信息对应的位置信息确定为接入点A4的位置信息。采用多线程同时确定多个接入点的位置信息,可以大大节省电子设备的处理时间。For another example, assume that the electronic device determines four access points. These are access points A1, A2, A3 and A4, respectively. The electronic device may acquire the identification information of A1 by using the first thread. Then, the electronic device may use the first thread to detect whether there is target identification information matching the identification information of A1 in the access point location information database. If it exists, the location information corresponding to the target identification information is determined as the location information of the access point A1. At the same time, the electronic device may use the second thread to acquire the identification information of A2. Then, the electronic device may use the second thread to detect whether there is target identification information matching the identification information of A2 in the access point location information database. If it exists, the location information corresponding to the target identification information is determined as the location information of the access point A2. At the same time, the electronic device may acquire the identification information of A3 through the third thread. Then, the electronic device may use the third thread to detect whether there is target identification information matching the identification information of A3 in the access point location information database. If it exists, the location information corresponding to the target identification information is determined as the location information of the access point A3. At the same time, the electronic device may use the fourth thread to obtain the identification information of A4. Then, the electronic device may use the fourth thread to detect whether there is target identification information matching the identification information of A4 in the access point location information library. If it exists, the location information corresponding to the target identification information is determined as the location information of the access point A4. Using multiple threads to simultaneously determine the position information of multiple access points can greatly save the processing time of the electronic device.

104、确定每个接入点与电子设备的距离,以得到至少三个距离。104. Determine the distance between each access point and the electronic device, so as to obtain at least three distances.

比如,当确定出至少三个接入点之后,电子设备可以确定每个接入点与电子设备的距离,以得到至少三个距离。For example, after at least three access points are determined, the electronic device may determine a distance between each access point and the electronic device, so as to obtain at least three distances.

例如,电子设备可以确定每个接入点的信号强度。然后,电子设备可以根据每个接入点的信号强度,以及信号强度与距离的预设对应关系,确定每个接入点与电子设备的距离,以得到至少三个距离。For example, the electronic device can determine the signal strength of each access point. Then, the electronic device can determine the distance between each access point and the electronic device according to the signal strength of each access point and the preset corresponding relationship between the signal strength and the distance, so as to obtain at least three distances.

需要说明的是,流程103和流程104可以同时执行。也可以先执行流程103,再执行流程104;或者先执行流程104,再执行流程103,此处不作具体限制。It should be noted that, theprocess 103 and theprocess 104 can be executed simultaneously. It is also possible to execute theprocess 103 first, and then execute theprocess 104; or first execute theprocess 104, and then execute theprocess 103, which is not specifically limited here.

105、根据至少三个位置信息,以及至少三个距离,确定电子设备的位置。105. Determine the location of the electronic device according to at least three pieces of location information and at least three distances.

比如,当电子设备得到至少三个位置信息,以及至少三个距离之后,电子设备可以根据至少三个位置信息,以及至少三个距离,确定电子设备的位置。For example, after the electronic device obtains at least three pieces of location information and at least three distances, the electronic device can determine the location of the electronic device according to the at least three pieces of location information and the at least three distances.

例如,可以采用如下方式确定电子设备的位置:可以获取至少三个接入点的位置信息。其中,至少三个接入点的位置信息可包括至少三个接入点的位置。接着,可以以每个接入点的位置为圆心,每个接入点与电子设备的距离为半径画圆,从而确定出三个圆,该三个圆的交点即为电子设备的位置。For example, the position of the electronic device may be determined in the following manner: position information of at least three access points may be acquired. Wherein, the location information of the at least three access points may include the locations of the at least three access points. Next, a circle may be drawn with the position of each access point as the center and the distance between each access point and the electronic device as the radius, thereby determining three circles, and the intersection of the three circles is the position of the electronic device.

本申请实施例中,通过确定至少三个接入点的位置,以及至少三个接入点与电子设备的距离,便可确定电子设备的具体位置,在GPS信号较弱的场景中,相对于使用信号较弱的GPS定位,本申请实施例所提供的定位方法可以提高定位精度。In the embodiment of the present application, by determining the positions of at least three access points and the distance between at least three access points and the electronic device, the specific position of the electronic device can be determined. In a scenario where the GPS signal is weak, relative to Using GPS positioning with a weaker signal, the positioning method provided in the embodiment of the present application can improve positioning accuracy.

请参阅图2,图2是本申请实施例提供的定位方法的第二种流程示意图,该定位方法可应用于电子设备,流程可以包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of the second positioning method provided by the embodiment of the present application. The positioning method can be applied to electronic devices, and the process may include:

201、电子设备接收定位请求。201. The electronic device receives a positioning request.

比如,用户可以点击或者按压电子设备中的“定位”按键。电子设备即弹出一选择框,以提示用户选择进行多点定位或者进行GPS定位等。若用户选择进行多点定位,则电子设备接收到定位请求。For example, the user may click or press a "locate" button in the electronic device. The electronic device then pops up a selection box to prompt the user to select multi-point positioning or GPS positioning. If the user chooses to perform multipoint positioning, the electronic device receives a positioning request.

或者,可以在电子设备中新增一虚拟按键,用户可以对该虚拟按键进行点击或者按压操作。当用户点击或者按压该虚拟按键时,电子设备即接收到定位请求。Alternatively, a virtual button can be added in the electronic device, and the user can click or press the virtual button. When the user clicks or presses the virtual button, the electronic device receives a positioning request.

或者,用户可以在电子设备的屏幕上划出一预设手势,当电子设备接收到该预设手势时,即接收到定位请求。其中,该预设手势由用户预先设置,并与本申请实施例提供的定位方法相关联。Alternatively, the user may draw a preset gesture on the screen of the electronic device, and when the electronic device receives the preset gesture, it receives a positioning request. Wherein, the preset gesture is preset by the user and is associated with the positioning method provided in the embodiment of the present application.

或者,用户可以靠近电子设备说出一预设语音,如“请进行多点定位”,当电子设备接收到该预设语音时,即接收到定位请求。Alternatively, the user can approach the electronic device and speak a preset voice, such as "please perform multilateration", and when the electronic device receives the preset voice, it will receive a positioning request.

202、电子设备根据定位请求,搜索接入点,以确定搜索到的至少三个接入点。202. The electronic device searches for access points according to the positioning request, so as to determine at least three searched access points.

比如,当接收到定位请求之后,电子设备可以根据该定位请求,搜索接入点,以确定搜索到的至少三个接入点。For example, after receiving the positioning request, the electronic device may search for access points according to the positioning request, so as to determine at least three searched access points.

其中,接入点可以为路由器,用于将无线设备,如电子设备接入到有线网络中。当电子设备处于接入点的信号的覆盖范围时,电子设备可以搜索到该接入点。若电子设备搜索到至少一个接入点,电子设备可以以列表的形式展示搜索到的该至少一个接入点。Wherein, the access point may be a router, which is used to connect wireless devices, such as electronic devices, to a wired network. When the electronic device is within the coverage of the signal of the access point, the electronic device can search for the access point. If the electronic device searches for at least one access point, the electronic device may display the at least one searched access point in a list form.

需要说明的是,在本申请实施例中,若电子设备仅搜索到两个或两个以下的接入点,那么电子设备可以直接不做处理。或者,电子设备可以生成一提示信息,以提示用户无法进行多点定位。其中,该提示信息可以为文本信息,也可以为语音信息。It should be noted that, in the embodiment of the present application, if the electronic device only searches for two or less access points, the electronic device may not perform any processing directly. Alternatively, the electronic device may generate a prompt message to prompt the user that multi-point positioning cannot be performed. Wherein, the prompt information may be text information or voice information.

203、电子设备确定每个接入点的标识信息。203. The electronic device determines identification information of each access point.

比如,当确定出搜索到的至少三个接入点时,电子设备可以确定每个接入点的标识信息。其中,该标识信息可唯一标识每个接入点。例如,该标识信息可以为接入点的MAC地址,即物理地址。For example, when at least three searched access points are determined, the electronic device may determine identification information of each access point. Wherein, the identification information can uniquely identify each access point. For example, the identification information may be the MAC address of the access point, that is, the physical address.

例如,接入点可以向外广播物理地址。当搜索到接入点时,电子设备可以获取该接入点所广播的物理地址,将其确定为该接入点的标识信息。For example, an access point may broadcast a physical address outwards. When an access point is found, the electronic device may obtain the physical address broadcast by the access point, and determine it as the identification information of the access point.

204、电子设备根据每个接入点的标识信息,以及预设位置信息库,确定每个接入点的位置信息,以得到至少三个位置信息,其中,该预设位置信息库包括多个接入点的标识信息及其对应的位置信息。204. The electronic device determines the location information of each access point according to the identification information of each access point and a preset location information library to obtain at least three location information, where the preset location information library includes multiple The identification information of the access point and its corresponding location information.

需要说明的是,在本申请实施例中,在流程201之前,电子设备还可以从服务器下载预设位置信息库,其中,该预设位置信息库中的每个接入点的位置信息根据多个电子设备在搜索到对应的接入点时所分别对应的位置信息,以及多个电子设备在搜索到对应的接入点时分别与对应的接入点的距离确定。It should be noted that, in the embodiment of the present application, before theprocess 201, the electronic device may also download a preset location information library from the server, where the location information of each access point in the preset location information library is based on multiple The location information corresponding to each electronic device when searching for the corresponding access point, and the distances between the multiple electronic devices and the corresponding access point when searching for the corresponding access point.

在前期,当电子设备搜索到至少一个接入点时,电子设备会获取该至少一个接入点中的每个接入点的标识信息,以及该至少一个接入点中的每个接入点与该电子设备的距离,以及该电子设备的位置信息。然后,该电子设备可以将该电子设备的位置信息、每个接入点的标识信息,以及每个接入点与电子设备的距离发送至服务器。当至少三个电子设备搜索到同一个接入点时,这至少三个电子设备中的每个电子设备都可以获取其与该接入点的距离,该接入点的标识信息,以及其的位置信息等信息,并将这些信息发送至服务器。然后,服务器可以根据这些信息确定出该接入点的位置信息。接着,服务器可以建立一预设位置信息库,并将该接入点的位置信息与该接入点的标识信息进行关联,然后存入该预设位置信息库中。其中,标识信息可以为接入点的MAC地址,即物理地址。In the early stage, when the electronic device searches for at least one access point, the electronic device will obtain the identification information of each access point in the at least one access point, and the identification information of each access point in the at least one access point The distance to the electronic device, and the location information of the electronic device. Then, the electronic device may send the location information of the electronic device, the identification information of each access point, and the distance between each access point and the electronic device to the server. When at least three electronic devices search for the same access point, each of the at least three electronic devices can obtain the distance from the access point, the identification information of the access point, and its Location information and other information, and send this information to the server. Then, the server can determine the location information of the access point according to the information. Next, the server can establish a preset location information database, associate the location information of the access point with the identification information of the access point, and then store it in the preset location information database. Wherein, the identification information may be the MAC address of the access point, that is, the physical address.

如图3所示,当得到电子设备D1的位置信息、电子设备D2的位置信息、电子设备D3的位置信息、电子设备D1的位置与接入点A的位置的距离d1、电子设备D2的位置与接入点A的位置的距离d2,以及电子设备D3的位置与接入点A的位置的距离d3之后,服务器可以根据电子设备D1的位置信息、电子设备D2的位置信息,以及电子设备D3的位置信息,确定出电子设备D1的位置,电子设备D2的位置,以及电子设备D3的位置。然后,以各电子设备的位置为圆心,各电子设备的位置与接入点的位置的距离为半径画圆,可以确定出三个圆。由图可知,该三个圆的交点即为接入点A的位置。因此,只要确定出该三个圆的交点,便可确定出接入点A的位置。As shown in Figure 3, when the location information of the electronic device D1, the location information of the electronic device D2, the location information of the electronic device D3, the distance d1 between the location of the electronic device D1 and the location of the access point A, and the location of the electronic device D2 After the distance d2 from the location of the access point A, and the distance d3 between the location of the electronic device D3 and the location of the access point A, the server can use the location information of the electronic device D1, the location information of the electronic device D2, and the location information of the electronic device D3 The position information of the electronic device D1, the position of the electronic device D2, and the position of the electronic device D3 are determined. Then, a circle is drawn with the position of each electronic device as the center of the circle and the distance between the position of each electronic device and the position of the access point as the radius, and three circles can be determined. It can be seen from the figure that the intersection of the three circles is the location of the access point A. Therefore, as long as the intersection of the three circles is determined, the position of the access point A can be determined.

在本申请实施例中,当接收到多个电子设备发送的位置信息,以及多个电子设备与多个接入点的距离,以及多个接入点的标识信息等信息之后,服务器可以根据这些信息确定出多个接入点的位置信息。然后,服务器可以将每个接入点的位置信息与每个接入点的标识信息,如每个接入点的MAC地址进行关联,并存入预设位置信息库中。可知,随着时间的积累,该预设位置信息库中存储的接入点的位置信息将会越来越多。In this embodiment of the application, after receiving the location information sent by multiple electronic devices, the distances between multiple electronic devices and multiple access points, and the identification information of multiple access points, the server can The information determines the location information of multiple access points. Then, the server can associate the location information of each access point with the identification information of each access point, such as the MAC address of each access point, and store them in the preset location information database. It can be seen that with the accumulation of time, the location information of the access point stored in the preset location information database will increase.

可以理解的是,当搜索到同一个接入点的电子设备的数量越多。发送同一个接入点的标识信息,该接入点与电子设备的距离,电子设备的位置信息等信息至服务器的电子设备也越多。而根据更多的电子设备的位置信息,以及更多的接入点与电子设备的距离来确定接入点的位置信息,将会使接入点的位置信息确定得更加精确。因此,当某接入点的位置信息确定之后,若服务器又接收到新的电子设备发送的该接入点的标识信息,该接入点与新的电子设备的距离,以及该新的电子设备的位置信息至服务器时,服务器可以重新进行接入点的位置信息的确定。It can be understood that when the number of electronic devices searching for the same access point increases. The more electronic devices send information such as the identification information of the same access point, the distance between the access point and the electronic device, and the location information of the electronic device to the server. Determining the location information of the access point according to more location information of the electronic device and more distances between the access point and the electronic device will make the location information of the access point determined more accurately. Therefore, after the location information of an access point is determined, if the server receives the identification information of the access point sent by the new electronic device, the distance between the access point and the new electronic device, and the distance of the new electronic device When the location information of the access point is sent to the server, the server may re-determine the location information of the access point.

在本申请实施例中,当电子设备第一次开机之后,电子设备可以从服务器下载该预设位置信息库。随后,电子设备可以每隔一段预设时间将该预设位置信息库进行删除,然后再从服务器下载预设位置信息库,以使电子设备中存储的预设位置信息库可以实时地进行更新。或者,当服务器对预设位置信息库更新之后,服务器可以向电子设备发送一更新信息,以提示电子设备预设位置信息库已进行更新。当接收到该更新信息之后,电子设备可以自动将电子设备中的预设位置信息库删除,并从服务器重新下载该更新后的预设位置信息库。In the embodiment of the present application, after the electronic device is turned on for the first time, the electronic device may download the preset location information library from the server. Subsequently, the electronic device can delete the preset location information library every preset time, and then download the preset location information library from the server, so that the preset location information library stored in the electronic device can be updated in real time. Alternatively, after the server updates the preset location information database, the server may send an update message to the electronic device to remind the electronic device that the preset location information database has been updated. After receiving the update information, the electronic device can automatically delete the preset location information library in the electronic device, and re-download the updated preset location information library from the server.

在一些实施例中,当接收到该更新信息之后,电子设备可以先判断该更新后的预设位置信息库的数据量是否大于预设数据量阈值。若该更新后的预设位置信息库的数据量大于预设数据量阈值,电子设备可以不将电子设备中的预设位置信息库删除。若该更新后的预设位置信息库的数据量小于或等于预设数据量阈值,电子设备可以自动将电子设备中的预设位置信息库删除,并从服务器重新下载该更新后的预设位置信息库。其中,预设数据量阈值可以由用户确定。In some embodiments, after receiving the update information, the electronic device may first determine whether the data volume of the updated preset location information library is greater than a preset data volume threshold. If the data volume of the updated preset location information library is greater than the preset data volume threshold, the electronic device may not delete the preset location information library in the electronic device. If the data volume of the updated preset location information library is less than or equal to the preset data volume threshold, the electronic device can automatically delete the preset location information library in the electronic device, and re-download the updated preset location from the server database. Wherein, the preset data volume threshold may be determined by the user.

在另一些实施例中,当接收到该更新信息之后,电子设备可以先检测电子设备当前所连接的网络类型。若当前所连接的网络类型为数据网络,如3G网络或者4G网络等,电子设备可以从运营商获取流量套餐,以获取流量套餐当前剩余数据量。若更新后的预设位置信息库的数据量大于该剩余数据量,则电子设备可以先不下载该更新后的预设位置信息库。若当前所连接的网络类型为无线网络,如WiFi或热点等,电子设备可以直接下载该更新后的预设位置信息库,并对电子设备中已存在的预设位置信息库进行更新。In some other embodiments, after receiving the update information, the electronic device may first detect the type of network to which the electronic device is currently connected. If the currently connected network type is a data network, such as a 3G network or a 4G network, the electronic device may obtain a traffic package from an operator to obtain the current remaining data volume of the traffic package. If the data volume of the updated preset location information database is greater than the remaining data volume, the electronic device may not download the updated preset location information database. If the currently connected network type is a wireless network, such as WiFi or a hotspot, the electronic device can directly download the updated preset location information library, and update the existing preset location information library in the electronic device.

在一些实施例中,电子设备可以从服务器获取该更新后的预设位置信息库。然后,电子设备可以将该更新后的预设位置信息库与电子设备中已存在的预设位置信息库进行比对。接着,电子设备可以从该更新后的预设位置信息库中获取电子设备中已存在的预设位置信息库中不存在的接入点的标识信息及其对应的位置信息,将其存入电子设备中已存在的预设位置信息库中,以对电子设备中已存在的预设位置信息库进行更新。In some embodiments, the electronic device may obtain the updated preset location information library from the server. Then, the electronic device can compare the updated preset location information library with the existing preset location information library in the electronic device. Next, the electronic device can acquire the identification information and corresponding position information of the access points that do not exist in the preset position information base that already exists in the electronic device from the updated preset position information base, and store them in the electronic device. The preset position information library existing in the device, so as to update the preset position information library existing in the electronic device.

可以理解的是,电子设备并不是每次执行接收定位请求之前,都需要执行从服务器下载预设位置信息库的流程。而是在执行接收定位请求之前,若电子设备中不存在预设位置信息库,电子设备便会从服务器下载该预设位置信息库。若电子设备中存在预设位置信息库,电子设备可以在执行接收定位请求之后,直接执行根据定位请求,搜索接入点,以确定搜索到的至少三个接入点的流程。It can be understood that the electronic device does not need to execute the process of downloading the preset location information library from the server every time before receiving the positioning request. Instead, before receiving the positioning request, if the electronic device does not have a preset location information library, the electronic device will download the preset location information library from the server. If there is a preset location information library in the electronic device, after receiving the positioning request, the electronic device may directly perform a process of searching for access points according to the positioning request to determine at least three searched access points.

比如,当确定出每个接入点的标识信息之后,电子设备可以根据每个接入点的标识信息,以及预设位置信息库,确定每个接入点的位置信息,以得到至少三个位置信息,其中,该预设位置信息库包括多个接入点的标识信息及其对应的位置信息。For example, after determining the identification information of each access point, the electronic device can determine the location information of each access point according to the identification information of each access point and the preset location information library, so as to obtain at least three Location information, wherein the preset location information database includes identification information of multiple access points and corresponding location information.

例如,假设电子设备确定出接入点A1的标识信息、接入点A2的标识信息和接入点A3的标识信息。电子设备可以检测预设位置信息库中是否存在与接入点A1的标识信息匹配的目标标识信息。若预设位置信息库中存在与接入点A1的标识信息匹配的目标标识信息,电子设备可以从预设位置信息库中获取与该目标标识信息关联的位置信息,将该位置信息确定为接入点A1的位置信息。接着,电子设备可以检测预设位置信息库中是否存在与接入点A2的标识信息匹配的目标标识信息。若预设位置信息库中存在与接入点A2的标识信息匹配的目标标识信息,电子设备可以从预设位置信息库中获取与该目标标识信息关联的位置信息,将该位置信息确定为接入点A2的位置信息。最后,电子设备可以检测预设位置信息库中是否存在与接入点A3的标识信息匹配的目标标识信息。若预设位置信息库中存在与接入点A3的标识信息匹配的目标标识信息,电子设备可以从预设位置信息库中获取与该目标标识信息关联的位置信息,将该位置信息确定为接入点A3的位置信息。For example, assume that the electronic device determines the identification information of the access point A1, the identification information of the access point A2, and the identification information of the access point A3. The electronic device may detect whether there is target identification information matching the identification information of the access point A1 in the preset location information library. If there is target identification information matching the identification information of the access point A1 in the preset location information database, the electronic device may obtain the location information associated with the target identification information from the preset location information library, and determine the location information as the access point The location information of entry point A1. Next, the electronic device may detect whether there is target identification information matching the identification information of the access point A2 in the preset location information library. If there is target identification information matching the identification information of the access point A2 in the preset location information database, the electronic device may obtain the location information associated with the target identification information from the preset location information library, and determine the location information as the access point A2. The location information of entry point A2. Finally, the electronic device may detect whether there is target identification information matching the identification information of the access point A3 in the preset location information library. If there is target identification information matching the identification information of the access point A3 in the preset location information database, the electronic device may obtain the location information associated with the target identification information from the preset location information library, and determine the location information as the access point A3. The location information of entry point A3.

在一些实施例中,假设电子设备确定出接入点A1的标识信息、接入点A2的标识信息和接入点A3的标识信息。电子设备可以采用第一线程检测预设位置信息库中是否存在与接入点A1的标识信息匹配的目标标识信息。若预设位置信息库中存在与接入点A1的标识信息匹配的目标标识信息,电子设备可以采用第一线程从预设位置信息库中获取与该目标标识信息关联的位置信息,将该位置信息确定为接入点A1的位置信息。同时,电子设备可以采用第二线程检测预设位置信息库中是否存在与接入点A2的标识信息匹配的目标标识信息。若预设位置信息库中存在与接入点A2的标识信息匹配的目标标识信息,电子设备可以采用第二线程从预设位置信息库中获取与该目标标识信息关联的位置信息,将该位置信息确定为接入点A2的位置信息。同时,电子设备采用第三线程可以检测预设位置信息库中是否存在与接入点A3的标识信息匹配的目标标识信息。若预设位置信息库中存在与接入点A3的标识信息匹配的目标标识信息,电子设备可以采用第三线程从预设位置信息库中获取与该目标标识信息关联的位置信息,将该位置信息确定为接入点A3的位置信息。可知采用第一线程、第二线程和第三线程同时确定接入点A1、接入点A2和接入点A3的位置信息,可以节省确定位置信息的时间。In some embodiments, it is assumed that the electronic device determines the identification information of the access point A1, the identification information of the access point A2, and the identification information of the access point A3. The electronic device may use the first thread to detect whether there is target identification information matching the identification information of the access point A1 in the preset location information library. If there is target identification information matching the identification information of the access point A1 in the preset location information database, the electronic device may use the first thread to acquire the location information associated with the target identification information from the preset location information library, and set the location The information is determined as the location information of the access point A1. At the same time, the electronic device may use the second thread to detect whether there is target identification information matching the identification information of the access point A2 in the preset location information library. If there is target identification information matching the identification information of the access point A2 in the preset location information database, the electronic device may use the second thread to acquire the location information associated with the target identification information from the preset location information library, and set the location The information is determined as the location information of the access point A2. At the same time, the electronic device may use the third thread to detect whether there is target identification information matching the identification information of the access point A3 in the preset location information library. If there is target identification information matching the identification information of the access point A3 in the preset location information database, the electronic device may use a third thread to acquire the location information associated with the target identification information from the preset location information library, and set the location The information is determined as position information of the access point A3. It can be seen that using the first thread, the second thread, and the third thread to simultaneously determine the location information of the access point A1, the access point A2, and the access point A3 can save time for determining the location information.

205、电子设备确定每个接入点的信号强度。205. The electronic device determines the signal strength of each access point.

206、电子设备根据每个接入点的信号强度,以及信号强度与距离的预设对应关系,确定每个接入点与所述电子设备的距离,以得到至少三个距离。206. The electronic device determines the distance between each access point and the electronic device according to the signal strength of each access point and the preset correspondence between the signal strength and the distance, so as to obtain at least three distances.

比如,电子设备可以预先确定信号强度与距离的预设对应关系。为了保证距离更加准确。可以按照接入点的类型来建立信号强度与距离的预设对应关系,即不同类型的接入点对应不同的信号强度与距离的预设对应关系。例如,对于类型n1的接入点,可以建立信号强度与距离的预设第一对应关系,并与该类型n1关联;对于类型n2的接入点,可以建立信号强度与距离的预设第二对应关系,并与该类型n2关联;对于类型n3的接入点,可以建立信号强度与距离的预设第三对应关系,并与该类型n3关联。For example, the electronic device may predetermine a preset corresponding relationship between signal strength and distance. In order to ensure that the distance is more accurate. The preset corresponding relationship between signal strength and distance may be established according to the type of access point, that is, different types of access points correspond to different preset corresponding relationships between signal strength and distance. For example, for an access point of type n1, a preset first correspondence relationship between signal strength and distance can be established and associated with the type n1; for an access point of type n2, a preset second relationship between signal strength and distance can be established. and associated with the type n2; for an access point of type n3, a preset third corresponding relationship between signal strength and distance may be established and associated with the type n3.

在一些实施例中,不同类型的接入点也可以结合建立同一信号强度与距离的预设对应关系。比如,无论存在哪些类型的接入点,这些类型的接入点所对应的信号强度与距离的预设对应关系均为同一个。In some embodiments, different types of access points may also be combined to establish the same preset correspondence relationship between signal strength and distance. For example, no matter what types of access points exist, the preset corresponding relationship between the signal strength and the distance corresponding to these types of access points is the same.

在本申请实施例中,当确定出搜索到的至少三个接入点之后,电子设备可以确定每个接入点的信号强度。随后,电子设备可以根据每个接入点的信号强度,以及信号强度与距离的预设对应关系,确定每个接入点与所述电子设备的距离,以得到至少三个距离。In the embodiment of the present application, after at least three searched access points are determined, the electronic device may determine the signal strength of each access point. Subsequently, the electronic device may determine the distance between each access point and the electronic device according to the signal strength of each access point and the preset correspondence between the signal strength and the distance, so as to obtain at least three distances.

例如,假设n1类型的接入点对应信号强度与距离的预设对应关系r1,n2类型的接入点对应信号强度与距离的预设对应关系r2,n3类型的接入点对应信号强度与距离的预设对应关系r3。当确定出这至少三个接入点之后,电子设备可以确定每个接入点的类型,以及每个接入点的信号强度。比如,电子设备确定出的至少三个接入点分别为n1类型的接入点,n2类型的接入点,n3类型的接入点。那么,对于n1类型的接入点,电子设备可以根据该n1类型的接入点的信号强度、以及信号强度与距离的预设对应关系r1,确定该n1类型的接入点与电子设备的距离d1。对于n2类型的接入点,电子设备可以根据该n2类型的接入点的信号强度、以及信号强度与距离的预设对应关系r2确定该n2类型的接入点与电子设备的距离d2。对于n3类型的接入点,电子设备可以根据该n3类型的接入点的信号强度、以及信号强度与距离的预设对应关系r3确定该n3类型的接入点与电子设备的距离d3。For example, it is assumed that the n1 type of access point corresponds to the preset correspondence between signal strength and distance r1, the n2 type of access point corresponds to the preset correspondence between signal strength and distance r2, and the n3 type of access point corresponds to the signal strength and distance The default corresponding relationship r3. After the at least three access points are determined, the electronic device may determine the type of each access point and the signal strength of each access point. For example, the at least three access points determined by the electronic device are respectively an access point of type n1, an access point of type n2, and an access point of type n3. Then, for an access point of type n1, the electronic device can determine the distance between the access point of type n1 and the electronic device according to the signal strength of the access point of type n1 and the preset correspondence between signal strength and distance r1 d1. For the access point of type n2, the electronic device may determine the distance d2 between the access point of type n2 and the electronic device according to the signal strength of the access point of type n2 and the preset corresponding relationship r2 between signal strength and distance. For the access point of type n3, the electronic device may determine the distance d3 between the access point of type n3 and the electronic device according to the signal strength of the access point of type n3 and the preset corresponding relationship r3 between signal strength and distance.

需要说明的是,流程203和205可以同时执行。也可以先执行流程203和204,再执行流程205和206;或者先执行流程205和206,再执行流程203和204。此处不作具体限制。It should be noted that processes 203 and 205 can be executed simultaneously. It is also possible to executeprocesses 203 and 204 first, and then executeprocesses 205 and 206; or executeprocesses 205 and 206 first, and then executeprocesses 203 and 204. No specific limitation is made here.

207、电子设备根据至少三个位置信息,以及至少三个距离,确定电子设备的位置。207. The electronic device determines the position of the electronic device according to at least three pieces of location information and at least three distances.

比如,当确定出至少三个接入点的位置信息之后,电子设备可以根据至少三个接入点的位置信息,以及至少三个接入点与电子设备的距离,确定出电子设备的位置。For example, after the location information of at least three access points is determined, the electronic device may determine the location of the electronic device according to the location information of the at least three access points and the distances between the at least three access points and the electronic device.

其中,至少三个接入点的位置信息可包括至少三个接入点的位置,如位置坐标。Wherein, the location information of the at least three access points may include the locations of the at least three access points, such as location coordinates.

如图4所示,当确定出接入点A1的位置信息、接入点A2的位置信息、接入点A3的位置信息、接入点A1的位置与电子设备D的位置的距离d4、接入点A2的位置与电子设备D的位置的距离d5、接入点A3的位置与电子设备D的位置的距离d6之后,电子设备可以根据接入点A1的位置信息、接入点A2的位置信息、以及接入点A3的位置信息确定接入点A1的位置、接入点A2的位置,以及接入点A3的位置。然后,电子设备可以以各接入点的位置为圆心,各接入点的位置与电子设备的位置的距离为半径画圆,从而确定出三个圆。由图可知,该三个圆的交点即为电子设备D的位置。因此,只要确定出该三个圆的交点,便可确定出电子设备D的位置。As shown in FIG. 4 , when the location information of the access point A1, the location information of the access point A2, the location information of the access point A3, the distance d4 between the location of the access point A1 and the location of the electronic device D, the access point After the distance d5 between the position of access point A2 and the position of electronic device D, and the distance d6 between the position of access point A3 and the position of electronic device D, the electronic device can use the position information of access point A1 and the position of access point A2 information, and the location information of access point A3 determine the location of access point A1, the location of access point A2, and the location of access point A3. Then, the electronic device may draw a circle with the position of each access point as the center and the distance between the position of each access point and the position of the electronic device as the radius, so as to determine three circles. It can be seen from the figure that the intersection point of the three circles is the position of the electronic device D. Therefore, as long as the intersection of the three circles is determined, the position of the electronic device D can be determined.

在一些实施例中,在流程201之前,还可以包括:In some embodiments, before theprocess 201, it may also include:

电子设备检测电子设备的GPS信号强度是否小于或等于预设强度阈值;The electronic device detects whether the GPS signal strength of the electronic device is less than or equal to a preset strength threshold;

若电子设备的GPS信号强度小于或等于预设强度阈值,则电子设备生成定位请求。If the GPS signal strength of the electronic device is less than or equal to the preset strength threshold, the electronic device generates a positioning request.

比如,当电子设备接收到用户触发的定位操作时,电子设备可以检测电子设备的GPS信号强度是否小于或等于预设强度阈值。若电子设备的GPS信号强度小于或等于预设强度阈值,则电子设备可以生成定位请求,并进入本申请实施例的流程201。若电子设备的GPS信号强度大于预设强度阈值,则电子设备可以采用GPS进行定位。其中,预设强度阈值可以由电子设备确定。该预设强度阈值可以为能够使GPS进行准确定位的强度值。也就是说,电子设备可以根据GPS信号强度的强弱来选择执行本申请实施例的定位方法,即进行多点定位还是进行GPS定位。例如,当GPS信号强度较强(大于预设强度阈值)时,电子设备可以采用GPS进行定位。当GPS信号强度较弱(小于或等于预设强度阈值)时,电子设备可生成定位请求,并进入本申请实施例的流程201。For example, when the electronic device receives a positioning operation triggered by the user, the electronic device may detect whether the GPS signal strength of the electronic device is less than or equal to a preset strength threshold. If the GPS signal strength of the electronic device is less than or equal to the preset strength threshold, the electronic device may generate a positioning request and enter theprocess 201 of the embodiment of the present application. If the GPS signal strength of the electronic device is greater than a preset strength threshold, the electronic device may use GPS for positioning. Wherein, the preset intensity threshold may be determined by the electronic device. The preset intensity threshold may be an intensity value enabling GPS to perform accurate positioning. That is to say, the electronic device can choose to execute the positioning method of the embodiment of the present application according to the strength of the GPS signal, that is, to perform multi-point positioning or to perform GPS positioning. For example, when the GPS signal strength is strong (greater than a preset strength threshold), the electronic device may use GPS for positioning. When the GPS signal strength is weak (less than or equal to a preset strength threshold), the electronic device may generate a positioning request, and enter theprocess 201 of the embodiment of the present application.

在一些实施例中,若电子设备的GPS信号强度大于预设强度阈值,则电子设备获取电子设备的剩余电量值;In some embodiments, if the GPS signal strength of the electronic device is greater than a preset strength threshold, the electronic device obtains the remaining power value of the electronic device;

电子设备检测剩余电量值是否小于或等于预设电量阈值;The electronic device detects whether the remaining power value is less than or equal to a preset power threshold;

若剩余电量值小于或等于预设电量阈值,则电子设备生成定位请求。If the remaining power value is less than or equal to the preset power threshold, the electronic device generates a positioning request.

由于采用GPS进行定位需要消耗较多的电池电量。因此,当电子设备的GPS信号强度大于预设强度阈值时,电子设备还可以获取电子设备的剩余电量值。若剩余电量值小于或等于预设电量阈值,即剩余电量较少时,电子设备可以生成定位请求,以进入本申请实施例的流程201。其中,预设电量阈值可以由电子设备确定,也可以由用户确定。例如,预设电量阈值可以为一百分比值,例如50%,45%等等。Because using GPS for positioning needs to consume more battery power. Therefore, when the GPS signal strength of the electronic device is greater than the preset strength threshold, the electronic device can also obtain the remaining power value of the electronic device. If the remaining power value is less than or equal to the preset power threshold, that is, when the remaining power is low, the electronic device may generate a positioning request to enter theprocess 201 of the embodiment of the present application. Wherein, the preset power threshold can be determined by the electronic device, or can be determined by the user. For example, the preset power threshold can be a percentage value, such as 50%, 45% and so on.

其中,电子设备可为可穿戴设备,如智能手表、智能手环、通话手表或运动手表等。Wherein, the electronic device may be a wearable device, such as a smart watch, a smart bracelet, a talking watch or a sports watch.

在一些实施例中,由于智能手表、智能手环、通话手表或运动手表等受限的手表天线环境,GPS天线效率一般无法做高,因此,对于智能手表、智能手环、通话手表或运动手表等,无论GPS信号强度是否大于预设强度阈值,都可以直接采用本申请实施例的定位方法进行定位;或者,除了GPS信号强度比较高(大于预设强度阈值)的场景之外,都可以采用本申请实施例的定位方法进行定位。In some embodiments, due to the limited watch antenna environment of smart watches, smart bracelets, talking watches or sports watches, GPS antenna efficiency generally cannot be made high, therefore, for smart watches, smart bracelets, talking watches or sports watches etc., no matter whether the GPS signal strength is greater than the preset strength threshold, the positioning method of the embodiment of the present application can be directly used for positioning; or, except for scenarios where the GPS signal strength is relatively high (greater than the preset strength threshold), all can use The positioning method in the embodiment of the present application performs positioning.

由于智能手机进行GPS定位的精准度大大高于智能手表等可穿戴设备进行GPS定位的精准度。因此,在建立预设位置信息库中,若需要电子设备进行GPS定位,以获取电子设备的位置信息,并上传至服务器,那么服务器可以仅接收智能手机上传的位置信息,以提高位置信息的准确性。Because the accuracy of GPS positioning of smartphones is much higher than that of wearable devices such as smart watches. Therefore, in the establishment of the preset location information database, if the electronic device needs to perform GPS positioning to obtain the location information of the electronic device and upload it to the server, then the server can only receive the location information uploaded by the smart phone to improve the accuracy of the location information. sex.

请参阅图5,图5为本申请实施例提供的定位装置的结构示意图。该定位装置可应用于电子设备。该定位装置包括:接收模块301,搜索模块302,第一确定模块303,第二确定模块304及第三确定模块305。Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of a positioning device provided by an embodiment of the present application. The positioning device can be applied to electronic equipment. The positioning device includes: a receivingmodule 301 , a searchingmodule 302 , a first determiningmodule 303 , a second determiningmodule 304 and a third determiningmodule 305 .

接收模块301,用于接收定位请求。The receivingmodule 301 is configured to receive a positioning request.

搜索模块302,用于根据所述定位请求,搜索接入点,以确定搜索到的至少三个接入点。The searchingmodule 302 is configured to search for access points according to the positioning request, so as to determine at least three searched access points.

第一确定模块303,用于确定每个接入点的位置信息,以得到至少三个位置信息。The first determiningmodule 303 is configured to determine the location information of each access point to obtain at least three location information.

第二确定模块304,用于确定每个接入点与所述电子设备的距离,以得到至少三个距离。Thesecond determination module 304 is configured to determine the distance between each access point and the electronic device, so as to obtain at least three distances.

第三确定模块305,用于根据所述至少三个位置信息,以及所述至少三个距离,确定所述电子设备的位置。Thethird determination module 305 is configured to determine the position of the electronic device according to the at least three position information and the at least three distances.

在一些实施例中,所述第一确定模块303,可以用于:确定每个接入点的标识信息;根据每个接入点的标识信息,以及预设位置信息库,确定每个接入点的位置信息,以得到至少三个位置信息,其中,所述预设位置信息库包括多个接入点的标识信息及其对应的位置信息。In some embodiments, thefirst determination module 303 may be configured to: determine the identification information of each access point; determine each access point according to the identification information of each access point and the preset location information library Point location information to obtain at least three location information, wherein the preset location information database includes identification information of multiple access points and corresponding location information.

在一些实施例中,所述接收模块301,可以用于:从服务器下载预设位置信息库,其中,所述预设位置信息库中的每个接入点的位置信息根据多个电子设备在搜索到对应的接入点时所分别对应的位置信息,以及多个电子设备在搜索到对应的接入点时分别与对应的接入点的距离确定。In some embodiments, the receivingmodule 301 may be configured to: download a preset location information library from a server, wherein the location information of each access point in the preset location information library is based on the The corresponding location information when the corresponding access points are searched, and the distances between the plurality of electronic devices and the corresponding access points when the corresponding access points are searched are respectively determined.

在一些实施例中,所述第二确定模块304,可以用于:确定每个接入点的信号强度;根据每个接入点的信号强度,以及信号强度与距离的预设对应关系,确定每个接入点与所述电子设备的距离,以得到至少三个距离。In some embodiments, the second determiningmodule 304 may be configured to: determine the signal strength of each access point; determine according to the signal strength of each access point and the preset correspondence between signal strength and distance The distance between each access point and the electronic device to obtain at least three distances.

在一些实施例中,所述接收模块301,可以用于:检测所述电子设备的GPS信号强度是否小于或等于预设强度阈值;若所述电子设备的GPS信号强度小于或等于预设强度阈值,则生成定位请求。In some embodiments, the receivingmodule 301 may be configured to: detect whether the GPS signal strength of the electronic device is less than or equal to a preset strength threshold; if the GPS signal strength of the electronic device is less than or equal to a preset strength threshold , a location request is generated.

在一些实施例中,所述接收模块301,可以用于:若所述电子设备的GPS信号强度大于预设强度阈值,则获取所述电子设备的剩余电量值;检测所述剩余电量值是否小于或等于预设电量阈值;若所述剩余电量值小于或等于预设电量阈值,则生成定位请求。In some embodiments, the receivingmodule 301 may be configured to: if the GPS signal strength of the electronic device is greater than a preset strength threshold, obtain the remaining power value of the electronic device; detect whether the remaining power value is less than or equal to a preset power threshold; if the remaining power value is less than or equal to the preset power threshold, a positioning request is generated.

在一些实施例中,所述电子设备为可穿戴设备。In some embodiments, the electronic device is a wearable device.

本申请实施例提供一种计算机可读的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行如本实施例提供的定位方法中的流程。An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed on a computer, the computer is made to execute the procedure in the positioning method provided in this embodiment.

本申请实施例还提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行本实施例提供的定位方法中的流程。The embodiment of the present application also provides an electronic device, including a memory and a processor, and the processor is used to execute the procedure in the positioning method provided in this embodiment by invoking a computer program stored in the memory.

例如,上述电子设备可以是诸如平板电脑或者智能手机等移动终端。请参阅图6,图6为本申请实施例提供的电子设备的结构示意图。For example, the above-mentioned electronic device may be a mobile terminal such as a tablet computer or a smart phone. Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

该电子设备400可以包括存储器401、处理器402等部件。本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Theelectronic device 400 may include components such as amemory 401 and aprocessor 402 . Those skilled in the art can understand that the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.

存储器401可用于存储应用程序和数据。存储器401存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器402通过运行存储在存储器401的应用程序,从而执行各种功能应用以及数据处理。Thememory 401 can be used to store applications and data. The application programs stored in thememory 401 include executable codes. Applications can be composed of various functional modules. Theprocessor 402 executes various functional applications and data processing by running the application programs stored in thememory 401 .

处理器402是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储401内的应用程序,以及调用存储在存储器401内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。Theprocessor 402 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing the application program stored in thestorage 401 and calling the data stored in thestorage 401, the electronic device executes Various functions and processing data, so as to monitor the electronic equipment as a whole.

在本实施例中,电子设备中的处理器402会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器401中,并由处理器402来运行存储在存储器401中的应用程序,从而实现流程:In this embodiment, theprocessor 402 in the electronic device loads the executable code corresponding to the process of one or more application programs into thememory 401 according to the following instructions, and theprocessor 402 runs the executable code stored in the memory. 401 in the application, thus achieving the flow:

接收定位请求;receive location requests;

根据所述定位请求,搜索接入点,以确定搜索到的至少三个接入点;Searching for access points according to the positioning request, to determine at least three searched access points;

确定每个接入点的位置信息,以得到至少三个位置信息;determining location information of each access point to obtain at least three location information;

确定每个接入点与所述电子设备400的距离,以得到至少三个距离;determining the distance between each access point and theelectronic device 400 to obtain at least three distances;

根据所述至少三个位置信息,以及所述至少三个距离,确定所述电子设备400的位置。According to the at least three pieces of location information and the at least three distances, the location of theelectronic device 400 is determined.

请参阅图7,电子设备400可以包括存储器401、处理器402、输入单元403、输出单元404、WiFi模块405、显示屏406等部件。Referring to FIG. 7 , theelectronic device 400 may includememory 401 ,processor 402 ,input unit 403 ,output unit 404 ,WiFi module 405 ,display screen 406 and other components.

存储器401可用于存储应用程序和数据。存储器401存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器402通过运行存储在存储器401的应用程序,从而执行各种功能应用以及数据处理。Thememory 401 can be used to store applications and data. The application programs stored in thememory 401 include executable codes. Applications can be composed of various functional modules. Theprocessor 402 executes various functional applications and data processing by running the application programs stored in thememory 401 .

处理器402是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器401内的应用程序,以及调用存储在存储器401内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。Theprocessor 402 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing the application program stored in thememory 401 and calling the data stored in thememory 401, the electronic device executes Various functions and processing data, so as to monitor the electronic equipment as a whole.

输入单元403可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。Theinput unit 403 can be used to receive input numbers, character information or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

输出单元404可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。输出单元可包括显示面板。Theoutput unit 404 can be used to display information input by or provided to the user and various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The output unit may include a display panel.

WiFi模块405用于将串口或TTL电平转为符合Wi-Fi无线网络通信标准的嵌入式模块。TheWiFi module 405 is used to convert the serial port or TTL level into an embedded module conforming to the Wi-Fi wireless network communication standard.

显示屏406可以用于显示文字、图片等信息。Thedisplay screen 406 can be used to display text, pictures and other information.

在本实施例中,电子设备中的处理器402会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器401中,并由处理器402来运行存储在存储器401中的应用程序,从而实现流程:In this embodiment, theprocessor 402 in the electronic device loads the executable code corresponding to the process of one or more application programs into thememory 401 according to the following instructions, and theprocessor 402 runs the executable code stored in the memory. 401 in the application, thus achieving the flow:

接收定位请求;receive location requests;

根据所述定位请求,搜索接入点,以确定搜索到的至少三个接入点;Searching for access points according to the positioning request, to determine at least three searched access points;

确定每个接入点的位置信息,以得到至少三个位置信息;determining location information of each access point to obtain at least three location information;

确定每个接入点与所述电子设备400的距离,以得到至少三个距离;determining the distance between each access point and theelectronic device 400 to obtain at least three distances;

根据所述至少三个位置信息,以及所述至少三个距离,确定所述电子设备400的位置。According to the at least three pieces of location information and the at least three distances, the location of theelectronic device 400 is determined.

在一些实施例中,处理器402执行所述确定每个接入点的位置信息,以得到至少三个位置信息时,可以执行:确定每个接入点的标识信息;根据每个接入点的标识信息,以及预设位置信息库,确定每个接入点的位置信息,以得到至少三个位置信息,其中,所述预设位置信息库包括多个接入点的标识信息及其对应的位置信息。In some embodiments, when theprocessor 402 executes the determining the location information of each access point to obtain at least three location information, it may perform: determining the identification information of each access point; according to each access point identification information, and a preset location information library, determine the location information of each access point to obtain at least three location information, wherein the preset location information library includes identification information of multiple access points and their corresponding location information.

在一些实施例中,处理器402执行所述接收定位请求之前,还可以执行:从服务器下载预设位置信息库,其中,所述预设位置信息库中的每个接入点的位置信息根据多个电子设备在搜索到对应的接入点时所分别对应的位置信息,以及多个电子设备在搜索到对应的接入点时分别与对应的接入点的距离确定。In some embodiments, before theprocessor 402 executes receiving the positioning request, it may further execute: downloading a preset location information library from a server, wherein the location information of each access point in the preset location information library is based on The location information corresponding to the multiple electronic devices when searching for the corresponding access point, and the distances between the multiple electronic devices and the corresponding access point when searching for the corresponding access point are determined.

在一些实施例中,处理器402执行所述确定每个接入点与所述电子设备400的距离,以得到至少三个距离时,可以执行:确定每个接入点的信号强度;根据每个接入点的信号强度,以及信号强度与距离的预设对应关系,确定每个接入点与所述电子设备400的距离,以得到至少三个距离。In some embodiments, when theprocessor 402 performs the determining the distance between each access point and theelectronic device 400 to obtain at least three distances, it may perform: determining the signal strength of each access point; The signal strength of each access point, and the preset corresponding relationship between signal strength and distance, determine the distance between each access point and theelectronic device 400, so as to obtain at least three distances.

在一些实施例中,处理器402执行所述接收定位请求之前,还可以执行:检测所述电子设备400的GPS信号强度是否小于或等于预设强度阈值;若所述电子设备400的GPS信号强度小于或等于预设强度阈值,则生成定位请求。In some embodiments, before theprocessor 402 executes receiving the positioning request, it may further execute: detecting whether the GPS signal strength of theelectronic device 400 is less than or equal to a preset strength threshold; if the GPS signal strength of theelectronic device 400 is If it is less than or equal to the preset intensity threshold, a positioning request is generated.

在一些实施例中,处理器402执行所述检测所述电子设备400的GPS信号强度是否小于或等于预设强度阈值之后,还可以执行:若所述电子设备400的GPS信号强度大于预设强度阈值,则获取所述电子设备400的剩余电量值;检测所述剩余电量值是否小于或等于预设电量阈值;若所述剩余电量值小于或等于预设电量阈值,则生成定位请求。In some embodiments, after theprocessor 402 executes the step of detecting whether the GPS signal strength of theelectronic device 400 is less than or equal to a preset strength threshold, it may further execute: if the GPS signal strength of theelectronic device 400 is greater than the preset strength threshold, then obtain the remaining power value of theelectronic device 400; detect whether the remaining power value is less than or equal to the preset power threshold; if the remaining power value is less than or equal to the preset power threshold, generate a positioning request.

在一些实施例中,所述电子设备400为可穿戴设备。In some embodiments, theelectronic device 400 is a wearable device.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对定位方法的详细描述,此处不再赘述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases. For the part not described in detail in a certain embodiment, refer to the detailed description of the positioning method above, and will not be repeated here.

本申请实施例提供的所述定位装置与上文实施例中的定位方法属于同一构思,在所述定位装置上可以运行所述定位方法实施例中提供的任一方法,其具体实现过程详见所述定位方法实施例,此处不再赘述。The positioning device provided in the embodiment of the present application belongs to the same concept as the positioning method in the above embodiment, and any method provided in the positioning method embodiment can be run on the positioning device. For the specific implementation process, see The embodiment of the positioning method will not be repeated here.

需要说明的是,对本申请实施例所述定位方法而言,本领域普通技术人员可以理解实现本申请实施例所述定位方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在存储器中,并被至少一个处理器执行,在执行过程中可包括如所述定位方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)等。It should be noted that, for the positioning method described in the embodiment of the present application, those of ordinary skill in the art can understand that all or part of the process of realizing the positioning method described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program The computer program may be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and the execution process may include the process of the embodiment of the positioning method. Wherein, the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory) and the like.

对本申请实施例的所述定位装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。For the positioning device in the embodiment of the present application, its various functional modules may be integrated into one processing chip, or each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium, such as read-only memory, magnetic disk or optical disk, etc. .

以上对本申请实施例所提供的一种定位方法、装置、存储介质及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A positioning method, device, storage medium, and electronic equipment provided by the embodiments of the present application have been introduced in detail above. In this paper, specific examples are used to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used To help understand the method and its core idea of this application; at the same time, for those skilled in the art, according to the idea of this application, there will be changes in the specific implementation and application scope. In summary, the content of this specification It should not be construed as a limitation of the application.

Claims (8)

determining the position information of each access point through each thread in a plurality of threads according to the identification information of each access point and a preset position information base to obtain at least three position information, wherein the preset position information base comprises the identification information of a plurality of access points and the corresponding position information of the access points, the preset position information base is an updated preset position information base downloaded from a server when the electronic equipment receives updated information sent by the server after updating the preset position information base, and the data volume of the updated preset position information base is smaller than or equal to a preset data volume threshold value; or the preset position information base is obtained by updating the preset position information base existing in the electronic equipment according to the updated preset position information base downloaded from the server when the electronic equipment receives the updated information sent by the server after the server updates the preset position information base, and the network type connected with the electronic equipment currently is a wireless network, wherein the position information of each access point in the preset position information base is respectively corresponding to the position information of a plurality of electronic equipment when the corresponding access point is searched, and the distances between the plurality of electronic equipment and the corresponding access point are respectively determined when the corresponding access point is searched;
a first determining module, configured to determine, by each of a plurality of threads, identification information of each access point at the same time; determining the position information of each access point according to the identification information of each access point and a preset position information base to obtain at least three position information, wherein the preset position information base comprises the identification information of a plurality of access points and the corresponding position information of the access points, and the preset position information base is an updated preset position information base downloaded from a server when the electronic equipment receives the updated information sent by the server after updating the preset position information base, and the data volume of the updated preset position information base is smaller than or equal to a preset data volume threshold value; or the preset position information base is obtained by updating the preset position information base existing in the electronic equipment according to the updated preset position information base downloaded from the server when the electronic equipment receives the updated information sent by the server after the server updates the preset position information base, and the network type connected with the electronic equipment currently is a wireless network, wherein the position information of each access point in the preset position information base is respectively corresponding to the position information of a plurality of electronic equipment when the corresponding access point is searched, and the distances between the plurality of electronic equipment and the corresponding access point are respectively determined when the corresponding access point is searched;
CN201910828566.6A2019-09-032019-09-03Positioning method, positioning device, storage medium and electronic equipmentActiveCN112468952B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910828566.6ACN112468952B (en)2019-09-032019-09-03Positioning method, positioning device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910828566.6ACN112468952B (en)2019-09-032019-09-03Positioning method, positioning device, storage medium and electronic equipment

Publications (2)

Publication NumberPublication Date
CN112468952A CN112468952A (en)2021-03-09
CN112468952Btrue CN112468952B (en)2023-06-02

Family

ID=74807721

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910828566.6AActiveCN112468952B (en)2019-09-032019-09-03Positioning method, positioning device, storage medium and electronic equipment

Country Status (1)

CountryLink
CN (1)CN112468952B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115267755B (en)*2021-04-292025-05-09广州视源电子科技股份有限公司 Interactive tablet positioning method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105891866A (en)*2016-03-312016-08-24北京金山安全软件有限公司Positioning method and device and electronic equipment
CN107708068A (en)*2017-09-292018-02-16深圳奇迹智慧网络有限公司Indoor orientation method, system, computer-readable storage medium and server
CN108040318A (en)*2017-10-302018-05-15捷开通讯(深圳)有限公司A kind of localization method, electronic equipment and computer-readable recording medium
CN108521628A (en)*2018-03-292018-09-11维沃移动通信有限公司 A positioning method, device and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105891866A (en)*2016-03-312016-08-24北京金山安全软件有限公司Positioning method and device and electronic equipment
CN107708068A (en)*2017-09-292018-02-16深圳奇迹智慧网络有限公司Indoor orientation method, system, computer-readable storage medium and server
CN108040318A (en)*2017-10-302018-05-15捷开通讯(深圳)有限公司A kind of localization method, electronic equipment and computer-readable recording medium
CN108521628A (en)*2018-03-292018-09-11维沃移动通信有限公司 A positioning method, device and mobile terminal

Also Published As

Publication numberPublication date
CN112468952A (en)2021-03-09

Similar Documents

PublicationPublication DateTitle
US11809705B2 (en)Touch control method and apparatus
CN105580394B (en) Method and device for message push and message display
WO2018103484A1 (en)Data processing method, apparatus and system for live broadcast page
CN107741937A (en)A kind of data query method and device
WO2019024649A1 (en)Application program launching method, device, storage medium and terminal
CN108984374B (en)Method and system for testing database performance
CN104281394A (en)Method and device for intelligently selecting words
CN108984142B (en) Split-screen display method, device, storage medium and electronic device
CN111918386B (en)Positioning method, positioning device, storage medium and electronic equipment
CN108227953A (en)Character input method and related product
CN112468952B (en)Positioning method, positioning device, storage medium and electronic equipment
CN114115895B (en) Code query method, device, electronic device and storage medium
CN113286349B (en) Personal hotspot connection method, device, terminal and storage medium
CN114915511B (en) A control method and device for split equipment
CN114268653A (en)Equipment calling method, device, equipment, medium and product
CN116450597A (en)Log management method and related device
CN115905742A (en) A data display method, device, equipment and storage medium
WO2018219118A1 (en)Interface displaying method and related product
CN112214404A (en) Test method, device, storage medium and electronic device for mobile application
CN109451295A (en)A kind of method and system obtaining virtual information
CN109379394A (en) A method, device and terminal for monitoring network request
CN115878457A (en)Test data verification method and device, electronic equipment and storage medium
CN112732548B (en)Interface testing method and device
CN107015874A (en)Data transfer control method, device and terminal
CN110457547B (en)Search term recommendation and display method and related device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp