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

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

Info

Publication number
CN113068251B
CN113068251B CN202110272551.3A CN202110272551A CN113068251B CN 113068251 B CN113068251 B CN 113068251B CN 202110272551 A CN202110272551 A CN 202110272551A CN 113068251 B CN113068251 B CN 113068251B
Authority
CN
China
Prior art keywords
positioning
terminal
signal strength
list
cell
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
CN202110272551.3A
Other languages
Chinese (zh)
Other versions
CN113068251A (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 Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110272551.3A priority Critical patent/CN113068251B/en
Publication of CN113068251A publication Critical patent/CN113068251A/en
Application granted granted Critical
Publication of CN113068251B publication Critical patent/CN113068251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0245Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal according to signal strength
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a positioning method, a positioning device, electronic equipment and a storage medium. The method comprises the following steps: determining a first signal strength; the first terminal resides in a first cell; the first signal strength characterizes a signal strength of the first cell detected by the first terminal; acquiring a first list created by a server; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength; determining a first positioning mode supported by a corresponding area in the first list according to the first signal strength; and positioning the first terminal by adopting the first positioning mode.

Description

Positioning method, positioning device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications, and in particular, to a positioning method, an apparatus, an electronic device, and a storage medium.
Background
In the related art, a terminal can determine position information through different positioning modes, different positioning modes are different in applicable scenes and positioning accuracy, and when a plurality of available positioning modes exist, a positioning mode with higher accuracy cannot be effectively determined, so that the positioning accuracy is reduced, and the power consumption of the terminal is increased by selecting a positioning mode unsuitable for the terminal.
Disclosure of Invention
In view of this, embodiments of the present application provide a positioning method, an apparatus, an electronic device, and a storage medium, so as to solve at least the problems of the related art that the positioning accuracy is reduced and the power consumption of a terminal is increased in the positioning process.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a positioning method, which is applied to a first terminal and comprises the following steps:
determining a first signal strength; the first terminal resides in a first cell; the first signal strength characterizes a signal strength of the first cell detected by the first terminal;
acquiring a first list created by a server; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength;
determining a first positioning mode supported by a corresponding area in the first list according to the first signal strength;
and positioning the first terminal by adopting the first positioning mode.
In the above scheme, the method further comprises:
positioning the first terminal by adopting a second positioning mode under the condition that the first positioning mode cannot be used for positioning the first terminal; the second positioning mode represents a positioning mode which is supported by the first terminal and is different from the positioning mode supported by the corresponding area stored in the first list;
and reporting the second positioning mode and the first signal strength to the server under the condition that the first terminal can be positioned by adopting the second positioning mode, so that the server updates the first list.
In the foregoing solution, the obtaining the first list created by the server includes:
receiving a first broadcast message of a base station, and acquiring the first list from the first broadcast message; the first list is sent by the server to the base station; or the like, or, alternatively,
and receiving first push information from the server, and acquiring the first list from the first push information.
In the foregoing solution, the obtaining the first list created by the server includes:
under the condition that the first function is in a starting state, acquiring the first list; and the first function representation utilizes the first list to determine the positioning mode adopted by the first terminal.
The embodiment of the application further provides a positioning method, which is applied to a second terminal, and the method comprises the following steps:
positioning the second terminal by adopting at least one positioning mode to obtain a positioning result;
determining a second signal strength; the second terminal resides in a first cell; the second signal strength represents the signal strength of the first cell detected by the second terminal;
uploading first information to a server based on the positioning result; wherein, the first and the second end of the pipe are connected with each other,
the first information comprises at least one third positioning mode and the second signal strength; the second terminal can perform positioning by adopting each third positioning mode of at least one third positioning mode.
In the foregoing solution, the positioning the second terminal by using at least one positioning method includes:
respectively positioning the second terminal according to each fourth positioning mode in at least one fourth positioning mode; the fourth positioning mode represents a positioning mode supported by the second terminal; or the like, or, alternatively,
and under the condition of receiving the positioning request, positioning the second terminal based on a set positioning mode corresponding to the initiator of the positioning request.
The embodiment of the present application further provides another positioning method, where the method includes:
creating a first list based on first information sent by at least one second terminal accessing a first cell; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength; the first information comprises at least one third positioning mode and second signal strength; the second signal strength represents the signal strength of the first cell detected when a corresponding second terminal resides in the first cell; the second terminal can perform positioning by adopting each of at least one third positioning mode in the corresponding first information;
issuing the first list to a first terminal residing in the first cell so that the first terminal can perform positioning according to a first positioning mode in the first list; the first positioning mode represents a positioning mode supported by an area corresponding to the first signal intensity; the first signal strength characterizes a signal strength of the first cell detected by the first terminal.
In the foregoing solution, the issuing the first list to the first terminal includes:
sending the first list to a base station corresponding to the first cell, so that the base station sends the first list to the first terminal through first broadcast information; or the like, or, alternatively,
and sending the first list to the first terminal through first push information.
In the above scheme, the method further comprises:
receiving a second positioning mode and the first signal strength sent by the first terminal;
and adding the second positioning mode in a corresponding area stored in the first list according to the first signal strength.
In the foregoing solution, the method further includes:
deleting the positioning mode corresponding to the first area in the first setting list and meeting the setting condition; wherein the content of the first and second substances,
and the setting condition represents that the positioning mode related to the first area reported by the terminal is not received within a set time length.
An embodiment of the present application further provides a positioning apparatus, including:
a first determining unit for determining a first signal strength; the first terminal resides in a first cell; the first signal strength characterizes a signal strength of the first cell detected by the first terminal;
a first acquisition unit configured to acquire a first list created by a server; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength;
a second determining unit, configured to determine, according to the first signal strength, a first positioning manner supported by a corresponding area in the first list;
and the first positioning unit is used for positioning the first terminal by adopting the first positioning mode.
The embodiment of the present application further provides another positioning apparatus, including:
the second positioning unit is used for positioning the second terminal by adopting at least one positioning mode to obtain a positioning result;
a second determining unit for determining a second signal strength; the second terminal resides in a first cell; the second signal strength represents the signal strength of the first cell detected by the second terminal;
a second reporting unit, configured to upload the first information to the server based on the positioning result; wherein the content of the first and second substances,
the first information comprises at least one third positioning mode and the second signal strength; the second terminal can perform positioning by adopting each third positioning mode of at least one third positioning mode.
The embodiment of the present application further provides another positioning apparatus, including:
the device comprises a creating unit, a first cell selecting unit and a second cell selecting unit, wherein the creating unit is used for creating a first list based on first information sent by at least one second terminal accessing a first cell; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength; the first information comprises at least one third positioning mode and second signal strength; the second signal strength represents the signal strength of the first cell detected when a corresponding second terminal resides in the first cell; the second terminal can perform positioning by adopting each of at least one third positioning mode in the corresponding first information;
a sending unit, configured to send the first list to a first terminal residing in the first cell, so that the first terminal performs positioning according to a first positioning manner in the first list; the first positioning mode represents a positioning mode supported by an area corresponding to the first signal intensity; the first signal strength characterizes a signal strength of the first cell detected by the first terminal.
An embodiment of the present application further provides an electronic device, including: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of any of the above methods when running the computer program.
Embodiments of the present application also provide a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of any one of the above methods.
In an embodiment of the present application, a first signal strength is determined; the first terminal resides in a first cell; the first signal strength characterizes a signal strength of the first cell detected by the first terminal; acquiring a first list created by a server; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength; determining a first positioning mode supported by a corresponding area in the first list according to the first signal strength; the first terminal is positioned by adopting the first positioning mode, and the positioning mode supported by the current area of the terminal can be quickly determined, so that the terminal can be positioned by adopting the positioning mode supported by the area, the power consumption of the terminal is reduced, and the positioning efficiency and the positioning precision are improved.
Drawings
Fig. 1 is a schematic flowchart illustrating an implementation process of a positioning method according to an embodiment of the present application;
fig. 2 is a schematic diagram of different areas of a cell according to an embodiment of the present application;
fig. 3 is a schematic diagram of transmitting a first list through first broadcast information according to an embodiment of the present application;
fig. 4 is a schematic diagram of a first broadcast information content according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating sending a first list by first push information according to an embodiment of the present application;
fig. 6 is a schematic flow chart illustrating an implementation of a positioning method according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a format of reported information according to an embodiment of the present application;
fig. 8 is a schematic implementation flowchart of a positioning method according to an embodiment of the present application;
fig. 9 is a schematic flowchart illustrating a process of determining first information by using a fourth positioning manner according to an embodiment of the present application;
fig. 10 is a flowchart illustrating a process of determining a first request based on a positioning request according to an embodiment of the present application;
fig. 11 is a schematic flowchart illustrating an implementation of a positioning method according to an embodiment of the present application;
FIG. 12 is a schematic diagram illustrating a different positioning method deployed in a different location according to an embodiment of the present application;
FIG. 13 is a schematic diagram of a first list provided by an embodiment of the present application;
fig. 14 is a schematic flowchart illustrating a process in which a server issues a first list to a first terminal through a base station according to an embodiment of the present application;
fig. 15 is a schematic flowchart illustrating a process that a server issues a first list to a first terminal through first push information according to an embodiment of the present application;
fig. 16 is a schematic flowchart illustrating an implementation of a positioning method according to an embodiment of the present application;
fig. 17 is a schematic flowchart illustrating an implementation of a positioning method according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of a positioning device according to an embodiment of the present application;
fig. 19 is a schematic structural diagram of a positioning device according to an embodiment of the present application;
fig. 20 is a schematic structural diagram of a positioning device according to an embodiment of the present application;
fig. 21 is a schematic diagram of a hardware component structure of an electronic device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and specific embodiments.
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
The technical means described in the embodiments of the present application may be arbitrarily combined without conflict.
In addition, in the embodiments of the present application, "first", "second", and the like are used for distinguishing similar objects, and are not necessarily used for describing a specific order or a sequential order.
An embodiment of the present application provides a positioning method, and fig. 1 is a schematic flow chart of the positioning method according to the embodiment of the present application. As shown in fig. 1, the method is applied to a first terminal, and includes:
s101: determining a first signal strength; the first terminal resides in a first cell; the first signal strength characterizes a signal strength of the first cell detected by the first terminal.
Here, when the first terminal successfully camps on the first cell, the first signal strength is determined according to the signal strength of the first cell detected by the first terminal. In practical applications, the cell may be divided into different areas according to different levels of signal strength, thereby facilitating different processing for the first terminal in different areas.
S102: acquiring a first list created by a server; the first list stores positioning modes supported by different areas in the first cell; the different regions correspond to different levels of signal strength.
Here, the first list created by the server stores the positioning modes supported by different areas, where the different areas are divided by the signal strength by the server, for example, different signal strength ranges are divided, and the small area is divided into different areas according to the signal strength range in which the signal strength falls, as shown in fig. 2, fig. 2 shows a schematic diagram of different areas of a cell, and in fig. 2, the small area is divided into a signal area 1, a signal area 2, and a signal area 3, where the signal strength range corresponding to the signal area 1 is [ -80dbm, -90dbm ], the signal strength range corresponding to the signal area 2 is [ -90dbm, -100dbm ], and the signal strength range corresponding to the signal area 3 is [ -100dbm, -110dbm ]. The first terminal acquires the first list created by the server, so that the positioning modes supported by different areas can be acquired according to the first list.
In one embodiment, the obtaining the first list created by the server includes:
receiving first broadcast information of a base station, and acquiring the first list from the first broadcast information; the first list is sent by the server to the base station; or the like, or, alternatively,
and receiving first push information from the server, and acquiring the first list from the first push information.
Here, the first terminal may acquire the first list through two methods. The first method is to obtain a first list through a base station, as shown in fig. 3, where fig. 3 shows a schematic diagram of sending the first list through first broadcast information, a server sends the generated first list to the base station, the base station sends the first list through the first broadcast information, and a first terminal is capable of receiving the first broadcast information of the base station and obtaining the first list from the first broadcast information, as shown in fig. 4, and fig. 4 shows a schematic diagram of content of the first broadcast information. In practical application, after the first list is updated, the base station can store the updated first list sent by the server and update the corresponding first broadcast information. When the first terminal accesses to the cell corresponding to the base station, a paging message may be sent to the first terminal, and the first list is indicated to be updated by the paging message, so that the first terminal may read the corresponding first broadcast information to obtain the updated first list. Another method for acquiring the first list is to implement end-to-end push through the first push information, as shown in fig. 5, and fig. 5 shows a schematic diagram of sending the first list through the first push information. The server establishes end-to-end connection with the first terminal, sends the first list through the first push information, and after the client program of the first terminal receives the push information, if the user agrees to receive the push information, the first list is obtained through the first push information. In practical application, after the first list in the server is updated, the updated first list needs to be pushed to the first terminal, and in practical application, the updated first list may be pushed to the first terminal that performs positioning in a cell in which a positioning manner is changed within a certain period of time, where the updated first list may be determined by a first cell in which the first terminal resides.
In the above embodiment, first broadcast information of a base station is received, and the first list is obtained from the first broadcast information; the first list is sent by the server to the base station; or, the first push information is received from the server, the first list is obtained from the first push information, and the positioning technologies supported by the areas of different cells can be obtained in different modes, so that the terminal can quickly determine the mode of positioning, and the positioning accuracy is improved.
In one embodiment, the obtaining the first list created by the server includes:
under the condition that the first function is in a starting state, acquiring the first list; and the first function representation utilizes the first list to determine the positioning mode adopted by the first terminal.
Here, before acquiring the first list, it is further necessary to determine whether the first function of the first terminal is in an activated state, and when the first function is in an deactivated state, it is described that the positioning method adopted by the first terminal cannot be determined using the first list, and an appropriate positioning method needs to be determined by performing measurement and the like among the positioning methods supported by the first terminal, and when the first function is in an activated state, it is described that the positioning method adopted by the first terminal can be determined using the first list, it is necessary to acquire the first list created by the server to determine the positioning method adopted by the first terminal. In practical application, the on or off of the first function can be changed through switch control on the display interface of the first terminal, so that different determination methods of the positioning mode adopted by the first terminal are controlled.
In the above embodiment, when the first function is in the activated state, the first list is acquired; the first function representation utilizes the first list to determine the positioning mode adopted by the first terminal, so that the terminal is compatible with different methods for determining the adopted positioning mode, and the requirements of users can be met.
S103: and determining a first positioning mode supported by a corresponding area in the first list according to the first signal strength.
Here, since the first list stores the positioning manners supported by different areas in the first cell, in practical applications, the area corresponding to the first signal strength is determined according to the first signal strength, so that the first positioning manner supported by the area where the first terminal is located can be determined in the first list. When the terminal is in different scenes, the supported positioning modes are different, for example, a satellite navigation signal is generally adopted for positioning in an outdoor scene, and no satellite navigation signal exists indoors or underground, and positioning cannot be performed through the satellite navigation signal, so that the positioning mode supported by the area where the first terminal is located can be determined according to the first list. In practical applications, an operator deploys the base station as much as possible, so that the first terminal can be associated with the base station, and the first terminal can be ensured to complete positioning quickly to the maximum extent.
S104: and positioning the first terminal by adopting the first positioning mode.
Here, the first terminal is located by using the first locating method to determine the location information of the first terminal, in practical applications, the first locating method selected from the first list can quickly select a proper locating technology from a plurality of locating technologies supported by the first terminal to locate, and can improve the locating efficiency of the terminal while ensuring the locating accuracy. In practical application, a plurality of supported positioning modes may exist in the corresponding area in the first list, and in this case, the first positioning mode may be a positioning technology set, the positioning modes may be prioritized and ordered in the positioning technology set according to positioning accuracy, and a positioning technology with high positioning accuracy may be arranged in front, so that when a first terminal is positioned according to the first positioning technology, the positioning accuracy may be improved.
In the above embodiment, the first terminal determines the first signal strength; the first terminal resides in a first cell; the first signal strength characterizes a signal strength of the first cell detected by the first terminal; obtaining a first list created by a server; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength; determining a first positioning mode supported by a corresponding area in the first list according to the first signal strength; the first terminal is positioned by adopting the first positioning mode, the positioning mode supported by the area where the terminal is located at present can be determined according to the constructed list, the positioning mode does not need to be selected according to the measurement result, the power consumption of the terminal is saved, and the positioning efficiency and the positioning precision of the terminal can be improved.
In an embodiment, as shown in fig. 6, the method further comprises:
s601: positioning the first terminal by adopting a second positioning mode under the condition that the first positioning mode cannot be used for positioning the first terminal; the second positioning mode represents a positioning mode other than the positioning modes supported by the first terminal and supported by the corresponding area stored in the first list.
Here, the first terminal cannot perform positioning on the first terminal by using the first positioning method, which indicates that the positioning method supported by the area corresponding to the first signal strength is changed, or the first terminal does not support the first positioning method, in this case, the first terminal may perform positioning by using another positioning method, where the second positioning method used indicates a positioning method other than the positioning method supported by the terminal and supported by the corresponding area stored in the first list, and therefore the area corresponding to the first signal strength does not record the second positioning method before.
S602: and reporting the second positioning mode and the first signal strength to the server under the condition that the first terminal can be positioned by adopting the second positioning mode, so that the server updates the first list.
Here, when the second positioning method is adopted to be able to position the first terminal, the corresponding area can support the second positioning technology, but the second positioning technology is not described in the positioning technology supported by the corresponding area in the first list, so that the second positioning method and the first signal strength are reported to the server, and the server adds the second positioning method to the corresponding area in the first list according to the first signal strength through the information reported by the first terminal, so that the first list can be updated in time according to the change of the positioning technology supported by the area while determining to acquire the position information of the first terminal. As shown in fig. 7, fig. 7 is a schematic diagram illustrating a format of reported information, and in practical application, the reported first signal strength may also carry a corresponding cell identifier, so that a cell with a changed positioning manner can be determined.
In the above embodiment, when the first terminal cannot be located by using the first positioning method, the first terminal is located by using a second positioning method; the second positioning mode represents a positioning mode which is supported by the first terminal and is different from the positioning mode supported by the corresponding area stored in the first list; and reporting the second positioning mode and the first signal strength to the server under the condition that the first terminal can be positioned by adopting the second positioning mode, so that the server updates the first list, and can know whether the positioning technologies supported by different areas change or not according to the positioning condition of the terminal, thereby updating the positioning technologies supported by the areas in time, and improving the accuracy of the list and the precision of terminal positioning.
Another positioning method is further provided in the embodiment of the present application, fig. 8 is a schematic flowchart of a positioning method in the embodiment of the present application, and as shown in fig. 8, the method is applied to a second terminal, and includes:
s801: and positioning the second terminal by adopting at least one positioning mode to obtain a positioning result.
Here, the second terminal is located by using at least one location method, and in practical applications, the location method for locating the second terminal may be all location methods supported by the terminal or all location methods supported by a corresponding area, so that a location result of the second terminal can be tried to be obtained according to different location methods as much as possible, which is beneficial to improving the accuracy of the constructed first list.
S802: determining a second signal strength; the second terminal resides in a first cell; the second signal strength characterizes a signal strength of the first cell detected by the second terminal.
Here, the signal strength of the first cell detected by the second terminal when the second terminal is camped on the first cell is determined, in practical application, even in the same cell, the positioning modes supported by different regions may be different, and in order to improve the accuracy of the first list, the second signal strength needs to be determined, so that the cells are divided according to the signal strengths of different levels, so that each region corresponds to a different signal strength range.
In an embodiment, the positioning the second terminal by using at least one positioning method includes:
respectively positioning the second terminal according to each fourth positioning mode in at least one fourth positioning mode; the fourth positioning mode represents a positioning mode supported by the second terminal; or the like, or, alternatively,
and under the condition of receiving the positioning request, positioning the second terminal based on a set positioning mode corresponding to the initiator of the positioning request.
Here, at least one fourth positioning method supported by the second terminal is determined, and the second terminal is positioned by using each fourth positioning method, so that the positioning technology supported by the current area can be determined from the at least one positioning method supported by the second terminal. In practical application, the fourth positioning manner may also be one positioning manner in a custom list, where multiple different positioning manners may be determined in the custom list, which is beneficial to determining more positioning technologies supported by the current area, and the acquisition method is suitable for indoor deployment of a dedicated positioning manner, for example, a bluetooth positioning manner deployed in a parking garage, and the like, as shown in fig. 9, and fig. 9 shows a flowchart for determining the first information by using the fourth positioning manner. In practical applications, in order to improve the efficiency of the positioning technology supported by the determined area, the second terminal may be further positioned based on a set positioning manner corresponding to an initiator of the positioning request when the second terminal receives the positioning request, where the positioning request may be initiated by an upper application of the second terminal or may be initiated by a user actively, for example, when the second terminal runs a navigation application, the navigation application may initiate the positioning request, and the initiator of the corresponding positioning request may position the second terminal by using the positioning manner responding to the positioning request. In practical application, the positioning mode is set as a positioning mode supported by the second terminal by default. When the set positioning mode is used for positioning the second terminal, the second terminal is monitored continuously, and a positioning result returned by the set positioning mode can be identified. Because the positioning of the second terminal is based on the initiation of the positioning request, when the second terminal can be successfully positioned by using the set positioning mode, the second terminal is not positioned by using other positioning modes. As shown in fig. 10, fig. 10 illustrates a flowchart for determining a first request based on a positioning request.
In the above embodiment, the second terminal is respectively located according to each fourth locating mode of at least one fourth locating mode; the fourth positioning mode represents a positioning mode supported by the second terminal; or, in the case of receiving the positioning request, positioning the second terminal based on the set positioning mode corresponding to the initiator of the positioning request, and determining the positioning mode supported by the region in different modes, so as to determine the positioning mode supported by the region by an applicable acquisition method in different acquisition scenes, thereby improving the acquisition efficiency and the accuracy of determining the positioning mode supported by the region
S803: uploading first information to a server based on the positioning result; wherein the first information comprises at least one third positioning mode and the second signal strength; the second terminal can perform positioning by adopting each third positioning mode of at least one third positioning mode.
The at least one positioning method used is not all successful in obtaining the positioning information of the second terminal, e.g., on the other side of the signal blind area, the GPS positioning technology can not position the second terminal, and the third positioning mode can be determined from at least one positioning mode according to the positioning result of the second terminal positioned by at least one positioning mode, wherein the positioning mode capable of acquiring the position information of the second terminal is determined as a third positioning mode, the third positioning mode represents a supportable positioning mode of an area corresponding to the second signal strength, the positioning mode which can not determine the positioning result of the second terminal is the positioning mode which is not supported by the area corresponding to the second signal strength, the terminal can not obtain the positioning result according to the positioning mode, and the third positioning mode and the second signal strength are combined into first information to be uploaded to a server. In practical application, when the first information is acquired, the first information needs to be uploaded to a server, and the first information can be uploaded to the server through a wireless network or a mobile communication network. In practical application, when the second terminal needs to measure multiple cells, multiple pieces of first information are reported, so that the second signal strength can be uploaded to the server with corresponding cell identifiers, and the cell identifiers can be identified through operator identifiers, global cell identifiers and physical cell identifiers, so that the cell signal strength can be corresponding to the cells. In practical application, the cell is divided into different areas according to different signal strength ranges according to a set division rule, so that the second terminal needs to be positioned at least once in each area. In practical applications, in order to improve the accuracy of the acquired first information, multiple times of positioning of the second terminal may be attempted in each area.
In the above embodiment, at least one positioning method is adopted to position the second terminal, so as to obtain a positioning result; determining a second signal strength; the second terminal resides in a first cell; the second signal strength represents the signal strength of the first cell detected by the second terminal; uploading first information to a server based on the positioning result; wherein the first information comprises at least one third positioning mode and the second signal strength; the second terminal can perform positioning by adopting each of at least one third positioning mode, and can test the positioning modes supported in different cells through the terminal, so that the second terminal can associate the different cell signal strengths with the supported positioning modes to build a corresponding list, and the terminal needing positioning can select the optimal positioning mode according to the built list to quickly complete positioning.
The embodiment of the present application further provides another positioning method, and fig. 11 is a schematic flow chart of the positioning method according to the embodiment of the present application. As shown in fig. 11, the method includes:
s1301: creating a first list based on first information sent by at least one second terminal accessing a first cell; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength; the first information comprises at least one third positioning mode and second signal strength; the second signal strength represents the signal strength of the first cell detected when a corresponding second terminal resides in the first cell; the second terminal can perform positioning by adopting each of at least one third positioning mode in the corresponding first information.
Here, the positioning manners deployed in different scenarios are different, and it is difficult for the positioning manners to achieve signal coverage without blind areas, but in practical applications, in order to ensure that each place can communicate, the coverage area of the base station is as large as possible, so that the optimal positioning manner can be fed back to the terminal in most scenarios through the relationship between the terminal and the base station, and in practical applications, the positioning technologies supported by different areas can be stored by constructing the first list. Integrating first messages sent by at least one second terminal accessed to a first cell, and creating a first list, wherein the first list is used for storing positioning modes supported by different areas, the first messages received by a server comprise second signal strength and a third positioning mode, the second signal strength refers to the signal strength detected when the second terminal resides in the first cell, the server can divide the cells according to different levels of signal strength according to a preset division rule, the area where the second signal strength is located is determined according to the level where the second signal strength is located, and the third positioning mode represents a positioning mode capable of positioning the second terminal, so that the third positioning mode is the positioning mode supported by the area, and the area is associated with the third positioning mode in the first list. As shown in fig. 12, fig. 12 is a schematic view of different positioning modes deployed in different positions, when the terminal needs to be positioned, the positioning mode supported by the area can be quickly determined according to the first list, thereby improving the efficiency of positioning, as shown in fig. 13, fig. 13 is a schematic view of the first list, in fig. 13, different cells can be distinguished according to cell identities, each cell is divided into different areas according to different levels of signal strength, the positioning modes supported in different areas are recorded, for example, the area a of the cell a may be located by at least one positioning means in the positioning set AA, in practical applications, there may be multiple supported positioning modes for an area, in which case, the sequencing can be performed according to the accuracy of the supported positioning modes, so that the terminal can acquire a more accurate positioning mode for positioning.
S1102: sending the first list to a first terminal residing in the first cell so that the first terminal can perform positioning according to a first positioning mode in the first list; the first positioning mode represents a positioning mode supported by an area corresponding to the first signal intensity; the first signal strength characterizes a signal strength of the first cell detected by the first terminal.
Here, the first list generated through a large amount of data processing may be more accurate, and therefore, the first list is generated by collecting first information sent by different second terminals and performing data processing by a server, and the first list is used for determining a positioning method used by a first terminal performing positioning, so that after the first list is created, the first list needs to be sent to the first terminal residing in the first cell. In practical application, the first terminal can determine the area where the first signal strength is located according to the first signal strength of the first cell detected when the first terminal is resident in the first cell, so that the first positioning mode corresponding to the area can be determined according to the first list, the first positioning mode represents the positioning mode supported by the area, and the terminal can perform positioning according to the first positioning mode.
In the above embodiment, the first list is created based on first information sent by at least one second terminal accessing the first cell; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength; the first information comprises at least one third positioning mode and second signal strength; the second signal strength represents the signal strength of the first cell detected when a corresponding second terminal resides in the first cell; the second terminal can perform positioning by adopting each of at least one third positioning mode in the corresponding first information; sending the first list to a first terminal residing in the first cell so that the first terminal can perform positioning according to a first positioning mode in the first list; the first positioning mode represents a positioning mode supported by an area corresponding to the first signal intensity; the first signal strength represents the signal strength of the first cell detected by the first terminal, and the positioning modes supported by different areas can be determined according to the data collected by the terminal, so that the terminal can be quickly positioned by using the positioning modes supported by the areas, and the positioning efficiency and the positioning accuracy are improved.
In an embodiment, the issuing the first list to the first terminal includes:
sending the first list to a base station corresponding to the first cell, so that the base station sends the first list to the first terminal through first broadcast information; or the like, or a combination thereof,
and sending the first list to the first terminal through first push information.
Here, when the first list is issued to the first terminal residing in the first cell, the issuing of the first list may be completed by the base station. The server firstly sends the first list to a base station corresponding to the first cell, and the base station corresponding to the first cell broadcasts the list, so that the terminal acquires the first list from the first broadcast information. When the first list is updated, the server may send the updated first list to the base station, and similarly, the base station broadcasts the updated first list and sends a paging message to the first terminal accessing the first cell, and the first terminal residing in the first cell may obtain the updated first list from the first broadcast message again according to the paging message, as shown in fig. 14, where fig. 14 shows a flowchart in which the server sends the first list to the first terminal through the base station. In addition, the server may further send the first list to the first terminal through the first push information, specifically, send the first push information through the client program, and the first terminal may obtain the first list from the first push information, and when the first list is updated, also prompt the first terminal that the current first list is changed through the push information, and the first terminal may obtain the updated first list from the push information. In practical applications, the push information for updating the first list may be sent only to the first terminal that resides in the first cell within a set time, as shown in fig. 15, where fig. 15 shows a flowchart that the server issues the first list to the first terminal through the first push information.
In the above embodiment, the first list is sent to the base station corresponding to the first cell, so that the base station sends the first list to the first terminal through first broadcast information; or, the first list is sent to the first terminal through the first push information, so that the terminal can acquire positioning technologies supported by different areas through the base station or the push information, and the base station is used for broadcasting to cover more terminals, thereby being beneficial to improving the application range and improving the positioning efficiency and precision.
In one embodiment, as shown in fig. 16, the method further comprises:
s1601: and receiving a second positioning mode and the first signal strength sent by the first terminal.
Here, the server may further receive a second positioning method and a first signal strength, which are sent by the first terminal, where the second positioning method is a positioning method that is supported by the first terminal and is not described in positioning methods supported by the corresponding area in the first list, and therefore, when the server receives the second positioning method, it means that a new positioning method is deployed in the corresponding area.
S1602: and adding the second positioning mode in a corresponding area stored in the first list according to the first signal strength.
Here, the first signal strength can determine the area in which the new positioning method is deployed, so that the second positioning method can be added to the corresponding area stored in the first list, the newly deployed positioning method of the area due to the first signal strength can be found in time, and the first list is further improved.
In the above embodiment, a second positioning method and the first signal strength sent by the first terminal are received; according to the first signal strength, the second positioning mode is added in the corresponding area stored in the first list, and the positioning technology newly deployed in the area can be determined while the terminal is ensured to be successfully positioned, so that the positioning technology supported by the area can be updated timely, the accuracy of the positioning technology corresponding to the determined area is improved, and the positioning accuracy is improved.
In an embodiment, the method further comprises:
deleting the positioning mode corresponding to the first area in the first setting list and meeting the setting condition; wherein the content of the first and second substances,
and the set condition represents that the positioning mode related to the first area reported by the terminal is not received within a set time length.
Here, because the first terminal determines the used positioning manner to complete positioning according to the first list, the first list needs to maintain higher accuracy, and the server monitors the change of the positioning technologies supported by different areas, and when the positioning manner related to the first area reported by the terminal is not received within a set time period in the first area, it indicates that the positioning manner is not supported by the corresponding area, so as to delete the positioning manner corresponding to the first area in the first list, and in practical applications, the specific situations of the positioning technologies supported by different areas can be monitored through the first positioning manner reported by the first terminal after the first terminal successfully locates by using the first positioning manner and the corresponding first signal strength, so as to determine whether the first manner meeting the set condition exists, or through the third positioning manner and the second signal strength reported by the second terminal during acquisition, and in addition, corresponding data are uploaded to a server when the first terminal is positioned by using different positioning modes, the server returns a positioning result after data processing, and the data required by different positioning modes are different, so that the server can further determine the use condition of the positioning mode supported by the corresponding region according to the uploaded positioning data.
In the above embodiment, the positioning manner corresponding to the first area in the first setting list and meeting the setting condition is deleted; the set condition represents that the positioning mode related to the first area reported by the terminal is not received within the set time length, so that the positioning technology supported by the area can be updated according to the condition reported by the terminal, the positioning technology supported by the area can be more accurate, and the efficiency of positioning the terminal and the accuracy of positioning can be improved.
An application embodiment is further provided in the embodiments of the present application, and as shown in fig. 17, fig. 17 shows a schematic implementation flow diagram of the positioning method.
S1701: and judging whether the terminal has a positioning request or not. When there is a positioning request, the terminal needs to be positioned.
S1702: and judging whether the first function is in a starting state or not. The first function indicates that the positioning mode adopted by the terminal is determined by using the first list, and when the first function is in a starting state, the step jumps to S1703, and when the first function is in a closing state, the step jumps to S1707.
S1703: a first signal strength is determined. The first signal strength is the signal strength of the first cell detected when the terminal is camped on the first cell.
S1704: a first list created by a server is obtained. The first list stores positioning technologies supported by different areas of the first cell.
S1705: a first location technique is determined in the first list based on the first signal strength. The first positioning technology represents a positioning mode adopted by the terminal when the terminal performs positioning in an area corresponding to the first signal strength.
S1706: and determining whether the adopted first positioning technology is successful in positioning, and if the positioning is successful, successfully determining the position information of the terminal. If the positioning cannot be successfully performed by using the first positioning technique, the process jumps to S1707.
S1707: and attempting to position the terminal by adopting a second positioning technology, wherein the second positioning technology represents that the terminal supports a positioning mode other than the positioning modes supported by the corresponding area stored in the first list.
S1708: and judging whether the positioning is successful, and if the positioning is successful, jumping to 1709.
S1709: reporting the second positioning technology and the first signal strength to the server, so that the server updates the first list.
To implement the method according to the embodiment of the present application, an embodiment of the present application further provides a positioning apparatus, as shown in fig. 18, the apparatus includes:
a first determining unit 1801, configured to determine a first signal strength; the first terminal resides in a first cell; the first signal strength characterizes a signal strength of the first cell detected by the first terminal;
a first obtaining unit 1802 configured to obtain a first list created by a server; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength;
a second determining unit 1803, configured to determine, according to the first signal strength, a first positioning manner supported by a corresponding area in the first list;
a first positioning unit 1804, configured to position the first terminal by using the first positioning manner.
In one embodiment, the apparatus further comprises:
the first positioning unit 1804 is further configured to position the first terminal in a second positioning manner when the first positioning manner is not used to position the first terminal; the second positioning mode represents a positioning mode which is supported by the first terminal and is different from the positioning mode supported by the corresponding area stored in the first list;
a first reporting unit, configured to report the second positioning method and the first signal strength to the server when the second positioning method is adopted to position the first terminal, so that the server updates the first list.
In an embodiment, the first obtaining unit 1802 obtains a first list created by a server, including:
receiving a first broadcast message of a base station, and acquiring the first list from the first broadcast message; the first list is sent by the server to the base station; or the like, or, alternatively,
and receiving first push information from the server, and acquiring the first list from the first push information.
In an embodiment, the first obtaining unit 1802 obtains a first list created by a server, including:
under the condition that the first function is in a starting state, acquiring the first list; and the first function representation utilizes the first list to determine the positioning mode adopted by the first terminal.
In practice, the first determining unit 1801, the first obtaining unit 1802, the second determining unit 1803, and the first positioning unit 1804 may be implemented by a processor in the positioning apparatus. Of course, the processor needs to run the program stored in the memory to realize the functions of the above-described program modules.
It should be noted that, when the positioning apparatus provided in the embodiment of fig. 18 performs positioning, only the division of the program modules is illustrated, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the apparatus may be divided into different program modules to complete all or part of the processing described above. In addition, the positioning apparatus and the positioning method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Another positioning device is provided in an embodiment of the present application, as shown in fig. 19, the device includes:
a second positioning unit 1901, configured to position the second terminal by using at least one positioning method to obtain a positioning result;
a second determining unit 1902, configured to determine a second signal strength; the second terminal resides in a first cell; the second signal strength represents the signal strength of the first cell detected by the second terminal;
a second reporting unit 1903, configured to upload the first information to the server based on the positioning result; wherein the content of the first and second substances,
the first information comprises at least one third positioning mode and the second signal strength; the second terminal can perform positioning by adopting each third positioning mode of at least one third positioning mode.
In an embodiment, the second positioning unit 1901 positions the second terminal by using at least one positioning method, including:
respectively positioning the second terminal according to each fourth positioning mode in at least one fourth positioning mode; the fourth positioning mode represents a positioning mode supported by the second terminal; or the like, or, alternatively,
and under the condition of receiving the positioning request, positioning the second terminal based on a set positioning mode corresponding to an initiator of the positioning request.
In practical applications, the second positioning unit 1901, the second determining unit 1902, and the second reporting unit 1903 may be implemented by a processor in the positioning apparatus. Of course, the processor needs to run the program stored in the memory to realize the functions of the above-described program modules.
It should be noted that, when the positioning apparatus provided in the embodiment of fig. 19 performs positioning, only the division of the program modules is illustrated, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the apparatus may be divided into different program modules to complete all or part of the processing described above. In addition, the positioning apparatus and the positioning method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Another positioning apparatus is provided in an embodiment of the present application, as shown in fig. 20, the apparatus includes:
a creating unit 2001, configured to create a first list based on first information sent by at least one second terminal accessing the first cell; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength; the first information comprises at least one third positioning mode and second signal strength; the second signal strength represents the signal strength of the first cell detected when a corresponding second terminal resides in the first cell; the second terminal can perform positioning by adopting each of at least one third positioning mode in the corresponding first information;
a sending unit 2002, configured to send the first list to a first terminal residing in the first cell, so that the first terminal performs positioning according to a first positioning manner in the first list; the first positioning mode represents a positioning mode supported by an area corresponding to the first signal intensity; the first signal strength characterizes a signal strength of the first cell detected by the first terminal.
In an embodiment, the sending unit 2002 sends the first list to the first terminal, including:
sending the first list to a base station corresponding to the first cell, so that the base station sends the first list to the first terminal through first broadcast information; or the like, or, alternatively,
and sending the first list to the first terminal through first push information.
In one embodiment, the apparatus further comprises:
a receiving unit, configured to receive a second positioning method and the first signal strength sent by the first terminal;
and the adding unit is used for adding the second positioning mode in a corresponding area stored in the first list according to the first signal strength.
In one embodiment, the apparatus further comprises:
a deleting unit, configured to delete the positioning mode corresponding to the first area in the first setting list and meeting the setting condition; wherein the content of the first and second substances,
and the set condition represents that the positioning mode related to the first area reported by the terminal is not received within a set time length.
In actual application, the creating unit 2001 and the sending unit 2002 may be implemented by a processor in the positioning apparatus. Of course, the processor needs to run the program stored in the memory to realize the functions of the above-described program modules.
It should be noted that, when the positioning apparatus provided in the embodiment of fig. 20 performs positioning, only the division of the program modules is illustrated, and in practical applications, the processing distribution may be completed by different program modules according to needs, that is, the internal structure of the apparatus may be divided into different program modules to complete all or part of the processing described above. In addition, the positioning apparatus and the positioning method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Based on the hardware implementation of the program module, and in order to implement the method according to the embodiment of the present application, an embodiment of the present application further provides an electronic device, and fig. 21 is a schematic diagram of a hardware composition structure of the electronic device according to the embodiment of the present application, and as shown in fig. 21, the electronic device includes:
a communication interface 1 capable of performing information interaction with other devices such as network devices and the like;
and the processor 2 is connected with the communication interface 1 to realize information interaction with other equipment, and is used for executing the positioning method provided by one or more technical schemes when running a computer program. And the computer program is stored on the memory 3.
In practice, of course, the various components in the electronic device are coupled together by the bus system 4. It will be appreciated that the bus system 4 is used to enable connection communication between these components. The bus system 4 comprises, in addition to a data bus, a power bus, a control bus and a status signal bus. For clarity of illustration, however, the various buses are labeled as bus system 4 in fig. 21.
The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program for operating on an electronic device.
It will be appreciated that the memory 3 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 3 described in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the embodiment of the present application may be applied to the processor 2, or may be implemented by the processor 2. The processor 2 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 2. The processor 2 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 2 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 3, and the processor 2 reads the program in the memory 3 and in combination with its hardware performs the steps of the aforementioned method.
When the processor 2 executes the program, the corresponding processes in the methods according to the embodiments of the present application are realized, and for brevity, are not described herein again.
In an exemplary embodiment, the present application further provides a storage medium, i.e. a computer storage medium, specifically a computer readable storage medium, for example, including a memory 3 storing a computer program, which can be executed by a processor 2 to implement the steps of the foregoing method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, terminal and method may be implemented in other manners. The above-described device embodiments are only illustrative, for example, the division of the unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an electronic device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A positioning method applied to a first terminal, the method comprising:
determining a first signal strength; the first terminal resides in a first cell; the first signal strength characterizes a signal strength of the first cell detected by the first terminal;
obtaining a first list created by a server; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength;
determining a first positioning mode supported by an area corresponding to the first signal strength in the first list according to the first signal strength;
and positioning the first terminal by adopting the first positioning mode.
2. The method of claim 1, further comprising:
positioning the first terminal by adopting a second positioning mode under the condition that the first positioning mode cannot be used for positioning the first terminal; the second positioning mode represents a positioning mode which is supported by the first terminal and is different from the positioning mode supported by the corresponding area stored in the first list;
and reporting the second positioning mode and the first signal strength to the server under the condition that the first terminal can be positioned by adopting the second positioning mode, so that the server updates the first list.
3. The method according to claim 1, wherein said obtaining a first list created by a server comprises:
receiving a first broadcast message of a base station, and acquiring the first list from the first broadcast message; the first list is sent by the server to the base station; or the like, or, alternatively,
and receiving first push information from the server, and acquiring the first list from the first push information.
4. The method according to claim 1, wherein said obtaining a first list created by a server comprises:
under the condition that the first function is in a starting state, acquiring the first list; and the first function representation utilizes the first list to determine the positioning mode adopted by the first terminal.
5. A positioning method applied to a second terminal, the method comprising:
positioning the second terminal by adopting at least one positioning mode to obtain a positioning result;
determining a second signal strength; the second terminal resides in a first cell; the second signal strength represents the signal strength of the first cell detected by the second terminal;
uploading first information to a server to create a first list based on the positioning result; wherein the content of the first and second substances,
the first information comprises at least one third positioning mode and the second signal strength; the second terminal can perform positioning by adopting each third positioning mode in at least one third positioning mode; the first list stores positioning modes supported by different areas in the first cell so that the first terminal determines a first positioning mode supported by an area corresponding to the first signal strength in the first list according to the first signal strength; the first terminal resides in the first cell; the first signal strength characterizes a signal strength of the first cell detected by the first terminal; the different regions correspond to different levels of signal strength.
6. The method according to claim 5, wherein the positioning the second terminal by using at least one positioning method comprises:
respectively positioning the second terminal according to each fourth positioning mode in at least one fourth positioning mode; the fourth positioning mode represents a positioning mode supported by the second terminal; or the like, or, alternatively,
and under the condition of receiving the positioning request, positioning the second terminal based on a set positioning mode corresponding to the initiator of the positioning request.
7. A method of positioning, the method comprising:
creating a first list based on first information sent by at least one second terminal accessing a first cell; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength; the first information comprises at least one third positioning mode and second signal strength; the second signal strength represents the signal strength of the first cell detected when a corresponding second terminal resides in the first cell; the second terminal can perform positioning by adopting each of at least one third positioning mode in the corresponding first information;
sending the first list to a first terminal residing in the first cell so that the first terminal can perform positioning according to a first positioning mode in the first list; the first positioning mode represents a positioning mode supported by an area corresponding to the first signal intensity; the first signal strength characterizes a signal strength of the first cell detected by the first terminal.
8. The method of claim 7, wherein the sending the first list to the first terminal comprises:
sending the first list to a base station corresponding to the first cell, so that the base station sends the first list to the first terminal through a first broadcast message; or the like, or a combination thereof,
and sending the first list to the first terminal through first push information.
9. The method of claim 7, further comprising:
receiving a second positioning mode and the first signal strength sent by the first terminal;
and adding the second positioning mode in a corresponding area stored in the first list according to the first signal strength.
10. The method of claim 7, further comprising:
deleting the positioning mode corresponding to the first area in the first list and meeting the set condition; wherein the content of the first and second substances,
and the setting condition represents that the positioning mode related to the first area reported by the terminal is not received within a set time length.
11. A positioning device, comprising:
a first determining unit for determining a first signal strength; a first terminal resides in a first cell; the first signal strength characterizes a signal strength of the first cell detected by the first terminal;
a first acquisition unit configured to acquire a first list created by a server; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength;
a second determining unit, configured to determine, according to the first signal strength, a first positioning manner supported by an area corresponding to the first signal strength in the first list;
and the first positioning unit is used for positioning the first terminal by adopting the first positioning mode.
12. A positioning device, comprising:
the second positioning unit is used for positioning the second terminal by adopting at least one positioning mode to obtain a positioning result;
a second determining unit for determining a second signal strength; the second terminal resides in a first cell; the second signal strength represents the signal strength of the first cell detected by the second terminal;
a second reporting unit, configured to upload first information to a server based on the positioning result to create a first list; wherein the content of the first and second substances,
the first information comprises at least one third positioning mode and the second signal strength; the second terminal can perform positioning by adopting each third positioning mode in at least one third positioning mode; the first list stores positioning modes supported by different areas in the first cell so that the first terminal determines a first positioning mode supported by an area corresponding to the first signal strength in the first list according to the first signal strength; the first terminal resides in the first cell; the first signal strength characterizes a signal strength of the first cell detected by the first terminal; the different regions correspond to different levels of signal strength.
13. A positioning device, comprising:
the device comprises a creating unit, a first cell selecting unit and a second cell selecting unit, wherein the creating unit is used for creating a first list based on first information sent by at least one second terminal accessing a first cell; the first list stores positioning modes supported by different areas in the first cell; the different areas correspond to different levels of signal strength; the first information comprises at least one third positioning mode and second signal strength; the second signal strength represents the signal strength of the first cell detected when a corresponding second terminal resides in the first cell; the second terminal can perform positioning by adopting each third positioning mode of at least one third positioning mode in the corresponding first information;
a sending unit, configured to send the first list to a first terminal residing in the first cell, so that the first terminal performs positioning according to a first positioning manner in the first list; the first positioning mode represents a positioning mode supported by an area corresponding to the first signal strength; the first signal strength characterizes a signal strength of the first cell detected by the first terminal.
14. An electronic device, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of the method of any one of claims 1 to 4 or 5 to 6 or 7 to 10 when running the computer program.
15. A storage medium on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4 or 5 to 6 or 7 to 10.
CN202110272551.3A 2021-03-12 2021-03-12 Positioning method, positioning device, electronic equipment and storage medium Active CN113068251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110272551.3A CN113068251B (en) 2021-03-12 2021-03-12 Positioning method, positioning device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110272551.3A CN113068251B (en) 2021-03-12 2021-03-12 Positioning method, positioning device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113068251A CN113068251A (en) 2021-07-02
CN113068251B true CN113068251B (en) 2022-09-02

Family

ID=76560452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110272551.3A Active CN113068251B (en) 2021-03-12 2021-03-12 Positioning method, positioning device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113068251B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949992B (en) * 2021-11-24 2024-03-29 上海瑾盛通信科技有限公司 Positioning method, positioning device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036165A (en) * 2010-12-16 2011-04-27 中兴通讯股份有限公司 Positioning method and user terminal supporting multiple positioning modes
CN104918324A (en) * 2014-03-13 2015-09-16 电信科学技术研究院 Positioning method selection control method and device
WO2017161475A1 (en) * 2016-03-21 2017-09-28 华为技术有限公司 Method and device for generating electronic map, and method and device for planning route
CN107466007A (en) * 2016-06-03 2017-12-12 中国移动通信有限公司研究院 A kind of localization method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651705A (en) * 2008-08-15 2010-02-17 华为技术有限公司 Method and device for negotiating positioning capability

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036165A (en) * 2010-12-16 2011-04-27 中兴通讯股份有限公司 Positioning method and user terminal supporting multiple positioning modes
CN104918324A (en) * 2014-03-13 2015-09-16 电信科学技术研究院 Positioning method selection control method and device
WO2017161475A1 (en) * 2016-03-21 2017-09-28 华为技术有限公司 Method and device for generating electronic map, and method and device for planning route
CN107466007A (en) * 2016-06-03 2017-12-12 中国移动通信有限公司研究院 A kind of localization method and terminal

Also Published As

Publication number Publication date
CN113068251A (en) 2021-07-02

Similar Documents

Publication Publication Date Title
CN102498706B (en) Mobile device battery management
AU2018206737A1 (en) A location determination method and system
US20160373890A1 (en) Method and apparatus for switching modes
CN103368984B (en) A kind of information sharing method and system
KR101892640B1 (en) Method for accessing augmented reality user context
CN109831773B (en) Rescue method, rescue equipment and computer readable medium
US20130326209A1 (en) Automatic Alert Mode Selection
CN108886830A (en) Information processing method and relevant device and computer program
CN113068251B (en) Positioning method, positioning device, electronic equipment and storage medium
CN103974231A (en) Position updating method and mobile terminal
CN104144423A (en) False base station positioning method and network server
JP2016519886A (en) Device and method for enabling automatic configuration of communication interfaces
CN105072242B (en) A kind of method and mobile terminal of voice prompting
CN102740219A (en) MBMS communication method and device and MBMS receiving method and device
KR20160079528A (en) Method and system for converting the settings of mobile terminal using cell identification inforation
WO2015171425A1 (en) Method and apparatus for providing wireless connection quality guidance
CN110677869A (en) Network connection control method, terminal and storage medium
CN115515206A (en) Network searching method based on cloud service, terminal and cloud server
CN101635759A (en) Method and device for realizing mobile terminal firewall
CN109413616B (en) Vehicle intelligent service system and method, vehicle-mounted terminal, base station and core network equipment
CN101198104B (en) Method and device for issuing tour guide information
CN111008878A (en) Mobile power supply and sharing method thereof
CN101720142A (en) Position area-based interest point information querying system and position area-based interest point information querying method
US20120282910A1 (en) Management of a Wireless Communication Interface of a Terminal
CN102938858A (en) Smart television, positioning method thereof and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant