Vehicle control method and device, vehicle, terminal equipment and medium
Patent Information
- Application Number
- CN202610954621.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-29
- Publication Date
- 2026-09-04
AI Technical Summary
然而,车辆中往往设置单点主控制器,当单点主控制器出现故障时,数字钥匙会失效,给用户带来无法使用数字钥匙来解锁车辆的困境
[0020]本公开实施例提供的技术方案与现有技术相比具有如下优点:
Smart Images

Figure CN122684367A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of vehicle control technology, and in particular to a vehicle control method, device, vehicle, terminal equipment, and medium. Background Technology
[0002] As vehicle technology advances, vehicles become increasingly intelligent, and the methods for unlocking vehicles also change accordingly.
[0003] In related technologies, users can unlock their vehicles quickly by using a digital key in a terminal device when they do not have a mechanical key. However, vehicles often have a single-point master controller. When this single-point master controller malfunctions, the digital key becomes invalid, leaving users unable to unlock their vehicles using the digital key. Summary of the Invention
[0004] To address the aforementioned technical problems, this disclosure provides a vehicle control method, apparatus, vehicle, terminal equipment, and medium.
[0005] In a first aspect, this disclosure provides a vehicle control method, applied to a first controller in a vehicle, the method comprising: The working status of the second controller in the vehicle is monitored, wherein the unlocking priority of the second controller is greater than the unlocking priority of the first controller. When the second controller is in a preset abnormal state and a vehicle unlocking request sent by the terminal device is detected, the vehicle is unlocked based on the digital key in the vehicle unlocking request.
[0006] In some embodiments of this disclosure, monitoring the operating status of the second controller in the vehicle includes: Send a first request message to the second controller, wherein the first request message is used to request the second controller to provide feedback on status information; If no status information sent by the second controller is detected within the preset time threshold, the working state of the second controller is determined to be the preset abnormal state.
[0007] In some embodiments of this disclosure, monitoring the operating status of the second controller in the vehicle further includes: If status information sent by the second controller is detected within the preset time threshold, the functional information of the second controller is determined based on the status information. If the functional information contains preset abnormal information, then the working state of the second controller is determined to be the preset abnormal state.
[0008] In some embodiments of this disclosure, the step of controlling the vehicle to unlock based on the digital key in the vehicle unlocking request includes: Obtain the preset authentication data corresponding to the vehicle unlocking request; Based on the preset authentication data, the digital key is verified to obtain the unlock verification information for the vehicle unlocking request; If the unlock verification information is a preset pass information, then control the vehicle to unlock.
[0009] In some embodiments of this disclosure, obtaining the preset authentication data corresponding to the vehicle unlocking request includes: A second request message is sent to the terminal device via a near-field communication module, so that the terminal device determines the preset authentication data based on the second request message; The near-field communication module receives the preset authentication data sent by the terminal device.
[0010] In some embodiments of this disclosure, it also includes: When the second controller is in a preset normal state and a vehicle unlocking request sent by the terminal device is detected, the operating state of the second controller in the vehicle continues to be monitored. The second controller is used to control the vehicle to unlock based on the digital key in the vehicle unlocking request.
[0011] In some embodiments of this disclosure, when the second controller is in a preset abnormal state and a vehicle unlocking request sent by the terminal device is detected, the method further includes: The system sends backup unlock information to the terminal device, wherein the backup unlock information is used to remind the user that the first unlock mode, in which the unlocking operation is performed by the second controller, has been switched to the second unlock mode, in which the unlocking operation is performed by the first controller, and guides the user to unlock the vehicle by controlling the first controller.
[0012] In some embodiments of this disclosure, it also includes: When the second controller is in a preset abnormal state and a preset control request sent by the terminal device is detected, the vehicle is controlled to operate based on the preset control request. The preset control request includes at least one of the following: trunk control request, vehicle movement request, window control request, headlight control request, horn control request, and vehicle power-on request.
[0013] Secondly, this disclosure provides a vehicle control method applied to a terminal device, the method comprising: In response to the unlocking operation of the vehicle, a vehicle unlocking request is sent to the vehicle; The system receives abnormal status information sent by the vehicle and switches the first unlocking mode to the second unlocking mode. The abnormal status information indicates that the working state of the second controller in the vehicle is a preset abnormal state. The first unlocking mode is an unlocking mode based on the second controller performing the unlocking operation, and the second unlocking mode is an unlocking mode based on the first controller performing the unlocking operation. The unlocking priority of the second controller is greater than the unlocking priority of the first controller. The system receives unlock result information sent by the vehicle, wherein the unlock result information is generated by the first controller after controlling the vehicle to unlock based on the digital key in the vehicle unlock request; The unlocking result information is displayed on the page corresponding to the second unlocking mode.
[0014] In some embodiments of this disclosure, switching from the first unlocking mode to the second unlocking mode includes: Display guidance information on the page corresponding to the first unlock mode; In response to a mode switching operation on the vehicle, the first unlocking mode is switched to the second unlocking mode, wherein the mode switching operation is a user operation corresponding to the guidance information.
[0015] Thirdly, this disclosure provides a vehicle control device, including a first controller disposed in a vehicle, the device comprising: The first monitoring module is used to monitor the working status of the second controller in the vehicle, wherein the unlocking priority of the second controller is greater than that of the first controller. The first unlocking module is used to unlock the vehicle based on the digital key in the vehicle unlocking request when the second controller is in a preset abnormal state and a vehicle unlocking request sent by the terminal device is detected.
[0016] Fourthly, this disclosure provides a vehicle control device configured in a terminal device, the device comprising: The first sending module is used to send a vehicle unlocking request to the vehicle in response to the vehicle unlocking operation; The first receiving module is used to receive abnormal status information sent by the vehicle and switch the first unlocking mode to the second unlocking mode. The abnormal status information indicates that the working state of the second controller in the vehicle is a preset abnormal state. The first unlocking mode is an unlocking mode based on the second controller performing the unlocking operation. The second unlocking mode is an unlocking mode based on the first controller performing the unlocking operation. The unlocking priority of the second controller is greater than the unlocking priority of the first controller. The second receiving module is used to receive unlocking result information sent by the vehicle, wherein the unlocking result information is generated by the first controller after controlling the vehicle to unlock based on the digital key in the vehicle unlocking request; The display module is used to display the unlocking result information on the page corresponding to the second unlocking mode.
[0017] Fifthly, this disclosure also provides a vehicle, including: a first controller and a second controller; The first controller is used to monitor the working status of the second controller, wherein the unlocking priority of the second controller is greater than the unlocking priority of the first controller; When the second controller is in a preset abnormal state and the first controller detects a vehicle unlocking request sent by the terminal device, the first controller controls the vehicle to unlock based on the digital key in the vehicle unlocking request.
[0018] Sixthly, embodiments of this disclosure also provide a terminal device, the terminal device comprising: One or more processors; Storage device for storing one or more programs. When one or more programs are executed by one or more processors, the one or more processors implement the methods provided in the second aspect.
[0019] In a seventh aspect, embodiments of this disclosure also provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the method provided in the first or second aspect.
[0020] The technical solution provided in this disclosure has the following advantages compared with the prior art: This disclosure discloses a vehicle control method, apparatus, vehicle, terminal device, and medium. When a digital key is required to unlock the vehicle, a first controller in the vehicle monitors the operating status of a second controller. The second controller has a higher unlocking priority than the first controller. When the first controller determines that the second controller's operating status is a preset abnormal state and detects a vehicle unlocking request sent by the terminal device, the first controller controls the vehicle to unlock based on the digital key in the unlocking request. In this way, two controllers with different unlocking priorities are pre-set in the vehicle. The auxiliary controller with a lower unlocking priority continuously monitors the operating status of the main controller with a higher unlocking priority. This allows the auxiliary controller to control the vehicle to unlock based on the digital key in the unlocking request when the main controller malfunctions, avoiding the problem of the digital key completely failing due to a single point of failure in the main controller, and significantly improving unlocking reliability. Attached Figure Description
[0021] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0022] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 A system architecture diagram of a vehicle unlocking system provided for related technologies; Figure 2 A system architecture diagram of a vehicle unlocking system provided in this disclosure embodiment; Figure 3 A schematic flowchart of a vehicle control method provided in an embodiment of this disclosure; Figure 4 A schematic flowchart illustrating another vehicle control method provided in this embodiment of the present disclosure; Figure 5 A logical schematic diagram of another vehicle control method provided in an embodiment of this disclosure; Figure 6 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of the present disclosure; Figure 7 This is a schematic diagram of another vehicle control device provided in an embodiment of the present disclosure; Figure 8 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this disclosure. Detailed Implementation
[0024] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0025] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0026] See Figure 1The system architecture diagram of the vehicle unlocking system shown illustrates that when a user wants to unlock the vehicle without a mechanical key, they can click the vehicle unlocking control on the terminal device 100's page. In response, the terminal device 100 sends a vehicle unlocking request to the vehicle 200 via Bluetooth. If the single-point main controller of the vehicle 200 is in normal working condition, it activates the door lock execution module based on the digital key in the request to control the vehicle unlocking. If the single-point main controller of the vehicle is in abnormal working condition, the vehicle 200 cannot respond to the request, resulting in the inability to unlock the vehicle.
[0027] It is evident that the vehicle unlocking methods in the relevant technologies lack redundancy mechanisms. A single-point main controller malfunction can cause the digital key to become completely ineffective, preventing users from unlocking the vehicle through the vehicle control application on the terminal device, leaving users with the problem of having a car but being unable to use it.
[0028] In some related technologies, emergency solutions require users to carry additional physical media. However, this increases the burden of use. If users only carry mobile phones or other terminal devices when they go out, the solution will completely fail, resulting in the vehicle being unable to be unlocked or started.
[0029] The aforementioned vehicle unlocking methods also face the problem of lacking a proactive notification mechanism, leaving users in a passive position. Specifically, when a single-point main controller fails, it cannot proactively inform the user of the fault status or provide alternative unlocking paths. Users only realize the anomaly after repeated failed attempts. Lacking emergency guidance, they can only seek roadside assistance or damage the vehicle, resulting in additional costs.
[0030] To address the aforementioned problems, this embodiment provides a vehicle control system. See also... Figure 2 The system architecture diagram of the vehicle unlocking system shown includes: a terminal device 100 and a vehicle 200. The vehicle 200 includes a first controller 210 and a second controller 220.
[0031] The first controller 210 is used to monitor the working status of the second controller 220, wherein the unlocking priority of the second controller 220 is greater than that of the first controller 210; when the working status of the second controller 220 is a preset abnormal state, and the first controller 210 detects a vehicle unlocking request sent by the terminal device 100, the first controller 210 controls the vehicle 200 to unlock based on the digital key in the vehicle unlocking request.
[0032] Based on the aforementioned vehicle unlocking system, the following section combines... Figure 3 The vehicle control method provided in the embodiments of this disclosure will be described. In the embodiments of this disclosure, the vehicle control method can be executed by a first controller in the vehicle.
[0033] Figure 3A schematic flowchart of a vehicle control method provided in an embodiment of this disclosure is shown.
[0034] As shown in Figure 3, the vehicle control method may include the following steps.
[0035] S310. Monitor the working status of the second controller in the vehicle, wherein the unlocking priority of the second controller is greater than the unlocking priority of the first controller.
[0036] In this embodiment, when the vehicle is locked, the first controller in the vehicle continuously monitors the working status of the second controller in the vehicle, so that when the vehicle is in different working states, different controllers control the vehicle to unlock.
[0037] It is understandable that, since the unlocking priority of the second controller is greater than that of the first controller, the second controller with the higher unlocking priority can be regarded as the main controller, and the first controller with the lower unlocking priority can be regarded as the auxiliary controller.
[0038] Optionally, the first controller and the second controller are integrated into the same vehicle controller, but they are two different units. The vehicle controller can be a Telematics Box (TBOX), and the vehicle controller conforms to the Universal Measurement and Calibration Protocol (XCCP).
[0039] Optionally, the first controller and the second controller may not belong to different controllers. For example, the first controller may be located in a separate backup controller (such as a dedicated Bluetooth module ECU or a redundant unlocking module), and the second controller may be located in the main controller (such as a cockpit domain controller or a body domain controller), and the two may communicate via an in-vehicle network (such as Ethernet).
[0040] Optionally, the first controller is a microcontroller (MCU) and runs a first operating system, while the second controller is a system-on-a-chip (SOC) and runs a second operating system. The complexity of the first operating system is less than that of the second operating system, and the real-time performance of the second operating system is less than that of the first operating system. The number of communication protocols corresponding to the first operating system is less than that of the second operating system, and the migration difficulty of software in the first operating system is less than that of software in the second operating system.
[0041] Optionally, the first operating system is a real-time operating system (RTOS), which is responsible for monitoring the status of the second controller and taking over basic unlocking and authentication in case of failure.
[0042] Optionally, the second operating system is a complex operating system responsible for standard digital key authentication and full-function vehicle control. Examples include Android and Linux systems.
[0043] In some embodiments, S310 is specifically implemented through the following steps: sending a first request message to the second controller, wherein the first request message is used to request the second controller to provide feedback on status information; if no status information sent by the second controller is detected within a preset time threshold, the working state of the second controller is determined to be a preset abnormal state.
[0044] See Figure 2 When the vehicle is locked, the first controller 210 sends a first request message to the second controller 220 in the form of a message. If the working state of the second controller 220 is a preset abnormal state, it cannot generate status information based on the first request message, which causes the first controller 210 to be unable to obtain the status information fed back by the second controller 220 within a preset time threshold. At this time, the first controller 210 can determine that the working state of the second controller 220 is a preset abnormal state.
[0045] The preset abnormal state refers to the state in which the second controller cannot work properly.
[0046] For example, when the second controller crashes, it cannot function properly, meaning it is in a pre-set abnormal state.
[0047] The preset time threshold is the latest time at which the first controller receives the status information.
[0048] In this way, the auxiliary controller monitors the heartbeat of the main controller through bus messages. When it is determined that the main controller has failed, the independently powered auxiliary controller can still establish a backup link with the terminal device through its own communication module to complete authentication and basic unlocking operations.
[0049] In some embodiments, S310 further includes the following steps: if status information sent by the second controller is detected within a preset time threshold, the functional information of the second controller is determined based on the status information; if the functional information contains preset abnormal information, the working state of the second controller is determined to be a preset abnormal state.
[0050] Optionally, the functional information includes one or more of the following combinations: software functional information of the second controller, communication functional information between the second controller and the terminal device, verification functional information of the second controller, and emergency unlocking functional information of the second controller.
[0051] Optionally, the software function information may include watchdog signaling information; the communication function information may include Bluetooth function information; the authentication function information may include authentication function information; and the emergency unlocking function information may include emergency unlocking function information.
[0052] In this way, when the main controller software malfunctions (such as watchdog timeout), the communication link between the main controller and the terminal device fails (such as Bluetooth module failure), the main controller authentication service crashes, or the user actively requests to enter the emergency unlock mode through the terminal device, the auxiliary controller comprehensively monitors the above-mentioned multiple fault states, and can actively notify the terminal device and take over the unlock function when any condition is met.
[0053] S320. When the second controller is in a preset abnormal state and a vehicle unlocking request sent by the terminal device is detected, the vehicle is unlocked based on the digital key in the vehicle unlocking request.
[0054] See also Figure 2 When a user sends a vehicle unlocking request to the vehicle through a terminal device, but the first controller determines that the second controller has crashed or that a related function is malfunctioning, the vehicle enters an emergency unlocking mode. Specifically, the vehicle can be unlocked by controlling the digital key in the vehicle unlocking request.
[0055] Optionally, the vehicle unlocking request may include the terminal device's identifier, user identifier, timestamp, and verification code.
[0056] In some embodiments, the vehicle is unlocked based on the digital key in the vehicle unlocking request, specifically by the following steps: obtaining the preset authentication data corresponding to the vehicle unlocking request; verifying the digital key based on the preset authentication data to obtain the unlocking verification information of the vehicle unlocking request; if the unlocking verification information is the preset pass information, then controlling the vehicle to unlock.
[0057] The preset authentication data can serve as authentication credentials, and it has time limits and a limit on the number of times it can be used.
[0058] For example, the default authentication data can be a one-time password, a time synchronization token, or a pre-shared key.
[0059] In one approach, the first controller can pre-acquire preset authentication data and store the preset authentication data locally, so that when a vehicle unlocking request is received, the preset authentication data can be read directly from the local storage.
[0060] In one approach, the first controller does not obtain preset authentication data in advance. When it receives a vehicle unlocking request, it can directly obtain the preset authentication data from the cloud.
[0061] One method for obtaining preset authentication data corresponding to a vehicle unlocking request is achieved through the following steps: sending a second request message to a terminal device via a near-field communication module, so that the terminal device determines the preset authentication data based on the second request message; and receiving the preset authentication data sent by the terminal device via the near-field communication module.
[0062] Optionally, the short-range communication module can be a Bluetooth module or other types of communication modules.
[0063] Specifically, when the second controller crashes and the vehicle is disconnected from the cloud network, the first controller can send a second request message to the terminal device through the short-range communication module. The terminal device can then send back the pre-backed preset authentication data to the first controller through the short-range communication module.
[0064] Further details can be found by referring to [link / reference]. Figure 2 After obtaining the preset authentication data, the first controller uses the preset authentication data to authenticate the digital key. If the authentication is successful, it generates preset pass information as unlock verification information and starts the door lock execution module to unlock the vehicle.
[0065] In this way, the first controller can directly call the pre-stored preset authentication data, or directly obtain the preset authentication data from the cloud, or obtain the preset authentication data from the terminal device through the near-field communication module when there is no real-time network connection, so as to use the preset verification key to perform offline authentication of the credentials, and then perform the unlocking operation after successful authentication.
[0066] According to an embodiment of this disclosure, a vehicle control method involves monitoring the operating status of a second controller when a digital key is required for vehicle unlocking. The second controller has a higher unlocking priority than the first controller. When the first controller determines that the second controller's operating status is a preset abnormal state and detects a vehicle unlocking request sent by a terminal device, the first controller controls the vehicle to unlock based on the digital key in the unlocking request. This method pre-configures two controllers with different unlocking priorities within the vehicle. By using the auxiliary controller with the lower unlocking priority to continuously monitor the operating status of the primary controller with the higher unlocking priority, the method ensures that even if the primary controller malfunctions, the auxiliary controller can still control the vehicle to unlock based on the digital key in the unlocking request. This avoids the problem of the digital key becoming completely ineffective due to a single point of failure in the primary controller, significantly improving unlocking reliability.
[0067] In some embodiments, after executing S310, the method further includes: when the second controller is in a preset normal state and a vehicle unlocking request sent by the terminal device is detected, continuing to monitor the working state of the second controller in the vehicle, wherein the second controller is used to control the vehicle to unlock based on the digital key in the vehicle unlocking request.
[0068] See also Figure 2 When a user sends a vehicle unlock request to the vehicle via a terminal device, and the first controller determines that the second controller is in a preset normal operating state, the vehicle can be unlocked directly through the second controller. Specifically, the vehicle can be unlocked using the digital key provided in the unlock request. At this point, the first controller exits the backup unlock mode and only needs to periodically monitor the operating status of the second controller in the vehicle. The unlock operation will only be performed again if an anomaly is detected in the first controller.
[0069] In this way, the vehicle utilizes the redundancy settings of the controller to control vehicle unlocking, significantly improving unlocking reliability. Furthermore, in backup unlocking mode, only the auxiliary controller has a minimal set of functions available, balancing security and availability, and supporting automatic relinquishment of control after the main controller recovers.
[0070] In some embodiments, after performing S310, the method further includes: When the second controller is in a preset abnormal state and a preset control request sent by the terminal device is detected, the vehicle is controlled to operate based on the preset control request. The preset control request includes at least one of the following: trunk control request, vehicle movement request, window control request, headlight control request, horn control request, and vehicle power-on request.
[0071] In some scenarios, after the first controller unlocks the vehicle, it can also control the vehicle to perform related operations.
[0072] For example, when the vehicle's battery is low, the certified owner can send a power-on request to the vehicle via a terminal device. After the first controller in the vehicle unlocks, it controls the vehicle to perform the power-on operation.
[0073] For example, when a vehicle is stuck in an underground parking garage, the certified owner can send a low-speed movement request to the vehicle via a terminal device. The first controller in the vehicle will then control the vehicle to move at a low speed after unlocking it.
[0074] This allows for the expansion of the first controller's functionality in backup unlock mode, enhancing the intelligence and convenience of vehicle control.
[0075] In some embodiments, after executing S320, the method further includes: sending backup unlock information to the terminal device, wherein the backup unlock information is used to remind the user that the first unlock mode, in which the unlocking operation is performed by the second controller, has been switched to the second unlock mode, in which the unlocking operation is performed by the first controller, and to guide the user to unlock the vehicle by controlling the vehicle through the first controller.
[0076] Therefore, the backup unlock information can remind or guide the user to unlock the vehicle through the first controller, so that in the event of a failure of the main controller, a backup unlock mode notification is proactively sent to the terminal device to guide the user into the emergency procedure.
[0077] In another embodiment of this application, combined with Figure 4 The vehicle control method provided in the embodiments of this disclosure will be described. In the embodiments of this disclosure, the vehicle control method can be executed by a terminal device.
[0078] Figure 4 A schematic flowchart of a vehicle control method provided in an embodiment of this disclosure is shown.
[0079] As shown in Figure 4, the vehicle control method may include the following steps.
[0080] S410, in response to the vehicle unlocking operation, sends a vehicle unlocking request to the vehicle.
[0081] In this embodiment, see continue to refer to Figure 2 When a user wants to unlock vehicle 200 through terminal device 100, they can click the vehicle unlock control on the page of terminal device 100. In response to the unlocking operation, terminal device 100 will send a vehicle unlocking request to vehicle 200.
[0082] S420: Receives abnormal status information sent by the vehicle and switches the first unlocking mode to the second unlocking mode.
[0083] Among them, the abnormal state information indicates that the working state of the second controller in the vehicle is a preset abnormal state, the first unlocking mode is the unlocking mode based on the second controller to perform the unlocking operation, the second unlocking mode is the unlocking mode based on the first controller to perform the unlocking operation, and the unlocking priority corresponding to the second controller is greater than the unlocking priority of the first controller.
[0084] The first unlocking mode is the normal unlocking mode based on the main controller. The second unlocking mode is the backup unlocking mode based on the auxiliary controller.
[0085] Specifically, when a user opens the vehicle control application on the terminal device, the terminal device displays the page corresponding to the first unlocking mode. When the terminal device receives an abnormal status information sent by the vehicle, the terminal device determines that the second controller in the vehicle is in a preset abnormal state and cannot control the vehicle to unlock through the second controller. The terminal device then switches the first unlocking mode to the second unlocking mode, so that the vehicle unlocking mode corresponds to the unlocking mode displayed on the terminal device.
[0086] In some embodiments, the terminal device automatically switches from the first unlocking mode to the second unlocking mode based on abnormal status information.
[0087] In some embodiments, the terminal device can switch from a first unlocking mode to a second unlocking mode through user interaction based on abnormal state information. Specifically, switching from the first unlocking mode to the second unlocking mode is achieved through the following steps: displaying guidance information on the page corresponding to the first unlocking mode; and switching from the first unlocking mode to the second unlocking mode in response to a mode switching operation on the vehicle, wherein the mode switching operation is a user operation corresponding to the guidance information.
[0088] Optionally, the page corresponding to the second unlock mode includes one or more of the following controls: Vehicle unlock control, trunk control control, vehicle movement control, window control control, headlight control control, horn control control, vehicle power-on control.
[0089] In this way, after receiving abnormal status information from the vehicle, the unlocking mode can be switched automatically or by guiding the user to switch the unlocking mode, so that the terminal device's page corresponds to the vehicle's actual unlocking mode, ensuring that the user accurately knows who is actually performing the vehicle unlocking process.
[0090] S430: Receive unlock result information sent by the vehicle, wherein the unlock result information is generated by the first controller after controlling the vehicle to unlock based on the digital key in the vehicle unlock request.
[0091] In this embodiment, after the first controller controls the vehicle to perform the unlocking operation, it generates unlocking result information and feeds it back to the terminal device, so that the terminal device can understand the vehicle unlocking result.
[0092] In some embodiments, before performing S430, the method further includes: receiving request information sent by the vehicle via a short-range communication module; determining preset authentication data based on the request information; and sending the preset authentication data to the vehicle via the short-range communication module.
[0093] S440: Display the unlock result information on the page corresponding to the second unlock mode.
[0094] In this embodiment, the terminal device can accurately determine whether the vehicle unlocking is complete by displaying unlocking result information on the page corresponding to the second unlocking mode.
[0095] In some embodiments, after S410, if normal status information sent by the vehicle is received, unlocking result information sent by the vehicle is received. The normal status information is used to characterize the working state of the second controller as a preset normal state, and the unlocking result information is generated by the second controller after unlocking the vehicle based on the digital key in the vehicle unlocking request. The unlocking result information is displayed on the page corresponding to the first unlocking mode.
[0096] In this way, if the second controller in the vehicle is working properly, the terminal device can accurately determine whether the vehicle unlocking is complete by displaying the unlocking result information on the page corresponding to the first unlocking mode.
[0097] In another embodiment of this application, combined with Figure 5 The overall logic of the vehicle control method provided in the embodiments of this disclosure will be explained.
[0098] Figure 5 A logical schematic diagram of a vehicle control method provided in an embodiment of this disclosure is shown.
[0099] As shown in Figure 5, the vehicle control method may include the following steps.
[0100] S510, authentication and unlocking of the main controller under normal operating conditions.
[0101] Specifically, the main controller in the vehicle performs two-way authentication with the terminal device through a wireless communication link to complete the authentication and verification of the digital key, and executes vehicle unlocking, door opening and other vehicle control functions based on the authentication result.
[0102] The main controller can be understood as the second controller in the above embodiments.
[0103] The S520 auxiliary controller monitors the working status of the main controller in real time.
[0104] Specifically, the auxiliary controller continuously monitors the operating status of the main controller through an internal communication bus (e.g., serial port, Ethernet, or dedicated heartbeat line), including the main controller's software heartbeat signal, hardware fault flags, and power supply status.
[0105] The auxiliary controller can be understood as the first controller in the above embodiments.
[0106] S530, the auxiliary controller determines whether the main controller has crashed.
[0107] Specifically, the auxiliary controller determines the fault based on the monitoring information: if it does not receive the heartbeat signal from the main controller within a preset time, or detects a serious fault flag reported by the main controller, or the main controller has an abnormal power supply, it determines that the main controller has crashed.
[0108] The S540 auxiliary controller actively sends a backup unlock mode notification to the terminal device.
[0109] Specifically, after determining that the main controller has crashed, the auxiliary controller actively sends a status notification to the bound terminal device through the vehicle wireless communication module (e.g., Bluetooth, cellular network), informing the user that the vehicle has entered the backup unlock mode and prompting the user to perform the backup unlock operation according to the instructions.
[0110] The S550 terminal device responds to the notification and switches to backup unlock mode.
[0111] Specifically, after receiving the backup unlock mode notification, the terminal device automatically switches to backup unlock mode or is switched to backup unlock mode upon user confirmation, and establishes a direct information communication link with the auxiliary controller.
[0112] The S560 auxiliary controller performs authentication and verification of terminal devices.
[0113] Specifically, the auxiliary controller in the vehicle authenticates the digital key sent by the terminal device through a communication link established in the backup unlocking mode. The auxiliary controller has pre-stored key authentication data that is synchronized with or independently configured with the main controller.
[0114] After the S570 and auxiliary controller pass authentication, the basic vehicle unlocking operation is performed.
[0115] Specifically, if authentication is successful, the auxiliary controller sends an unlock command to the vehicle's door control actuator to perform basic operations.
[0116] Optionally, the basic operations include at least door unlocking, and optionally trunk opening or power-on permission. The scope of the basic operations is a subset of all functions of the main controller in normal mode (i.e., only the core operations required for vehicle entry are guaranteed).
[0117] S580, the auxiliary controller remains in backup unlock mode until the main controller recovers or the vehicle is powered off.
[0118] Specifically, the auxiliary controller continues to operate in backup unlock mode, periodically attempting to check whether the main controller has recovered. If the main controller recovers, the auxiliary controller exits backup mode and returns control to the main controller. If the main controller fails to recover, it remains in backup unlock mode until the vehicle is powered off.
[0119] This disclosure also provides a vehicle control device for implementing the above-described vehicle control method, which will be described below in conjunction with... Figure 6 The following explanation is provided. In this embodiment of the disclosure, the vehicle control device can be executed by a first controller in the vehicle.
[0120] Figure 6 A schematic diagram of the structure of a vehicle control device provided in an embodiment of this disclosure is shown.
[0121] like Figure 6 As shown, the vehicle control device 600 may include: The first monitoring module 610 is used to monitor the working status of the second controller in the vehicle, wherein the unlocking priority of the second controller is greater than that of the first controller. The first unlocking module 620 is used to unlock the vehicle based on the digital key in the vehicle unlocking request when the second controller is in a preset abnormal state and a vehicle unlocking request sent by the terminal device is detected.
[0122] According to an embodiment of this disclosure, a vehicle control device, when requiring vehicle unlocking using a digital key, uses a first controller in the vehicle to monitor the operating status of a second controller. The second controller has a higher unlocking priority than the first controller. When the first controller determines that the second controller's operating status is a preset abnormal state and detects a vehicle unlocking request sent by a terminal device, the first controller controls the vehicle to unlock based on the digital key in the unlocking request. In this way, by pre-setting two controllers with different unlocking priorities in the vehicle, and using the auxiliary controller with the lower unlocking priority to continuously monitor the operating status of the main controller with the higher unlocking priority, the auxiliary controller can be used to control the vehicle unlocking based on the digital key in the unlocking request when the main controller malfunctions. This avoids the problem of the digital key completely failing due to a single point of failure in the main controller, significantly improving unlocking reliability.
[0123] In some embodiments of this disclosure, the first monitoring module 610 includes: The first sending unit is configured to send a first request message to the second controller, wherein the first request message is configured to request the second controller to provide feedback status information; The second sending unit is used to determine the working state of the second controller as the preset abnormal state if no status information sent by the second controller is detected within a preset time threshold.
[0124] In some embodiments of this disclosure, the first monitoring module 610 further includes: The first determining unit is configured to determine the functional information of the second controller based on the status information if the status information sent by the second controller is detected within the preset time threshold. The second determining unit is configured to determine the operating state of the second controller as the preset abnormal state if the functional information contains preset abnormal information.
[0125] In some embodiments of this disclosure, the functional information includes one or more of the following combinations: The software function information of the second controller, the communication function information between the second controller and the terminal device, the verification function information of the second controller, and the emergency unlocking function information of the second controller.
[0126] In some embodiments of this disclosure, the first unlocking module 620 includes: The first acquisition unit is used to acquire preset authentication data corresponding to the vehicle unlocking request; The second acquisition unit is used to verify the digital key based on the preset authentication data to obtain the unlock verification information of the vehicle unlocking request; The control unit is used to control the vehicle to unlock if the unlock verification information is a preset pass information.
[0127] In some embodiments of this disclosure, the first acquisition unit is specifically used for: A second request message is sent to the terminal device via a near-field communication module, so that the terminal device determines the preset authentication data based on the second request message; The near-field communication module receives the preset authentication data sent by the terminal device.
[0128] In some embodiments of this disclosure, the device further includes: The second monitoring module is used to continue monitoring the working status of the second controller in the vehicle when the second controller is in a preset normal working state and a vehicle unlocking request sent by the terminal device is detected. The second controller is used to control the vehicle to unlock based on the digital key in the vehicle unlocking request.
[0129] In some embodiments of this disclosure, the device further includes: The information sending module is used to send backup unlock information to the terminal device. The backup unlock information is used to remind the user that the first unlocking mode, in which the unlocking operation is performed by the second controller, has been switched to the second unlocking mode, in which the unlocking operation is performed by the first controller, and to guide the user to unlock the vehicle by controlling the first controller.
[0130] In some embodiments of this disclosure, the device further includes: The operation control module is used to control the vehicle to operate based on the preset control request when the second controller is in a preset abnormal state and a preset control request sent by the terminal device is detected. The preset control request includes at least one of the following: trunk control request, vehicle movement request, window control request, headlight control request, horn control request, and vehicle power-on request.
[0131] It should be noted that, Figure 6 The vehicle control device 600 shown can perform Figures 3-5 The various steps in the method embodiment shown are implemented. Figures 3-5 The various processes and effects in the method embodiments shown are not elaborated here.
[0132] This disclosure also provides a vehicle control device for implementing the above-described vehicle control method, which will be described below in conjunction with... Figure 7 The following explanation is provided. In this embodiment of the disclosure, the vehicle control device can be executed by a terminal device.
[0133] Figure 7 A schematic diagram of the structure of a vehicle control device provided in an embodiment of this disclosure is shown.
[0134] like Figure 7 As shown, the vehicle control device 700 may include: The first sending module 710 is used to send a vehicle unlocking request to the vehicle in response to the vehicle unlocking operation; The first receiving module 720 is used to receive abnormal status information sent by the vehicle and switch the first unlocking mode to the second unlocking mode. The abnormal status information indicates that the working state of the second controller in the vehicle is a preset abnormal state. The first unlocking mode is an unlocking mode based on the second controller performing the unlocking operation. The second unlocking mode is an unlocking mode based on the first controller performing the unlocking operation. The unlocking priority of the second controller is greater than the unlocking priority of the first controller. The second receiving module 730 is used to receive unlocking result information sent by the vehicle, wherein the unlocking result information is generated by the first controller after controlling the vehicle to unlock based on the digital key in the vehicle unlocking request; Display module 740 is used to display the unlocking result information on the page corresponding to the second unlocking mode.
[0135] According to an embodiment of this disclosure, a vehicle control device, when requiring vehicle unlocking using a digital key, sends a vehicle unlocking request to the vehicle and receives abnormal status information from the vehicle. It then switches from a first unlocking mode to a second unlocking mode. The abnormal status information indicates that the operating state of the second controller in the vehicle is a preset abnormal state. The first unlocking mode is based on the second controller performing the unlocking operation, and the second unlocking mode is based on the first controller performing the unlocking operation. The unlocking priority of the second controller is higher than that of the first controller. The device also receives unlocking result information from the vehicle, which is generated by the first controller controlling the vehicle to unlock based on the digital key in the vehicle unlocking request. This unlocking result information is then displayed on the page corresponding to the second unlocking mode. In this way, two controllers with different unlocking priorities are pre-set in the vehicle. The auxiliary controller with a lower unlocking priority continuously monitors the operating state of the main controller with a higher unlocking priority. This allows the auxiliary controller to control the vehicle to unlock based on the digital key in the vehicle unlocking request when the main controller malfunctions, avoiding the problem of the digital key completely failing due to a single point of failure in the main controller, and significantly improving unlocking reliability.
[0136] In some embodiments of this disclosure, the first receiving module 720 is specifically used for: Display guidance information on the page corresponding to the first unlock mode; In response to a mode switching operation on the vehicle, the first unlocking mode is switched to the second unlocking mode, wherein the mode switching operation is a user operation corresponding to the guidance information.
[0137] In some embodiments of this disclosure, the page corresponding to the second unlock mode includes one or more of the following controls: Vehicle unlock control, trunk control control, vehicle movement control, window control control, headlight control control, horn control control, vehicle power-on control.
[0138] It should be noted that, Figure 7 The vehicle control device 700 shown can perform Figures 3-5 The various steps in the method embodiment shown are implemented. Figures 3-5 The various processes and effects in the method embodiments shown are not elaborated here.
[0139] Figure 8 A schematic diagram of the structure of a terminal device provided in an embodiment of this disclosure is shown.
[0140] like Figure 8 As shown, the terminal device may include a processor 801 and a memory 802 storing computer program instructions.
[0141] Specifically, the processor 801 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0142] Memory 802 may include a large-capacity storage device for advertising or instructions. For example, and not limitingly, memory 802 may include a hard disk drive (HDD), a floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 802 may include removable or non-removable (or fixed) media. Where appropriate, memory 802 may be internal or external to the integrated gateway device. In a particular embodiment, memory 802 is a non-volatile solid-state memory. In a particular embodiment, memory 802 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (Electrically Programmable ROM, EPROM), an electrically erasable programmable PROM (EEPROM), an electrically alterable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0143] The processor 801 acquires and executes computer program instructions stored in the memory 802 to perform the steps of the vehicle control method provided in the embodiments of this disclosure.
[0144] In one example, the terminal device may also include a transceiver 803 and a bus 804. Wherein, as... Figure 8 As shown, the processor 801, memory 802 and transceiver 803 are connected via bus 804 and communicate with each other.
[0145] Bus 804 includes hardware, software, or both. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses, or a combination of two or more of these. Where appropriate, bus 804 may include one or more buses. Although specific buses are described and illustrated in the embodiments of this application, this application considers any suitable bus or interconnection.
[0146] The following are embodiments of a computer-readable storage medium provided in this disclosure. This computer-readable storage medium belongs to the same inventive concept as the vehicle control methods in the above embodiments. For details not described in detail in the embodiments of the computer-readable storage medium, please refer to the embodiments of the above vehicle control methods.
[0147] This embodiment provides a storage medium containing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to perform a vehicle control method applied to a first controller in a vehicle. The method includes: The working status of the second controller in the vehicle is monitored, wherein the unlocking priority of the second controller is greater than the unlocking priority of the first controller. When the second controller is in a preset abnormal state and a vehicle unlocking request sent by the terminal device is detected, the vehicle is unlocked based on the digital key in the vehicle unlocking request.
[0148] This embodiment provides a storage medium containing computer-executable instructions. When executed by a computer processor, these instructions are used to perform a vehicle control method applied to a terminal device. The method includes: In response to the unlocking operation of the vehicle, a vehicle unlocking request is sent to the vehicle; The system receives abnormal status information sent by the vehicle and switches the first unlocking mode to the second unlocking mode. The abnormal status information indicates that the working state of the second controller in the vehicle is a preset abnormal state. The first unlocking mode is an unlocking mode based on the second controller performing the unlocking operation, and the second unlocking mode is an unlocking mode based on the first controller performing the unlocking operation. The unlocking priority of the second controller is greater than the unlocking priority of the first controller. The system receives unlock result information sent by the vehicle, wherein the unlock result information is generated by the first controller after controlling the vehicle to unlock based on the digital key in the vehicle unlock request; The unlocking result information is displayed on the page corresponding to the second unlocking mode.
[0149] Of course, the computer-executable instructions provided in the embodiments of this disclosure are not limited to the above-described method operations, but can also perform related operations in the vehicle control method provided in any embodiment of this disclosure.
[0150] Based on the above description of the implementation methods, those skilled in the art can clearly understand that this disclosure can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer cloud platform (which may be a personal computer, a server, or a network cloud platform, etc.) to execute the vehicle control methods provided in the various embodiments of this disclosure.
[0151] Note that the above description is merely a preferred embodiment and the technical principles employed in this disclosure. Those skilled in the art will understand that this disclosure is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of this disclosure. Therefore, although this disclosure has been described in detail through the above embodiments, it is not limited to the above embodiments. Many other equivalent embodiments may be included without departing from the concept of this disclosure, and the scope of this disclosure is determined by the scope of the appended claims.
Claims
1. A vehicle control method, characterized in that, The method, which is applied to a first controller in a vehicle, includes: The working status of the second controller in the vehicle is monitored, wherein the unlocking priority of the second controller is greater than that of the first controller. When the second controller is in a preset abnormal state and a vehicle unlocking request sent by the terminal device is detected, the vehicle is unlocked based on the digital key in the vehicle unlocking request.
2. The method according to claim 1, characterized in that, The monitoring of the operating status of the second controller in the vehicle includes: Send a first request message to the second controller, wherein the first request message is used to request the second controller to provide feedback on status information; If no status information sent by the second controller is detected within the preset time threshold, the working state of the second controller is determined to be the preset abnormal state.
3. The method according to claim 2, characterized in that, The monitoring of the operating status of the second controller in the vehicle also includes: If status information sent by the second controller is detected within the preset time threshold, the functional information of the second controller is determined based on the status information. If the functional information contains preset abnormal information, then the working state of the second controller is determined to be the preset abnormal state.
4. The method according to claim 1, characterized in that, The method of controlling the vehicle to unlock based on the digital key in the vehicle unlock request includes: Obtain the preset authentication data corresponding to the vehicle unlocking request; Based on the preset authentication data, the digital key is verified to obtain the unlock verification information for the vehicle unlocking request; If the unlock verification information is a preset pass information, then control the vehicle to unlock.
5. The method according to claim 4, characterized in that, The step of obtaining the preset authentication data corresponding to the vehicle unlocking request includes: A second request message is sent to the terminal device via a near-field communication module, so that the terminal device determines the preset authentication data based on the second request message; The near-field communication module receives the preset authentication data sent by the terminal device.
6. The method according to claim 1, characterized in that, Also includes: When the second controller is in a preset normal state and a vehicle unlocking request sent by the terminal device is detected, the operating state of the second controller in the vehicle continues to be monitored. The second controller is used to control the vehicle to unlock based on the digital key in the vehicle unlocking request.
7. The method according to claim 1, characterized in that, If the second controller is in a preset abnormal state and a vehicle unlocking request sent by the terminal device is detected, the method further includes: The system sends backup unlock information to the terminal device, wherein the backup unlock information is used to remind the user that the first unlock mode, in which the unlocking operation is performed by the second controller, has been switched to the second unlock mode, in which the unlocking operation is performed by the first controller, and guides the user to unlock the vehicle by controlling the first controller.
8. The method according to claim 1, characterized in that, Also includes: When the second controller is in a preset abnormal state and a preset control request sent by the terminal device is detected, the vehicle is controlled to operate based on the preset control request. The preset control request includes at least one of the following: trunk control request, vehicle movement request, window control request, headlight control request, horn control request, and vehicle power-on request.
9. A vehicle control method, characterized in that, Applied to a terminal device, the method includes: In response to the unlocking operation of the vehicle, a vehicle unlocking request is sent to the vehicle; The system receives abnormal status information sent by the vehicle and switches the first unlocking mode to the second unlocking mode. The abnormal status information indicates that the working state of the second controller in the vehicle is a preset abnormal state. The first unlocking mode is an unlocking mode based on the second controller performing the unlocking operation, and the second unlocking mode is an unlocking mode based on the first controller performing the unlocking operation. The unlocking priority of the second controller is greater than the unlocking priority of the first controller. The system receives unlock result information sent by the vehicle, wherein the unlock result information is generated by the first controller after controlling the vehicle to unlock based on the digital key in the vehicle unlock request; The unlocking result information is displayed on the page corresponding to the second unlocking mode.
10. The method according to claim 8, characterized in that, Switching from the first unlocking mode to the second unlocking mode includes: Display guidance information on the page corresponding to the first unlock mode; In response to a mode switching operation on the vehicle, the first unlocking mode is switched to the second unlocking mode, wherein the mode switching operation is a user operation corresponding to the guidance information.
11. A vehicle, characterized in that, include: First controller and second controller; The first controller is used to monitor the working status of the second controller, wherein the unlocking priority of the second controller is greater than the unlocking priority of the first controller; When the second controller is in a preset abnormal state and the first controller detects a vehicle unlocking request sent by the terminal device, the first controller controls the vehicle to unlock based on the digital key in the vehicle unlocking request.
12. A terminal device, characterized in that, include: processor; Memory, used to store executable instructions; The processor is configured to retrieve the executable instructions from the memory and execute the executable instructions to implement the method of any one of claims 9-10.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that, The storage medium stores a computer program that, when executed by a processor, causes the processor to implement the method described in any one of claims 1-10.