Vehicle rental method and system
The vehicle's instrument and controller communicate in close range, and use dynamic keys and main keys to generate dynamic passwords, solving the problem of difficulty in recharge in areas with weak signal, reducing costs and improving security.
Patent Information
- Application Number
- CN202411223657.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-09-03
AI Technical Summary
In areas where the vehicle is in a weak mobile signal, it is difficult to recharge the electric forklift rental time, and the cost is high and the safety is poor.
The vehicle's instrument and controller communicate in close range, and use dynamic keys and main keys to generate dynamic passwords to realize vehicle rental and timing management, avoid dependence on base stations, reduce costs and improve security.
Recharge of vehicle rental time in areas with weak signals is achieved, reducing costs, and improving the security and reliability of rental through dynamic password verification mechanism.
Smart Images

Figure CN118761828B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle rental, and in particular to a vehicle rental method and system. Background Art
[0002] Vehicle rental applications are becoming more and more widespread. Vehicles can be cars or industrial vehicles. Industrial vehicles include forklifts and aerial work platforms. In particular, the increasing demand for forklifts in multiple fields such as manufacturing, transportation and warehousing has provided a broad space for the development of the forklift rental industry. With the advancement of environmental protection technology, the proportion of electric forklifts in the forklift rental market has gradually increased.
[0003] The current electric forklift rental control system usually uses a remote control device installed on the original vehicle body. The data exchange between the remote control device and the electric forklift controller uses serial bus communication. The remote control device communicates data with the network cloud platform, and the network cloud platform issues rental control instructions through the mobile network. The electric forklift controller exchanges data with the network cloud platform through the mobile communication terminal of the remote control device to realize the timed rental operation of the electric forklift.
[0004] However, the remote control device relies on base stations for communication. When the vehicle is in an area with weak mobile signals, it is difficult to recharge the rental time of the electric forklift, which is costly and unsafe. Summary of the invention
[0005] The present invention provides a vehicle leasing method and system to solve the problem that when the vehicle is in an area with weak mobile signals, the recharging of the rental time of an electric forklift is difficult to complete, the cost is high, and the safety is poor.
[0006] According to one aspect of the present invention, a vehicle rental method is provided, wherein the vehicle comprises an instrument and a controller; the instrument is connected to the controller, the instrument is in communication connection with a terminal device, and the terminal device is in communication connection with a background device; the method is applied to the controller; the method comprises:
[0007] Determine a dynamic key according to the operating parameters of the vehicle, and send the dynamic key to the meter, so that the terminal device obtains the dynamic key from the meter, so that the background device generates a dynamic password according to the dynamic key, the master key and the recharge duration, so that the terminal device sends the dynamic password and the recharge duration to the meter;
[0008] The dynamic password and the recharging time are obtained from the meter, and the vehicle is released after the dynamic password is verified, and the timing is started.
[0009] Optionally, after starting the timing, the method further includes:
[0010] After the timing duration reaches the recharge duration, if no temporary operation request is received from the meter within a first preset duration, controlling the vehicle to stop running;
[0011] If the temporary operation request is received from the meter within the first preset time period, the vehicle is controlled to operate in a limited manner.
[0012] Optionally, controlling the vehicle to operate in a restricted manner includes:
[0013] The rotation speed of the travel motor of the vehicle is controlled to be less than a first maximum rotation speed, and the rotation speed of the oil pump motor of the vehicle is controlled to be less than a second maximum rotation speed, and the torque of the oil pump motor is less than the maximum torque.
[0014] Optionally, determining a dynamic key according to an operating parameter of the vehicle includes:
[0015] The dynamic key is determined according to a first historical operating time of a travel motor of the vehicle, a second historical operating time of an oil pump motor of the vehicle, and a total mileage of the vehicle.
[0016] Optionally, determining the dynamic key according to a first historical operating time of a travel motor of the vehicle, a second historical operating time of an oil pump motor of the vehicle, and a total mileage of the vehicle includes:
[0017] The first historical running time, the second historical running time and the total mileage are calculated according to a preset calculation method to obtain an initial secret key; wherein the preset calculation method includes at least one of XOR, addition, subtraction, multiplication, division and shift;
[0018] At least a part of the initial key is used as the dynamic key.
[0019] Optionally, after starting the timing, the method further includes:
[0020] If the vehicle fails, the vehicle is controlled to stop running or run in a restricted manner;
[0021] If the vehicle still has a fault after the vehicle stops running or runs in a restricted manner, the timing will be suspended until the fault of the vehicle is resolved.
[0022] Optionally, after starting the timing, the method further includes:
[0023] If the timed duration reaches the second preset duration or a multiple of the second preset duration, updating the remaining rental duration stored in the storage unit of the controller;
[0024] If the timing duration does not reach the second preset duration or a multiple of the second preset duration, and the key voltage of the vehicle is less than the power-off threshold voltage, the remaining rental duration stored in the storage unit of the controller is updated.
[0025] According to another aspect of the present invention, a vehicle rental method is provided, wherein the vehicle comprises an instrument and a controller; the instrument is connected to the controller, the instrument is communicatively connected to a terminal device, and the terminal device is communicatively connected to a background device; the method is applied to the background device; the method comprises:
[0026] Acquiring a dynamic key from the terminal device; wherein the dynamic key is determined by the controller according to the operating parameters of the vehicle; the terminal device acquires the dynamic key from the meter;
[0027] A dynamic password is generated according to the dynamic key, the master key and the recharging duration, so that the terminal device sends the dynamic password and the recharging duration to the meter; so that the controller releases the vehicle after the dynamic password is verified and starts timing.
[0028] Optionally, generating a dynamic password according to the dynamic key, the master key and the recharge duration includes:
[0029] Determine the first target data in the corresponding master key according to the first part of the dynamic key, and calculate the first target data and the dynamic key according to a preset calculation method to obtain a first intermediate key;
[0030] Determine the second target data in the corresponding master key according to the second part of the dynamic key, and calculate the second target data and the dynamic key according to the preset calculation method to obtain a second intermediate key;
[0031] Combining the first intermediate key with the second intermediate key to obtain a third intermediate key;
[0032] The third intermediate key and the recharge duration are calculated according to the preset calculation method to obtain the dynamic password.
[0033] Optionally, determining the first target data in the corresponding master key according to the first part of the dynamic key includes:
[0034] Using the first part of the dynamic key as the first target serial number, converting the characters corresponding to the first target serial number in the master key to obtain the first target data;
[0035] Determining the second target data in the corresponding master key according to the second part of the dynamic key includes:
[0036] The second part of the dynamic key is used as the second target serial number, and the characters corresponding to the second target serial number in the master key are converted to obtain the second target data.
[0037] According to another aspect of the present invention, a vehicle rental method is provided, which is applied to a terminal device, wherein the vehicle includes a meter and a controller; the meter is connected to the controller, and the meter is communicatively connected to the terminal device; the method includes:
[0038] Acquire a dynamic key from the meter, and send the dynamic key to a background device, so that the background device generates a dynamic password according to the dynamic key, the master key and the recharge duration; wherein the dynamic key is determined by the controller according to the operating parameters of the vehicle;
[0039] The dynamic password is obtained from the background device, and the dynamic password and the recharge duration are sent to the meter, so that the controller obtains the dynamic password from the meter, and releases the vehicle and starts timing after the dynamic password is verified.
[0040] According to another aspect of the present invention, a vehicle rental system is provided, the vehicle rental system comprising a vehicle, a terminal device and a backend device; the vehicle comprises an instrument and a controller;
[0041] The meter is connected to the controller, and the controller is used to determine a dynamic key according to the operating parameters of the vehicle and send the dynamic key to the meter;
[0042] The meter is in communication connection with the terminal device, and the terminal device is used to obtain a dynamic key from the meter and send the dynamic key to the background device;
[0043] The terminal device is communicatively connected with the background device, and the background device is used to generate a dynamic password based on the dynamic key, the master key and the recharge duration, and send the dynamic password to the terminal device; the terminal device is also used to send the dynamic password and the recharge duration to the meter; the controller is also used to obtain the dynamic password and the recharge duration from the meter, and release the vehicle after the dynamic password is verified, and start timing.
[0044] According to the technical solution of the embodiment of the present invention, the vehicle includes an instrument and a controller; the instrument is connected to the controller, the instrument is connected to the terminal device by communication, and the terminal device is connected to the background device by communication. The instrument and the terminal device can be connected by short-distance communication such as Bluetooth communication or NFC communication. The controller of the vehicle does not need to use a base station for communication, so that the vehicle can also communicate with the terminal device when it is in a position with a weak signal. Therefore, when the vehicle is in an area with a weak mobile signal, the recharge of the vehicle's rental time can be completed. In addition, there is no need to set up a remote control device on the vehicle, and the vehicle rental can be achieved by using the existing instrument and controller of the vehicle, which reduces the cost. The controller can determine the dynamic key according to the operating parameters of the vehicle and send the dynamic key to the instrument. The terminal device can obtain the dynamic key from the instrument, and send the dynamic key and the recharge duration to the background device. The background device can generate a dynamic password according to the dynamic key, the master key and the recharge duration, and the terminal device can send the dynamic password and the recharge duration to the instrument. In this way, the security of recharge is improved, and users who do not have a dynamic password or do not generate a dynamic password based on the dynamic key cannot obtain the right to use the vehicle, thereby improving the security and reliability of vehicle rental. The controller verifies the dynamic password. If the verification fails, the controller cannot control the vehicle to run, and will not control the vehicle to start even if the key is detected. If the verification passes, the controller releases the vehicle and controls the vehicle to run when the key is detected. In addition, the controller starts timing after determining that the dynamic password verification has passed, thereby realizing the rental of the vehicle.
[0045] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0047] Figure 1 is a flow chart of a vehicle leasing method provided by an embodiment of the present invention;
[0048] Figure 2 is a flow chart of another vehicle leasing method provided by an embodiment of the present invention;
[0049] Figure 3 is a flow chart of another vehicle leasing method provided by an embodiment of the present invention;
[0050] Figure 4 is a flow chart of another vehicle leasing method provided by an embodiment of the present invention;
[0051] Figure 5 is a flow chart of another vehicle leasing method provided by an embodiment of the present invention;
[0052] Figure 6 is a flow chart of another vehicle leasing method provided by an embodiment of the present invention;
[0053] Figure 7 It is a structural schematic diagram of a vehicle rental system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0055] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0056] In view of the problem that when the vehicle is in an area with weak mobile signals, the recharge of the rental time of an electric forklift is difficult to complete, the cost is high, and the safety is poor, this embodiment provides a vehicle rental method. The vehicle includes an instrument and a controller; the instrument is connected to the controller, the instrument is connected to the terminal device, and the terminal device is connected to the background device. Among them, the instrument can be connected to the controller by communication or by electrical connection, which is not limited in this embodiment. The terminal device can be a mobile phone, a tablet computer, or a host computer. The instrument is connected to the terminal device by communication, such as by Bluetooth communication connection, or by near field communication (NFC), so that there is no need to set a remote control device on the vehicle, and the vehicle does not need to communicate remotely with the network cloud platform. When the vehicle is in a position with weak signals, communication with the terminal device can also be achieved. The background device can be a network cloud platform or a background server. The terminal device is connected to the background device by communication, such as by communication connection through a base station. When the vehicle is in a position with weak signals, after the terminal device obtains the signal of the instrument, the terminal device can be moved to a position with stronger signals to achieve communication between the terminal device and the background device. The recharge of the vehicle can be completed on the terminal device. Therefore, when the vehicle is in an area with weak mobile signals, the recharge of the vehicle's rental time can be completed. In addition, there is no need to set up a remote control device on the vehicle, and the vehicle rental can be achieved using the vehicle's existing instruments and controllers, which reduces costs.
[0057] The vehicle rental method provided in this embodiment is applied to a controller, that is, executed by the controller. Figure 1 is a flow chart of a vehicle leasing method provided by an embodiment of the present invention, with reference to Figure 1 , vehicle leasing methods include:
[0058] S101. Determine a dynamic key according to the operating parameters of the vehicle, and send the dynamic key to the meter, so that the terminal device obtains the dynamic key from the meter, so that the background device generates a dynamic password according to the dynamic key, the master key and the recharge duration, so that the terminal device sends the dynamic password and the recharge duration to the meter.
[0059] The vehicle's operating parameters may include the vehicle's remaining power, the vehicle's mileage, the vehicle's travel motor's operating time, and the vehicle's oil pump motor's operating time. The vehicle's operating parameters change according to the vehicle's operation, which makes it easier to generate a dynamic key and helps improve the security and reliability of recharge.
[0060] Specifically, when the vehicle is used, the vehicle controller can determine the dynamic key according to the vehicle's operating parameters and send the dynamic key to the meter; or, when the vehicle needs to be rented, the vehicle controller can determine the dynamic key according to the vehicle's operating parameters and send the dynamic key to the meter. When it is necessary to recharge the rental time, the terminal device can obtain the dynamic key from the meter and send the dynamic key and the recharge time to the background device. The background device can generate a dynamic password according to the dynamic key, the master key and the recharge time, and send the dynamic password to the terminal device. The terminal device can send the dynamic password and the recharge time to the meter. In this way, the security of recharge is improved. Users who do not have a dynamic password or do not generate a dynamic password based on the dynamic key cannot obtain the right to use the vehicle, thereby improving the security and reliability of vehicle rental.
[0061] Moreover, the dynamic password is generated based on the dynamic secret key. Even if the recharge time is the same, the dynamic password used is different, and the dynamic password is only valid once. The dynamic password used for vehicle recharge time is dynamic and has high security.
[0062] S102, obtaining a dynamic password and recharge duration from the meter, releasing the vehicle after the dynamic password is verified, and starting the timing.
[0063] Specifically, the vehicle controller can obtain the dynamic password and recharge duration from the meter, parse the dynamic password, and determine whether the dynamic password is calculated based on the dynamic secret key stored in the controller. If the verification fails, the controller cannot control the vehicle to run, and will not control the vehicle to start even if the key is detected to start the vehicle. If the verification passes, the controller releases the vehicle and controls the vehicle to run when the key is detected to start the vehicle. In addition, the controller starts timing after determining that the dynamic password verification has passed, thereby timing the vehicle's usage time to avoid the vehicle's usage time exceeding the recharge time, thereby realizing the rental of the vehicle.
[0064] In the technical solution of this embodiment, the vehicle includes an instrument and a controller; the instrument is connected to the controller, the instrument is connected to the terminal device, and the terminal device is connected to the background device. The instrument and the terminal device can be connected by short-distance communication such as Bluetooth communication or NFC communication. The controller of the vehicle does not need to use a base station for communication, so that when the vehicle is in a position with a weak signal, it can also communicate with the terminal device. Therefore, when the vehicle is in an area with a weak mobile signal, the recharge of the vehicle's rental time can be completed. In addition, there is no need to set up a remote control device on the vehicle, and the vehicle rental can be achieved using the existing instrument and controller of the vehicle, which reduces the cost. The controller can determine the dynamic key according to the operating parameters of the vehicle and send the dynamic key to the instrument. The terminal device can obtain the dynamic key from the instrument and send the dynamic key and the recharge duration to the background device. The background device can generate a dynamic password based on the dynamic key, the master key and the recharge duration, and the terminal device can send the dynamic password and the recharge duration to the instrument. In this way, the security of recharge is improved, and users who do not have a dynamic password or do not generate a dynamic password based on the dynamic key cannot obtain the right to use the vehicle, thereby improving the security and reliability of vehicle rental. The controller verifies the dynamic password. If the verification fails, the controller cannot control the vehicle to run, and will not control the vehicle to start even if the key is detected. If the verification passes, the controller releases the vehicle and controls the vehicle to run when the key is detected. In addition, the controller starts timing after determining that the dynamic password verification has passed, thereby realizing the rental of the vehicle.
[0065] Based on the above technical solutions, Figure 2 is a flowchart of another vehicle leasing method provided by an embodiment of the present invention, optionally, referring to Figure 2 , vehicle leasing methods include:
[0066] S201. Determine a dynamic key according to the operating parameters of the vehicle, and send the dynamic key to the meter, so that the terminal device obtains the dynamic key from the meter, so that the background device generates a dynamic password according to the dynamic key, the master key and the recharge duration, so that the terminal device sends the dynamic password and the recharge duration to the meter.
[0067] S202, obtaining the dynamic password and recharge duration from the meter, releasing the vehicle after the dynamic password is verified, and starting the timing.
[0068] S203, after the timing duration reaches the recharge duration, determine whether a temporary operation request is received from the meter within the first preset duration, if so, execute step S204; if not, execute step S205.
[0069] Among them, the temporary operation request can be a temporary dynamic password. After the timing duration reaches the recharge duration, the controller can issue a dynamic key, the terminal device obtains the dynamic key from the meter, and sends the dynamic key to the background device. The background device can generate a temporary dynamic password based on the dynamic key and the master key, which is a temporary operation request. The terminal device sends the temporary dynamic password to the controller through the meter as a temporary operation request, so that the controller can receive the temporary dynamic password, that is, receive the temporary operation request.
[0070] Specifically, after the timing duration reaches the recharge duration, the terminal device can send a temporary operation request to the meter, and the meter sends the temporary operation request to the controller. After the controller receives the temporary operation request from the meter, it can control the vehicle to operate in a restricted manner. If no temporary operation request is received within the first preset time period, the vehicle is controlled to stop running.
[0071] S204: Control the vehicle to operate in a restricted manner.
[0072] Specifically, after the timing reaches the recharge time, if the vehicle is not at the return location, or the vehicle is moving goods, a temporary operation request can be sent to the meter through the terminal device. After the controller receives the temporary operation request within the first preset time, it will control the vehicle to operate in a restricted manner. For example, the duration of the temporary operation of the vehicle, the speed of the vehicle during the restricted operation, etc., are controlled to avoid continuing to use the vehicle normally after the timing reaches the recharge time.
[0073] S205: Control the vehicle to stop running.
[0074] Specifically, after the timing duration reaches the recharging duration, if no temporary operation request is received within the first preset duration, indicating that the user has finished using the vehicle or needs to continue recharging, the controller will control the vehicle to stop running.
[0075] By setting the first preset duration, it is possible to avoid controlling the vehicle to stop running during the process of sending a temporary operation request, thereby helping to improve the user experience.
[0076] On the basis of the above technical solution, optionally, in step S204, controlling the vehicle to operate in a restricted manner includes:
[0077] The rotation speed of the vehicle's travel motor is controlled to be less than the first maximum rotation speed, and the rotation speed of the vehicle's oil pump motor is controlled to be less than the second maximum rotation speed, and the torque of the oil pump motor is less than the maximum torque.
[0078] Specifically, by controlling the speed of the vehicle's travel motor to be less than the first maximum speed, the vehicle's speed can be reduced, and the torque of the travel motor is not restricted, so that the vehicle can climb normally, etc., which is conducive to improving user experience. By controlling the speed of the vehicle's oil pump motor to be less than the second maximum speed, the speed of the oil pump motor is reduced. And the torque of the oil pump motor is controlled to be less than the maximum torque, so that the oil pump motor can no longer drive the vehicle's lifting device to lift. In this way, after the timing reaches the recharge time, the lifting device can only be lowered to the original position (the position of the lifting device before the vehicle was rented or the lowest position of the lifting device), and the vehicle can be run at a lower speed to the return position, that is, the vehicle is run without load while ensuring safety, which improves the user experience and can prevent the vehicle from being used further.
[0079] The lifting device of the vehicle may be a fork or a large arm of a forklift, or a platform of an aerial work platform, etc. The oil pump motor is a motor that drives the lifting device to operate.
[0080] On the basis of the above technical solutions, optionally, in step S101 or step S201, determining the dynamic key according to the operating parameters of the vehicle includes:
[0081] The dynamic key is determined according to a first historical operating time of a travel motor of the vehicle, a second historical operating time of an oil pump motor of the vehicle, and a total mileage of the vehicle.
[0082] Specifically, the travel motor of the vehicle is a motor that drives the vehicle to travel. The first historical operating time of the travel motor can be the operating time of the travel motor after the vehicle is charged, or it can be the operating time of the travel motor after the vehicle is turned on this time, which is not limited in this embodiment. The second historical operating time of the oil pump motor can be the operating time of the oil pump motor after the vehicle is charged, or it can be the operating time of the oil pump motor after the vehicle is turned on this time. The total mileage of the vehicle can be the total mileage of the vehicle after charging, or it can be the total mileage of the vehicle after leaving the factory, which is not limited in this embodiment.
[0083] The first historical operating time of the vehicle's travel motor, the second historical operating time of the vehicle's oil pump motor and the vehicle's total mileage change dynamically with the operation of the vehicle. Therefore, the dynamic key generated based on the first historical operating time of the vehicle's travel motor, the second historical operating time of the vehicle's oil pump motor and the vehicle's total mileage is more dynamic, which is conducive to improving the security of recharge, and thus improving the security and reliability of vehicle rental.
[0084] On the basis of the above technical solution, optionally, the dynamic key is determined according to the first historical operation time of the vehicle's travel motor, the second historical operation time of the vehicle's oil pump motor and the total mileage of the vehicle, including:
[0085] Step a1: Calculate the first historical operating time, the second historical operating time and the total mileage according to a preset calculation method to obtain an initial secret key; wherein the preset calculation method includes at least one of XOR, addition, subtraction, multiplication, division and shift.
[0086] Specifically, the first historical operating time, the second historical operating time and the total mileage can be calculated in a preset calculation method to obtain the initial key, or the first historical operating time, the second historical operating time and the total mileage can be calculated in multiple preset calculation methods to obtain the initial key, which is not limited in this embodiment. In this way, the security of the initial key is improved, and then the security of the dynamic key is improved.
[0087] Step a2: Use at least part of the initial key as a dynamic key.
[0088] Specifically, for example, if the initial key is 8 bits of data, the upper 4 bits of the initial key can be used as the dynamic key, the lower 4 bits of the initial key can be used as the dynamic key, or the entire initial key can be used as the dynamic key, which is not limited in this embodiment. In this way, the dynamic key is more dynamic, which is conducive to improving the security of vehicle rental, and is easy to calculate, which is conducive to improving the efficiency of the recharge process.
[0089] For example, the first historical running time of the travel motor is 15.0 hours, the second historical running time of the oil pump motor is 12.2 hours, and the total mileage is 28.2 km. For example, if the preset operation mode is XOR, then 150, 122, and 282 are XORed to 0x1F6, that is, the initial key is 0x1F6. If the dynamic key is the lower 8 bits of the initial key, the dynamic key is 0xF6.
[0090] On the basis of the above technical solutions, Figure 3 is a flowchart of another vehicle leasing method provided by an embodiment of the present invention. Optionally, refer to Figure 3 , vehicle leasing methods include:
[0091] S301. Determine a dynamic key according to the operating parameters of the vehicle, and send the dynamic key to the meter, so that the terminal device obtains the dynamic key from the meter, so that the background device generates a dynamic password according to the dynamic key, the master key and the recharge duration, so that the terminal device sends the dynamic password and the recharge duration to the meter.
[0092] S302, obtaining the dynamic password and recharge duration from the meter, releasing the vehicle after the dynamic password is verified, and starting the timing.
[0093] S303: If the vehicle fails, control the vehicle to stop running or to operate in a restricted manner.
[0094] Specifically, the vehicle failure may be an abnormal change in vehicle speed or abnormal battery power supply of the vehicle. When the controller determines that the vehicle has a failure, the controller controls the vehicle to stop running or to operate in a restricted manner, which can avoid damage to the vehicle and prevent the driver from being at risk of safety due to abnormal vehicle operation. Controlling the vehicle to operate in a restricted manner means that the controller controls the speed of the vehicle's travel motor to be less than the first maximum speed, and controls the speed of the vehicle's oil pump motor to be less than the second maximum speed, and the torque of the oil pump motor to be less than the maximum torque.
[0095] S304, determine whether the vehicle still has a fault, if so, execute step S305; if not, execute step S306.
[0096] Specifically, after the vehicle is controlled to stop running or limited running, it is determined whether the vehicle still has a fault, and if the vehicle still has a fault, the timing is suspended. If the vehicle fault is removed, the controller normally times the time.
[0097] S305: Pause timing and return to step S304.
[0098] Specifically, after the vehicle is stopped or restricted from running, if the vehicle still has a fault, the timing will be suspended until the fault is resolved. This can reduce user losses. And after the fault is resolved, the normal timing will continue to ensure that the rental timing continues to run. Figure 3 As shown, after the timing is paused, the process can return to step S304, that is, continue to determine whether the vehicle fault is resolved, and then after the fault is resolved, execute step S306 and start timing normally to ensure that the rental timing continues to run.
[0099] S306: Normal timing.
[0100] Based on the above technical solutions, Figure 4 is a flowchart of another vehicle leasing method provided by an embodiment of the present invention. Optionally, refer to Figure 4 , vehicle leasing methods include:
[0101] S401. Determine a dynamic key according to the operating parameters of the vehicle, and send the dynamic key to the meter, so that the terminal device obtains the dynamic key from the meter, so that the background device generates a dynamic password according to the dynamic key, the master key and the recharge duration, so that the terminal device sends the dynamic password and the recharge duration to the meter.
[0102] S402, obtaining the dynamic password and recharge duration from the meter, releasing the vehicle after the dynamic password is verified, and starting the timer.
[0103] S403, determining whether the timing duration reaches a second preset duration or a multiple of the second preset duration, if so, executing step S404; if not, executing step S405.
[0104] Specifically, by setting a second preset duration, when the timing duration reaches the second preset duration or a multiple of the second preset duration, the remaining rental duration stored in the storage unit of the controller can be updated, so that the remaining rental duration can be updated in time, and the number of writes to the storage unit can be reduced, thereby extending the service life of the storage unit. The storage unit may include an electrically erasable programmable read-only memory (EEPROM).
[0105] S404: Update the remaining rental time stored in the storage unit of the controller.
[0106] Specifically, when updating the remaining rental time in the storage unit, the remaining rental time stored in the storage unit can be cleared first, and then the currently calculated remaining rental time is written into the storage unit to update the remaining rental time. In this way, the remaining rental time can be updated every second preset time. The second preset time can be several minutes, for example, greater than or equal to 0.05 hours, and less than or equal to 0.2 hours, for example, 0.1 hours. Then the second preset time will not be too large, and the remaining rental time can be updated in time, and the second preset time will not be too small, which can reduce the number of writes to the storage unit and extend the service life of the storage unit.
[0107] S405: If the key voltage of the vehicle is less than the power-off threshold voltage, the remaining rental time stored in the storage unit of the controller is updated.
[0108] Specifically, when the vehicle's key voltage is less than the power-off threshold voltage, it indicates that the vehicle is about to lose power. At this time, regardless of whether the timing duration reaches the second preset duration or a multiple of the second preset duration, the remaining rental duration stored in the storage unit of the controller is updated, thereby saving the latest remaining rental duration in time before power failure, which is conducive to accurate timing of the rental duration and facilitates improving the accuracy of vehicle rental.
[0109] The embodiment of the present invention further provides another vehicle rental method, which is applied to a background device, that is, the vehicle rental method of this embodiment is executed by the background device. Figure 5 is a flowchart of another vehicle leasing method provided by an embodiment of the present invention. Optionally, refer to Figure 5 , vehicle leasing methods include:
[0110] S501. Obtain a dynamic key from a terminal device; wherein the dynamic key is determined by a controller according to operating parameters of the vehicle; and the terminal device obtains the dynamic key from an instrument.
[0111] Specifically, when the vehicle is used, the vehicle controller can determine the dynamic key according to the vehicle's operating parameters and send the dynamic key to the meter; or, when the vehicle needs to be rented, the vehicle controller can determine the dynamic key according to the vehicle's operating parameters and send the dynamic key to the meter. When the rental time needs to be recharged, the terminal device can obtain the dynamic key from the meter and send the dynamic key and the recharge time to the background device, so that the background device can generate the corresponding dynamic password according to the dynamic key, so that the dynamic password is associated with the dynamic key, which is convenient for the vehicle controller to verify.
[0112] S502, generating a dynamic password according to the dynamic key, the master key and the recharging time, so that the terminal device sends the dynamic password and the recharging time to the meter; so that the controller releases the vehicle after the dynamic password is verified and starts timing.
[0113] Specifically, the background device can generate a dynamic password based on the dynamic key, the master key and the recharge duration, and send the dynamic password to the terminal device, and the terminal device can send the dynamic password and the recharge duration to the meter. The controller can obtain the dynamic password and the recharge duration from the meter, parse the dynamic password, and determine whether the dynamic password is calculated based on the dynamic key stored in the controller. If the verification is not passed, the controller cannot control the vehicle to run, and will not control the vehicle to start even if the key is detected to turn on the vehicle. If the verification is passed, the controller releases the vehicle and controls the vehicle to run when the key is detected to turn on the vehicle. In addition, the controller starts timing after determining that the dynamic password verification is passed, thereby timing the vehicle's usage time to avoid the vehicle's usage time exceeding the recharge time, thereby realizing the rental of the vehicle. In this way, the security of recharge is improved, and users who do not have a dynamic password or do not generate a dynamic password based on the dynamic key cannot obtain the right to use the vehicle, thereby improving the security and reliability of vehicle rental.
[0114] On the basis of the above technical solution, optionally, in step S502, a dynamic password is generated according to the dynamic key, the master key and the recharge duration, including:
[0115] Step b1: determine the first target data in the corresponding master key according to the first part of the dynamic key, and calculate the first target data and the dynamic key according to a preset calculation method to obtain a first intermediate key.
[0116] Specifically, the master key may include a string, that is, multiple characters. The first part of the data of the dynamic key may be the first half of the data or the second half of the data of the dynamic key. For example, if the dynamic key is 8-bit data, the first part of the data of the dynamic key may be the low 4-bit data or the high 4-bit data of the dynamic key. For example, the first part of the data of the dynamic key may be the low 4-bit data of the dynamic key, and the first target data in the master key corresponding to the first part of the data may be the low 4-bit characters in the master key. Alternatively, the low 4-bit data of the dynamic key may be used as a serial number value, and the characters in the master key corresponding to the serial number value may be converted into hexadecimal data to obtain the first target data.
[0117] The preset operation method includes at least one of XOR, addition, subtraction, multiplication, division and shift. The first target data and the dynamic key are operated according to the preset operation method to obtain the first intermediate key, for example, the first target data and the dynamic key are XORed to obtain the first intermediate key, or the first target data and the dynamic key are added to obtain the first intermediate key, or the first intermediate key is obtained by other operation methods, which is not limited in this embodiment.
[0118] Step b2: determine the second target data in the corresponding master key according to the second part of the dynamic key, and calculate the second target data and the dynamic key according to a preset calculation method to obtain a second intermediate key.
[0119] Specifically, the second part of the dynamic key data may be the first half of the dynamic key data or the second half of the dynamic key data. For example, if the dynamic key is 8-bit data, the first part of the dynamic key data may be the lower 4 bits of the dynamic key data, and the second part of the dynamic key data may be the upper 4 bits of the dynamic key data. Alternatively, the first part of the dynamic key data is the upper bits of the dynamic key data, and the second part of the dynamic key data is the lower 4 bits of the dynamic key data.
[0120] The preset operation method includes at least one of XOR, addition, subtraction, multiplication, division and shift. The second target data and the dynamic key are operated according to the preset operation method to obtain the second intermediate key. The operation method of the second target data and the dynamic key can be the same as or different from the operation method of the first target data and the dynamic key, which is not limited in this embodiment.
[0121] Step b3: Combine the first intermediate key and the second intermediate key to obtain a third intermediate key.
[0122] Specifically, merging the first intermediate key with the second intermediate key may be to calculate the first intermediate key and the second intermediate key to obtain the third intermediate key. Alternatively, the first intermediate key and the second intermediate key may be directly concatenated to form the third intermediate key. For example, if the first intermediate key includes two bits of data and the second intermediate key includes two bits of data, the two bits of data of the first intermediate key may be used as the lower two bits of data of the third intermediate key, and the two bits of data of the second intermediate key may be used as the upper two bits of data of the third intermediate key. Alternatively, the two bits of data of the first intermediate key may be used as the upper two bits of data of the third intermediate key, and the two bits of data of the second intermediate key may be used as the lower two bits of data of the third intermediate key.
[0123] Step b4: Calculate the third intermediate key and the recharge duration according to a preset calculation method to obtain a dynamic password.
[0124] Specifically, the third intermediate key and the recharge time are calculated to obtain a dynamic password, so that the dynamic password contains the recharge time. The controller can parse the dynamic password according to the recharge time, and by determining whether the parsed dynamic key is consistent with the dynamic key stored in the controller, the dynamic password can be verified, thereby improving the security of vehicle rental.
[0125] On the basis of the above technical solution, optionally, in step b1, determining the first target data in the corresponding master key according to the first part of the dynamic key includes:
[0126] The first part of the dynamic key data is used as the first target serial number, and the characters corresponding to the first target serial number in the master key are converted to obtain the first target data.
[0127] Specifically, the master key may include a string, that is, multiple characters. The first part of the dynamic key data may be the first half of the dynamic key data or the second half of the dynamic key data. The first part of the dynamic key data may be used as the first target serial number, and the characters in the master key corresponding to the first target serial number may be converted into hexadecimal data to obtain the first target data.
[0128] For example, the master key is F!9>R%KLI#FT?ASD, that is, the master key includes 16 characters, from the 0th to the 15th from the left to the right. For example, the dynamic key is 0xF6, and the first part of the dynamic key data is the high 4 bits of data, that is, the first part of the data is 0xF, then the first target sequence number is 0xF, corresponding to the 15th character "D" in the master key, and the character "D" is converted into hexadecimal data to obtain the first target data 0x44.
[0129] After obtaining the first target data, the first target data and the dynamic key are operated according to a preset operation method to obtain the first intermediate key, for example, the first target data 0x44 and the dynamic key 0xF6 are XORed to obtain the first intermediate key 0xB2.
[0130] Optionally, in step b2, determining the second target data in the corresponding master key according to the second part of the dynamic key includes:
[0131] The second part of the dynamic key data is used as the second target serial number, and the characters corresponding to the second target serial number in the master key are converted to obtain the second target data.
[0132] Specifically, the second part of the dynamic key data can be the first half or the second half of the dynamic key data. The second part of the dynamic key data can be used as the second target serial number. The second target data can be obtained by converting the characters in the master key corresponding to the second target serial number into hexadecimal data.
[0133] For example, if the dynamic key is 0xF6, the first part of the dynamic key data is the high 4 bits, then the second part of the dynamic key data is the low 4 bits, that is, 0x6, then the second target serial number is 0x6, and the character corresponding to the second target serial number in the master key is the 6th character "K", which is converted to hexadecimal data to obtain the second target data 0x4B.
[0134] After obtaining the second target data, the second target data and the dynamic key are operated according to a preset operation method to obtain a second intermediate key. For example, the second target data 0x4B and the dynamic key 0xF6 are XOR-operated to obtain a second intermediate key of 0xBD.
[0135] For example, the first intermediate key is used as the high-order data, and the second intermediate key is used as the low-order data to obtain the third intermediate key. That is, the first intermediate key 0xB2 and the second intermediate key 0xBD are combined to obtain the third intermediate key 0xB2BD. For example, if the recharge time is 100 hours, the third intermediate key and the recharge time can be calculated according to the preset calculation method to obtain a dynamic password. For example, the third intermediate key 0xB2BD is XORed with the hexadecimal data corresponding to 100 to obtain a dynamic password of 0xB2D9, and 0xB2D9 is converted to decimal data of 45785, thereby obtaining a dynamic key.
[0136] The embodiment of the present invention further provides another vehicle rental method, which is applied to a terminal device, that is, the vehicle rental method provided in this embodiment is executed by the terminal device. Figure 6 is a flowchart of another vehicle leasing method provided by an embodiment of the present invention. Optionally, refer to Figure 6 , vehicle leasing methods include:
[0137] S601. Obtain a dynamic key from the instrument and send the dynamic key to a background device, so that the background device generates a dynamic password according to the dynamic key, the master key and the recharge duration; wherein the dynamic key is determined by the controller according to the operating parameters of the vehicle.
[0138] Specifically, when the vehicle is used, the vehicle controller can determine the dynamic key according to the vehicle's operating parameters and send the dynamic key to the meter; or, when the vehicle needs to be rented, the vehicle controller can determine the dynamic key according to the vehicle's operating parameters and send the dynamic key to the meter. When the rental time needs to be recharged, the terminal device can obtain the dynamic key from the meter and send the dynamic key and recharge time to the background device, which can generate a dynamic password based on the dynamic key, master key and recharge time.
[0139] S602, obtain the dynamic password from the background device, and send the dynamic password and the recharge duration to the meter, so that the controller obtains the dynamic password from the meter, and releases the vehicle and starts timing after the dynamic password is verified.
[0140] Specifically, the background device sends the dynamic password to the terminal device, and the terminal device can send the dynamic password and the recharge duration to the meter. The controller can obtain the dynamic password and the recharge duration from the meter, parse the dynamic password, and determine whether the dynamic password is calculated based on the dynamic key stored in the controller. If the verification fails, the controller cannot control the vehicle to run, and will not control the vehicle to start even if the key is detected to turn on the vehicle. If the verification passes, the controller releases the vehicle and controls the vehicle to run when the key is detected to turn on the vehicle. In addition, the controller starts timing after determining that the dynamic password verification has passed, thereby timing the vehicle's usage time to avoid the vehicle's usage time exceeding the recharge time, thereby realizing the rental of the vehicle. In this way, the security of recharge is improved, and users who do not have a dynamic password or do not generate a dynamic password based on the dynamic key cannot obtain the right to use the vehicle, thereby improving the security and reliability of vehicle rental.
[0141] Optionally, after obtaining the dynamic password from the background device and sending the dynamic password and the recharge duration to the meter so that the controller obtains the dynamic password from the meter and releases the vehicle and starts timing after the dynamic password is verified, the vehicle rental method further includes:
[0142] Step c1: After the timing duration reaches the recharge duration, the dynamic key is obtained from the meter and sent to the background device, so that the background device generates a temporary dynamic password according to the dynamic key and the master key.
[0143] Specifically, when the vehicle controller reaches the recharge time, it can send a signal to the meter, and the meter sends a signal that the time has reached the recharge time to the terminal device. If temporary operation is required, the terminal device can obtain the dynamic key from the meter and send it to the background device, and the background device will generate a temporary dynamic password based on the dynamic key and the master key.
[0144] Among them, the terminal device determines whether it is necessary to send the dynamic key to the background device. The terminal device can obtain the vehicle status from the controller through the instrument to determine whether temporary operation is required, or it can receive temporary operation information input by the user to determine whether temporary operation is required. This embodiment does not limit this.
[0145] Step c2: sending the temporary dynamic password as a temporary operation request to the instrument, so that the controller controls the vehicle to operate in a restricted manner according to the temporary operation request.
[0146] Specifically, the terminal device sends the temporary dynamic password as a temporary operation request to the controller through the meter, so that the controller can receive the temporary dynamic password, that is, receive the temporary operation request, and the controller will control the vehicle to operate in a restricted manner. Therefore, after the timing reaches the recharge time, the lifting device can only be lowered to the original position, and the vehicle can be operated at a lower speed to the return position, that is, the vehicle is operated without load while ensuring safety, which improves the user experience and can prevent the vehicle from being used further.
[0147] The embodiment of the present invention further provides a vehicle rental system, which can be used to implement the vehicle rental method provided in any embodiment of the present invention. Figure 7 is a schematic diagram of a vehicle rental system provided by an embodiment of the present invention, with reference to Figure 7 , the vehicle rental system includes a vehicle 11, a terminal device 21 and a background device 31; the vehicle 11 includes a meter 110 and a controller 120;
[0148] The meter 110 is connected to the controller 120, and the controller 120 is used to determine the dynamic key according to the operating parameters of the vehicle and send the dynamic key to the meter 110;
[0149] The meter 110 is in communication connection with the terminal device 21, and the terminal device 21 is used to obtain the dynamic key from the meter 110 and send the dynamic key to the background device 31;
[0150] The terminal device 21 is communicatively connected with the background device 31, and the background device 31 is used to generate a dynamic password according to the dynamic key, the master key and the recharge duration, and send the dynamic password to the terminal device 21; the terminal device 21 is also used to send the dynamic password and the recharge duration to the meter 110; the controller 120 is also used to obtain the dynamic password and the recharge duration from the meter 110, and release the vehicle after the dynamic password is verified, and start timing.
[0151] Among them, the meter 110 may be provided with a communication chip, so that the meter 110 can communicate with the terminal device 21, for example, through a Bluetooth communication connection, or through a Near Field Communication (NFC) connection, so that there is no need to set up a remote control device on the vehicle, and the vehicle does not need to communicate remotely with the network cloud platform. When the vehicle is in a position with a weak signal, it can also communicate with the terminal device 21. The background device 31 can be a network cloud platform or a background server. The terminal device 21 is connected to the background device 31 in communication, for example, through a base station. When the vehicle is in a position with a weak signal, after the terminal device 21 obtains the signal of the meter, the terminal device 21 can be moved to a position with a stronger signal to achieve communication between the terminal device 21 and the background device 31.
[0152] The vehicle rental system of this embodiment can implement the vehicle rental method provided by any embodiment of the present invention. Therefore, the vehicle rental system of this embodiment has the same beneficial effects as the vehicle rental method provided by any embodiment of the present invention, which will not be repeated here.
[0153] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0154] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A vehicle leasing method, characterized in that: The vehicle includes an instrument and a controller; the instrument is connected to the controller, the instrument is communicatively connected to a terminal device, and the terminal device is communicatively connected to a background device; The method is applied to the controller; the method comprises: Determine a dynamic key according to the operating parameters of the vehicle, and send the dynamic key to the meter, so that the terminal device obtains the dynamic key from the meter, so that the background device generates a dynamic password according to the dynamic key, the master key and the recharge duration, so that the terminal device sends the dynamic password and the recharge duration to the meter; Obtaining the dynamic password and the recharge duration from the meter, releasing the vehicle after the dynamic password is verified, and starting the timer; After starting the timing, the method further includes: After the timing duration reaches the recharge duration, if no temporary operation request is received from the meter within a first preset duration, controlling the vehicle to stop running; If the temporary operation request is received from the meter within the first preset time period, controlling the vehicle to operate in a limited manner; Determining a dynamic key according to the operating parameters of the vehicle includes: Determining the dynamic key according to a first historical operating time of a travel motor of the vehicle, a second historical operating time of an oil pump motor of the vehicle, and a total mileage of the vehicle; Determining the dynamic key according to a first historical operating time of a travel motor of the vehicle, a second historical operating time of an oil pump motor of the vehicle, and a total mileage of the vehicle includes: The first historical running time, the second historical running time and the total mileage are calculated according to a preset calculation method to obtain an initial secret key; wherein the preset calculation method includes at least one of XOR, addition, subtraction, multiplication, division and shift; At least a part of the initial key is used as the dynamic key.
2. The method according to claim 1, characterized in that Controlling the vehicle to operate in a restricted manner, including: The rotation speed of the travel motor of the vehicle is controlled to be less than a first maximum rotation speed, and the rotation speed of the oil pump motor of the vehicle is controlled to be less than a second maximum rotation speed, and the torque of the oil pump motor is less than the maximum torque.
3. The method according to claim 1, characterized in that After starting the timing, the method further includes: If the vehicle fails, the vehicle is controlled to stop running or run in a restricted manner; If the vehicle still has a fault after the vehicle stops running or runs in a restricted manner, the timing will be suspended until the fault of the vehicle is resolved.
4. The method according to claim 1, characterized in that: After starting the timing, the method further includes: If the timed duration reaches the second preset duration or a multiple of the second preset duration, updating the remaining rental duration stored in the storage unit of the controller; If the timing duration does not reach the second preset duration or a multiple of the second preset duration, and the key voltage of the vehicle is less than the power-off threshold voltage, the remaining rental duration stored in the storage unit of the controller is updated.
5. A vehicle leasing method, characterized in that: The vehicle includes an instrument and a controller; the instrument is connected to the controller, the instrument is communicatively connected to a terminal device, and the terminal device is communicatively connected to a background device; The method is applied to the background device; the method comprises: Acquire a dynamic key from the terminal device; wherein the dynamic key is determined by the controller according to the operating parameters of the vehicle, and the controller calculates the first historical operating time of the travel motor of the vehicle, the second historical operating time of the oil pump motor of the vehicle and the total mileage of the vehicle according to a preset calculation method to obtain an initial key; use at least part of the initial key as the dynamic key; wherein the preset calculation method includes at least one of XOR, addition, subtraction, multiplication, division and shift; the terminal device obtains the dynamic key from the meter; A dynamic password is generated according to the dynamic key, the master key and the recharging duration, so that the terminal device sends the dynamic password and the recharging duration to the meter; the controller releases the vehicle and starts timing after the dynamic password is verified; after the timing duration reaches the recharging duration, if the controller does not receive a temporary operation request from the meter within a first preset time period, the vehicle is controlled to stop running; if the temporary operation request is received from the meter within the first preset time period, the vehicle is controlled to operate in a restricted manner.
6. The method according to claim 5, characterized in that Generate a dynamic password according to the dynamic key, the master key and the recharge duration, including: Determine the first target data in the corresponding master key according to the first part of the dynamic key, and calculate the first target data and the dynamic key according to a preset calculation method to obtain a first intermediate key; Determine the second target data in the corresponding master key according to the second part of the dynamic key, and calculate the second target data and the dynamic key according to the preset calculation method to obtain a second intermediate key; Combining the first intermediate key with the second intermediate key to obtain a third intermediate key; The third intermediate key and the recharge duration are calculated according to the preset calculation method to obtain the dynamic password.
7. The method according to claim 6, characterized in that Determining first target data in a corresponding master key according to the first part of data of the dynamic key includes: Using the first part of the dynamic key as the first target serial number, converting the characters corresponding to the first target serial number in the master key to obtain the first target data; Determining the second target data in the corresponding master key according to the second part of the dynamic key includes: The second part of the dynamic key is used as the second target serial number, and the characters corresponding to the second target serial number in the master key are converted to obtain the second target data.
8. A vehicle leasing method, characterized in that: Applied to a terminal device, the vehicle includes an instrument and a controller; the instrument is connected to the controller, and the instrument is communicatively connected to the terminal device; the method includes: A dynamic key is obtained from the meter, and the dynamic key is sent to a background device, so that the background device generates a dynamic password according to the dynamic key, the master key and the recharge duration; wherein the dynamic key is determined by the controller according to the operating parameters of the vehicle, and the controller calculates the first historical operating duration of the vehicle's travel motor, the second historical operating duration of the vehicle's oil pump motor and the total mileage of the vehicle according to a preset calculation method to obtain an initial key; at least part of the initial key is used as the dynamic key; wherein the preset calculation method includes at least one of XOR, addition, subtraction, multiplication, division and shift; The dynamic password is obtained from the background device, and the dynamic password and the recharge duration are sent to the meter, so that the controller obtains the dynamic password from the meter, and releases the vehicle and starts timing after the dynamic password is verified; so that after the timing duration reaches the recharge duration, if the controller does not receive a temporary operation request from the meter within a first preset time period, the vehicle is controlled to stop running; if the temporary operation request is received from the meter within the first preset time period, the vehicle is controlled to operate in a restricted manner.
9. A vehicle rental system, characterized in that: It includes a vehicle, a terminal device and a background device; the vehicle includes an instrument and a controller; The meter is connected to the controller, and the controller is used to determine a dynamic key according to the operating parameters of the vehicle and send the dynamic key to the meter; The controller is used to calculate the first historical running time of the travel motor of the vehicle, the second historical running time of the oil pump motor of the vehicle and the total mileage of the vehicle according to a preset calculation method to obtain an initial secret key; at least part of the initial secret key is used as the dynamic secret key; wherein the preset calculation method includes at least one of XOR, addition, subtraction, multiplication, division and shift; The meter is in communication connection with the terminal device, and the terminal device is used to obtain a dynamic key from the meter and send the dynamic key to the background device; The terminal device is communicatively connected with the background device, and the background device is used to generate a dynamic password according to the dynamic key, the master key and the recharge duration, and send the dynamic password to the terminal device; the terminal device is also used to send the dynamic password and the recharge duration to the meter; the controller is also used to obtain the dynamic password and the recharge duration from the meter, and release the vehicle after the dynamic password is verified, and start timing; the controller is also used to control the vehicle to stop running if no temporary operation request is received from the meter within a first preset time after the timing duration reaches the recharge duration; if the temporary operation request is received from the meter within the first preset time, the vehicle is controlled to operate in a restricted manner.
