Method and device for processing TBOX fault in vehicle

By utilizing the vehicle's physical buttons to restart and the network self-healing function when the TBOX malfunctions, the problems of TBOX freezing and network abnormalities have been resolved, improving system stability and user experience, and preventing vehicle damage.

CN118890641APending Publication Date: 2024-11-01CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411159818.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In existing technologies, TBOX is prone to freezing and network connection problems during operation, and existing solutions are complex and may damage the vehicle.

Method used

By triggering a restart using a target physical button on the vehicle when the TBOX malfunctions, and performing network self-healing operations such as restarting the SIM card, switching in and out of airplane mode, and restarting the TBOX when there is a network anomaly, the vehicle can be disassembled or a diagnostic tool can be used.

Benefits of technology

It enables rapid recovery in the event of a TBOX failure, avoids damage to the vehicle, improves system stability and user experience, and ensures normal network connectivity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890641A_ABST
    Figure CN118890641A_ABST
Patent Text Reader

Abstract

The invention relates to a method and device for processing a TBOX fault in a vehicle, and the method comprises the steps: determining the type of the TBOX fault under the condition that the TBOX fault is detected; under the condition that the TBOX fault type is that the TBOX crashes, triggering the TBOX to be restarted based on a target physical key on a vehicle; under the condition that the TBOX fault is abnormal networking of the TBOX, network self-healing operation is executed, and the network self-healing operation comprises at least one of the following operations: when an SIM card in the TBOX is not in an effective state, the SIM card is restarted, a cut-in and cut-out flight mode is executed, and the TBOX is restarted. According to the method and the device, the problem that the TBOX is stuck and cannot be connected to the network in the running process in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automobile technology, and in particular to a method and device for processing a TBOX failure in a vehicle. Background Art

[0002] With the development of science and technology, cars have gradually become intelligent. As an important part of cars, the role of wireless communication terminals (Telematics BOX, TBOX) has become increasingly prominent. TBOX is mainly used for communication between vehicles and the outside world to achieve functions such as remote control, remote diagnosis, and remote upgrade of vehicles. However, due to the complex internal environment of the car, TBOX may get stuck or fail to connect to the network during operation, affecting its normal operation.

[0003] There is currently no effective solution to the above problems in the prior art. Summary of the invention

[0004] The present application provides a method and device for handling TBOX failure in a vehicle, so as to solve the problem in the prior art that TBOX may get stuck and fail to connect to the network during operation.

[0005] In a first aspect, the present application provides a method for handling a TBOX fault in a vehicle, characterized in that it includes: when a TBOX fault is detected, determining the TBOX fault type; when the TBOX fault type is a TBOX freeze, triggering the TBOX to restart based on a target physical button on the vehicle; when the TBOX fault is an abnormal networking of the TBOX, performing a network self-healing operation, wherein the network self-healing operation includes at least one of the following operations: when a SIM card in the TBOX is not in a valid state, restarting the SIM card, executing switching in and out of flight mode, and restarting the TBOX.

[0006] In a second aspect, the present application provides a device for processing a TBOX fault in a vehicle, comprising: a determination module, for determining the type of TBOX fault when a TBOX fault is detected; a first processing module, for triggering a restart of the TBOX based on a target physical button on the vehicle when the TBOX fault type is a TBOX freeze; a second processing module, for performing a network self-healing operation when the TBOX fault is an abnormal networking of the TBOX, wherein the network self-healing operation includes at least one of the following operations: restarting the SIM card, switching in and out of flight mode, and restarting the TBOX when the SIM card in the TBOX is not in a valid state.

[0007] In a third aspect, the present application provides an electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to execute the method for handling TBOX faults in a vehicle as described in the first aspect of the present application.

[0008] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the method for handling TBOX failure in a vehicle as described in the first aspect of the present application.

[0009] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art: through the embodiment of the present application, in the case of a TBOX freeze, the TBOX restart is triggered based on the target physical button on the vehicle, and the TBOX can be restarted by the physical button without disassembling the vehicle or using a diagnostic instrument, which is convenient for user operation. In the case that the TBOX failure is an abnormal TBOX network connection, a network self-healing operation is performed, and when the SIM card in the TBOX is not in a valid state, the SIM card is restarted, the flight mode is switched in and out, and the network self-healing operation of the TBOX is restarted. When the TBOX network connection is abnormal, the SIM card is restarted, the flight mode is switched in and out, and the TBOX network connection is normal, and the vehicle network is avoided. Abnormality. Therefore, through this application, the problem of TBOX being stuck and unable to connect to the network during operation in the prior art is solved. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0011] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0012] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0013] Figure 1 A flow chart of a method for handling a TBOX failure in a vehicle provided in an embodiment of the present application;

[0014] Figure 2 A schematic diagram of the structure between SOS and TBOX provided in an embodiment of the present application;

[0015] Figure 3 An optional flow chart of a method for handling a TBOX failure in a vehicle provided in an embodiment of the present application;

[0016] Figure 4 A schematic diagram of the process of TBOX network self-healing provided in an embodiment of the present application;

[0017] Figure 5 A schematic diagram of the structure of a device for processing TBOX failure in a vehicle provided in an embodiment of the present application;

[0018] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0020] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0021] At present, common faults of TBOX include the following:

[0022] 1) A TBOX software failure causes the vehicle information on the APP to be inconsistent with the actual vehicle information. The reason is that TBOX occasionally loses connection to the Internet.

[0023] 2) After the car was parked in the underground garage for a while, it was found that the car computer had no network after it was driven out. The reason was that there was a loophole in the TBOX's dial-up networking recovery strategy, and the process module for processing dial-up and networking was stuck, resulting in the inability to process related messages.

[0024] 3) The mobile phone APP cannot remotely control the vehicle because TBOX is occasionally disconnected from the Internet.

[0025] To address the above issues, the current method is to dismantle the vehicle, take out the TBOX, and then restart it through the debug port. In addition, the TBOX can also be restarted with the help of tools such as diagnostic instruments. However, for ordinary users, the existing operation is difficult. In addition, the existing methods may cause certain damage to the vehicle. For example, dismantling the vehicle may damage the structure of the vehicle, and using a diagnostic instrument may also interfere with the electrical system of the vehicle. Moreover, these methods may not be able to solve the problem of TBOX stuck in time, resulting in the loss of important data.

[0026] In order to solve the problem that TBOX may get stuck and fail to connect to the network during operation in the prior art, the present application provides a method for handling TBOX failure in a vehicle, such as Figure 1 As shown, the steps of the method include:

[0027] Step 101, when a TBOX fault is detected, determining the TBOX fault type;

[0028] Step 102: when the TBOX fault type is TBOX freeze, triggering TBOX restart based on a target physical button on the vehicle;

[0029] In a specific example, the target physical button may refer to an SOS button on a vehicle. Further, the SOS button may refer to a button for a reading light on the top of the vehicle, such as Figure 2 As shown, the SOS button is directly connected to the TBOX by a hardwire, and the TBOX restart is controlled by long pressing the SOS button. This method does not require the user to perform complex operations, and the TBOX restart can be achieved by long pressing the SOS button, which greatly reduces the difficulty of operation. It can be seen that in order to avoid damage to the vehicle, the restart through the above-mentioned physical button in the embodiment of the present application does not require the vehicle to be disassembled or tools such as diagnostic instruments to be used. This method can not only avoid damage to the structure and electrical system of the vehicle, but also restart immediately when the TBOX is stuck, avoiding the failure of important data to be reported to the cloud in time.

[0030] Step 103, when the TBOX fault is TBOX networking abnormality, perform a network self-healing operation, wherein the network self-healing operation includes at least one of the following operations: when the SIM card in the TBOX is not in a valid state, restart the SIM card, execute switching in and out of the flight mode, and restart the TBOX.

[0031] It should be noted that the restart of TBOX in the network self-healing operation here can be achieved through the target button or through software control. In a specific example, when performing a network self-healing operation, if the TBOX needs to be restarted, the restart can be performed by software control first. If the software control method cannot restart the TBOX, the user can be prompted to restart the TBOX through the target physical button.

[0032] In a specific example, there may be many factors for the abnormal networking of the TBOX, such as the SIM (Subscriber Identification Module) card in the TBOX is not in a valid state, or the mobile communication network at the current location of the TBOX is abnormal. Therefore, in an embodiment of the present application, if a TBOX networking abnormality occurs, the corresponding network self-healing operation can be performed, such as restarting the SIM card, switching in and out of the flight mode, and restarting the TBOX when the SIM card in the TBOX is not in a valid state. Executing switching in and out of the flight mode in the embodiment of the present application refers to switching the SIM in or out of the flight mode to ensure that if the SIM card is still not in a valid state after the restart, the SIM can be in a valid state by switching in and out of the flight mode.

[0033] Through the above steps 101 to 103, in the case of a TBOX freeze, the TBOX restart is triggered based on the target physical button on the vehicle. By restarting the TBOX through the physical button, there is no need to disassemble the vehicle or use a diagnostic instrument to restart the TBOX, which is convenient for user operation. In the case where the TBOX failure is an abnormal TBOX network connection, a network self-healing operation is performed. When the SIM card in the TBOX is not in a valid state, the SIM card is restarted, the flight mode is switched in and out, and the network self-healing operation of the TBOX is restarted. When an abnormal network connection occurs, the TBOX can restart the SIM card, switch in and out of the flight mode, and restart the TBOX to ensure the normal TBOX network connection and avoid abnormal vehicle network. Therefore, through this application, the problem of TBOX getting stuck and unable to connect to the network during operation in the prior art is solved.

[0034] In a specific example, the physical button is an overhead reading light button on the vehicle, that is, the reading light button is an SOS button. Based on this, the method of restarting the TBOX by using the physical button in the embodiment of the present application may include the following steps:

[0035] Step 201, find the SOS button on the overhead reading light,

[0036] In a specific example, the key is typically a red button located in the center of the light.

[0037] Step 202: When the TBOX is stuck, long press the SOS button.

[0038] The SOS button can be pressed for 30s≤press time≤40s. The MCU inside the TBOX will sample the voltage value of the button through the ADC (analog-to-digital converter). When no button is pressed, the ADC detects the IO port voltage as 3.3V; when the button is pressed, the ADC detects the IO port voltage as 1.32V (different MCU models have different voltage values). When the ADC sample of the MCU inside the TBOX is 1.32V, it is determined that a restart signal has been received and the restart process begins.

[0039] Step 203: After the TBOX restarts, the system will automatically return to the normal state.

[0040] After TBOX restarts, the loss of important vehicle data can be avoided. This method can easily and quickly solve the problem of TBOX freezing, improve the system's operating efficiency, and also improve the user experience.

[0041] Furthermore, since the main function of the SOS button is to make an E-CALL (vehicle emergency call system), in addition to defining the E-CALL function, the emergency power-off function and the diagnostic function are also defined in the embodiment of the present application. Different functions can reuse the same physical button to avoid multiple buttons that affect the appearance. Therefore, the specific solution for implementing the above different functions with the same button can be:

[0042] 1) Press and hold the SOS button (10s<press time≤15s) to power off urgently.

[0043] 2) Long press the SOS button (500ms≤press time≤3s) to trigger a manual E-CALL.

[0044] 3) Long press the SOS button (30s≤button time≤40s) to trigger TBOX restart.

[0045] 4) Long press the SOS button (45s ≤ button time) to trigger the button sticking diagnostic trouble code (DTC).

[0046] It can be seen that the problem of TBOX stuck can be effectively solved by using the target physical button, improving the stability and reliability of the vehicle and enhancing the user experience. Moreover, through the embodiment of the present application, there is no need to disassemble the vehicle, thus avoiding damage to the vehicle and reducing the time and cost of maintenance. In addition, the solution of the embodiment of the present application can also be applied to other devices that require remote control, remote diagnosis, and remote upgrade, and has broad market demand and good application prospects.

[0047] The following will introduce the way of performing network self-healing after the TBOX networking abnormality. Based on this, the way of performing network self-healing operation involved in the above step 103 when the TBOX fault is the TBOX networking abnormality includes:

[0048] Step 11: when the TBOX networking abnormality is the first awakening of the TBOX and the TBOX initialization fails, and when the number of TBOX initialization failures is greater than a first preset threshold, restart the TBOX.

[0049] If the current TBOX is awakened for the first time, it is necessary to initialize the TBOX. If the initialization is successful, it is detected whether the TBOX has a network abnormality. If the initialization fails, the number of initialization failures is increased by 1. Then it is initialized again. If the initialization is successful, it is still detected whether the TBOX has a network abnormality. If the initialization fails, it is determined whether the current number of initialization times is greater than a first preset threshold. For example, if the first preset threshold is 60, if the number of initialization failures is greater than 60, the TBOX is restarted, indicating that the current TBOX cannot be initialized and cannot work normally. Therefore, the TBOX is restarted so that it can be used normally in the future.

[0050] Furthermore, after the TBOX is successfully initialized, there may still be a networking anomaly. Therefore, the method of performing a network self-healing operation in the above step 103 when the TBOX fault is a TBOX networking anomaly may further include:

[0051] Step 21, when the TBOX networking abnormality is that the TBOX is initialized successfully and the TBOX is abnormally stationed on the network, if the number of inquiries of the SIM card status is less than a second preset threshold, continue to inquire about the SIM card status;

[0052] Step 22, when the SIM card is not in a valid state, restart the SIM card and determine again whether the TBOX is abnormally stationed on the network;

[0053] Step 23, when the number of inquiries about the SIM card status is greater than or equal to the second preset threshold, or the SIM card is in a valid state, determining whether the number of executions of switching in and out of the flight mode is less than a third preset threshold;

[0054] Step 24, when the number of times of switching in and out of the flight mode is less than the third preset threshold, determining again whether the TBOX is abnormally stationed in the network;

[0055] Step 25: When the number of times of switching in and out of the flight mode is greater than or equal to a third preset threshold, restart the TBOX.

[0056] It should be noted that the network abnormality in the embodiment of the present application refers to the detection of a network rejection code or the absence of a network. Therefore, when the network abnormality is detected, it is necessary to detect the status of the SIM card in the TBOX. If the current SIM card is in a valid state, the TBOX is restarted after switching in and out of the flight mode. If the current SIM card is not in a valid state, the SIM card needs to be restarted. In the specific example of the embodiment of the present application, the SIM card status will only continue to be queried if the number of queries on the SIM card status is less than (the second preset threshold) 1, and the TBOX will only be restarted if the number of switching in and out of the flight mode is greater than 1 (the third preset threshold). The values ​​of the second preset threshold and the third preset threshold are merely examples. It can be seen that in the embodiment of the present application, in the event of a network abnormality, the corresponding network self-healing operation can be used to solve the network abnormality of the TBOX, thereby avoiding abnormal conditions in the vehicle network.

[0057] In the embodiment of the present application, when the TBOX is successfully initialized and switched to the normal network, the TBOX networking abnormality may still occur. Therefore, the method of performing the network self-healing operation involved in the above step 103 when the TBOX fault is the TBOX networking abnormality may further include:

[0058] Step 31, when the TBOX networking abnormality is that the TBOX is successfully initialized and the TBOX is normally networked, detect whether there is a mobile communication network at the location of the TBOX;

[0059] It should be noted that the mobile communication network in the embodiments of the present application may be a 4G, 5G or 6G communication network.

[0060] Step 32, if there is no mobile communication network at the location of the TBOX, continue to detect whether there is a mobile communication network at the location of the TBOX, and if a mobile communication network is detected, execute switching in and out of the flight mode;

[0061] Step 33, if there is a mobile communication network at the location of the TBOX, detect whether there is an undialed access point APN;

[0062] Step 34, when it is determined that the number of successful APN dialing within the first preset time period is less than or equal to the fourth preset threshold, perform access point APN dialing processing;

[0063] Step 35, if the APN dialing is successful and the APN connectivity is normal, then check whether the network is operating normally;

[0064] Step 36: If the APN dialing fails, restart the TBOX when the number of switching in and out of the airplane mode exceeds a fifth preset threshold.

[0065] It can be known from the above steps 31 to 36 that if the TBOX is currently in the network normally, but there is no mobile communication network, it is necessary to continue searching for the mobile communication network. Once the mobile communication network is searched, the TBOX is switched in and out of the flight mode so that the TBOX can use the mobile communication network normally in the future. If there is a mobile communication network at present, but there is an APN that has not been dialed, in this regard, if the cumulative number of successful dialing is higher than 50 (the fourth preset threshold) within 1 hour (the first preset duration), it indicates that the dialing is abnormal at this time and the operator needs to be contacted for processing. If the cumulative number of successful dialing is lower than 50, the dialing process continues. If the dialing is successful, the connectivity of the APN and whether the network is normal are detected. If the dialing fails, the network self-healing operation is performed, that is, the TBOX is restarted after switching in and out of the flight mode to ensure that the TBOX can connect to the network normally.

[0066] In the embodiment of the present application, the APN dialing in the embodiment of the present application includes public network APN dialing and private network APN dialing; wherein the public network APN is used for vehicle entertainment traffic services, and the private network APN is used for basic services (such as interacting with TSP / OTA / VHR background). Therefore, for the above-mentioned step 36, if the APN dialing fails, when the number of times the flight mode is switched in and out exceeds the fifth preset threshold, the method of restarting the TBOX may further include:

[0067] Step 41, if both the public network APN dialing and the private network APN dialing fail, the number of times the APN dialing process is executed is recorded;

[0068] Step 42: when the number of times the public network APN dialing process is executed or the number of times the private network APN dialing process is executed exceeds the sixth preset threshold, if the number of times the airplane mode is switched in and out exceeds the fifth preset threshold, restart the TBOX.

[0069] In a specific example, the sixth preset threshold can be 6 or other values, and the fifth preset threshold can be 3 or other values. That is, in the event of a dialing failure, if the number of times the public network APN dialing process is executed, or the number of times the private network APN dialing process is executed exceeds 6, and the number of times the flight mode is switched in and out exceeds 3, the TBOX is restarted.

[0070] It should be noted that, when the number of times the public network APN dialing process is executed and the number of times the private network APN dialing process is executed do not exceed the sixth preset threshold, or when the number of times the flight mode is switched in and out does not exceed the fifth preset threshold, it is detected again whether there is an undialed access point APN. It can be seen that in the embodiment of the present application, the flight mode is not switched in and out after the APN dialing fails, and the TBOX is not immediately restarted after the flight mode is switched in and out. Instead, there is a buffer period. The TBOX will be restarted only when the number of APN dialing failures reaches a certain number and the number of switching in and out of the flight mode reaches a certain number. Before this, the dialing process will still be performed to try whether the dialing can be successful. If the dialing can be successful, there is no need to restart the TBOX.

[0071] Further, if the APN dialing is successful and the APN connectivity is normal, the method of detecting whether the network is running normally involved in the above step 35 may further include:

[0072] Step 51, if both the public network APN dialing and the private network APN dialing are successful, the time of successful APN dialing, the number of APN dialing failures, and the number of successful switching in and out of the flight mode by all APN dialing are cleared;

[0073] Step 52, detecting whether at least one of the preset N IP addresses is ping-able;

[0074] Step 53: If at least one of the preset N IP addresses can be pinged successfully, it is determined that the TBOX network is normal;

[0075] Step 54: If none of the preset N IP addresses can be pinged, then check again whether there is an access point APN that is not dialed.

[0076] In a specific example, the value of N can be 3 or other values, so the detection of whether at least one of the preset N IP addresses is ping-able can be: BOX initiates a ping command, ping www.AAAAA.com. TBOX initiates a ping command, ping www.BBBBBB.com. TBOX initiates a ping command, ping www.CCCCCC.com. If none of the above three ping tests pass, TBOX disconnects from the public network APN and reconnects; if one of the tests passes, it means that the TBOX network is normal.

[0077] In an optional implementation manner of the embodiment of the present application, if Figure 3 As shown, the embodiment of the present application may also include:

[0078] Step 301 : When the normal working time of the TBOX accumulates to a second preset time, restart the TBOX.

[0079] It can be seen that in the embodiment of the present application, when the TBOX works normally for a second preset time (such as 10 hours or other time), the TBOX is restarted. In the specific example, the TBOX can be restarted first and then go to the shallow sleep process. That is, in the embodiment of the present application, in order to avoid the process module for processing dial-up and networking being stuck, or the process hanging up, causing the TBOX to be unable to connect to the Internet, a TBOX self-repair mechanism is added.

[0080] The network self-healing process in the embodiment of the present application is explained below in conjunction with specific implementation methods. Figure 4 , the network self-healing process includes the following situations:

[0081] Case 1: When the TBOX is not on the network, no dial-up processing is performed. Every 300 seconds when it is not on the network, a network self-healing measure is executed.

[0082] Measure 1): The SIM card is not in a valid state. Restart the SIM card.

[0083] Measure 2) Switch in and out of flight mode;

[0084] Measure 3) Restart TBOX (software controlled restart).

[0085] If the execution conditions of the above self-healing measures are not met, the next measure will be executed in sequence; if it is still abnormal after execution, the above self-healing measures will be executed in sequence after the next TBOX wakes up. Restart refers to restart before shallow sleep (that is, active restart before passive restart of TBOX shallow sleep). In order to avoid cyclic restart and affect the static current of the whole vehicle, it is only executed once in a wake-up cycle.

[0086] Case 2: When there is on-site presence, monitor the on-site rejection code, of which all 25 on-site rejection codes must be monitored. For every 300-second PS (Packet Switched Domain) / CS (Circuit Switched Domain) abnormality, execute one or more self-healing measures.

[0087] Case 3: When TBOX is in non-4G / 5G mode, it will trigger a network search every 180 seconds. If 4G / 5G is found, it will switch in and out of flight mode. If no 4G / 5G is found, it will not switch in and out of flight mode.

[0088] Case 4: The number of successful dialings within 1 hour does not exceed 50. After a successful dialing, the number of times is increased by 1 within 1 hour. After 1 hour, the number of times is reset and the number of times is counted again. This is the number of successful dialings, and unsuccessful dialings are not counted. The number of successful dialings within 1 hour does not support power-off storage (to ensure that the number of dialings starts from zero after the next power-on).

[0089] It should be noted that the TBOX in the embodiment of the present application supports two APNs (public APN / private APN). The public APN is used for vehicle entertainment traffic services, and the private APN is used for basic services (such as interaction with TSP / OTA / VHR background). When a single APN dial fails 6 times in a row, switch in and out of flight once. After switching to flight 3 times, if the dialing still fails continuously, restart the TBOX. The interval between continuous dialing is 10 seconds.

[0090] After two APNs are dialed successfully, the connectivity of the public APN is monitored at a regular interval of 15 seconds. The following is the test method:

[0091] Method 1: TBOX initiates a ping command to ping www.AAAAAA.com.

[0092] Method 2: TBOX initiates a ping command to ping www.BBBBBB.com.

[0093] Method 3: TBOX initiates a ping command to ping www.CCCCCC.com.

[0094] If the above methods all fail the test, TBOX needs to disconnect the public APN and reconnect. If one of them passes, it indicates that the network is normal.

[0095] In the embodiment of the present application, in order to avoid the process module for dialing and networking being stuck, or the process hanging up, which causes the TBOX to be unable to connect to the Internet, a TBOX self-repair mechanism is added. When the system on chip SOC (a CPU inside the TBOX) is in working mode, the timing starts. When the cumulative time reaches 10 hours, the restart flag is set. When the shallow sleep switching conditions are met, the restart is performed first and then the shallow sleep entry process is performed. The whole vehicle starts timing. When the time reaches 10 hours, the MCU synchronously notifies the NAD (a CPU inside the TBOX) to perform a restart first and then the shallow sleep entry process is performed if the preconditions are met.

[0096] Corresponding to the above Figure 1 The embodiment of the present application also provides a device for processing TBOX failure in a vehicle, such as Figure 5 As shown, the device comprises:

[0097] A determination module 502 is used to determine the type of TBOX failure when a TBOX failure is detected;

[0098] The first processing module 504 is used to trigger the TBOX restart based on the target physical button on the vehicle when the TBOX fault type is TBOX dead;

[0099] The second processing module 506 is used to perform a network self-healing operation when the TBOX fault is a TBOX networking abnormality, wherein the network self-healing operation includes at least one of the following operations: restarting the SIM card when the SIM card in the TBOX is not in a valid state, executing switching in and out of the flight mode, and restarting the TBOX.

[0100] Through the device of the embodiment of the present application, in the case of a TBOX freeze, the TBOX restart is triggered based on the target physical button on the vehicle. By restarting the TBOX through the physical button, there is no need to disassemble the vehicle or use a diagnostic instrument to restart the TBOX, which is convenient for user operation. In the case where the TBOX failure is an abnormal TBOX network connection, a network self-healing operation is performed. When the SIM card in the TBOX is not in a valid state, the SIM card is restarted, the flight mode is switched in and out, and the network self-healing operation of the TBOX is restarted. When an abnormal network connection occurs, the TBOX can be restarted by restarting the SIM card, switching in and out of the flight mode, and restarting the TBOX to ensure the normal TBOX network connection and avoid abnormal vehicle network. Therefore, through this application, the problem of TBOX getting stuck and unable to connect to the network during operation in the prior art is solved.

[0101] In an optional implementation manner of the embodiment of the present application, the second processing module in the embodiment of the present application may further include: a first processing unit, used to restart the TBOX when the TBOX initialization fails after the TBOX networking abnormality is the first wake-up of the TBOX, and the number of TBOX initialization failures is greater than a first preset threshold.

[0102] In an optional implementation manner of the embodiment of the present application, the second processing module in the embodiment of the present application may further include: a second processing unit, which is used to continue to query the SIM card status when the number of inquiries about the SIM card status is less than the second preset threshold value after the TBOX networking abnormality is successfully initialized and the TBOX is abnormally on the network; a third processing unit, which is used to restart the SIM card when the SIM card is not in a valid state and re-determine whether the TBOX is abnormally on the network; a fourth processing unit, which is used to determine whether the number of executions of switching in and out of the flight mode is less than the third preset threshold value when the number of executions of switching in and out of the flight mode is greater than or equal to the second preset threshold value or the SIM card is in a valid state; a fifth processing unit, which is used to determine again whether the TBOX is abnormally on the network when the number of executions of switching in and out of the flight mode is less than the third preset threshold value; and a sixth processing unit, which is used to restart the TBOX when the number of executions of switching in and out of the flight mode is greater than or equal to the third preset threshold value.

[0103] In an optional implementation manner of the embodiment of the present application, the second processing module in the embodiment of the present application may further include: an eighth processing unit, which is used to detect whether there is a mobile communication network at the location of the TBOX after the TBOX networking abnormality is successfully initialized and the TBOX is normally stationed in the network; a ninth processing unit, which is used to continue to detect whether there is a mobile communication network at the location of the TBOX if there is no mobile communication network at the location of the TBOX, and execute switching in and out of the flight mode if the mobile communication network is detected; a tenth processing unit, which is used to detect whether there is an undialed access point APN if there is a mobile communication network at the location of the TBOX; an eleventh processing unit, which is used to execute access point APN dialing processing if it is determined that the number of successful APN dialing within the first preset time is less than or equal to the fourth preset threshold; a twelfth processing unit, which is used to detect whether the network is operating normally if the APN dialing is successful and the connectivity of the APN is normal; a thirteenth processing unit, which is used to restart the TBOX if the APN dialing fails and the number of times the switching in and out of the flight mode is executed exceeds the fifth preset threshold.

[0104] In an optional implementation manner of the embodiment of the present application, the APN dialing in the embodiment of the present application includes public network APN dialing and private network APN dialing. Based on this, the thirteenth processing unit in the embodiment of the present application may further include: a first processing subunit, used to record the number of times the APN dialing process is executed if both the public network APN dialing and the private network APN dialing fail; a second processing subunit, used to restart the TBOX if the number of times the public network APN dialing process is executed, or the number of times the private network APN dialing process is executed exceeds the sixth preset threshold, and if the number of times the flight mode is switched in and out exceeds the fifth preset threshold.

[0105] In an optional implementation manner of an embodiment of the present application, the fourteenth processing unit in the embodiment of the present application is used to detect again whether there is any access point APN that has not been dialed when the number of times the public network APN dialing process is executed and the number of times the private network APN dialing process is executed do not exceed the sixth preset threshold, or when the number of times the flight mode is switched in and out does not exceed the fifth preset threshold.

[0106] In an optional implementation manner of an embodiment of the present application, the twentieth processing unit in the embodiment of the present application includes: a third processing sub-unit, which is used to clear the time of successful APN dialing, the number of APN dialing failures, and the number of successful switching in and out of flight mode for all APN dialing if both the public network APN dialing and the private network APN dialing are successful; a fourth processing sub-unit, which is used to detect whether there is at least one ping-through among the preset N IP addresses; a fifth processing sub-unit, which is used to determine that the TBOX network is normal if at least one of the preset N IP addresses is ping-through; and a sixth processing sub-unit, which is used to detect again whether there is any access point APN that has not been dialed if none of the preset N IP addresses are ping-through.

[0107] In an optional implementation manner of the embodiment of the present application, the device in the embodiment of the present application further includes: a third processing module, configured to restart the TBOX when the normal working time of the TBOX accumulates to a second preset time.

[0108] like Figure 6 As shown, the embodiment of the present application provides an air conditioner control device, including a processor 611, a communication interface 612, a memory 613 and a communication bus 614, wherein the processor 611, the communication interface 612, and the memory 613 communicate with each other through the communication bus 614.

[0109] Memory 613, used for storing computer programs;

[0110] In one embodiment of the present application, the processor 611 is used to execute the program stored in the memory 613 to implement the method for handling TBOX failure in the vehicle provided by any of the aforementioned method embodiments, and its role is similar and will not be repeated here.

[0111] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for handling a TBOX fault in a vehicle provided in any one of the aforementioned method embodiments are implemented.

[0112] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0113] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0114] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0115] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for handling TBOX failure in a vehicle, characterized in that: include: In the case where a TBOX fault is detected, determining the TBOX fault type; When the TBOX fault type is the TBOX dead, triggering the TBOX to restart based on a target physical button on the vehicle; When the TBOX fault is abnormal networking of the TBOX, a network self-healing operation is performed, wherein the network self-healing operation includes at least one of the following operations: when the SIM card in the TBOX is not in a valid state, restarting the SIM card, switching in and out of the airplane mode, and restarting the TBOX.

2. The method according to claim 1, characterized in that When the TBOX fault is the TBOX networking abnormality, performing the network self-healing operation includes: In the case where the TBOX networking abnormality is the first awakening of the TBOX and the TBOX initialization fails, when the number of TBOX initialization failures is greater than a first preset threshold, the TBOX is restarted.

3. The method according to claim 1, characterized in that When the TBOX fault is the TBOX networking abnormality, performing the network self-healing operation includes: When the TBOX networking abnormality is that the TBOX is successfully initialized and the TBOX is abnormally stationed on the network, if the number of inquiries of the SIM card status is less than a second preset threshold, continue to inquire about the SIM card status; When the SIM card is not in a valid state, restarting the SIM card again determines whether the TBOX is abnormally stationed on the network; When the number of inquiries about the SIM card status is greater than or equal to the second preset threshold, or the SIM card is in a valid state, determining whether the number of executions of switching in and out of the flight mode is less than a third preset threshold; When the number of times of switching in and out of the flight mode is less than the third preset threshold, determining again whether the TBOX is abnormally stationed in the network; When the number of times of switching in and out of the flight mode is greater than or equal to the third preset threshold, the TBOX is restarted.

4. The method according to claim 1, characterized in that: When the TBOX fault is the TBOX networking abnormality, performing the network self-healing operation includes: When the TBOX networking abnormality is that the TBOX is successfully initialized and the TBOX is normally networked, detecting whether there is a mobile communication network at the location of the TBOX; If there is no mobile communication network at the location of the TBOX, continue to detect whether there is a mobile communication network at the location of the TBOX, and if the mobile communication network is detected, switch in and out of the flight mode; In the case where there is a mobile communication network at the location of the TBOX, detecting whether there is an undialed access point APN; When it is determined that the number of successful APN dialing within the first preset time period is less than or equal to a fourth preset threshold, performing access point APN dialing processing; If the APN dial-up is successful and the APN connectivity is normal, check whether the network is running normally; If the APN dialing fails, the TBOX is restarted when the number of times of switching in and out of the airplane mode exceeds a fifth preset threshold.

5. The method according to claim 4, characterized in that The APN dialing includes public network APN dialing and private network APN dialing. If the APN dialing fails, when the number of times of switching in and out of the flight mode exceeds a fifth preset threshold, restarting the TBOX includes: If both the public network APN dialing and the private network APN dialing fail, record the number of times the APN dialing process is executed; When the number of times the public network APN dialing process is executed or the number of times the private network APN dialing process is executed exceeds the sixth preset threshold, if the number of times the switching in and out of the flight mode is executed exceeds the fifth preset threshold, the TBOX is restarted.

6. The method according to claim 5, characterized in that When the number of times the public network APN dial-up processing is executed and the number of times the private network APN dial-up processing is executed do not exceed the sixth preset threshold, or when the number of times the flight mode is switched in and out does not exceed the fifth preset threshold, it is detected again whether there is any access point APN that has not been dialed.

7. The method according to claim 5, characterized in that If the APN dial-up is successful and the APN connectivity is normal, check whether the network is running normally, including: If both the public network APN dial-up and the private network APN dial-up are successful, the time of successful APN dial-up, the number of failed APN dial-up, and the number of successful switching in and out of flight mode by all APN dial-ups are cleared; Check whether at least one of the preset N IP addresses can be pinged successfully; If at least one of the preset N IP addresses can be pinged successfully, the TBOX network is normal; If none of the preset N IP addresses can be pinged, check again whether there is an access point APN that is not dialed.

8. The method according to claim 1, characterized in that The method further comprises: When the normal working time of the TBOX accumulates to a second preset time, the TBOX is restarted.

9. A device for handling TBOX failure in a vehicle, characterized in that: include: A determination module, configured to determine the type of TBOX failure when a TBOX failure is detected; A first processing module is configured to trigger a restart of the TBOX based on a target physical button on a vehicle when the TBOX fault type is a TBOX freeze; The second processing module is used to perform a network self-healing operation when the TBOX fault is an abnormal networking of the TBOX, wherein the network self-healing operation includes at least one of the following operations: when the SIM card in the TBOX is not in a valid state, restarting the SIM card, switching in and out of the flight mode, and restarting the TBOX.

10. An electronic device, comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to execute the method for handling TBOX failure in a vehicle according to any one of claims 1 to 8.

11. A computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the method for handling TBOX failure in a vehicle according to any one of claims 1 to 8.

Citation Information

Cited By

  • EVTOL flight control system and eVTOL flight control method based on loosely coupled lock-step architecture

    CN119513016A