Terminal positioning method in local area network, electronic equipment terminal and storage medium

By using indoor WiFi signals, the positioning difficulties caused by weak indoor GNSS signals are solved, self-calibration of electronic device terminals and rapid acquisition of other terminal location information is realized, and the positioning capability of indoor multi-terminal devices is improved.

CN115038169BActive Publication Date: 2025-02-07SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210632935.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-06
Publication Date
2025-02-07
Estimated Expiration
2042-06-06

AI Technical Summary

Technical Problem

In the case of weak indoor GNSS signals, users cannot accurately locate their own location or obtain location information of other terminals, such as in underground parking garages.

Method used

By using indoor WiFi signals, self-calibration of electronic device terminals and acquisition of other terminal location information is realized. The specific method includes determining a wireless signal source connected to the terminal, acquiring relative position information, determining the local area network to which the wireless signal source belongs, and determining the target position information based on the multiple position information.

Benefits of technology

It realizes self-calibration and acquisition of other terminal location information in an indoor local area network, which is simple and more intelligent, and realizes the fast positioning function between multiple terminal devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115038169B_ABST
    Figure CN115038169B_ABST
Patent Text Reader

Abstract

The embodiment of the present application proposes a terminal positioning method in a local area network, an electronic device terminal and a storage medium. In the above-mentioned terminal positioning method, after the first terminal is connected to the first wireless signal source in the local area network, the local area network to which it belongs can be obtained through the first wireless signal source, so as to determine the second wireless signal source connected to the second terminal in the local area network, and determine the target position information of the second terminal relative to the first terminal based on the first position information of the first terminal relative to the first wireless signal source, the second position information of the second terminal relative to the second wireless signal source and the third position information of the first wireless signal source relative to the second wireless signal source. Compared with the prior art, the present application connects the first terminal to the local area network, so that self-calibration and acquisition of position information of other terminals connected to the same local area network can be realized in the indoor local area network. The operation is simple and more intelligent, and a rapid positioning function between multiple terminal devices is realized.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The embodiments of the present application relate to the field of intelligent terminal technology, and in particular to a terminal positioning method in a local area network, an electronic device terminal, and a storage medium. [Background technology]

[0002] Indoors, when the Global Navigation Satellite System (GNSS) signal is weak, users cannot accurately locate their current location information or obtain the location information of other terminals through their mobile terminals. For example, in an underground parking garage, due to the weak GNSS signal in the underground environment, the user terminal cannot obtain its own location information, nor can it determine the parking location of the car after data interaction with the vehicle terminal. [Summary of the invention]

[0003] The embodiments of the present application provide a terminal positioning method within a local area network, an electronic device terminal, and a storage medium, so that when the indoor GNSS signal is weak, the electronic device terminal can be self-calibrated and other terminal location information can be obtained by using the indoor WiFi signal.

[0004] In a first aspect, an embodiment of the present application provides a terminal positioning method within a local area network, which is applied to a first terminal, and the method includes: determining a first wireless signal source connected to the first terminal, and obtaining first position information of the first terminal relative to the first wireless signal source; determining the local area network to which the first wireless signal source belongs; determining a second wireless signal source connected to a second terminal in the local area network, and obtaining second position information of the second terminal relative to the second wireless signal source, and obtaining third position information of the second wireless signal source relative to the first wireless signal source; and determining the target position information of the second terminal relative to the first terminal based on the first position information, the second position information and the third position information.

[0005] In the above-mentioned terminal positioning method in the local area network, after the first terminal is connected to the first wireless signal source in the local area network, the local area network to which the first wireless signal source belongs can be obtained through the first wireless signal source, thereby determining the second wireless signal source to which the second terminal is connected in the local area network, and determining the target position information of the second terminal relative to the first terminal based on the first position information of the first terminal relative to the first wireless signal source, the second position information of the second terminal relative to the second wireless signal source, and the third position information of the first wireless signal source relative to the second wireless signal source. Compared with the prior art, the present application scheme connects the electronic device terminal to the local area network, so that self-calibration and acquisition of position information of other terminals connected to the same local area network can be realized in the indoor local area network. The operation is simple and more intelligent, and a rapid positioning function between multiple terminal devices is realized.

[0006] In one embodiment, the obtaining of the third position information of the second wireless signal source relative to the first wireless signal source includes: obtaining the position information of all wireless signal sources in the local area network, wherein the position information of all wireless signal sources in the local area network includes the third position information;

[0007] The method of determining the target location information of the second terminal relative to the first terminal based on the first location information, the second location information and the third location information includes: establishing a coordinate system based on the first location information and the location information of all wireless signal sources in the local area network; determining the position of the second terminal in the coordinate system based on the second location information, the position of the second terminal in the coordinate system including the target location information.

[0008] In one embodiment, after obtaining the second position information of the second terminal relative to the second wireless signal source, the method further includes: determining the first signal strength between the second wireless signal source and the second terminal; determining at least one third wireless signal source in the local area network whose signal strength with the second terminal reaches the first preset signal strength, and obtaining the second signal strength between each of the third wireless signal sources and the second terminal; determining the second terminal position information based on the first signal strength and each of the second signal strengths, the second terminal position information including the second position information and the position information of the second terminal relative to each of the third wireless signal sources;

[0009] The determining the position of the second terminal in the coordinate system based on the second position information includes: determining the position of the second terminal in the coordinate system based on the second terminal position information.

[0010] In one embodiment, after obtaining the first position information of the first terminal relative to the first wireless signal source, the method further includes: determining a third signal strength between the first wireless signal source and the first terminal; determining at least one fourth wireless signal source in the local area network whose signal strength with the first terminal reaches a second preset signal strength, and obtaining a fourth signal strength between each of the fourth wireless signal sources and the first terminal; determining the first terminal position information based on the third signal strength and each of the fourth signal strengths, the first terminal position information including the first position information and the position information of the first terminal relative to each of the fourth wireless signal sources;

[0011] The establishing of a coordinate system based on the first location information and the location information of all wireless signal sources in the local area network includes: establishing a coordinate system based on the first terminal location information and the location information of all wireless signal sources in the local area network.

[0012] In one implementation manner, the coordinate system is a spatial coordinate system with the first terminal as its origin.

[0013] In one implementation manner, determining the second wireless signal source connected to the second terminal in the local area network includes: receiving information about the second wireless signal source sent by the second terminal via the local area network.

[0014] In one implementation manner, determining the second wireless signal source connected to the second terminal in the local area network includes: obtaining device connection information of all wireless signal sources in the local area network; and determining the second wireless signal source connected to the second terminal based on the device connection information.

[0015] In a second aspect, an embodiment of the present application provides an electronic device terminal, the terminal comprising: a first signal source determination module, used to determine a first wireless signal source connected to the electronic device terminal, and obtain first position information of the electronic device terminal relative to the first wireless signal source; a local area network determination module, used to determine the local area network to which the first wireless signal source belongs; a second signal source determination module, used to determine a second wireless signal source connected to a second terminal in the local area network, and obtain second position information of the second terminal relative to the second wireless signal source, and obtain third position information of the second wireless signal source relative to the first wireless signal source; a target position determination module, used to determine the target position information of the second terminal relative to the first terminal based on the first position information, the second position information and the third position information.

[0016] In a third aspect, an embodiment of the present application provides an electronic device terminal, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the above-mentioned terminal positioning method within the local area network.

[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having instructions stored thereon. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device terminal, the electronic device terminal is enabled to execute the above-mentioned method for locating a terminal within a local area network.

[0018] It should be understood that the second to fourth aspects of the embodiments of the present application are consistent with the technical solutions of the first aspect of the embodiments of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here.

Brief Description of the Drawings

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 A schematic diagram of a flow chart of a method for locating a terminal in a local area network provided by an embodiment of the present application;

[0021] Figure 2 A schematic diagram of the structure of a local area network provided in one embodiment of the present application;

[0022] Figure 3 A schematic diagram of a spatial coordinate system with the first terminal as the origin provided by an embodiment of the present application;

[0023] Figure 4 A schematic diagram of a flow chart of a method for locating a terminal in a local area network provided by an embodiment of the present application;

[0024] Figure 5 A schematic diagram of a spatial coordinate system with the first terminal as the origin provided by an embodiment of the present application;

[0025] Figure 6 A schematic diagram of the structure of an electronic device terminal provided by an embodiment of the present application;

[0026] Figure 7 A schematic diagram of the structure of an electronic device terminal provided by an embodiment of the present application;

[0027] Figure 8 A schematic diagram of the structure of an electronic device terminal provided by one embodiment of the present application. [Specific implementation method]

[0028] In order to better understand the technical solution of this specification, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0029] It should be clear that the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0030] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit this specification. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0031] In the prior art, mutual positioning between electronic device terminals usually relies on obtaining GNSS signals for judgment. However, in the special indoor environment, the GNSS signal is weakened, and the difficulty of electronic device terminals obtaining GNSS signals increases, resulting in the electronic device terminals being unable to obtain GNSS signals in a timely manner, and thus unable to determine their own and each other's location information.

[0032] In view of the above technical problems, the present application is described in detail as follows:

[0033] Figure 1 A flow chart of a method for locating a terminal in a local area network provided in an embodiment of the present application is shown in the figure. The method may include the following steps:

[0034] Step S101: determine a first wireless signal source connected to a first terminal, and obtain first position information of the first terminal relative to the first wireless signal source.

[0035] Optionally, the above-mentioned wireless signal source is a signal source that can convert wired network signals into wireless network signals and transmit the wireless network signals to the surroundings. It can be a wireless AP (Access Point) or a WiFi router, etc. The actual settings are set by technical personnel in this field according to needs, and this application does not limit it.

[0036] Optionally, the first position information of the first terminal relative to the first wireless signal source can be determined based on obtaining the signal strength between the first terminal and the first wireless signal source. For example, the relative distance between the first terminal and the first wireless signal source is calculated by the received signal strength indicator (RSSI) value of the first terminal for the first wireless signal source. The conventional method is used here for calculation and will not be repeated here.

[0037] Optionally, after obtaining the first location information, the following steps may also be included:

[0038] Step S1011, determining a third signal strength between the first wireless signal source and the first terminal.

[0039] Step S1012, determining at least one fourth wireless signal source in the local area network whose signal strength with the first terminal reaches a second preset signal strength, and obtaining a fourth signal strength between each fourth wireless signal source and the first terminal.

[0040] Step S1013: determine the first terminal location information based on the third signal strength and each fourth signal strength, where the first terminal location information includes location information of the first terminal relative to the first wireless signal source and at least one fourth wireless signal source.

[0041] By acquiring multiple fourth wireless signal sources whose signal strength with the first terminal reaches a preset signal strength, and calculating the position information of the first terminal relative to the first wireless signal source and at least one fourth wireless signal source, a more accurate relative position of the first terminal, i.e., the first terminal position information, can be further obtained.

[0042] Step S102: determine the local area network to which the first wireless signal source belongs.

[0043] Optionally, the above-mentioned local area network composition scheme adopts a plurality of wireless signal sources mounted under the local area gateway, and the plurality of wireless signal sources are distributed at various locations indoors, so that the wireless signal coverage range of the local area network can cover the wireless signal demand range indoors. When the electronic device terminal needs to access the local area network, it can access any wireless signal source in the local area network to use the network resources of the local area network. When the electronic device terminal moves out of the signal coverage range of the wireless signal source, it can connect to other wireless signal sources with stronger signal strength in the local area network, so that the electronic device terminal can use the network resources of the local area network at any time.

[0044] Exemplarily, the architecture of the above-mentioned local area network may include a local area network management device, a plurality of wireless signal sources and terminals to be connected, and the local area network management device is connected to the plurality of wireless signal sources, such as Figure 2 As shown, first, for a wireless signal source that accesses a local area network for the first time, the local area network management device will respond to a secure connection request sent by the wireless signal source, return connection confirmation information to the wireless signal source, and establish a connection with the wireless signal source; secondly, the wireless signal source will send a key acquisition request to the local area network management device to obtain a corresponding connection key, and subsequent data transmission between the wireless signal source and the local area network management device will be encrypted using the connection key to ensure data security; after the local area network management device returns the connection key to the wireless signal source, the wireless signal source can be registered with the local area network to which it belongs, and the corresponding service set identifier (Service Set Identifier, SSID) of the local area network will be provided to the wireless signal source.

[0045] Step S103, determining a second wireless signal source connected to the second terminal in the local area network, and obtaining second position information of the second terminal relative to the second wireless signal source, and obtaining third position information of the second wireless signal source relative to the first wireless signal source.

[0046] Optionally, there are two ways to determine the second wireless signal source.

[0047] Method 1:

[0048] Step S103-A1, obtaining device connection information of all wireless signal sources in the local area network.

[0049] Optionally, after any wireless signal source in the local area network establishes a connection with the first terminal to be connected, it will report its own device connection information to the local area network management device, and the device connection information is, for example, the physical address (Media Access Control Address, MAC), IP address, etc. of the device mounted on the wireless signal source. Therefore, the local area network management device stores the current device connection information of all wireless signal sources. After the first terminal is connected to the local area network via the first wireless signal source, it can send a device connection information acquisition request to the local area network management device, and the local area network management device returns the device connection information of all current wireless signal sources to the first terminal.

[0050] Step S103-A2: determine the second wireless signal source to which the second terminal is connected according to the device connection information.

[0051] Optionally, after the first terminal receives the device connection information of all wireless signal sources in the local area network, the second wireless signal source to which the second terminal is connected can be directly searched according to the device information of the second terminal, such as the MAC address, IP address, etc.

[0052] Method 2:

[0053] Step S103-B: receiving information about the second wireless signal source sent by the second terminal.

[0054] Optionally, the first terminal may pre-set a function for establishing a communication connection between the first terminal and other terminals when they are in the same local area network. The second terminal then directly sends information about the second wireless signal source to which it is connected to the first terminal, and the first terminal can determine the second wireless signal source. For example, when the first terminal accesses a local area network, it can obtain the first SSID of the current local area network and send a request instruction for obtaining the SSID to the second terminal. When the second terminal receives the request instruction and has accessed a local area network at this time, it sends the second SSID belonging to the local area network to the first terminal. After the first terminal receives the second SSID, it determines whether the first SSID and the second SSID belong to the same local area network. When the first SSID and the second SSID belong to the same local area network, the second terminal can send information about the second wireless signal source to which it is connected to the first terminal.

[0055] Optionally, after the technicians distribute the wireless signal sources at different locations indoors, they can record the location of each wireless signal source and convert it into pre-stored location information and report it to the local area network management device. The pre-stored location information is, for example, the specific location coordinates of each wireless signal source indoors. After the first terminal accesses the local area network, the first terminal sends an instruction to request the location information of a wireless signal source to the local area network management device. The local area network management device can then send the location information of the wireless signal source to the first terminal, so that the first terminal can identify the location information of the wireless signal source.

[0056] Optionally, the second position information of the second terminal relative to the second wireless signal source can be determined based on obtaining the signal strength between the second terminal and the second wireless signal source. For example, the relative distance between the second terminal and the second wireless signal source is calculated by the RSSI value of the second terminal for the second wireless signal source. The conventional method is used here for calculation and will not be repeated here.

[0057] Optionally, after obtaining the second location information, the following steps may also be included:

[0058] Step S1031, determining a first signal strength between a second wireless signal source and a second terminal.

[0059] Step S1032, determining at least one third wireless signal source in the local area network whose signal strength with the second terminal reaches the first preset signal strength, and obtaining the second signal strength between each third wireless signal source and the second terminal.

[0060] Step S1033: determine the second terminal location information based on the first signal strength and each second signal strength, where the second terminal location information includes the second location information and location information of the second terminal relative to each third wireless signal source.

[0061] By acquiring multiple third wireless signal sources whose signal strength with the second terminal reaches a preset signal strength, and calculating the position information of the second terminal relative to the second wireless signal source and at least one third wireless signal source, a more accurate relative position of the second terminal, i.e., the second terminal position information, can be further obtained.

[0062] Optionally, the third position information of the first wireless signal source relative to the second wireless signal source can be directly calculated based on the position information of the first wireless signal source and the position information of the second wireless signal source received by the first terminal. For example, the position information of the first wireless signal source is (A1, A2, A3), and the position information of the second wireless signal source is (B1, B2, B3). The deflection angle between the two points and the straight-line distance between the two points can be obtained by calculation, thereby obtaining the position information of the first wireless signal source relative to the second wireless signal source.

[0063] Optionally, the third position information of the first wireless signal source relative to the second wireless signal source can also be calculated based on the pre-stored position information of the first wireless signal source and the position information of the second wireless signal source received by the first terminal through the coordinate system. For example, the position information of the first wireless signal source is (A1, A2, A3), and the position information of the first wireless signal source is (B1, B2, B3). In the coordinate system, the position of the first wireless signal source relative to the second wireless signal source can be reflected by these two coordinate positions, that is, the third position information can include the position information of the first wireless signal source and the position information of the first wireless signal source.

[0064] Exemplarily, the process of obtaining the third location information may include the following steps:

[0065] Step S1034, obtaining the location information of all wireless signal sources in the local area network, where the location information of all wireless signal sources in the local area network includes the third location information.

[0066] Preferably, in order to save the communication cost between the first terminal and the local area network management device, when obtaining the location information of the first wireless signal source and the location information of the second wireless signal source, the first terminal can also obtain the location information of other wireless signal sources. For example, the first terminal can send a request instruction to obtain the location information of all wireless signal sources to the local area network management device to obtain the location information of all wireless signal sources in the local area network, thereby determining the third location information including the location information of the first wireless signal source and the location information of the second wireless signal source through the location information of all wireless signal sources.

[0067] Step S104: determining target location information of the second terminal relative to the first terminal based on the first location information, the second location information and the third location information.

[0068] Exemplarily, by knowing the first position information of the first terminal relative to the first wireless signal source, the third position information of the first wireless signal source relative to the second wireless signal source, and the second position information of the second terminal relative to the second wireless signal source, the relative position relationship between the first terminal, the first wireless signal source, the second wireless signal source, and the second terminal is obtained, thereby obtaining the target position information of the second terminal relative to the first terminal.

[0069] Optionally, after the first terminal receives the location information of the first wireless signal source and the location information of the second wireless signal source, the location information of the first terminal relative to the first wireless signal source and the second wireless signal source in the local area network can be obtained, thereby establishing a wireless signal source spatial coordinate system centered on the first terminal. After obtaining the information of the second wireless signal source connected to the second terminal, the location information of the first terminal relative to the second wireless signal source can be directly obtained, and then the target location information can be obtained based on the second location information of the second terminal relative to the second wireless signal source.

[0070] Optionally, based on the above step S1034, the above step S104 may include the following steps:

[0071] Step S1041, establishing a coordinate system based on the first location information and location information of all wireless signal sources in the local area network.

[0072] Optionally, the origin position of the coordinate system can be determined by the first position information, and then the position information of all wireless signal sources can be embedded in the coordinate system to achieve direct calibration of the position information of the wireless signal sources, thereby intuitively determining the specific position of the second terminal.

[0073] Optionally, the above-mentioned coordinate system may be a spatial coordinate system with the first terminal as the origin.

[0074] Exemplarily, the above step S1041 may include the following steps:

[0075] Step S10411, determine the location information of all wireless signal sources in the local area network.

[0076] Step S10412: Determine the location information of the first terminal relative to all the wireless signal sources in the local area network according to the signal strength between the first terminal and all the wireless signal sources in the local area network.

[0077] Step S10413, determining the location information of the first terminal based on the location information of all wireless signal sources in the local area network.

[0078] Optionally, in the process of establishing a spatial coordinate system with the first terminal as the origin, for accurate positioning, the first terminal location information in step S1013 can be used as the origin. The above-mentioned first terminal location information can be determined by the location information of the first wireless signal source, at least one fourth wireless signal source and the corresponding signal strength. For example, the original coordinates are established by pre-stored location information, so that the location information of the first wireless signal source and at least one fourth wireless signal source is determined in the original coordinates, and a first range is made with the location information of the first wireless signal source as the center and the value of the third signal strength corresponding to the first wireless signal source as the range radius; a second range is made with the location information of at least one fourth wireless signal source as the center and the value of the fourth signal strength corresponding to the at least one fourth wireless signal source as the range radius. The overlapping part of the first range and the second range is the approximate range of the location information of the first terminal, and the center point of the overlapping part is taken as the first terminal location information.

[0079] Step S10414: establishing a spatial coordinate system with the first terminal location information as the origin.

[0080] Step S1042: determine the position of the second terminal in the coordinate system based on the second position information, where the position of the second terminal in the coordinate system includes target position information.

[0081] Optionally, the position of the second terminal location information in the coordinate system can be determined based on the location information of the second wireless signal source and the second location information, and then the location information of the second wireless signal source and the second terminal location information can be calibrated in the spatial coordinate system according to the first terminal location information.

[0082] Optionally, after obtaining the location information of the second terminal, an association can be established with the location information of the first terminal at the origin, that is, the direction of the second terminal and the distance between the second terminal and the first terminal are obtained. Subsequently, a third-party map can be used to obtain a navigation route from the location information of the first terminal to the location information of the second terminal.

[0083] In the above-mentioned terminal positioning method within the local area network, after the first terminal is connected to the first wireless signal source in the local area network, the local area network to which the first wireless signal source belongs can be obtained through the first wireless signal source, thereby determining the second wireless signal source to which the second terminal is connected in the local area network, and determining the target position information of the second terminal relative to the first terminal based on the first position information of the first terminal relative to the first wireless signal source, the second position information of the second terminal relative to the second wireless signal source, and the third position information of the first wireless signal source relative to the second wireless signal source. Compared with the prior art, the present application scheme connects the first terminal to the local area network, so that self-calibration and acquisition of position information of other terminals connected to the same local area network can be realized in the indoor local area network. The operation is simple and more intelligent, and a rapid positioning function between multiple terminal devices is realized.

[0084] Figure 3 A coordinate schematic diagram of the spatial coordinate system provided for an embodiment of the present application, as shown in the figure, takes the first terminal as the origin in the spatial coordinate system, embeds the position information of each wireless signal source into the spatial coordinate system, and then determines the position information of the second terminal relative to the second wireless signal source based on the signal strength between the second terminal and the second wireless signal source, thereby obtaining the target position information of the second terminal relative to the first terminal.

[0085] Figure 4 A flow chart of a method for locating a terminal in a local area network provided in an embodiment of the present application is shown in the figure. The method may include:

[0086] Step S301, obtain the positions of all wireless routers in the local area network by connecting to a router and calibrate them in the spatial coordinate system, for example Figure 5 WiFi1, WiFi2, WiFi3, …, WiFin in it.

[0087] Step S302: The first terminal obtains multiple WiFi router signals with signal strength reaching a threshold indoors, for example Figure 5 WiFi1, WiFi2, and WiFi4 in the WiFi routers are used as reference points, and a spatial coordinate system is established with the first terminal as the center.

[0088] Step S303, receiving information sent by the second terminal about the WiFi4 to which it is connected and multiple surrounding WiFi routers whose signal strength reaches the threshold and the corresponding RSSI values, for example Figure 5 The information of WiFi3 and WiFin in.

[0089] Step S304: the first terminal obtains the position of the second terminal in the spatial coordinate system according to the information of the WiFi router and the corresponding RSSI value, and displays it on the first terminal, so as to quickly obtain the position information of the second terminal.

[0090] In the above-mentioned terminal positioning method within the local area network, the electronic device terminal can self-calibrate and obtain information related to other devices based on the indoor local area network, and realize the rapid positioning function between multiple electronic device terminals. Therefore, when the indoor GNSS signal is weak, the location information of other terminals can be obtained with the current terminal as the center, especially when there is a large flow of people indoors to obtain the location information of another person, or to quickly locate the location information of a car in an underground garage.

[0091] Figure 6 A schematic diagram of the structure of an electronic device terminal provided in an embodiment of the present application is shown in the figure. The electronic device terminal 60 includes:

[0092] The first signal source determination module 601 is used to determine a first wireless signal source connected to the electronic device terminal and obtain first position information of the electronic device terminal relative to the first wireless signal source.

[0093] The local area network acquisition module 602 is used to determine the local area network to which the first wireless signal source belongs.

[0094] The second signal source determination module 603 is used to determine the second wireless signal source connected to the second terminal in the local area network, and obtain the second position information of the second terminal relative to the second wireless signal source, and obtain the third position information of the second wireless signal source relative to the first wireless signal source.

[0095] The target location determination module 604 is configured to determine the target location information of the second terminal relative to the first terminal based on the first location information, the second location information and the third location information.

[0096] Optionally, the second signal source determination module 603 may include:

[0097] The all position information acquisition submodule is used to acquire the position information of all wireless signal sources in the local area network. The position information of all wireless signal sources in the local area network includes the third position information.

[0098] Optionally, the target location determination module 604 may include:

[0099] A coordinate system establishment submodule, used to establish a coordinate system based on the first location information and the location information of all wireless signal sources in the local area network;

[0100] The second terminal position determination submodule is used to determine the position of the second terminal in the coordinate system based on the second position information, and the position of the second terminal in the coordinate system includes target position information.

[0101] Optionally, the electronic device terminal 60 may further include:

[0102] A first signal strength determination module 605, configured to determine a first signal strength between a second wireless signal source and a second terminal;

[0103] A second signal strength determination module 606, configured to determine at least one third wireless signal source in the local area network whose signal strength with the second terminal reaches a first preset signal strength, and obtain a second signal strength between each third wireless signal source and the second terminal;

[0104] The second terminal location information determination module 607 is used to determine the second terminal location information based on the first signal strength and each second signal strength, where the second terminal location information includes the second location information and the location information of the second terminal relative to each third wireless signal source.

[0105] Optionally, the second terminal position determination submodule is further configured to determine the position of the second terminal in the coordinate system based on the second terminal position information.

[0106] Optionally, the electronic device terminal 60 may further include:

[0107] A third signal strength determination module 608, configured to determine a third signal strength between the first wireless signal source and the first terminal;

[0108] The fourth signal strength determination module 609 is used to determine at least one fourth wireless signal source in the local area network whose signal strength with the first terminal reaches the second preset signal strength, and obtain the fourth signal strength between each fourth wireless signal source and the first terminal;

[0109] The first terminal location information determination module 610 is used to determine the first terminal location information based on the third signal strength and each fourth signal strength, where the first terminal location information includes the first location information and location information of the first terminal relative to each fourth wireless signal source.

[0110] Optionally, the above-mentioned coordinate system establishment submodule is also used to establish a coordinate system based on the first terminal location information and the location information of all wireless signal sources in the local area network.

[0111] Optionally, the second signal source determination module 603 may include:

[0112] The second signal source information receiving submodule is used to receive information about the second wireless signal source sent by the second terminal.

[0113] Optionally, the second signal source determination module 603 may include:

[0114] The device connection information acquisition submodule is used to obtain the device connection information of all wireless signal sources in the local area network;

[0115] The second signal source information searching submodule is used to determine the second wireless signal source to which the second terminal is connected according to the device connection information.

[0116] Figure 7 A structural schematic diagram of an electronic device terminal provided in an embodiment of the present application, as shown in the figure, the electronic device terminal may include a processor 701, an external memory interface 702, an internal memory 703, etc.

[0117] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device terminal 70. In other embodiments of the present application, the electronic device terminal 70 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0118] The processor 701 may include one or more processing units, for example, the processor 701 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0119] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0120] The processor 701 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 701 is a cache memory. The memory may store instructions or data that the processor 701 has just used or cyclically used. If the processor 701 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 701, and thus improves the efficiency of the system.

[0121] The processor 701 executes various functional applications and data processing by running the programs stored in the internal memory 703, such as implementing the present invention. Figure 1 to Figure 5 The illustrated embodiment provides a method for locating a terminal in a local area network.

[0122] The wireless communication function of the electronic device terminal 70 can be realized through antenna 1, antenna 2, mobile communication module 705, wireless communication module 706, modem processor and baseband processor.

[0123] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device terminal 70 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0124] The display screen 707 is used to display images, videos, etc. The display screen 707 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device terminal 70 may include 1 or N display screens 707, where N is a positive integer greater than 1.

[0125] The internal memory 703 can be used to store computer executable program codes, which include instructions. The internal memory 703 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device terminal 70 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 703 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 701 executes various functional applications and data processing of the electronic device terminal 70 by running instructions stored in the internal memory 703 and / or instructions stored in a memory provided in the processor.

[0126] like Figure 8 As shown, the embodiment of the present application also provides a structural schematic diagram of an electronic device terminal, which may include at least one processor; and at least one memory connected to the processor in communication, wherein: the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the instructions of this specification. Figure 1 to Figure 5The illustrated embodiment provides a method for locating a terminal in a local area network.

[0127] The embodiment of the present application also provides a computer-readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the terminal positioning method in the local area network are implemented. The readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

[0128] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0129] In the description of the embodiments of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of this specification. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0130] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of this specification includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of this specification belong.

[0131] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0132] It should be noted that the terminals involved in the embodiments of the present application may include but are not limited to personal computers (PCs), personal digital assistants (PDAs), wireless handheld devices, tablet computers, mobile phones, MP3 players, MP4 players, etc.

[0133] In the several embodiments provided in this specification, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0134] In addition, each functional unit in each embodiment of this specification may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0135] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of this specification. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.

[0136] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.

Claims

1. A method for locating a terminal in a local area network, characterized in that: Applied to a first terminal, the method includes: Determine a first wireless signal source connected to the first terminal, and obtain first position information of the first terminal relative to the first wireless signal source; Determining the local area network to which the first wireless signal source belongs; Determine a second wireless signal source connected to a second terminal in the local area network, obtain second position information of the second terminal relative to the second wireless signal source, and obtain third position information of the second wireless signal source relative to the first wireless signal source; Determine target location information of the second terminal relative to the first terminal based on the first location information, the second location information and the third location information; The acquiring third position information of the second wireless signal source relative to the first wireless signal source includes: Acquire location information of all wireless signal sources in the local area network, where the location information of all wireless signal sources in the local area network includes the third location information; The determining, based on the first location information, the second location information, and the third location information, target location information of the second terminal relative to the first terminal includes: Establishing a coordinate system based on the first location information and the location information of all wireless signal sources in the local area network, wherein the coordinate system includes the location information of the first terminal, and the location information of the first terminal is determined according to the location information of all wireless signal sources in the local area network and the location information of the first terminal relative to all wireless signal sources in the local area network; The position of the second terminal in the coordinate system is determined based on the second position information, where the position of the second terminal in the coordinate system includes the target position information.

2. The method according to claim 1, characterized in that After acquiring the second location information of the second terminal relative to the second wireless signal source, the method further includes: Determine a first signal strength between the second wireless signal source and the second terminal; Determine at least one third wireless signal source in the local area network whose signal strength with the second terminal reaches a first preset signal strength, and obtain a second signal strength between each of the third wireless signal sources and the second terminal; Determine second terminal location information based on the first signal strength and each of the second signal strengths, where the second terminal location information includes the second location information and location information of the second terminal relative to each of the third wireless signal sources; The determining the position of the second terminal in the coordinate system based on the second position information includes: The position of the second terminal in the coordinate system is determined based on the second terminal position information.

3. The method according to claim 1, characterized in that After acquiring the first position information of the first terminal relative to the first wireless signal source, the method further includes: Determine a third signal strength between the first wireless signal source and the first terminal; Determine at least one fourth wireless signal source in the local area network whose signal strength with the first terminal reaches a second preset signal strength, and obtain a fourth signal strength between each of the fourth wireless signal sources and the first terminal; Determine first terminal location information based on the third signal strength and each of the fourth signal strengths, where the first terminal location information includes the first location information and location information of the first terminal relative to each of the fourth wireless signal sources; The establishing of a coordinate system based on the first location information and location information of all wireless signal sources in the local area network includes: A coordinate system is established based on the first terminal location information and the location information of all wireless signal sources in the local area network.

4. The method according to claim 1, characterized in that The determining of the second wireless signal source in the local area network connected to the second terminal includes: The information about the second wireless signal source sent by the second terminal is received via the local area network.

5. The method according to claim 1, characterized in that The determining of the second wireless signal source in the local area network connected to the second terminal includes: Obtaining device connection information of all wireless signal sources in the local area network; A second wireless signal source to which the second terminal is connected is determined according to the device connection information.

6. An electronic equipment terminal, characterized in that: The terminal comprises: A first signal source determination module, used to determine a first wireless signal source connected to the electronic device terminal, and obtain first position information of the electronic device terminal relative to the first wireless signal source; A local area network determination module, used to determine the local area network to which the first wireless signal source belongs; a second signal source determination module, configured to determine a second wireless signal source connected to a second terminal in the local area network, and obtain second position information of the second terminal relative to the second wireless signal source, and obtain third position information of the second wireless signal source relative to the first wireless signal source; a target location determination module, configured to determine target location information of the second terminal relative to the electronic device terminal based on the first location information, the second location information and the third location information; Wherein, the second signal source determination module includes: All position information acquisition submodule, used to acquire the position information of all wireless signal sources in the local area network, the position information of all wireless signal sources in the local area network including the third position information; The target location determination module comprises: a coordinate system establishing submodule, configured to establish a coordinate system based on the first location information and the location information of all wireless signal sources in the local area network, wherein the coordinate system includes the location information of the electronic device terminal, and the location information of the electronic device terminal is determined based on the location information of all wireless signal sources in the local area network and the location information of the electronic device terminal relative to all wireless signal sources in the local area network; The second terminal position determination submodule determines the position of the second terminal in the coordinate system based on the second position information, where the position of the second terminal in the coordinate system includes the target position information.

7. An electronic equipment terminal, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1-5.

8. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device terminal, the electronic device terminal is enabled to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Methods and apparatus for providing base station position information and using position information to support timing and / or frequency corrections

    CN101268631A

  • Method, device and system for determining distance between terminals

    CN102932734A