Method, apparatus, electronic device, and storage medium for determining vehicle commuting location

By acquiring and filtering the processing position information when the vehicle is started, and automatically determining the commuter position with time information, the problem of low degree of automation and accuracy of commuter position in the prior art is solved, and higher automation and accurate commuter position determination are achieved.

CN118317252BActive Publication Date: 2025-06-13GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410459491.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-16
Publication Date
2025-06-13
Estimated Expiration
2044-04-16

AI Technical Summary

Technical Problem

In the existing on-board navigation system, the vehicle commuting position needs to be manually set, with low automation and accuracy, resulting in frequent manual input when changing the commuting position, and there is a distance deviation between the navigation end point and the vehicle parking position.

Method used

By obtaining the current position information and time information when the vehicle is started, making validity judgments, determining the actual position information, and automatically determining the commuting position based on the time information, using the on-board communication module to obtain the latitude and longitude signals, performing signal filtering processing, and obtaining accurate position information.

Benefits of technology

It improves the degree of automation and accuracy of vehicle commuting positions, reduces the frequency of manual settings by users, ensures the accuracy of commuting positions, and enhances vehicle safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118317252B_ABST
    Figure CN118317252B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a method, apparatus, electronic device, and storage medium for determining a vehicle commuting location. The method for determining a vehicle commuting location includes: when it is detected that the vehicle is started, obtaining the current location information and current time information of the vehicle; making a validity judgment on the current location information to obtain a judgment result; determining the actual location information of the vehicle according to the judgment result; and determining the commuting location of the vehicle according to the actual location information and the current time information. In this way, on the one hand, by making a validity judgment on the current location information of the vehicle, it is convenient to more accurately determine the actual location information of the vehicle; on the other hand, by combining various influencing factors such as the actual location information and the current time information, the accuracy of the determined commuting location of the vehicle can be higher, and there is no need for the user to manually set the commuting location, thereby achieving the effect of improving the automation degree and accuracy of the vehicle commuting location.
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 control. Specifically, it relates to a method, device, electronic device, and computer-readable storage medium for determining the commuting location of a vehicle. Background Art

[0002] In new energy vehicles, there are some commuting-related setting items in the current in-vehicle multimedia host field for users to select and use. For example, in the in-vehicle map navigation application, there are location options for "Home" and "Company", and users can manually enter the location names to set the locations of "Home" and "Company". Once the user completes a manual setting in this application, the commuting location can be recorded, which can facilitate the user to quickly enter the map navigation.

[0003] Currently, in the related art, the commuting status of in-vehicle navigation needs to be manually set in the in-vehicle map navigation application. Some users change their commuting locations, such as the locations of "Home", "Company", etc., relatively frequently, and it requires the user to manually re-enter the new commuting location, with poor automation and convenience. Moreover, the commuting location settings in the in-vehicle navigation application are mostly set as landmark names, such as building names, road intersection names, etc., and the navigation end point is generally not the specific parking location of the vehicle, resulting in a distance deviation, thus leading to poor accuracy of the commuting location. Therefore, how to improve the automation degree and accuracy of the vehicle commuting location has become an urgent technical problem to be solved. Summary of the Invention

[0004] To solve the above technical problems, embodiments of the present application provide a method, device, electronic device, and computer-readable storage medium for determining the commuting location of a vehicle, so as to improve vehicle safety.

[0005] According to one aspect of the embodiments of the present application, there is provided a method for determining the commuting location of a vehicle. The method includes: when it is detected that the vehicle is started, obtaining the current location information and current time information of the vehicle; making a validity judgment on the current location information to obtain a judgment result; determining the actual location information of the vehicle according to the judgment result; and determining the commuting location of the vehicle according to the actual location information and the current time information.

[0006] In some embodiments, obtaining the current location information of the vehicle includes: using a preset in-vehicle communication module to obtain the longitude signal and latitude signal of the vehicle; performing signal filtering processing on the longitude signal and the latitude signal to obtain the current location information.

[0007] In some embodiments, validity judgment is performed on the current position information to obtain a judgment result, including: obtaining the significant bit information of the longitude signal and the significant bit information of the latitude signal by using a preset vehicle-mounted communication module; determining that the judgment result is that the current position information is invalid when the significant bit information of the longitude signal and / or the significant bit information of the latitude signal is a first preset threshold; and / or, determining that the judgment result is that the current position information is valid when the significant bit information of the longitude signal and the significant bit information of the latitude signal are both a second preset threshold.

[0008] In some embodiments, determining the actual position information of the vehicle according to the judgment result includes: when the judgment result is that the current position information is valid, determining the current position information as the actual position information; and / or, when the judgment result is that the current position information is invalid, obtaining the historical parking position information closest to the current time information and determining the historical parking position information as the actual position information.

[0009] In some embodiments, determining the commuting position of the vehicle according to the actual position information and the current time information includes: when the current time information is within a preset time period, obtaining the historical stored position information; obtaining the relative distance between the actual position information and the historical stored position information; and determining the commuting position of the vehicle according to the relative distance.

[0010] In some embodiments, determining the commuting position of the vehicle according to the relative distance includes: when the relative distance is less than a preset threshold, performing a primary confirmation on the historical stored position information; and / or, when the relative distance is greater than or equal to the preset threshold, performing a primary confirmation on the actual position information; accumulating the confirmation times of the historical stored position information and the confirmation times of the actual position information; and determining the commuting position of the vehicle according to the confirmation times of the historical stored position information or the confirmation times of the actual position information.

[0011] In some embodiments, determining the commuting position of the vehicle according to the confirmation times of the historical stored position information or the confirmation times of the actual position information includes: when the confirmation times of the historical stored position information first reach a first preset number of times, determining the historical stored position information as the commuting position of the vehicle; and / or, when the confirmation times of the actual position information first reach a second preset number of times, determining the actual position information as the commuting position of the vehicle; the second preset number of times is greater than the first preset number of times.

[0012] According to one aspect of the embodiments of the present application, there is provided a device for determining the commuting location of a vehicle. The device includes: an acquisition module configured to acquire the current location information and current time information of the vehicle when it is detected that the vehicle is started; a judgment module configured to perform a validity judgment on the current location information to obtain a judgment result; a first determination module configured to determine the actual location information of the vehicle according to the judgment result; and a second determination module configured to determine the commuting location of the vehicle according to the actual location information and the current time information.

[0013] According to one aspect of the embodiments of the present application, there is provided an electronic device including one or more processors; a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the method for determining the commuting location of a vehicle as described above.

[0014] According to one aspect of the embodiments of the present application, there is provided a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for determining the commuting location of a vehicle as described above.

[0015] According to one aspect of the embodiments of the present application, there is provided a vehicle in which the above-mentioned electronic device is provided.

[0016] In the technical solution provided by the embodiments of the present application, on the one hand, by performing a validity judgment on the current location information of the vehicle, the actual location information of the vehicle is determined, which is convenient for more accurately determining the commuting location of the vehicle; on the other hand, by combining various influencing factors such as the actual location information and the current time information, the accuracy of the determined commuting location of the vehicle can be higher, and there is no need for the user to set manually, thus achieving the effect of improving the automation degree and accuracy of the vehicle commuting location.

[0017] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the accompanying drawings in the following description are only some embodiments of the present application, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts. In the drawings:

[0019] Figure 1 is a schematic structural diagram of an in-vehicle terminal shown in an exemplary embodiment of the present application;

[0020] Figure 2 It is a flowchart of a method for determining the vehicle commuting location shown in an exemplary embodiment of the present application;

[0021] Figure 3 It is a flowchart of a method for determining the vehicle commuting location shown in another exemplary embodiment of the present application;

[0022] Figure 4 It is a flowchart of a method for determining the vehicle commuting location shown in another exemplary embodiment of the present application;

[0023] Figure 5 It is a schematic diagram of the game learning process of the commuting location shown in an exemplary embodiment of the present application;

[0024] Figure 6 It is a schematic structural diagram of a device for determining the vehicle commuting location shown in an exemplary embodiment of the present application;

[0025] Figure 7 It is a schematic structural diagram of a vehicle shown in an exemplary embodiment of the present application.

[0026] Reference numerals:

[0027] 1: Vehicle-mounted communication module; 2: Vehicle controller. Detailed implementation manners

[0028] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all the implementation manners of the present application. On the contrary, they are only examples of the devices and methods that are the same as some aspects of the present application as detailed in the appended claims.

[0029] The block diagrams shown in the drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in the form of application programs, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0030] The flowcharts shown in the drawings are only exemplary descriptions and do not necessarily include all the contents and operations / steps, nor do they necessarily need to be executed in the described order. For example, some operations / steps can be decomposed, while some operations / steps can be combined or partially combined. Therefore, the actual execution order may change according to the actual situation.

[0031] It should be noted that "multiple" mentioned in this application means two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.

[0032] Commuting driving to and from work is the driving scenario most frequently used by the vast majority of passenger car drivers. Optimizing the performance such as economy, drivability, and usability of commuting driving is an important part of vehicle performance optimization and quality improvement, and is also one of the important ways to save energy and reduce carbon emissions. Due to the high coincidence of time, location, and route in commuting driving, vehicle state characteristics such as the driver's driving style, vehicle operating state, charging habit, and energy consumption trend, as well as commuting route characteristics such as the vehicle speed, acceleration and deceleration trend, and congestion duration in each section of the commute, all have a high degree of repeatability. Therefore, these repeated characteristics can be used for learning, refining, and analysis, and applied to the vehicle state control on the commuting route, aiming to make the internal operating state trajectory of the vehicle driving on the commuting route all follow the optimal trajectory, so as to make the commuting economy of the vehicle approach the optimal, and continuously improve the performance of vehicle commuting drivability, comfort, usability, etc.

[0033] The embodiment of this application provides a method for determining the commuting position of a vehicle. This method can be applied to new energy vehicles and can be implemented by an electronic device in a new energy vehicle. The electronic device can be equipped with a TBOX (Telematics Box, vehicle-mounted communication module), etc.

[0034] Among them, the TBOX is used to obtain the real-time geographical location of the vehicle, such as longitude and latitude, and combine the current time information to learn and analyze the time and location information of each driving of the vehicle. After a preset number of game learning and iterations, it can automatically identify the correct commuting position, such as "home" or "company".

[0035] The electronic device includes but is not limited to devices such as a tablet personal computer, a personal computer, or a vehicle-mounted terminal. In this embodiment, the electronic device can be a vehicle-mounted terminal.

[0036] Among them, the in-vehicle terminal may include components such as a processor and a memory. The processor may be a CPU (Central Processing Unit), and the processor may obtain the current location information and current time information of the vehicle through the in-vehicle communication module, and determine the validity of the current location information, and then determine the actual location information of the vehicle according to the judgment result; the processor may combine various influencing factors such as the actual location information and the current time information to determine the commuting location of the vehicle, which can make the determined commuting location more accurate and does not require the user to set manually, thus achieving the effect of improving the automation degree and accuracy of the vehicle commuting location. The memory may be NVM (Non-Volatile Memory), Flash (Flash Memory), etc., and may be used to store the historical storage location information, historical parking location information and historical parking time of the vehicle; among them, the historical storage location information is the commuting location determined by the vehicle last time.

[0037] Please refer to Figure 1 , Figure 1 which is a structural diagram of an in-vehicle terminal shown in an exemplary embodiment of the present application. As Figure 1 shown, the in-vehicle terminal includes an in-vehicle communication module 1 and a vehicle controller 2; among them, obtaining an accurate vehicle real-time position signal is achieved through the interaction between the vehicle controller and the in-vehicle communication module; the in-vehicle communication module 1 is used to obtain the longitude signal and latitude signal of the vehicle; perform signal filtering processing on the longitude signal and latitude signal to obtain the current location information, and obtain the current time information; since the original position signal sent by the in-vehicle communication module may have certain fluctuations and jumps due to factors such as network signals, it is necessary to filter its signal and select reasonable filtering parameters in combination with the dynamic response required for vehicle control, so as to provide position accuracy. At the same time, the in-vehicle communication module 1 is also used to obtain the valid bit information of the current location information of the vehicle, and the valid bit information is used to characterize whether the current location information is valid, and then determine the actual location information, which can reduce the possibility of being unable to collect accurate location information due to signal loss when the vehicle is in places with poor signals such as indoors and underground parking lots, thereby improving the position accuracy; then the actual location information and current time information of the vehicle are sent to the vehicle controller 2 in real time through the in-vehicle local area network communication bus, and the vehicle controller 2 performs game learning in combination with the actual location information and the current time information to determine the commuting location of the vehicle.

[0038] Please refer to Figure 2 , Figure 2 which is a flowchart of a method for determining the commuting location of a vehicle shown in an exemplary embodiment of the present application.

[0039] Next, the method for determining the commuting location of a vehicle proposed in the embodiments of the present application will be introduced in detail with the in-vehicle terminal as the specific execution subject.

[0040] As Figure 2 shown, in an exemplary embodiment, the method for determining the vehicle commuting location at least includes step S210 to step S240, which are introduced in detail as follows:

[0041] Step S210, when the vehicle start is detected, obtain the current location information and current time information of the vehicle.

[0042] It can be understood that the current location information of the vehicle is the longitude and latitude location where the vehicle is located when it starts, and the current time information is the time when the vehicle starts.

[0043] In the embodiment of the present disclosure, the current location information and current time information of the vehicle are collected through the vehicle-mounted communication module.

[0044] Step S220, perform a validity judgment on the current location information to obtain a judgment result.

[0045] When the vehicle is in a place with poor signals such as indoors or underground parking lots, it is easy to have a situation where accurate location information cannot be collected due to signal loss. By performing a validity judgment on the collected current location information of the vehicle, it is possible to facilitate the user to more accurately determine the actual location information of the vehicle.

[0046] In the embodiment of the present application, the validity judgment can be performed by reading the valid bit information of the current location information through the vehicle-mounted communication module, and the valid bit information is used to represent whether the current location information is valid; exemplarily, when the valid bit information of the current location information is 0, it is determined that the current location information is invalid; when the valid bit information of the current location information is 1, it is determined that the current location information is valid.

[0047] Step S230, determine the actual location information of the vehicle according to the judgment result.

[0048] The purpose of determining the actual location information is to improve the accuracy of the vehicle positioning location.

[0049] Exemplarily, when the judgment result is that the current location information is invalid, the stored historical parking location information can be determined as the actual location information; where the historical parking location information is the previous parking location closest to the current time information.

[0050] Exemplarily, when the judgment result is that the current location information is valid, the current location information can be directly determined as the actual location information.

[0051] Step S240, determine the commuting location of the vehicle according to the actual location information and the current time information.

[0052] In the embodiments of the present application, the vehicle controller uses a preset game learning algorithm to learn in combination with the actual position information and the current time information. When the preset stop condition is met, a vehicle commuting position with higher accuracy can be determined, and there is no need for the user to set manually, which can effectively overcome problems such as the stability, reliability, availability, coverage, and versatility of the commuting features of in-vehicle navigation maps.

[0053] In some embodiments, obtaining the current position information of the vehicle includes: using a preset vehicle-mounted communication module to obtain the longitude signal and the latitude signal of the vehicle; performing signal filtering processing on the longitude signal and the latitude signal to obtain the current position information. In this way, due to reasons such as GPS signal delay or error, the original geographical location signal may fluctuate and jump. By performing signal filtering processing on the collected longitude signal and latitude signal, the position information of the vehicle when it just starts can be stably obtained, and the obtained longitude signal and latitude signal are more accurate.

[0054] Exemplarily, the collected longitude signal is Lon, and the latitude signal is Lat. The first-order low-pass filtering algorithm is used to perform signal filtering processing on the collected longitude signal and latitude signal; where the first-order low-pass filtering algorithm is Lon is the longitude signal before filtering, Lat is the latitude signal before filtering; τ is a preset filter time constant, for example, τ is 1s; Lon filt is the longitude signal after filtering, Lat filt is the latitude signal after filtering.

[0055] Furthermore, the discrete deployment form of the first-order low-pass filtering algorithm is shown as the following formula: where k is used to represent the discrete moment, T s is the sampling period of the accuracy signal and the latitude signal, and τ is a preset filter time constant.

[0056] In some embodiments, judging the validity of the current position information to obtain a judgment result includes: using a preset vehicle-mounted communication module to obtain the valid bit information of the longitude signal and the valid bit information of the latitude signal; when the valid bit information of the longitude signal and / or the valid bit information of the latitude signal is the first preset threshold, determining that the judgment result is that the current position information is invalid; and / or, when the valid bit information of the longitude signal and the valid bit information of the latitude signal are both the second preset threshold, determining that the judgment result is that the current position information is valid. In this way, by judging the validity of the longitude and latitude collected by the vehicle-mounted communication module, the problem of inaccurate positioning caused by the initialization of the vehicle-mounted communication module and network delay when the vehicle just starts can be avoided, thus ensuring the reliable real-time positioning position of the vehicle.

[0057] Among them, the first preset threshold is 0 and the second preset threshold is 1.

[0058] In the embodiments of the present application, the current location information and the valid bit information corresponding to the current location information are obtained through the vehicle-mounted communication module. The valid bit information of the longitude signal is represented by Lon Vd and the valid bit information of the latitude signal is represented by Lat Vd for presentation.

[0059] Exemplarily, when any one or both of the valid bit information Lon Vd of the longitude signal and the valid bit information Lat Vd of the latitude signal are 0, it is determined that the current location information is invalid.

[0060] Exemplarily, when both of the valid bit information Lon Vd of the longitude signal and the valid bit information Lat Vd of the latitude signal are 1, it is determined that the current location information is valid.

[0061] In some embodiments, the actual location information of the vehicle is determined according to the judgment result, including: when the judgment result is that the current location information is valid, determining the current location information as the actual location information; and / or when the judgment result is that the current location information is invalid, obtaining the historical parking location information closest to the current time information and determining the historical parking location information as the actual location information. In this way, by updating the vehicle location when the current location information is invalid and using the historical parking location information as the actual location information, the location information can be made more accurate, thereby improving the commuting location accuracy.

[0062] Furthermore, the historical parking location is obtained in the following way: reading out the historical parking location information closest to the current time information from a preset database.

[0063] It should be understood that the preset database is a non-volatile memory in the vehicle control unit. When the vehicle is powered off each time, the real-time longitude and latitude signals and the power-off time of the vehicle when powered off are obtained, and the validity of the real-time longitude and latitude signals is judged. When the valid bit information of the real-time longitude and latitude signals is all the second preset threshold, it is determined that the real-time longitude and latitude signals are valid, and the real-time longitude and latitude signals are determined as the historical parking location, and then the historical parking location and the power-off time are stored in the non-volatile memory of the vehicle control unit. At the same time, in order to avoid the vehicle being briefly awakened and then quickly going to sleep during parking, such as scenarios where the driver returns to the vehicle and opens the door to get something and then leaves during parking, resulting in the vehicle location information not being clear for a short time, the historical parking location information remains unchanged at the previous value.

[0064] In some embodiments, determining the commuting location of a vehicle based on actual location information and current time information includes: when the current time information is within a preset time period, obtaining historical stored location information; obtaining the relative distance between the actual location information and the historical stored location information; and determining the commuting location of the vehicle based on the relative distance.

[0065] Since vehicle commuting driving has a high degree of repetition, by using the repetitive features in historical data for extraction and learning, through the geographical location and time information of the vehicle's historical start and stop, using a game learning algorithm to iteratively compare and determine different locations, through multiple learning and iterations, the commuting location of the vehicle can be determined and stored, which is convenient to be used as a new round of game object.

[0066] In the embodiments of the present application, the historical stored location information is used to represent the commuting location stored after the vehicle-mounted terminal performs game learning on the commuting location of the vehicle for the previous time; the commuting location includes a first commuting location and a second commuting location, the first commuting location is "home", the second commuting location is "company", the preset time period includes a first preset time period and a second preset time period, wherein the first preset time period is used to represent the morning commuting time period, that is, from 6:00 to 9:00 in the morning; the second preset time period is used to represent the evening commuting time period, that is, from 16:00 to 19:00 in the afternoon; the historical stored location information includes a first historical stored location information and a second historical stored location information, wherein the first historical stored location information is used to represent the stored "home" location, and the second historical stored location information is used to represent the stored "company" location information.

[0067] Exemplarily, when the current time information is within the first preset time period, the obtained historical stored location information is the first historical stored location information; at the same time, the current location information of the vehicle is obtained through the vehicle-mounted communication module, and the validity of the current location information is judged to determine the actual location information of the vehicle; then the relative distance between the actual location information and the first historical stored location information is obtained, and further the first commuting location of the vehicle is determined based on the relative distance.

[0068] Exemplarily, when the current time information is within the second preset time period, the obtained historical stored location information is the second historical stored location information; at the same time, the current location information of the vehicle is obtained through the vehicle-mounted communication module, and the validity of the current location information is judged to determine the actual location information of the vehicle; then the relative distance between the actual location information and the second historical stored location information is obtained, and further the second commuting location of the vehicle is determined based on the relative distance.

[0069] In some embodiments, determining the commuting position of a vehicle based on the relative distance includes: when the relative distance is less than a preset threshold, performing a single confirmation on the historically stored location information; and / or, when the relative distance is greater than or equal to the preset threshold, performing a single confirmation on the actual location information; accumulating the number of confirmations of the historically stored location information and the number of confirmations of the actual location information; and determining the commuting position of the vehicle based on the number of confirmations of the historically stored location information or the number of confirmations of the actual location information. Herein, the preset threshold is 1 km.

[0070] Further, when the relative distance is less than the preset threshold, it further includes: and performing a single denial on the actual location information. Herein, performing a single denial on the actual location information is used to represent reducing the accumulated number of confirmations of the actual location information by one time.

[0071] In some embodiments, determining the commuting position of the vehicle based on the number of confirmations of the historically stored location information or the number of confirmations of the actual location information includes: when the number of confirmations of the historically stored location information first reaches a first preset number, determining the historically stored location information as the commuting position of the vehicle; and / or, when the number of confirmations of the actual location information first reaches a second preset number, determining the actual location information as the commuting position of the vehicle. Herein, the second preset number is greater than the first preset number; in some embodiments, the first preset number is 3 times and the second preset number is 5 times. In this way, through continuous iterative gaming between the old and new positions by historical data, a commuting position with higher accuracy can be determined; meanwhile, the gaming learning algorithm has high robustness and self - adaptability, enabling the commuting position of the vehicle to achieve adaptive learning without the need for the user to manually input the commuting position, thereby achieving the effect of improving the automation degree and accuracy of the vehicle's commuting position.

[0072] Combined with Figure 3 As shown, the method for determining the commuting position of a vehicle may include steps S310 to S390, which are introduced in detail as follows:

[0073] Step S310, when the current time information is within a first preset time period, obtaining first historically stored location information. Then, execute step S320.

[0074] Step S320, obtaining the relative distance between the actual location information and the first historically stored location information. Then, execute step S330.

[0075] Step S330, determining whether the relative distance is less than the preset threshold; when the relative distance is less than the preset threshold, execute step S340; and / or, when the relative distance is greater than or equal to the preset threshold, execute step S350.

[0076] Step S340, confirm the first historical storage location information once and deny the actual location information once. Then execute Step S360.

[0077] Step S350, confirm the actual location information once. Then execute Step S360.

[0078] Step S360, determine whether the cumulative confirmation times of the first historical storage location information reach the first preset times; in the case where the cumulative confirmation times of the first historical storage location information reach the first preset times, execute Step S370; and / or, in the case where the cumulative confirmation times of the first historical storage location information do not reach the first preset times, execute Step S380.

[0079] Step S370, determine the first historical storage location information as the first commuting location of the vehicle. Then end.

[0080] Step S380, determine whether the cumulative confirmation times of the actual location information reach the second preset times; in the case where the cumulative confirmation times of the actual location information reach the second preset times, execute Step S390; and / or, in the case where the cumulative confirmation times of the actual location information do not reach the second preset times, directly end.

[0081] Step S390, determine the actual location information as the first commuting location of the vehicle. Then end.

[0082] Exemplarily, the first commuting location "home" is determined in the following way: in the case where the current time information is within the first preset time period, the obtained historical storage location information is the first historical storage location information; meanwhile, obtain the current location information of the vehicle through the vehicle-mounted communication module and judge the validity of the current location information, so as to determine the actual location information of the vehicle; then obtain the relative distance between the actual location information and the first historical storage location information. If the relative distance is less than 1 km, confirm the first historical storage location information once. If the relative distance is greater than or equal to 1 km, confirm the actual location information once; in the case where the confirmation times of the first historical storage location information reach 3 times first, determine the first historical storage location information as the first commuting location "home" of the vehicle; in the case where the confirmation times of the actual location information reach 5 times first, determine the actual location information as the first commuting location "home" of the vehicle.

[0083] Combined with Figure 4 As shown, the method for determining the commuting location of the vehicle may include Step S410 to Step S490, which are introduced in detail as follows:

[0084] Step S410: When the current time information is within the second preset time period, obtain the second historical storage location information. Then execute Step S420.

[0085] Step S420: Obtain the relative distance between the actual location information and the second historical storage location information. Then execute Step S430.

[0086] Step S430: Determine whether the relative distance is less than the preset threshold; if the relative distance is less than the preset threshold, execute Step S440; and / or, if the relative distance is greater than or equal to the preset threshold, execute Step S450.

[0087] Step S440: Confirm the second historical storage location information once and deny the actual location information once. Then execute Step S460.

[0088] Step S450: Confirm the actual location information once. Then execute Step S460.

[0089] Step S460: Determine whether the cumulative confirmation times of the second historical storage location information reach the first preset times; if the cumulative confirmation times of the second historical storage location information reach the first preset times, execute Step S470; and / or, if the cumulative confirmation times of the second historical storage location information do not reach the first preset times, execute Step S480.

[0090] Step S470: Determine the second historical storage location information as the second commuting location of the vehicle. Then end.

[0091] Step S480: Determine whether the cumulative confirmation times of the actual location information reach the second preset times; if the cumulative confirmation times of the actual location information reach the second preset times, execute Step S490; and / or, if the cumulative confirmation times of the actual location information do not reach the second preset times, directly end.

[0092] Step S490: Determine the actual location information as the second commuting location of the vehicle. Then end.

[0093] Exemplarily, the second commuting location "company" is determined in the following manner: when the current time information is within the second preset time period, the historical stored location information obtained is the second historical stored location information; at the same time, the current location information of the vehicle is obtained through the vehicle-mounted communication module, and the validity of the current location information is judged to determine the actual location information of the vehicle; then the relative distance between the actual location information and the second historical stored location information is obtained. If the relative distance is less than 1 km, the second historical stored location information is confirmed once; if the relative distance is greater than or equal to 1 km, the actual location information is confirmed once; when the confirmation count of the second historical stored location information reaches 3 times first, the second historical stored location information is determined as the second commuting location "company" of the vehicle; when the confirmation count of the actual location information reaches 5 times first, the actual location information is determined as the second commuting location "company" of the vehicle.

[0094] Optionally, after determining the commuting location of the vehicle according to the confirmation count of the historical stored location information or the confirmation count of the actual location information, it further includes: clearing the cumulative value of the confirmation count of the historical stored location information and the cumulative value of the confirmation count of the actual location information. This can facilitate the subsequent game learning of the vehicle commuting location.

[0095] Combined with Figure 5 shown in Figure 5 is a schematic diagram of the game learning process of the commuting location provided in the embodiment of the present disclosure; Figure 5 where the commuting location is "home", when the actual location information is B1 and the first historical stored location information is A, from Figure 5 it can be seen that in the first 4 relative distance judgments between the actual location information B1 and the first historical stored location information A, they are all greater than or equal to the preset threshold. Therefore, the cumulative confirmation count of the actual location information B1 reaches 4 times. In the relative distance judgments from the 5th to the 7th time, they are all less than the preset threshold. Therefore, the cumulative confirmation count of the first historical stored location information A reaches the first preset count of 3 times, and the cumulative confirmation count of the actual location information B1 decreases from 4 times to 1 time. Then the first historical stored location information A is determined as the first commuting location "home", and the cumulative confirmation count is cleared.

[0096] When the actual location information is B2 and the first historical stored location information is A, from Figure 5It can be seen that in the judgment of the first relative distance between the actual location information B2 and the first historical storage location information A, it is less than the preset threshold, so the cumulative confirmation count of the actual location information B2 is 1 time; in the judgment of the second relative distance between the actual location information B2 and the first historical storage location information A, it is greater than or equal to the preset threshold, so the cumulative confirmation count of the actual location information B2 is reduced by 1 time, and the cumulative confirmation count of the first historical storage location information A is increased by 1 time; in the judgment of the relative distances from the 3rd to the 7th between the actual location information B2 and the first historical storage location information A, they are all less than the preset threshold, so the cumulative confirmation count of the actual location information B2 reaches the second preset count of 5 times, then the actual location information B2 is determined as the first commuting location "home", and the cumulative confirmation count is cleared.

[0097] In the case where the actual location information is B3 and the first historical storage location information is A, from Figure 5 it can be seen that the cumulative confirmation count of the first historical storage location information A reaches the first preset count of 3 times first, then the first historical storage location information A is determined as the first commuting location "home".

[0098] Combined with Figure 6 As shown, in another exemplary embodiment of the present application, a device for determining the commuting location of a vehicle is further provided. The device includes: an acquisition module 610, a judgment module 620, a first determination module 630, and a second determination module 640. The acquisition module 610 is configured to acquire the current location information and current time information of the vehicle when it is detected that the vehicle starts; the judgment module 620 is configured to perform a validity judgment on the current location information to obtain a judgment result; the first determination module 630 is configured to determine the actual location information of the vehicle according to the judgment result; the second determination module 640 is configured to determine the commuting location of the vehicle according to the actual location information and the current time information.

[0099] Further, the acquisition module 610 is configured to acquire the current location information of the vehicle in the following manner: use a preset vehicle-mounted communication module to acquire the longitude signal and latitude signal of the vehicle; perform signal filtering processing on the longitude signal and latitude signal to obtain the current location information.

[0100] Further, the judgment module 620 is configured to perform a validity judgment on the current location information in the following manner to obtain a judgment result: use a preset vehicle-mounted communication module to acquire the valid bit information of the longitude signal and the valid bit information of the latitude signal; when the valid bit information of the longitude signal and / or the valid bit information of the latitude signal is the first preset threshold, determine that the judgment result is that the current location information is invalid; and / or, when the valid bit information of the longitude signal and the valid bit information of the latitude signal are both the second preset threshold, determine that the judgment result is that the current location information is valid.

[0101] Further, the first determination module 630 is configured to determine the actual position information of the vehicle according to the determination result in the following manner: when the determination result is that the current position information is valid, determine the current position information as the actual position information; and / or, when the determination result is that the current position information is invalid, obtain the historical parking position information closest to the current time information, and determine the historical parking position information as the actual position information.

[0102] Further, the second determination module 640 is configured to determine the commuting position of the vehicle according to the actual position information and the current time information in the following manner: when the current time information is within a preset time period, obtain the historical storage position information; obtain the relative distance between the actual position information and the historical storage position information; determine the commuting position of the vehicle according to the relative distance.

[0103] Further, the second determination module 640 is configured to determine the commuting position of the vehicle according to the relative distance in the following manner: when the relative distance is less than a preset threshold, confirm the historical storage position information once; and / or, when the relative distance is greater than or equal to the preset threshold, confirm the actual position information once; accumulate the confirmation times of the historical storage position information and the confirmation times of the actual position information; determine the commuting position of the vehicle according to the confirmation times of the historical storage position information or the confirmation times of the actual position information.

[0104] Further, the second determination module 640 is configured to determine the commuting position of the vehicle according to the confirmation times of the historical storage position information or the confirmation times of the actual position information in the following manner: when the confirmation times of the historical storage position information first reach a first preset number of times, determine the historical storage position information as the commuting position of the vehicle; and / or, when the confirmation times of the actual position information first reach a second preset number of times, determine the actual position information as the commuting position of the vehicle.

[0105] It should be noted that the device for determining the commuting position of the vehicle provided in the above embodiment and the method for determining the commuting position of the vehicle provided in the above embodiment belong to the same concept. The specific manners in which each module and unit perform operations have been described in detail in the method embodiment, and will not be elaborated here. In practical applications, the device for determining the commuting position of the vehicle provided in the above embodiment can, according to needs, allocate the above functions to different functional modules, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above. This is not limited here either.

[0106] Embodiments of the present application also provide an electronic device, including: one or more processors; a memory for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the method for determining the vehicle commuting location provided in each of the above embodiments.

[0107] The present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the network device traffic control method as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist separately without being assembled into the electronic device.

[0108] Combined Figure 7 as shown Figure 7 FIG. shows a schematic structural diagram of a vehicle in an embodiment of the present application. As Figure 7 shown, the vehicle in the embodiment of the present application includes an electronic device 700, and the electronic device 700 may include one or more of the following components: a processor 701, a memory 702, and one or more application programs. Among them, one or more application programs may be stored in the memory 702 and configured to be executed by one or more processors 701, and one or more application programs are configured to execute the method for determining the vehicle commuting location described in the foregoing method embodiments.

[0109] The processor 701 may include one or more processing cores. The processor 701 connects various parts of the entire vehicle through various interfaces and lines, and by running or executing instructions, programs, code sets, or instruction sets stored in the memory 702, and calling data stored in the memory 702, it executes various functions of the vehicle and processes data. Optionally, the processor 701 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 701 may integrate a combination of one or more of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs, etc.; the GPU is responsible for rendering and drawing the display content; the modem is used to process wireless communication. It can be understood that the above modem may not be integrated into the processor 701 and may be implemented separately through a communication chip.

[0110] The memory 702 may include a Random Access Memory (RAM), or may also include a Read-Only Memory. The memory 702 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory 702 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the above various method embodiments, etc. The data storage area may also store data created during the use of the vehicle.

[0111] It should be noted that the computer-readable storage medium shown in the embodiments of the present application may include, but is not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. The computer program included on the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0112] The above content is only a preferred exemplary embodiment of the present application and is not used to limit the implementation of the present application. Those of ordinary skill in the art can easily make corresponding adaptations or modifications according to the main concept and spirit of the present application. Therefore, the protection scope of the present application should be subject to the protection scope required by the claims.

Claims

1. A method for determining a vehicle commuting position, characterized in that include: When the vehicle is detected to be started, the current position information and current time information of the vehicle are obtained; Performing validity judgment on the current location information to obtain a judgment result; Determine the actual position information of the vehicle according to the judgment result; determining a commuting location of the vehicle based on the actual location information and the current time information; The determining the commuting position of the vehicle according to the actual position information and the current time information comprises: When the current time information is within a preset time period, obtaining historical storage location information; Acquire the relative distance between the actual location information and the historically stored location information; When the relative distance is less than a preset threshold, the historically stored location information is confirmed once; and / or, when the relative distance is greater than or equal to a preset threshold, the actual location information is confirmed once; Accumulating the number of confirmations of the historical storage location information and the number of confirmations of the actual location information; The commuting position of the vehicle is determined according to the number of confirmations of the historically stored position information or the number of confirmations of the actual position information.

2. The method according to claim 1, characterized in that Get the vehicle's current location information, including: Using a preset vehicle communication module to obtain the longitude and latitude signals of the vehicle; Signal filtering is performed on the longitude signal and the latitude signal to obtain current position information.

3. The method according to claim 2, characterized in that The validity of the current location information is judged to obtain a judgment result, including: Acquiring the valid bit information of the longitude signal and the valid bit information of the latitude signal by using a preset vehicle-mounted communication module; When the valid bit information of the longitude signal and / or the valid bit information of the latitude signal is at a first preset threshold, determining that the current position information is invalid; and / or, In a case where both the valid bit information of the longitude signal and the valid bit information of the latitude signal are within the second preset threshold, it is determined that the current position information is valid.

4. The method according to claim 3, characterized in that Determining the actual position information of the vehicle according to the judgment result includes: If the judgment result is that the current location information is valid, determining the current location information as the actual location information; and / or, When the judgment result is that the current position information is invalid, the historical parking position information closest to the current time information is acquired, and the historical parking position information is determined as the actual position information.

5. The method according to claim 1, characterized in that: Determining the commuting position of the vehicle according to the number of confirmations of the historically stored position information or the number of confirmations of the actual position information includes: When the number of confirmations of the historical storage location information reaches a first preset number first, determining the historical storage location information as the commuting location of the vehicle; and / or, When the number of confirmations of the actual location information reaches a second preset number first, the actual location information is determined as the commuting location of the vehicle; and the second preset number is greater than the first preset number.

6. A device for determining a vehicle commuting position, characterized in that: include: An acquisition module is configured to acquire the current position information and current time information of the vehicle when detecting that the vehicle is started; A judgment module is configured to judge the validity of the current location information and obtain a judgment result; A first determination module is configured to determine the actual position information of the vehicle according to the judgment result; a second determination module, configured to determine a commuting location of the vehicle based on the actual location information and the current time information; The determining the commuting position of the vehicle according to the actual position information and the current time information comprises: When the current time information is within a preset time period, obtaining historical storage location information; Acquire the relative distance between the actual location information and the historically stored location information; When the relative distance is less than a preset threshold, the historically stored location information is confirmed once; and / or, when the relative distance is greater than or equal to a preset threshold, the actual location information is confirmed once; Accumulating the number of confirmations of the historical storage location information and the number of confirmations of the actual location information; The commuting position of the vehicle is determined according to the number of confirmations of the historically stored position information or the number of confirmations of the actual position information.

7. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the method for determining the vehicle commuting position as described in any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for determining a vehicle commuting position according to any one of claims 1 to 5 is implemented.

9. A vehicle, characterized in that: The electronic device according to claim 7 is provided in the vehicle.

Citation Information

Patent Citations

  • Commuting rule obtaining method and device, electronic equipment and storage medium

    CN111143779A

  • Vehicle accurate position acquisition method and system, readable storage medium and vehicle

    CN114383620A