Settlement verification method, server, vehicle, system, equipment, medium and product

By sending the mileage brushing task of the configured words to the vehicle and performing consistency verification, the problem of low mileage settlement reliability in car rental is solved, and a more reliable and safe car rental settlement process is achieved.

CN118886993APending Publication Date: 2024-11-01ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411044220.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The existing car rental settlement plan lacks monitoring of the mileage settlement process and verification of the results, resulting in low reliability of the mileage settlement results.

Method used

By sending a mileage brushing task including the first configuration word and the second configuration word to the vehicle, the vehicle performs mileage settlement based on the mileage purchase status and the mileage data to be settled, and performs consistency verification to ensure the accuracy of the settlement result.

Benefits of technology

It improves the reliability of mileage settlement during car rental, prevents malicious flushing and data tampering, and enhances the stability and security of settlement results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118886993A_ABST
    Figure CN118886993A_ABST
Patent Text Reader

Abstract

The invention provides a settlement verification method, a server, a vehicle, a system, equipment, a medium and a product, and the method comprises the steps that the server sends a mileage flashing task comprising a first configuration word and a second configuration word to the vehicle, so that the vehicle executes mileage settlement according to the first configuration word, the second configuration word and locally stored remaining mileage to obtain a first settlement result, and verifying the first settlement result according to the first configuration word. According to the scheme, the server issues the configuration word representing the mileage purchase state and the mileage data to be settled to the vehicle, the first settlement result is verified through the remaining mileage when the vehicle is in the non-purchase state, and the mileage settlement reliability in the vehicle renting process can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a settlement verification method, server, vehicle, system, equipment, medium and product. Background Art

[0002] Car rental service providers offer various types of vehicles to meet the needs of different customers. In the car rental market, there are usually two types of settlement methods: mileage settlement based on the mileage of the user's use of the vehicle, time settlement based on the time the user uses the vehicle, or package settlement that combines the first two.

[0003] At present, the mileage settlement in the car rental process is usually settled by sending configuration words from the cloud to the vehicle, so that the vehicle settles the current remaining available mileage after receiving the configuration words. However, the current car rental settlement solution lacks monitoring of the settlement process and verification of the settlement results, resulting in low reliability of mileage settlement results. Therefore, the current problem that needs to be solved is how to improve the reliability of mileage settlement in the car rental process. Summary of the invention

[0004] The present application provides a settlement verification method, server, vehicle, system, equipment, medium and product to improve the reliability of mileage settlement during car rental.

[0005] On the one hand, the present application provides a settlement verification method, which is applied to a server; the method includes: sending a mileage refresh task including a first configuration word and a second configuration word to a vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word; wherein the first configuration word represents the mileage purchase status, and the second configuration word represents the first mileage data to be settled; wherein the verification includes: when the first configuration word represents that it has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, then the verification is determined to be passed, otherwise, the verification is determined to be failed.

[0006] In one possible implementation, a mileage refresh task including a first configuration word and a second configuration word is sent to a vehicle, including: sending the mileage refresh task to the vehicle's BGM, so that the vehicle's BGM broadcasts the first configuration word and the second configuration word to the vehicle's VCU, and the vehicle's VCU performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally.

[0007] In a possible implementation, the method further includes: receiving a first settlement result sent by the vehicle; performing a consistency check on the first settlement result and a second settlement result stored locally, and if they are inconsistent, determining that the vehicle mileage settlement check has failed.

[0008] In a possible implementation, the method further includes: if the vehicle mileage settlement verification fails, sending a mileage refresh task including the first configuration word and the second configuration word to the vehicle again.

[0009] On the other hand, the present application provides a settlement verification method, which is applied to a vehicle; the method includes: receiving a mileage refresh task sent by a server, the mileage refresh task includes a first configuration word and a second configuration word; wherein the first configuration word represents the mileage purchase status, and the second configuration word represents the first mileage data to be settled; performing mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result; and, according to the first configuration word, verifying the first settlement result; the verification includes: when the first configuration word represents that the vehicle has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, then determining that the verification has passed, otherwise, determining that the verification has not passed.

[0010] In a possible implementation, before executing mileage settlement according to the first configuration word, the second configuration word and the locally stored remaining mileage, it also includes: matching the first configuration word and the second configuration word; the matching includes: if the mileage purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, the vehicle does not execute settlement, and determines that the vehicle mileage settlement verification fails; executing mileage settlement according to the first configuration word, the second configuration word and the locally stored remaining mileage includes: if the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero, the vehicle executes mileage settlement according to the first configuration word, the second configuration word and the locally stored remaining mileage.

[0011] In a possible implementation, a vehicle includes a BGM and a VCU; receiving a mileage refresh task sent by a server, including: the vehicle's BGM receives the mileage refresh task sent by the server, and broadcasts a first configuration word and a second configuration word to the vehicle's VCU; the vehicle's VCU performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally.

[0012] In a possible implementation, after the vehicle's BGM receives the mileage refresh task sent by the server, it also includes: the vehicle's BGM matches the first configuration word and the second configuration word; the matching includes: if the mileage purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, the BGM does not perform the steps of broadcasting the first configuration word and the second configuration word, and determines that the vehicle mileage settlement verification fails; the vehicle's BGM broadcasts the first configuration word and the second configuration word to the vehicle's VCU, including: if the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero, the vehicle's BGM broadcasts the first configuration word and the second configuration word to the vehicle's VCU.

[0013] In a possible implementation, the vehicle also includes a DHU; the BGM of the vehicle broadcasts the first configuration word and the second configuration word to the VCU of the vehicle, including: the BGM of the vehicle broadcasts the first configuration word and the second configuration word to the VCU of the vehicle and the DHU of the vehicle; after the VCU of the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally, it also includes: the VCU of the vehicle sends the first settlement result obtained by the VCU of the vehicle performing mileage settlement according to the first configuration word and the second configuration word to the DHU of the vehicle.

[0014] In a possible implementation, the method further includes: after the vehicle's DHU receives the first configuration word and the second configuration word broadcast by the vehicle's BGM, if it does not receive the first settlement result sent by the vehicle's VCU within a predetermined time, it determines that the vehicle mileage settlement check has failed.

[0015] In a possible implementation, the method further includes: the vehicle's DHU sends the first settlement result to the server, so that the server performs a consistency check based on the first settlement result and the second settlement result stored locally, and if there is inconsistency, it is determined that the vehicle mileage settlement check has failed.

[0016] In a possible implementation, the method further includes: if the number of times the vehicle mileage settlement verification fails reaches a preset value, the vehicle executes at least one of the following vehicle restriction controls: speed limit control, vehicle additional function restriction.

[0017] On the other hand, the present application provides a server, which is used to: send a mileage refresh task including a first configuration word and a second configuration word to a vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verify the first settlement result according to the first configuration word; wherein the first configuration word represents the mileage purchase status, and the second configuration word represents the first mileage data to be settled; wherein the verification includes: when the first configuration word represents that it has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, then the verification is determined to be passed, otherwise, the verification is determined to be failed.

[0018] On the other hand, the present application provides a vehicle, the vehicle being used to: receive a mileage refresh task sent by a server, the mileage refresh task comprising a first configuration word and a second configuration word; wherein the first configuration word represents the mileage purchase status, and the second configuration word represents the first mileage data to be settled; perform mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result; and, according to the first configuration word, verify the first settlement result; the verification comprises: when the first configuration word represents that the vehicle has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, then the verification is determined to have passed, otherwise, the verification is determined to have failed.

[0019] On the other hand, the present application provides a settlement verification system, including the vehicle and server as above.

[0020] On the other hand, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the above method.

[0021] On the other hand, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the above method.

[0022] On the other hand, the present application provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0023] The settlement verification method, server, vehicle, system, device, medium and product provided by the present application include: the server sends a mileage flushing task including a first configuration word and a second configuration word to the vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word. In the scheme of the present application, the server sends a configuration word representing the mileage purchase status and the mileage data to be settled to the vehicle, and the vehicle verifies the first settlement result by the remaining mileage when it is not purchased, which can improve the reliability of mileage settlement during the car rental process. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0025] Figure 1 A flow chart of the settlement verification method is shown in FIG.

[0026] Figure 2 A flow chart of the settlement verification method is shown in FIG.

[0027] Figure 3 A flow chart of the settlement verification method is shown in FIG.

[0028] Figure 4 A flow chart of the settlement verification method is shown in FIG.

[0029] Figure 5 A flow chart of the settlement verification method is shown in FIG.

[0030] Figure 6 A flow chart of the settlement verification method is shown in FIG.

[0031] Figure 7 The structural diagram of the settlement verification system is shown as an example;

[0032] Figure 8 The structural diagram of the settlement verification system is shown as an example;

[0033] Fig. 9 A structural schematic diagram of an electronic device is shown in FIG.

[0034] Description of the drawings: Server: 01, Vehicle: 02, BGM: 11, VCU: 12, DHU: 13.

[0035] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0036] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0037] It should be noted that the brief description of the terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of the present application. Unless otherwise specified, these terms should be understood according to their common and usual meanings. The terms "including" and "having" in the specification and claims and the above-mentioned drawings in this application and any variation thereof are intended to cover but not exclude inclusion. For example, a product or device containing a series of components is not necessarily limited to those components clearly listed, but may include other components that are not clearly listed or inherent to these products or devices. The term "module" used in this application refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or a combination of hardware and / or software code that can perform functions related to the element.

[0038] First, the terms involved in this application are explained:

[0039] OTA: Over-the-Air (OTA) technology. In the automotive field, OTA refers to the technology of remotely updating vehicle software and systems through wireless networks, which usually consists of three parts: the vehicle end, the cloud server and the communication network.

[0040] VCU: Vehicle Control Unit (VCU for short);

[0041] BGM: Body Gateway domain Module (BGM for short);

[0042] DHU: Digital Cockpit Head Unit (DHU for short).

[0043] In actual applications, after a user rents a car and purchases mileage through the mileage mall, the mileage mall sends a fulfillment to the OTA service, so that the server sends a mileage flash task including mileage information to the vehicle, and the VCU in the vehicle can settle the remaining mileage based on the purchased mileage information and the mileage traveled. In addition, the vehicle can also display the mileage-related information of the vehicle to the user through the large on-board screen. In related technologies, the vehicle cannot verify the mileage information sent when performing mileage settlement, resulting in low reliability of the settlement result.

[0044] The technical content provided by this application is intended to solve the above-mentioned technical problems of related technologies. The settlement verification method, server, vehicle, system, equipment, medium and product provided by this application, the method includes: the server sends a mileage flushing task including a first configuration word and a second configuration word to the vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word. In the scheme of this application, the server sends configuration words representing the mileage purchase status and the mileage data to be settled to the vehicle, and the vehicle verifies the first settlement result by the remaining mileage when it is not purchased, which can improve the reliability of mileage settlement during the car rental process.

[0045] The technical solutions of the present application and the technical solutions of the present application are described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. In the description of the present application, unless otherwise clearly specified and limited, each term should be understood in a broad sense in the art. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0046] Embodiment 1

[0047] Figure 1 A flow chart of a settlement verification method of this embodiment is exemplarily shown in FIG. The method is applied to a server. Figure 1 As shown, the method includes:

[0048] Step 101, sending a mileage flashing task including a first configuration word and a second configuration word to a vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word; wherein the first configuration word represents the mileage purchase status, and the second configuration word represents the first mileage data to be settled; wherein the verification includes: when the first configuration word represents that the vehicle has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, the verification is determined to be passed, otherwise, the verification is determined to be failed.

[0049] In practical applications, the server can implement relevant functions through digital containers, OTA services, or cloud service malls. Specifically, the relevant functions of the server can be implemented by installing computer programs in the server, such as application software, etc.; or, it can also be implemented as a medium storing relevant computer programs, such as a USB flash drive, a cloud disk, etc.

[0050] In this example, the mileage refresh task can be generated periodically by the server, or by the user through the mobile terminal or the vehicle end to instruct the server to generate, so as to refresh the current remaining mileage of the vehicle. It should be noted that the mileage and the corresponding remaining mileage of the vehicle are constantly changing during driving. This situation can be avoided by limiting the mileage refresh task to be generated after each driving cycle. Optionally, the driving cycle can be confirmed according to the adjacent power-on time and power-off time of the vehicle. For example, the power-on time of the vehicle can be used as the start time of this driving cycle, and the power-off time of the vehicle adjacent to the power-on time can be used as the end time of this driving cycle. Among them, the power-on time of the vehicle can refer to the start time of the vehicle or the time when the battery starts to supply power, and the power-off time of the vehicle can refer to the time when the vehicle is turned off or the time when the battery stops supplying power. Optionally, the driving cycle can be determined according to the usage mode of the vehicle. For example, the time when the vehicle enters the driving mode (driving mode) can be used as the start time of this driving cycle, and the time when the vehicle ends the driving mode can be used as the end time of this driving cycle. Among them, the time when the vehicle enters the driving mode may refer to the time when the vehicle is shifted into the forward gear (D gear) or the reverse gear (R gear), and the time when the vehicle ends the driving mode may refer to the time when the vehicle is shifted into the parking gear (P gear).

[0051] Optionally, the server can send a mileage flash task including a first configuration word and a second configuration word to the vehicle through an on-board communication module such as V2X technology (Vehicle-to-Everything, V2X) or TSP technology (Telematics Service Provider, telematics service provider). Accordingly, the relevant functions on the vehicle side can be separated, such as the flash task receiving module can be a vehicle gateway, and the mileage settlement related functions can be a mileage calculation module; or the relevant functions on the vehicle side are integrated in one module, such as the flash task receiving and mileage calculation are both vehicle controllers or body controllers.

[0052] Optionally, the first configuration word can be set to different values ​​to represent the purchased state and the unpurchased state, such as 1 for the purchased state and 0 for the unpurchased state; or the first configuration word is set to represent the purchased state in the mileage writing task, and the absence of the first configuration word represents the unpurchased state. On the other hand, the second configuration word can be a mileage value of zero that is regularly generated by the server to refresh the current remaining mileage, or a mileage value of non-zero that is purchased by the user to refresh the current remaining mileage. Optionally, before the vehicle settles the mileage, the mileage writing tasks corresponding to the first configuration word and the second configuration word are matched to ensure that the mileage writing tasks corresponding to the first configuration word and the second configuration word are the same mileage writing task. In practical applications, the first configuration word and the second configuration word can be labeled with the corresponding mileage writing tasks respectively, so as to make judgments based on the labels during the matching process. In one example, after receiving the mileage writing task, the vehicle adds the mileage data in the second configuration word and the locally stored remaining mileage, and uses the purchase status corresponding to the first configuration word and the mileage sum result as the first settlement result. The vehicle verifies the first settlement result according to the first configuration word; the verification includes: when the first configuration word indicates that the vehicle has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, the verification is determined to be passed, otherwise, the verification is not passed. The solution of this example verifies the first settlement result based on the purchase status corresponding to the first configuration word, which can avoid the situation where the user has not purchased the mileage but the mileage in the first settlement result has increased, and can prevent malicious swiping of the vehicle during the vehicle mileage settlement process.

[0053] In the settlement verification method provided in this example, the server sends a mileage writing task including a first configuration word and a second configuration word to the vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word. In the scheme of this application, the server sends a configuration word representing the mileage purchase status and the mileage data to be settled to the vehicle, and the vehicle verifies the first settlement result by the remaining mileage when it is not purchased, which can improve the reliability of mileage settlement during the car rental process.

[0054] As another example, sending a mileage flashing task including a first configuration word and a second configuration word to a vehicle includes:

[0055] A mileage refresh task is sent to the vehicle's BGM, so that the vehicle's BGM broadcasts the first configuration word and the second configuration word to the vehicle's VCU, and the vehicle's VCU performs mileage settlement according to the first configuration word, the second configuration word and the locally stored remaining mileage.

[0056] In this example, the function of the mileage refresh task received by the vehicle is integrated into the BGM, and the server transmits data through the gateway to improve the stability of data transmission. On the other hand, the mileage settlement function is integrated into the VCU end, and the VCU can be used to integrate and coordinate the various subsystems of the vehicle, such as the motor, transmission, battery management system (BMS), braking system, and steering system, to prevent the mileage settlement module from being maliciously damaged. If the VCU is maliciously damaged, the vehicle may also crash. Optionally, after receiving the mileage refresh task, the BGM can decrypt and decode the mileage refresh task data, and send the decoded first configuration word and second configuration word to the VCU to reduce the functional load of the VCU.

[0057] In one example, BGM supports wireless communication standards (such as 4G / 5G, Wi-Fi, Bluetooth, etc.), is responsible for receiving mileage writing tasks from the server, and transmits the first configuration word and the second configuration word in the mileage writing task to the internal system of the vehicle. Taking the server as an OTA service as an example, the design of the OTA transmission protocol between BGM and the server, including data format, encryption method, etc., can ensure the security and reliability of the configuration word data transmission. In practical applications, BGM can be installed in the body control unit (Body Control Module, BCM). In this example, BGM sends data in the form of broadcasting; specifically, the broadcasting method can be to send data to all modules communicating with BGM without a specific target, or the broadcasting method is to send data to a specified target such as VCU. BGM broadcasts the first configuration word and the second configuration word to VCU in the form of data broadcasting, which can save bandwidth and resources and improve the real-time performance of data transmission. Optionally, BGM can also broadcast the first configuration word and the second configuration word to the in-vehicle entertainment system, so that the in-vehicle entertainment system can provide customers with information prompts about the purchase status or mileage refresh progress through the in-vehicle large screen or audio. The solution of this example can reduce the communication load of the VCU by receiving the mileage writing task of the server through BGM, and improve the security and reliability of the transmission of the first configuration word and the second configuration word.

[0058] As another example, the settlement verification method also includes: receiving a first settlement result sent by the vehicle; performing consistency verification on the first settlement result and a second settlement result stored locally, and if they are inconsistent, determining that the vehicle mileage settlement verification has failed.

[0059] In actual applications, the vehicle can send the first settlement result to the server through TSP technology (Telematics Service Provider) or on-board communication equipment. It should be noted that at the end of each driving cycle, that is, after each trip, the vehicle will synchronize the remaining mileage of the vehicle to the server through the same data path, so that the server and the vehicle can settle at the same time next time. In actual applications, the server can perform consistency verification on the first settlement result and the second settlement result through its subordinate cloud or distributed computing. Taking the cloud as an example, in this mileage flushing task, the cloud directly performs mileage settlement according to the mileage flushing task sent by the server, and obtains and stores the second settlement result. After receiving the first settlement result, the cloud will perform a consistency verification on the first settlement result and the second settlement result stored in the cloud. If they are inconsistent, it is determined that the vehicle mileage settlement verification has failed. The solution of this example provides two mileage settlement solutions, in which the vehicle side corresponds to the first mileage settlement result, and the server side corresponds to the second mileage settlement result; the first mileage data to be settled in the mileage calculation under the server comes directly from the server itself, which can improve the stability of the second mileage settlement result. By performing consistency verification on the first mileage settlement result and the second mileage settlement result, the robustness and security of the mileage settlement can be improved.

[0060] As another example, the settlement verification method further includes: if the vehicle mileage settlement verification fails, sending a mileage refresh task including the first configuration word and the second configuration word to the vehicle again.

[0061] In actual applications, there may be some occasional failures such as network problems, network management failures, etc., which may lead to mileage settlement failure. As an example, if the vehicle mileage settlement verification fails, the server returns to the step of sending a mileage flushing task including a first configuration word and a second configuration word to the vehicle. Among them, when the server sends the mileage flushing task for the second or multiple times, it should be determined whether the mileage data of the first mileage settlement result before sending the mileage flushing task has been flushed into the vehicle; if the flushing is not performed, it means that the wrong mileage settlement data has not been flushed into the vehicle, and the server can directly execute the re-sending mileage flushing task; if the flushing has been performed, it means that the wrong mileage settlement data has been flushed into the VCU, and the second configuration word when the server executes the mileage flushing task should be used to correct the wrong mileage. For example, when the mileage flushing task is sent for the first time, the user purchases 100km mileage, but the actual second configuration word corresponds to only 50km mileage, and the first settlement result corresponding to the 50km mileage has been flushed into the vehicle as the remaining mileage after settlement; when the mileage task is sent for the second time, 50km of mileage should be sent more. In the solution of this example, when the vehicle mileage settlement verification fails, the server sends a mileage refresh task including the first configuration word and the second configuration word to the vehicle again to improve the success rate of mileage calculation and help eliminate the cause of the last mileage settlement.

[0062] The settlement verification method provided in this example includes: the server sends a mileage flushing task including a first configuration word and a second configuration word to the vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word. In the scheme of this application, the server sends a configuration word representing the mileage purchase status and the mileage data to be settled to the vehicle, and the vehicle verifies the first settlement result by the remaining mileage when it is not purchased, which can improve the reliability of mileage settlement during the car rental process.

[0063] This embodiment also provides a settlement verification method. As another example, Figure 2 A flow chart of a settlement verification method is shown in FIG. The method is applied to a vehicle. Figure 2 As shown, the method includes:

[0064] Step 201, receiving a mileage refresh task sent by a server, the mileage refresh task including a first configuration word and a second configuration word; wherein the first configuration word represents the mileage purchase status, and the second configuration word represents the first mileage data to be settled;

[0065] Step 202, performing mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result; and, according to the first configuration word, verifying the first settlement result; the verification includes: when the first configuration word represents that the purchase has not been made, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, determining that the verification has passed, otherwise, determining that the verification has not passed.

[0066] In practical applications, the server can implement relevant functions through digital containers, OTA services, or cloud service malls. Specifically, the relevant functions of the server can be implemented by installing computer programs in the server, such as application software, etc.; or, it can also be implemented as a medium storing relevant computer programs, such as a USB flash drive, a cloud disk, etc.

[0067] In this example, the mileage refresh task can be generated periodically by the server, or by the user through the mobile terminal or the vehicle end to instruct the server to generate, so as to refresh the current remaining mileage of the vehicle. It should be noted that the mileage and the corresponding remaining mileage of the vehicle are constantly changing during driving. This situation can be avoided by limiting the mileage refresh task to be generated after each driving cycle. Optionally, the driving cycle can be confirmed according to the adjacent power-on time and power-off time of the vehicle. For example, the power-on time of the vehicle can be used as the start time of this driving cycle, and the power-off time of the vehicle adjacent to the power-on time can be used as the end time of this driving cycle. Among them, the power-on time of the vehicle can refer to the start time of the vehicle or the time when the battery starts to supply power, and the power-off time of the vehicle can refer to the time when the vehicle is turned off or the time when the battery stops supplying power. Optionally, the driving cycle can be determined according to the usage mode of the vehicle. For example, the time when the vehicle enters the driving mode (driving mode) can be used as the start time of this driving cycle, and the time when the vehicle ends the driving mode can be used as the end time of this driving cycle. Among them, the time when the vehicle enters the driving mode may refer to the time when the vehicle is shifted into the forward gear (D gear) or the reverse gear (R gear), and the time when the vehicle ends the driving mode may refer to the time when the vehicle is shifted into the parking gear (P gear).

[0068] Optionally, the server can send a mileage flash task including a first configuration word and a second configuration word to the vehicle through an on-board communication module such as V2X technology (Vehicle-to-Everything, V2X) or TSP technology (Telematics Service Provider, telematics service provider). Accordingly, the relevant functions on the vehicle side can be separated, such as the flash task receiving module can be a vehicle-mounted gateway, and the relevant functions of mileage settlement can be a mileage calculation module; or the relevant functions on the vehicle side are integrated in one module, such as the flash task receiving and mileage calculation are both vehicle controllers or body controllers. In actual applications, the mileage settlement related functions of the vehicle controller can be implemented by installing a computer program or a physical device such as a chip of a related computer program on the vehicle's existing vehicle controller.

[0069] Optionally, the first configuration word can be set to different values ​​to represent the purchased state and the unpurchased state, such as 1 for the purchased state and 0 for the unpurchased state; or the first configuration word is set to represent the purchased state in the mileage writing task, and the absence of the first configuration word represents the unpurchased state. On the other hand, the second configuration word can be a mileage value of zero that is regularly generated by the server to refresh the current remaining mileage, or a mileage value of non-zero that is purchased by the user to refresh the current remaining mileage. Optionally, before the vehicle settles the mileage, the mileage writing tasks corresponding to the first configuration word and the second configuration word are matched to ensure that the mileage writing tasks corresponding to the first configuration word and the second configuration word are the same mileage writing task. In practical applications, the first configuration word and the second configuration word can be labeled with the corresponding mileage writing tasks respectively, so as to make judgments based on the labels during the matching process. In one example, after receiving the mileage writing task, the vehicle adds the mileage data in the second configuration word and the locally stored remaining mileage, and uses the purchase status corresponding to the first configuration word and the mileage sum result as the first settlement result. The vehicle verifies the first settlement result according to the first configuration word; the verification includes: when the first configuration word indicates that the vehicle has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, the verification is determined to be passed, otherwise, the verification is not passed. The solution of this example verifies the first settlement result based on the purchase status corresponding to the first configuration word, which can avoid the situation where the user has not purchased the mileage but the mileage in the first settlement result has increased, and can prevent malicious swiping of the vehicle during the vehicle mileage settlement process.

[0070] In the settlement verification method provided in this example, the server sends a mileage writing task including a first configuration word and a second configuration word to the vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word. In the scheme of this application, the server sends a configuration word representing the mileage purchase status and the mileage data to be settled to the vehicle, and the vehicle verifies the first settlement result by the remaining mileage when it is not purchased, which can improve the reliability of mileage settlement during the car rental process.

[0071] In actual applications, during the sending process of mileage rewriting tasks, there may be data transmission errors or data tampering. Therefore, before the vehicle settles the mileage, it is necessary to verify the validity of the data in the mileage rewriting task. Figure 3 A flow chart of a settlement verification method is shown in FIG. Figure 3 As shown, as another example, before executing mileage settlement according to the first configuration word, the second configuration word and the locally stored remaining mileage in step 202, the method further includes:

[0072] Step 301, matching the first configuration word and the second configuration word; the matching includes: if the mileage purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, the vehicle does not perform settlement, and determines that the vehicle mileage settlement verification has failed;

[0073] In step 202, performing mileage settlement according to the first configuration word, the second configuration word and the locally stored remaining mileage includes:

[0074] Step 302: If the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero, the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally.

[0075] In this example, if the first configuration word and the second configuration word do not match successfully, it indicates that the purchase status and the mileage data are inconsistent. For example, if the purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, the vehicle does not execute settlement. Optionally, if the first configuration word or the second configuration word has problems such as incomplete data, format error or data expiration, it indicates that the first configuration word or the second configuration word data is abnormal, and the vehicle also does not execute settlement. The vehicle only executes settlement when the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero. The solution of this example can avoid the situation where any configuration word is tampered with and causes abnormal settlement by matching the first configuration word or the second configuration word, thereby improving the reliability of the vehicle's mileage settlement.

[0076] Considering the performance load of the vehicle, the functions related to communication with the server and the functions related to mileage settlement can be integrated on different modules. As an example, the vehicle includes BGM and VCU. Figure 4 A flow chart of a settlement verification method is shown in FIG. Figure 4 As shown, in step 201, receiving the mileage flashing task sent by the server includes:

[0077] Step 401: The BGM of the vehicle receives the mileage refresh task sent by the server, and broadcasts the first configuration word and the second configuration word to the VCU of the vehicle;

[0078] Step 402: The VCU of the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally.

[0079] In this example, the function of the mileage refresh task received by the vehicle is integrated into the BGM, and the server transmits data through the gateway to improve the stability of data transmission. On the other hand, the mileage settlement function is integrated into the VCU end, and the VCU can be used to integrate and coordinate the various subsystems of the vehicle, such as the motor, transmission, battery management system (BMS), braking system, and steering system, to prevent the mileage settlement module from being maliciously damaged. If the VCU is maliciously damaged, the vehicle may also crash. Optionally, after receiving the mileage refresh task, the BGM can decrypt and decode the mileage refresh task data, and send the decoded first configuration word and second configuration word to the VCU to reduce the functional load of the VCU.

[0080] In one example, BGM supports wireless communication standards (such as 4G / 5G, Wi-Fi, Bluetooth, etc.), is responsible for receiving mileage writing tasks from the server, and transmits the first configuration word and the second configuration word in the mileage writing task to the internal system of the vehicle. Taking the server as an OTA service as an example, the design of the OTA transmission protocol between BGM and the server, including data format, encryption method, etc., can ensure the security and reliability of the configuration word data transmission. In practical applications, BGM can be installed in the body control unit (Body Control Module, BCM). In this example, BGM sends data in the form of broadcasting; specifically, the broadcasting method can be to send data to all modules communicating with BGM without a specific target, or the broadcasting method is to send data to a specified target such as VCU. BGM broadcasts the first configuration word and the second configuration word to VCU in the form of data broadcasting, which can save bandwidth and resources and improve the real-time performance of data transmission. Optionally, BGM can also broadcast the first configuration word and the second configuration word to the in-vehicle entertainment system, so that the in-vehicle entertainment system can provide customers with information prompts about the purchase status or mileage refresh progress through the in-vehicle large screen or audio. The solution of this example can reduce the communication load of the VCU by receiving the mileage writing task of the server through BGM, and improve the security and reliability of the transmission of the first configuration word and the second configuration word.

[0081] As another example, Figure 5 A flow chart of a settlement verification method is shown in FIG. Figure 5 As shown, after the vehicle's BGM receives the mileage flashing task sent by the server in step 401, the following steps are also included:

[0082] Step 501, the BGM of the vehicle matches the first configuration word with the second configuration word; the matching includes: if the mileage purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, the BGM does not perform the steps of broadcasting the first configuration word and the second configuration word, and determines that the vehicle mileage settlement verification has failed;

[0083] In step 401, the BGM of the vehicle broadcasts the first configuration word and the second configuration word to the VCU of the vehicle, including:

[0084] Step 502: If the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero, the BGM of the vehicle broadcasts the first configuration word and the second configuration word to the VCU of the vehicle.

[0085] It should be noted that in the same mileage settlement process, the BGM can match the first configuration word and the second configuration word and / or the VCU can match the first configuration word and the second configuration word. In this example, if the first configuration word and the second configuration word do not match successfully, it indicates that the purchase status and the mileage data are inconsistent, such as the purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, then the BGM does not perform the steps of broadcasting the first configuration word and the second configuration word. Optionally, if the first configuration word or the second configuration word has problems such as incomplete data, format error or data expiration, it indicates that the first configuration word or the second configuration word data is abnormal, and the BGM also does not perform the steps of broadcasting the first configuration word and the second configuration word. Only when the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero, the BGM performs the steps of broadcasting the first configuration word and the second configuration word. The scheme of this example can avoid the situation where any configuration word is tampered with and causes abnormal settlement by matching the first configuration word or the second configuration word, thereby improving the reliability of executing mileage settlement.

[0086] As another example, Figure 6 A flow chart of a settlement verification method is shown in FIG. Figure 6 As shown, the vehicle also includes a DHU. In step 401, the BGM broadcasts the first configuration word and the second configuration word to the VCU, including:

[0087] Step 601: The BGM of the vehicle broadcasts a first configuration word and a second configuration word to the VCU and the DHU of the vehicle;

[0088] After the VCU of the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the locally stored remaining mileage in step 402, the method further includes:

[0089] Step 602: The VCU of the vehicle sends to the DHU of the vehicle a first settlement result obtained by the VCU of the vehicle performing mileage settlement according to the first configuration word and the second configuration word.

[0090] Exemplarily, after receiving the first configuration word and the second configuration word, the DHU parses the first configuration word and the second configuration word to obtain the current purchase status and the corresponding mileage, and prompts the user with the purchase status and mileage data. Optionally, the DHU can push a prompt to the user's mobile phone through the vehicle communication module, or prompt the user through the vehicle screen or audio. Optionally, for the case where the user has not purchased and the mileage is zero, a prompt can be given: "The vehicle is about to execute the mileage refresh process"; for the case where the user has purchased and the mileage is greater than zero, a prompt can be given: "You have purchased the mileage, and the vehicle is about to execute the mileage refresh process." In this example, after receiving the first settlement result sent by the VCU, the DHU can perform a mileage settlement locally or push it to the cloud to avoid malicious tampering with the first settlement result of the VCU in this mileage settlement. Specifically, when the VCU does not perform mileage settlement, the DHU synchronizes and stores the current remaining mileage in the VCU in real time to achieve the above effect. In the solution of this example, the DHU, as a backup mileage settlement module of the VCU, can obtain the first configuration word and the second configuration word broadcast by the DHU, and can also perform a settlement to verify the first settlement result, thereby improving the reliability of mileage settlement.

[0091] As yet another example, the settlement verification method further includes:

[0092] After receiving the first configuration word and the second configuration word broadcast by the vehicle's BGM, if the vehicle's DHU does not receive the first settlement result sent by the vehicle's VCU within a predetermined time, it is determined that the vehicle's mileage settlement verification has failed.

[0093] In this example, since the DHU has received the BGM broadcast, it indicates that the BGM broadcast function is normal. In actual applications, after the DHU receives the first configuration word and the second configuration word of the BGM broadcast, if it does not receive the first settlement result sent by the VCU within the scheduled time, it indicates that the VCU has not performed mileage settlement. This may be caused by a VCU software execution error or hardware damage. Specifically, the scheduled time can be calibrated by engineers during the vehicle testing phase. For example, based on the time required for the VCU to settle after the BGM broadcast during multiple mileage settlement processes, the buffer time is added to this time as the scheduled time. In the solution of this example, the settlement time of the VCU can be calculated based on the time when the DHU receives the BGM broadcast, which can avoid settlement anomalies caused by software execution errors or hardware damage, thereby improving the reliability of mileage settlement.

[0094] As an example, the settlement verification method also includes: the vehicle's DHU sends the first settlement result to the server, so that the server performs a consistency check based on the first settlement result and the second settlement result stored locally. If there is inconsistency, it is determined that the vehicle mileage settlement verification has failed.

[0095] In actual applications, the DHU can send the first settlement result to the server through TSP technology (Telematics Service Provider) or vehicle-mounted communication equipment. It should be noted that at the end of each driving cycle, that is, after each trip, the DHU will synchronize the remaining mileage of the vehicle settled by the VCU to the server through the same data path, so that the server and the VCU can settle at the same time next time. In actual applications, the server can perform consistency verification on the first settlement result and the second settlement result through its subordinate cloud or distributed computing. Taking the cloud as an example, in this mileage flushing task, the cloud directly performs mileage settlement according to the mileage flushing task sent by the server, and obtains and stores the second settlement result. After receiving the first settlement result, the cloud will perform a consistency verification on the first settlement result and the second settlement result stored in the cloud. If they are inconsistent, it is determined that the vehicle mileage settlement verification has failed. The solution of this example provides two mileage settlement solutions, in which the VCU side corresponds to the first mileage settlement result, and the DHU and server side correspond to the second mileage settlement result; the first mileage to be settled in the mileage calculation under the server comes directly from the server itself, which can improve the stability of the second mileage settlement result. By performing consistency verification on the first mileage settlement result and the second mileage settlement result, the robustness and security of the mileage settlement can be improved.

[0096] In actual applications, when the mileage settlement verification fails, a corresponding mileage settlement exception handling strategy can be set. As another example, the settlement verification method also includes:

[0097] If the number of times the vehicle mileage settlement verification fails reaches a preset value, the vehicle executes at least one of the following vehicle restriction controls: speed limit control, vehicle additional function restriction.

[0098] The preset value in this example can be 2 or 3 times. As an example, the speed limit control can control the speed according to the remaining power of the vehicle. For example, the more power the vehicle has left, the lower the threshold of the speed limit control. On the other hand, the restrictions on additional functions in the vehicle may include: power restrictions on the air conditioner, brightness restrictions on the large screen on the vehicle, restrictions on the entertainment functions of the vehicle, and restrictions on the user's wireless network. The solution in this example provides a processing strategy after the mileage verification fails, which can realize the effects of self-processing of abnormal situations in mileage calculation and notifying the user of mileage settlement abnormalities.

[0099] In the settlement verification method provided in this example, the server sends a mileage writing task including a first configuration word and a second configuration word to the vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word. In the scheme of this application, the server sends a configuration word representing the mileage purchase status and the mileage data to be settled to the vehicle, and the vehicle verifies the first settlement result by the remaining mileage when it is not purchased, which can improve the reliability of mileage settlement during the car rental process.

[0100] Embodiment 2

[0101] This embodiment provides a server 01, which is used for:

[0102] A mileage flushing task including a first configuration word and a second configuration word is sent to vehicle 02, so that vehicle 02 performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word; wherein the first configuration word represents the mileage purchase status, and the second configuration word represents the first mileage data to be settled; wherein the verification includes: when the first configuration word represents that the vehicle has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, the verification is determined to be passed, otherwise, the verification is determined to be failed.

[0103] In actual applications, the server 01 can realize relevant functions through digital containers, OTA services, or cloud service malls. Specifically, the relevant functions of the server 01 can be realized by installing computer programs in the server 01, such as application software, etc.; or, it can also be realized as a medium storing relevant computer programs, such as a USB disk, a cloud disk, etc.

[0104] In this example, the mileage refresh task can be generated periodically by the server 01, or the user can instruct the server 01 to generate it through the mobile terminal or the vehicle end, so as to refresh the current remaining mileage of the vehicle 02. It should be noted that the mileage and the corresponding remaining mileage of the vehicle 02 are constantly changing during the driving process. This situation can be avoided by limiting the mileage refresh task to be generated after each driving cycle. Optionally, the driving cycle can be confirmed based on the adjacent power-on time and power-off time of the vehicle 02.

[0105] Optionally, the server 01 may send a mileage flashing task including a first configuration word and a second configuration word to the vehicle 02 through an on-board communication module such as V2X technology (Vehicle-to-Everything, V2X) or TSP technology (Telematics Service Provider, telematics service provider). Accordingly, the relevant functions on the vehicle side may be separated, such as the flashing task receiving module may be a vehicle gateway, and the relevant functions of mileage settlement may be a mileage calculation module; or the relevant functions on the vehicle side may be integrated into one module, such as the flashing task receiving and mileage calculation are both vehicle controllers or body controllers.

[0106] Optionally, the first configuration word can be set to different values ​​to represent the purchased state and the unpurchased state, such as 1 for the purchased state and 0 for the unpurchased state; or the first configuration word is set to represent the purchased state in the mileage writing task, and the absence of the first configuration word represents the unpurchased state. On the other hand, the second configuration word can be a mileage value of zero that is regularly generated by the server 01 to refresh the current remaining mileage, or a mileage value of non-zero that is purchased by the user to refresh the current remaining mileage. Optionally, before the mileage settlement, the vehicle 02 matches the mileage writing tasks corresponding to the first configuration word and the second configuration word to ensure that the mileage writing tasks corresponding to the first configuration word and the second configuration word are the same mileage writing task. In practical applications, the first configuration word and the second configuration word can be labeled with the corresponding mileage writing tasks respectively, so as to make judgments based on the labels during the matching process. In one example, after receiving the mileage writing task, the vehicle 02 adds the mileage data in the second configuration word and the locally stored remaining mileage, and uses the purchase state corresponding to the first configuration word and the mileage sum result as the first settlement result. Vehicle 02 verifies the first settlement result according to the first configuration word; the verification includes: when the first configuration word indicates that the vehicle has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, the verification is determined to be passed, otherwise, the verification is not passed. The solution of this example verifies the first settlement result based on the purchase status corresponding to the first configuration word, which can avoid the situation where the user has not purchased the mileage but the mileage in the first settlement result has increased, and can prevent malicious swiping of the vehicle during the vehicle mileage settlement process.

[0107] The settlement verification method provided in this example includes: the server sends a mileage flushing task including a first configuration word and a second configuration word to the vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word. In the scheme of this application, the server sends a configuration word representing the mileage purchase status and the mileage data to be settled to the vehicle, and the vehicle verifies the first settlement result by the remaining mileage when it is not purchased, which can improve the reliability of mileage settlement during the car rental process.

[0108] In one example, server 01 is specifically used to send a mileage refresh task to BGM11 of vehicle 02, so that BGM11 of vehicle 02 broadcasts the first configuration word and the second configuration word to VCU12 of vehicle 02, and VCU12 of vehicle 02 performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally.

[0109] In this example, the function of receiving the mileage refresh task on the vehicle 02 side is integrated at BGM11, and the server 01 transmits data through the gateway to improve the stability of data transmission. On the other hand, the mileage settlement function is integrated at the VCU12 side, and VCU12 can be used to integrate and coordinate the various subsystems of the vehicle 02, such as the motor, transmission, battery management system (BMS), braking system and steering system, to prevent the mileage settlement module from being maliciously damaged. If VCU12 is maliciously damaged, the vehicle may also crash. Optionally, after receiving the mileage refresh task, BGM11 can decrypt and decode the mileage refresh task data, and send the decoded first configuration word and second configuration word to VCU12 to reduce the functional load of VCU12.

[0110] In one example, BGM11 supports wireless communication standards (such as 4G / 5G, Wi-Fi, Bluetooth, etc.), is responsible for receiving mileage rewriting tasks from server 01, and transmits the first configuration word and the second configuration word in the mileage rewriting task to the internal system of vehicle 02. Taking server 01 as an OTA service as an example, the design of the OTA transmission protocol between BGM11 and server 01, including data format, encryption method, etc., can ensure the security and reliability of configuration word data transmission. In practical applications, BGM11 can be installed in the body control unit (Body Control Module, BCM). In this example, BGM11 sends data in the form of broadcasting; specifically, the broadcasting method can be to send data to all modules communicating with BGM11 without a specific target, or the broadcasting method can be to send data to a specified target such as VCU12. BGM11 broadcasts the first configuration word and the second configuration word to VCU12 in the form of data broadcasting, which can save bandwidth and resources and improve the real-time performance of data transmission. Optionally, BGM11 can also broadcast the first configuration word and the second configuration word to the in-vehicle entertainment system, so that the in-vehicle entertainment system can provide customers with information about the purchase status or mileage refresh progress through the in-vehicle large screen or audio, etc. In this example, the solution of receiving the mileage refresh task of the server 01 through BGM11 can reduce the communication load of VCU12 and improve the security and reliability of the transmission of the first configuration word and the second configuration word.

[0111] In one example, the server 01 is also used to: receive a first settlement result sent by the vehicle 02; perform consistency check on the first settlement result and a second settlement result stored locally, and if they are inconsistent, determine that the vehicle mileage settlement check has failed.

[0112] In actual applications, vehicle 02 can send the first settlement result to server 01 through TSP technology (Telematics Service Provider) or on-board communication equipment. It should be noted that at the end of each driving cycle, that is, after each trip, vehicle 02 will synchronize the remaining mileage of the vehicle to server 01 through the same data path, so that server 01 and vehicle 02 can settle at the same time next time. In actual applications, server 01 can perform consistency verification on the first settlement result and the second settlement result through its subordinate cloud or distributed computing. Taking the cloud as an example, in this mileage flushing task, the cloud directly performs mileage settlement according to the mileage flushing task sent by server 01, and obtains and stores the second settlement result. After receiving the first settlement result, the cloud will perform consistency verification on the first settlement result and the second settlement result stored in the cloud. If they are inconsistent, it is determined that the vehicle mileage settlement verification has failed. The solution of this example provides two mileage settlement solutions, in which the vehicle side corresponds to the first mileage settlement result, and the server 01 side corresponds to the second mileage settlement result; the first mileage to be settled in the mileage calculation under server 01 comes directly from server 01 itself, which can improve the stability of the second mileage settlement result. By performing consistency verification on the first mileage settlement result and the second mileage settlement result, the robustness and security of the mileage settlement can be improved.

[0113] In one example, the server 01 is further used to: if the vehicle mileage settlement verification fails, then send a mileage refresh task including the first configuration word and the second configuration word to the vehicle 02 again.

[0114] In actual applications, there may be some occasional failures such as network problems, network management failures, etc., which may lead to mileage settlement failure. As an example, if the vehicle mileage settlement verification fails, the server 01 returns to the step of sending a mileage writing task including the first configuration word and the second configuration word to the vehicle 02. Among them, when the server 01 sends the mileage writing task for the second or multiple times, it should be determined whether the mileage data of the first mileage settlement result before sending the mileage writing task has been written into the vehicle 02; if the writing has not been performed, it means that the wrong mileage settlement data has not been written into the vehicle 02, and the server 01 can directly execute the re-sending mileage writing task; if the writing has been performed, it means that the wrong mileage settlement data has been written into the VCU12, and the second configuration word when the server 01 executes the sending mileage writing task should be used to correct the wrong mileage. In the solution of this example, when the vehicle mileage settlement verification fails, the server 01 sends the mileage writing task including the first configuration word and the second configuration word to the vehicle 02 again, which can improve the success rate of mileage calculation and help eliminate the cause of the last mileage settlement.

[0115] The server provided in this example includes: the server sends a mileage writing task including a first configuration word and a second configuration word to the vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word. In the scheme of this application, the server sends a configuration word representing the mileage purchase status and the mileage data to be settled to the vehicle, and the vehicle verifies the first settlement result by the remaining mileage when it is not purchased, which can improve the reliability of mileage settlement during the car rental process.

[0116] The present embodiment also provides a vehicle 02, which is used to: receive a mileage refresh task sent by the server 01, the mileage refresh task including a first configuration word and a second configuration word; wherein the first configuration word represents the mileage purchase status, and the second configuration word represents the first mileage data to be settled; perform mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result; and verify the first settlement result according to the first configuration word; the verification includes: when the first configuration word represents that the vehicle has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, the verification is determined to be passed, otherwise, the verification is determined to be failed.

[0117] In actual applications, the server 01 can realize relevant functions through digital containers, OTA services, or cloud service malls. Specifically, the relevant functions of the server 01 can be realized by installing computer programs in the server 01, such as application software, etc.; or, it can also be realized as a medium storing relevant computer programs, such as a USB disk, a cloud disk, etc.

[0118] In this example, the mileage refresh task can be generated periodically by the server 01, or the user can instruct the server 01 to generate it through the mobile terminal or the vehicle end, so as to refresh the current remaining mileage of the vehicle 02. It should be noted that the mileage and the corresponding remaining mileage of the vehicle 02 are constantly changing during the driving process. This situation can be avoided by limiting the mileage refresh task to be generated after each driving cycle. Optionally, the driving cycle can be confirmed based on the adjacent power-on time and power-off time of the vehicle 02.

[0119] Optionally, the server 01 may send a mileage flash task including a first configuration word and a second configuration word to the vehicle 02 through an on-board communication module such as V2X technology (Vehicle-to-Everything, V2X) or TSP technology (Telematics Service Provider, telematics service provider). Accordingly, the relevant functions on the vehicle side may be separate, such as the flash task receiving module may be a vehicle-mounted gateway, and the relevant functions of mileage settlement may be a mileage calculation module; or the relevant functions on the vehicle side may be integrated into one module, such as the flash task receiving and mileage calculation are both vehicle controllers or body controllers. In actual applications, the mileage settlement related functions of the vehicle controller may be implemented by installing a computer program or a physical device such as a chip of a related computer program on the existing vehicle controller of the vehicle 02.

[0120] Optionally, the first configuration word can be set to different values ​​to represent the purchased state and the unpurchased state. On the other hand, the second configuration word can be a mileage of zero value generated regularly by the server 01 for refreshing the current remaining mileage, or a mileage of non-zero value purchased by the user for refreshing the current remaining mileage. Optionally, before the vehicle 02 performs mileage settlement, the mileage flushing task corresponding to the first configuration word and the second configuration word is matched to ensure that the mileage flushing task corresponding to the first configuration word and the second configuration word is the same mileage flushing task. In practical applications, the first configuration word and the second configuration word can be respectively labeled with the corresponding mileage flushing task to be judged according to the label during the matching process. In one example, after receiving the mileage flushing task, the vehicle 02 adds the mileage data in the second configuration word and the locally stored remaining mileage, and uses the purchase state corresponding to the first configuration word and the mileage sum result as the first settlement result. The vehicle 02 verifies the first settlement result according to the first configuration word; the verification includes: when the first configuration word represents that it is not purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, then the verification is determined to be passed, otherwise, the verification is not passed. The solution of this example verifies the first settlement result based on the purchase status corresponding to the first configuration word, which can avoid the situation where the user has not purchased mileage but the mileage in the first settlement result has increased, thereby preventing malicious swiping of the vehicle during the vehicle mileage settlement process.

[0121] In the vehicle provided in this example: the server sends a mileage rewriting task including a first configuration word and a second configuration word to the vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word. In the scheme of this application, the server sends a configuration word representing the mileage purchase status and the mileage data to be settled to the vehicle, and the vehicle verifies the first settlement result by the remaining mileage when it is not purchased, which can improve the reliability of mileage settlement during the car rental process.

[0122] In one example, the vehicle 02 is further used to: match the first configuration word with the second configuration word; the matching includes: if the mileage purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, the vehicle 02 does not perform settlement, and determines that the vehicle mileage settlement verification has failed;

[0123] Vehicle 02 is specifically used for: if the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero, vehicle 02 performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally.

[0124] In this example, if the first configuration word and the second configuration word do not match successfully, it indicates that the purchase status and the mileage data are inconsistent. For example, if the purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, then vehicle 02 does not execute settlement. Optionally, if the first configuration word or the second configuration word has problems such as incomplete data, format error, or data expiration, it indicates that the first configuration word or the second configuration word data is abnormal, and vehicle 02 also does not execute settlement. Vehicle 02 executes settlement only when the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero. The solution of this example can avoid the situation where any configuration word is tampered with and causes abnormal settlement by matching the first configuration word or the second configuration word, thereby improving the reliability of vehicle 02 in executing mileage settlement.

[0125] In one example, vehicle 02 includes BGM11 and VCU12. BGM11 of vehicle 02 is specifically used to: receive the mileage flashing task sent by server 01, and broadcast the first configuration word and the second configuration word to VCU12 of vehicle 02; VCU12 of vehicle 02 is specifically used to: perform mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally.

[0126] In this example, the function of the mileage refresh task on the vehicle side is integrated into BGM11, and the server 01 transmits data through the gateway to improve the stability of data transmission. On the other hand, the mileage settlement function is integrated into the VCU12 side, and VCU12 can be used to integrate and coordinate the various subsystems of the vehicle, such as the motor, transmission, battery management system (BMS), braking system and steering system, to prevent the mileage settlement module from being maliciously damaged. If VCU12 is maliciously damaged, the vehicle may also crash. Optionally, after receiving the mileage refresh task, BGM11 can decrypt and decode the mileage refresh task data, and send the decoded first configuration word and second configuration word to VCU12 to reduce the functional load of VCU12.

[0127] In one example, BGM11 supports wireless communication standards (such as 4G / 5G, Wi-Fi, Bluetooth, etc.), is responsible for receiving mileage refresh tasks from server 01, and transmits the first configuration word and the second configuration word in the mileage refresh task to the vehicle internal system. In this example, BGM11 sends data in the form of broadcast; specifically, the broadcast method can be to send data to all modules communicating with BGM11 without a specific target, or the broadcast method is to send data to a specified target such as VCU12. BGM11 broadcasts the first configuration word and the second configuration word to VCU12 in the form of data broadcast, which can save bandwidth and resources and improve the real-time performance of data transmission. Optionally, BGM11 can also broadcast the first configuration word and the second configuration word to the in-vehicle entertainment system, so that the in-vehicle entertainment system can provide customers with information about the purchase status or mileage refresh progress through the in-vehicle large screen or audio. In the solution of this example, receiving the mileage refresh task of server 01 through BGM11 can reduce the communication load of VCU12 and improve the security and reliability of the transmission of the first configuration word and the second configuration word.

[0128] In one example, the BGM11 of vehicle 02 is also used to: match the first configuration word and the second configuration word; the matching includes: if the mileage purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, then BGM11 does not perform the steps of broadcasting the first configuration word and the second configuration word, and determines that the vehicle mileage settlement verification fails; the BGM11 of vehicle 02 is specifically used to: if the mileage purchase status is not purchased and the first mileage data is not greater than zero, or, if the mileage purchase status is purchased and the first mileage data is greater than zero, then the BGM11 of vehicle 02 broadcasts the first configuration word and the second configuration word to the VCU12 of vehicle 02.

[0129] It should be noted that in the same mileage settlement process, the first configuration word and the second configuration word can be matched by BGM11 and / or the first configuration word and the second configuration word can be matched by VCU12. In this example, if the first configuration word and the second configuration word are not matched successfully, it indicates that the purchase status and the mileage data are inconsistent, such as the purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, then BGM11 does not perform the steps of broadcasting the first configuration word and the second configuration word. Optionally, if the first configuration word or the second configuration word has problems such as incomplete data, format error or data expiration, it indicates that the first configuration word or the second configuration word data is abnormal, and BGM11 also does not perform the steps of broadcasting the first configuration word and the second configuration word. Only when the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero, does BGM11 perform the steps of broadcasting the first configuration word and the second configuration word. The scheme of this example can avoid the situation where any configuration word is tampered with and causes abnormal settlement by matching the first configuration word or the second configuration word, thereby improving the reliability of executing mileage settlement.

[0130] In one example, the vehicle 02 further includes a DHU 13. The BGM 11 of the vehicle 02 is specifically used to broadcast the first configuration word and the second configuration word to the VCU 12 of the vehicle 02 and the DHU 13 of the vehicle 02; the VCU 12 of the vehicle 02 is also used to send the first settlement result obtained by the VCU 12 of the vehicle 02 performing mileage settlement according to the first configuration word and the second configuration word to the DHU 13 of the vehicle 02.

[0131] Exemplarily, after receiving the first configuration word and the second configuration word, DHU13 parses the first configuration word and the second configuration word to obtain the current purchase status and the corresponding mileage, and prompts the user with the purchase status and mileage data. Optionally, DHU13 can push a prompt to the user's mobile phone through the vehicle communication module, or prompt the user through the vehicle screen or audio. In this example, after receiving the first settlement result sent by VCU12, DHU13 can perform a mileage settlement locally or push it to the cloud to avoid malicious tampering of the first settlement result of VCU12 in this mileage settlement. Specifically, when VCU12 does not perform mileage settlement, DHU13 synchronizes and stores the current remaining mileage in VCU12 in real time to achieve the above effect. In the solution of this example, DHU13, as a backup mileage settlement module of VCU12, can obtain the first configuration word and the second configuration word broadcast by DHU13, and can also perform a settlement to verify the first settlement result, thereby improving the reliability of mileage settlement.

[0132] In one example, after receiving the first configuration word and the second configuration word broadcast by the BGM11 of the vehicle 02, if the first settlement result sent by the VCU12 of the vehicle 02 is not received within a predetermined time, the DHU13 of the vehicle 02 is further used to determine that the vehicle mileage settlement check has failed.

[0133] In this example, since DHU13 has received the broadcast of BGM11, it indicates that the broadcast function of BGM11 is normal. In actual applications, after DHU13 receives the first configuration word and the second configuration word broadcast by BGM11, if it does not receive the first settlement result sent by VCU12 within the scheduled time, it indicates that VCU12 has not performed mileage settlement. This may be caused by a software execution error or hardware damage in VCU12. Specifically, the scheduled time can be calibrated by engineers during the vehicle testing phase. For example, based on the time required for VCU12 to settle after BGM11 broadcasts during multiple mileage settlements, the buffer time is added to this time as the scheduled time. In the solution of this example, the settlement time of VCU12 can be calculated based on the time when DHU13 receives the BGM11 broadcast, which can avoid settlement anomalies caused by software execution errors or hardware damage, thereby improving the reliability of mileage settlement.

[0134] In one example, the DHU 13 of the vehicle 02 is also used to send the first settlement result to the server 01, so that the server 01 performs a consistency check based on the first settlement result and the second settlement result stored locally. If there is inconsistency, it is determined that the vehicle mileage settlement check has failed.

[0135] In actual applications, DHU13 can send the first settlement result to server 01 through TSP technology (Telematics Service Provider) or vehicle communication equipment. It should be noted that after each driving cycle, that is, after each driving, DHU13 will synchronize the remaining vehicle mileage settled by VCU12 to server 01 through the same data path, so that server 01 and VCU12 can settle at the same time next time. In actual applications, server 01 can perform consistency verification on the first settlement result and the second settlement result through its subordinate cloud or distributed computing. The solution of this example provides two mileage settlement solutions, in which the VCU12 side corresponds to the first mileage settlement result, and the DHU13 and server 01 side correspond to the second mileage settlement result; the first mileage to be settled in the mileage calculation under server 01 comes directly from server 01 itself, which can improve the stability of the second mileage settlement result. By performing consistency verification on the first mileage settlement result and the second mileage settlement result, the robustness and security of mileage settlement can be improved.

[0136] In one example, the vehicle 02 is also used to: if the number of times the vehicle mileage settlement verification fails reaches a preset value, the vehicle 02 executes at least one of the following vehicle restriction controls: speed limit control, vehicle additional function restriction.

[0137] The preset value in this example can be 2 or 3 times. As an example, the speed limit control can be performed according to the remaining power of vehicle 02. For example, the more power remaining in vehicle 02, the lower the threshold of speed limit control; on the other hand, the additional function restrictions on the vehicle may include: power restrictions on air conditioning, brightness restrictions on the large screen on the vehicle, entertainment function restrictions on vehicle 02, and wireless network restrictions on users. The solution in this example provides a processing strategy after the mileage verification fails, which can realize the effects of self-processing of abnormal situations in mileage calculation and notifying the user of mileage settlement abnormalities.

[0138] In the vehicle provided in this example: the server sends a mileage rewriting task including a first configuration word and a second configuration word to the vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word. In the scheme of this application, the server sends a configuration word representing the mileage purchase status and the mileage data to be settled to the vehicle, and the vehicle verifies the first settlement result by the remaining mileage when it is not purchased, which can improve the reliability of mileage settlement during the car rental process.

[0139] Embodiment 3

[0140] Figure 7 The schematic diagram of the structure of the settlement verification system provided by the embodiment of the present application is shown in FIG. Based on any embodiment, the system includes: a server 01 and a vehicle 02; wherein:

[0141] The server 01 sends a mileage flashing task including a first configuration word and a second configuration word to the vehicle 02; wherein the first configuration word represents the mileage purchase status, and the second configuration word represents the first mileage data to be settled;

[0142] Vehicle 02 performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word; wherein the verification includes: when the first configuration word indicates that the vehicle has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, the verification is determined to have passed, otherwise, the verification is determined to have failed.

[0143] In actual applications, the server 01 can realize relevant functions through digital containers, OTA services, or cloud service malls. Specifically, the relevant functions of the server 01 can be realized by installing computer programs in the server 01, such as application software, etc.; or, it can also be realized as a medium storing relevant computer programs, such as a USB disk, a cloud disk, etc.

[0144] In this example, the mileage refresh task can be generated periodically by the server 01, or the user can instruct the server 01 to generate it through the mobile terminal or the vehicle end, so as to refresh the current remaining mileage of the vehicle 02. It should be noted that the mileage and the corresponding remaining mileage of the vehicle 02 are constantly changing during the driving process. This situation can be avoided by limiting the mileage refresh task to be generated after each driving cycle. Optionally, the driving cycle can be confirmed based on the adjacent power-on time and power-off time of the vehicle 02.

[0145] Optionally, the server 01 may send a mileage flash task including a first configuration word and a second configuration word to the vehicle 02 through an on-board communication module such as V2X technology (Vehicle-to-Everything, V2X) or TSP technology (Telematics Service Provider, telematics service provider). Accordingly, the relevant functions on the vehicle side may be separate, such as the flash task receiving module may be a vehicle-mounted gateway, and the relevant functions of mileage settlement may be a mileage calculation module; or the relevant functions on the vehicle side may be integrated into one module, such as the flash task receiving and mileage calculation are both vehicle controllers or body controllers. In actual applications, the mileage settlement related functions of the vehicle controller may be implemented by installing a computer program or a physical device such as a chip of a related computer program on the existing vehicle controller of the vehicle 02.

[0146] Optionally, the first configuration word can be set to different values ​​to represent the purchased state and the unpurchased state. On the other hand, the second configuration word can be a mileage of zero value generated regularly by the server 01 for refreshing the current remaining mileage, or a mileage of non-zero value purchased by the user for refreshing the current remaining mileage. Optionally, before the mileage settlement, the vehicle 02 matches the mileage writing tasks corresponding to the first configuration word and the second configuration word to ensure that the mileage writing tasks corresponding to the first configuration word and the second configuration word are the same mileage writing tasks. In one example, after receiving the mileage writing task, the vehicle 02 adds the mileage data in the second configuration word and the locally stored remaining mileage, and uses the purchase state corresponding to the first configuration word and the mileage sum result as the first settlement result. The vehicle 02 verifies the first settlement result according to the first configuration word; the verification includes: when the first configuration word represents that it is not purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, then the verification is determined to be passed, otherwise, the verification is not passed. The solution of this example verifies the first settlement result based on the purchase status corresponding to the first configuration word, which can avoid the situation where the user has not purchased mileage but the mileage in the first settlement result has increased, thereby preventing malicious swiping of the vehicle during the vehicle mileage settlement process.

[0147] The settlement verification system provided in this example includes: the server sends a mileage writing task including a first configuration word and a second configuration word to the vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word. In the scheme of this application, the server sends a configuration word representing the mileage purchase status and the mileage data to be settled to the vehicle, and the vehicle verifies the first settlement result by the remaining mileage when it is not purchased, which can improve the reliability of mileage settlement during the car rental process.

[0148] Figure 8 The schematic diagram of the structure of the settlement verification system provided by the embodiment of the present application is shown in the figure, wherein the vehicle 02 includes: BGM11, VCU12, and DHU13. In this example, the server 01 sends a mileage writing task to the BGM11 of the vehicle 02;

[0149] After receiving the mileage flashing task sent by the server 01, the BGM11 of the vehicle 02 matches the first configuration word and the second configuration word, and the matching includes: if the mileage purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, then the BGM11 does not perform the steps of broadcasting the first configuration word and the second configuration word, and determines that the vehicle mileage settlement verification has not passed; if the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero, then the BGM11 of the vehicle 02 broadcasts the first configuration word and the second configuration word to the VCU12 of the vehicle 02 and the DHU13 of the vehicle 02;

[0150] After receiving the first configuration word and the second configuration word broadcasted by the BGM11 of the vehicle 02, the VCU12 of the vehicle 02 matches the first configuration word and the second configuration word, and the matching includes: if the mileage purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, the VCU12 does not perform the mileage settlement step, and determines that the vehicle mileage settlement verification has failed; if the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero, the VCU12 performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally; the VCU12 of the vehicle 02 sends the first settlement result obtained by performing mileage settlement according to the first configuration word and the second configuration word to the DHU13 of the vehicle 02; wherein, the VCU12 of the vehicle 02 obtains the settlement verification result through the communication link of the settlement verification system, and if the number of times the vehicle mileage settlement verification has failed reaches a preset value, the vehicle 02 performs at least one of the following vehicle restriction controls: speed limit control, vehicle additional function restriction.

[0151] After receiving the first configuration word and the second configuration word broadcasted by the BGM11 of the vehicle 02, if the DHU13 of the vehicle 02 does not receive the first settlement result sent by the VCU12 of the vehicle 02 within the predetermined time, it determines that the vehicle mileage settlement verification has failed; if the DHU13 of the vehicle 02 receives the first settlement result sent by the VCU12 of the vehicle 02, it sends the first settlement result to the server 01;

[0152] Server 01 performs a consistency check based on the first settlement result and the second settlement result stored locally. If there is inconsistency, it is determined that the vehicle mileage settlement check has failed. Server 01 obtains the settlement check result through the communication link of the settlement check system. If the vehicle mileage settlement check has failed, the mileage refresh task including the first configuration word and the second configuration word is sent to vehicle 02 again.

[0153] In this example, the BGM11 of vehicle 02 can match the first configuration word and the second configuration word in the mileage writing task sent by server 01; the VCU12 of vehicle 02 can match the first configuration word and the second configuration word broadcast by BGM11 of vehicle 02, and perform settlement; if DHU13 does not receive the first settlement result, it can determine that the mileage settlement function of VCU12 is invalid, and if it receives the first settlement result, it forwards the first settlement result to server 01 for mileage settlement. The solution of this example performs multiple checks on the configuration words in the mileage writing task and compares the settlement results in the same writing task on multiple terminals, which can improve the reliability of mileage settlement.

[0154] The settlement verification system provided in this example includes: the server sends a mileage writing task including a first configuration word and a second configuration word to the vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word. In the scheme of this application, the server sends a configuration word representing the mileage purchase status and the mileage data to be settled to the vehicle, and the vehicle verifies the first settlement result by the remaining mileage when it is not purchased, which can improve the reliability of mileage settlement during the car rental process.

[0155] Embodiment 4

[0156] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, the electronic device comprising:

[0157] Processor (processor) 291, the electronic device also includes a memory (memory) 292; it can also include a communication interface (Communication Interface) 293 and a bus 294. Among them, the processor 291, the memory 292, the communication interface 293, can communicate with each other through the bus 294. The communication interface 293 can be used for information transmission. The processor 291 can call the logic instructions in the memory 292 to execute the method of the above example. In addition, the logic instructions in the above-mentioned memory 292 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. The memory 292, as a computer-readable storage medium, can be used to store software programs, computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present application. The processor 291 executes functional applications and data processing by running the software programs, instructions and modules stored in the memory 292, that is, implementing the method in the above method example.

[0158] The memory 292 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 292 may include a high-speed random access memory and may also include a non-volatile memory.

[0159] An embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method in any embodiment.

[0160] An embodiment of the present application also provides a computer program product, including a computer program, which implements the method in any embodiment when the computer program is executed by a processor.

[0161] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0162] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A settlement verification method, characterized in that: Applied to a server; the method comprises: Sending a mileage flashing task including a first configuration word and a second configuration word to a vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word; wherein the first configuration word represents the mileage purchase status, and the second configuration word represents the first mileage data to be settled; The verification includes: when the first configuration word indicates that the product has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, determining that the verification has passed; otherwise, determining that the verification has not passed.

2. The method according to claim 1, characterized in that The step of sending a mileage flashing task including a first configuration word and a second configuration word to a vehicle includes: The mileage refresh task is sent to the BGM of the vehicle, so that the BGM of the vehicle broadcasts the first configuration word and the second configuration word to the VCU of the vehicle, and the VCU of the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally.

3. The method according to claim 1, characterized in that The method further comprises: receiving a first settlement result sent by the vehicle; The first settlement result and the second settlement result stored locally are checked for consistency. If they are inconsistent, it is determined that the vehicle mileage settlement check has failed.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: If the vehicle mileage settlement verification fails, a mileage rewriting task including the first configuration word and the second configuration word is sent to the vehicle again.

5. A settlement verification method, characterized in that: Applied to a vehicle; the method comprises: Receive a mileage refresh task sent by a server, wherein the mileage refresh task includes a first configuration word and a second configuration word; wherein the first configuration word represents a mileage purchase status, and the second configuration word represents first mileage data to be settled; Mileage settlement is performed according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result; and, according to the first configuration word, the first settlement result is verified; the verification includes: when the first configuration word represents that the purchase has not been made, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, then the verification is determined to have passed, otherwise, the verification is determined to have failed.

6. The method according to claim 5, characterized in that Before executing mileage settlement according to the first configuration word, the second configuration word and the locally stored remaining mileage, the method further includes: The first configuration word and the second configuration word are matched; the matching includes: if the mileage purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, the vehicle does not perform settlement, and determines that the vehicle mileage settlement verification has failed; Mileage settlement is performed according to the first configuration word, the second configuration word and the locally stored remaining mileage, including: if the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero, the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the locally stored remaining mileage.

7. The method according to claim 5, characterized in that The vehicle includes a BGM and a VCU; the mileage writing task sent by the receiving server includes: The BGM of the vehicle receives the mileage refresh task sent by the server, and broadcasts the first configuration word and the second configuration word to the VCU of the vehicle; The VCU of the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally.

8. The method according to claim 7, characterized in that After the BGM of the vehicle receives the mileage writing task sent by the server, the process further includes: The BGM of the vehicle matches the first configuration word and the second configuration word; the matching includes: if the mileage purchase status is not purchased and the first mileage data is greater than zero, or if the mileage purchase status is purchased and the first mileage data is not greater than zero, the BGM does not perform the step of broadcasting the first configuration word and the second configuration word, and determines that the vehicle mileage settlement verification has not passed; The BGM of the vehicle broadcasts the first configuration word and the second configuration word to the VCU of the vehicle, including: if the mileage purchase status is not purchased and the first mileage data is not greater than zero, or if the mileage purchase status is purchased and the first mileage data is greater than zero, then the BGM of the vehicle broadcasts the first configuration word and the second configuration word to the VCU of the vehicle.

9. The method according to claim 7, characterized in that: The vehicle further includes a DHU; and the BGM of the vehicle broadcasts the first configuration word and the second configuration word to the VCU of the vehicle, including: The BGM of the vehicle broadcasts the first configuration word and the second configuration word to the VCU of the vehicle and the DHU of the vehicle; After the VCU of the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally, the method further includes: The VCU of the vehicle sends a first settlement result obtained by the VCU of the vehicle performing mileage settlement according to the first configuration word and the second configuration word to the DHU of the vehicle.

10. The method according to claim 9, characterized in that The method further comprises: After receiving the first configuration word and the second configuration word broadcast by the BGM of the vehicle, if the DHU of the vehicle does not receive the first settlement result sent by the VCU of the vehicle within a predetermined time, it is determined that the vehicle mileage settlement verification has failed.

11. The method according to claim 10, characterized in that The method further comprises: The DHU of the vehicle sends the first settlement result to the server, so that the server performs a consistency check based on the first settlement result and the second settlement result stored locally. If there is inconsistency, it is determined that the vehicle mileage settlement check has failed.

12. The method according to any one of claims 5 to 11, characterized in that The method further comprises: If the number of times that the vehicle mileage settlement verification fails reaches a preset value, the vehicle executes at least one of the following vehicle restriction controls: speed limit control, vehicle additional function restriction.

13. A server, characterized in that: The server is used to: Sending a mileage flashing task including a first configuration word and a second configuration word to a vehicle, so that the vehicle performs mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result, and verifies the first settlement result according to the first configuration word; wherein the first configuration word represents the mileage purchase status, and the second configuration word represents the first mileage data to be settled; The verification includes: when the first configuration word indicates that the product has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, determining that the verification has passed; otherwise, determining that the verification has not passed.

14. A vehicle, characterized in that: The vehicle is used for: Receive a mileage refresh task sent by a server, wherein the mileage refresh task includes a first configuration word and a second configuration word; wherein the first configuration word represents a mileage purchase status, and the second configuration word represents first mileage data to be settled; Execute mileage settlement according to the first configuration word, the second configuration word and the remaining mileage stored locally to obtain a first settlement result; And, according to the first configuration word, the first settlement result is verified; the verification includes: when the first configuration word indicates that it has not been purchased, if the mileage corresponding to the first settlement result is not greater than the remaining mileage, then the verification is determined to be passed, otherwise, the verification is determined to be failed.

15. A settlement verification system, characterized in that: Comprising the vehicle and the server as claimed in claim 13 and claim 14.

16. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 4 or claims 5 to 12.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 4 or claims 5 to 12 when executed by a processor.

18. A computer program product, characterized in that The method comprises a computer program, which implements the method according to any one of claims 1 to 4 or claims 5 to 12 when the computer program is executed by a processor.

Citation Information

Cited By

  • Settlement verification method and system, server, vehicle, device, medium, and product

    WO2026026702A1