CN115412878A - Network management method and device for vehicle T-BOX device - Google Patents

Network management method and device for vehicle T-BOX device Download PDF

Info

Publication number
CN115412878A
CN115412878A CN202210861830.8A CN202210861830A CN115412878A CN 115412878 A CN115412878 A CN 115412878A CN 202210861830 A CN202210861830 A CN 202210861830A CN 115412878 A CN115412878 A CN 115412878A
Authority
CN
China
Prior art keywords
network
box
box device
vehicle
restart
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210861830.8A
Other languages
Chinese (zh)
Inventor
贺琳曼
李敏
余俊勋
邱楚雄
晏晓雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongfeng Motor Corp
Original Assignee
Dongfeng Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongfeng Motor Corp filed Critical Dongfeng Motor Corp
Priority to CN202210861830.8A priority Critical patent/CN115412878A/en
Publication of CN115412878A publication Critical patent/CN115412878A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application relates to the technical field of vehicle networks, and discloses a network management method and device for a vehicle T-BOX device. The method comprises the following steps: the method is performed in a T-BOX device, and the method comprises the following steps: receiving a network restart request sent by a vehicle machine through a network restart interface; responding to the network restart request, and judging whether the T-BOX device is in a remote upgrading state or a remote control state; and if the T-BOX device is not in a remote upgrading state and is not in a remote control state, sending notification information for executing network restarting action to a vehicle machine, and triggering and executing the network restarting action after first preset time. The method and the device effectively solve the problem that the user does not restart the T-BOX channel by adding the network restart interface.

Description

Network management method and device for vehicle T-BOX device
Technical Field
The present application relates to the field of vehicle network technologies, and in particular, to a network management method and device for a vehicle T-BOX device.
Background
In the prior art, a comparison document with the publication number of CN113660633A discloses a vehicle network connection dialing method and a vehicle network connection dialing device, wherein a network searching and network parking operation is carried out when a networking module in a T-BOX is started and initialized, dialing is carried out when the T-BOX is restarted, the T-BOX is restarted to trigger dialing only once when a vehicle power supply gear is OFF, networking is kept after the dialing is successful, the network is not actively disconnected when the T-BOX restart condition is not met, and redialing is not carried out when the dialing is failed.
If the vehicle is restarted once automatically during OFF, the vehicle is not moved at the original place generally, so the network condition can not be improved, if the vehicle is restarted once, the network surfing is not recovered, for example, the original place encounters a network problem, the reason for the incapability of surfing the network is that a certain rejection code returned by the network side is received, and the rejection code can not be recovered according to the requirement of the 3GPP protocol for restarting the equipment, and the place is not changed at the moment, even if the vehicle is restarted, the vehicle can still be rejected by the network side, and the network can not be surfed. Subsequently, even if the vehicle travels to a place with a good network, if the situation similar to the above needs to be restarted to recover the internet, the internet cannot be recovered because of no restarting means.
Disclosure of Invention
The application aims to provide a network management method and device of a vehicle T-BOX device, and the problem that a user does not restart a T-BOX channel is effectively solved by adding a network restart interface.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of an embodiment of the present application, there is provided a network management method of a vehicle T-BOX apparatus, the method being performed in the T-BOX apparatus, the method including: receiving a network restart request sent by a vehicle machine through a network restart interface; responding to the network restart request, and judging whether the T-BOX device is in a remote upgrading state or a remote control state; and if the T-BOX device is not in a remote upgrading state and is not in a remote control state, sending notification information for executing the network restarting action to the vehicle machine, and triggering to execute the network restarting action after first preset time.
In some embodiments, before receiving, through the network restart interface, a network restart request sent by the car machine, the method further includes: after the Socket connection with the car machine is established for the first time, receiving a handshake request sent by the car machine, and sending a handshake response to the car machine; after handshaking with the car machine, receiving a heartbeat request sent by the car machine, and sending a heartbeat response to the car machine so as to keep Socket connection between the car machine and the car machine.
In some embodiments, after maintaining the Socket connection with the car machine, the method further comprises: periodically acquiring network data information from a network; and reporting the network data information to the vehicle machine.
In some embodiments, the method further comprises: and if the T-BOX device is in a remote upgrading state or a remote control state, sending notification information of network restart failure to the vehicle machine.
According to an aspect of an embodiment of the present application, there is provided a network management method for a vehicle T-BOX device, the method being performed in a vehicle, the method including: after the Socket connection between the vehicle machine and the vehicle machine is kept, a network restart request is sent to the T-BOX device through a network restart interface so as to trigger the T-BOX device to execute a network restart action; if the notification information for executing the network restarting action sent by the T-BOX device is not received within the second preset time, the step of sending the network restarting request to the T-BOX device through the network restarting interface is repeatedly executed until the notification information for executing the network restarting action sent by the T-BOX device is received within the second preset time within the first preset repetition times.
In some embodiments, before maintaining a Socket connection with the car machine, the method further comprises: after a Socket connection is established with a vehicle machine for the first time, a handshake request sent to a T-BOX device is received, and a handshake response sent by the T-BOX device is received; after handshake with the T-BOX device, periodically sending heartbeat requests to the T-BOX device, and receiving heartbeat responses sent by the T-BOX device so as to maintain Socket connection with the car machine.
In some embodiments, after sending the heartbeat request to the T-BOX device, the method further comprises: if the heartbeat response sent by the T-BOX device is not received within third preset time, the step of sending the heartbeat request to the T-BOX device is repeatedly executed until the heartbeat response sent by the T-BOX device is received within the third preset time within second preset repetition times.
In some embodiments, the sending the network restart request to the T-BOX device through the network restart interface includes: when the operation of network restarting action executed by a T-BOX device triggered by a user is monitored, sending a confirmation prompt to the user; and when the confirmation operation triggered by the user and aiming at the confirmation prompt is monitored within the fourth preset time, sending a network restart request to the T-BOX device through a network restart interface.
According to an aspect of an embodiment of the present application, there is provided a network management apparatus of a vehicle T-BOX apparatus, the network management apparatus being provided to the T-BOX apparatus, the network management apparatus including: the first receiving unit is used for receiving a network restart request sent by the vehicle machine through a network restart interface; a judging unit, configured to respond to the network restart request, and judge whether the T-BOX apparatus is in a remote upgrade state or a remote control state; and the first sending unit is used for sending notification information for executing the network restarting action to the vehicle machine if the T-BOX device is not in the remote upgrading state and is not in the remote control state, and triggering to execute the network restarting action after first preset time.
According to an aspect of an embodiment of the present application, there is provided a network management apparatus for a T-BOX apparatus of a vehicle, the network management apparatus being implemented in a vehicle, the network management apparatus including: the second sending unit is used for sending a network restart request to the T-BOX device through a network restart interface after the Socket connection between the second sending unit and the car machine is kept so as to trigger the T-BOX device to execute a network restart action; and the second receiving unit is used for repeatedly executing the step of sending the network restart request to the T-BOX device through the network restart interface until the notification information of executing the network restart action sent by the T-BOX device is received within the second preset time within the first preset repeated times if the notification information of executing the network restart action sent by the T-BOX device is not received within the second preset time.
By the technical scheme of this application more than, compare with prior art, its beneficial effect that is showing lies in: the T-BOX is an internet access channel in a vehicle, the traditional T-BOX cannot directly interact with a user, when the T-BOX fails to be networked due to network environment problems, for example, a 5G signal similar to a mobile phone falls to 2G and cannot be recovered, or a rejection code is directly issued by a network side to cause the T-BOX to be incapable of being networked, according to a 3GPP protocol, the T-BOX needs to be restarted to recover communication under certain specific conditions, if the user does not have the channel to restart the T-BOX, the T-BOX can be restarted only under the timing or triggering condition set inside the T-BOX, and user experience is influenced. Meanwhile, the T-BOX is restarted differently from a mobile phone which is an independent individual, and the T-BOX is restarted while the whole vehicle environment and the communication condition with other ECUs are considered. The method and the device effectively solve the problem that the user does not restart the T-BOX channel by adding the network restart interface.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The above and other features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
FIG. 1 illustrates a schematic diagram of a vehicle machine in communication with a T-BOX in accordance with an embodiment of the present application;
FIG. 2 shows a flow diagram according to an embodiment of the present application;
FIG. 3 shows another flow diagram according to an embodiment of the present application;
FIG. 4 shows a simplified diagram of a network management device for a vehicle T-BOX device in accordance with one embodiment of the present application;
FIG. 5 shows a simplified diagram of a network management device for another vehicle T-BOX device in accordance with one embodiment of the present application;
FIG. 6 shows a flow diagram of in-vehicle network status query according to an embodiment of the present application;
FIG. 7 shows a timing diagram of the interaction of the car machine and the T-BOX according to an embodiment of the present application;
FIG. 8 illustrates a T-BOX internal processing logic diagram in accordance with one embodiment of the present application;
FIG. 9 shows a schematic structural diagram of a computer system of an electronic device according to one embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
According to some embodiments, as shown in FIG. 1, a schematic diagram 100 of a car machine in communication with a T-BOX is shown, the T-BOX including a car machine management module, a modem management module, and a modem, the car machine interacting with the car machine management module, the car machine management module interacting with the modem management module, and the modem management module interacting with the modem. The network state information of the T-BOX is displayed through a vehicle-mounted device (IVI), meanwhile, in order to enhance maintainability of the T-BOX, an interface for restarting the T-BOX by the vehicle-mounted device is added on a vehicle-mounted device and a T-BOX USB communication protocol, and the T-BOX can be restarted when necessary (for example, the T-BOX displays a scene that a signal exists but the Internet cannot be accessed). The car machine management module mainly receives information from a car machine, processes and analyzes the information, calls other target sub-modules according to an analysis result, and the modem management module manages information from the 5G \4G module and calls related interfaces of the module, such as dialing. Modems are the 5G \4Gmodules, usually high-pass modules, huacheng modules, MTK modules, etc., which are integrated by the T-BOX manufacturer for their upstream calls.
According to some embodiments, as shown in fig. 2, fig. 2 shows a flowchart of steps performed from the perspective of a T-BOX apparatus side, and the present application provides a network management method of a vehicle T-BOX apparatus, the method being performed in the T-BOX apparatus, the method comprising: step 201, receiving a network restart request sent by a vehicle machine through a network restart interface; step 202, responding to the network restart request, and judging whether the T-BOX device is in a remote upgrading state or a remote control state; step 203, if the T-BOX device is not in the remote upgrade state and is not in the remote control state, sending a notification message for executing a network restart action to the in-vehicle machine, and triggering to execute the network restart action after a first preset time.
Based on the above embodiment, in step 201, the network restart interface is: and on the vehicle machine and the T-BOX USB communication protocol, the added vehicle machine restarts the T-BOX interface. The network restart interface is an interface of a software layer. The T-BOX device receives a network restart request sent by the vehicle machine through a network restart interface.
Further, in step 202, after receiving the network restart request sent by the vehicle, the T-BOX device determines whether itself is in a remote upgrade state or a remote control state, and then replies a response to the network restart request to the vehicle.
Further, in step 203, if the T-BOX device is not in the remote upgrade state and is not in the remote control state, sending a notification message for performing a network restart action to the in-vehicle machine, and triggering to perform the network restart action after a first preset time. The first preset time can be set according to actual requirements, in some embodiments, the first preset time is set to 3 seconds, namely, notification information for executing network restart action is sent to the car machine, and the network is restarted after 3 seconds of delay, so that the car machine can receive a response of a request command sent by the T-BOX device and then restart the car machine.
The T-BOX is an internet access channel in a vehicle, the traditional T-BOX cannot directly interact with a user, when the T-BOX fails to be networked due to network environment problems, for example, a 5G signal similar to a mobile phone cannot be recovered after falling to 2G, or a network side directly issues an rejection code to prevent the T-BOX from accessing the network, according to a 3GPP protocol, the T-BOX needs to be restarted under certain specific conditions to allow communication to be recovered, if the user does not have the channel to restart the T-BOX, the T-BOX can be restarted only at a timing or under a triggering condition set inside the T-BOX, and user experience is influenced. Meanwhile, the T-BOX is restarted differently from a mobile phone which is an independent individual, and the T-BOX is restarted while the whole vehicle environment and the communication condition with other ECUs are considered. The method and the device effectively solve the problem that the user does not restart the T-BOX channel by adding the network restart interface.
According to some embodiments, before receiving, through a network restart interface, a network restart request sent by a car machine, the method further includes: after the Socket connection with the car machine is established for the first time, receiving a handshake request sent by the car machine, and sending a handshake response to the car machine; after handshaking with the car machine, receiving a heartbeat request sent by the car machine, and sending a heartbeat response to the car machine so as to keep Socket connection between the car machine and the car machine.
Based on the above embodiment, as shown in fig. 7, fig. 7 shows an interaction timing diagram of the car machine and the T-BOX.
In step 701, firstly, after the car machine is normally connected with the T-BOX through the USB, the car machine and the T-BOX can establish Socket connection.
In step 702, after Socket connection, the car machine sends a handshake request to the T-BOX.
In step 703, the T-BOX sends a handshake response to the car machine.
In step 704, after the handshake between the car machine and the T-BOX is completed, the car machine sends a heartbeat request to the T-BOX. Wherein, the car machine sends a heartbeat request every 3 seconds.
In step 705, the T-BOX sends a heartbeat response to the car machine after receiving the heartbeat request from the car machine. And if the heartbeat response is not received within 3 seconds, the vehicle machine sends the heartbeat request to the T-BOX again. And when the vehicle machine retries twice and does not receive the heartbeat response of the T-BOX twice, the prompt response fails. The reasons include that the T-BOX does not send a heartbeat response, or the T-BOX does not receive a heartbeat request, or the T-BOX sends a heartbeat response to the car machine, but the car machine does not receive the heartbeat response, and the like.
In step 706, after the car machine keeps receiving the heartbeat response, the car machine sends a network restart request to the T-BOX. And if the vehicle machine does not receive the restart response within 3 seconds after sending the network restart request to the T-BOX, the vehicle machine resends the network restart request to the T-BOX. And when the vehicle machine does not receive the restarting response of the T-BOX after the vehicle machine retries twice, the prompt response fails.
In step 707, the T-BOX sends a network restart response to the car machine. And the T-BOX sends a network restart response to the vehicle machine, and controls self restart after delaying for 3 seconds so as to ensure that the vehicle machine can receive the restart response.
According to some embodiments, after maintaining the Socket connection with the car machine, the method further comprises: periodically acquiring network data information from a network; and reporting the network data information to the vehicle machine.
Based on the above embodiments, as shown in fig. 6, fig. 6 shows a car machine network status query flowchart.
In step 601, firstly, after the car machine is normally connected with the T-BOX through the USB, the car machine and the T-BOX can establish Socket connection.
In step 602, the vehicle machine and the T-BOX perform authentication and certification to prevent the vehicle from being connected by mistake.
In step 603, the car machine sends a handshake request to the T-BOX.
In step 604, the T-BOX sends a handshake response to the car machine.
In step 605, please refer to 1,T-BOX, the car management module periodically sends a request for obtaining network state information to the modem management module, the modem management module returns the network state information to the car management module after obtaining the network state information from the modem, and the car management module reports the network state information to the car to complete network state query after receiving the network state information sent by the modem management module.
According to some embodiments, the method further comprises: and if the T-BOX device is in a remote upgrading state or a remote control state, sending notification information of network restart failure to the vehicle machine.
Based on the above-described embodiment, when the vehicle is in the remote upgrade state or in the remote control state, the network is not allowed to be restarted, so that the remote control is stabilized, and the remote installation package download upgrade is stabilized.
According to other embodiments, from a vehicle-side perspective, the present application provides a network management method for a vehicle T-BOX apparatus, the method being performed at a vehicle machine, the method comprising: step 301, after a Socket connection with the car machine is maintained, sending a network restart request to a T-BOX device through a network restart interface to trigger the T-BOX device to execute a network restart action; and step 302, if the notification information for executing the network restarting action sent by the T-BOX device is not received within the second preset time, repeatedly executing the step of sending the network restarting request to the T-BOX device through the network restarting interface until the notification information for executing the network restarting action sent by the T-BOX device is received within the second preset time within the first preset repetition times.
Based on the above embodiment, as shown in fig. 3, in step 301, after a Socket connection between the T-BOX device and the car machine is maintained, the car machine sends a network restart request to the T-BOX device through a network restart interface to trigger the T-BOX device to execute a network restart action. And the vehicle machine informs the T-BOX to restart through a USB command.
In step 302, if the notification information for executing the network restart action sent by the T-BOX device is not received within a second preset time, the step of sending a network restart request to the T-BOX device through the network restart interface is repeatedly executed until the notification information for executing the network restart action sent by the T-BOX device is received within the second preset time within a first preset repetition number. In some embodiments, the first preset repetition time is two times, the second preset time is 3 seconds, if the car machine does not receive the response of the T-BOX device within 3 seconds, the car machine resends the notification, the maximum retry time does not exceed two times, and if no response still exists after two times, the request is prompted to fail, and the process is ended. After receiving the restart command sent by the car machine, the T-BOX gives a response first, and then restarts itself after delaying for 3 seconds (so that the car machine can receive the response of sending the request command).
According to some embodiments, before maintaining a Socket connection with the car machine, the method further comprises: after the Socket connection with the car machine is established for the first time, a handshake request sent to the T-BOX device is received, and a handshake response sent by the T-BOX device is received; after handshake with the T-BOX device, periodically sending heartbeat requests to the T-BOX device, and receiving heartbeat responses sent by the T-BOX device so as to maintain Socket connection with the car machine.
Further, after sending the heartbeat request to the T-BOX apparatus, the method further comprises: if the heartbeat response sent by the T-BOX device is not received within third preset time, the step of sending the heartbeat request to the T-BOX device is repeatedly executed until the heartbeat response sent by the T-BOX device is received within the third preset time within second preset repetition times.
Based on the above embodiment, as shown in fig. 7, fig. 7 shows an interaction timing diagram of the car machine and the T-BOX.
In step 701, firstly, after the car machine is normally connected with the T-BOX through the USB, the car machine and the T-BOX can establish Socket connection.
In step 702, after Socket connection, the car machine sends a handshake request to the T-BOX.
In step 703, the T-BOX sends a handshake response to the car machine.
In step 704, after the handshake between the car machine and the T-BOX is completed, the car machine sends a heartbeat request to the T-BOX. Wherein, the car machine sends a heartbeat request every 3 seconds.
In step 705, the T-BOX sends a heartbeat response to the car machine after receiving the heartbeat request from the car machine. In some embodiments, the third preset time is set to 3 seconds, and if the car machine does not receive the heartbeat response within 3 seconds, the car machine sends the heartbeat request to the T-BOX again. And after the vehicle machine retries to reach the second preset repetition number, the heartbeat response is still not received, and the response failure is prompted. In some embodiments, the second predetermined number of repetitions is two, and the prompt response fails if the car machine resends the T-BOX twice and neither of the two times receives the heartbeat response of the T-BOX. The reasons include that the T-BOX does not send a heartbeat response, or the T-BOX does not receive a heartbeat request, or the T-BOX sends a heartbeat response to the car machine, but the car machine does not receive the heartbeat response, and the like.
In step 706, after the car machine keeps receiving the heartbeat response, the car machine sends a network restart request to the T-BOX. And if the vehicle machine does not receive the restart response within 3 seconds after sending the network restart request to the T-BOX, the vehicle machine resends the network restart request to the T-BOX. And when the vehicle machine does not receive the restarting response of the T-BOX after the vehicle machine retries twice, the prompt response fails.
In step 707, the T-BOX sends a network restart response to the car machine. And the T-BOX sends a network restart response to the vehicle machine, and controls self restart after delaying for 3 seconds so as to ensure that the vehicle machine can receive the restart response.
According to some embodiments, the sending a network restart request to the T-BOX apparatus through the network restart interface includes: when the operation of network restarting action executed by a T-BOX device triggered by a user is monitored, sending a confirmation prompt to the user; and when the confirmation operation triggered by the user and aiming at the confirmation prompt is monitored within the fourth preset time, sending a network restart request to the T-BOX device through a network restart interface.
Based on the above embodiment, the fourth preset time may be set according to actual requirements.
When the user selects to restart the T-Box, in order to prevent misoperation, a prompt Box is popped up to be confirmed by the user. The vehicle machine sends a restart command to the T-Box only after the user confirms again; when the handshake for reestablishing the USB connection is completed, the T-Box can be prompted to restart, the restart is completed only after the restart completed by the user instruction is received, and the prompt is not required to be generated when the vehicle machine and the T-BOX are automatically restarted (such as internal timing restart) in the vehicle ignition starting stage.
Sending confirmation prompt to the user can prevent the user from pressing wrong keys, when the user presses the wrong keys, the network restarting action can be cancelled through the confirmation prompt, and when the user does not press the wrong keys, the network restarting action can be confirmed again.
The T-BOX internal processing logic is described below in more detail in a flow chart, as shown in fig. 8, and fig. 8 shows a T-BOX internal processing logic diagram 800.
After the vehicle is powered on;
waiting for the network restart interface to be successfully connected;
establishing Socket connection between the vehicle machine and the T-BOX;
the handshake between the vehicle machine and the T-BOX is successful;
receiving a restart request sent by a vehicle machine;
judging whether the remote upgrading state or the remote control state is in, if so, the T-BOX of the return vehicle machine cannot be refreshed;
if the remote upgrading state is not achieved and the remote control state is not achieved, the vehicle replying machine refreshes the network;
after a vehicle replying machine is refreshing a network, a T-BOX restarting notice is sent to a bus after delaying for 3 seconds, and during the T-BOX restarting, the T-BOX cannot send a CAN signal of an effective time signal, so that before restarting, the T-BOX CAN send the T-BOX restarting notice to the CAN bus first, all controllers of the bus are informed not to record fault codes and the like, and the T-BOX restarting process does not send a self-checking signal, so that the self-checking icon on an instrument is prevented from being lightened;
restarting the T-BOX;
completing the restart;
sending T-BOX restart completion information to the bus, and recovering the normal mode interacted with the T-BOX by each controller;
and the T-BOX judges whether the restarting is the restarting after receiving the user operation instruction, if the restarting is the restarting after receiving the user operation instruction, a T-BOX restarting completion instruction prompting the user is sent to the vehicle machine, and if the restarting is not the restarting after receiving the user operation instruction, the process is ended.
Embodiments of the apparatus of the present application are described below that may be used to implement the network management method of the vehicle T-BOX apparatus in the above-described embodiments of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the network management method of the vehicle T-BOX apparatus described above in the present application.
Fig. 4 shows a schematic diagram 400 of a network management apparatus of a vehicle T-BOX apparatus provided in the T-BOX apparatus in the embodiment of the present application, the network management apparatus including: a first receiving unit 401, configured to receive, through a network restart interface, a network restart request sent by a vehicle machine; a determining unit 402, configured to determine, in response to the network restart request, whether the T-BOX apparatus is in a remote upgrade state or a remote control state; a first sending unit 403, configured to send notification information for performing a network restart action to a vehicle machine if the T-BOX apparatus is not in a remote upgrade state and is not in a remote control state, and trigger to perform the network restart action after a first preset time.
Based on the above embodiment, in the first receiving unit 401, the network restart interface is: and on the vehicle machine and the T-BOX USB communication protocol, the added vehicle machine restarts the T-BOX interface. The network restart interface is an interface of a software layer. And the T-BOX device receives a network restart request sent by the vehicle machine through a network restart interface.
Further, in the determining unit 402, after receiving the network restart request sent by the vehicle, the T-BOX device determines whether itself is in a remote upgrade state or a remote control state, and then replies a response to the network restart request to the vehicle.
Further, in the first sending unit 403, if the T-BOX device is not in the remote upgrade state and is not in the remote control state, sending notification information for performing a network restart action to the in-vehicle machine, and triggering to perform the network restart action after the first preset time. The first preset time can be set according to actual requirements, in some embodiments, the first preset time is set to 3 seconds, namely, notification information for executing network restarting action is sent to the vehicle machine, the network is restarted after 3 seconds of delay, so that the vehicle machine can receive a response of a request command sent by the T-BOX device, and then the vehicle machine restarts itself.
The T-BOX is an internet access channel in a vehicle, the traditional T-BOX cannot directly interact with a user, when the T-BOX fails to be networked due to network environment problems, for example, a 5G signal similar to a mobile phone falls to 2G and cannot be recovered, or a rejection code is directly issued by a network side to cause the T-BOX to be incapable of being networked, according to a 3GPP protocol, the T-BOX needs to be restarted to recover communication under certain specific conditions, if the user does not have the channel to restart the T-BOX, the T-BOX can be restarted only under the timing or triggering condition set inside the T-BOX, and user experience is influenced. Meanwhile, the T-BOX is restarted differently from a mobile phone which is an independent individual, and the T-BOX is restarted while the whole vehicle environment and the communication condition with other ECUs are considered. The method and the device effectively solve the problem that the user does not restart the T-BOX channel by adding the network restart interface.
Fig. 5 shows a schematic diagram 500 of a network management device of a vehicle T-BOX device, which is executed in a vehicle, in an embodiment of the present application, where the network management device includes: a second sending unit 501, configured to send a network restart request to the T-BOX device through a network restart interface after maintaining a Socket connection with the car machine, so as to trigger the T-BOX device to execute a network restart action; a second receiving unit 502, configured to, if the notification information for performing the network restart action sent by the T-BOX apparatus is not received within a second preset time, repeatedly perform the step of sending the network restart request to the T-BOX apparatus through the network restart interface until the notification information for performing the network restart action sent by the T-BOX apparatus is received within the second preset time within a first preset number of repetitions.
Based on the above embodiment, as shown in fig. 3, in the second sending unit 501, after the Socket connection with the car machine is maintained, a network restart request is sent to the T-BOX device through the network restart interface, so as to trigger the T-BOX device to execute a network restart action. And the vehicle machine informs the T-BOX to restart through a USB command.
In the second receiving unit 502, if the notification information for performing the network restart action sent by the T-BOX device is not received within the second preset time, the step of sending the network restart request to the T-BOX device through the network restart interface is repeatedly executed until the notification information for performing the network restart action sent by the T-BOX device is received within the second preset time within the first preset number of repetitions. In some embodiments, the first preset repetition time is two times, the second preset time is 3 seconds, if no response is received within 3 seconds, the car machine resends the notification, the maximum retry time does not exceed two times, if no response is received after two times, the request is prompted to fail, and the process is ended. After the T-BOX receives the restart command sent by the car machine, the T-BOX gives a response first, and then the T-BOX delays for 3 seconds (so that the car machine can receive the response of sending the request command) and restarts the T-BOX.
FIG. 9 illustrates a schematic structural diagram of a computer system suitable for use to implement the electronic device of the embodiments of the subject application.
It should be noted that the computer system 900 of the electronic device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments.
As shown in fig. 9, the computer system 900 includes a Central Processing Unit (CPU) 901 that can perform various appropriate actions and processes, such as performing the network management method of the vehicle T-BOX device described in the above-described embodiment, according to a program stored in a Read-Only Memory (ROM) 902 or a program loaded from a storage portion 908 into a Random Access Memory (RAM) 903. In the RAM903, various programs and data necessary for system operation are also stored. The CPU901, ROM902, and RAM903 are connected to each other via a bus 904. An Input/Output (I/O) interface 905 is also connected to bus 904.
The following components are connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output portion 907 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage portion 908 including a hard disk and the like; and a communication section 909 including a Network interface card such as a LAN (Local Area Network) card, a modem, and the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 910 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The computer program executes various functions defined in the system of the present application when executed by a Central Processing Unit (CPU) 901.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs the network management method of the vehicle T-BOX apparatus described in the above embodiments.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiment; or may exist separately without being assembled into the electronic device. The above-mentioned computer-readable medium carries one or more programs which, when executed by one of the electronic devices, cause the electronic device to implement the network management method of the vehicle T-BOX apparatus described in the above-mentioned embodiments.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the network management method of the vehicle T-BOX apparatus in the above-mentioned embodiment.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the present application is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A network management method of a vehicle T-BOX apparatus, the method being performed in the T-BOX apparatus, the method comprising:
receiving a network restart request sent by a vehicle machine through a network restart interface;
responding to the network restart request, and judging whether the T-BOX device is in a remote upgrading state or a remote control state;
and if the T-BOX device is not in a remote upgrading state and is not in a remote control state, sending notification information for executing the network restarting action to the vehicle machine, and triggering to execute the network restarting action after first preset time.
2. The method of claim 1, wherein before receiving a network restart request sent by a car machine through a network restart interface, the method further comprises:
after a Socket connection is established with a vehicle machine for the first time, receiving a handshake request sent by the vehicle machine, and sending a handshake response to the vehicle machine;
after handshaking with the car machine, receiving a heartbeat request sent by the car machine, and sending a heartbeat response to the car machine so as to keep Socket connection between the car machine and the car machine.
3. The method of claim 2, wherein after maintaining the Socket connection with the car machine, the method further comprises:
periodically acquiring network data information from a network;
and reporting the network data information to the vehicle machine.
4. The method of claim 1, further comprising:
and if the T-BOX device is in a remote upgrading state or a remote control state, sending notification information of network restart failure to the vehicle machine.
5. A network management method of a vehicle T-BOX device is characterized in that the method is executed on a vehicle machine, and the method comprises the following steps:
after the Socket connection between the vehicle machine and the vehicle machine is kept, a network restart request is sent to the T-BOX device through a network restart interface so as to trigger the T-BOX device to execute a network restart action;
if the notification information for executing the network restarting action sent by the T-BOX device is not received within the second preset time, the step of sending the network restarting request to the T-BOX device through the network restarting interface is repeatedly executed until the notification information for executing the network restarting action sent by the T-BOX device is received within the second preset time within the first preset repetition times.
6. The method of claim 5, wherein prior to maintaining a Socket connection with the car machine, the method further comprises:
after a Socket connection is established with a vehicle machine for the first time, a handshake request sent to a T-BOX device is received, and a handshake response sent by the T-BOX device is received;
after handshake with the T-BOX device, periodically sending heartbeat requests to the T-BOX device, and receiving heartbeat responses sent by the T-BOX device so as to maintain Socket connection with the car machine.
7. The method of claim 6, wherein after sending a heartbeat request to a T-BOX device, the method further comprises:
if the heartbeat response sent by the T-BOX device is not received within third preset time, the step of sending the heartbeat request to the T-BOX device is repeatedly executed until the heartbeat response sent by the T-BOX device is received within the third preset time within second preset repetition times.
8. The method of claim 5, wherein sending a network restart request to a T-BOX device over a network restart interface comprises:
when the operation of network restarting action executed by a T-BOX device triggered by a user is monitored, sending a confirmation prompt to the user;
and when the confirmation operation triggered by the user and aiming at the confirmation prompt is monitored within the fourth preset time, sending a network restart request to the T-BOX device through a network restart interface.
9. A network management device for a T-BOX device of a vehicle, the network management device being provided in the T-BOX device, the network management device comprising:
the first receiving unit is used for receiving a network restarting request sent by a vehicle machine through a network restarting interface;
a judging unit, configured to respond to the network restart request, and judge whether the T-BOX apparatus is in a remote upgrade state or a remote control state;
and the first sending unit is used for sending notification information for executing the network restarting action to the vehicle machine if the T-BOX device is not in the remote upgrading state and is not in the remote control state, and triggering to execute the network restarting action after first preset time.
10. A network management device of a vehicle T-BOX device, wherein the network management device is executed in a vehicle machine, the network management device comprises:
the second sending unit is used for sending a network restarting request to the T-BOX device through a network restarting interface after the Socket connection between the second sending unit and the vehicle machine is kept so as to trigger the T-BOX device to execute a network restarting action;
and the second receiving unit is used for repeatedly executing the step of sending the network restart request to the T-BOX device through the network restart interface until the notification information of executing the network restart action sent by the T-BOX device is received within the second preset time within the first preset repeated times if the notification information of executing the network restart action sent by the T-BOX device is not received within the second preset time.
CN202210861830.8A 2022-07-20 2022-07-20 Network management method and device for vehicle T-BOX device Pending CN115412878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210861830.8A CN115412878A (en) 2022-07-20 2022-07-20 Network management method and device for vehicle T-BOX device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210861830.8A CN115412878A (en) 2022-07-20 2022-07-20 Network management method and device for vehicle T-BOX device

Publications (1)

Publication Number Publication Date
CN115412878A true CN115412878A (en) 2022-11-29

Family

ID=84158401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210861830.8A Pending CN115412878A (en) 2022-07-20 2022-07-20 Network management method and device for vehicle T-BOX device

Country Status (1)

Country Link
CN (1) CN115412878A (en)

Similar Documents

Publication Publication Date Title
CN108833122B (en) Wake-up method and device for vehicle-mounted communication controller and storage medium
CN106850580B (en) A kind of automobile account system and account automatic verification method
CN111399884A (en) Vehicle component upgrading method and device and electronic equipment
US11240317B2 (en) Diagnostic method and system for vehicle, and related device thereof
CN111143031A (en) Method and device for changing capacity of virtual machine
CN115016805A (en) Vehicle system upgrading method, device, system, equipment and medium
CN111314133A (en) Ammeter communication module upgrading method, ammeter control module and ammeter communication module
CN114257470A (en) Vehicle Bluetooth function test system and test method
CN114064091A (en) OTA (over the air) upgrade control method and device, electronic equipment and automatic driving vehicle
CN114675855A (en) Vehicle software remote upgrading method and device and platform equipment
CN115515012A (en) Key burning method and device, electronic equipment board card and storage medium
CN115412878A (en) Network management method and device for vehicle T-BOX device
CN116633780A (en) Gateway upgrading method and device for vehicle, vehicle and storage medium
CN113268257A (en) Vehicle-mounted application upgrading system, method and computer storage medium
CN115150007B (en) Digital key system monitoring method, device, equipment and storage medium
CN111857303B (en) FPGA (field programmable Gate array) resetting method, device and system and electronic equipment
CN113377385A (en) Client automatic deployment method and device
JP2022538080A (en) A method of interacting with a computer on a vehicle's on-board bus
CN108848182B (en) Updating method of BMC firmware, related equipment and system
CN112118567A (en) Device upgrading method, electronic device and medium
CN112241279A (en) Self-adaptive electronic control unit software upgrading method and system and automobile
CN114640986B (en) TBOX activation state storage and acquisition method and access system
CN113704005B (en) Method, device and system capable of remotely calling application and readable storage medium
CN116489182A (en) Diagnostic method, diagnostic device, and storage medium
CN115793611A (en) Diagnostic interface data transmission control method, device, equipment, medium and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination