Method and apparatus for handling functional anomalies
By detecting the network link status and vehicle status between the vehicle and the terminal device, and outputting prompt information to remind the abnormal automatic locking function, the problem of the vehicle being unable to automatically lock and improve the safety of the vehicle.
Patent Information
- Application Number
- CN202410072878.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-17
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2044-01-17
AI Technical Summary
In the prior art, the vehicle cannot automatically lock due to network congestion when the terminal device is away, which reduces the safety of the vehicle.
By obtaining the network link status between the vehicle and the terminal device, if an abnormal disconnection state is detected, the vehicle's status is obtained, and the prompt information is output when the vehicle is stopped, reminding the user to abnormal automatic locking function, thereby avoiding the problem that the vehicle cannot automatically lock.
It effectively improves the safety of the vehicle when the network connection between the terminal equipment and the vehicle is disconnected, ensuring that users can promptly remind and solve abnormal automatic locking function when the vehicle stops, and avoid safety hazards.
Smart Images

Figure CN117915262B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of vehicles, and in particular, to a method and device for processing abnormal functions. Background Art
[0002] Currently, vehicles have a Bluetooth locking function, that is, when the terminal device is normally connected to the in-vehicle Bluetooth, if the user holds the terminal device away from the vehicle, the vehicle can automatically lock.
[0003] In the related art, due to network congestion between the terminal device and the vehicle, after the user holds the terminal device away from the vehicle, the vehicle may not be able to automatically lock, resulting in poor vehicle safety. Summary of the Invention
[0004] The embodiments of the present application provide a method and device for processing abnormal functions to improve vehicle safety.
[0005] In a first aspect, the present application provides a method for processing abnormal functions, which is applied to a vehicle. The method includes:
[0006] Obtain the network connection status between the vehicle and the terminal device;
[0007] If it is determined that the network connection status switches from the connected state to the abnormal disconnection state, obtain the vehicle state of the vehicle, where the vehicle state is a driving state or a stopped state, and the abnormal disconnection state is a disconnection state when the distance between the vehicle and the terminal device is less than or equal to a first preset threshold;
[0008] When the vehicle state is the stopped state, output a prompt message, where the prompt message is used to prompt that the automatic locking function is abnormal, and the automatic locking function is used to control the vehicle to automatically lock when the distance between the terminal device and the vehicle is greater than or equal to a second preset threshold.
[0009] In a possible implementation manner, before obtaining the network connection status between the vehicle and the terminal device, it further includes:
[0010] Receive a network connection request sent by the terminal device;
[0011] Send a network connection response corresponding to the network connection request to the terminal device, where the network connection response is used to indicate that the automatic locking function of the vehicle has been enabled.
[0012] In a possible implementation manner, obtaining the vehicle state of the vehicle includes:
[0013] Determine the disconnection duration when the network connection status is the abnormal disconnection state;
[0014] If the disconnection duration is greater than or equal to a preset duration, obtain the vehicle state of the vehicle.
[0015] In a possible implementation manner, output a prompt message, including:
[0016] Obtain the power state of the dashboard of the vehicle;
[0017] When the power state is the on state, output the prompt message through the dashboard.
[0018] In a possible implementation manner, the method further includes:
[0019] When the vehicle state is the driving state, periodically detect the vehicle state of the vehicle until the vehicle state of the vehicle switches to the stop state, and obtain the latest network link state between the vehicle and the terminal device;
[0020] When the latest network link state is the abnormal disconnection state, output the prompt message.
[0021] In a possible implementation manner, the method further includes:
[0022] When the vehicle state is the driving state, periodically detect the network link state between the vehicle and the terminal device and the vehicle state of the vehicle;
[0023] When the vehicle state is the running state and the network link state switches to the linked state, stop obtaining the network link state and the vehicle state;
[0024] When the vehicle state switches to the stop state and the network link state is the abnormal disconnection state, output the prompt message.
[0025] In a possible implementation manner, the method further includes:
[0026] When the vehicle state is the stop state and the network link state is the linked state, obtain the distance between the vehicle and the terminal device;
[0027] When the distance is greater than or equal to a second preset threshold, control the vehicle to automatically lock.
[0028] In a second aspect, the present application provides a processing device for function abnormality, which is applied to a vehicle. The device includes:
[0029] A first acquisition module, configured to acquire the network link state between the vehicle and the terminal device;
[0030] A second acquisition module, configured to acquire the vehicle state of the vehicle if it is determined that the network link state has switched from the linked state to the abnormal disconnection state, where the vehicle state is a driving state or a stopped state, and the abnormal disconnection state is a disconnection state when the distance between the vehicle and the terminal device is less than or equal to a first preset threshold;
[0031] An output module, configured to output a prompt message when the vehicle state is the stopped state, where the prompt message is used to prompt that the automatic locking function is abnormal, and the automatic locking function is used to control the vehicle to automatically lock when the distance between the terminal device and the vehicle is greater than or equal to a second preset threshold.
[0032] In a possible implementation manner, the device further includes:
[0033] A receiving module, configured to receive a network connection request sent by the terminal device before acquiring the network link state between the vehicle and the terminal device;
[0034] A sending module, configured to send a network connection response corresponding to the network connection request to the terminal device, where the network connection response is used to indicate that the automatic locking function of the vehicle has been enabled.
[0035] In a possible implementation manner, the second acquisition module is specifically configured to:
[0036] Determine the disconnection duration when the network link state is the abnormal disconnection state;
[0037] If the disconnection duration is greater than or equal to a preset duration, acquire the vehicle state of the vehicle.
[0038] In a possible implementation manner, the output module is specifically configured to:
[0039] Acquire the power state of the dashboard of the vehicle;
[0040] When the power state is the on state, output the prompt message through the dashboard.
[0041] In a possible implementation manner, the output module is further configured to:
[0042] When the vehicle state is the driving state, periodically detect the vehicle state of the vehicle until the vehicle state switches to the stopped state, and acquire the latest network link state between the vehicle and the terminal device;
[0043] When the latest network link state is the abnormal disconnection state, output the prompt message.
[0044] In a possible implementation, the output module is further configured to:
[0045] When the vehicle state is the driving state, periodically detect the network link state between the vehicle and the terminal device, and the vehicle state of the vehicle;
[0046] When the vehicle state is the running state and the network link state switches to the linked state, stop obtaining the network link state and the vehicle state;
[0047] When the vehicle state switches to the stopped state and the network link state is the abnormally disconnected state, output the prompt information.
[0048] In a possible implementation, the device further includes:
[0049] A third acquisition module, configured to obtain the distance between the vehicle and the terminal device when the vehicle state is the stopped state and the network link state is the linked state;
[0050] A control module, configured to control the vehicle to automatically lock when the distance is greater than or equal to a second preset threshold.
[0051] In a third aspect, the present application provides a vehicle, including: a processor, and a memory communicatively connected to the processor;
[0052] The memory stores computer-executable instructions;
[0053] The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of the first aspects.
[0054] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of the first aspects.
[0055] In a fifth aspect, the present application provides a computer program product, including a computer program, and when the computer program is executed by a computer, it implements the method according to any one of the first aspects.
[0056] An embodiment of the present application provides a method and device for handling functional anomalies. In this method, the network connection status between the vehicle and the terminal device is obtained. When the network connection status switches from the connected state to the abnormal disconnection state, the vehicle status of the vehicle is obtained. When the vehicle status is the stopped state, a prompt message is output. The abnormal disconnection state is the disconnection state when the distance between the vehicle and the terminal device is less than or equal to the first preset threshold. The prompt message is used to prompt that the automatic locking function is abnormal, which can ensure that when the network connection between the terminal device and the vehicle is disconnected and the vehicle stops, the user is reminded that the automatic locking function is abnormal, avoiding the problem that the vehicle cannot be automatically locked after the user holds the terminal device away from the vehicle, and improving the safety of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0058] Figure 1 It is a schematic diagram of the application scenario provided by the embodiment of the present application;
[0059] Figure 2 It is one of the flow schematic diagrams of the method for handling functional anomalies provided by the embodiment of the present application;
[0060] Figure 3 It is the second flow schematic diagram of the method for handling functional anomalies provided by the embodiment of the present application;
[0061] Figure 4 It is one of the structural schematic diagrams of the device for handling functional anomalies provided by the embodiment of the present application;
[0062] Figure 5 It is the second structural schematic diagram of the device for handling functional anomalies provided by the embodiment of the present application;
[0063] Figure 6 It is the hardware structure schematic diagram of the vehicle provided by the embodiment of the present application.
[0064] Through the above drawings, the clear embodiments of the present application have been shown, and there will be more detailed descriptions later. These drawings and the text description are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0065] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0066] It should be noted that, in this document, the terms "include", "comprise" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements that are inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising a..." does not exclude the presence of additional identical elements in the process, method, article or device comprising that element.
[0067] In the related art, vehicles have a Bluetooth locking function. Before the user holds the terminal device away from the vehicle, the network connection between the terminal device and the in-vehicle Bluetooth may be disconnected, resulting in the vehicle being unable to automatically lock after the user holds the terminal device away from the vehicle, making the vehicle less secure.
[0068] Reasons that may cause the network connection between the terminal device and the in-vehicle Bluetooth to be disconnected include, for example:
[0069] 1. When wireless devices (such as wireless routers or surveillance cameras, etc.) arranged in certain specific areas in a complex environment (such as subway stations, offices or shopping malls, etc.) are working, they occupy the communication frequency band (2.4 GHz) between the terminal device and the in-vehicle Bluetooth, resulting in the disconnection of the network connection between the terminal device and the in-vehicle Bluetooth;
[0070] 2. The terminal device is not within the signal reception range of the in-vehicle Bluetooth, or a person or object blocks the in-vehicle Bluetooth, causing the in-vehicle Bluetooth to automatically disconnect.
[0071] 3. The terminal device and / or the in-vehicle Bluetooth is in an abnormal state, resulting in the terminal device and the in-vehicle Bluetooth being unable to communicate normally, causing the network connection between the terminal device and the in-vehicle Bluetooth to be disconnected;
[0072] 4. When the in-vehicle Bluetooth connects to other devices or performs other time-consuming operations, or there are abnormalities such as button failures or interface freezes, it may cause the network connection between the terminal device and the in-vehicle Bluetooth to be disconnected.
[0073] To improve the safety of a vehicle, the present application provides a method for handling abnormal functions. In this method, when the network connection status between the vehicle and the terminal device is abnormally disconnected and the vehicle status is a stopped state, a prompt message is output to remind the user that the automatic locking function of the vehicle is abnormal, thereby avoiding the problem that the vehicle cannot be automatically locked after the user holds the terminal device away from the vehicle and improving the safety of the vehicle.
[0074] For ease of understanding, the application scenarios of the method for handling abnormal functions according to the embodiments of the present application will be described below in conjunction with Figure 1 to illustrate the application scenarios of the method for handling abnormal functions according to the embodiments of the present application.
[0075] Figure 1 is a schematic diagram of the application scenario provided by the embodiment of the present application. As Figure 1 shown, it includes: a terminal device and a vehicle.
[0076] The terminal device and the vehicle can be network-connected.
[0077] The vehicle can detect the network connection status between it and the terminal device in real time. When the network connection status is abnormally disconnected and the vehicle stops, a prompt message is output, and the user of the terminal device is indicated by the prompt message that the automatic locking function of the vehicle fails at this time.
[0078] The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. These specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0079] Figure 2 is one of the flow diagrams of the method for handling abnormal functions provided by the embodiment of the present application. As Figure 2 shown, the method may include:
[0080] S201. Obtain the network connection status between the vehicle and the terminal device.
[0081] Optionally, the execution subject of the method may be the vehicle or a device for handling abnormal functions provided in the vehicle. The device for handling abnormal functions may be implemented by a combination of software and / or hardware. The following will be described by taking the execution subject as the device for handling abnormal functions as an example.
[0082] Optionally, the device for handling abnormal functions includes a digital Bluetooth controller, and the digital Bluetooth controller is used to execute S201.
[0083] The terminal device may be a user equipment (UE) or a specific removable key corresponding to the vehicle.
[0084] The user equipment can be a mobile phone, a tablet computer, a laptop computer or other devices, etc.
[0085] The network connection between the vehicle and the terminal device can be a Bluetooth connection or a Wireless Fidelity (WiFi) connection, etc.
[0086] Optionally, the network link state can be a link state or an abnormal disconnection state.
[0087] When the network connection between the vehicle and the terminal device is a Bluetooth connection, the link state is used to indicate that the Bluetooth connection between the vehicle and the terminal device is normal, and the abnormal disconnection state is used to indicate that the Bluetooth connection is abnormal.
[0088] S202. If it is determined that the network link state switches from the link state to the abnormal disconnection state, obtain the vehicle state of the vehicle. The vehicle state is a driving state or a stop state. The abnormal disconnection state is the network disconnection state when the distance between the vehicle and the terminal device is less than or equal to the first preset threshold.
[0089] The processing device for function abnormalities includes a dashboard, and the dashboard is used to obtain the vehicle state of the vehicle.
[0090] Specifically, when the digital Bluetooth controller determines that the network link state switches from the link state to the abnormal disconnection state, it sends a message of remote locking failure to the dashboard. The message of remote locking failure indicates that the network link state switches from the link state to the abnormal disconnection state; the dashboard obtains the vehicle state of the vehicle when receiving the message of remote locking failure.
[0091] Optionally, the vehicle state is indicated by the gear of the automatic transmission or the vehicle speed collected by the vehicle speed sensor.
[0092] For example, when the gear indicates the vehicle state, the parking gear (i.e., the P gear) is used to indicate that the vehicle state is the stop state, and a non-parking gear is used to indicate that the vehicle state is the driving state.
[0093] For example, when the vehicle speed indicates the vehicle state, when the vehicle speed is 0, it indicates that the vehicle state is the stop state, and when the vehicle speed is greater than 0, it indicates that the vehicle state is the driving state.
[0094] Optionally, when the network link state is the link state, the method steps of obtaining the vehicle state of the vehicle and S203 are stopped from being executed.
[0095] Optionally, the first preset threshold can be 0.5 meters, 1 meter, etc. The specific value of the first preset threshold is not limited here.
[0096] S203. When the vehicle is in a stopped state, output a prompt message for prompting an abnormal automatic locking function; wherein, the automatic locking function is used to control the vehicle to automatically lock when the distance between the terminal device and the vehicle is greater than or equal to a second preset threshold.
[0097] The prompt message can be output by the following method:
[0098] Display the prompt message through the instrument panel; or,
[0099] The instrument panel outputs the prompt message to the sound and light alarm, and the prompt message is used for the sound and light alarm to give an audible and visual alarm.
[0100] Optionally, the second preset threshold can be the same as or different from the first preset threshold. In the case where the second preset threshold is different from the first preset threshold, the second preset threshold is greater than the first preset threshold.
[0101] In the method for handling abnormal functions provided in the embodiments of the present application, obtain the network link state between the vehicle and the terminal device. When the network link state switches from the linked state to the abnormal disconnection state, obtain the vehicle state of the vehicle. When the vehicle state is the stopped state, output a prompt message for prompting an abnormal automatic locking function, which can ensure that when the network connection between the terminal device and the vehicle is disconnected and the vehicle stops, the user is reminded that the automatic locking function is abnormal, avoiding the problem that the vehicle cannot automatically lock after the user holds the terminal device away from the vehicle, and improving the safety of the vehicle.
[0102] Optionally, when the vehicle and the terminal device can be connected via Bluetooth, the network signal strength can be the Received Signal Strength Indication (RSSI) field strength value.
[0103] The network signal strength is greater than or equal to the preset strength, indicating that the terminal device is located inside the vehicle.
[0104] In a possible implementation manner, obtain the network signal strength of the terminal device;
[0105] Determine the distance between the terminal and the vehicle according to the network signal strength.
[0106] Specifically, for the implementation method of determining the distance between the terminal and the vehicle according to the network signal strength, reference can be made to the prior art and will not be elaborated here.
[0107] In a possible implementation manner, before obtaining the network link state between the vehicle and the terminal device, the method provided in the present application further includes:
[0108] Receive a network connection request sent by the terminal device;
[0109] Send a network connection response corresponding to the network connection request to the terminal device, where the network connection response is used to indicate that the automatic locking function of the vehicle has been enabled.
[0110] Optionally, an application corresponding to the vehicle can be set in the terminal device. The terminal device can display the mobile digital key interface included in the application. The mobile digital key interface includes a Bluetooth control. When the Bluetooth control is in the enabled state, the terminal device can send a network connection request to the digital Bluetooth controller, and the digital Bluetooth controller sends a network connection response corresponding to the network connection request to the terminal device to establish a network connection between the terminal device and the vehicle.
[0111] In a possible implementation, obtaining the vehicle state of the vehicle includes: determining the disconnection duration when the network link state is an abnormal disconnection state;
[0112] If the disconnection duration is greater than or equal to a preset duration, obtain the vehicle state of the vehicle.
[0113] The preset duration can be, for example, 10 seconds or 20 seconds, etc.
[0114] In practical applications, the network link between the terminal and the vehicle may be interrupted within a short period of time for some reason. After the short-term interruption, the network link between the terminal and the vehicle will automatically recover. Obtaining the vehicle state of the vehicle within a short period of time may cause misoperation of the vehicle (that is, outputting a prompt message when there is no need to output a prompt message), resulting in a poor user experience of the vehicle.
[0115] In this application, when the disconnection duration is greater than or equal to the preset duration, it can be confirmed that the network link between the terminal and the vehicle has indeed been interrupted and cannot be automatically recovered. At this time, obtaining the vehicle state of the vehicle can prevent misoperation of the vehicle, thereby improving the user experience of the vehicle.
[0116] In a possible implementation, outputting a prompt message includes:
[0117] Obtain the power state of the vehicle's instrument panel;
[0118] When the power state is the on state (ON), output a prompt message through the instrument panel.
[0119] The power state can be the on state (ON) or the off state (OFF).
[0120] The on state is used to indicate that the instrument panel may work continuously.
[0121] The off state indicates that the instrument panel stops working after working for a certain duration.
[0122] When the power state is the on state, outputting a prompt message through the dashboard can prevent the problem that the prompt message cannot be output due to the dashboard stopping working, and improve the reliability of outputting the prompt message.
[0123] Optionally, if it is determined that the network link state switches from the linked state to the abnormally disconnected state, when the vehicle state is the driving state, the prompt message can also be output through the following method 1 and method 2.
[0124] Method 1: Periodically detect the vehicle state of the vehicle until the vehicle state of the vehicle switches to the stopped state, and obtain the latest network link state between the vehicle and the terminal device;
[0125] When the latest network link state is the abnormally disconnected state, output a prompt message.
[0126] In the method provided by method 1, during the driving process of the vehicle, if the network connection between the terminal device and the vehicle is disconnected, the vehicle state of the vehicle is periodically detected until the vehicle state switches from the driving state to the stopped state, and then the latest network link state between the vehicle and the terminal device is obtained to determine whether the network connection between the terminal device and the vehicle has returned to normal. If it has not returned to normal (that is, the latest network link state is the abnormally disconnected state), a prompt message is output to ensure that the prompt message can be output in real time when the network link state is the abnormally disconnected state and the vehicle state is the stopped state, improving the safety of the vehicle.
[0127] Method 2: Periodically detect the network link state between the vehicle and the terminal device and the vehicle state of the vehicle;
[0128] When the vehicle state is the running state and the network link state switches to the linked state, stop obtaining the network link state and the vehicle state;
[0129] When the vehicle state switches to the stopped state and the network link state is the abnormally disconnected state, output a prompt message.
[0130] In the method provided by method 2, periodically detecting the network link state between the vehicle and the terminal device and the vehicle state of the vehicle, and outputting a prompt message when the vehicle state switches to the stopped state and the network link state is the abnormally disconnected state can ensure that the prompt message can be output in real time when the network link state is the abnormally disconnected state and the vehicle state is the stopped state, improving the safety of the vehicle.
[0131] In a possible implementation manner, when the vehicle state is the stopped state and the network link state is the linked state, obtain the distance between the vehicle and the terminal device; when the distance is greater than or equal to the second preset threshold, control the vehicle to automatically lock.
[0132] Among them, the distance between the vehicle and the terminal device can be obtained through Bluetooth RSSI positioning.
[0133] In the embodiment of the present application, when the vehicle state is the stop state and the network connection state is the connected state, if the terminal device is far away from the vehicle, the vehicle is controlled to automatically lock, ensuring that the vehicle still has the automatic locking function.
[0134] Optionally, after controlling the vehicle to automatically lock, the digital Bluetooth controller sends a remote locking result to the terminal device. After receiving the remote locking result, the terminal device obtains the reminder method and prompts the user that the remote locking is successful through the reminder method.
[0135] On the basis of the above embodiments, the following combines Figure 3 to further illustrate the method for handling function anomalies provided by the present application.
[0136] Figure 3 It is the second flowchart of the method for handling function anomalies provided by the embodiment of the present application. As Figure 3 shown, the method may include:
[0137] S301. The digital Bluetooth controller obtains the network connection state between the vehicle and the terminal device.
[0138] Optionally, after the terminal device and the vehicle establish a network connection, S301 can be executed.
[0139] S302. When the digital Bluetooth controller determines that the network connection state switches from the connected state to the abnormally disconnected state, it sends a remote locking failure message to the dashboard.
[0140] S303. The dashboard obtains the power state and the vehicle state of the vehicle.
[0141] S304. When the dashboard determines that the power state is the on state and the vehicle state is the stop state, it outputs a prompt message.
[0142] S305. The digital Bluetooth controller obtains the vehicle state of the vehicle.
[0143] S306. When the digital Bluetooth controller determines that the network connection state switches from the connected state to the abnormally disconnected state and the vehicle state is the stop state, it obtains the distance between the vehicle and the terminal device. When the distance is greater than or equal to the second preset threshold, it controls the vehicle to automatically lock.
[0144] S307. The digital Bluetooth controller sends a remote locking result to the terminal device.
[0145] S308. The terminal device obtains the reminder method.
[0146] Optionally, the ways for the terminal device to obtain the reminder method include:
[0147] Obtain the ringtone and silent mode setting interface;
[0148] Obtain the vibration mode interface through the ringtone and silent mode setting interface;
[0149] Obtain the vibration mode through the vibration mode interface;
[0150] When the vibration mode is the on mode, determine that the reminder method is the vibration method.
[0151] S309. The terminal device prompts the user that the distance-away locking is successful according to the distance-away locking result through the reminder method.
[0152] Optionally, the ways for the terminal device to obtain the reminder method include:
[0153] Obtain the ringtone and silent mode setting interface;
[0154] Obtain the vibration mode interface through the ringtone and silent mode setting interface;
[0155] Obtain the vibration mode through the vibration mode interface;
[0156] When the vibration mode is the on mode, determine that the reminder method is the vibration method. It should be noted that the execution order of the above S301 to S308 can be adjusted according to the implementation design. For example, Figure 3 The shown execution order can also be: S308, S301 to S307, S309.
[0157] Figure 4 This is one of the structural schematic diagrams of the processing device for function anomalies provided by the embodiments of the present application. As Figure 4 shown, the processing device 10 for function anomalies includes:
[0158] The first acquisition module 101 is used to acquire the network link status between the vehicle and the terminal device;
[0159] The second acquisition module 102 is used to acquire the vehicle status of the vehicle if it is determined that the network link status switches from the linked state to the abnormal disconnection state, where the vehicle status is the driving state or the stopped state, and the abnormal disconnection state is the disconnection state when the distance between the vehicle and the terminal device is less than or equal to the first preset threshold;
[0160] The output module 103 is used to output a prompt message when the vehicle status is the stopped state, and the prompt message is used to prompt that the automatic locking function is abnormal. The automatic locking function is used to control the vehicle to automatically lock when the distance between the terminal device and the vehicle is greater than or equal to the second preset threshold.
[0161] The processing device for function abnormality provided in this embodiment can be used to execute the method for processing function abnormality in the above method embodiment. The implementation principle and technical effect are similar and will not be elaborated here.
[0162] In a possible implementation manner, the second acquisition module 102 is specifically configured to:
[0163] Determine the disconnection duration when the network link status is an abnormal disconnection status;
[0164] If the disconnection duration is greater than or equal to a preset duration, obtain the vehicle status of the vehicle.
[0165] In a possible implementation manner, the output module 103 is specifically configured to:
[0166] Obtain the power status of the vehicle dashboard;
[0167] When the power status is the on state, output a prompt message through the dashboard.
[0168] In a possible implementation manner, the output module 103 is further configured to:
[0169] When the vehicle status is the driving state, periodically detect the vehicle status of the vehicle until the vehicle status of the vehicle switches to the stop state, and obtain the latest network link status between the vehicle and the terminal device;
[0170] When the latest network link status is an abnormal disconnection status, output a prompt message.
[0171] In a possible implementation manner, the output module 103 is further configured to:
[0172] When the vehicle status is the driving state, periodically detect the network link status between the vehicle and the terminal device and the vehicle status of the vehicle;
[0173] When the vehicle status is the running state and the network link status switches to the connected state, stop obtaining the network link status and the vehicle status;
[0174] When the vehicle status switches to the stop state and the network link status is an abnormal disconnection status, output a prompt message.
[0175] The processing device for function abnormality provided in this embodiment can be used to execute the method for processing function abnormality in the above method embodiment. The implementation principle and technical effect are similar and will not be elaborated here.
[0176] Figure 5 This is the second structural schematic diagram of the processing device for function abnormality provided in the embodiments of the present application. On the basis of Figure 4 as Figure 5As shown in the figure, the processing device 10 for abnormal functions further includes: a receiving module 104, a sending module 105, a third obtaining module 106, and a control module 107.
[0177] The receiving module 104 is configured to receive a network connection request sent by the terminal device before obtaining the network link status between the vehicle and the terminal device.
[0178] The sending module 105 is configured to send a network connection response corresponding to the network connection request to the terminal device, and the network connection response is used to indicate that the automatic locking function of the vehicle has been enabled.
[0179] The third obtaining module 106 is configured to obtain the distance between the vehicle and the terminal device when the vehicle status is a stopped state and the network link status is a linked state.
[0180] The control module 107 is configured to control the vehicle to automatically lock when the distance is greater than or equal to a second preset threshold.
[0181] The processing device for abnormal functions provided in this embodiment can be used to execute the processing method for abnormal functions in the above method embodiment, and its implementation principle and technical effects are similar, which will not be elaborated here.
[0182] Figure 6 It is a schematic hardware structure diagram of the vehicle provided in the embodiment of the present application. Please refer to Figure 6 The vehicle 20 may include: a memory 201, a processor 202, and a transceiver 203.
[0183] The memory 201 is used to store program instructions.
[0184] The processor 202 is configured to execute the program instructions stored in the memory to enable the electronic device 20 to execute the above-mentioned processing method for abnormal functions.
[0185] The transceiver 203 may include: a transmitter and / or a receiver. The transmitter may also be referred to as a sender, a transmitter, a sending port, or a sending interface, etc. The receiver may also be referred to as a receiver, a receiving port, or a receiving interface, etc.
[0186] Exemplarily, the memory 201, the processor 202, and the transceiver 203 are interconnected with each other through a bus 204.
[0187] Optionally, the above-mentioned processor may be a Central Processing Unit (CPU), or may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
[0188] The present application provides a computer-readable storage medium, on which computer-executable instructions are stored; the computer-executable instructions are used to implement the method for handling functional anomalies in any of the above-mentioned embodiments.
[0189] The embodiments of the present application provide a computer program product, the computer program product includes a computer program, and when the computer program is executed, the computer is caused to execute the method for handling functional anomalies described above.
[0190] All or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program may be stored in a readable memory. When the program is executed, it executes the steps including the above method embodiments; and the foregoing memory (storage medium) includes: read-only memory (abbreviation: ROM), RAM, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disc, and any combination thereof.
[0191] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processing unit of a general-purpose computer, a special-purpose computer, an embedded processing machine, or other programmable terminal devices to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable terminal devices generate a device for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 a block or multiple blocks.
[0192] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable terminal device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufacture including an instruction device that implements the functions specified in one or more processes and / or blocks Figure 1 in one or more processes and / or blocks Figure 1 specified in the block or blocks.
[0193] These computer program instructions can also be loaded onto a computer or other programmable terminal device, such that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing steps for implementing the functions specified in one or more processes and / or blocks Figure 1 in one or more processes and / or blocks Figure 1 specified in the block or blocks.
[0194] Obviously, those skilled in the art can make various modifications and variations to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
[0195] In the present application, the term "including" and its variations may mean non-restrictive inclusion; the term "or" and its variations may mean "and / or". In the present application, terms such as "first", "second", etc. are used to distinguish similar objects and do not necessarily have to be used to describe a specific order or sequence. In the present application, "a plurality of" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0196] After considering the specification and the invention disclosed in practice, those skilled in the art will readily conceive of other embodiments of the present application. The present application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include known common knowledge or conventional technical means in the technical field not disclosed in the present application.
Claims
1. A method for handling functional abnormality, characterized in that: Applied to a vehicle, the method comprises: Obtaining the network connection status between the vehicle and the terminal device; If it is determined that the network link state is switched from a link state to an abnormal disconnection state, obtaining a vehicle state of the vehicle, the vehicle state being a driving state or a stopped state, and the abnormal disconnection state being a disconnection state when the distance between the vehicle and the terminal device is less than or equal to a first preset threshold; When the vehicle state is the stopped state, a prompt message is output, wherein the prompt message is used to indicate that the automatic locking function is abnormal; wherein the automatic locking function is used to control the automatic locking of the vehicle when the distance between the terminal device and the vehicle is greater than or equal to a second preset threshold.
2. The method according to claim 1, characterized in that Before obtaining the network link status between the vehicle and the terminal device, it also includes: Receiving a network connection request sent by the terminal device; A network connection response corresponding to the network connection request is sent to the terminal device, where the network connection response is used to indicate that the automatic locking function of the vehicle has been turned on.
3. The method according to claim 1 or 2, characterized in that: Obtaining the vehicle status of the vehicle, including: Determine the disconnection time duration of the network link state being the abnormal disconnection state; If the disconnection duration is greater than or equal to a preset duration, the vehicle status of the vehicle is obtained.
4. The method according to any one of claims 1 to 3, characterized in that: Output prompt information, including: Obtaining a power status of a dashboard of the vehicle; When the power state is on, the prompt information is output through the instrument panel.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: When the vehicle state is the driving state, periodically detecting the vehicle state of the vehicle until the vehicle state of the vehicle switches to the stopped state, and acquiring the latest network link state between the vehicle and the terminal device; When the latest network link state is the abnormal disconnection state, the prompt information is output.
6. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: When the vehicle state is the driving state, periodically detecting the network link state between the vehicle and the terminal device, and the vehicle state of the vehicle; When the vehicle state is the running state and the network link state is switched to the link state, stop acquiring the network link state and the vehicle state; When the vehicle state is switched to the stopped state and the network link state is the abnormal disconnected state, the prompt information is output.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When the vehicle state is the stopped state and the network link state is the linked state, obtaining the distance between the vehicle and the terminal device; When the distance is greater than or equal to a second preset threshold, the vehicle is controlled to be automatically locked.
8. A device for processing abnormal functions, characterized in that: Applied to a vehicle, the device comprises: A first acquisition module is used to acquire the network connection status between the vehicle and the terminal device; A second acquisition module is used to acquire the vehicle state of the vehicle if it is determined that the network link state is switched from the link state to the abnormal disconnection state, the vehicle state being a driving state or a stopped state, and the abnormal disconnection state being a disconnection state when the distance between the vehicle and the terminal device is less than or equal to a first preset threshold; The output module is used to output a prompt message when the vehicle state is the stopped state, wherein the prompt message is used to indicate that the automatic locking function is abnormal, and the automatic locking function is used to control the automatic locking of the vehicle when the distance between the terminal device and the vehicle is greater than or equal to a second preset threshold.
9. A vehicle, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Vehicle monitoring method and device, equipment and storage medium
CN112509173A
Vehicle unlocking and locking control method and device
CN112874469A