CN115037601B - Network recovery method, system, medium and electronic device for vehicle-mounted network interface device - Google Patents

Network recovery method, system, medium and electronic device for vehicle-mounted network interface device Download PDF

Info

Publication number
CN115037601B
CN115037601B CN202210651640.3A CN202210651640A CN115037601B CN 115037601 B CN115037601 B CN 115037601B CN 202210651640 A CN202210651640 A CN 202210651640A CN 115037601 B CN115037601 B CN 115037601B
Authority
CN
China
Prior art keywords
state
interface device
network interface
network
target vehicle
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.)
Active
Application number
CN202210651640.3A
Other languages
Chinese (zh)
Other versions
CN115037601A (en
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.)
China Academy of Railway Sciences Corp Ltd CARS
Signal and Communication Research Institute of CARS
Beijing Ruichi Guotie Intelligent Transport Systems Engineering Technology Co Ltd
Guoneng Shuohuang Railway Development Co Ltd
Beijing Huatie Information Technology Co Ltd
Original Assignee
China Academy of Railway Sciences Corp Ltd CARS
Signal and Communication Research Institute of CARS
Beijing Ruichi Guotie Intelligent Transport Systems Engineering Technology Co Ltd
Guoneng Shuohuang Railway Development Co Ltd
Beijing Huatie Information Technology Co Ltd
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 China Academy of Railway Sciences Corp Ltd CARS, Signal and Communication Research Institute of CARS, Beijing Ruichi Guotie Intelligent Transport Systems Engineering Technology Co Ltd, Guoneng Shuohuang Railway Development Co Ltd, Beijing Huatie Information Technology Co Ltd filed Critical China Academy of Railway Sciences Corp Ltd CARS
Priority to CN202210651640.3A priority Critical patent/CN115037601B/en
Publication of CN115037601A publication Critical patent/CN115037601A/en
Application granted granted Critical
Publication of CN115037601B publication Critical patent/CN115037601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to the technical field of railway wireless communication, and particularly discloses a network recovery method of a vehicle-mounted network interface device. The method comprises the following steps: detecting a first network state of a target vehicle-mounted network interface device; under the condition that the first network state is abnormal, a first control instruction is sent to enable the LTE module to be in soft restart; re-detecting a second network state of the target vehicle-mounted network interface device; detecting a first communication state of the target vehicle-mounted network interface device under the condition that the second network state is normal; under the condition that the first communication state is abnormal, a second control instruction is sent to enable the LTE module to be powered off and restarted; re-detecting a second communication state of the target vehicle-mounted network interface device; and under the condition that the second communication state is abnormal, sending a third control instruction to enable the control module to perform power-off restarting. When the vehicle-mounted TCE equipment is off-line, a self-healing mode with the shortest time can be selected according to the off-line reason until normal data communication is restored.

Description

Network recovery method, system, medium and electronic device for vehicle-mounted network interface device
Technical Field
The present disclosure relates to the field of railway wireless communications, and in particular, to a method, a system, a storage medium, and an electronic device for recovering a network of a vehicle-mounted network interface device.
Background
The vehicle-mounted LTE (Long Term Evolution) network interface equipment (namely vehicle-mounted TCE equipment (Terminal Communication Equipment)) mainly completes data transmission between the vehicle-mounted ATP equipment and the ground mobile blocking signal equipment, the ground Beidou differential station and the train tail equipment.
The signal network of the vehicle-mounted TCE device comprises a red-blue dual-network redundancy architecture, wherein red subnets and blue subnets are isolated from each other, the red network and the blue network are respectively connected to the LTE network by using special TCE devices, and the TCE devices only establish communication with other TCE devices positioned in the same subnets.
When the vehicle-mounted TCE equipment with the self-healing mechanism is not added in the current stage, the data transmission of the mobile occlusion system is affected because the vehicle-mounted TCE equipment cannot recover by itself. If both networks are interrupted, ATP degradation will result.
Disclosure of Invention
Aiming at the problems, the application provides a network recovery method and system of a vehicle-mounted network interface device, a storage medium and an electronic device, and solves the problems that the network cannot be recovered by oneself after the vehicle-mounted TCE device is off-line, the data transmission of a mobile blocking system is affected, and ATP degradation is even caused.
In a first aspect of the present application, there is provided a network recovery method of an in-vehicle network interface device, the method including:
detecting a first network state of the target vehicle-mounted network interface device;
under the condition that the first network state is abnormal, a first control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be restarted;
re-detecting a second network state of the target vehicle network interface device;
detecting a first communication state of the target vehicle-mounted network interface device under the condition that the second network state is normal;
under the condition that the first communication state is abnormal, a second control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be powered off and restarted;
re-detecting a second communication state of the target vehicle-mounted network interface device;
and under the condition that the second communication state is abnormal, sending a third control instruction to enable the control module of the target vehicle-mounted network interface device to be powered off and restarted.
In some embodiments, the first network state includes a network attachment state, and the detecting the first network state of the target in-vehicle network interface device includes:
Acquiring a network attachment state of the target vehicle-mounted network interface device;
counting the loss time length of the network attachment state to obtain a first loss time length;
and under the condition that the first loss time length is longer than a preset loss time length, judging that the first network state is abnormal.
In some embodiments, the first network state further includes a network connection state, and the detecting the first network state of the target in-vehicle network interface device further includes:
acquiring a network connection state of the target vehicle-mounted network interface device under the condition that the first loss duration is not greater than the preset loss duration;
counting the lost time length of the network connection state to obtain a second lost time length;
and under the condition that the second loss time is longer than the preset loss time, judging that the first network state is abnormal.
In some embodiments, the first communication state includes a SIM card communication state, and the detecting the first communication state of the target in-vehicle network interface device includes:
acquiring the SIM card communication state of the target vehicle-mounted network interface equipment;
counting the interruption time of the SIM card to obtain a first interruption time;
And under the condition that the first interruption time length is longer than a preset interruption time length, judging that the first communication state is abnormal.
In some embodiments, the first communication state further includes a serial port communication state, and the detecting the first communication state of the target in-vehicle network interface device further includes:
acquiring a serial port communication state of the target vehicle-mounted network interface device under the condition that the first interruption time is not longer than the preset interruption time;
counting the interruption time of serial port communication to obtain a second interruption time;
and under the condition that the second interruption time length is longer than the preset interruption time length, judging that the first communication state is abnormal.
In some embodiments, after the re-detecting the second network state of the target in-vehicle network interface device, the method further comprises:
under the condition that the second network state is abnormal, a second control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be powered off and restarted;
re-detecting a third network state of the target vehicle network interface device;
and under the condition that the third network state is abnormal, sending a third control instruction to enable the control module of the target vehicle-mounted network interface device to be powered off and restarted.
In some embodiments, after the re-detecting the communication state of the target in-vehicle network interface device, the method further comprises:
and re-detecting the network state of the target vehicle-mounted network interface device according to a preset time interval under the condition that the second communication state is normal.
In a second aspect of the present application, there is provided a network recovery system for an in-vehicle network interface device, the system comprising:
the first detection module is used for detecting a first network state of the target vehicle-mounted network interface device;
the soft restart module is used for sending a first control instruction under the condition that the first network state is abnormal so as to enable the LTE module of the target vehicle-mounted network interface device to be subjected to soft restart;
the second detection module is used for re-detecting a second network state of the target vehicle-mounted network interface device;
a third detection module, configured to detect a first communication state of the target vehicle-mounted network interface device under a condition that the second network state is normal;
the first restarting module is used for sending a second control instruction under the condition that the first communication state is abnormal so as to restart the LTE module of the target vehicle-mounted network interface device in a power-off mode;
A fourth detection module, configured to re-detect a second communication state of the target vehicle-mounted network interface device;
and the second restarting module is used for sending a third control instruction under the condition that the second communication state is abnormal so as to enable the control module of the target vehicle-mounted network interface device to perform power-off restarting.
In a third aspect of the present application, a computer readable storage medium is provided, which stores a computer program executable by one or more processors to implement the in-vehicle network interface device network recovery method as described above.
In a fourth aspect of the present application, there is provided an electronic device, including a memory and a processor, where the memory stores a computer program, the memory and the processor are communicatively connected to each other, and the computer program, when executed by the processor, implements a network recovery method for an in-vehicle network interface device as described above.
Compared with the prior art, the technical scheme of the application has the following advantages or beneficial effects:
when the vehicle-mounted TCE equipment is off-line, a self-healing mode with the shortest time can be selected according to the off-line reason until normal data communication is restored. If only the network attachment state and the network connection state of the radio frequency part function are lost due to external interference, only the radio frequency module of the communication module can be reset by a soft power-off and soft power-on mode, so that quick network re-access is realized; if the soft-off and soft-on are not capable of normally communicating, when the SIM card communication fault or the serial port communication fault is detected, the vehicle-mounted TCE equipment resets the LTE module for the first time; if the communication is not possible, the control module is reset by the on-board TCE device at the first time.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
Fig. 1 is a flowchart of a network recovery method of a vehicle network interface device provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a network recovery method of a vehicle network interface device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a network recovery system of a vehicle network interface device according to an embodiment of the present application;
fig. 4 is a connection block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following will describe embodiments of the present application in detail with reference to the drawings and examples, thereby how to apply technical means to the present application to solve technical problems, and realizing processes achieving corresponding technical effects can be fully understood and implemented accordingly. The embodiments and the features in the embodiments can be combined with each other under the condition of no conflict, and the formed technical schemes are all within the protection scope of the application.
Example 1
The present embodiment provides a network recovery method of a vehicle network interface device, and fig. 1 is a flowchart of a network recovery method of a vehicle network interface device provided in an embodiment of the present application, as shown in fig. 1, where the method of the present embodiment includes:
s110, detecting a first network state of the target vehicle-mounted network interface device.
As will be appreciated by those skilled in the art, the in-vehicle network interface device (in-vehicle TCE device) includes an LTE module and a control module.
Optionally, the vehicle-mounted network interface device periodically monitors the LTE network attachment condition, the LTE network connection condition, the SIM card communication state, and the serial port communication state of the LTE communication module.
Optionally, the first network state includes: network attachment status and network connection status.
And S120, under the condition that the first network state is abnormal, a first control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be restarted.
In some embodiments, the first network state includes a network attachment state, and the detecting the first network state of the target in-vehicle network interface device includes:
acquiring a network attachment state of the target vehicle-mounted network interface device;
Counting the loss time length of the network attachment state to obtain a first loss time length;
and under the condition that the first loss time length is longer than a preset loss time length, judging that the first network state is abnormal.
Alternatively, the on-board TCE device goes through "at+cereg? "command inquires about network attachment status, receipt of" +CEREG:1,1 "or" +CEREG:2,1 "indicates that network attachment status is normal, and other results are indicated as attachment failure.
Optionally, to avoid frequent restarting of the device due to short-time signal interference, the network attachment state failure and the network connection state loss are timed, for example, if the network attachment state is not recovered for more than 1 minute, a self-healing restart mechanism is started.
It should be noted that the preset loss duration may be set according to the actual requirement of the user, and is not particularly limited herein.
In some embodiments, the first network state further includes a network connection state, and the detecting the first network state of the target in-vehicle network interface device further includes:
acquiring a network connection state of the target vehicle-mounted network interface device under the condition that the first loss duration is not greater than the preset loss duration;
counting the lost time length of the network connection state to obtain a second lost time length;
And under the condition that the second loss time is longer than the preset loss time, judging that the first network state is abnormal.
Alternatively, the on-board TCE device goes through "AT NDISSTATQRY? "Command inquires about the network connection status," ≡ NDISSTATQRY:1 "indicates that the network connection status is normal," ≡ NDISSTATQRY:0 "indicates that the network connection is abnormal (lost).
Optionally, the self-healing restart mechanism of the vehicle-mounted TCE device includes 3 levels, which are respectively: the method comprises the steps of soft power-off and soft power-on of an LTE module (a first self-healing restarting mechanism), power-off restarting of the LTE module (a second self-healing restarting mechanism) and complete power-off restarting of a control module (a third self-healing restarting mechanism). The time for the control module to completely power off and restart is about 30 seconds, the time for the LTE module to power off and restart is about 10 seconds, and the time for the LTE module to be powered off and restarted is about 2 seconds. In order to recover normal data communication in the shortest time, the vehicle-mounted TCE equipment selects a proper self-healing restarting mode according to specific fault reasons.
Optionally, firstly judging whether the network attachment state is abnormal, when the network attachment state is abnormal, timing failure of the network attachment state, and if the network attachment state is not recovered for more than 1 minute, judging that the network state is abnormal and starting a self-healing restarting mechanism; if the network attachment state is normal, whether the network connection state is abnormal is continuously judged, if the network connection state is abnormal, the network connection state loss is timed, and if the network connection state is not recovered for more than 1 minute, the network state is judged to be abnormal and a first self-healing restarting mechanism is started.
Optionally, when the first loss duration or the second loss duration is longer than the preset loss duration, determining that the network state is abnormal, and when the network state is abnormal, performing soft restart (soft start after soft start) on the LTE module, wherein the time for soft start after soft start of the LTE module is about 2 seconds. For example, only the radio frequency module of the communication module can be reset by a mode of soft power off and soft power on, so that the network can be re-accessed within 2 seconds, and normal data communication can be recovered within the shortest time.
S130, re-detecting a second network state of the target vehicle-mounted network interface device.
In some embodiments, after the re-detecting the second network state of the target in-vehicle network interface device, the method further comprises:
under the condition that the second network state is abnormal, a second control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be powered off and restarted;
re-detecting a third network state of the target vehicle network interface device;
and under the condition that the third network state is abnormal, sending a third control instruction to enable the control module of the target vehicle-mounted network interface device to be powered off and restarted.
Optionally, detecting whether the network state of the target vehicle-mounted network interface device is abnormal again, if so, restarting the power-off of the LTE module, and detecting whether the network state of the target vehicle-mounted network interface device is abnormal again after restarting, if so, restarting the power-off of the control module. If no abnormality occurs in both the network attachment state and the network connection state, step S140 is performed.
And S140, detecting a first communication state of the target vehicle-mounted network interface device under the condition that the second network state is normal.
Optionally, the first communication state includes: the SIM card communication state and the serial port communication state.
And S150, under the condition that the first communication state is abnormal, a second control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be powered off and restarted.
In some embodiments, the first communication state includes a SIM card communication state, and the detecting the first communication state of the target in-vehicle network interface device includes:
acquiring the SIM card communication state of the target vehicle-mounted network interface equipment;
counting the interruption time of the SIM card to obtain a first interruption time;
and under the condition that the first interruption time length is longer than a preset interruption time length, judging that the first communication state is abnormal.
Optionally, the vehicle-mounted TCE device queries the IMSI of the SIM card through an "at+cimi" command, and the receipt of "46030 xxxxxxxx" indicates that the SIM card is in a normal state. If the equipment encounters the condition of SIM card reading failure in the normal working process, the equipment indicates that the abnormality occurs, and the equipment is not automatically recovered at the moment with high probability, so that the second self-healing restarting mechanism needs to be started as soon as possible.
Optionally, when the first interruption time period or the second interruption time period is longer than a preset interruption time period, determining that the communication state is abnormal.
It should be noted that the preset interruption time period may be set according to the actual requirement of the user, and is not particularly limited herein.
In some embodiments, the first communication state further includes a serial port communication state, and the detecting the first communication state of the target in-vehicle network interface device further includes:
acquiring a serial port communication state of the target vehicle-mounted network interface device under the condition that the first interruption time is not longer than the preset interruption time;
counting the interruption time of serial port communication to obtain a second interruption time;
and under the condition that the second interruption time length is longer than the preset interruption time length, judging that the first communication state is abnormal.
Optionally, the vehicle-mounted TCE device checks whether the serial port module is normal through an "AT" command, and receiving "OK" indicates that serial port communication is normal, and not receiving "OK" command for 20 seconds indicates that serial port fails. The LTE module is connected with the control module through a USB interface, and the AT command is mapped through a driver to further control the serial port, so that the LTE module belongs to wired connection in a system, and if the serial port does not receive response data of the module for 20 seconds continuously, the abnormal (fault) of the serial port is indicated, and a second self-healing restarting mechanism needs to be started as soon as possible.
Optionally, when the network attachment state and the network connection state of the vehicle-mounted TCE device are not abnormal, firstly acquiring the SIM card communication state of the vehicle-mounted TCE device, judging whether the SIM card communication state is abnormal, if so, timing the communication interruption of the SIM card, and if the interruption time exceeds 20 seconds, judging that the communication state is abnormal and starting a self-healing restarting mechanism; if the SIM card communication state is normal, the serial port communication state is continuously acquired, whether the serial port communication state is abnormal or not is judged, if the serial port communication state is abnormal, serial port communication interruption is timed, and if the interruption time exceeds 20 seconds, the communication state is judged to be abnormal, and a second self-healing restarting mechanism is started; if the serial communication state is all normal, re-detecting whether the network state of the target vehicle-mounted network interface device is abnormal according to the preset time interval, and jumping to the step S110.
Optionally, when the communication state is abnormal, the LTE module is powered off and restarted, and the time for powering off and restarting the LTE module is about 10 seconds.
S160, re-detecting the second communication state of the target vehicle-mounted network interface device.
Optionally, after the LTE module is powered off and restarted, whether the SIM card communication state and the serial port communication state are abnormal is determined again, if all are normal, whether the network state of the target vehicle-mounted network interface device is abnormal is detected again according to a preset time interval, and the process jumps to step S110, and if still abnormal, a third self-healing restarting mechanism is started.
In some embodiments, after the re-detecting the second communication state of the target in-vehicle network interface device, the method further comprises:
and re-detecting the network state of the target vehicle-mounted network interface device according to a preset time interval under the condition that the second communication state is normal.
Optionally, if the network is recovered to be normal after the power-off restart is performed on the LTE module, the network state of the target vehicle-mounted network interface device is redetected according to a preset time interval, and the step S110 is skipped.
It should be noted that, the preset time interval may be set according to an actual requirement of the user, and is not particularly limited herein.
And S170, under the condition that the second communication state is abnormal, sending a third control instruction to enable the control module of the target vehicle-mounted network interface device to be powered off and restarted.
Optionally, if the network is not recovered to be normal after the power-off restarting of the LTE module, further performing the power-off restarting on the control module of the target on-vehicle network interface device.
In this embodiment, the control module and the LTE module are two modules of the target vehicle-mounted network interface device, and the control module controls the LTE module to perform operations such as network access, data transmission and reception through instructions.
In order to facilitate understanding of the technical solution of the embodiments of the present application, reference may also be made to fig. 2, where fig. 2 is a schematic diagram of a network recovery method of a vehicle network interface device provided in the embodiments of the present application. The network recovery method of the vehicle-mounted network interface device disclosed by the embodiment comprises the following steps: detecting a first network state of the target vehicle-mounted network interface device; under the condition that the first network state is abnormal, a first control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be restarted; re-detecting a second network state of the target vehicle network interface device; detecting a first communication state of the target vehicle-mounted network interface device under the condition that the second network state is normal; under the condition that the first communication state is abnormal, a second control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be powered off and restarted; re-detecting a second communication state of the target vehicle-mounted network interface device; and under the condition that the second communication state is abnormal, sending a third control instruction to enable the control module of the target vehicle-mounted network interface device to be powered off and restarted. When the vehicle-mounted TCE equipment is off-line, a self-healing mode with the shortest time can be selected according to the off-line reason until normal data communication is restored. If the module is lost in network attachment state and network connection state due to external interference of only the radio frequency part function, only resetting the radio frequency module of the communication module by a soft power-off and soft power-on mode to realize network re-access within 2 seconds; if the soft-off and soft-on are not capable of normally communicating, when the SIM card communication fault or the serial port communication fault is detected, the vehicle-mounted TCE equipment resets the LTE module for the first time; if the communication is not possible, the control module is reset by the on-board TCE device at the first time.
Example two
The embodiment provides a network recovery system for a vehicle-mounted network interface device, which can be used for executing the method embodiment of the present application. Fig. 3 is a schematic structural diagram of a network recovery system of a vehicle-mounted network interface device according to an embodiment of the present application, as shown in fig. 3, a system 300 provided in this embodiment includes:
a first detection module 301, configured to detect a first network state of the target vehicle-mounted network interface device;
a soft restart module 302, configured to send a first control instruction under the condition that the first network state is abnormal, so as to enable the LTE module of the target vehicle-mounted network interface device to perform soft restart;
a second detection module 303, configured to re-detect a second network state of the target vehicle-mounted network interface device;
a third detecting module 304, configured to detect a first communication state of the target vehicle-mounted network interface device under a condition that the second network state is normal;
a first restart module 305, configured to send a second control instruction to restart the LTE module of the target on-vehicle network interface device when the first communication state is abnormal;
A fourth detection module 306, configured to re-detect a second communication state of the target vehicle-mounted network interface device;
and the second restarting module 307 is configured to send a third control instruction to restart the power-off of the control module of the target vehicle-mounted network interface device when the second communication state is abnormal.
In some embodiments, the first detection module 301 includes: the first acquisition unit, the first statistics unit, the first judgement unit; wherein, the liquid crystal display device comprises a liquid crystal display device,
a first acquiring unit configured to acquire a network attachment state of the target vehicle-mounted network interface device;
the first statistical unit is used for counting the loss duration of the network attachment state to obtain a first loss duration;
and the first judging unit is used for judging that the first network state is abnormal under the condition that the first loss time is longer than the preset loss time.
In some embodiments, the first detection module 301 further comprises: the second acquisition unit, the second statistics unit, the second judgement unit; wherein, the liquid crystal display device comprises a liquid crystal display device,
the second obtaining unit is used for obtaining the network connection state of the target vehicle-mounted network interface device under the condition that the first loss duration is not greater than the preset loss duration;
The second statistical unit is used for counting the lost duration of the network connection state to obtain a second lost duration;
and the second judging unit is used for judging that the first network state is abnormal under the condition that the second loss time is longer than the preset loss time.
In some embodiments, the third detection module 304 includes: the first acquisition unit, the first statistics unit, the first judgement unit; wherein, the liquid crystal display device comprises a liquid crystal display device,
the first acquisition unit is used for acquiring the SIM card communication state of the target vehicle-mounted network interface device;
the first statistical unit is used for counting the interruption time of the communication of the SIM card to obtain a first interruption time;
and the first judging unit is used for judging that the first communication state is abnormal under the condition that the first interruption time length is longer than the preset interruption time length.
In some embodiments, the third detection module 304 further comprises: the second acquisition unit, the second statistics unit, the second judgement unit; wherein, the liquid crystal display device comprises a liquid crystal display device,
the second obtaining unit is used for obtaining the serial port communication state of the target vehicle-mounted network interface device under the condition that the first interrupt duration is not greater than the preset interrupt duration;
the second statistical unit is used for counting the interruption time of the serial port communication to obtain a second interruption time;
And the second judging unit is used for judging that the first communication state is abnormal under the condition that the second interruption time length is longer than the preset interruption time length.
In some embodiments, the system further comprises: the first execution unit, the detection unit and the second execution unit; wherein, the liquid crystal display device comprises a liquid crystal display device,
the first execution unit is used for sending a second control instruction under the condition that the second network state is abnormal so as to restart the power-off of the LTE module of the target vehicle-mounted network interface device;
a detection unit, configured to re-detect a third network state of the target vehicle-mounted network interface device;
and the second execution unit is used for sending a third control instruction under the condition that the third network state is abnormal so as to enable the control module of the target vehicle-mounted network interface device to be powered off and restarted.
In some embodiments, the system further comprises: and the third execution unit is used for re-detecting the network state of the target vehicle-mounted network interface device according to a preset time interval under the condition that the second communication state is normal.
It should be noted that, in some embodiments, the first detection module and the second detection module may be the same detection module; the third detection module and the fourth detection module may be the same detection module.
It will be appreciated by those skilled in the art that the structure shown in fig. 3 is not limiting of the system of embodiments of the present application and may include more or fewer modules/units than shown, or may combine certain modules/units, or may be arranged in a different manner.
The above-described respective modules/units may be functional modules or program modules, and may be implemented by software or hardware. For modules/units implemented in hardware, the various modules/units described above may be located in the same processor; or the individual modules/units described above may also be located in different processors, respectively, in any combination.
The system provided by the embodiment of the application comprises: a first detection module 301, configured to detect a first network state of the target vehicle-mounted network interface device; a soft restart module 302, configured to send a first control instruction under the condition that the first network state is abnormal, so as to enable the LTE module of the target vehicle-mounted network interface device to perform soft restart; a second detection module 303, configured to re-detect a second network state of the target vehicle-mounted network interface device; a third detecting module 304, configured to detect a first communication state of the target vehicle-mounted network interface device under a condition that the second network state is normal; a first restart module 305, configured to send a second control instruction to restart the LTE module of the target on-vehicle network interface device when the first communication state is abnormal; a fourth detection module 306, configured to re-detect a second communication state of the target vehicle-mounted network interface device; and the second restarting module 307 is configured to send a third control instruction to restart the power-off of the control module of the target vehicle-mounted network interface device when the second communication state is abnormal. When the vehicle-mounted TCE equipment is off-line, a self-healing mode with the shortest time can be selected according to the off-line reason until normal data communication is restored. If the module is lost in network attachment state and network connection state due to external interference of only the radio frequency part function, only resetting the radio frequency module of the communication module by a soft power-off and soft power-on mode to realize network re-access within 2 seconds; if the soft-off and soft-on are not capable of normally communicating, when the SIM card communication fault or the serial port communication fault is detected, the vehicle-mounted TCE equipment resets the LTE module for the first time; if the communication is not possible, the control module is reset by the on-board TCE device at the first time.
Example III
The present embodiment also provides a computer readable storage medium, in which a computer program is stored, where the computer program may implement the method steps as in the first embodiment when executed by a processor, and the description of the embodiment is not repeated here.
The computer-readable storage medium may also include, among other things, computer programs, data files, data structures, etc., alone or in combination. The computer readable storage medium or computer program may be specifically designed and understood by those skilled in the art of computer software, or the computer readable storage medium may be well known and available to those skilled in the art of computer software. Examples of the computer readable storage medium include: magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CDROM discs and DVDs; magneto-optical media, such as optical disks; and hardware means, specifically configured to store and execute computer programs, such as read-only memory (ROM), random Access Memory (RAM), flash memory; or a server, app application mall, etc. Examples of computer programs include machine code (e.g., code produced by a compiler) and files containing higher level code that may be executed by the computer using an interpreter. The described hardware devices may be configured to act as one or more software modules to perform the operations and methods described above, and vice versa. In addition, the computer readable storage medium may be distributed among networked computer systems, and the program code or computer program may be stored and executed in a decentralized manner.
Example IV
Fig. 4 is a connection block diagram of an electronic device according to an embodiment of the present application, as shown in fig. 4, the electronic device 400 may include: a processor 401, a memory 402, a multimedia component 403, an input/output (I/O) interface 404, and a communication component 405.
Wherein the processor 401 is arranged to perform all or part of the steps of the method as in embodiment one. The memory 402 is used to store various types of data, which may include, for example, instructions for any application or method in the electronic device, as well as application-related data.
The processor 401 may be an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), a digital signal processor (Digital Signal Processor, abbreviated as DSP), a digital signal processing device (Digital Signal Processing Device, abbreviated as DSPD), a programmable logic device (Programmable Logic Device, abbreviated as PLD), a field programmable gate array (Field Programmable Gate Array, abbreviated as FPGA), a controller, a microcontroller, a microprocessor or other electronic component implementation for executing the method in the above embodiment one.
The Memory 402 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk.
The multimedia component 403 may include a screen, which may be a touch screen, and an audio component for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in a memory or transmitted through a communication component. The audio assembly further comprises at least one speaker for outputting audio signals.
The I/O interface 404 provides an interface between the processor 401 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons.
The communication component 405 is used for wired or wireless communication between the electronic device 400 and other devices. The wired communication comprises communication through a network port, a serial port and the like; the wireless communication includes: wi-Fi, bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G, 4G, 5G, or a combination of one or more of them. The corresponding communication component 405 may thus comprise: wi-Fi module, bluetooth module, NFC module.
In summary, the present application provides a method, a system, a computer readable storage medium and an electronic device for recovering a network of a vehicle-mounted network interface device, where the method includes: detecting a first network state of the target vehicle-mounted network interface device; under the condition that the first network state is abnormal, a first control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be restarted; re-detecting a second network state of the target vehicle network interface device; detecting a first communication state of the target vehicle-mounted network interface device under the condition that the second network state is normal; under the condition that the first communication state is abnormal, a second control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be powered off and restarted; re-detecting a second communication state of the target vehicle-mounted network interface device; and under the condition that the second communication state is abnormal, sending a third control instruction to enable the control module of the target vehicle-mounted network interface device to be powered off and restarted. When the vehicle-mounted TCE equipment is off-line, a self-healing mode with the shortest time can be selected according to the off-line reason until normal data communication is restored. If the module is lost in network attachment state and network connection state due to external interference of only the radio frequency part function, only resetting the radio frequency module of the communication module by a soft power-off and soft power-on mode to realize network re-access within 2 seconds; if the soft-off and soft-on are not capable of normally communicating, when the SIM card communication fault or the serial port communication fault is detected, the vehicle-mounted TCE equipment resets the LTE module for the first time; if the communication is not possible, the control module is reset by the on-board TCE device at the first time.
It should be further understood that the methods or systems disclosed in the embodiments provided herein may be implemented in other manners. The above-described method or system embodiments are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and apparatuses according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, a computer program segment, or a portion of a computer program, which comprises one or more computer programs 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, and in fact may be executed substantially concurrently, or in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/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 programs.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, apparatus or device comprising such elements; if any, the terms "first," "second," etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of features indicated or implicitly indicating the precedence of features indicated; in the description of the present application, unless otherwise indicated, the terms "plurality", "multiple" and "multiple" mean at least two; if the description is to a server, it should be noted that the server may be an independent physical server or terminal, or may be a server cluster formed by a plurality of physical servers, or may be a cloud server capable of providing basic cloud computing services such as a cloud server, a cloud database, a cloud storage, a CDN, and the like; in this application, if an intelligent terminal or a mobile device is described, it should be noted that the intelligent terminal or the mobile device may be a mobile phone, a tablet computer, a smart watch, a netbook, a wearable electronic device, a personal digital assistant (Personal Digital Assistant, PDA), an augmented Reality device (Augmented Reality, AR), a Virtual Reality device (VR), an intelligent television, an intelligent sound device, a personal computer (Personal Computer, PC), etc., but the present application is not limited thereto.
Finally it is pointed out that in the description of the present specification, the terms "one embodiment," "some embodiments," "example," "one example" or "some examples" and the like refer to particular features, structures, materials or characteristics described in connection with the embodiment or example as being included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been illustrated and described above, it should be understood that the above-described embodiments are illustrative only and are not intended to limit the present application to the details of the embodiments employed to facilitate the understanding of the present application. Any person skilled in the art to which this application pertains will be able to make any modifications and variations in form and detail of implementation without departing from the spirit and scope of the disclosure, but the scope of protection of this application shall be subject to the scope of the claims that follow.

Claims (10)

1. A method for recovering a network of a vehicle-mounted network interface device, the method being applied to a control module of a target vehicle-mounted network interface device, the method comprising:
detecting a first network state of the target vehicle-mounted network interface device, wherein the first network state comprises a network attachment state and a network connection state;
under the condition that the first network state is abnormal, a first control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be restarted;
re-detecting a second network state of the target vehicle network interface device;
detecting a first communication state of the target vehicle-mounted network interface device under the condition that the second network state is normal, wherein the first communication state comprises a SIM card communication state and a serial port communication state;
under the condition that the first communication state is abnormal, a second control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be powered off and restarted;
re-detecting a second communication state of the target vehicle-mounted network interface device;
and under the condition that the second communication state is abnormal, sending a third control instruction to enable the control module of the target vehicle-mounted network interface device to be powered off and restarted.
2. The method of claim 1, wherein the detecting the first network state of the target in-vehicle network interface device comprises:
acquiring a network attachment state of the target vehicle-mounted network interface device;
counting the loss time length of the network attachment state to obtain a first loss time length;
and under the condition that the first loss time length is longer than a preset loss time length, judging that the first network state is abnormal.
3. The method of claim 2, wherein the detecting the first network state of the target in-vehicle network interface device further comprises:
acquiring a network connection state of the target vehicle-mounted network interface device under the condition that the first loss duration is not greater than the preset loss duration;
counting the lost time length of the network connection state to obtain a second lost time length;
and under the condition that the second loss time is longer than the preset loss time, judging that the first network state is abnormal.
4. The method of claim 1, wherein the detecting the first communication state of the target in-vehicle network interface device comprises:
acquiring the SIM card communication state of the target vehicle-mounted network interface equipment;
Counting the interruption time of the SIM card to obtain a first interruption time;
and under the condition that the first interruption time length is longer than a preset interruption time length, judging that the first communication state is abnormal.
5. The method of claim 4, wherein detecting the first communication state of the target in-vehicle network interface device further comprises:
acquiring a serial port communication state of the target vehicle-mounted network interface device under the condition that the first interruption time is not longer than the preset interruption time;
counting the interruption time of serial port communication to obtain a second interruption time;
and under the condition that the second interruption time length is longer than the preset interruption time length, judging that the first communication state is abnormal.
6. The method of claim 1, wherein after the re-detecting the second network state of the target in-vehicle network interface device, the method further comprises:
under the condition that the second network state is abnormal, a second control instruction is sent to enable the LTE module of the target vehicle-mounted network interface device to be powered off and restarted;
re-detecting a third network state of the target vehicle network interface device;
And under the condition that the third network state is abnormal, sending a third control instruction to enable the control module of the target vehicle-mounted network interface device to be powered off and restarted.
7. The method of claim 1, wherein after the re-detecting the second communication state of the target in-vehicle network interface device, the method further comprises:
and re-detecting the network state of the target vehicle-mounted network interface device according to a preset time interval under the condition that the second communication state is normal.
8. A vehicle network interface device network recovery system, the system comprising:
the first detection module is used for detecting a first network state of the target vehicle-mounted network interface device, wherein the first network state comprises a network attachment state and a network connection state;
the soft restart module is used for sending a first control instruction under the condition that the first network state is abnormal so as to enable the LTE module of the target vehicle-mounted network interface device to be subjected to soft restart;
the second detection module is used for re-detecting a second network state of the target vehicle-mounted network interface device;
the third detection module is used for detecting a first communication state of the target vehicle-mounted network interface device under the condition that the second network state is normal, wherein the first communication state comprises a SIM card communication state and a serial port communication state;
The first restarting module is used for sending a second control instruction under the condition that the first communication state is abnormal so as to restart the LTE module of the target vehicle-mounted network interface device in a power-off mode;
a fourth detection module, configured to re-detect a second communication state of the target vehicle-mounted network interface device;
and the second restarting module is used for sending a third control instruction under the condition that the second communication state is abnormal so as to enable the control module of the target vehicle-mounted network interface device to perform power-off restarting.
9. A computer readable storage medium storing a computer program which, when executed by one or more processors, implements the method of any one of claims 1-7.
10. An electronic device comprising a memory and a processor, wherein the memory has stored thereon a computer program, the memory and the processor being communicatively coupled to each other, the computer program, when executed by the processor, performing the method of any of claims 1-7.
CN202210651640.3A 2022-06-09 2022-06-09 Network recovery method, system, medium and electronic device for vehicle-mounted network interface device Active CN115037601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210651640.3A CN115037601B (en) 2022-06-09 2022-06-09 Network recovery method, system, medium and electronic device for vehicle-mounted network interface device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210651640.3A CN115037601B (en) 2022-06-09 2022-06-09 Network recovery method, system, medium and electronic device for vehicle-mounted network interface device

Publications (2)

Publication Number Publication Date
CN115037601A CN115037601A (en) 2022-09-09
CN115037601B true CN115037601B (en) 2023-07-14

Family

ID=83123401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210651640.3A Active CN115037601B (en) 2022-06-09 2022-06-09 Network recovery method, system, medium and electronic device for vehicle-mounted network interface device

Country Status (1)

Country Link
CN (1) CN115037601B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109274531A (en) * 2018-09-15 2019-01-25 深圳市海能通信股份有限公司 Data acquisition equipment method for restarting, system and computer readable storage medium
CN112203316A (en) * 2020-09-30 2021-01-08 Oppo(重庆)智能科技有限公司 Method and device for recovering network abnormity, electronic equipment and storage medium
CN113098698A (en) * 2021-04-30 2021-07-09 许萌 Communication recovery method, equipment, storage medium and communication interruption restarting device
WO2022056081A1 (en) * 2020-09-10 2022-03-17 Arris Enterprises Llc A wireless device and a method for automatic recovery from failures

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10027362A1 (en) * 2000-06-02 2001-12-06 Bosch Gmbh Robert Method for handling a faulty device in a vehicle communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109274531A (en) * 2018-09-15 2019-01-25 深圳市海能通信股份有限公司 Data acquisition equipment method for restarting, system and computer readable storage medium
WO2022056081A1 (en) * 2020-09-10 2022-03-17 Arris Enterprises Llc A wireless device and a method for automatic recovery from failures
CN112203316A (en) * 2020-09-30 2021-01-08 Oppo(重庆)智能科技有限公司 Method and device for recovering network abnormity, electronic equipment and storage medium
CN113098698A (en) * 2021-04-30 2021-07-09 许萌 Communication recovery method, equipment, storage medium and communication interruption restarting device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于LTE技术铁路调度通信系统研究及应用;王迎春;付文刚;杨居丰;;铁道通信信号(07);全文 *

Also Published As

Publication number Publication date
CN115037601A (en) 2022-09-09

Similar Documents

Publication Publication Date Title
US11095406B2 (en) Methods, systems, and media for managing network connections
KR20180028847A (en) Method and Apparatus for Switching Network
CN101911790A (en) Mobile network device battery conservation system and methods
US20170188230A1 (en) Method and a server for managing profiles
CN108093451B (en) Random access control method, device, storage medium and mobile terminal
CN114268565A (en) Terminal device, heartbeat packet transmission interval detection method thereof and storage medium
CN112218342A (en) Method, device and system for realizing core network sub-slice disaster tolerance
CN110908691A (en) Matching method, device, equipment and medium for tire pressure monitoring system
CN111884875A (en) Offline device determination method and device
CN115037601B (en) Network recovery method, system, medium and electronic device for vehicle-mounted network interface device
CN111679925A (en) Database fault processing method and device, computing equipment and storage medium
JP6275882B2 (en) Method for switching monitoring frequency channel number by access terminal and access terminal
CN107659510B (en) Method and device for uploading data by underground barrel terminal, storage medium and underground barrel terminal
US10904300B2 (en) Method and device for managing user information
CN113157481A (en) Cluster-based server jump time fault processing method, device and system
CN112788265B (en) Video data storage method and device, image acquisition equipment and readable storage medium
CN111464688B (en) Working mode switching method and device
CN114265693A (en) Data information pushing method, device, equipment and medium based on Internet of things platform
CN109873917B (en) Wireless image transmission communication method, device, image transmission equipment and system
US8842583B2 (en) System and method for maintaining data connectivity over a satellite link
CN112291749A (en) Method and device for awakening T-Box, T-Box and server
CN110650259A (en) Call request response method, device, server, terminal and storage medium
CN106487650B (en) Message synchronization method and server
CN107949008B (en) Method and device for detecting LTE network access result and computer storage medium
CN116669084B (en) Fault restoration method, device, equipment and storage medium based on cellular network

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
GR01 Patent grant
GR01 Patent grant