Vehicle-mounted wi-fi positioning scanning control method, control device, vehicle and storage medium

By adjusting the WiFi positioning scanning frequency according to the vehicle's driving scenario, and especially by prohibiting scanning in stationary scenarios, the power consumption and data transmission problems caused by frequent WiFi positioning scanning are solved, thus improving the user experience.

CN118264975BActive Publication Date: 2026-03-20BYD CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-27
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

Frequent WiFi location scanning by multiple applications within the vehicle leads to increased power consumption, decreased data transmission rates, and even transmission interruptions, impacting the user experience.

Method used

The WiFi positioning scanning strategy is implemented with different scanning frequencies according to the vehicle's driving scenario. Scanning is prohibited in stationary scenarios, while scanning or returning cached information is performed in moving scenarios to ensure that the application obtains the latest positioning information.

Benefits of technology

By reducing the frequency of WiFi location scanning, power consumption is reduced, the impact on user data transmission is minimized, and the user experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118264975B_ABST
    Figure CN118264975B_ABST
Patent Text Reader

Abstract

The application discloses a kind of vehicle WiFi positioning scanning control method, control device, vehicle and storage medium, wherein, method part includes: after receiving the WiFi positioning request of application program in vehicle terminal device, different scanning frequency WiFi positioning scanning strategy is executed according to the driving scene of vehicle;Wherein, when determining that driving scene is static scene, WiFi positioning scanning is prohibited.Through identifying the driving scene of vehicle, different scanning frequency WiFi positioning scanning strategy is executed according to different driving scene, especially when vehicle is static, WiFi positioning scanning is not triggered, can effectively reduce the frequency of WiFi positioning scanning, reduce power consumption, and reduce the influence to user data transmission, so as to improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicle communication, in particular to a vehicle-mounted WiFi positioning scanning control method, a control device, a vehicle and a storage medium. BACKGROUND

[0002] Nowadays, vehicles are equipped with more and more terminal devices, and these vehicle-mounted terminals usually use WiFi (Wireless Fidelity) technology for data exchange to meet the use requirements of users. At the same time, WiFi can also be used for scanning and positioning to provide positioning information for the application programs of various vehicle-mounted terminals.

[0003] The current WiFi positioning method is generally to scan multiple WiFi hotspots around and detect the WiFi signal strength on the vehicle-mounted terminal and report it, and the positioning server calculates the position of the vehicle-mounted terminal according to the deployment position and WiFi signal strength of each WiFi hotspot and returns it to the application program of the vehicle-mounted terminal. In actual application, the application program will continuously perform WiFi positioning scanning, and frequent WiFi positioning scanning will occupy a large amount of WiFi air interface resources, causing power consumption increase, user data transmission rate decrease or even transmission interruption, resulting in poor user experience. SUMMARY

[0004] The present application provides a vehicle-mounted WiFi positioning scanning control method, a control device, a vehicle and a storage medium to solve the problem that multiple application programs in the vehicle frequently perform WiFi positioning scanning, causing power consumption increase, user data transmission rate decrease or even transmission interruption, resulting in poor user experience.

[0005] In view of the above problems, a vehicle-mounted WiFi positioning scanning control method is provided, comprising:

[0006] After receiving the WiFi positioning request of the application program in the vehicle-mounted terminal device, a WiFi positioning scanning strategy with different scanning frequencies is executed according to the driving scene of the vehicle; wherein,

[0007] When it is determined that the driving scene is a static scene, WiFi positioning scanning is prohibited.

[0008] Optionally, executing a WiFi positioning scanning strategy with different scanning frequencies according to the driving scene of the vehicle further comprises:

[0009] When it is determined that the driving scene is a mobile scene, WiFi positioning scanning is performed in response to the WiFi positioning request to obtain current WiFi positioning information, and the current WiFi positioning information is fed back to the application program and cached.

[0010] Optionally, when WiFi positioning scanning is prohibited, the method further comprises:

[0011] feedback the last cached WiFi positioning information to the application program.

[0012] Optionally, before the WiFi positioning scan is prohibited, the method further comprises:

[0013] determining whether historical WiFi positioning information of the vehicle is cached;

[0014] if the historical WiFi positioning information of the vehicle is cached, the WiFi positioning scan is prohibited, and the last cached WiFi positioning information is fed back to the application program;

[0015] if the historical WiFi positioning information of the vehicle is not cached, the WiFi positioning scan is performed in response to the WiFi positioning request to obtain current WiFi positioning information, the current WiFi positioning information is fed back to the application program and cached.

[0016] Optionally, a WiFi positioning scan strategy of different scan frequencies is performed according to a driving scenario of the vehicle, comprising:

[0017] when it is determined that the driving scenario is a low-speed mobile scenario, the WiFi positioning scan is performed in response to the WiFi positioning request to obtain current WiFi positioning information, the current WiFi positioning information is fed back to the application program and cached;

[0018] when it is determined that the driving scenario is a high-speed mobile scenario, the WiFi positioning scan is prohibited, and a prompt information of WiFi positioning scan failure is returned to the application program.

[0019] Optionally, before the WiFi positioning scan is prohibited and the prompt information of WiFi positioning scan failure is returned to the application program, the method further comprises:

[0020] obtaining a cache time of the last cached WiFi positioning information, and determining a time interval between the cache time and a current time;

[0021] determining whether the time interval is greater than a preset interval;

[0022] if the time interval is less than or equal to the preset interval, the WiFi positioning scan is prohibited, and the prompt information of WiFi positioning scan failure is returned to the application program.

[0023] Optionally, after it is determined whether the time interval is greater than the preset interval, the method further comprises:

[0024] if the time interval is greater than the preset interval, the WiFi positioning scan is performed to obtain current WiFi positioning information, the current WiFi positioning information is fed back to the application program and cached.

[0025] Optionally, the driving scenario of the vehicle is determined by the following ways:

[0026] determining an average vehicle speed of the vehicle in a preset time period, the preset time period being a time period from the last time the WiFi positioning request is received to the current time the WiFi positioning request is received;

[0027] determining whether the average vehicle speed is greater than a first preset vehicle speed;

[0028] if it is determined that the average vehicle speed is less than or equal to the first preset vehicle speed, determining that the driving scenario of the vehicle is a static scenario.

[0029] Optionally, after determining whether the average vehicle speed is greater than the first preset vehicle speed, the method further comprises:

[0030] if the average vehicle speed is greater than the first preset vehicle speed, determining whether the average vehicle speed is greater than a second preset vehicle speed;

[0031] if the average vehicle speed is greater than the second preset vehicle speed, determining that the driving scenario of the vehicle is a high-speed moving scenario;

[0032] if the average vehicle speed is less than or equal to the second preset vehicle speed, determining that the driving scenario of the vehicle is a low-speed moving scenario.

[0033] A vehicle-mounted WiFi positioning scanning control device is provided, comprising:

[0034] a receiving module, configured to execute a WiFi positioning scanning strategy with different scanning frequencies according to a driving scenario of a vehicle after receiving a WiFi positioning request of an application program in a vehicle terminal device;

[0035] a control module, configured to prohibit WiFi positioning scanning when it is determined that the driving scenario is a static scenario.

[0036] A vehicle-mounted WiFi positioning scanning control device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the vehicle-mounted WiFi positioning scanning control method.

[0037] A vehicle is provided, comprising the vehicle-mounted WiFi positioning scanning control device described above.

[0038] A readable storage medium is provided, and the readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the vehicle-mounted WiFi positioning scanning control method.

[0039] The aforementioned vehicle-mounted WiFi positioning scanning control method, control device, vehicle, and storage medium, upon receiving a WiFi positioning request from an application in the vehicle terminal device, execute WiFi positioning scanning control strategies with different scanning frequencies based on the vehicle's driving scenario. Specifically, WiFi positioning scanning is prohibited when the driving scenario is determined to be stationary. In this embodiment, by identifying the vehicle's driving scenario and executing WiFi positioning scanning strategies with different scanning frequencies according to different driving scenarios, especially by not triggering WiFi positioning scanning when the vehicle is stationary, the frequency of WiFi positioning scanning can be effectively reduced, power consumption can be lowered, and the impact on user data transmission can be minimized, thereby improving the user experience. Attached Figure Description

[0040] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 This is a schematic diagram of a vehicle system according to one embodiment of the present invention;

[0042] Figure 2 This is a flowchart illustrating a vehicle-mounted WiFi positioning and scanning control method according to an embodiment of the present invention;

[0043] Figure 3 This is another flowchart illustrating the vehicle-mounted WiFi positioning and scanning control method in one embodiment of the present invention;

[0044] Figure 4 yes Figure 2 A schematic diagram illustrating a defined process in a driving scenario;

[0045] Figure 5 This is a schematic diagram of a vehicle-mounted WiFi positioning and scanning control device according to an embodiment of the present invention;

[0046] Figure 6 This is another structural schematic diagram of the vehicle-mounted WiFi positioning and scanning control device in one embodiment of the present invention. Detailed Implementation

[0047] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0048] The vehicle-mounted WiFi positioning scanning control method provided by the embodiment of the present application can be applied to a vehicle such as Figure 1 The vehicle-mounted WiFi positioning scanning control device is required to determine whether each application program in the vehicle-mounted terminal device needs to perform WiFi positioning during the use of the vehicle by the user. After receiving the WiFi positioning request of the application program in the vehicle-mounted terminal device, the vehicle-mounted WiFi positioning scanning control device needs to determine the driving scene of the vehicle to execute different WiFi positioning scanning control strategies with different scanning frequencies according to different driving scenes. When the driving scene is determined to be a static scene, the vehicle-mounted WiFi positioning scanning control device prohibits WiFi positioning scanning. In this embodiment, the WiFi positioning scanning strategy with different scanning frequencies is executed according to different driving scenes by identifying the driving scene of the vehicle. When the vehicle is static, the scene is determined to be unsuitable for WiFi positioning scanning, so that WiFi positioning scanning is not triggered, the frequency of WiFi positioning scanning is effectively reduced, the power consumption is reduced, the influence on the data transmission of the user is reduced, and the user experience is improved.

[0049] In an embodiment, when the driving scene is determined to be a static scene, the vehicle-mounted WiFi positioning scanning control device not only prohibits WiFi positioning scanning, but also needs to feed back the WiFi positioning information cached last time to the application program. That is, when the vehicle is in a static state, new scanning is not triggered, but the WiFi positioning information obtained by WiFi positioning scanning last time and cached is returned to the application program. The frequency of WiFi positioning scanning is reduced, and the cached result is returned so that all application programs can obtain the positioning result in time, the positioning experience of the user is not affected, and the implementation scheme has strong executability. When the vehicle is static, WiFi positioning scanning is not triggered, but the WiFi positioning information cached last time is returned. On the basis of ensuring that each application program can obtain the latest WiFi positioning information, the frequency of WiFi positioning scanning can be effectively reduced, the power consumption is reduced, the occupation of WiFi air interface resources by WiFi positioning scanning is reduced, the influence on the data transmission of the user is reduced, and the user experience is improved.

[0050] In this embodiment, the vehicle-mounted terminal device can be but is not limited to various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices. The vehicle-mounted WiFi positioning scanning control device can be a vehicle-mounted terminal device (such as a car machine), or can be a functional module integrated in the vehicle-mounted terminal device. In other embodiments, the vehicle-mounted WiFi positioning scanning control device can also be a device independent of the vehicle-mounted terminal device, for example, it can be a vehicle-mounted WiFi device, or other vehicle controllers including a vehicle-mounted WiFi positioning function.

[0051] In an embodiment, asFigure 2 As shown, a vehicle-mounted WiFi positioning scan control method is provided, which is applied to Figure 1 The vehicle-mounted WiFi positioning scan control device in the method is taken as an example for description, which includes the following steps:

[0052] S10: After receiving a WiFi positioning request of an application program in a vehicle-mounted terminal device, a WiFi positioning scan strategy with different scan frequencies is executed according to a driving scene of the vehicle.

[0053] In the process of using the vehicle by the user, the vehicle-mounted WiFi positioning scan control device needs to determine whether to receive a WiFi positioning request of each application program in the vehicle-mounted terminal device. After receiving the WiFi positioning request of the application program in the vehicle-mounted terminal device, the driving scene of the vehicle is determined to control the WiFi positioning scan process triggered by the application program, and a WiFi positioning scan control strategy with different scan frequencies is executed according to different driving scenes. The driving scene of the vehicle at least includes a static scene and a mobile scene.

[0054] The driving scene of the vehicle can be determined according to the current vehicle speed (i.e. real-time vehicle speed), for example, when the current vehicle speed of the vehicle is 0, it indicates that the vehicle is in a static state, and the driving scene of the vehicle is determined as a static scene; when the current vehicle speed of the vehicle is greater than 0, it indicates that the vehicle is in a mobile state, and the driving scene of the vehicle is determined as a mobile scene. In this embodiment, the running state of the vehicle is determined by the real-time vehicle speed of the vehicle, so as to determine the driving scene of the vehicle, which is simple, intuitive and high in accuracy. In other embodiments, the driving scene of the vehicle can also be determined according to other information of the vehicle, for example, the running state of the vehicle can be determined according to the engine running parameters of the vehicle, so as to determine the corresponding driving scene; the running state of the vehicle can also be determined according to the environmental change information monitored by the vehicle, so as to determine the corresponding driving scene, and the specific process is not described herein.

[0055] S20: When the driving scene is determined as a static scene, WiFi positioning scan is prohibited.

[0056] After determining the driving scene of the vehicle, if it is determined that the driving scene of the vehicle is a static scene, it means that the vehicle is in a vehicle static state such as parking, and the vehicle does not change position or the range of position change of the vehicle is small within a period of time. At this time, the vehicle-mounted WiFi positioning scanning control device does not need to perform WiFi positioning scanning, so as to reduce unnecessary WiFi positioning scanning and reduce the scanning frequency. That is, when it is determined that the driving scene is a static scene, it is confirmed that the current driving scene is a scene that is not suitable for WiFi positioning scanning. At this time, WiFi positioning scanning is prohibited in response to the WiFi positioning request of the application program, that is, the scanning frequency is 0. This can effectively reduce the frequency of WiFi positioning scanning, reduce power consumption, and reduce the impact on user data transmission, thereby improving user experience.

[0057] In other driving scenes, WiFi positioning scanning can be performed in response to the WiFi positioning request of the application program, that is, the scanning frequency is determined according to the actual WiFi positioning request of the application program, so as to obtain current WiFi positioning information and feed back to the requesting application program. For example, when it is determined that the driving scene is a moving scene, WiFi positioning scanning is performed in response to the WiFi positioning request to obtain current WiFi positioning information, and the current WiFi positioning information is fed back to the application program, so that the application program can obtain accurate WiFi positioning information when the vehicle moves to cause position change.

[0058] In this embodiment, by identifying the driving scene of the vehicle, different WiFi positioning scanning strategies with different scanning frequencies are executed according to different driving scenes, and WiFi positioning scanning is not triggered when the vehicle is static. This can effectively reduce the frequency of WiFi positioning scanning, reduce power consumption, and reduce the impact on user data transmission, thereby improving user experience.

[0059] In an embodiment, after performing WiFi positioning scanning in response to the WiFi positioning request of the application program to obtain current WiFi positioning information, the vehicle-mounted WiFi positioning scanning control device will cache the obtained current WiFi positioning information in the storage unit (such as a database) of the vehicle, so as to subsequently call or query the vehicle motion trajectory.

[0060] In one embodiment, when the driving scenario is determined to be a stationary scenario, WiFi location scanning is prohibited, and the previously cached WiFi location information needs to be fed back to the application. That is, WiFi location scanning is not triggered when the vehicle is stationary, but the previously cached WiFi location information needs to be fed back to the application so that the requesting application can definitively know the vehicle's current location information. In this embodiment, when the vehicle is stationary (i.e., a stationary scenario), a new WiFi location scan is not triggered; instead, the location result of the previous scan is cached and returned to the application. This implementation scheme is highly executable, and the returned cached location result ensures that the WiFi location information received by all applications is consistent, without affecting the user experience.

[0061] In one embodiment, such as Figure 3 As shown, step S10, which involves receiving a WiFi location request from the application in the vehicle terminal device and executing a WiFi location scanning strategy with different scanning frequencies based on the vehicle's driving scenario, further includes the following steps:

[0062] S30: When the driving scenario is determined to be a mobile scenario, respond to the WiFi positioning request, perform WiFi positioning scan to obtain the current WiFi positioning information, and feed back the current WiFi positioning information to the application and cache it.

[0063] After determining the vehicle's driving scenario, if the scenario is determined to be a moving scenario, it means the vehicle is in motion and its position has changed. To ensure the accuracy of the location information, the on-board WiFi positioning and scanning control device needs to respond to WiFi positioning requests and perform normal WiFi positioning scans to obtain the current WiFi positioning information. This information is then fed back to the application so that the application can obtain accurate WiFi positioning information, ensuring a good user experience. Simultaneously, after obtaining the current WiFi positioning information, the device also needs to cache the obtained information and its time in a storage unit. This allows the application to directly retrieve the previously cached WiFi positioning information and feed it back to the application when it receives a WiFi positioning request from any application, provided the vehicle's driving scenario is determined to be stationary. This ensures the requesting application knows the vehicle's current location information definitively.

[0064] In the embodiment, after receiving the WiFi positioning request of the application program in the vehicle terminal device, the driving scene of the vehicle is determined to execute different WiFi positioning control strategies according to different driving scenes. When the driving scene is determined as a static scene, WiFi positioning scanning is prohibited, and the last cached WiFi positioning information is fed back to the application program. When the driving scene is determined as a mobile scene, WiFi positioning scanning is performed in response to the WiFi positioning request to obtain current WiFi positioning information, which is fed back to the application program and cached. In the embodiment, by identifying the driving scene of the vehicle, different WiFi positioning control strategies are adopted in different scenes such as vehicle static and mobile. When the vehicle is moving, WiFi positioning information is normally scanned, while when the vehicle is static, WiFi positioning scanning is not triggered and the last cached WiFi positioning information is returned. On the basis of ensuring that each application program can obtain the latest WiFi positioning information, the WiFi positioning request actively triggered by the application program in the vehicle terminal device is reasonably controlled according to the driving scene of the vehicle, which can effectively reduce the frequency of WiFi positioning scanning, reduce power consumption, and reduce the impact on user data transmission, thereby improving user experience.

[0065] In an embodiment, before step S20, i.e. before WiFi positioning scanning is prohibited, the method further comprises the following steps:

[0066] S201: determining whether the historical WiFi positioning information of the vehicle is cached.

[0067] After determining that the driving scene is a static scene, before WiFi positioning scanning is prohibited and the last cached WiFi positioning information is fed back to the application program, the vehicle WiFi positioning scanning control device needs to first determine whether the storage unit caches the historical WiFi positioning information of the vehicle, so as to execute different positioning information feedback strategies according to the determination result, avoid no WiFi positioning information feedback caused by no cached historical WiFi positioning information of the vehicle, and ensure that deterministic WiFi positioning information can be obtained.

[0068] S202: if the historical WiFi positioning information of the vehicle is cached, WiFi positioning scanning is prohibited, and the last cached WiFi positioning information is fed back to the application program.

[0069] After determining whether the historical WiFi positioning information of the vehicle is cached, if it is determined that the historical WiFi positioning information of the vehicle is cached, the vehicle WiFi positioning scanning control device prohibits WiFi positioning scanning in response to the WiFi positioning request of the application program, and feeds back the last cached WiFi positioning information in the historical WiFi positioning information to the application program, so that the application program can determine the current position of the vehicle.

[0070] S203: If the vehicle's historical WiFi location information is not cached, respond to the WiFi location request, perform a WiFi location scan to obtain the current WiFi location information, and then send the current WiFi location information back to the application and cache it.

[0071] After determining whether the vehicle's historical WiFi location information is cached, if no historical WiFi location information is cached, in order to ensure that deterministic WiFi location information can be obtained, the vehicle WiFi location scanning control device needs to respond to the WiFi location request, perform WiFi location scanning to obtain the current WiFi location information, and feed back the current WiFi location information to the application and cache it, so that the application can deterministically obtain the vehicle's current location and cache the current WiFi location information to prepare data for subsequent WiFi location requests.

[0072] In this embodiment, after determining that the driving scenario is a stationary scenario, it is necessary to first determine whether the vehicle's historical WiFi location information is cached. If the vehicle's historical WiFi location information is cached, WiFi location scanning is prohibited, and the previously cached WiFi location information is fed back to the application. If the vehicle's historical WiFi location information is not cached, a WiFi location scan is performed in response to the WiFi location request to obtain the current WiFi location information, and the current WiFi location information is fed back to the application and cached. Different location information feedback strategies are executed based on whether historical WiFi location information is cached, to avoid no WiFi location information feedback due to the absence of cached historical WiFi location information, and to ensure that deterministic WiFi location information can be obtained.

[0073] In one embodiment, the mobile scenario includes low-speed mobile scenario and high-speed mobile scenario, that is, the vehicle's driving scenario includes low-speed mobile scenario and high-speed mobile scenario. In step S30 or S10, when the driving scenario is determined to be a mobile scenario, a WiFi positioning scan is performed in response to a WiFi positioning request to obtain the current WiFi positioning information; or, a WiFi positioning scanning strategy with different scanning frequencies is executed according to the vehicle's driving scenario, specifically including the following steps:

[0074] S31: When the driving scenario is determined to be a low-speed movement scenario, respond to the WiFi positioning request, perform WiFi positioning scan to obtain the current WiFi positioning information, and feed back the current WiFi positioning information to the application and cache it.

[0075] S32: When the driving scenario is determined to be a high-speed moving scenario, the operation is prohibited, and a WiFi location scan failure message is returned to the application.

[0076] In this embodiment, the moving scenarios include a low-speed moving scenario and a high-speed moving scenario, i.e., the driving scenarios of the vehicle include a low-speed moving scenario and a high-speed moving scenario.

[0077] As described above, in the current WiFi positioning method, a plurality of WiFi hotspots around the vehicle and the WiFi signal strength on the vehicle terminal are scanned and detected, and are reported to the positioning server, wherein the positioning server stores the deployment positions of the WiFi hotspots; after receiving the reported plurality of WiFi hotspots and the WiFi signal strength on the vehicle terminal, the positioning server calculates the position of the vehicle terminal (the position of the vehicle) according to the deployment positions of the WiFi hotspots and the WiFi signal strength, and returns the position to the vehicle positioning device (which can be a vehicle WiFi positioning scanning control device), and the vehicle positioning device sends the position of the vehicle terminal to the application program of the vehicle terminal. Generally, at least three WiFi hotspots are required for WiFi positioning, and therefore WiFi positioning is generally suitable for urban scenarios where WiFi hotspots are densely arranged. In non-urban scenarios, WiFi positioning cannot be completed due to the small number of WiFi hotspots. In addition, the accuracy of WiFi positioning is usually about tens of meters, and therefore the effect of WiFi positioning is small when the vehicle moves at high speed, and the speed of the vehicle in non-urban scenarios is usually fast.

[0078] Therefore, in order to avoid invalid WiFi positioning in scenarios where WiFi positioning is not applicable, and to ensure the accuracy of WiFi positioning information, when it is determined that the vehicle is in a moving state (a moving scenario), it is further necessary to determine whether the specific driving scenario of the vehicle is a high-speed moving scenario or a low-speed moving scenario, so as to perform different strategies according to the specific driving scenario.

[0079] When it is determined that the driving scenario is a low-speed moving scenario, it is indicated that the vehicle is likely to drive in the city, and the vehicle is in an urban scenario suitable for WiFi positioning. Therefore, the vehicle WiFi positioning scanning control device responds to the WiFi positioning request, performs WiFi positioning scanning to obtain current WiFi positioning information, and then feeds back the current WiFi positioning information to the application program and caches the current WiFi positioning information. When it is determined that the driving scenario is a high-speed moving scenario, it is indicated that the vehicle is likely to drive in a non-urban area, and the vehicle is in a non-urban scenario which is not suitable for WiFi positioning. At this time, the vehicle WiFi positioning scanning control device does not respond to the WiFi positioning request, and returns a prompt information of WiFi positioning scanning failure to the application program. By identifying the high-speed and low-speed driving scenarios, scenarios not suitable for WiFi positioning can be identified, and WiFi positioning can be prohibited in scenarios not suitable for WiFi positioning, so as to effectively reduce the frequency of WiFi positioning scanning, and reduce the data processing amount and power consumption.

[0080] In the embodiment, the moving scene of the vehicle is further divided into a low-speed moving scene and a high-speed moving scene. When the driving scene is determined to be the low-speed moving scene, the WiFi positioning scan is performed in response to the WiFi positioning request to obtain the current WiFi positioning information, and the current WiFi positioning information is fed back to the application program and cached. When the driving scene is determined to be the high-speed moving scene, the WiFi positioning scan is prohibited, and the application program is returned with the prompt information of the WiFi positioning scan failure. The embodiment specifies the specific process of performing the WiFi positioning scan in response to the WiFi positioning request to obtain the current WiFi positioning information, feeding back the current WiFi positioning information to the application program and caching the current WiFi positioning information when the driving scene is determined to be the moving scene. By further dividing the specific driving scene of the vehicle into the low-speed moving scene and the high-speed moving scene, the driving scene in which the WiFi positioning is not applicable can be identified, the WiFi positioning scan is prohibited in the driving scene in which the WiFi positioning is not applicable (i.e., the high-speed moving scene), the frequency of the WiFi positioning scan can be effectively reduced, and the data processing amount and the power consumption can be reduced.

[0081] In an embodiment, before step S32, i.e., before the WiFi positioning scan is prohibited and the application program is returned with the prompt information of the WiFi positioning scan failure, the method further includes the following steps:

[0082] S321: The cache time of the last cached WiFi positioning information is obtained, and the time interval between the cache time and the current time is determined.

[0083] S322: Whether the time interval is greater than a preset interval is determined.

[0084] S323: If the time interval is less than or equal to the preset interval, the WiFi positioning scan is prohibited, and the application program is returned with the prompt information of the WiFi positioning scan failure.

[0085] When the driving scene is determined to be the high-speed moving scene, whether the historical WiFi positioning information of the vehicle is cached is determined. If the historical WiFi positioning information of the vehicle is cached, the cache time of the last cached WiFi positioning information in the historical WiFi positioning information is obtained, and the time interval between the cache time and the current time is determined. Then, whether the time interval is greater than a preset interval is determined. The preset interval is a preset time interval.

[0086] If the time interval is less than or equal to the preset interval, it indicates that the time distance between two WiFi positioning requests is close, and the vehicle is moving at a high speed and is possibly in a non-urban scenario which is not suitable for WiFi positioning. At this time, the WiFi positioning request of the application program is not responded to, the WiFi positioning scanning is prohibited, and a WiFi positioning scanning failure prompt information is returned to the application program to prompt the user that the current WiFi positioning is not available. The WiFi positioning scanning is controlled by the time interval to limit the high-frequency WiFi positioning scanning caused by the frequent request of the application program, and unnecessary WiFi positioning scanning is avoided.

[0087] If the historical WiFi positioning information of the vehicle is not cached, the cache time of the last cached WiFi positioning information is determined, it is determined that the WiFi positioning scanning has not been performed before, the time interval judgment is not required, and the timing is started. When the timing duration reaches the preset duration, the WiFi positioning scanning is performed to obtain the current WiFi positioning information in response to the WiFi positioning request of the application program, the current WiFi positioning information is fed back to the application program and cached.

[0088] In the embodiment, after it is determined that the driving scenario is the high-speed moving scenario, before the WiFi positioning scanning is prohibited and the WiFi positioning scanning failure prompt information is returned to the application program, the cache time of the last cached WiFi positioning information is obtained, the time interval between the cache time and the current time is determined, it is determined whether the time interval is greater than the preset interval, the WiFi positioning scanning is prohibited and the WiFi positioning scanning failure prompt information is returned to the application program if the time interval is less than or equal to the preset interval, the timing is started if the cache time of the last cached WiFi positioning information cannot be obtained, and the WiFi positioning scanning is performed to obtain the current WiFi positioning information in response to the WiFi positioning request of the application program when the timing duration reaches the preset duration. The current WiFi positioning information is fed back to the application program and cached. When the vehicle is moving at a high speed, the WiFi positioning scanning is controlled by a certain time threshold (the time interval or the timing duration) between two consecutive WiFi positioning requests to limit the high-frequency WiFi positioning scanning caused by the frequent request of the application program, unnecessary WiFi positioning scanning is avoided, the occupation of the WiFi air interface resource is reduced, the power consumption is reduced, and the influence on the user data transmission is reduced.

[0089] In an embodiment, after step S322, that is, after it is determined whether the time interval is greater than the preset interval, the method further includes the following steps:

[0090] S324: If the time interval is greater than the preset interval, the WiFi positioning scanning is performed to obtain the current WiFi positioning information, the current WiFi positioning information is fed back to the application program and cached.

[0091] After determining whether the time interval is greater than the preset interval, if it is determined that the time interval between the cache time of the last cached WiFi positioning information and the current time is greater than the preset interval, WiFi positioning scanning is performed to obtain current WiFi positioning information, the current WiFi positioning information is fed back to the application program and cached.

[0092] In this embodiment, after determining that the driving scenario is a high-speed moving scenario, before prohibiting WiFi positioning scanning and returning prompt information of WiFi positioning scanning failure to the application program, the cache time of the last cached WiFi positioning information is obtained, the time interval between the cache time and the current time is determined, and it is determined whether the time interval is greater than the preset interval. If the time interval is greater than the preset interval, WiFi positioning scanning is performed to obtain current WiFi positioning information, the current WiFi positioning information is fed back to the application program and cached. By setting the time interval, WiFi positioning scanning is performed to obtain current WiFi positioning information, which is fed back to the application program and cached, only after a certain time interval between two consecutive WiFi positioning requests. This can avoid unnecessary WiFi positioning scanning, reduce the occupation of WiFi air interface resources, and at the same time, provide certain WiFi positioning information for the application program in a high-speed moving vehicle, thereby maximizing the guarantee of normal provision of user services and providing user experience.

[0093] In an embodiment, as shown in FIG. 1, the driving scenario of the vehicle is determined by image in step S10. Figure 4

[0094] S11: determining the average vehicle speed of the vehicle in a preset time period, the preset time period being a time period from the last time when the WiFi positioning request is received to the current time when the WiFi positioning request is received;

[0095] S12: determining whether the average vehicle speed is greater than a first preset vehicle speed;

[0096] S13: if it is determined that the average vehicle speed is less than or equal to the first preset vehicle speed, determining that the driving scenario of the vehicle is a static scenario;

[0097] S14: if it is determined that the average vehicle speed is greater than the first preset vehicle speed, determining that the driving scenario of the vehicle is a moving scenario.

[0098] After receiving the WiFi positioning request of the application program in the vehicle terminal device, the average vehicle speed of the vehicle in a preset time period is first determined, wherein the preset time period is a time period from the last time when WiFi positioning scanning is performed to the current time when the WiFi positioning request is received. Then, it is determined whether the average vehicle speed is greater than a first preset vehicle speed, which can be 0 or a value close to 0.

[0099] ​If it is determined that the average vehicle speed is less than or equal to the first preset vehicle speed, indicating that the vehicle is in a static state, it is determined that the driving scene of the vehicle is a static scene, and then the current WiFi positioning request of the application program is not responded, WiFi positioning scanning is prohibited, and the last cached WiFi positioning information is fed back to the application program.

[0100] If it is determined that the average vehicle speed is greater than the first preset vehicle speed, indicating that the vehicle is in a moving state, it is determined that the driving scene of the vehicle is a moving scene, and then the current WiFi positioning request of the application program is responded, WiFi positioning scanning is performed to obtain current WiFi positioning information, the current WiFi positioning information is fed back to the application program and cached.

[0101] In the embodiment, by determining the average vehicle speed of the vehicle in a preset time period, the preset time period being a time period from the last time the WiFi positioning request is received to the current time the WiFi positioning request is received, and determining whether the average vehicle speed is greater than the first preset vehicle speed, if it is determined that the average vehicle speed is less than or equal to the first preset vehicle speed, it is determined that the driving scene of the vehicle is a static scene; if it is determined that the average vehicle speed is greater than the first preset vehicle speed, it is determined that the driving scene of the vehicle is a moving scene; which clearly defines the specific process of determining the driving scene of the vehicle, by monitoring the average vehicle speed of the vehicle between two WiFi positioning requests, and then determining the static scene according to the average vehicle speed, which is more accurate than determining the driving scene of the vehicle by real-time vehicle speed, and provides an accuracy basis for subsequent execution of different scanning control strategies according to the driving scene.

[0102] In an embodiment, the moving scene of the vehicle includes a low-speed moving scene and a high-speed moving scene. After step S12, i.e., after determining whether the average vehicle speed is greater than the first preset vehicle speed, the method further includes the following steps:

[0103] S15: If the average vehicle speed is greater than the first preset vehicle speed, it is determined whether the average vehicle speed is greater than a second preset vehicle speed, the second preset vehicle speed being greater than the first preset vehicle speed;

[0104] S16: If the average vehicle speed is greater than the second preset vehicle speed, it is determined that the driving scene of the vehicle is a high-speed moving scene;

[0105] S17: If the average vehicle speed is less than or equal to the second preset vehicle speed, it is determined that the driving scene of the vehicle is a low-speed moving scene.

[0106] After determining the average vehicle speed in a preset time period and determining that the average vehicle speed is greater than a first preset vehicle speed, it is determined that the vehicle is in a moving state, and it is preliminarily determined that the driving scene of the vehicle is a moving scene, but further subdivision of the specific moving scene needs to determine whether the average vehicle speed is greater than a second preset vehicle speed. The second preset vehicle speed is greater than the first preset vehicle speed, and the second preset vehicle speed is a vehicle speed that is pre-calibrated and can represent high-speed movement of the vehicle. For example, the second preset vehicle speed can be 60 km / h, and can also be 65 km / h, etc.

[0107] After determining whether the average vehicle speed is greater than the second preset vehicle speed, if the average vehicle speed is greater than the second preset vehicle speed, indicating that the vehicle is in a high-speed driving state, it is determined that the driving scene of the vehicle is a high-speed moving scene; if the average vehicle speed is less than or equal to the second preset vehicle speed, indicating that the vehicle is in a low-speed driving state, it is determined that the driving scene of the vehicle is a low-speed moving scene.

[0108] In this embodiment, after determining whether the average vehicle speed is greater than the first preset vehicle speed, if the average vehicle speed is greater than the first preset vehicle speed, the moving scene is subdivided by determining whether the average vehicle speed is greater than the second preset vehicle speed, if the average vehicle speed is greater than the second preset vehicle speed, it is determined that the driving scene of the vehicle is a high-speed moving scene; if the average vehicle speed is less than or equal to the second preset vehicle speed, it is determined that the driving scene of the vehicle is a low-speed moving scene, and the determination steps of the vehicle driving scene are further clarified. By subdividing the moving scene of the vehicle into a high-speed moving scene and a low-speed moving scene, it is convenient for subsequent execution of different WiFi positioning scan control strategies according to the specific high-speed and low-speed driving scenes, further optimizing the driving scene of the vehicle, thereby optimizing the strategy under different vehicle driving scenes, reducing frequent WiFi positioning scans, reducing the impact on user data transmission, reducing power consumption and improving user experience.

[0109] In a complete embodiment, the vehicle-mounted WiFi positioning scan control method comprises the following steps:

[0110] S201: Determine whether a WiFi positioning request of an application program in a vehicle-mounted terminal device is received;

[0111] S202: After receiving the WiFi positioning request of the application program in the vehicle-mounted terminal device, determine the average vehicle speed of the vehicle in a preset time period, and the preset time period is the time period from the last time the WiFi positioning request is received to the current time the WiFi positioning request is received;

[0112] S203: Determine whether the average vehicle speed is greater than a first preset vehicle speed (such as 0), if the average vehicle speed is less than or equal to the first preset vehicle speed, it is determined that the driving scene of the vehicle is a static scene, then step S204 is executed; if it is greater than the first preset vehicle speed, it is determined that the driving scene of the vehicle is a moving scene, then S207 is executed;

[0113] S204: determining whether the historical WiFi positioning information of the vehicle is cached;

[0114] S205: if the historical WiFi positioning information of the vehicle is cached, executing step S206; if the historical WiFi positioning information of the vehicle is not cached, executing step S210;

[0115] S206: prohibiting the WiFi positioning scanning, and feeding back the last cached WiFi positioning information to the application program, and completing the control of the current WiFi positioning scanning;

[0116] S207: determining whether the average vehicle speed is greater than a second preset vehicle speed (e.g. 60 km / h), if less than or equal to the second preset vehicle speed, executing step S210; if greater than the second preset vehicle speed, determining the time interval between the caching time of the last cached WiFi positioning information and the current time;

[0117] S208: determining whether the time interval is greater than a preset interval, if less than or equal to the preset interval, executing step S209; if greater than the preset interval, executing step S210;

[0118] S209: prohibiting the WiFi positioning scanning, and returning the prompt information of the WiFi positioning scanning failure to the application program;

[0119] S210: responding to the WiFi positioning request to perform the WiFi positioning scanning to obtain the current WiFi positioning information, feeding back the current WiFi positioning information to the application program and caching.

[0120] In this embodiment, the average vehicle speed of the two consecutive WiFi positioning requests is monitored to identify and determine the driving scene of the vehicle, and the driving scene is divided into three driving scenes, i.e., the static scene, the low-speed moving scene and the high-speed moving scene. Then, the WiFi positioning scanning control is performed according to the three forms of scenes, and the control strategy in different scenes is optimized. For the static scene of the vehicle, the WiFi positioning scanning is not triggered, and the WiFi positioning scanning result (i.e., the WiFi positioning information) of the last time is sent to the application program requesting positioning. The implementation scheme has strong feasibility, the application program can determine the current position, and the returned cached WiFi positioning information makes all application programs consistent, which does not affect the positioning experience of the user. For the low-speed moving scene suitable for WiFi positioning, the WiFi positioning scanning is performed to obtain accurate WiFi positioning information. For the high-speed moving scene unsuitable for WiFi positioning, the time interval between the two consecutive WiFi positioning requests is determined, and the WiFi positioning scanning is performed after a certain time interval, which can limit the high-frequency positioning scanning caused by frequent requests of the application program, and unnecessary WiFi positioning scanning is avoided.

[0121] In this embodiment, the three forms of scenes are identified, the driving scene unsuitable for WiFi positioning scanning is identified, different control methods are adopted for different driving scenes, the WiFi positioning scanning is avoided or reduced on the basis of basically not affecting the positioning experience of the user, the WiFi positioning frequency is effectively reduced, the power consumption is reduced, the influence on the data transmission of the user is reduced, and the user experience is improved.

[0122] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the application.

[0123] In an embodiment, a vehicle-mounted WiFi positioning scanning control device is provided, which corresponds to the vehicle-mounted WiFi positioning scanning control method in the above embodiment. As shown in the figure, the vehicle-mounted WiFi positioning scanning control device includes a receiving module 501 and a control module 502. The functions of each module are described in detail as follows. Figure 5

[0124] The receiving module 501 is configured to execute different scanning frequency WiFi positioning scanning strategies according to the driving scene of the vehicle after receiving the WiFi positioning request of the application program in the vehicle-mounted terminal device;

[0125] The control module 502 is configured to prohibit the WiFi positioning scanning when it is determined that the driving scene is the static scene.​

[0126] Optionally, the control module 502 is further configured to:

[0127] feed back the last cached WiFi positioning information to the application program.

[0128] Optionally, the control module 502 is further configured to:

[0129] when it is determined that the driving scenario is the moving scenario, perform WiFi positioning scanning to obtain current WiFi positioning information in response to the WiFi positioning request, feed back the current WiFi positioning information to the application program and cache the current WiFi positioning information.

[0130] Optionally, the control module 502 is further configured to:

[0131] determine whether there is historical WiFi positioning information of the vehicle cached;

[0132] if there is historical WiFi positioning information of the vehicle cached, prohibit performing WiFi positioning scanning, and feed back the last cached WiFi positioning information to the application program;

[0133] if there is no historical WiFi positioning information of the vehicle cached, perform WiFi positioning scanning to obtain current WiFi positioning information in response to the WiFi positioning request, feed back the current WiFi positioning information to the application program and cache the current WiFi positioning information.

[0134] Optionally, the control module 502 is further configured to:

[0135] when it is determined that the driving scenario is the low-speed moving scenario, perform WiFi positioning scanning to obtain current WiFi positioning information in response to the WiFi positioning request, feed back the current WiFi positioning information to the application program and cache the current WiFi positioning information;

[0136] when it is determined that the driving scenario is the high-speed moving scenario, prohibit performing WiFi positioning scanning, and return a prompt information of WiFi positioning scanning failure to the application program.

[0137] Optionally, before the control module 502 prohibits performing WiFi positioning scanning and returns the prompt information of WiFi positioning scanning failure to the application program, the control module 502 is further configured to:

[0138] obtain a cache time of the last cached WiFi positioning information, and determine a time interval between the cache time and a current time;

[0139] determine whether the time interval is greater than a preset interval;

[0140] if the time interval is less than or equal to the preset interval, prohibit performing WiFi positioning scanning, and return the prompt information of WiFi positioning scanning failure to the application program.

[0141] Optionally, after determining whether the time interval is greater than the preset interval, the control module 502 is specifically further configured to:

[0142] If the time interval is greater than the preset interval, performing a WiFi positioning scan to obtain current WiFi positioning information, feeding back the current WiFi positioning information to the application program and caching.

[0143] Optionally, the vehicle-mounted WiFi positioning scan control apparatus further comprises a determination module 503, which is specifically configured to:

[0144] determine an average vehicle speed of the vehicle in a preset time period, the preset time period being a time period from the last time the WiFi positioning request is received to the current time the WiFi positioning request is received;

[0145] determine whether the average vehicle speed is greater than a first preset vehicle speed;

[0146] If it is determined that the average vehicle speed is less than or equal to the first preset vehicle speed, it is determined that the driving scenario of the vehicle is a static scenario

[0147] Optionally, after determining whether the average vehicle speed is greater than the first preset vehicle speed, the determination module 503 is specifically further configured to:

[0148] If the average vehicle speed is greater than the first preset vehicle speed, it is determined whether the average vehicle speed is greater than a second preset vehicle speed;

[0149] If the average vehicle speed is greater than the second preset vehicle speed, it is determined that the driving scenario of the vehicle is a high-speed moving scenario;

[0150] If the average vehicle speed is less than or equal to the second preset vehicle speed, it is determined that the driving scenario of the vehicle is a low-speed moving scenario.

[0151] The specific limitations of the vehicle-mounted WiFi positioning scan control apparatus can be referred to the limitations of the vehicle-mounted WiFi positioning scan control method in the foregoing, which will not be repeated here. Each module in the vehicle-mounted WiFi positioning scan control apparatus can be realized by software, hardware and combinations thereof in whole or in part. Each module can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to each module.

[0152] In one embodiment, a vehicle-mounted WiFi positioning scan control device is provided, which can be a vehicle positioning terminal. The vehicle-mounted WiFi positioning scan control device comprises a processor, a memory and a network interface connected through a system bus. The processor of the vehicle-mounted WiFi positioning scan control device is configured to provide computing and control capabilities. The memory of the vehicle-mounted WiFi positioning scan control device comprises a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The network interface of the vehicle-mounted WiFi positioning scan control device is configured to communicate with an external positioning server through a network connection. The computer program is executed by the processor to implement a vehicle-mounted WiFi positioning scan control method.

[0153] In one embodiment, a vehicle-mounted WiFi positioning scan control device is provided, which can be a vehicle positioning terminal. The vehicle-mounted WiFi positioning scan control device comprises a processor, a memory and a network interface connected through a system bus. The processor of the vehicle-mounted WiFi positioning scan control device is configured to provide computing and control capabilities. The memory of the vehicle-mounted WiFi positioning scan control device comprises a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The network interface of the vehicle-mounted WiFi positioning scan control device is configured to communicate with an external positioning server through a network connection. The computer program is executed by the processor to implement a vehicle-mounted WiFi positioning scan control method. Figure 6 As shown in the figure, the vehicle-mounted WiFi positioning scan control device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:

[0154] After receiving a WiFi positioning request of an application program in the vehicle-mounted terminal device, a WiFi positioning scan strategy with different scan frequencies is executed according to the driving scene of the vehicle; wherein,

[0155] When it is determined that the driving scene is a static scene, WiFi positioning scan is prohibited.

[0156] In one embodiment, a readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the following steps are implemented:

[0157] After receiving a WiFi positioning request of an application program in the vehicle-mounted terminal device, a WiFi positioning scan strategy with different scan frequencies is executed according to the driving scene of the vehicle; wherein,

[0158] When it is determined that the driving scene is a static scene, WiFi positioning scan is prohibited.

[0159] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, storage, database or other medium used in the embodiments provided by the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0160] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of functional units and modules is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the above-described functions.

[0161] The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not limit it. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features. Such modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A vehicle-mounted WiFi positioning and scanning control method, characterized in that, include: Upon receiving a WiFi location request from an application in the vehicle terminal device, a WiFi location scanning strategy with different scanning frequencies is executed based on the vehicle's driving scenario; among which, When the driving scenario is determined to be a stationary scenario, WiFi positioning scanning is prohibited; Before prohibiting WiFi location scanning, the method further includes: Determine whether the vehicle's historical WiFi location information is cached; If the vehicle's historical WiFi location information is cached, the WiFi location scan is prohibited, and the previously cached WiFi location information is fed back to the application. If the vehicle's historical WiFi location information is not cached, the WiFi location request is responded to by performing a WiFi location scan to obtain the current WiFi location information, which is then fed back to the application and cached.

2. The vehicle-mounted WiFi positioning and scanning control method as described in claim 1, characterized in that, The WiFi positioning scanning strategy that executes different scanning frequencies based on the vehicle's driving scenario also includes: When the driving scenario is determined to be a mobile scenario, the application responds to the WiFi positioning request by performing a WiFi positioning scan to obtain the current WiFi positioning information, and then feeds back the current WiFi positioning information to the application and caches it.

3. The vehicle-mounted WiFi positioning and scanning control method as described in claim 1, characterized in that, When WiFi location scanning is prohibited, the method further includes: The previously cached WiFi location information is fed back to the application.

4. The vehicle-mounted WiFi positioning and scanning control method as described in claim 1, characterized in that, The WiFi positioning scanning strategy that executes different scanning frequencies based on the vehicle's driving scenario also includes: When the driving scenario is determined to be a low-speed movement scenario, the WiFi positioning request is responded to to perform the WiFi positioning scan to obtain the current WiFi positioning information, and the current WiFi positioning information is fed back to the application and cached. When the driving scenario is determined to be a high-speed moving scenario, WiFi location scanning is prohibited, and a WiFi location scanning failure message is returned to the application.

5. The vehicle-mounted WiFi positioning and scanning control method as described in claim 4, characterized in that, Before prohibiting WiFi location scanning and returning a WiFi location scanning failure message to the application, the method further includes: Obtain the cache time of the previously cached WiFi location information, and determine the time interval between the cache time and the current time; Determine whether the time interval is greater than a preset interval; If the time interval is less than or equal to the preset interval, WiFi location scanning is prohibited, and a WiFi location scanning failure message is returned to the application.

6. The vehicle-mounted WiFi positioning and scanning control method as described in claim 5, characterized in that, After determining whether the time interval is greater than a preset interval, the method further includes: If the time interval is greater than the preset interval, the WiFi location scan is performed to obtain the current WiFi location information, and the current WiFi location information is fed back to the application and cached.

7. The vehicle-mounted WiFi positioning and scanning control method as described in any one of claims 1-6, characterized in that, The driving scenario of the vehicle is determined in the following way: Determine the average speed of the vehicle within a preset time period, where the preset time period is the period from the last time the WiFi location request was received to the current time the WiFi location request is received; Determine whether the average vehicle speed is greater than a first preset vehicle speed; If the average vehicle speed is determined to be less than or equal to the first preset vehicle speed, then the driving scenario of the vehicle is determined to be the stationary scenario.

8. The vehicle-mounted WiFi positioning and scanning control method as described in claim 7, characterized in that, After determining whether the average vehicle speed is greater than the first preset vehicle speed, the method further includes: If the average vehicle speed is greater than the first preset vehicle speed, then determine whether the average vehicle speed is greater than the second preset vehicle speed. If the average vehicle speed is greater than the second preset vehicle speed, then the vehicle's driving scenario is determined to be a high-speed moving scenario. If the average vehicle speed is less than or equal to the second preset vehicle speed, then the vehicle's driving scenario is determined to be a low-speed movement scenario.

9. A vehicle-mounted WiFi positioning and scanning control device, used to implement the method as claimed in claim 1, characterized in that, include: The receiving module is used to execute WiFi positioning scanning strategies with different scanning frequencies according to the vehicle's driving scenario after receiving a WiFi positioning request from the application in the vehicle terminal device. The control module is used to prohibit WiFi positioning scanning when the driving scenario is determined to be a stationary scenario.

10. A vehicle-mounted WiFi positioning and scanning control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the vehicle WiFi positioning control method and the positioning scanning control method as described in any one of claims 1 to 8.

11. A readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the vehicle-mounted WiFi positioning and scanning control method as described in any one of claims 1 to 8.

12. A vehicle, characterized in that, Includes the vehicle-mounted WiFi positioning and scanning control device as described in claim 10.

Citation Information

Patent Citations

  • Adjusting WLAN scanning parameters based on rate of change of location of mobile device

    US20090131081A1