Positioning method, positioning device and medium
Through the user terminal, the wireless LAN information in the target site is detected, the location of the newly added tenant is determined, and the guidance information is output, which solves the problem of obtaining tenants' locations caused by delay in the update of map software data, and realizes the rapid and accurate positioning of the newly added tenant .
Patent Information
- Application Number
- CN202210983487.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-16
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2042-08-16
AI Technical Summary
In places where tenants change frequently, the data update speed of map software is slow, resulting in users being unable to obtain tenant location information in time.
The user terminal detects the wireless LAN information in the target site, determines the newly added wireless LAN, and calculates matching parameters based on the signal strength, name matching degree and distance information, and outputs guidance information to assist users in positioning.
It realizes rapid auxiliary positioning of new tenants in the venue, improves positioning efficiency and accuracy, and improves user experience.
Smart Images

Figure CN115334449B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of positioning, and in particular to a positioning method, a positioning device and a medium. Background Art
[0002] With the development of technology, there are currently a variety of technologies that can measure and estimate the geographical location on the ground, and the application of positioning has penetrated into all walks of life. With the improvement of economic level and social development, all walks of life have higher and higher requirements for positioning accuracy.
[0003] In some places, tenants change frequently, but the data update speed of the map software is often delayed. It may be a while after the tenant has been changed that the map data will be updated and the user can obtain the location information of the changed tenant from the map software. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a positioning method, a positioning device and a medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a positioning method is provided, which is applied to a user terminal, and includes: in response to a user's positioning request for a target tenant in a target place, obtaining the location information of the target tenant from a map software; if the location information of the target tenant is not obtained from the map software, obtaining the wireless local area network information in the target place currently detected by the user terminal; if it is determined based on the wireless local area network information that there is a newly added first wireless local area network around the user terminal, determining matching parameters corresponding to the first wireless local area network, the matching parameters representing the possibility that the location of the first wireless local area network is the location of the target tenant; and outputting guidance information for indicating the matching parameters.
[0006] Optionally, before determining the matching parameters corresponding to the first wireless local area network, the method also includes: determining whether the signal strength between the user terminal and the first wireless local area network is within a preset range; in response to determining that the signal strength between the user terminal and the first wireless local area network is within the preset range, determining the matching parameters corresponding to the first wireless local area network.
[0007] Optionally, determining the matching parameters corresponding to the first wireless local area network includes: determining a degree of match between the name of the first wireless local area network and the name of the target tenant; determining, based on the wireless local area network information currently detected by the user terminal, a second wireless local area network whose signal strength with the user terminal is within a preset range, wherein the second wireless local area network is different from the first wireless local area network; obtaining location information of a third wireless local area network from the map software, and determining a distance between the user terminal and a location of the third wireless local area network, wherein the third wireless local area network is a non-newly added wireless local area network in the second wireless local area network; determining the matching parameters corresponding to the first wireless local area network based on the signal strength between the user terminal and the first wireless local area network, the signal strength between the user terminal and the second wireless local area network, the degree of match, and the distance between the user terminal and a location of the third wireless local area network.
[0008] Optionally, determining the matching parameter corresponding to the first wireless local area network according to the signal strength between the user terminal and the first wireless local area network, the signal strength between the user terminal and the second wireless local area network, the matching degree, and the distance between the user terminal and the location of the third wireless local area network includes: determining a first matching value according to the signal strength between the user terminal and the first wireless local area network, and the signal strength between the user terminal and the second wireless local area network; determining a second matching value according to the matching degree, wherein the closer the match between the name of the first wireless local area network and the name of the target tenant is, the greater the second matching value is; determining a third matching value according to the distance between the user terminal and the location of the third wireless local area network; and weighting the first matching value, the second matching value, and the third matching value according to a preset weight to obtain the matching parameter.
[0009] Optionally, determining the first matching value according to the signal strength between the user terminal and the first wireless local area network and the signal strength between the user terminal and the second wireless local area network includes: determining the average signal strength according to the signal strength between the user terminal and the first wireless local area network and the signal strength between the user terminal and the second wireless local area network; determining the first matching value according to the average signal strength, wherein the greater the average signal strength, the greater the first matching value.
[0010] Optionally, determining the third matching value based on the distance between the user terminal and the location of the third wireless local area network includes: determining the average distance between the user terminal and the location of the third wireless local area network; determining the third matching value based on the average distance, wherein the smaller the average distance, the larger the third matching value.
[0011] Optionally, the output is used to indicate the guidance information of the matching parameter, including: determining a target display state of a guidance mark according to the matching parameter; and displaying the guidance mark according to the target display state.
[0012] According to a second aspect of an embodiment of the present disclosure, a positioning device is provided, which is applied to a user terminal, and includes: a first acquisition module, which is used to obtain the location information of the target tenant in the target place from a map software in response to a user's positioning request for the target tenant in the target place; a second acquisition module, which is used to obtain the wireless local area network information in the target place currently detected by the user terminal if the location information of the target tenant is not obtained from the map software; a determination module, which is used to determine the matching parameters corresponding to the first wireless local area network if it is determined based on the wireless local area network information that there is a newly added first wireless local area network around the user terminal, the matching parameters representing the possibility that the location of the first wireless local area network is the location of the target tenant; and an output module, which is used to output guidance information for indicating the matching parameters.
[0013] According to a third aspect of an embodiment of the present disclosure, a positioning device is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to execute the positioning method provided by the first aspect of the embodiment of the present disclosure.
[0014] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the positioning method provided by the first aspect of the embodiment of the present disclosure is implemented.
[0015] The technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: when the location information of the target tenant is not obtained in the map software, it indicates that the target tenant is likely to be a newly added tenant. Due to the delay in updating the map software, the location information of the newly added tenant cannot be obtained from it. At this time, according to the wireless local area network information in the target place currently detected by the user terminal, the first wireless local area network newly added around the user terminal is determined, and the matching parameter corresponding to the first wireless local area network is determined. Among them, the matching parameter represents the possibility that the location of the first wireless local area network is the location of the target tenant. Therefore, through the matching parameter, it can be reflected whether the location of the first wireless local area network is the location of the target tenant. Afterwards, the user terminal outputs guidance information for indicating the matching parameter, so that the user can decide whether to go to the location of the first wireless local area network according to the guidance information. For example, when the matching parameter indicates that the location of the first wireless local area network is likely to be the location of the target tenant, the user terminal can output guidance information for indicating this matching parameter, and then the user can go to the location of the first wireless local area network according to the guidance information to assist the user in finding the target tenant. Through the above technical solution, it is possible to achieve rapid auxiliary positioning of tenants who have changed in the venue, improve the positioning efficiency and positioning accuracy of new tenants, and thus improve the user experience.
[0016] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0018] Figure 1 The figure is a flow chart of a positioning method according to an exemplary embodiment.
[0019] Figure 2 The figure is a flow chart of a positioning method according to an exemplary embodiment.
[0020] Figure 3 The present invention is a flowchart showing a method for determining a matching parameter corresponding to a first wireless local area network according to an exemplary embodiment.
[0021] Figure 4 The present invention is a flowchart showing a method for determining the matching parameter corresponding to the first wireless local area network according to an exemplary embodiment.
[0022] Figure 5 The flowchart of determining a first matching value is shown according to an exemplary embodiment.
[0023] Figure 6is a flowchart of determining a third matching value according to an exemplary embodiment.
[0024] Figure 7 The invention is a flowchart showing outputting guidance information for indicating matching parameters according to an exemplary embodiment.
[0025] Figure 8 The figure is a block diagram of a positioning device according to an exemplary embodiment.
[0026] Fig. 9 The figure is a block diagram of a positioning device according to an exemplary embodiment. DETAILED DESCRIPTION
[0027] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0028] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.
[0029] Figure 1 is a flow chart of a positioning method according to an exemplary embodiment. Figure 1 As shown, the method can be applied to a user terminal, and the method can include the following steps.
[0030] In step S101 , in response to a user's request for positioning a target tenant in a target location, location information of the target tenant is obtained from a map software.
[0031] Exemplarily, the user searches for the target tenant in the target location through the map software installed on the user terminal around the target location. The user can enter the name of the target tenant in the search bar of the map software to initiate the above positioning request, and the user terminal obtains the location information of the target tenant from the map software in response to receiving the positioning request. The target location can be a designated building, a designated area (for example, a designated business district, a designated park, etc.), etc., and the target tenant can be a merchant, enterprise, etc. in the target location.
[0032] In step S102, if the location information of the target tenant is not obtained from the map software, the wireless local area network information in the target location currently detected by the user terminal is obtained.
[0033] For example, the location information of the target tenant has not been updated in the map software, indicating that the target tenant may be a new tenant. In addition, due to the limitations of existing navigation and positioning technologies, it is difficult to accurately locate the floor, specific house number, etc., resulting in the user terminal being unable to obtain the specific location information of the possible new target tenant from the map software.
[0034] When the wireless local area network search function of the user terminal is turned on, the user terminal can detect the surrounding wireless local area network information. For example, the user is in the target location and searches for the surrounding wireless local area network information through the user terminal. Exemplarily, the wireless local area network information may include, but is not limited to: the number of wireless local area networks, the signal strength of the wireless local area network, the name of the wireless local area network, and the device information of the wireless routing device corresponding to the wireless local area network, such as the type and model of the wireless routing device, the time of accessing the network, etc.
[0035] In step S103, if it is determined according to the wireless local area network information that there is a newly added first wireless local area network around the user terminal, a matching parameter corresponding to the first wireless local area network is determined.
[0036] The matching parameter corresponding to the first wireless local area network represents the possibility that the location of the first wireless local area network is the location of the target tenant.
[0037] The user terminal compares the currently detected wireless local area network information with the historical wireless local area network information in the target location to determine the change of the wireless local area network in the current target location. The user terminal can obtain the historical wireless local area network information of the target location from a server for managing wireless local area network-related data of the target location, and optionally, the user terminal stores the obtained historical wireless local area network information locally.
[0038] In the present disclosure, the location information of the target tenant cannot be obtained from the map software, indicating that the target tenant may be a newly added tenant in the target place, and its location information cannot be obtained due to the delay in updating the map data. At this time, if the user terminal detects the existence of a newly added first wireless local area network information, then there is a certain possibility that the first wireless local area network is the wireless local area network corresponding to the target tenant, that is, the location of the first wireless local area network may be the location of the target tenant. Determine the matching parameters corresponding to the first wireless local area network. Through the matching parameters corresponding to the first wireless local area network, it can be reflected whether the location of the first wireless local area network is the location of the target tenant, thereby narrowing the determination range of the target tenant, assisting users in finding the target tenant, and improving the efficiency of locating the new tenant.
[0039] In step S104, guidance information for indicating matching parameters is output.
[0040] The guidance information may indicate the matching parameter corresponding to the first wireless local area network. For example, the guidance information may be directly expressed as the matching parameter, for example, if the value of the matching parameter is 90%, the guidance information is also expressed as the value 90%. Alternatively, the guidance information may be in the form of graphics, sound, etc., which is not limited in the present disclosure.
[0041] Through the above technical solution, when the matching parameter indicates that the location of the first wireless local area network is likely to be the location of the target tenant, the user terminal can output guidance information for indicating the matching parameter, and then the user can go to the location of the first wireless local area network according to the guidance information to assist the user in finding the target tenant. The present disclosure can realize the rapid auxiliary positioning of the tenants who have changed in the venue, improve the positioning efficiency and positioning accuracy of the newly added tenants, and thus improve the user experience.
[0042] Figure 2 FIG. 1 is a flow chart of a positioning method according to an exemplary embodiment. Figure 2 As shown, the method may include the following steps.
[0043] In step S201 , in response to a user's request for positioning a target tenant in a target location, location information of the target tenant is obtained from a map software.
[0044] In step S202, if the location information of the target tenant is not obtained from the map software, the wireless local area network information in the target location currently detected by the user terminal is obtained.
[0045] In step S203, it is determined whether there is a newly added first wireless local area network around the user terminal according to the wireless local area network information.
[0046] In response to determining that a newly added first wireless local area network exists around the user terminal, step S204 is executed to determine whether the signal strength between the user terminal and the first wireless local area network is within a preset range.
[0047] For example, the closer the user terminal is to the first wireless local area network, the stronger the signal strength between the user terminal and the first wireless local area network. Therefore, by determining whether the signal strength between the user terminal and the first wireless local area network is within a preset range, it is possible to determine whether the user terminal and the first wireless local area network are close to each other. The preset range of signal strength can be adaptively set according to factors such as the location environment of the target location and the user's visual range, and the present disclosure does not specifically limit its setting method.
[0048] In response to determining that the signal strength between the user terminal and the first wireless local area network is within the preset range, step S205 is executed to determine a matching parameter corresponding to the first wireless local area network.
[0049] When the signal strength between the user terminal and the first wireless local area network is within a preset range, it indicates that the user terminal is close to the location of the first wireless local area network. At this time, the matching parameters corresponding to the first wireless local area network are determined to indicate to the user the possibility that the location of the first wireless local area network is the location of the target tenant.
[0050] In step S206, guidance information for indicating the matching parameters is output.
[0051] It should be noted that the implementation of the above steps S201 to S203, and steps S205 to S206 is described in conjunction with Figure 1 The implementation method of step S101 to step S104 described above will not be repeated here.
[0052] By determining whether the signal strength between the user terminal and the first wireless local area network is within a preset range, the determination range of the first wireless local area network can be narrowed, thereby improving the accuracy and efficiency of locating the location of the first wireless local area network.
[0053] In at least one embodiment, in the above method, in response to determining that there is no newly added first wireless local area network around the user terminal, return to step S202, that is, continue to obtain the wireless local area network information in the target location currently detected by the user terminal. Optionally, in this case, the user terminal can also output corresponding prompt information to prompt the user that no newly added wireless local area network is currently detected, and suggest that the user move to another location.
[0054] In at least one embodiment, in the above method, in response to determining that the signal strength between the user terminal and the first wireless local area network is not within the preset range, return to step S202, that is, continue to obtain the wireless local area network information in the target location currently detected by the user terminal. Optionally, in this case, the user terminal can also output corresponding prompt information to prompt the user that the distance to the newly detected wireless local area network is far, and suggest that the user move to another location.
[0055] As the user moves, the wireless local area network information detected by the user terminal may change, or the signal strength between the user terminal and the first wireless local area network may change. The above method continues. When other newly added first wireless local area networks are detected, step S204 and its subsequent steps are implemented, or when the signal strength between the user terminal and the first wireless local area network changes from not being within the preset range to being within the preset range, step S205 and its subsequent steps are implemented. In this way, as the user moves, the guidance information output to the user also changes, so as to assist the user in finding the target tenant.
[0056] Figure 3 FIG. 1 is a flow chart showing a method of determining a matching parameter corresponding to a first wireless local area network according to an exemplary embodiment. Figure 3 As shown, determining the matching parameter corresponding to the first wireless local area network may include the following steps.
[0057] In step S301, a matching degree between a name of a first wireless local area network and a name of a target tenant is determined.
[0058] Exemplarily, a word vector corresponding to the name of the first wireless local area network and a word vector corresponding to the name of the target tenant may be obtained, and then the similarity between the two word vectors is calculated to determine the degree of match between the name of the first wireless local area network and the name of the target tenant.
[0059] Alternatively, a string comparison may be performed between the string corresponding to the name of the first wireless local area network and the string corresponding to the name of the target tenant, and then the degree of match between the name of the first wireless local area network and the name of the target tenant is determined according to the string comparison result.
[0060] Alternatively, the first name information used to characterize the name of the first wireless local area network and the second name information used to characterize the name of the target tenant may be input into a pre-trained recognition model to obtain a matching degree output by the recognition model.
[0061] If the matching degree between the name of the first wireless local area network and the name of the target tenant is high, then it is highly likely that the first wireless local area network is the wireless local area network of the target tenant.
[0062] In step S302, according to the wireless local area network information currently detected by the user terminal, a second wireless local area network whose signal strength with the user terminal is within a preset range is determined, and the second wireless local area network is different from the first wireless local area network.
[0063] The user terminal determines a wireless local area network different from the first wireless local area network and having a signal strength sensed at the current location within a preset range as a second wireless local area network. The number of second wireless local area networks may be one or more. The signal strengths of the user terminal, the first wireless local area network and the second wireless local area network are both within a preset range, indicating that the location of the second wireless local area network may be around the location of the first wireless local area network.
[0064] In step S303, the location information of the third wireless local area network is obtained from the map software, and the distance between the user terminal and the location of the third wireless local area network is determined, wherein the third wireless local area network is not a newly added wireless local area network in the second wireless local area network.
[0065] Since the location information of the newly added wireless local area network is uncertain, the location information of the tenant corresponding to the newly added wireless local area network may not be updated in the map software. Therefore, after determining the second wireless local area network, the user terminal determines the wireless local area network that is not a newly added one as the third wireless local area network. For example, the user terminal can compare the information of the second wireless local area network with the historical wireless local area network information in the target location to determine whether the second wireless local area network is a newly added wireless local area network. If not, the second wireless local area network is determined as the third wireless local area network.
[0066] Since the third wireless local area network does not belong to the newly added wireless local area network, the tenant corresponding to it is not a newly added tenant, and the location information of the tenant is stored in the map software. The correspondence between the historical wireless local area network and its corresponding tenant can be stored in the above-mentioned server for managing the wireless local area network-related data of the target location. The user terminal can determine the tenant corresponding to it based on the information of the third wireless local area network, and then obtain the location information of the tenant from the map software to obtain the location information of the third wireless local area network.
[0067] By using the location information of the user terminal obtained by positioning and the location information of the third wireless local area network obtained from the map software, the distance between the user terminal and the location of the third wireless local area network can be determined.
[0068] Since the location of the third wireless local area network is located around the location of the first wireless local area network, the location information of the third wireless local area network can assist in determining the location of the first wireless local area network and the distance between the user terminal and the first wireless local area network, thereby narrowing the determination range of the location of the first wireless local area network and improving the accuracy of locating the location of the first wireless local area network.
[0069] In step S304, matching parameters corresponding to the first wireless local area network are determined according to the signal strength between the user terminal and the first wireless local area network, the signal strength between the user terminal and the second wireless local area network, the matching degree, and the distance between the user terminal and the third wireless local area network.
[0070] In at least one embodiment, the above information can be input into a pre-trained matching parameter determination model to obtain matching parameters corresponding to the above information output by the matching parameter determination model. The matching parameter determination model can be trained based on a training data set, and the training data set includes multiple groups of historical values of the above information and matching results corresponding to each group of historical values. The historical value of each group of the above information is used as the input of the model, and the corresponding matching result is used as the target output of the model to train the model. In response to the completion of model training, the matching parameter determination model can be obtained.
[0071] Figure 4 FIG. 1 is a flow chart showing a method of determining a matching parameter corresponding to a first wireless local area network according to an exemplary embodiment. Figure 4 As shown, step S304 includes the following steps.
[0072] In step S401, a first matching value is determined according to the signal strength between the user terminal and the first wireless local area network and the signal strength between the user terminal and the second wireless local area network.
[0073] The first matching value may comprehensively reflect the distance between the current location of the user and the location of the first wireless local area network and the location of the second wireless local area network.
[0074] In step S402, a second matching value is determined according to the matching degree, wherein the more the name of the first wireless local area network matches the name of the target tenant, the greater the second matching value.
[0075] The second matching value may reflect the matching degree between the name of the first wireless local area network and the name of the target tenant. The matching degree between the name of the first wireless local area network and the name of the target tenant is positively correlated with the second matching value.
[0076] In step S403, a third matching value is determined according to the distance between the user terminal and the location of the third wireless local area network.
[0077] The third matching value may reflect the distance between the current location of the user and the location of the third wireless local area network. Since the location of the third wireless local area network is located around the location of the first wireless local area network, the third matching value may also reflect the distance between the current location of the user and the location of the first wireless local area network to a certain extent.
[0078] In step S404, the first matching value, the second matching value and the third matching value are weighted according to a preset weight to obtain a matching parameter.
[0079] The preset weights corresponding to the first matching value, the second matching value, and the third matching value can be the same or different, and can be set according to the degree to which each matches the target tenant. For example, the preset weight of the second matching value can be set to the highest. Since the higher the match between the name of the first wireless local area network and the name of the target tenant, the higher the possibility that the first wireless local area network is the wireless local area network of the target tenant, the second matching value can best reflect the possibility that the first wireless local area network is the target tenant. For example, the present disclosure can set the preset weight of the second matching value to 50%, the preset weight of the first matching value to 25%, and the preset weight of the third matching value to 25%.
[0080] As described above, the first matching value can comprehensively reflect the distance between the user and the first wireless local area network and the second wireless local area network, and the third matching value can reflect the distance between the user's current location and the location of the third wireless local area network, and thus can also reflect the distance between the user's current location and the location of the first wireless local area network to a certain extent. Therefore, the closer the user is to the first wireless local area network and the second wireless local area network, the higher the first matching value and the third matching value, and under the premise that the second matching value is the same, the corresponding matching parameter is also higher. After obtaining the guidance information indicating the higher matching parameter, the user can learn that there may be new tenants nearby. At this time, the user can observe the names of nearby tenants to determine whether there are target tenants around.
[0081] By weighted processing of multiple reference conditions such as signal strength, name matching degree, and surrounding auxiliary location information, the possibility of determining the location of the first wireless local area network as the target tenant is determined, the accuracy of determining the target tenant is improved, thereby improving the accuracy of positioning the new tenants and preventing the accuracy of determining the target tenant from being reduced due to unreasonable results of a single reference condition.
[0082] Figure 5 FIG. 1 is a flow chart showing a method of determining a first matching value according to an exemplary embodiment. Figure 5 As shown, step S401 includes the following steps.
[0083] In step S4011, an average signal strength is determined according to the signal strength between the user terminal and the first wireless local area network and the signal strength between the user terminal and the second wireless local area network.
[0084] The average signal strength can comprehensively reflect the distance between the current location of the user and the location of the first wireless local area network and the location of the second wireless local area network.
[0085] In step S4012, a first matching value is determined according to the average signal strength, wherein the greater the average signal strength, the greater the first matching value.
[0086] The average signal strength is positively correlated with the first matching value. The greater the average signal strength, the greater the first matching value, indicating that the user is closer to the first wireless local area network and the second wireless local area network; the smaller the average signal strength, the smaller the first matching value, indicating that the user is farther away from the first wireless local area network and the second wireless local area network.
[0087] Figure 6 FIG. 1 is a flow chart showing a method of determining a third matching value according to an exemplary embodiment. Figure 6 As shown, step S403 may include the following steps.
[0088] In step S4031, the average distance between the user terminal and the location of the third wireless local area network is determined.
[0089] There may be multiple third wireless local area networks, and the average distance may comprehensively reflect the distance between the current location of the user and the locations of multiple third wireless local area networks.
[0090] In step S4032, a third matching value is determined according to the average distance, wherein the smaller the average distance is, the larger the third matching value is.
[0091] The average distance is negatively correlated with the third matching value. The smaller the average distance, the larger the third matching value, indicating that the user is closer to the third wireless local area network; the larger the average distance, the smaller the third matching value, indicating that the user is farther from the third wireless local area network.
[0092] Figure 7 FIG. 1 is a flow chart showing outputting guidance information for indicating matching parameters according to an exemplary embodiment. Figure 7 As shown, step S105 includes the following steps.
[0093] In step S1051, the target display state of the guidance mark is determined according to the matching parameters.
[0094] In step S1052, a guidance mark is displayed according to the target display state.
[0095] The guidance mark is a mark displayed on the user terminal for providing guidance to the user. For example, the guidance mark can be a preset graphic element. The guidance mark can have different display states. Among them, different display states may include but are not limited to: different sizes, different shapes, different colors, different flashing frequencies, different dynamic evolution effects, and so on. In order to provide users with dynamic guidance effects, in this embodiment, different matching parameters may correspond to different display states of the guidance mark. Taking the display state as color as an example, when the matching parameter is small, the color of the guidance mark may be relatively light. As the user moves, when the matching parameter gradually increases, the color of the guidance mark may gradually become a relatively darker color. In this way, the user can know the size of the matching parameter by observing the current color of the guidance mark.
[0096] The correspondence between the matching parameter and the display state of the guidance mark can be preset, so that when the matching parameter is obtained, the display state corresponding to the matching parameter can be determined according to the matching parameter and the correspondence, as the target display state of the guidance mark. Afterwards, the guidance mark is displayed on the user terminal according to the target display state, thereby providing the user with a better guidance effect and improving the user experience.
[0097] Based on the same inventive concept, the present disclosure also provides a positioning device, Figure 8 is a block diagram of a positioning device according to an exemplary embodiment. Figure 8 The positioning device 800 includes a first acquisition module 810, a second acquisition module 820, a determination module 830, and an output module 840.
[0098] A first acquisition module 810 is used to obtain location information of a target tenant in a target place from a map software in response to a user's location request for the target tenant;
[0099] The second acquisition module 820 is used to acquire the wireless local area network information in the target place currently detected by the user terminal if the location information of the target tenant is not acquired from the map software;
[0100] A determination module 830 is configured to determine, if it is determined according to the wireless local area network information that there is a newly added first wireless local area network around the user terminal, a matching parameter corresponding to the first wireless local area network, wherein the matching parameter represents the possibility that the location of the first wireless local area network is the location of the target tenant;
[0101] The output module 840 is used to output guidance information indicating the matching parameters.
[0102] Through the above technical solution, when the location information of the target tenant is not obtained in the map software, it means that the target tenant is likely to be a newly added tenant. Due to the update delay of the map software, the location information of the newly added tenant cannot be obtained from it. At this time, according to the wireless local area network information in the target place currently detected by the user terminal, the first wireless local area network newly added around the user terminal is determined, and the matching parameter corresponding to the first wireless local area network is determined. Among them, the matching parameter represents the possibility that the location of the first wireless local area network is the location of the target tenant. Therefore, through the matching parameter, it can be reflected whether the location of the first wireless local area network is the location of the target tenant. After that, the user terminal outputs guidance information for indicating the matching parameter, so that the user can decide whether to go to the location of the first wireless local area network according to the guidance information. For example, when the matching parameter indicates that the location of the first wireless local area network is likely to be the location of the target tenant, the user terminal can output guidance information for indicating this matching parameter, and then the user can go to the location of the first wireless local area network according to the guidance information to assist the user in finding the target tenant. Through the above technical solution, it is possible to realize the rapid auxiliary positioning of the tenants who have changed in the place, improve the positioning efficiency and positioning accuracy of the newly added tenants, and thus improve the user experience.
[0103] Optionally, the determination module 830 may also be used to:
[0104] In response to determining that a newly added first wireless local area network exists around the user terminal, determining whether a signal strength between the user terminal and the first wireless local area network is within a preset range;
[0105] In response to determining that the signal strength between the user terminal and the first wireless local area network is within the preset range, a matching parameter corresponding to the first wireless local area network is determined.
[0106] Optionally, the determination module 830 is configured to determine a matching parameter corresponding to the first wireless local area network in the following manner:
[0107] Determining a degree of match between the name of the first wireless local area network and the name of the target tenant;
[0108] Determine, according to the wireless local area network information currently detected by the user terminal, a second wireless local area network whose signal strength with the user terminal is within a preset range, where the second wireless local area network is different from the first wireless local area network;
[0109] Acquire location information of a third wireless local area network from the map software, and determine the distance between the user terminal and the location of the third wireless local area network, wherein the third wireless local area network is not a newly added wireless local area network in the second wireless local area network;
[0110] The matching parameter corresponding to the first wireless local area network is determined according to the signal strength between the user terminal and the first wireless local area network, the signal strength between the user terminal and the second wireless local area network, the matching degree, and the distance between the user terminal and the third wireless local area network.
[0111] Optionally, the determination module 830 is further configured to:
[0112] Determine a first matching value according to a signal strength between the user terminal and the first wireless local area network and a signal strength between the user terminal and the second wireless local area network;
[0113] Determining a second matching value according to the matching degree, wherein the more the name of the first wireless local area network matches the name of the target tenant, the greater the second matching value;
[0114] Determining a third matching value according to a distance between the user terminal and a location of the third wireless local area network;
[0115] The first matching value, the second matching value and the third matching value are weighted according to a preset weight to obtain the matching parameter.
[0116] Optionally, the determination module 830 is further used to: determine the average signal strength based on the signal strength between the user terminal and the first wireless local area network, and the signal strength between the user terminal and the second wireless local area network; determine the first matching value based on the average signal strength, wherein the greater the average signal strength, the greater the first matching value.
[0117] Optionally, the determination module 830 is further used to: determine an average distance between the user terminal and the location of the third wireless local area network; determine the third matching value based on the average distance, wherein the smaller the average distance is, the larger the third matching value is.
[0118] Optionally, the output module 840 is further used to: determine a target display state of the guidance mark according to the matching parameters; and display the guidance mark according to the target display state.
[0119] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0120] Fig. 9 It is a block diagram of a positioning device 900 according to an exemplary embodiment. For example, the device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0121] Reference Fig. 9 The positioning device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .
[0122] The processing component 902 generally controls the overall operation of the positioning device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above-mentioned positioning method. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.
[0123] The memory 904 is configured to store various types of data to support the operation of the positioning device 900. Examples of such data include instructions for any application or method operating on the positioning device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0124] The power supply component 906 provides power to various components of the positioning device 900. The power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the positioning device 900.
[0125] The multimedia component 908 includes a screen that provides an output interface between the positioning device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the positioning device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0126] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the positioning device 900 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.
[0127] The input / output (I / O) interface 912 provides an interface between the processing component 902 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0128] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the positioning device 900. For example, the sensor assembly 914 can detect the open / closed state of the positioning device 900, the relative positioning of the components, such as the display and keypad of the positioning device 900, and the sensor assembly 914 can also detect the position change of the positioning device 900 or a component of the positioning device 900, the presence or absence of user contact with the positioning device 900, and the temperature change of the positioning device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 914 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0129] The communication component 916 is configured to facilitate wired or wireless communication between the device 900 and other devices. The positioning device 900 can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0130] In an exemplary embodiment, the positioning device 900 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned positioning method.
[0131] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the instructions can be executed by the processor 920 of the positioning device 900 to complete the positioning method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0132] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC, system on chip or system-level chip), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned positioning method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned positioning method is implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned positioning method.
[0133] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program executable by a programmable device. The computer program has a code portion for executing the above positioning method when executed by the programmable device.
[0134] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0135] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A positioning method, characterized in that: Applied to user terminals, including: In response to a user's request for positioning a target tenant in a target location, obtaining location information of the target tenant from a map software; If the location information of the target tenant is not obtained from the map software, obtaining the wireless local area network information in the target location currently detected by the user terminal; If it is determined according to the wireless local area network information that there is a newly added first wireless local area network around the user terminal, a matching parameter corresponding to the first wireless local area network is determined, where the matching parameter represents the possibility that the location of the first wireless local area network is the location of the target tenant; Outputting guidance information for indicating the matching parameters; The determining of the matching parameter corresponding to the first wireless local area network includes: Determining a degree of match between the name of the first wireless local area network and the name of the target tenant; Determine, according to the wireless local area network information currently detected by the user terminal, a second wireless local area network whose signal strength with the user terminal is within a preset range, where the second wireless local area network is different from the first wireless local area network; Acquire location information of a third wireless local area network from the map software, and determine the distance between the user terminal and the location of the third wireless local area network, wherein the third wireless local area network is a non-newly added wireless local area network in the second wireless local area network; The matching parameter corresponding to the first wireless local area network is determined according to the signal strength between the user terminal and the first wireless local area network, the signal strength between the user terminal and the second wireless local area network, the matching degree, and the distance between the user terminal and the third wireless local area network.
2. The method according to claim 1, characterized in that Before determining the matching parameter corresponding to the first wireless local area network, the method further includes: Determining whether the signal strength between the user terminal and the first wireless local area network is within a preset range; In response to determining that the signal strength between the user terminal and the first wireless local area network is within the preset range, a matching parameter corresponding to the first wireless local area network is determined.
3. The method according to claim 1, characterized in that The determining, according to the signal strength between the user terminal and the first wireless local area network, the signal strength between the user terminal and the second wireless local area network, the matching degree, and the distance between the user terminal and the location of the third wireless local area network, the matching parameter corresponding to the first wireless local area network includes: Determine a first matching value according to a signal strength between the user terminal and the first wireless local area network and a signal strength between the user terminal and the second wireless local area network; Determining a second matching value according to the matching degree, wherein the more the name of the first wireless local area network matches the name of the target tenant, the greater the second matching value; Determining a third matching value according to a distance between the user terminal and a location of the third wireless local area network; The first matching value, the second matching value and the third matching value are weighted according to a preset weight to obtain the matching parameter.
4. The method according to claim 3, characterized in that The determining a first matching value according to a signal strength between the user terminal and the first wireless local area network and a signal strength between the user terminal and the second wireless local area network includes: Determine an average signal strength according to the signal strength between the user terminal and the first wireless local area network and the signal strength between the user terminal and the second wireless local area network; The first matching value is determined according to the average signal strength, wherein the greater the average signal strength is, the greater the first matching value is.
5. The method according to claim 3, characterized in that: The determining, according to the distance between the user terminal and the location of the third wireless local area network, a third matching value includes: Determining an average distance between the user terminal and the location of the third wireless local area network; The third matching value is determined according to the average distance, wherein the smaller the average distance is, the larger the third matching value is.
6. The method according to any one of claims 1 to 5, characterized in that The output is used to indicate the guidance information of the matching parameters, including: Determining a target display state of the guidance mark according to the matching parameters; The guidance mark is displayed according to the target display state.
7. A positioning device, characterized in that: Applied to user terminals, including: A first acquisition module, configured to obtain location information of a target tenant in a target place from a map software in response to a user's location request for the target tenant; A second acquisition module is used to acquire the wireless local area network information in the target place currently detected by the user terminal if the location information of the target tenant is not acquired from the map software; a determination module, configured to, if it is determined according to the wireless local area network information that there is a newly added first wireless local area network around the user terminal, determine a matching parameter corresponding to the first wireless local area network, wherein the matching parameter represents the possibility that the location of the first wireless local area network is the location of the target tenant; An output module, used for outputting guidance information indicating the matching parameters; The determining module is used to determine the matching parameter corresponding to the first wireless local area network in the following manner: Determining a degree of match between the name of the first wireless local area network and the name of the target tenant; Determine, according to the wireless local area network information currently detected by the user terminal, a second wireless local area network whose signal strength with the user terminal is within a preset range, where the second wireless local area network is different from the first wireless local area network; Acquire location information of a third wireless local area network from the map software, and determine the distance between the user terminal and the location of the third wireless local area network, wherein the third wireless local area network is not a newly added wireless local area network in the second wireless local area network; The matching parameter corresponding to the first wireless local area network is determined according to the signal strength between the user terminal and the first wireless local area network, the signal strength between the user terminal and the second wireless local area network, the matching degree, and the distance between the user terminal and the third wireless local area network.
8. A positioning device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: execute the positioning method described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the positioning method described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Indoor target information identification method, indoor target information identification device and indoor target information identification system based on multiple sensors
CN106817677A
Shop information recommendation method and mobile terminal
CN110458655A