Vehicle networking state identification method and device, electronic equipment and storage medium

CN120811953BActive Publication Date: 2026-09-04GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511032151.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-24
Publication Date
2026-09-04
Estimated Expiration
2045-07-24

AI Technical Summary

Technical Problem

然而,经实践发现,目前存在车辆的远程控制无法生效的情形

Benefits of technology

[0029] To make the technical problems, technical solutions, and beneficial effects solved by this application clearer, the following detailed description is provided in conjunction with embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120811953B_ABST
    Figure CN120811953B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a vehicle networking state identification method and device, electronic equipment and storage medium, and relate to the field of vehicle remote control. The heartbeat packet of the communication module of the vehicle is monitored. If the heartbeat packet of the communication module is not monitored, the power consumption indication information of the communication module in a first time period is obtained. The first time period includes the last time period in which the communication module is in a networking state. The power consumption of the communication module in the first time period is determined based on the power consumption indication information. If the power consumption of the communication module in the first time period is greater than a first power consumption threshold, it is determined that the vehicle is in a no-network state. If the power consumption of the communication module in the first time period is less than a second power consumption threshold, it is determined that the vehicle is in a network state. The first power consumption threshold is not less than the second power consumption threshold. In this way, it can be determined whether the vehicle is in a network state or a no-network state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle remote control technology, and more specifically, to a method, apparatus, electronic device, and storage medium for identifying the network status of a vehicle. Background Technology

[0002] Currently, vehicles can be controlled remotely. Related technologies monitor the vehicle's heartbeat packets; if a heartbeat is detected, the vehicle is considered online; if no heartbeat is detected, the vehicle is considered dormant. Even when the vehicle is dormant, remote control commands can still be initiated to control it, such as waking it up. However, in practice, it has been found that remote vehicle control sometimes fails to work.

[0003] Through long-term research, the inventors discovered that when a vehicle's heartbeat packet is not detected, it is not necessarily because the vehicle is in a dormant state, but may also be because the vehicle is offline. When the vehicle is offline, it is impossible to initiate control of the vehicle via remote control commands.

[0004] Therefore, there is an urgent need for a solution that can identify whether a vehicle is in a state of no network connectivity. Summary of the Invention

[0005] This application provides a method, device, electronic device, and storage medium for identifying the network status of a vehicle, which can identify whether the vehicle is in a network-connected or network-free state.

[0006] In a first aspect, embodiments of this application provide a method for identifying the network connectivity status of a vehicle, comprising: monitoring the heartbeat packets of the vehicle's communication module; if no heartbeat packets of the communication module are detected, obtaining power consumption indication information of the communication module in a first time period, the first time period including the last time period in which the communication module is in a network connectivity state; determining the power consumption of the communication module in the first time period based on the power consumption indication information; if the power consumption of the communication module in the first time period is greater than a first power consumption threshold, determining that the vehicle is in a no-network state; if the power consumption of the communication module in the first time period is less than a second power consumption threshold, determining that the vehicle is in a network-connected state, the first power consumption threshold being not less than the second power consumption threshold.

[0007] In this embodiment, by monitoring the heartbeat packets of the vehicle's communication module, if no heartbeat packets are detected, the power consumption indication information of the communication module in the first time period is obtained. The first time period includes the last time period in which the communication module is in a network-connected state. Based on the power consumption indication information, the power consumption of the communication module in the first time period is determined. If the power consumption of the communication module in the first time period is greater than a first power consumption threshold, it is determined that the vehicle is in a network-free state. If the power consumption of the communication module in the first time period is less than a second power consumption threshold, it is determined that the vehicle is in a network-connected state. The first power consumption threshold is not less than the second power consumption threshold. In this way, even if no heartbeat packets of the communication module are detected, the characteristics of the network-free and network-connected states can be used to further determine whether the vehicle is in a network-free or network-connected state, thereby identifying whether the vehicle is in a network-connected or network-free state.

[0008] In one possible implementation, the power consumption indication information includes the transmission frequency of historical heartbeat packets sent by the communication module. Determining the power consumption of the communication module in a first time period based on the power consumption indication information includes: if the transmission frequency is greater than a first frequency threshold, then determining that the power consumption of the communication module in the first time period is greater than the first power consumption threshold; if the transmission frequency is less than a second frequency threshold, then determining that the power consumption of the communication module in the first time period is less than the second power consumption threshold, wherein the first frequency threshold is not less than the second frequency threshold.

[0009] In this embodiment, the power consumption of the communication module can be determined by the frequency of historical heartbeat packets sent by the communication module to the server during the last time period when it is in a networked state. Specifically, during the interaction with the communication module, the server can record the time of receiving historical heartbeat packets, and then calculate the transmission frequency of historical heartbeat packets sent by the communication module based on the recorded historical heartbeat packet times. Generally speaking, the transmission frequency of heartbeat packets sent by the communication module is positively correlated with the power consumption of the communication module. That is, the higher the transmission frequency of heartbeat packets sent by the communication module, the higher the power consumption of the communication module, and the lower the transmission frequency of heartbeat packets sent by the communication module, the lower the power consumption of the communication module. Therefore, if the transmission frequency is greater than a first frequency threshold, it is determined that the power consumption of the communication module in the first time period is greater than the first power consumption threshold (high power consumption); if the transmission frequency is less than a second frequency threshold, it is determined that the power consumption of the communication module in the first time period is less than the second power consumption threshold (low power consumption).

[0010] In one possible implementation, the method further includes: obtaining the performance parameters of the communication module or the vehicle model information, and determining a second time period based on the performance parameters or the vehicle model information; if no heartbeat packet of the communication module is detected, then obtaining the power consumption indication information of the communication module in the first time period, including: if no heartbeat packet of the communication module is detected in the second time period, then obtaining the power consumption indication information of the communication module in the first time period.

[0011] In this embodiment, the performance parameters of the communication module or the vehicle model information are obtained, and a second time period is determined based on the performance parameters or the vehicle model information. If no heartbeat packet of the communication module is detected within the second time period, the power consumption indication information of the communication module in the first time period is obtained. Since the second time period for evaluating whether the vehicle is offline is determined based on the parameters of the communication module or the vehicle model information, the second time period can be set in a targeted manner, so as to determine whether the vehicle is offline in a timely manner, thereby improving the accuracy of vehicle network status identification.

[0012] In one possible implementation, monitoring the heartbeat packets of the vehicle's communication module includes: receiving a connection establishment request from a target application, the connection establishment request being sent by the target application in response to a startup operation to request the establishment of a connection with the vehicle; and monitoring the heartbeat packets of the vehicle's communication module in response to the connection establishment request.

[0013] In this embodiment, a connection establishment request is received from the target application. This connection establishment request is sent by the target application in response to the startup operation to request the establishment of a connection with the vehicle. In response to the connection establishment request, the heartbeat packets of the vehicle's communication module are monitored. In other words, the vehicle's network status can be identified only when the target application starts up, which can reduce the resources required to identify the network status.

[0014] In one possible implementation, after determining that the vehicle is in a no-network state, the method further includes: sending a no-network indication message to a target application, the no-network indication message indicating that the vehicle is in a no-network state, so that the target application displays a no-network prompt message on the target application's interface, and / or setting the target control displayed on the target application's interface to an unavailable or hidden state, the no-network prompt message indicating that the vehicle is in a no-network state, the target control including controls for controlling the vehicle.

[0015] In this embodiment, after determining that the vehicle is in a network-free state, a network-free indication message is sent to the target application. This message indicates that the vehicle is in a network-free state, causing the target application to display a network-free notification on its interface. Alternatively, the target controls displayed on the target application's interface can be set to an unavailable or hidden state. The network-free notification message indicates that the vehicle is in a network-free state. These target controls include controls for controlling the vehicle. Displaying the network-free notification message on the target application's interface promptly informs the user that the vehicle is currently in a network-free state, reducing the user's perception that the vehicle cannot be remotely controlled normally, thus improving the user experience. Furthermore, setting the target controls to an unavailable or hidden state prevents the user from remotely controlling the vehicle through these controls, allowing the user to understand that the inability to remotely control the vehicle may be due to reasons such as a network-free state, thereby improving the user experience.

[0016] Secondly, embodiments of this application provide a method for identifying the network connectivity status of a vehicle, comprising: receiving a startup operation, the startup operation being used to start a target application; responding to the startup operation, starting the target application and displaying the interface of the target application, wherein, if a no-network indication message is received from a server, a no-network prompt message is displayed on the interface of the target application, and / or, the target controls displayed on the interface of the target application are set to an unavailable state or a hidden state, the no-network prompt message being used to indicate that the vehicle is in a no-network state, the target controls including controls for controlling the vehicle, and the no-network indication message being sent by the server when it determines that the vehicle is in a no-network state based on the method of the first aspect.

[0017] In one possible implementation, the method further includes: in response to the start operation, sending a connection establishment request to the server, the connection establishment request being used to request the establishment of a connection with the vehicle, so that the server, in response to the connection establishment request, determines whether the vehicle is in a no-network state.

[0018] Thirdly, embodiments of this application provide a vehicle networking status identification device, including functional modules for implementing the methods of the first or second aspect.

[0019] Fourthly, embodiments of this application provide an electronic device, including a processor and a memory, wherein: the memory is used to store computer programs; and the processor is used to execute the programs stored in the memory to implement the above-described method.

[0020] Fifthly, this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-described method. Attached Figure Description

[0021] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of this application;

[0022] Figure 2 A flowchart illustrating a method for identifying the network connectivity status of a vehicle according to an embodiment of this application;

[0023] Figure 3 A flowchart illustrating a method for identifying the network connectivity status of a vehicle, as provided in another embodiment of this application;

[0024] Figure 4 A flowchart illustrating a method for identifying the network connectivity status of a vehicle, as provided in another embodiment of this application;

[0025] Figure 5 A schematic diagram of the interface of a target application provided in an embodiment of this application;

[0026] Figure 6 A schematic diagram of the structure of a vehicle network status identification device provided in an embodiment of this application;

[0027] Figure 7 A schematic diagram of the structure of a vehicle network status identification device provided in another embodiment of this application;

[0028] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0029] To make the technical problems, technical solutions, and beneficial effects solved by this application clearer, the following detailed description is provided in conjunction with embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0030] Currently, vehicles can be controlled remotely, and the vehicle's network connectivity status has a certain impact on the results. Related technologies monitor the vehicle's heartbeat packets; if a heartbeat is detected, the vehicle is considered online; if no heartbeat is detected, the vehicle is considered to be in a dormant state. When the vehicle is online, remote commands can be used to control it, such as locking the vehicle or performing system upgrades. Even when the vehicle is dormant, remote commands can still be used to control it, such as waking it up. However, in practice, it has been found that there are situations where remote vehicle control fails to function.

[0031] Through long-term research, the inventors discovered that when a vehicle's heartbeat packet is not detected, it is not necessarily because the vehicle is in a dormant state, but may also be because the vehicle is offline. When the vehicle is offline, it is impossible to initiate control of the vehicle via remote control commands.

[0032] Generally, users can initiate remote control commands to control their vehicles using an application (APP). The typical car remote control process involves the user issuing a remote control command from the application, which is transmitted over the network to a server. The server then forwards the command to the vehicle's communication module, which can be a Telematics Box (TBOX). The TBOX executes the command and provides feedback. If the vehicle is offline, remote control often fails. However, in the process of a user initiating vehicle control via an APP, there is a lack of a mechanism to pre-determine the vehicle's network status. Users operating without prior knowledge of this status are prone to confusion and dissatisfaction upon failure, severely impacting the user experience. Because the vehicle's network status is not pre-determined, remote control commands will fail directly when the vehicle is offline, wasting user time and reducing trust in the remote control function. Furthermore, the lack of advance notification of the vehicle's status makes it difficult for users to form reasonable expectations, lowering user satisfaction.

[0033] Therefore, there is an urgent need for a solution that can identify whether a vehicle is in a state of no network connectivity.

[0034] In view of this, embodiments of this application provide a method, device, electronic device, and storage medium for identifying the network status of a vehicle, which can identify whether the vehicle is in a network-connected or network-free state, thereby improving the user experience.

[0035] First, the application scenarios of the embodiments of this application will be described by way of example.

[0036] like Figure 1The illustrated application scenario includes a terminal 110, a server 120, and a vehicle 130. The terminal 110 is equipped with a target application that displays the status of the vehicle 130, receives user input, and controls the vehicle 130 in response to user actions. The server 120 acts as an intermediary between the target application and the vehicle 130. For example, in response to user actions, the target application sends instructions or requests to the server 120, which then interacts with the vehicle 130 to control it. The server 120 can also feed back the control results to the target application, displaying the control results to inform the user. In this embodiment, the terminal 110 and server 120, and the server 120 and vehicle 130, are remotely connected via a communication network.

[0037] In this embodiment, when the terminal 110 receives the user's startup operation, it starts the target application and sends a connection establishment request to the server 120. The connection establishment request is used to request the establishment of a connection with the vehicle 130. The server 120 can respond to the connection establishment request and can monitor the heartbeat packets of the communication module of the vehicle 130. If no heartbeat packets of the communication module are detected, the power consumption indication information of the communication module in the first time period is obtained. The first time period includes the last time period in which the communication module is in the network state. The power consumption of the communication module in the first time period is determined based on the power consumption indication information. If the power consumption of the communication module in the first time period is greater than a first power consumption threshold, it is determined that the vehicle 130 is in a no-network state. If the power consumption of the communication module in the first time period is less than a second power consumption threshold, it is determined that the vehicle 130 is in a network state. The first power consumption threshold is not less than the second power consumption threshold. Then, server 120 can send a no-network indication message to the target application to indicate that vehicle 130 is in a no-network state, so that the target application displays a no-network prompt message on the target application's interface, and / or set the target controls displayed on the target application's interface to an unavailable or hidden state. The no-network prompt message is used to indicate that vehicle 130 is in a no-network state, and the target controls include controls for controlling vehicle 130.

[0038] The following explains the method for identifying the network status of vehicle 130. First, the explanation will focus on server 120 as the executing entity.

[0039] Please see Figure 2 , Figure 2 This is a flowchart illustrating a method for identifying the network connectivity status of a vehicle, as provided in an embodiment of this application. Figure 2 The method shown can be applied to servers, such as... Figure 2 The methods shown may include:

[0040] S210, monitoring the heartbeat packet of the vehicle's communication module.

[0041] Heartbeat packets are a mechanism in communication systems used to maintain connection activity and monitor device online status. In this embodiment, the server can determine whether the vehicle is online by monitoring the heartbeat packets from the vehicle's communication module.

[0042] S220. If no heartbeat packet is detected from the communication module, the power consumption indication information of the communication module in the first time period is obtained. The first time period includes the last time period when the communication module is in the network state.

[0043] In this embodiment, if no heartbeat packet is detected from the communication module, it indicates that the vehicle is not online. However, the vehicle may be in a network-connected state or a network-free state (also known as an offline state), thus requiring further determination. Therefore, the power consumption indication information of the communication module during the last period when it was in a network-connected state is obtained. This power consumption indication information is used to determine the power consumption of the communication module during the last period when it was in a network-connected state.

[0044] Specifically, the inventors' research revealed that if the communication module's state changes sequentially from high power consumption to low power consumption to offline, the communication module generally enters a sleep state (this could also be due to a power failure, software malfunction, or other network-enabled states at low power). This indicates that the vehicle has entered a sleep state, but it is still connected to the network. Conversely, if the communication module's state changes sequentially from high power consumption to offline, the communication module generally enters a network-free state, indicating that the vehicle is also network-free. In this embodiment, the vehicle typically moves from a network-enabled state to a network-free state.

[0045] S230. Determine the power consumption of the communication module in the first time period based on the power consumption indication information.

[0046] S240. If the power consumption of the communication module in the first time period is greater than the first power consumption threshold, then the vehicle is determined to be in a no-network state. If the power consumption of the communication module in the first time period is less than the second power consumption threshold, then the vehicle is determined to be in a network state. The first power consumption threshold is not less than the second power consumption threshold.

[0047] In this embodiment, if the first power consumption threshold is not less than the second power consumption threshold, then when the power consumption of the communication module is greater than the first power consumption threshold, it can be understood that the power consumption of the communication module is high, and when the power consumption of the communication module is less than the second power consumption threshold, it can be understood that the power consumption of the communication module is low. That is to say, if the communication module has high power consumption during the last period of its network connection, it means that the communication module is in a no-network state, and if the communication module has low power consumption during the last period of its network connection, it means that the communication module is in a network connection state. For example, it means that the power consumption of the communication module when it is in a sleep state or a power-off state is low.

[0048] It should be understood that high power consumption and low power consumption can be a pre-defined standard or a relative standard, and no restrictions are imposed here.

[0049] It should be noted that if a heartbeat packet is detected, the vehicle can be considered to be online.

[0050] In one possible implementation, the power consumption indication information includes the transmission frequency of historical heartbeat packets sent by the communication module. The power consumption of the communication module in a first time period is determined based on the power consumption indication information, including:

[0051] If the transmission frequency is greater than the first frequency threshold, it is determined that the power consumption of the communication module in the first time period is greater than the first power consumption threshold; if the transmission frequency is less than the second frequency threshold, it is determined that the power consumption of the communication module in the first time period is less than the second power consumption threshold, wherein the first frequency threshold is not less than the second frequency threshold.

[0052] In this embodiment, the power consumption indication information includes the transmission frequency of historical heartbeat packets sent by the communication module. If the transmission frequency is greater than a first frequency threshold, it is determined that the power consumption of the communication module in the first time period is greater than the first power consumption threshold; if the transmission frequency is less than a second frequency threshold, it is determined that the power consumption of the communication module in the first time period is less than the second power consumption threshold. The first frequency threshold is not less than the second frequency threshold. That is, the power consumption of the communication module in the last time period when it is in the network state can be determined by the frequency of historical heartbeat packets received from the communication module. The heartbeat packet is the heartbeat packet sent when the server communicates with the communication module. This can save resources for determining the power consumption of the communication module in the last time period when it is in the network state, thereby improving the resources required for network state identification.

[0053] In another possible implementation, the power consumption of the communication module can be carried in the historical heartbeat packets. By using the power consumption carried in the heartbeat packets of the communication module during the last period when it is in the networked state, the power consumption of the communication module during the last period when it is in the networked state can be determined. In this way, the power consumption of the communication module during the last period when it is in the networked state can be determined in a timely manner, thereby improving the efficiency of power consumption determination and thus improving the efficiency of vehicle network status recognition.

[0054] In another possible implementation, the communication module can carry its operating parameters in the historical heartbeat packets. These operating parameters can be, for example, the communication standard used by the communication module (e.g., 4G or 5G), positioning accuracy, number of communication channels, frequency of the core processor, utilization rate, and number of cores, etc. The power consumption of the communication module can then be determined based on the operating parameters of the communication module carried in the historical heartbeat packets.

[0055] It should be noted that the first and second frequency thresholds can be determined by obtaining the performance parameters of the communication module. These performance parameters indicate the performance of the communication module. Optionally, the stronger the performance of the communication module, the higher the first and second frequency thresholds; conversely, the weaker the performance, the lower the first and second frequency thresholds. Optionally, the performance parameters can be, for example, the communication standards supported by the communication module (e.g., 4G or 5G), the highest positioning accuracy, the maximum number of communication channels, and the highest frequency and number of cores of the core processor. Generally speaking, the more communication standards the communication module supports, the higher the positioning accuracy, the more communication channels, and the higher the frequency and number of cores, the stronger its performance.

[0056] By obtaining the performance parameters of the communication module to determine the first and second frequency thresholds, it is possible to dynamically determine whether the communication module is high-power or low-power, which can improve the accuracy of network status identification.

[0057] In one possible implementation, the method also includes:

[0058] Obtain the performance parameters of the communication module or the vehicle model information, and determine the second time period based on the performance parameters or the vehicle model information.

[0059] Correspondingly, if no heartbeat packet is detected from the communication module, the power consumption indication information of the communication module in the first time period is obtained, including:

[0060] If no heartbeat packet from the communication module is detected during the second time period, the power consumption indication information of the communication module during the first time period is obtained.

[0061] In this embodiment, the performance parameters of the communication module indicate that the stronger the performance of the communication module, the shorter the second time period. Optionally, generally speaking, the stronger the performance parameters of the communication module indicate, the higher the frequency at which it sends heartbeat packets. Therefore, the performance parameters of the communication module indicate that the stronger the performance of the communication module, the shorter the second time period. Optionally, the performance parameters of the communication module used by the vehicle can be those reported by the communication module when it is connected to the server, or the performance parameters of the communication module determined according to the vehicle model information; there are no restrictions here.

[0062] Furthermore, different vehicle models operate differently, for example, in different ways of sending heartbeat packets. Therefore, the second time period can be determined using the vehicle model information. Optionally, the mapping relationship between vehicle model and time period can be pre-defined, so that after knowing the vehicle model information, this mapping relationship can be used to determine the second time period for winning the bet.

[0063] In another possible implementation, the second time period can also be fixed, which can improve the efficiency of vehicle network status recognition and reduce the computing power required for vehicle network status recognition.

[0064] In one possible implementation, monitoring the heartbeat packets of the vehicle's communication module includes:

[0065] Receive a connection establishment request from the target application, which is sent by the target application in response to the startup operation to request the establishment of a connection with the vehicle; in response to the connection establishment request, monitor the heartbeat packets of the vehicle's communication module.

[0066] In this embodiment, the connection establishment request is used to request the establishment of a connection with the vehicle, so that the target application can interact with the vehicle through the server, such as sending control commands to the vehicle through the server and receiving feedback on the control results of the vehicle through the server, without limitation.

[0067] In another possible implementation, the server could continuously monitor the heartbeat packets of the communication module to determine the vehicle's network status (e.g., online, dormant, or no network). Upon receiving a connection establishment request from the target application, the server could directly send network status indication information to the target application (e.g., a prior status indication indicating online status, a dormant status indication indicating dormant status, or a no-network indication, such as "00" for online, "01" for dormant, and "10" for no network). This allows the target application to promptly determine the vehicle's current status. Alternatively, the server could continuously determine the vehicle's network status and send network status indication information to the target application, allowing the target application to promptly determine the vehicle's network status upon startup.

[0068] In one possible implementation, after determining that the vehicle is in a no-network state, the method further includes:

[0069] Send a no-network indication message to the target application, the no-network indication message being used to indicate that the vehicle is in a no-network state, so that the target application displays a no-network prompt message on the target application's interface, and / or set the target controls displayed on the target application's interface to an unavailable or hidden state, the no-network prompt message being used to indicate that the vehicle is in a no-network state, the target controls including controls for controlling the vehicle.

[0070] In this embodiment, after determining that the vehicle is in a no-network state, a no-network indication message is sent to the target application to notify the vehicle that it is in a no-network state. This allows the target application to display a no-network prompt message on its interface when it learns that the vehicle is in a no-network state, and / or to set the target controls displayed on the target application's interface to an unavailable or hidden state. The no-network prompt message is used to indicate that the vehicle is in a no-network state, and the target controls include controls for controlling the vehicle.

[0071] Optionally, the "no network" message can be a text message, such as "Vehicle is in a no-network state," or it can be indicated by other symbols, such as red or other colors. There are no restrictions on this. The target control can be, for example, a control to unlock the vehicle, control to turn on the air conditioning, or control to open the trunk. There are no restrictions on this either.

[0072] The following section describes the method for identifying the vehicle's network connectivity status, using the target application or terminal as the executing entity.

[0073] Please see Figure 3 , Figure 3 This is a flowchart illustrating a method for identifying the network connectivity status of a vehicle, as provided in another embodiment of this application. Figure 3The method shown can be applied to the target application or terminal. The terminal can be, for example, a mobile phone. Figure 3 The methods shown may include:

[0074] S310 Receive startup operation, which is used to start the target application.

[0075] The launch operation may include, but is not limited to, a click or a double-click operation. In this embodiment, the user can click the icon of the target application displayed on the terminal, and the target application or the terminal can receive the launch operation.

[0076] S320. In response to the startup operation, the target application is started and the interface of the target application is displayed, wherein if a no-network indication message is received from the server, a no-network prompt message is displayed on the interface of the target application, and / or the target controls displayed on the interface of the target application are set to an unavailable state or a hidden state, the no-network prompt message is used to indicate that the vehicle is in a no-network state, and the target controls include controls for controlling the vehicle.

[0077] Among them, the lack of network indication information can be based on the server as follows: Figure 2 An embodiment of the method shown determines the transmission when the vehicle is in a network-free state.

[0078] In this embodiment, a startup operation is received to launch the target application. In response to the startup operation, the target application is launched and its interface is displayed. If a no-network indication is received from the server, a no-network prompt is displayed on the target application's interface, and / or the target controls displayed on the target application's interface are set to an unavailable or hidden state. The no-network prompt is used to indicate that the vehicle is in a no-network state. The target controls include controls for controlling the vehicle. This improves the user experience.

[0079] In one possible implementation, the method also includes:

[0080] In response to the startup operation, a connection establishment request is sent to the server. The connection establishment request is used to request the establishment of a connection with the vehicle, so that the server can determine whether the vehicle is in a no-network state in response to the connection establishment request.

[0081] In this embodiment, a connection establishment request is sent to the server in response to the startup operation. The connection establishment request is used to request the establishment of a connection with the vehicle, so that the server can determine whether the vehicle is in a no-network state in response to the connection establishment request. In other words, the vehicle's network status can be identified only when the target application starts, which can reduce the resources required to identify the network status.

[0082] For ease of understanding, the solutions of this application embodiment are described below in conjunction with a server, target application, and vehicle. Please refer to... Figure 4 , Figure 4 This is a flowchart illustrating a method for identifying the network connectivity status of a vehicle, as provided in another embodiment of this application. This embodiment uses a network connectivity status, including a sleep state, as an example for explanation. Figure 4 The methods shown may include:

[0083] S401. In response to the startup operation, the target application sends a connection establishment request to the server, and starts the target application and displays the target application's interface.

[0084] In this embodiment, the connection establishment request carries vehicle information, thereby notifying the server which vehicle needs to be connected.

[0085] S402. In response to the connection establishment request, the server monitors the heartbeat packets of the vehicle's communication module.

[0086] The communication module in this embodiment can be a TBOX.

[0087] S403. If the server detects a heartbeat packet from the vehicle's communication module during the second time period, it determines that the vehicle is online.

[0088] S404. The server sends an online instruction message to the target application.

[0089] Among them, the online indication information is used to indicate that the vehicle is online.

[0090] S405. The target application displays online prompt information on its interface based on the online instruction information, and the target control is in an available state.

[0091] In this embodiment, the target control is in an available state, which means that the vehicle can be remotely controlled by clicking the target control.

[0092] S406. If no heartbeat packet from the vehicle's communication module is detected in the second time period, the server obtains the transmission frequency of historical heartbeat packets sent by the vehicle in the first time period.

[0093] S407. If the transmission frequency is greater than the first frequency threshold, the server determines that the vehicle is in a no-network state.

[0094] S408. The server sends a no-network indication message to the target application.

[0095] S409. Based on the no-network indication information, the target application displays a no-network prompt message on the target application's interface, and sets the target controls displayed on the target application's interface to an unavailable or hidden state.

[0096] S410. If the transmission frequency is less than the second frequency threshold, the server determines that the vehicle is in a dormant state.

[0097] S411, The server sends a hibernation instruction to the target application.

[0098] The sleep indicator information is used to indicate that the vehicle is in a sleep state.

[0099] S412. Based on the hibernation indication information, the target application displays a hibernation prompt on its interface and sets the target control displayed on the target application's interface to an available state.

[0100] Specifically, this embodiment can be divided into system initialization, APP startup and monitoring, network status judgment and corresponding mobile APP interaction processing.

[0101] During system initialization: After the vehicle starts, TBOX establishes a connection with the server and uploads basic vehicle information. At the same time, the heartbeat packet sending function is enabled, and the mobile APP establishes a connection with the server and completes user authentication.

[0102] APP Startup and Monitoring: When the user opens the car remote control mobile APP, the APP sends a request to the server, the server forwards it to the TBOX, establishes a monitoring link between the APP and the TBOX, and begins monitoring heartbeat packets.

[0103] Network status assessment and corresponding mobile app interaction:

[0104] Vehicle Online Status Detection and Notification: If the TBOX is consuming high power and continuously receiving heartbeat packets, the server will report the vehicle's online status to the app. The app will directly display the vehicle's normal online status without requiring additional user intervention, and the operation buttons will show as available. If the TBOX is consuming high power and continuously receiving heartbeat packets, the server will report the vehicle's online status to the app, and the app will display the corresponding online status notification on the interface, with the operation buttons showing as available.

[0105] Vehicle hibernation detection and prompts: If the TBOX switches from high power to low power, it continuously monitors heartbeat packets. If no heartbeat packet is received after time T1, it is determined that the vehicle has entered a normal hibernation state. The server informs the APP, and the APP displays the text prompts according to the vehicle hibernation state. The operation buttons are displayed normally, but special indicators can be given, such as a lighter color or the addition of a hibernation icon.

[0106] Vehicle no network detection and prompt: If no heartbeat packet is detected when entering the APP, the server checks whether the vehicle's previous network connection status was high power consumption within time T2. If so, the server performs a deep confirmation of the vehicle's communication status based on the relevant communication detection protocols and data of the national standard for new energy vehicles. If it is determined that the vehicle communication has indeed been disconnected (i.e., in a no-network state), the server notifies the APP, the APP grays out the remote control operation button and displays a prompt indicating that the vehicle has no network status.

[0107] Please see Figure 5 , Figure 5 This is a schematic diagram of the interface of a target application provided in an embodiment of this application. For example... Figure 5 As shown, if the vehicle is without a network, the interface displays a "No Network" message (510), such as "Vehicle has no network" or "Vehicle has no network, which may cause current vehicle data and app vehicle control malfunctions." Additionally, target controls (520), such as lock controls, window controls, trunk controls, and horn controls, are either unselectable or hidden. Furthermore, the time when the vehicle was without a network can also be displayed.

[0108] It should be understood that if the vehicle is online, an online notification will be displayed, or no network status notification will be displayed. In this case, the user can determine whether the vehicle is online through the interface. If the vehicle is in sleep mode, a sleep notification will be displayed. In this case, the user can determine whether the vehicle is in sleep mode through the interface.

[0109] Optional, heartbeat monitoring time parameter: After the TBOX switches from high power to low power, set the time threshold for monitoring no heartbeat to T1 (e.g., 10 minutes, which can be adjusted according to different vehicle models and TBOX performance). If no heartbeat is detected after T1 time (the second time period), the vehicle is determined to have entered normal sleep state.

[0110] High power consumption state judgment parameters: If no heartbeat packet is detected when entering the APP, the time interval for querying the vehicle's last online state is set to T2 (first time period), for example, 5 minutes. If the vehicle is in a high power consumption state within the T2 time period, it is determined that the vehicle directly enters the offline state from the high power consumption state.

[0111] In summary, this embodiment can solve the problem of remote control failure and poor user experience caused by unclear vehicle network status. By monitoring the vehicle's TBOX network heartbeat status before user operation and further confirming whether vehicle communication is disconnected based on data such as the national standard for new energy vehicles, the system can determine the vehicle's network status in advance, covering scenarios where the vehicle is online, in sleep / offline mode, or without network access. This provides user-friendly interactive prompts on the mobile app interface, such as corresponding text and grayed-out buttons, effectively improving the success rate of remote control and user expectation management.

[0112] Significantly reduces the failure rate of remote control due to unclear vehicle network status, and improves the success rate of remote control.

[0113] Providing users with clear advance notice of the vehicle's network status helps them form reasonable expectations, thereby improving user experience and satisfaction with remote control functions.

[0114] Reduce network resource waste and unnecessary command processing burden on servers caused by blind user operations, and improve the overall operating efficiency of the system.

[0115] Please see Figure 6 , Figure 6 This is a schematic diagram of a vehicle network status identification device provided in one embodiment of this application. Figure 6 The device shown can be applied to a server, and the device may include a monitoring module 610 and a status recognition module 620, wherein:

[0116] The monitoring module 610 is used to monitor the heartbeat packets of the vehicle's communication module; the status recognition module 620 is used to obtain the power consumption indication information of the communication module in a first time period if no heartbeat packet of the communication module is detected, the first time period includes the last time period in which the communication module is in the network state; determine the power consumption of the communication module in the first time period based on the power consumption indication information; if the power consumption of the communication module in the first time period is greater than a first power consumption threshold, determine that the vehicle is in a no-network state; if the power consumption of the communication module in the first time period is less than a second power consumption threshold, determine that the vehicle is in a sleep state, the first power consumption threshold is not less than the second power consumption threshold.

[0117] In one possible implementation, the power consumption indication information includes the transmission frequency of historical heartbeat packets sent by the communication module. When the status identification module 620 determines the power consumption of the communication module in the first time period based on the power consumption indication information, it is used for:

[0118] If the transmission frequency is greater than the first frequency threshold, it is determined that the power consumption of the communication module in the first time period is greater than the first power consumption threshold; if the transmission frequency is less than the second frequency threshold, it is determined that the power consumption of the communication module in the first time period is less than the second power consumption threshold, wherein the first frequency threshold is not less than the second frequency threshold.

[0119] In one possible implementation, the state recognition module 620 is also used for:

[0120] The system acquires the performance parameters of the communication module or the vehicle model information, and determines the second time period based on the performance parameters or the vehicle model information; if the status recognition module 620 does not detect the heartbeat packet of the communication module, it acquires the power consumption indication information of the communication module in the first time period, and if no heartbeat packet of the communication module is detected in the second time period, it acquires the power consumption indication information of the communication module in the first time period.

[0121] In one possible implementation, when monitoring module 610 monitors the heartbeat packets of the vehicle's communication module, it is used for:

[0122] Receive a connection establishment request from the target application, which is sent by the target application in response to the startup operation to request the establishment of a connection with the vehicle; in response to the connection establishment request, monitor the heartbeat packets of the vehicle's communication module.

[0123] In one possible implementation, after the state recognition module 620 determines that the vehicle is in a no-network state, it is also used for:

[0124] Send a no-network indication message to the target application, the no-network indication message being used to indicate that the vehicle is in a no-network state, so that the target application displays a no-network prompt message on the target application's interface, and / or set the target controls displayed on the target application's interface to an unavailable or hidden state, the no-network prompt message being used to indicate that the vehicle is in a no-network state, the target controls including controls for controlling the vehicle.

[0125] Please see Figure 7 , Figure 7 This is a schematic diagram of a vehicle network status identification device provided in another embodiment of this application. Figure 7 The illustrated device can be applied to a terminal, and the device may include a receiving module 710 and a response module 720, wherein:

[0126] The receiving module 710 is used to receive a startup operation, which is used to start the target application; the response module 720 is used to respond to the startup operation, start the target application and display the interface of the target application, wherein, if a no-network indication message is received from the server, a no-network prompt message is displayed on the interface of the target application, and / or, the target controls displayed on the interface of the target application are set to an unavailable state or a hidden state, the no-network prompt message is used to indicate that the vehicle is in a no-network state, the target controls include controls for controlling the vehicle, and the no-network indication message is sent by the server when it determines that the vehicle is in a no-network state based on the method of any one of claims 1-6.

[0127] In one possible implementation, the response module 720 is also used for:

[0128] In response to the startup operation, a connection establishment request is sent to the server. The connection establishment request is used to request the establishment of a connection with the vehicle, so that the server can determine whether the vehicle is in a no-network state in response to the connection establishment request.

[0129] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the devices and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. In the several embodiments provided in this application, the coupling between modules can be electrical. Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0130] This application also provides an electronic device 80, please refer to... Figure 8 The device includes a processor 810 and a memory 820. The memory 810 stores computer programs, and the processor 820 executes the programs stored in the memory 810 to implement the vehicle networking status identification method described in any embodiment of this application. The electronic device 80 may be, for example, a vehicle, an in-vehicle terminal, or a server.

[0131] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the vehicle networking status identification method described in any embodiment of this application.

[0132] In this application, "multiple" refers to two or more.

[0133] In this application, unless otherwise expressly defined, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0134] The terms “first,” “second,” “third,” “fourth,” etc., in this application (if any) are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. “Multiple” means no fewer than two.

[0135] In this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this application generally indicates that the preceding and following related objects have an "or" relationship. "Multiple" refers to no fewer than two.

[0136] Unless otherwise specified, all steps in this application may be performed sequentially or randomly. For example, if a method includes steps A and B, it means that the method may include steps A and B performed sequentially, or it may include steps B and A performed sequentially. For example, if a method may also include step C, it means that step C may be added to the method in any order. For example, the method may include steps A, B, and C, or it may include steps A, C, and B, or it may include steps C, A, and B, etc.

[0137] The above are merely preferred embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for identifying the network connectivity status of a vehicle, characterized in that, include: Monitor the heartbeat packets of the vehicle's communication module; If no heartbeat packet is detected from the communication module, the power consumption indication information of the communication module in the first time period is obtained. The first time period includes the last time period in which the communication module is in the network state. The power consumption of the communication module during the first time period is determined based on the power consumption indication information; If the power consumption of the communication module during the first time period is greater than the first power consumption threshold, the vehicle is determined to be in a no-network state. If the power consumption of the communication module during the first time period is less than the second power consumption threshold, the vehicle is determined to be in a network state, wherein the first power consumption threshold is not less than the second power consumption threshold.

2. The method according to claim 1, characterized in that, The power consumption indication information includes the transmission frequency of historical heartbeat packets sent by the communication module. Determining the power consumption of the communication module during the first time period based on the power consumption indication information includes: If the transmission frequency is greater than the first frequency threshold, then it is determined that the power consumption of the communication module in the first time period is greater than the first power consumption threshold. If the transmission frequency is less than the second frequency threshold, then it is determined that the power consumption of the communication module in the first time period is less than the second power consumption threshold, wherein the first frequency threshold is not less than the second frequency threshold.

3. The method according to claim 1, characterized in that, The method further includes: Obtain the performance parameters of the communication module or the vehicle model information, and determine the second time period based on the performance parameters or the vehicle model information; If no heartbeat packet is detected from the communication module, then the power consumption indication information of the communication module in the first time period is obtained, including: If no heartbeat packet from the communication module is detected during the second time period, then the power consumption indication information of the communication module during the first time period is obtained.

4. The method according to claim 1, characterized in that, The heartbeat packet of the communication module of the monitoring vehicle includes: Receive a connection establishment request from the target application, which is sent by the target application in response to the startup operation, for requesting to establish a connection with the vehicle; In response to the connection establishment request, the heartbeat packets of the vehicle's communication module are monitored.

5. The method according to claim 1, characterized in that, After determining that the vehicle is in a no-network state, the method further includes: Send a no-network indication message to the target application, the no-network indication message being used to indicate that the vehicle is in a no-network state, so that the target application displays a no-network prompt message on the interface of the target application, and / or set the target control displayed on the interface of the target application to an unavailable state or a hidden state, the no-network prompt message being used to indicate that the vehicle is in a no-network state, the target control including controls for controlling the vehicle.

6. A method for identifying the network connectivity status of a vehicle, characterized in that, include: Receive a startup operation, the startup operation being used to launch the target application; In response to the startup operation, the target application is launched and its interface is displayed. If a no-network indication is received from the server, a no-network prompt is displayed on the target application's interface, and / or the target controls displayed on the target application's interface are set to an unavailable or hidden state. The no-network prompt is used to indicate that the vehicle is in a no-network state. The target controls include controls for controlling the vehicle. The no-network indication is sent by the server when it determines that the vehicle is in a no-network state based on the method described in any one of claims 1-5.

7. The method according to claim 6, characterized in that, The method further includes: In response to the startup operation, a connection establishment request is sent to the server to request the establishment of a connection with the vehicle, so that the server, in response to the connection establishment request, determines whether the vehicle is in a no-network state.

8. A device for identifying the network connectivity status of a vehicle, characterized in that, Includes functional modules for implementing the method as described in any one of claims 1-7.

9. An electronic device, characterized in that, Includes processor and memory, of which: Memory, used to store computer programs; A processor for executing a program stored in memory to implement the method of any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1-7.

Citation Information

Patent Citations

  • Method, server, equipment and system for monitoring survival state of networking node

    CN110445682A

  • Data processing method based on central gateway CGW and CGW

    CN110519727A