Vehicle trip calibration method and device and storage medium
By acquiring vehicle travel routes and calibrating vehicle travel based on distance and duration conditions, the problems of high cost and lag in existing technologies are solved, and automated vehicle travel calibration is achieved.
Patent Information
- Application Number
- CN202211329564.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-27
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2042-10-27
AI Technical Summary
In existing technologies, calibrating the actual travel distance of vehicles is costly and has a time lag, making it difficult to promote widely.
By obtaining the vehicle's route, the distance and travel time between the starting point and the destination can be determined, and the vehicle's journey can be calibrated using preset conditions, thereby reducing labor costs.
It enables automatic calibration of the vehicle's actual journey, reducing labor costs and improving efficiency.
Smart Images

Figure CN115599876B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of Internet of Vehicles, and particularly to a vehicle trip calibration method and device and a storage medium. BACKGROUND
[0002] With the rapid development of Internet of Vehicles and big data technology, it becomes easier to obtain data of a vehicle in a driving process, including time, geographical position and driving speed.
[0003] However, how to calibrate a real vehicle trip (also referred to as a real business trip, i.e., a driving process of completing a real transportation) from massive data is still difficult. In the prior art, a manual investigation of a vehicle trip is usually needed to calibrate a real vehicle trip. However, the manual investigation is costly and has a lag, and therefore cannot be widely promoted. SUMMARY
[0004] The present application provides a vehicle trip calibration method and device and a storage medium, which are committed to calibrating a real vehicle trip by using technical means, so as to reduce labor costs.
[0005] To achieve the above object, the present application adopts the following technical solutions:
[0006] In a first aspect, a vehicle trip calibration method is provided, which includes: obtaining a trip route of a vehicle; the trip route includes a starting point and a plurality of trip points; determining a first distance between the starting point and a first trip point, and a second distance between the starting point and a second trip point; the first trip point and the second trip point are any two adjacent trip points in the plurality of trip points, and a time at which the vehicle passes the first trip point is before a time at which the vehicle passes the second trip point; in a case where the first distance is greater than the second distance, and a driving duration of the vehicle from the first trip point to the second trip point is greater than a preset duration, calibrating a vehicle trip based on the starting point and the first trip point.
[0007] Optionally, obtaining the trip route of the vehicle includes: obtaining driving information of the vehicle in a preset time period; the driving information includes a position and a speed of the vehicle; and obtaining the trip route of the vehicle based on the driving information of the vehicle.
[0008] Optionally, obtaining the trip route of the vehicle based on the driving information of the vehicle includes: determining a position corresponding to a starting time in the preset time period as the starting point; determining a position corresponding to a change in a start-stop state of the vehicle in the preset time as a trip point based on the speed.
[0009] Optionally, the start-stop state includes a start state and an off state; the determining the start-stop state of the vehicle according to the rotating speed includes: determining that the vehicle is in the start state when the rotating speed is greater than or equal to a preset rotating speed; and determining that the vehicle is in the off state when the rotating speed is less than the preset rotating speed.
[0010] Optionally, the determining the first distance between the start point and the first travel point and the second distance between the start point and the second travel point includes: obtaining a position of the start point, a position of the first travel point, and a position of the second travel point; calculating the first distance between the start point and the first travel point according to the position of the start point, the position of the first travel point, and a preset distance formula, and calculating the second distance between the start point and the second travel point according to the position of the start point, the position of the second travel point, and the preset distance formula.
[0011] In a second aspect, a vehicle travel calibration device is provided, which includes an obtaining unit, a determining unit, and a processing unit; the obtaining unit is configured to obtain a travel route of a vehicle; the travel route includes a start point and a plurality of travel points; the determining unit is configured to determine a first distance between the start point and a first travel point and a second distance between the start point and a second travel point; the first travel point and the second travel point are any two adjacent travel points in the plurality of travel points, and a time at which the vehicle passes the first travel point is before a time at which the vehicle passes the second travel point; and the processing unit is configured to calibrate a vehicle travel based on the start point and the first travel point when the first distance is greater than the second distance and a driving duration of the vehicle from the first travel point to the second travel point is greater than a preset duration.
[0012] Optionally, the obtaining unit is specifically configured to: obtain driving information of the vehicle in a preset time period; the driving information includes a position and a rotating speed of the vehicle; and obtain the travel route of the vehicle according to the driving information of the vehicle.
[0013] Optionally, the obtaining unit is specifically configured to: determine a position corresponding to a start time in the preset time period as the start point; and determine a position corresponding to a change of the start-stop state of the vehicle in the preset time as a travel point according to the start-stop state of the vehicle.
[0014] Optionally, the start-stop state includes a start state and an off state; the obtaining unit is specifically configured to: determine that the vehicle is in the start state when the rotating speed is greater than or equal to a preset rotating speed; and determine that the vehicle is in the off state when the rotating speed is less than the preset rotating speed.
[0015] Optionally, the determining unit is specifically configured to: acquire the position of the starting point, the position of the first travel point, and the position of the second travel point; calculate a first distance between the starting point and the first travel point according to the position of the starting point, the position of the first travel point, and a preset distance formula; and calculate a second distance between the starting point and the second travel point according to the position of the starting point, the position of the second travel point, and the preset distance formula.
[0016] In a third aspect, an electronic device is provided, comprising: a processor, and a memory storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the vehicle travel calibration method of the first aspect.
[0017] In a fourth aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores instructions. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the vehicle travel calibration method of the first aspect.
[0018] The technical scheme provided by the embodiments of the present application at least brings the following beneficial effects: the vehicle travel calibration device acquires a travel route including a starting point and a plurality of travel points. Further, the vehicle travel calibration device determines a first distance between the starting point and a first travel point, and a second distance between the starting point and a second travel point; wherein the first travel point and the second travel point are any two adjacent travel points in the plurality of travel points, and the time when the vehicle passes the first travel point is before the time when the vehicle passes the second travel point. In the case that the first distance is greater than the second distance, and the driving duration of the vehicle from the first travel point to the second travel point is greater than a preset duration, the vehicle travel calibration device calibrates a vehicle travel based on the starting point and the first travel point. That is, when the distance between the starting point and the travel point starts to decrease, and the corresponding travel duration is relatively long, it is considered that the vehicle has entered a new travel, and therefore, the last travel point and the starting point are calibrated as a real travel of a vehicle. In this way, the present application realizes the calibration of the real vehicle travel by technical means, thereby reducing the labor cost. BRIEF DESCRIPTION OF DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the drawings needed in the embodiments or the prior art description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative effort.
[0020] Figure 1 A structure schematic diagram of a vehicle networking system provided by the embodiments of the present application is provided.
[0021] Figure 2A flowchart illustrating a vehicle trip calibration method provided in this application embodiment. Figure 1 ;
[0022] Figure 3 A schematic diagram of a travel route provided in this application embodiment. Figure 1 ;
[0023] Figure 4 A schematic diagram of a travel route provided in this application embodiment. Figure 2 ;
[0024] Figure 5 A flowchart illustrating a vehicle trip calibration method provided in this application embodiment. Figure 2 ;
[0025] Figure 6 This is a schematic diagram of the structure of a vehicle travel calibration device provided in an embodiment of this application;
[0026] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0027] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0028] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0029] It should also be noted that in the embodiments of this application, "of", "corresponding", and "corresponding" can sometimes be used interchangeably. It should be pointed out that when their differences are not emphasized, their meanings are consistent.
[0030] To facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with essentially the same function and effect. Those skilled in the art can understand that the terms "first" and "second" are not intended to limit the quantity or execution order.
[0031] Before providing a detailed explanation of the embodiments of this application, some related technologies involved in the embodiments of this application will be introduced first.
[0032] Vehicle Internet of Things (V2X): The concept of V2X originates from the Internet of Things, namely the Internet of Vehicles. It uses vehicles in motion as information sensing objects and leverages next-generation information and communication technologies to achieve network connections between vehicles and X (i.e., vehicles, people, roads, and service platforms). This improves the overall intelligent driving level of vehicles, provides users with a safe, comfortable, intelligent, and efficient driving experience and transportation services, and at the same time improves traffic operation efficiency and enhances the intelligence level of social transportation services.
[0033] The Internet of Vehicles (IoV) utilizes next-generation information and communication technologies to achieve comprehensive network connectivity between vehicles and cloud platforms, between vehicles themselves, between vehicles and roads, between vehicles and people, and within vehicles. It primarily achieves "triple play," integrating the in-vehicle network, the inter-vehicle network, and the in-vehicle mobile internet. The IoV uses sensing technology to perceive vehicle status information and leverages wireless communication networks and modern intelligent information processing technologies to achieve intelligent traffic management, intelligent decision-making for traffic information services, and intelligent vehicle control.
[0034] Big data, also known as massive data, refers to data of such a large scale that it is impossible to capture, manage, process, and organize it into information that helps users make more proactive decisions within a reasonable timeframe using mainstream software tools.
[0035] With the rapid development of vehicle networking and big data technologies, it has become increasingly easy to obtain data on vehicles during their operation (including driving time, geographical location, speed, etc.).
[0036] However, it remains difficult to pinpoint the actual vehicle journey (also known as the actual business journey, i.e. the actual transportation process of a vehicle) based on massive amounts of data.
[0037] For example, a vehicle loads goods, departs from point A, passes through point B, arrives at point C, and unloads the goods. Then, the vehicle returns to point B to rest. From a data perspective, the vehicle's route is: A→B→C→B. However, identifying the vehicle's actual operational journey from this route to understand the actual process of a single transport operation, and thus laying the groundwork for improving transportation efficiency and reducing costs, is clearly beyond the scope of data analysis alone.
[0038] In some related technologies, the actual vehicle journey can be determined by manually investigating the vehicle's route. For example, through manual investigation, it is learned that the vehicle's transportation task was to transport goods from point A to point C, and after completing the transport, the vehicle went to point B for rest. Therefore, after obtaining the vehicle's route as A→B→C→B, this route can be marked to obtain the vehicle's actual journey as A→B→C.
[0039] However, manual surveys are costly and have a time lag, so they cannot be widely adopted.
[0040] In view of this, this application provides a vehicle travel calibration method, which aims to use technical means to calibrate the actual travel of a vehicle, thereby reducing labor costs.
[0041] The vehicle trip calibration provided in this application embodiment can be applied to vehicle networking systems. Figure 1 A schematic diagram of one structure of the vehicle networking system is shown. For example... Figure 1 As shown, the vehicle networking system 10 includes a vehicle 11, a server 12, and a vehicle trip calibration (hereinafter referred to as calibration device) 13. The vehicle 11 is communicatively connected to the server 12, and the server 12 is communicatively connected to the calibration device 13.
[0042] Vehicle 11 is equipped with intelligent in-vehicle devices, such as a Telematics Box (T-BOX), which can acquire real-time data such as vehicle location, mileage, fuel consumption, and engine speed, and send this data to server 12.
[0043] Server 12 can be a standalone server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0044] The calibration device 13 can be any electronic device with data processing capabilities, including but not limited to tablet computers, desktop computers, laptop computers, handheld computers, etc.
[0045] In different application scenarios, the server 12 and the calibration device 13 can be independent devices or integrated into the same device. This application embodiment does not specifically limit this.
[0046] When server 12 and calibration device 13 are integrated into the same device, the data transmission method between server 12 and calibration device 13 is the same as the data transmission between modules within the device. In this case, the data transmission process between the two is the same as the data transmission process when server 12 and calibration device 13 are independent of each other.
[0047] In the following embodiments provided in this application, the server 12 and the calibration device 13 are described as being configured independently of each other.
[0048] Figure 2 This is a flowchart illustrating a vehicle trip calibration method according to some exemplary embodiments. In some embodiments, the above-described vehicle trip calibration method can be applied to, for example... Figure 1 The calibration device and server shown can also be applied to other similar devices.
[0049] like Figure 2 As shown, the vehicle travel calibration method provided in this application includes the following steps S201-S203.
[0050] S201, The calibration device obtains the vehicle's travel route.
[0051] The itinerary includes a starting point and multiple travel points.
[0052] As one possible implementation, the calibration device obtains the vehicle's travel route from the server.
[0053] For example, the server receives real-time driving information reported by the vehicle. This driving information may include the vehicle's location, engine speed, fuel consumption, mileage, etc. Furthermore, the server processes the driving information over a period of time to obtain the travel route, including the starting point and multiple travel points. Therefore, the calibration device can obtain the vehicle's travel route from the server.
[0054] like Figure 3 As shown, a travel route is illustrated, which includes a starting point 1, a travel point 2, and a travel point 3. The starting point 1 represents the vehicle's initial position, the travel point 2 represents a position of the vehicle during its journey, and the travel point 3 represents another position of the vehicle during its journey.
[0055] As another possible implementation, the calibration device obtains the vehicle's driving information within a preset time period from the server, and obtains the vehicle's travel route based on the obtained information.
[0056] The specific implementation method of this step can be found in the following embodiments, and will not be repeated here.
[0057] Understandably, the above-mentioned route is obtained by the calibration device or server based on a large amount of vehicle driving data. This route is relatively generalized and has low representativeness, and cannot reflect the actual driving process of the vehicle completing a transportation trip.
[0058] S202, The calibration device determines the first distance between the starting point and the first travel point, and the second distance between the starting point and the second travel point.
[0059] The first travel point and the second travel point are any two adjacent travel points among multiple travel points, and the time when the vehicle passes through the first travel point is before the time when the vehicle passes through the second travel point.
[0060] As one possible implementation, the calibration device acquires the position of the starting point, the position of the first travel point, and the position of the second travel point. Further, the calibration device calculates a first distance between the starting point and the first travel point based on the position of the starting point, the position of the first travel point, and a preset distance formula; and calculates a second distance between the starting point and the second travel point based on the position of the starting point, the position of the second travel point, and the preset distance formula.
[0061] For example, such as Figure 4 The diagram illustrates the distances between travel points. Solid lines represent the vehicle's travel route, which includes starting point 1, travel point 1, travel point 2, travel point 3, and travel point 4. Dashed lines represent the distances between starting point 1 and each travel point.
[0062] In some embodiments, the positions of the starting point and travel points can be represented by latitude and longitude. After obtaining the latitude and longitude of the starting point and each travel point, the calibration device can calculate the distance between the starting point and any travel point according to the Haversine formula or the Vincenty formula.
[0063] It should be noted that while the Vincenty formula offers higher accuracy than the Haversine formula, it also has greater complexity and requires more computation. The Haversine formula, while simpler and not achieving the same level of accuracy as the Vincenty formula, reduces computational complexity. This application does not limit the choice of formula in its embodiments.
[0064] For example, the calibration device can calculate the distance between the starting point and any travel point according to the Haversine formula, as follows:
[0065]
[0066] Where d represents the distance between the two points, and r represents the Earth's radius. λ1 and λ2 represent the latitude of the starting point (in radians) and the latitude of the travel point (in radians), respectively.
[0067] S203. When the first distance is greater than the second distance and the travel time from the first travel point to the second travel point is greater than the preset time, the calibration device calibrates one vehicle journey based on the starting point and the first travel point.
[0068] As one possible implementation, the calibration device compares a first distance with a second distance to determine whether the first distance is greater than the second distance. If the first distance is greater than the second distance, the calibration device obtains the travel time of the vehicle from the first travel point to the second travel point and determines whether this travel time is greater than a preset time. If the travel time is greater than the preset time, the calibration device calibrates the journey between the starting point and the first travel point as one actual journey of the vehicle (i.e., completing one actual transportation trip).
[0069] For example, refer to Figure 4 As the vehicle travels from starting point 1 to travel points 1, 2, and 3, the distance between the starting point and each travel point continuously increases. However, when the vehicle reaches travel point 4, the distance between the starting point and the travel point has decreased, and the travel time from travel point 3 to travel point 4 exceeds 30 minutes. Therefore, the calibration device uses the journey from starting point 1 to travel point 3 as a true journey for calibration, thus defining a true journey. Travel point 3 can then be used as the starting point for the next true journey, and calibration can begin anew.
[0070] The embodiments of this application provide at least the following beneficial effects: The vehicle trip calibration device acquires a trip route including a starting point and multiple trip points. Further, the vehicle trip calibration device determines a first distance between the starting point and a first trip point, and a second distance between the starting point and a second trip point; wherein the first and second trip points are any two adjacent trip points among the multiple trip points, and the time the vehicle passes the first trip point is before the time the vehicle passes the second trip point. When the first distance is greater than the second distance, and the travel time from the first trip point to the second trip point is greater than a preset time, the vehicle trip calibration device calibrates a vehicle trip based on the starting point and the first trip point. That is, when the distance between the starting point and the trip point begins to decrease, and the corresponding travel time is relatively long, it is considered that the vehicle has entered a new trip; therefore, the previous trip point and the starting point are calibrated as a real vehicle trip. In this way, this application utilizes technical means to calibrate the real vehicle trip, thereby reducing labor costs.
[0071] In one design, in order to obtain the vehicle's travel route, such as Figure 5 As shown, S201 specifically includes S2011-S2012.
[0072] S2011, The calibration device acquires the vehicle's driving information within a preset time period.
[0073] The driving information includes the vehicle's location and engine speed.
[0074] As one possible implementation, the calibration device obtains the vehicle's driving information within a preset time period from the server.
[0075] In some embodiments, the server can receive raw driving data reported by vehicles in real time, parse and transform the raw driving data into formatted data, and store it in a data warehouse (such as a Hive table) for later use. Since the raw driving data reported by vehicles may contain omissions, missing data, deviations, or data formats that are not directly usable, the server also needs to perform data warehouse techniques (Extract-Transform-Load, ETL) operations such as cleaning, filtering, and transformation on the raw driving data reported by vehicles. Furthermore, the server utilizes big data distributed technologies such as Spark and Hive to process the massive amounts of raw driving data to a usable level, enabling the calibration device to successfully obtain the vehicle's driving information within a preset time period from the server.
[0076] S2012. The calibration device obtains the vehicle's travel route based on the vehicle's driving information.
[0077] As one possible implementation, the calibration device determines the starting point as the position corresponding to the start time of the vehicle within a preset time period. Furthermore, the calibration device determines the vehicle's start-stop state based on its rotational speed, and determines the travel points as the positions corresponding to changes in the start-stop state within the preset time period.
[0078] The start / stop status includes the start status and the off status.
[0079] Specifically, when the engine speed is greater than or equal to the preset speed, the calibration device determines that the vehicle is in the starting state; when the engine speed is less than the preset speed, the calibration device determines that the vehicle is in the off state.
[0080] For example, assuming a preset engine speed of 500 rpm, the calibration device determines that the vehicle is in a running state when the vehicle speed is greater than or equal to 500 rpm; and determines that the vehicle is in a turned-off state when the vehicle speed is less than 500 rpm. Furthermore, the calibration device determines the positions corresponding to the changes in start-stop state within a preset time period as travel points.
[0081] Understandably, if the vehicle's engine speed remains above 500 rpm for a period of time, the calibration device can determine that the vehicle is in operation. Connecting the points where the vehicle is in operation consecutively forms an operating cycle, until the vehicle is turned off. Therefore, the calibration device only needs to determine the positions corresponding to the changes in start-stop status and use these positions as travel points to obtain the vehicle's travel route.
[0082] The above embodiments mainly describe the solutions provided by the embodiments of this application from the perspective of an apparatus (device). It is understood that, in order to implement the above methods, the apparatus or device includes hardware structures and / or software modules corresponding to the execution of each method flow. These hardware structures and / or software modules corresponding to the execution of each method flow can constitute a material information determination apparatus. Those skilled in the art should readily recognize that, in conjunction with the algorithm steps of the various examples described in the embodiments of the invention herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software-driven hardware manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0083] This application embodiment can divide the device or equipment into functional modules according to the above method examples. For example, the device or equipment can be divided into functional modules corresponding to each function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0084] Figure 6 This is a schematic diagram illustrating the structure of a vehicle travel calibration device according to an exemplary embodiment. (Refer to...) Figure 6 As shown, the vehicle trip calibration device 30 provided in this application embodiment includes an acquisition unit 301, a determination unit 302, and a processing unit 303.
[0085] The acquisition unit 301 is used to acquire the vehicle's travel route; the travel route includes a starting point and multiple travel points; the determination unit 302 is used to determine a first distance between the starting point and a first travel point, and a second distance between the starting point and a second travel point; the first travel point and the second travel point are any two adjacent travel points among the multiple travel points, and the time when the vehicle passes through the first travel point is before the time when the vehicle passes through the second travel point; the processing unit 303 is used to mark a vehicle journey based on the starting point and the first travel point when the first distance is greater than the second distance and the travel time from the first travel point to the second travel point is greater than a preset time.
[0086] Optionally, the acquisition unit 301 is specifically used to: acquire the vehicle's driving information within a preset time period; the driving information includes the vehicle's position and rotational speed; and obtain the vehicle's travel route based on the vehicle's driving information.
[0087] Optionally, the acquisition unit 301 is specifically used to: determine the position corresponding to the start time of the vehicle within a preset time period as the starting point; determine the start-stop state of the vehicle based on the rotation speed, and determine the position corresponding to the change in the start-stop state of the vehicle within the preset time period as the travel point.
[0088] Optionally, the start-stop state includes a start state and a stop state; the acquisition unit 301 is specifically used to: determine that the vehicle is in a start state when the speed is greater than or equal to a preset speed; and determine that the vehicle is in a stop state when the speed is less than the preset speed.
[0089] Optionally, the determining unit 302 is specifically used to: obtain the position of the starting point, the position of the first travel point, and the position of the second travel point; calculate the first distance between the starting point and the first travel point based on the position of the starting point, the position of the first travel point, and a preset distance formula; and calculate the second distance between the starting point and the second travel point based on the position of the starting point, the position of the second travel point, and the preset distance formula.
[0090] Figure 7 This is a schematic diagram of the structure of an electronic device provided in this application. For example... Figure 7 The electronic device 40 may include at least one processor 401 and a memory 402 for storing processor-executable instructions, wherein the processor 401 is configured to execute the instructions in the memory 402 to implement the vehicle trip calibration method in the above embodiments.
[0091] In addition, the electronic device 40 may also include a communication bus 403 and at least one communication interface 404.
[0092] Processor 401 may be a processor (central processing unit, CPU), microprocessor unit, ASIC, or one or more integrated circuits for controlling the execution of programs according to the present application.
[0093] The communication bus 403 may include a path for transmitting information between the aforementioned components.
[0094] Communication interface 404 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
[0095] The memory 402 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory may exist independently and be connected to the processor 401 via a bus. The memory may also be integrated with the processor 401.
[0096] The memory 402 stores instructions for executing the scheme of this application, and the processor 401 controls the execution. The processor 401 executes the instructions stored in the memory 402 to realize the functions of the method of this application.
[0097] As an example, combined Figure 6 The functions implemented by the acquisition unit 301 and the determination unit 302 in the vehicle trip calibration device 30 are the same as those of the acquisition unit 301 and the determination unit 302. Figure 7 The processor 401 in it has the same function.
[0098] In a specific implementation, as one example, processor 401 may include one or more CPUs, for example... Figure 7 CPU0 and CPU1 in the CPU.
[0099] In a specific implementation, as one example, the electronic device 40 may include multiple processors, such as... Figure 7 Processors 401 and 407 are described herein. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor here may refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).
[0100] In a specific implementation, as one embodiment, the electronic device 40 may further include an output device 405 and an input device 406. The output device 405 communicates with the processor 401 and can display information in various ways. For example, the output device 405 may be a liquid crystal display (LCD), a light-emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector, etc. The input device 406 communicates with the processor 401 and can accept input from user objects in various ways. For example, the input device 406 may be a mouse, keyboard, touchscreen device, or sensing device, etc.
[0101] Those skilled in the art will understand that Figure 7 The structure shown does not constitute a limitation on the electronic device 40, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0102] In addition, this application also provides a computer-readable storage medium that, when the instructions in the computer-readable storage medium are executed by the processor of an electronic device, enables the electronic device to perform the vehicle trip calibration method provided in the above embodiments.
[0103] In addition, this application also provides a computer program product, including computer instructions, which, when executed on an electronic device, cause the electronic device to perform the vehicle trip calibration method provided in the above embodiments.
[0104] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention described herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not invented herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the claims.
Claims
1. A method for calibrating vehicle travel distance, characterized in that, The method includes: Obtain the vehicle's travel route; the travel route includes a starting point and multiple travel points; Determine a first distance between the starting point and the first travel point, and a second distance between the starting point and the second travel point; the first travel point and the second travel point are any two adjacent travel points among the plurality of travel points, and the time when the vehicle passes the first travel point is before the time when the vehicle passes the second travel point; If the first distance is greater than the second distance, and the travel time of the vehicle from the first travel point to the second travel point is greater than a preset time, a vehicle journey is marked based on the starting point and the first travel point; The process of obtaining the vehicle's route includes: Acquire the vehicle's driving information within a preset time period; the driving information includes the vehicle's position and rotational speed. The starting point is determined as the location of the vehicle corresponding to the start time within the preset time period. The start-stop state of the vehicle is determined based on the rotational speed, and the position corresponding to the change in the start-stop state of the vehicle within the preset time period is determined as the travel point.
2. The vehicle travel calibration method according to claim 1, characterized in that, The start-stop state includes a start state and an off state; determining the vehicle's start-stop state based on the engine speed includes: If the rotational speed is greater than or equal to a preset rotational speed, the vehicle is determined to be in a starting state. If the engine speed is less than the preset engine speed, the vehicle is determined to be in a turned-off state.
3. The vehicle travel calibration method according to any one of claims 1-2, characterized in that, Determining the first distance between the starting point and the first travel point, and the second distance between the starting point and the second travel point, includes: Obtain the position of the starting point, the position of the first travel point, and the position of the second travel point; The first distance between the starting point and the first travel point is calculated based on the position of the starting point, the position of the first travel point, and the preset distance formula. The second distance between the starting point and the second travel point is calculated based on the position of the starting point, the position of the second travel point, and the preset distance formula.
4. A vehicle travel calibration device, characterized in that, The vehicle travel calibration device includes an acquisition unit, a determination unit, and a processing unit; The acquisition unit is used to acquire the vehicle's travel route; the travel route includes a starting point and multiple travel points; The determining unit is used to determine a first distance between the starting point and the first travel point, and a second distance between the starting point and the second travel point; the first travel point and the second travel point are any two adjacent travel points among the plurality of travel points, and the time when the vehicle passes the first travel point is before the time when the vehicle passes the second travel point; The processing unit is configured to, when the first distance is greater than the second distance and the travel time of the vehicle from the first travel point to the second travel point is greater than a preset time, mark a vehicle journey based on the starting point and the first travel point; The acquisition unit is specifically used for: Acquire the vehicle's driving information within a preset time period; the driving information includes the vehicle's position and rotational speed. The starting point is determined as the location of the vehicle corresponding to the start time within the preset time period. The start-stop state of the vehicle is determined based on the rotational speed, and the position corresponding to the change in the start-stop state of the vehicle within the preset time period is determined as the travel point.
5. The vehicle travel calibration device according to claim 4, characterized in that, The start / stop state includes a start state and an engine shutdown state; the acquisition unit is specifically used for: If the rotational speed is greater than or equal to a preset rotational speed, the vehicle is determined to be in a starting state. If the engine speed is less than the preset engine speed, the vehicle is determined to be in a turned-off state.
6. The vehicle travel calibration device according to any one of claims 4-5, characterized in that, The determining unit is specifically used for: Obtain the position of the starting point, the position of the first travel point, and the position of the second travel point; The first distance between the starting point and the first travel point is calculated based on the position of the starting point, the position of the first travel point, and the preset distance formula. The second distance between the starting point and the second travel point is calculated based on the position of the starting point, the position of the second travel point, and the preset distance formula.
7. An electronic device, characterized in that, include: A processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute instructions to implement the vehicle travel calibration method according to any one of claims 1-3.
8. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the vehicle travel calibration method as described in any one of claims 1-3.
Citation Information
Patent Citations
Vehicle travel calibration method and device and computer-readable storage medium
CN110244699A
Method and device for identifying pipeline safety risk, storage medium and processor
CN114898277A