CN116669084B - Fault restoration method, device, equipment and storage medium based on cellular network - Google Patents

Fault restoration method, device, equipment and storage medium based on cellular network Download PDF

Info

Publication number
CN116669084B
CN116669084B CN202310945629.2A CN202310945629A CN116669084B CN 116669084 B CN116669084 B CN 116669084B CN 202310945629 A CN202310945629 A CN 202310945629A CN 116669084 B CN116669084 B CN 116669084B
Authority
CN
China
Prior art keywords
network
fault
communication network
repairing
experience
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
CN202310945629.2A
Other languages
Chinese (zh)
Other versions
CN116669084A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202310945629.2A priority Critical patent/CN116669084B/en
Publication of CN116669084A publication Critical patent/CN116669084A/en
Application granted granted Critical
Publication of CN116669084B publication Critical patent/CN116669084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • 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 discloses a fault repairing method, device and equipment based on a cellular network and a storage medium, wherein the fault repairing method based on the cellular network comprises the following steps: responding to the detected network abnormal event of the main communication network, and acquiring signaling in a preset collection time; switching the main communication network into a preset auxiliary communication network; the collected signaling is sent to a target platform through a secondary communication network, and a repairing instruction returned by the target platform is obtained; and repairing the network abnormal event based on the repairing instruction. By the scheme, the fault repairing efficiency of the equipment using the cellular network can be improved.

Description

Fault restoration method, device, equipment and storage medium based on cellular network
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for repairing a fault based on a cellular network.
Background
With the continuous development of communication technology, cellular networks have become the basis of mobile communication through construction for many years, and the coverage range is wide, and the communication is safe and reliable.
Currently, due to the wide coverage of a cellular network, terminal devices accessing the cellular network can be deployed in multiple areas, but for some terminal devices in remote areas, if the devices have network faults, technicians are usually required to go to the field to analyze and solve the faults, and the fault repair efficiency is very low.
Disclosure of Invention
The application provides at least a fault repairing method, device, equipment and computer readable storage medium based on a cellular network.
The first aspect of the present application provides a fault repairing method based on a cellular network, including: responding to the detected network abnormal event of the main communication network, and acquiring signaling in a preset collection time; switching the main communication network into a preset auxiliary communication network; sending the collected signaling to a target platform through the auxiliary communication network to obtain a repairing instruction returned by the target platform; and repairing the network abnormal event based on the repairing instruction.
In an embodiment, the step of obtaining the signaling in the preset collection time includes: sequentially reading fault repairing experience from the obtained fault experience package; executing a fault repair instruction corresponding to the read fault repair experience; if the fault repairing instruction corresponding to the fault repairing experience in the fault experience packet is executed, and a network abnormal event of the main communication network is detected, signaling in the preset collecting time is obtained.
In an embodiment, the step of executing the fault repair instruction corresponding to the read fault repair experience includes: if the network abnormal event is repaired based on the current fault repairing instruction within the preset repairing time, if the repairing result is that the repairing fails, executing the fault repairing instruction corresponding to the next read fault repairing experience, wherein the reading time of the current fault repairing instruction in the fault repairing experience is earlier than the reading time of the next fault repairing experience in the fault repairing experience; if the repair result of repairing the network abnormal event based on the current fault repair instruction is that the repair is successful in the repair time, the next fault repair experience is paused or stopped to be read.
In one embodiment, before the step of responding to the detected network anomaly event of the primary communication network, the method further comprises: periodically receiving and transmitting link detection data through the main communication network, wherein the link detection data are used for detecting whether the main communication network is normal or not; and if the receiving and transmitting time of the link detection data is detected to be larger than the preset receiving and transmitting time threshold value, judging that the network abnormal event occurs in the main communication network.
In an embodiment, after the step of switching the primary communication network to the preset secondary communication network, the method further includes: detecting whether the secondary communication network is normal; if not, the auxiliary communication network is switched to the main communication network, and the network module corresponding to the main communication network is recovered.
In an embodiment, the step of performing a recovery operation on the network module corresponding to the primary communication network includes: in a preset recovery period, carrying out one-time reset operation on the network module at each preset first reset time interval, and recording the reset time when the reset operation is carried out; if the reset time is longer than the recovery period and the abnormality of the main communication network after the reset operation is detected, performing a reset operation on the network module once every second preset reset time; wherein the second reset time is longer than the first reset time.
In an embodiment, the reset operation includes a hard reset operation and a soft reset operation, and the step of performing a reset operation on the network module includes: performing soft reset operation on the network module to obtain a communication link of the network module after the soft reset operation; and if the communication link of the network module after the soft reset operation is abnormal, performing hard reset operation on the communication link of the network module after the soft reset operation.
A second aspect of the present application provides a cellular network based fault resilient device, the device comprising: the signaling collection module is used for responding to the detected network abnormal event of the main communication network and obtaining signaling in the preset collection time; the network switching module is used for switching the main communication network into a preset auxiliary communication network; the data transceiver module is used for transmitting the collected signaling to a target platform through the auxiliary communication network to obtain a repair instruction returned by the target platform; and the repair module is used for repairing the network abnormal event based on the repair instruction.
A third aspect of the present application provides an electronic device comprising a memory and a processor for executing program instructions stored in the memory to implement the above-described cellular network based fault remediation method.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon program instructions which, when executed by a processor, implement the above-described cellular network based fault remediation method.
According to the scheme, when the network abnormality of the main communication network is detected, the signaling in the preset collection time is acquired, so that data such as fault signals and the like when the main communication network is abnormal are recorded; switching the main communication network into a preset auxiliary communication network, so as to ensure that the cellular equipment can use a normal network to communicate outwards; the collected signaling is sent to a target platform through a secondary communication network, and a repairing instruction returned by the target platform is obtained; based on the repairing instruction, the network abnormal event is repaired, so that the main communication network of the cellular equipment can be repaired on line, and the fault repairing efficiency of the cellular equipment is improved.
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 as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
FIG. 1 is a flow diagram of an exemplary embodiment of a cellular network based failover method of the present application;
fig. 2 is a schematic structural diagram of a target device in the cellular network-based fault repairing method of the present application;
FIG. 3 is an exemplary application scenario diagram of a cellular network-based failover method of the present application;
FIG. 4 is a block diagram of a cellular network based fault resilient device shown in accordance with an exemplary embodiment of the present application;
FIG. 5 is a schematic diagram of an embodiment of an electronic device of the present application;
FIG. 6 is a schematic diagram of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
The following describes embodiments of the present application in detail with reference to the drawings.
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, interfaces, techniques, etc., in order to provide a thorough understanding of the present application.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship. Further, "a plurality" herein means two or more than two. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Referring to fig. 1, fig. 1 is a flow chart illustrating an exemplary embodiment of a cellular network-based fault remediation method of the present application. Specifically, the method may include the steps of:
step S110, in response to the detected network abnormal event of the main communication network, the signaling in the preset collection time is obtained.
The main communication network refers to a network that uses devices of the cellular network to implement service functions, for example, for a monitoring device, a network that transmits video data to a service platform is the main communication network, and if a network anomaly occurs in the main communication network, the service functions of video data transmission are affected.
The network anomaly event refers to an anomaly of the communication network, and the reasons for the anomaly of the communication network may be a device problem using a cellular network, a base station problem, a core network problem, or a user arrearage problem.
For convenience of explanation, a device using a cellular network will be hereinafter referred to as a target device.
Specifically, if the network abnormal event of the main communication network is detected, signaling in a preset collection time after the network abnormal event is obtained, so that the current situation of the communication network can be analyzed through the obtained signaling.
Step S120, the primary communication network is switched to a preset secondary communication network.
The secondary communication network refers to a network which uses the equipment of the cellular network to realize the operation and maintenance functions, and is only used for diagnosing and repairing network abnormality for the monitoring equipment, realizes the operation and maintenance functions and is not used for transmitting video data.
For example, reference may be made to fig. 2, fig. 2 is a schematic structural diagram of a target device in the fault repairing method based on a cellular network according to the present application, where the target device needs to access the cellular network by means of a subscriber identity module (Subscriber Identity Module, SIM), and in fig. 2, SIM1 provides a primary communication network, SIM2 provides a secondary communication network, and a 5G module in the target device is connected to SIM1 and SIM2 respectively through a SIM switch, and a specific connection manner may refer to a setting manner (for example, a contact connection manner) of a SIM card on the market, which is not described herein, and after detecting an abnormality of the primary communication network, SIM1 may be switched to SIM2 through the SIM switch.
Optionally, the setting mode of the SIM1 may be an external SIM, so as to facilitate replacement, disassembly, installation, etc. of the SIM card of the target device; the setting mode of the SIM2 can be an internal eSIM, and compared with the external SIM, the setting mode of the SIM has stronger stability, stronger shock resistance, high temperature resistance and reliability, can adapt to severe working environment, ensures the stability of the auxiliary communication network, and ensures that the main communication network can be diagnosed and repaired based on the auxiliary communication network stably in case of abnormality.
It should be further noted that, for the eSIM card of the secondary communication network in the multiple target device clusters, operation and maintenance traffic sharing can be implemented by means of a traffic pool, so that unnecessary traffic waste of the eSIM card is reduced to the greatest extent.
And step S130, the collected signaling is sent to the target platform through the auxiliary communication network, and a repair instruction returned by the target platform is obtained.
The target platform refers to an operation and maintenance platform for diagnosing and repairing network abnormal events, which is different from a service platform docked with a main communication network, and referring to fig. 3, fig. 3 is an exemplary application scenario diagram in the fault repairing method based on a cellular network, when the network abnormal events occur in the main communication network, the main communication network is switched to a secondary communication network, and collected signaling is sent to the operation and maintenance platform through a public network based on the secondary communication network, wherein network links of the main communication network and the secondary communication network are different, the main communication network uses a private network link, the security of service data is ensured, the secondary communication network uses a public network link, after the network abnormal events occur in the main communication network, normal docking can be performed by the public network link, the operation and maintenance platform and operation staff, the network links of the main communication network and the secondary communication network are separated, and the network abnormal events caused by base station problems are avoided, so that the main communication network and the secondary communication network cannot normally communicate.
The collected signaling is sent to the target platform through the secondary communication network, and then a repair instruction returned by the target platform can be received, wherein the repair instruction can be generated by the target platform in response to an instruction input operation of an operation and maintenance personnel.
Further, after the target device sends the collected signaling to the target platform, the target platform can push the signaling to the terminal of the corresponding operation and maintenance personnel so as to facilitate the analysis of the signaling log by the operation and maintenance personnel, and provide a solution, if network information and the like are further collected, the terminal generates a repair instruction based on the received instruction input operation and sends the repair instruction to the target device through the target platform, the target device switches to the main communication network again and executes the repair instruction after receiving the repair instruction returned by the target platform, a corresponding execution result is obtained, and switches to the auxiliary communication network again to send the instruction execution result after the instruction execution is completed, so that the network abnormal event repair operation is circularly performed until the main communication network is recovered to be normal.
If the access of the target device to the main communication network fails due to the operator network or due to the arrearage of the SIM card, the operator sends a waiting instruction to enable the target device to keep the connection of the auxiliary communication network and wait, and the operator notifies the operator to perform fault repair or to recharge the SIM card and then controls the target device to access the main communication network again.
And step S140, repairing the network abnormal event based on the repairing instruction.
Specifically, the network abnormal event of the main communication network is repaired based on the received repairing instruction returned by the operation and maintenance platform.
It can be seen that when the network abnormality of the main communication network is detected, the signaling in the preset collection time is obtained, so that data such as fault signals and the like when the main communication network is abnormal are recorded; switching the main communication network into a preset auxiliary communication network, so as to ensure that the cellular equipment can use a normal network to communicate outwards; the collected signaling is sent to a target platform through a secondary communication network, and a repairing instruction returned by the target platform is obtained; based on the repairing instruction, the network abnormal event is repaired, so that the main communication network of the cellular equipment can be repaired on line, and the fault repairing efficiency of the cellular equipment is improved.
On the basis of the above embodiment, the step of acquiring the signaling in the preset collection time is further described in the embodiment of the present application. Specifically, the method of the embodiment comprises the following steps:
sequentially reading fault repairing experience from the obtained fault experience package; executing a fault repair instruction corresponding to the read fault repair experience; if the fault repairing instruction corresponding to the fault repairing experience in the fault experience packet is executed, detecting a network abnormal event of the main communication network, and acquiring signaling in a preset collecting time.
The fault experience package is provided with a plurality of fault repair experiences, the fault repair experiences are used for repairing network abnormal events and can be obtained by recording the repair process of each network abnormal event or by recording the repair process of the network abnormal event possibly occurring in advance; failure experience includes, but is not limited to, closing an IPV6 request, closing an IMS, locking in turn currently registered active cell BAND, soft resetting the module, hard resetting the module, etc.
The fault experience packet can be stored in the target device before the network abnormal event occurs in the main communication network, and the storage mode comprises, but is not limited to, transmitting the fault experience packet to the target device through the main communication network, transmitting the fault experience packet to the target device through the auxiliary communication network or transmitting the fault experience packet to the target device through wired connection, and storing the fault experience packet in advance can enable the target device to perform self-checking repair when the network abnormal event occurs, so that compared with the situation that a repair instruction is waited to be received from the operation and maintenance platform, the repair efficiency is improved, and the situation that the network abnormal event occurs in the main communication network and the auxiliary communication network simultaneously can be prevented, so that the collected signaling can not be normally transmitted through the auxiliary communication network is avoided; in addition, the fault experience package may be obtained from the operation and maintenance platform through the secondary communication network after the network abnormal event occurs in the primary communication network, which is not limited herein, and the fault experience package and the fault repair experience therein may be updated online or offline.
For example, M pieces of fault repair experience exist in the fault experience package, reading from the 1 st piece of fault repair experience in turn, and analyzing the read fault repair experience when 1 piece of fault repair experience is read, so as to obtain a fault repair instruction corresponding to the fault repair experience; executing the analyzed fault restoration instruction to restore the fault; if the network abnormal event of the main communication network is not repaired by the fault repairing instruction corresponding to the current fault repairing experience, the next fault repairing experience is read, fault repairing is carried out based on the fault repairing instruction analyzed by the next fault repairing experience until the fault repairing instructions corresponding to all the fault repairing experiences in the fault experience package are executed, if the network abnormal event of the main communication network is still detected, the fault experience in the current fault experience package is indicated to be unable to repair the network abnormal event, the network setting of the target equipment is restored, the network module full signaling log collection is started, signaling in a preset collection time (such as within 5 minutes) is obtained, and if the network abnormal event of the main communication network is not detected after the preset collection time is passed, signaling collection and uploading are carried out after the next occurrence of the network abnormal event.
Optionally, after the fault repairing instructions corresponding to all the fault repairing experiences in the fault experience package are executed, if the network abnormal event of the main communication network is still detected, whether the current network abnormal event of the main communication network and the network abnormal event of the main communication network detected for the first time are the same network event can be further judged; if yes, indicating that the fault experience in the current fault experience package cannot repair the network abnormal event, and acquiring signaling in a preset collection event; if not, the fault repair experience in the fault experience packet can be sequentially read to try to repair the network abnormal event of the current main communication network.
It can be seen that, in the embodiment of the application, the network abnormal event of the main communication network is repaired by reading the fault repairing experience in the fault experience packet, so that the repairing efficiency of the main communication network of the target equipment is improved, and the online repairing of the signaling which is collected and cannot be normally sent by the target equipment through the auxiliary communication network can be avoided by storing the fault experience packet in the target equipment in advance.
On the basis of the above embodiment, the steps of executing the fault repair instruction corresponding to the read fault repair experience are further described in the embodiment of the present application. Specifically, the steps of the present embodiment include:
if the repair result of the network abnormal event based on the current fault repair instruction is that the repair fails in the preset repair time, executing the read fault repair instruction corresponding to the next fault repair experience, wherein the read time of the current fault repair instruction in the fault repair experience is earlier than the read time of the next fault repair experience in the fault repair experience; if the repair result of repairing the network abnormal event based on the current fault repair instruction is that the repair is successful in the repair time, the next fault repair experience is paused or stopped to be read.
By way of example, in a normal case, a heartbeat keep-alive link is set between the target device and the target platform based on a heartbeat mechanism, the heartbeat keep-alive link is used for ensuring the validity of network connection between the target device and the target platform, the target device periodically sends heartbeat data packets to the target platform through the heartbeat keep-alive link, the target platform sends heartbeat reply information to the target device based on the received heartbeat data packets to indicate that the target platform receives the heartbeat data packets sent by the target device through the heartbeat keep-alive link, so that the two terminals mutually confirm that network communication between the two terminals is normal, further, whether a network abnormal event occurs is judged, whether the network abnormal time is repaired is judged, for example, the target device periodically sends the heartbeat data packets to the target platform, after the preset heartbeat detection time elapses, the target device does not receive the heartbeat reply information returned by the target platform, and then the network abnormal event is judged to occur between the target device and the target platform.
Specifically, after repairing the network abnormal event based on the current fault repairing instruction corresponding to the current read fault repairing experience, if the heartbeat reply information returned by the target platform is still not received within a preset repairing time (for example, within 5 minutes), determining that the repairing result is a repairing failure, and executing the fault repairing instruction corresponding to the next read fault repairing experience.
Similarly, if the heartbeat reply information returned by the target platform is received within a preset repair time (for example, within 5 minutes), the repair result is judged to be successful in repair, and the next fault repair experience is paused or stopped.
Based on the above embodiments, the steps before responding to the detected network anomaly event of the primary communication network are further described in the embodiments of the present application. Specifically, the steps of this embodiment include:
periodically receiving and transmitting link detection data through the main communication network, wherein the link detection data are used for detecting whether the main communication network is normal or not; if the receiving and transmitting time of the detected link data is detected to be larger than the preset receiving and transmitting time threshold value, judging that the network abnormal event occurs in the main communication network.
The foregoing embodiments are described with reference to the foregoing embodiments, in which link detection data is periodically received and transmitted through a primary communication network based on a preset heartbeat mechanism, where the link detection data corresponds to the heartbeat packet and the heartbeat reply information in the foregoing embodiments; if the receiving and transmitting time of the link detection data is detected to be larger than the preset receiving and transmitting time threshold, the network abnormal event of the main communication network is judged, wherein the receiving and transmitting time threshold is equivalent to the preset repairing time in the embodiment.
For the heartbeat mechanism, the heartbeat data packet is usually an empty message or some specific identifier, the sender sends the heartbeat data packet to the receiver at regular time, and the receiver replies an acknowledgement message (heartbeat reply message) immediately after receiving the heartbeat data packet. In this way it can be detected whether the connection between the two parties is still active.
It can be seen that, in the embodiment of the application, by setting a heartbeat mechanism on the main communication network, a persistent connection is established between the target device and the target platform, so that the stability and reliability of the connection are ensured, and whether the main communication network between the target device and the target platform is normal is detected.
On the basis of the above embodiments, the steps after switching the primary communication network to the preset secondary communication network are further described in the embodiments of the present application. Specifically, the steps of the present embodiment include:
detecting whether the secondary communication network is normal; if not, the auxiliary communication network is switched to the main communication network, and the network module corresponding to the main communication network is recovered.
The auxiliary communication network is used for realizing the operation and maintenance function, and if the auxiliary communication network is detected to have a network abnormal event, the collected signaling cannot be uploaded to the operation and maintenance platform through the auxiliary communication network, and a repair instruction issued by the operation and maintenance platform cannot be received to repair the fault.
For example, the method for detecting whether the secondary communication network is normal may refer to the method for setting the heartbeat mechanism in the foregoing embodiment, or other methods for detecting network failure in the art, which is not limited herein.
Specifically, after switching to the secondary communication network, if the secondary communication network is detected to be abnormal, it may be that the target device fails, so that the secondary communication network is switched back to the primary communication network, and a preset recovery operation (such as a restarting operation) is performed on a network module corresponding to the primary communication network, where the network module includes a 5G module, and the network modules corresponding to the primary communication network and the secondary communication network may be the same or different.
As can be seen from the above, when the network anomaly event is detected in the secondary communication network, the method solves the problem that the primary communication network and the secondary communication network cannot be normally used by performing the recovery operation on the network module in the target device.
On the basis of the above embodiments, the steps of recovering the network module corresponding to the main communication network are further described in the embodiments of the present application. Specifically, the steps of the present embodiment include:
in a preset recovery period, carrying out one-time reset operation on the network module at each preset first reset time interval, and recording the reset time when the reset operation is carried out; if the reset time is longer than the recovery period and the abnormality of the main communication network after the reset operation is detected, carrying out one-time reset operation on the network module at each preset second reset time; wherein the second reset time is longer than the first reset time.
If it is detected that the primary communication network and the secondary communication network are abnormal, an emergency recovery operation needs to be performed on the target device.
Specifically, the quick recovery operation is performed within a preset recovery period (for example, within 7 days after detecting a network abnormal event of the main communication network), that is, the network module is reset at high frequency, and the network module is reset once every a preset first reset time (for example, 1 hour) and the reset time of the reset operation is recorded; if the reset time is longer than the recovery period (for example, after 7 days of detecting a network abnormal event of the main communication network), performing a slow recovery operation, reducing the frequency of performing a reset operation on the network module, and performing a reset operation on the network module once every a preset second reset time (for example, 1 day).
Based on the above, the fast recovery operation and the slow recovery operation are performed on the network module respectively based on different time periods after the network abnormal event occurs, so that the primary communication network and the secondary communication network are restored to be normal as much as possible in the early stage of the network abnormal event, if the primary communication network and the secondary communication network cannot be restored to be normal within the preset recovery time period, the slow recovery operation is performed, the resource consumption required by the recovery operation is reduced, and the influence on the network module is prevented.
On the basis of the above embodiment, the embodiment of the application further describes the step of performing a reset operation on the network module. Specifically, the one-time reset operation includes a soft reset operation and a hard reset operation, and the steps of the present embodiment include:
performing soft reset operation on the network module to obtain a communication link of the network module after the soft reset operation; and if the communication link of the network module after the soft reset operation is detected to be abnormal, performing the hard reset operation on the communication link of the network module after the soft reset operation.
The soft reset operation refers to controlling the network module to enter the flight mode to cut off the communication network and then exit the flight mode to reconnect the communication network.
The hard reset operation refers to controlling the network module to be powered down and then powered up to restart the network module.
Specifically, in one reset operation, the soft reset operation is performed (the flying mode is entered and then the flying mode is exited), and if the network is recovered to be normal after the soft reset operation, the hard reset is not performed any more; if the network does not return to normal after the soft reset operation, a hard reset operation is performed (powering down the network module and then powering up again).
It should be noted that, the main body of performing the fault repairing method based on the cellular network may be a fault repairing apparatus based on the cellular network, for example, the fault repairing method based on the cellular network may be performed by a terminal device or a server or other processing device, where the terminal device may be a User Equipment (UE), a computer, a mobile device, a User terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, or the like. The execution subject of the cellular network based fault remediation method may also be a DSP (Digital Signal Process) master controller in the target device. In some possible implementations, the method for repairing a fault based on a cellular network may be implemented by a processor invoking computer readable instructions stored in a memory.
Fig. 4 is a block diagram of a cellular network-based fault resilient device, as shown in an exemplary embodiment of the present application. As shown in fig. 4, the exemplary cellular network-based fault resilient device 400 includes: a signaling collection module 410, a network switch module 420, a data transceiver module 430, and a repair module 440. Specifically:
a signaling collection module 410, configured to obtain signaling within a preset collection time in response to a detected network anomaly event of the primary communication network;
the network switching module 420 is configured to switch the primary communication network to a preset secondary communication network;
the data transceiver module 430 is configured to send the collected signaling to the target platform through the secondary communication network, so as to obtain a repair instruction returned by the target platform;
the repair module 440 is configured to repair the network abnormal event based on the repair instruction.
In the exemplary cellular network-based fault repairing apparatus, when a network abnormality of a main communication network is detected, signaling in a preset collection time is acquired to record data such as a fault signal when the main communication network is abnormal; switching the main communication network into a preset auxiliary communication network, so as to ensure that the cellular equipment can use a normal network to communicate outwards; the collected signaling is sent to a target platform through a secondary communication network, and a repairing instruction returned by the target platform is obtained; based on the repairing instruction, the network abnormal event is repaired, so that the main communication network of the cellular equipment can be repaired on line, and the fault repairing efficiency of the cellular equipment is improved.
The functions of each module may be referred to an embodiment of a fault repairing method based on a cellular network, which is not described herein.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the application. The electronic device 500 comprises a memory 501 and a processor 502, the processor 502 being adapted to execute program instructions stored in the memory 501 for implementing the steps of any of the above-described embodiments of the cellular network based fault remediation method. In one particular implementation scenario, electronic device 500 may include, but is not limited to: the electronic device 500 may also include mobile devices such as a notebook computer and a tablet computer, and is not limited herein.
In particular, the processor 502 is configured to control itself and the memory 501 to implement the steps of any of the above-described embodiments of the cellular network based failover method. The processor 502 may also be referred to as a CPU (Central Processing Unit ). The processor 502 may be an integrated circuit chip with signal processing capabilities. The processor 502 may also be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 502 may be commonly implemented by an integrated circuit chip.
According to the scheme, when the network abnormality of the main communication network is detected, the signaling in the preset collection time is acquired, so that data such as fault signals and the like when the main communication network is abnormal are recorded; switching the main communication network into a preset auxiliary communication network, so as to ensure that the cellular equipment can use a normal network to communicate outwards; the collected signaling is sent to a target platform through a secondary communication network, and a repairing instruction returned by the target platform is obtained; based on the repairing instruction, the network abnormal event is repaired, so that the main communication network of the cellular equipment can be repaired on line, and the fault repairing efficiency of the cellular equipment is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an embodiment of a computer readable storage medium according to the present application. The computer readable storage medium 610 stores program instructions 611 executable by a processor, the program instructions 611 for implementing steps in any of the above-described embodiments of a cellular network based fault remediation method.
According to the scheme, when the network abnormality of the main communication network is detected, the signaling in the preset collection time is acquired, so that data such as fault signals and the like when the main communication network is abnormal are recorded; switching the main communication network into a preset auxiliary communication network, so as to ensure that the cellular equipment can use a normal network to communicate outwards; the collected signaling is sent to a target platform through a secondary communication network, and a repairing instruction returned by the target platform is obtained; based on the repairing instruction, the network abnormal event is repaired, so that the main communication network of the cellular equipment can be repaired on line, and the fault repairing efficiency of the cellular equipment is improved.
In some embodiments, functions or modules included in an apparatus provided by the embodiments of the present disclosure may be used to perform a method described in the foregoing method embodiments, and specific implementations thereof may refer to descriptions of the foregoing method embodiments, which are not repeated herein for brevity.
The foregoing description of various embodiments is intended to highlight differences between the various embodiments, which may be the same or similar to each other by reference, and is not repeated herein for the sake of brevity.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical, or other forms.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.

Claims (7)

1. A method of fault remediation based on a cellular network, the method being applied to a target device, the method comprising:
sequentially reading fault repair experience from an obtained fault experience packet in response to a detected network abnormal event of a main communication network of the target device, wherein the fault experience packet is stored in the target device before the network abnormal event occurs in the main communication network, so that the target device performs self-checking repair according to the fault experience packet when the network abnormal event occurs;
executing a fault repair instruction corresponding to the read fault repair experience;
if the fault repairing instruction corresponding to the fault repairing experience in the fault experience packet is executed and the network abnormal event of the main communication network is still detected, acquiring signaling in a preset collecting time;
switching the main communication network into a preset auxiliary communication network of the target equipment;
detecting whether the secondary communication network is normal;
if yes, the collected signaling is sent to a target platform through the auxiliary communication network, and a repair instruction returned by the target platform is obtained;
repairing the network abnormal event based on the repairing instruction;
if not, switching the auxiliary communication network to the main communication network, and performing recovery operation on a network module corresponding to the main communication network, wherein the recovery operation comprises performing one-time recovery operation on the network module at intervals of a preset first recovery time in a preset recovery period, and recording the recovery time when the recovery operation is performed;
if the reset time is longer than the recovery period and the abnormality of the main communication network after the reset operation is detected, performing a reset operation on the network module once every second preset reset time; wherein the second reset time is longer than the first reset time.
2. The method of claim 1, wherein the step of executing the fault repair instruction corresponding to the read fault repair experience comprises:
if the network abnormal event is repaired based on the current fault repairing instruction within the preset repairing time, if the repairing result is that the repairing fails, executing the fault repairing instruction corresponding to the next read fault repairing experience, wherein the reading time of the current fault repairing instruction in the fault repairing experience is earlier than the reading time of the next fault repairing experience in the fault repairing experience;
if the repair result of repairing the network abnormal event based on the current fault repair instruction is that the repair is successful in the repair time, the next fault repair experience is paused or stopped to be read.
3. The method of claim 1, wherein prior to the step of responding to the detected network anomaly event of the primary communication network, the method further comprises:
periodically receiving and transmitting link detection data through the main communication network, wherein the link detection data are used for detecting whether the main communication network is normal or not;
and if the receiving and transmitting time of the link detection data is detected to be larger than the preset receiving and transmitting time threshold value, judging that the network abnormal event occurs in the main communication network.
4. The method of claim 1, wherein the reset operation comprises a hard reset operation and a soft reset operation, and wherein the step of performing a reset operation on the network module comprises:
performing soft reset operation on the network module to obtain a communication link of the network module after the soft reset operation;
and if the communication link of the network module after the soft reset operation is abnormal, performing hard reset operation on the communication link of the network module after the soft reset operation.
5. A cellular network based fault remediation apparatus for application to a target device, the apparatus comprising:
the signaling collection module is used for responding to the detected network abnormal event of the main communication network of the target equipment, sequentially reading fault restoration experience from the obtained fault experience packet, and storing the fault experience packet into the target equipment before the network abnormal event occurs in the main communication network so as to enable the target equipment to carry out self-checking restoration according to the fault experience packet when the network abnormal event occurs;
executing a fault repair instruction corresponding to the read fault repair experience;
if the fault repairing instruction corresponding to the fault repairing experience in the fault experience packet is executed, detecting a network abnormal event of the main communication network, and acquiring signaling in a preset collecting time;
the network switching module is used for switching the main communication network into a preset auxiliary communication network of the target equipment;
detecting whether the secondary communication network is normal;
the data receiving and transmitting module is used for transmitting the collected signaling to a target platform through the auxiliary communication network if yes, and obtaining a repair instruction returned by the target platform;
the repair module is used for repairing the network abnormal event based on the repair instruction;
if not, switching the auxiliary communication network to the main communication network, and performing recovery operation on a network module corresponding to the main communication network, wherein the recovery operation comprises performing one-time recovery operation on the network module at intervals of a preset first recovery time in a preset recovery period, and recording the recovery time when the recovery operation is performed;
if the reset time is longer than the recovery period and the abnormality of the main communication network after the reset operation is detected, performing a reset operation on the network module once every second preset reset time; wherein the second reset time is longer than the first reset time.
6. An electronic device comprising a memory and a processor for executing program instructions stored in the memory to implement the method of any one of claims 1 to 4.
7. A computer readable storage medium having stored thereon program instructions, which when executed by a processor, implement the method of any of claims 1 to 4.
CN202310945629.2A 2023-07-31 2023-07-31 Fault restoration method, device, equipment and storage medium based on cellular network Active CN116669084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310945629.2A CN116669084B (en) 2023-07-31 2023-07-31 Fault restoration method, device, equipment and storage medium based on cellular network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310945629.2A CN116669084B (en) 2023-07-31 2023-07-31 Fault restoration method, device, equipment and storage medium based on cellular network

Publications (2)

Publication Number Publication Date
CN116669084A CN116669084A (en) 2023-08-29
CN116669084B true CN116669084B (en) 2023-11-10

Family

ID=87710149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310945629.2A Active CN116669084B (en) 2023-07-31 2023-07-31 Fault restoration method, device, equipment and storage medium based on cellular network

Country Status (1)

Country Link
CN (1) CN116669084B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790156A (en) * 2009-11-19 2010-07-28 北京邮电大学 Strategy optimization based method and device for repairing fault of terminal software
CN105897580A (en) * 2016-03-29 2016-08-24 中国科学院信息工程研究所 Protocol-independent forwarding network rapid fault detection and flow protection switching method
CN106487584A (en) * 2016-09-30 2017-03-08 北京小米移动软件有限公司 The management method of router, router and mobile terminal
CN108243036A (en) * 2016-12-26 2018-07-03 华为技术有限公司 Interface fault processing method, equipment and system
CN109218107A (en) * 2018-10-15 2019-01-15 迈普通信技术股份有限公司 Link switch-over method, device, the network equipment and network system
WO2019134461A1 (en) * 2018-01-02 2019-07-11 中兴通讯股份有限公司 Method for repairing fault of vnfm, monitor, vim, vnfm, and storage medium
CN111245648A (en) * 2020-01-06 2020-06-05 华云数据(厦门)网络有限公司 Cloud mobile phone fault alarming and automatic recovery method
CN112020093A (en) * 2019-05-31 2020-12-01 北京小米移动软件有限公司 Network diagnosis method and device
CN112203316A (en) * 2020-09-30 2021-01-08 Oppo(重庆)智能科技有限公司 Method and device for recovering network abnormity, electronic equipment and storage medium
CN112398689A (en) * 2020-11-13 2021-02-23 Oppo广东移动通信有限公司 Network recovery method and device, storage medium and electronic equipment
CN112954749A (en) * 2019-12-11 2021-06-11 华为技术有限公司 Network switching method and electronic equipment
CN113498131A (en) * 2020-04-03 2021-10-12 新开普电子股份有限公司 Automatic network switching method of intelligent terminal and intelligent terminal
CN113825164A (en) * 2021-10-29 2021-12-21 中国电信股份有限公司 Network fault repairing method and device, storage medium and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014038835A1 (en) * 2012-09-05 2014-03-13 삼성에스디에스 주식회사 Network backup device and network system including the device
TW201412058A (en) * 2012-09-07 2014-03-16 Etherwan Systems Inc Redundant system of a ring network and redundant method thereof
US10075367B2 (en) * 2014-04-04 2018-09-11 Telefonaktiebolaget Lm Ericsson (Publ) Apparatus and method for establishing a repair path
US9407359B2 (en) * 2014-07-30 2016-08-02 Ciena Corporation Localized network repair systems and methods
JP2023526276A (en) * 2020-05-21 2023-06-21 富士通株式会社 Method and apparatus for consistent LBT failure detection and recovery in cell handover

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790156A (en) * 2009-11-19 2010-07-28 北京邮电大学 Strategy optimization based method and device for repairing fault of terminal software
CN105897580A (en) * 2016-03-29 2016-08-24 中国科学院信息工程研究所 Protocol-independent forwarding network rapid fault detection and flow protection switching method
CN106487584A (en) * 2016-09-30 2017-03-08 北京小米移动软件有限公司 The management method of router, router and mobile terminal
CN108243036A (en) * 2016-12-26 2018-07-03 华为技术有限公司 Interface fault processing method, equipment and system
WO2019134461A1 (en) * 2018-01-02 2019-07-11 中兴通讯股份有限公司 Method for repairing fault of vnfm, monitor, vim, vnfm, and storage medium
CN109218107A (en) * 2018-10-15 2019-01-15 迈普通信技术股份有限公司 Link switch-over method, device, the network equipment and network system
CN112020093A (en) * 2019-05-31 2020-12-01 北京小米移动软件有限公司 Network diagnosis method and device
CN112954749A (en) * 2019-12-11 2021-06-11 华为技术有限公司 Network switching method and electronic equipment
CN111245648A (en) * 2020-01-06 2020-06-05 华云数据(厦门)网络有限公司 Cloud mobile phone fault alarming and automatic recovery method
CN113498131A (en) * 2020-04-03 2021-10-12 新开普电子股份有限公司 Automatic network switching method of intelligent terminal and intelligent terminal
CN112203316A (en) * 2020-09-30 2021-01-08 Oppo(重庆)智能科技有限公司 Method and device for recovering network abnormity, electronic equipment and storage medium
CN112398689A (en) * 2020-11-13 2021-02-23 Oppo广东移动通信有限公司 Network recovery method and device, storage medium and electronic equipment
CN113825164A (en) * 2021-10-29 2021-12-21 中国电信股份有限公司 Network fault repairing method and device, storage medium and electronic equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
SpaceWire冗余网络故障检测恢复技术实现;曾华菘;张春熹;伊小素;陶聪凌;刘文莉;;计算机测量与控制(08);全文 *
临淄热电调试DCS故障诊断及维护;周昱;吕丽霞;杨洋;;山东工业技术(10);全文 *
移动通信光缆线路的运行维护方法探讨;周青松;;科技创新与应用(17);全文 *
蜂窝网络自组织研究及展望;窦中兆;冯穗力;王公仆;;电讯技术(05);全文 *

Also Published As

Publication number Publication date
CN116669084A (en) 2023-08-29

Similar Documents

Publication Publication Date Title
US10111126B2 (en) Enhanced network performance monitoring
US9699050B2 (en) Method and apparatus for learning online state of terminal
EP4061052A1 (en) Information reporting method, information receiving method, terminal and network device
JP5727194B2 (en) Wireless communication system and wireless communication method
CN111372272B (en) Abnormality recovery method and device for wireless bridging network
EP3197098B1 (en) Heartbeat cycle setting method and terminal
CN111490903B (en) Network data acquisition and processing method and device
CN110740072A (en) fault detection method, device and related equipment
CN112422684B (en) Target message processing method and device, storage medium and electronic device
CN113271632A (en) Information reporting and receiving method, terminal and network equipment
CN101989933A (en) Method and system for failure detection
CN107241216A (en) Maintain the method and device of the stable transmission of critical data
US20130185425A1 (en) Method for Optimizing Network Performance After A Temporary Loss of Connection
CN116669084B (en) Fault restoration method, device, equipment and storage medium based on cellular network
CN104639356A (en) Failure recovery method and device
CN113784377B (en) Data communication method, device, electronic equipment and storage medium
US11812487B2 (en) Method, device, extender, and computer medium for automatically restoring connection
CN111405589A (en) Information processing method, network side equipment and terminal
CN104038955A (en) Fault detection and processing method in mobile communication system, and base station
JP5462266B2 (en) Mobile communication network
CN113824595A (en) Link switching control method and device and gateway equipment
CN103517250A (en) A method and an apparatus used for dealing with abnormities of an application agent client
CN108200227B (en) Method and device for processing network communication function abnormity and mobile terminal
CN111699708A (en) Method and device for controlling reporting of security check failure and computer storage medium
CN107949008B (en) Method and device for detecting LTE network access result and computer storage medium

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