CN109660398A - Route system restorative procedure, terminal and storage medium - Google Patents

Route system restorative procedure, terminal and storage medium Download PDF

Info

Publication number
CN109660398A
CN109660398A CN201811578213.7A CN201811578213A CN109660398A CN 109660398 A CN109660398 A CN 109660398A CN 201811578213 A CN201811578213 A CN 201811578213A CN 109660398 A CN109660398 A CN 109660398A
Authority
CN
China
Prior art keywords
route system
route
label
reparation
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811578213.7A
Other languages
Chinese (zh)
Inventor
李昶松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201811578213.7A priority Critical patent/CN109660398A/en
Publication of CN109660398A publication Critical patent/CN109660398A/en
Pending legal-status Critical Current

Links

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
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/60Router architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention discloses a kind of route system restorative procedures, by the way that when detecting that route system is in damaged condition, addition state corruption is marked, and restarts the route system;The state corruption label is read, and is configured according to the upgrading reparation that state corruption label is adapted to the route system;The control operation for repairing configuration feedback based on the upgrading according to user, repairs the route system.Furthermore, the invention also discloses a kind of route terminal and computer readable storage mediums, the present invention solves existing single system router can not be in system failure, as double copies route system the technical issues of repair system, make single system router, router hardware memory space is being saved, under the premise of reducing overall cost, when route system is in damaged condition, the route system is repaired.

Description

Route system restorative procedure, terminal and storage medium
Technical field
The present invention relates to technical field of communication network more particularly to a kind of route system restorative procedure, route terminal with And computer readable storage medium.
Background technique
With router, the fast development of broadband access industry, more and more route systems come into being.At present Under the background of route system keen competition, while how reducing router overall cost, it is further ensured that proper function, just It is increasingly becoming one of the principal element of router product competitiveness.Existing double copies route system occupancy memory space is big, It is with high costs;Although and existing single system router occupy memory space it is small, can not be in system failure, as double copies road System reparation is equally realized by device system.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of route system restorative procedures, route terminal and computer-readable Storage medium, it is intended to which solving existing single system router can not repair as double copies route system in system failure The technical issues of complex system.
To achieve the goals above, this hair invention provides a kind of route system restorative procedure, and the route system is repaired Compound method the following steps are included:
When detecting that route system is in damaged condition, addition state corruption label, and restart the router system System;
The state corruption label is read, and is repaired according to the upgrading that state corruption label is adapted to the route system Compounding is set;
The control operation for repairing configuration feedback based on the upgrading according to user, repairs the route system.
Optionally, described when detecting that route system is in damaged condition, addition state corruption label, and restart institute The step of stating route system include:
When route system starting, according to the system file of the route system, the router system is determined It unites in damaged condition;
When the route system is in damaged condition, addition state corruption label, and restart the router system System.
Optionally, described when route system starting, according to the system file of the route system, determine institute Stating the in damaged condition step of route system includes:
When route system starting, whether the system file for verifying the route system is complete;
When detecting that the system file is complete, determine that the route system is in normal condition;
When detecting system file missing, determine that the route system is in damaged condition.
Optionally, described when route system starting, according to the system file of the route system, determine institute State the in damaged condition step of route system, further includes:
After route system starting, the whether normal fortune of whole operation processes of the route system is detected Row;
When detect one or more described operation process do not operate normally when, determine the route system in damage Bad state;
State corruption label is added, and restarts the route system.
Optionally, the state corruption label is read described, and the routing is adapted to according to state corruption label Before the step of upgrading reparation configuration of device system, the method also includes:
When route system starting, detects and whether marked containing state corruption on the route system;
When detecting on the route system containing state corruption label, terminates and start the router system System.
Optionally, described to read the state corruption label, and the router is adapted to according to state corruption label System upgrading reparation configuration the step of include:
The state corruption label is read, the state corruption is detected and marks marked route system damage position;
Each upgrading reparation configuration for repairing instruction and system upgrade reparation file of the adaptation reparation damage position.
Optionally, it includes: that instruction is set out control and file download link that configuration is repaired in the upgrading,
Match in the upgrading reparation that the adaptation repairs each reparation instruction of the damage position and system upgrade repairs file After the step of setting, the method also includes:
The instruction triggers control for repairing instruction and the system upgrade are repaired to the download link of file, push To the updating operation page.
Optionally, the control for repairing configuration feedback based on the upgrading according to user operates, and repairs the router The step of system includes:
Obtain user be based on the updating operation page in, described instruction trigger control and the download link feedback Control operation;
File is repaired according to the reparation instruction of the control operation triggering, and the system upgrade of downloading, is repaired The route system.
In addition, to achieve the above object, the present invention also provides a kind of route terminal, the route terminal include: memory, Processor and it is stored in the route system repair procedure that can be run on the memory and on the processor, the routing Device system repair procedure realizes the step of route system restorative procedure as described above when being executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium It is stored with route system repair procedure on storage medium, is realized such as when the route system repair procedure is executed by processor Above the step of route system restorative procedure.
A kind of route system restorative procedure, route terminal and the computer-readable storage medium that the embodiment of the present invention proposes Matter, by the way that when detecting that route system is in damaged condition, addition state corruption is marked, and restarts the router system System;The state corruption label is read, and is matched according to the upgrading reparation that state corruption label is adapted to the route system It sets;The control operation for repairing configuration feedback based on the upgrading according to user, repairs the route system.
By detecting route system state automatically, when detecting that route system is in damaged condition, in router State corruption label is added in system, and restarts route system, when route system restarting, reads the state Damage label, and the damage position for locking current router system is marked according to the state corruption, according to the damage position, automatically It is adapted to current router system upgrade reparation instruction and system upgrade repairs file configuration, and the system upgrade of adaptation is repaired Multiple instruction and system upgrade repair file configuration and push to user oriented reparation operation pages, and guidance user is based on currently repairing Instruction is repaired in multiple operation pages triggering and file is repaired in download system upgrading, to complete the reparation of current router system.
It realizes automatic detection route system and is presently in state, and detecting that route system is in damaged condition When, it is automatically performed the reparation configuration of current router system, instruction is repaired in triggering on repairing operation pages by guidance user And file is repaired in download system upgrading, is repaired the route system for being currently at distress condition, is made single system router, saving Router hardware memory space is saved, under the premise of reducing overall cost, when route system is in damaged condition, repairs the road By device system.
Detailed description of the invention
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of route system restorative procedure first embodiment of the present invention;
Fig. 3 is the refinement flow diagram of route system restorative procedure embodiment step S10 of the present invention;
Fig. 4 is the refinement flow diagram of route system restorative procedure embodiment step S20 of the present invention;
Fig. 5 is the refinement flow diagram of route system restorative procedure embodiment step S30 of the present invention;
Fig. 6 is the flow diagram of route system restorative procedure second embodiment of the present invention;
Fig. 7 is that route system restorative procedure embodiment WEB of the present invention repairs operation interface schematic diagram.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: when detecting that route system is in damaged condition, adding shape State damage label, and restart the route system;The state corruption label is read, and is marked and is fitted according to the state corruption Upgrading reparation configuration with the route system;The control operation for being repaired configuration feedback based on the upgrading according to user, is repaired The multiple route system.
Existing double copies route system occupancy memory space is big, with high costs;Though and existing single system router It is small so to occupy memory space, but can not realize system reparation as double copies route system in system failure.
The present invention provides a solution, and solving existing single system router can not be in system failure, as double The technical issues of backup router system the same repair system, make single system router, save router hardware memory space, Under the premise of reducing overall cost, when route system is in damaged condition, the route system is repaired.
As shown in Figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention can be fixed terminal, such as Internet of Things smart machine, including intelligent air condition, intelligence electricity The smart homes such as lamp, intelligent power, intelligent router;It is also possible to mobile terminal, including smart phone, wearable networking Many networked devices such as AR/VR device, intelligent sound box, autonomous driving vehicle.
As shown in Figure 1, the fixed terminal may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include input unit such as keyboard (Keyboard), and optional user interface 1003 can also include standard Wireline interface, wireless interface.Network interface 1004 optionally may include standard wireline interface and wireless interface (such as WI-FI Interface, blue tooth interface, probe interface, 3G/4G/5G connected network communication interface etc.).Memory 1005 can be high speed RAM memory, It is also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally may be used also To be independently of the storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that terminal structure shown in Fig. 1 does not constitute the restriction to fixed terminal, it can To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, Subscriber Interface Module SIM and route system repair procedure.
In fixed terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, with background server Carry out data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And locate Reason device 1001 can be used for calling the route system repair procedure stored in memory 1005, and execute following operation:
When detecting that route system is in damaged condition, addition state corruption label, and restart the router system System;
The state corruption label is read, and is repaired according to the upgrading that state corruption label is adapted to the route system Compounding is set;
The control operation for repairing configuration feedback based on the upgrading according to user, repairs the route system.
Further, described when detecting that route system is in damaged condition, addition state corruption label, and restart The step of route system includes:
When route system starting, according to the system file of the route system, the router system is determined It unites in damaged condition;
When the route system is in damaged condition, addition state corruption label, and restart the router system System.
Further, described when route system starting, according to the system file of the route system, determine The in damaged condition step of the route system includes:
When route system starting, whether the system file for verifying the route system is complete;
When detecting that the system file is complete, determine that the route system is in normal condition;
When detecting system file missing, determine that the route system is in damaged condition.
Further, described when route system starting, according to the system file of the route system, determine The in damaged condition step of the route system, further includes:
After route system starting, the whether normal fortune of whole operation processes of the route system is detected Row;
When detect one or more described operation process do not operate normally when, determine the route system in damage Bad state;
State corruption label is added, and restarts the route system.
Further, the state corruption label is read described, and the road is adapted to according to state corruption label Before the step of being configured by the upgrading reparation of device system, the method also includes:
When route system starting, detects and whether marked containing state corruption on the route system;
When detecting on the route system containing state corruption label, terminates and start the router system System.
Further, described to read the state corruption label, and the routing is adapted to according to state corruption label Device system upgrading reparation configuration the step of include:
The state corruption label is read, the state corruption is detected and marks marked route system damage position;
Each upgrading reparation configuration for repairing instruction and system upgrade reparation file of the adaptation reparation damage position.
Further, it includes: that instruction is set out control and file download link that configuration is repaired in the upgrading,
Match in the upgrading reparation that the adaptation repairs each reparation instruction of the damage position and system upgrade repairs file After the step of setting, the method also includes:
The instruction triggers control for repairing instruction and the system upgrade are repaired to the download link of file, push To the updating operation page.
Further, the control for repairing configuration feedback based on the upgrading according to user operates, and repairs the routing The step of device system includes:
Obtain user be based on the updating operation page in, described instruction trigger control and the download link feedback Control operation;
File is repaired according to the reparation instruction of the control operation triggering, and the system upgrade of downloading, is repaired The route system.
Based on above-mentioned hardware configuration, the embodiment of route system restorative procedure of the present invention is proposed, referring to figure 2., at this In the first embodiment of invention route system restorative procedure, route system restorative procedure of the present invention includes:
Step S10, when detecting that route system is in damaged condition, addition state corruption label, and restart described Route system.
Detection route system is presently in system mode, when detecting the system mode is distress condition, at this State corruption label is added on router memory space, and restarts current router system.
Specifically, for example, when route system starts and runs, worked as based on configuration file UBOOT detection route system Preceding system mode keeps current router system when detecting the current system mode of route system is normal condition Starting or operation process are saving current routing when detecting the current system mode of route system is distress condition In the memory space of device system, addition one state corruption label, and after having added state corruption label, it will weigh automatically It opens or route system that cycle power is currently starting or is being currently running.
Further, as shown in figure 3, step S10 includes:
Step S11, when route system starting, according to the system file of the route system, determine described in Route system is in damaged condition.
When detecting current router system just on startup, the system file of detection check current router system, root Determine whether the route system currently started is in damaged condition according to check results.
It should be noted that routing of the route system restorative procedure of the present invention suitable for any router product Device operating system.
Specifically, for example, being obtained in current router product when detecting that current router product starts starting operation Starting the system file of the route system of operation, UBOOT verifies the integrality of the route system file, according to current Check results determine that the route system for currently starting operation is to be in normal operating condition, or be in damage shape State.
Further, step S11 includes:
Step a, when route system starting, whether the system file for verifying the route system is complete.
When route system starts starting operation, obtain the system file of the route system, and detection check this be Whether file of uniting is complete.
Specifically, for example, acquisition is stored in current router when detecting that current router system starts starting operation The system file of route system in product F LASH memory space, and based on UBOOT according to the route system text being currently up Whether complete part content verifies the system file one by one.
Step b determines that the route system is in normal condition when detecting that the system file is complete.
When route system starts starting operation, by examining the route system file obtained to be currently at complete shape State, it is determined that the current system mode of the route system is normal condition.
Specifically, for example, when current router system starts starting operation, when UBOOT is according to the routing being currently up Device system file content completes the completeness check of the system file obtained from current router product F LASH memory space Later, i.e., current system file is in good working condition, it is determined that the system mode that current router system is presently in is normal State.
Step c determines that the route system is in damaged condition when detecting system file missing.
When route system starts starting operation, lacked by examining the route system file obtained to be currently at file Mistake state, it is determined that the current system mode of the route system is distress condition.
Specifically, for example, when current router system starts starting operation, when UBOOT is according to the routing being currently up Device system file content does not complete the integrality school of the system file obtained from current router product F LASH memory space When testing, i.e., current system file is in missing documents state, it is determined that the system mode that current router system is presently in is Distress condition.
Step S12, when the route system is in damaged condition, addition state corruption label, and described in restarting Route system.
When determining that the route system currently started is in damaged condition according to check results, routed currently State corruption label is added in the memory space of device, and when state corruption label addition finishes, it is current to restart starting Route system.
Specifically, for example, determination is currently starting when UBOOT is by the integrality of the verification route system file It is empty in the FLASH storage that current router product saves the route system when route system of operation is in damaged condition Between in, one system mode of addition damages label-SYSTag, and after the state corruption is marked and added, control is current The route system of starting operation restarts to start, or closes current router product, to carry out the weight of route system New starting.
Further, in another embodiment, step S10 adds when detecting that route system is in damaged condition Add state corruption to mark, and restart the route system further include:
Step S13, the route system starting after, detect the route system whole operation processes whether Operate normally.
In starting the operational process after current router system, one by one detect current router system whole run into Journey.
Specifically, for example, detecting current routing product route system after the starting operation of current router product All operation processes, detect whether the whole operation process is in normal operating condition based on UBOOT one by one.
Step S14, when detect one or more described operation process do not operate normally when, determine the route system It is in damaged condition.
In the whole operation processes for detecting current route system, there are one or there are multiple operation processes can not Operation, or operation is when the error occurs, determines that current router system is in damaged condition.
Specifically, for example, when UBOOT detects whole operation processes of current router system one by one, when detecting this It in whole operation processes, is unable to run or when the process of error running containing one, the system for determining current router system State is distress condition, alternatively, existing simultaneously multiple when UBOOT is detected in whole operation processes of current router system It is unable to run or when the process of error running, determines that the system mode of current router system is distress condition.
Step S15, addition state corruption label, and restart the route system.
State corruption label is added in the memory space of current router, and is finished in state corruption label addition When, restart to start current router system.
Specifically, for example, in the FLASH memory space that current router product saves the route system, addition one System mode damages label-SYSTag, and after the state corruption is marked and added, control is currently starting operation Route system restarts to start, or closes current router product, to carry out the restarting of route system.
Step S20 reads the state corruption label, and is adapted to the route system according to state corruption label Upgrading reparation configuration.
Read addition on router memory space state corruption label, according to the state corruption label mark value with And configuration is repaired in the testing result to current router system, each upgrading that adaptation repairs the route system.
Specifically, for example, when restarting current router system, it is empty that reading is stored in the storage of current router product Between in, mark current router system it is in damaged condition state corruption label, and detect the state corruption label mark The damage position of current router system, according to the damage position and to the detection knot of current router system failure state Fruit is adapted to required for repairing current router system all to repair instruction and upgrade the upgradings reparations such as reparation the file information and match It sets.
Further, as shown in figure 4, step S20 includes:
Step S21 reads the state corruption label, detects the state corruption and marks marked route system damage Bad position.
State corruption label of the addition on router memory space is read, and detects what the state corruption was identified The specific damage position of current router system.
Specifically, for example, detecting that reading current router product is protected when restarting starting operation route system It deposits in the FLASH memory space of router operating system, mark current router system mode is the state corruption of distress condition Label-SYSTag, and further detect the specific damage for the current router system that the state corruption label-SYSTag is identified Bad position.
Step S22, adaptation repairs each reparation instruction for damaging position and system upgrade repairs the upgrading reparation of file Configuration.
The specific damage position identified according to state corruption, and to the testing result of route system, working as The whole of preceding router product repair in file, are adapted to and repair each of route system damage position in browser WEB page Configuration is repaired in upgrading.
Specifically, for example, the specific damage for the current route system that UBOOT is identified based on the state corruption read Bad position, and to the complete detection of current router system failure degree as a result, current router system product whole It repairs in patch file, is adapted in browser WEB operation pages one by one, for repairing current damage position and current router system Instruction is all repaired required for distress condition of uniting and system upgrade repairs each upgrading reparation configuration of file.
Further.In another embodiment, in step S22, adaptation repairs each reparation instruction of the damage position, After the upgrading reparation configuration for repairing file with system upgrade, further includes:
The instruction triggers control for repairing instruction and the system upgrade are repaired the downloading chain of file by step S23 It connects, pushes to the updating operation page.
Each upgrading of adaptation is repaired in configuration, each instruction triggers control for repairing instruction and system are repaired under file Link is carried, user oriented reparation operation pages are pushed to.
It should be noted that the configuration of upgrading reparation needed for repairing current router system includes but is not limited to: instructing out Send out control and file download link.
Specifically, for example, in the specific of the UBOOT current route system identified based on the state corruption read Position is damaged, and position is currently damaged as a result, being adapted to out reparation one by one to the complete detection of current router system failure degree Each upgrading reparation set and all repair instruction and system upgrade reparation file required for current router system failure state After configuration, by each provincial reparation configuration, the instruction triggers control and system of each reparation instruction repair the corresponding downloading of file The link push WEB reparation operation pages as shown in Figure 7 to user oriented one end.
Step S30 operates according to the control that user repairs configuration feedback based on the upgrading, repairs the router system System.
Obtain each upgrading reparation configuration of the user based on the reparation of the adaptation route system, the reparation control behaviour fed back Make, the route system that operation reparation is currently at distress condition is controlled according to the reparation.
Specifically, for example, detection user repairs on the page in route system, based on the tool according to current router system Body damages position, and to the testing result of current router system failure state, the reparation current router system of adaptation Required all repair instructs and upgrades the upgradings reparation configuration such as reparation the file information, the control operation of feed back input, and according to this The system upgrade of corresponding reparation instruction and downloading that control operation is triggered repairs file, and reparation is currently at distress condition Route system.
Further, as shown in figure 5, step S30 includes:
Step S31 obtains user and is based in the updating operation page, described instruction trigger control and the downloading chain The control of reversed feedback operates.
It obtains user to repair on the page in route system, based on each instruction triggers control and system liter for repairing instruction The reparation that grade repairs the download link institute feed back input of file controls operation.
Specifically, for example, as shown in fig. 7, push according to the specific damage position of current router system, and it is current The complete detection of route system as a result, the reparation of adaptation is currently at the route system of distress condition, repair by required whole The WEB of the upgradings reparation configuration such as multiple instruction and system upgrade reparation the file information is repaired in operation pages, is obtained user and is based on respectively The reparation that the instruction triggers control and system upgrade for repairing instruction repair the download link input of file controls operation.
Step S32 is instructed according to the reparation of the control operation triggering, and the system upgrade of downloading repairs text Part repairs the route system.
According to for repairing the page in route system, each reparation that the control operation of feed back input is triggered is instructed, And file is repaired in download system upgrading, repairs the route system for being currently at distress condition.
Specifically, for example, as shown in fig. 7, push according to the specific damage position of current router system, and it is current The complete detection of route system as a result, the reparation of adaptation is currently at the route system of distress condition, repair by required whole It is multiple to instruct in the WEB page for repairing the upgradings reparations such as the file information configuration with system upgrade, it is defeated based on UBOOT guidance to obtain user Each reparation control operation entered, each reparation instruction triggered, and the system upgrade of downloading repair file, and according to the acquisition Each reparation instruction and system upgrade repair file, repair and be currently at the route system of distress condition.
In the present embodiment, by the way that when detecting that route system is in damaged condition, addition state corruption is marked, and Restart the route system;The state corruption label is read, and the router is adapted to according to state corruption label The upgrading reparation of system configures;The control operation for repairing configuration feedback based on the upgrading according to user, repairs the router System.
By the way that when detecting current router system just on startup, the system of detection check current router system is literary Part determines whether the route system currently started is in damaged condition according to check results, when according to check results When determining that the route system currently started is in damaged condition, state is added in the memory space of current router Damage label, and when state corruption label addition finishes, restart to start current router system, reads addition on road By the state corruption label on device memory space, and detects the state corruption and mark the specific of identified current router system Position, the specific damage position identified according to state corruption are damaged, and to the testing result of route system, is being worked as The whole of preceding router product repair in file, and configuration is repaired in each upgrading that adaptation repairs route system damage position, and Each upgrading of adaptation to be repaired in configuration, the instruction triggers control and system of each reparation instruction repair the download link of file, User oriented reparation operation pages are pushed to, user is obtained and is repaired on the page in route system, based on each reparation instruction The reparation that instruction triggers control and system upgrade repair the download link institute feed back input of file controls operation, according to for Route system is repaired on the page, and each reparation instruction and download system upgrading that the control operation of feed back input is triggered are repaired Multiple file, repairs the route system for being currently at distress condition.
It realizes automatic detection route system and is presently in state, and detecting that route system is in damaged condition When, it is automatically performed the reparation configuration of current router system, instruction is repaired in triggering on repairing operation pages by guidance user And file is repaired in download system upgrading, is repaired the route system for being currently at distress condition, is made single system router, saving Router hardware memory space is saved, under the premise of reducing overall cost, when route system is in damaged condition, repairs the road By device system.
Further, as shown in fig. 6, being mentioned on the basis of the first embodiment of route system restorative procedure of the present invention The second embodiment of route system restorative procedure of the present invention out reads the state in first embodiment of the invention step S20 Damage label, and be adapted to before the upgrading reparation configuration of the route system according to state corruption label, road of the present invention By device system repair further include:
Step S40 detects whether contain state corruption mark on the route system when route system starting Note.
When starting starting operation route system, the memory space of detection current router product storage route system In, if the state corruption label containing mark current router system failure.
Specifically, for example, detecting that detection current router product is protected when restarting starting operation route system It deposits in the FLASH memory space of router operating system, if containing mark current router system mode be distress condition State corruption label-SYSTag.
Step S50 is terminated when detecting on the route system containing state corruption label and is started the road By device system.
In the memory space for detecting current router product storage route system, contain mark current router system When the state corruption label of system damage, termination continues starting operation current router system.
Specifically, for example, restart starting operation route system when, when detect current router product save In the FLASH memory space of router operating system, damaged containing the state that mark current router system mode is distress condition Bad label-SYSTag is that control current router system stopping is started and run, so that starting starting UBOOT reads the state Label-SYSTag is damaged, to run above-mentioned steps S20, the state corruption label is read, detects the state corruption label The route system damage position marked.
In the present embodiment, by detecting and whether containing on the route system when the route system starts State corruption label;When detecting on the route system containing state corruption label, terminates and start the routing Device system.
By the way that when starting starting operation route system, detection current router product stores the storage of route system In space, if the state corruption label containing mark current router system failure, when detecting that current router product deposits In the memory space for storing up route system, when the state corruption containing mark current router system failure marks, terminates and continue Starting operation current router system.
It realizes when starting starting operation route system, it is preferential to detect current router system, if containing upper In one-shot process or operational process, the in damaged condition state corruption label of mark current router system, and When detecting containing state corruption label, stop starting and running current router system immediately, and UBOOT is called to start to read The state corruption is taken to mark, to repair the route system for being currently at distress condition, automatic detection is worked as in each starting Whether preceding route system is in damaged condition, when determining in damaged condition, is repaired immediately, improves route system Remediation efficiency, and evaded in damaged condition route system, error running carried out under distress condition to user Bring very poor experience.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with route system repair procedure, realized when the route system repair procedure is executed by processor as described above The step of route system restorative procedure.
It is each that computer readable storage medium specific embodiment of the present invention is referred to above-mentioned route system restorative procedure Embodiment, details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a display terminal (can be electricity Depending on mobile phone, computer, server, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of route system restorative procedure, which is characterized in that the route system restorative procedure includes:
When detecting that route system is in damaged condition, addition state corruption label, and restart the route system;
The state corruption label is read, and is matched according to the upgrading reparation that state corruption label is adapted to the route system It sets;
The control operation for repairing configuration feedback based on the upgrading according to user, repairs the route system.
2. route system restorative procedure as described in claim 1, which is characterized in that described to detect at route system When distress condition, addition state corruption label, and the step of restarting the route system includes:
When route system starting, according to the system file of the route system, determine at the route system In distress condition;
When the route system is in damaged condition, addition state corruption label, and restart the route system.
3. route system restorative procedure as claimed in claim 2, which is characterized in that described when the route system starts When, according to the system file of the route system, determine that the in damaged condition step of the route system includes:
When route system starting, whether the system file for verifying the route system is complete;
When detecting that the system file is complete, determine that the route system is in normal condition;
When detecting system file missing, determine that the route system is in damaged condition.
4. route system restorative procedure as claimed in claim 2, which is characterized in that described when the route system starts When, according to the system file of the route system, determine the in damaged condition step of the route system, further includes:
After route system starting, whether the whole operation processes for detecting the route system are operated normally;
When detect one or more described operation process do not operate normally when, determine the route system in damage shape State;
State corruption label is added, and restarts the route system.
5. route system restorative procedure as described in claim 1, which is characterized in that read the state corruption mark described Note, and before the step of being configured according to the upgrading reparation that state corruption label is adapted to the route system, the method Further include:
When route system starting, detects and whether marked containing state corruption on the route system;
When detecting on the route system containing state corruption label, terminates and start the route system.
6. route system restorative procedure as described in claim 1, which is characterized in that described to read the state corruption mark Note, and the step of being configured according to the upgrading reparation that state corruption label is adapted to the route system includes:
The state corruption label is read, the state corruption is detected and marks marked route system damage position;
Each upgrading reparation configuration for repairing instruction and system upgrade reparation file of the adaptation reparation damage position.
7. route system restorative procedure as claimed in claim 6, which is characterized in that it includes: to refer to that configuration is repaired in the upgrading Order set out control and file download link,
It is configured in the upgrading reparation that the adaptation repairs the respectively reparation instruction of the damage position and system upgrade repairs file After step, the method also includes:
The download link that the instruction triggers control for repairing instruction and the system upgrade are repaired to file, pushes to liter Grade operation pages.
8. route system restorative procedure as claimed in claim 7, which is characterized in that described to be based on the upgrading according to user Repairing the step of control that configuration is fed back operates, repairs the route system includes:
It obtains user to be based in the updating operation page, the control of described instruction trigger control and download link feedback Operation;
It is instructed according to the reparation for controlling operation triggering, and the system upgrade reparation file of downloading, described in reparation Route system.
9. a kind of route terminal, which is characterized in that the route terminal includes: memory, processor and is stored in the storage On device and the route system repair procedure that can run on the processor, the route system repair procedure is by the place It manages when device executes and realizes such as the step of route system restorative procedure described in any item of the claim 1 to 8.
10. a kind of storage medium, which is characterized in that be stored with route system repair procedure, the road on the storage medium Such as route system reparation described in any item of the claim 1 to 8 is realized when being executed by processor by device system repair procedure The step of method.
CN201811578213.7A 2018-12-21 2018-12-21 Route system restorative procedure, terminal and storage medium Pending CN109660398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811578213.7A CN109660398A (en) 2018-12-21 2018-12-21 Route system restorative procedure, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811578213.7A CN109660398A (en) 2018-12-21 2018-12-21 Route system restorative procedure, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN109660398A true CN109660398A (en) 2019-04-19

Family

ID=66115942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811578213.7A Pending CN109660398A (en) 2018-12-21 2018-12-21 Route system restorative procedure, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109660398A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286548A (en) * 2020-10-16 2021-01-29 锐捷网络股份有限公司 Patch upgrading method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882087A (en) * 2010-06-30 2010-11-10 中兴通讯股份有限公司 Multimedia terminal equipment and maintaining method thereof
CN102075367A (en) * 2011-02-21 2011-05-25 北京奇虎科技有限公司 Method and system for controlling downloading of patch packet, client and server
CN102314421A (en) * 2010-06-29 2012-01-11 中兴通讯股份有限公司 Self-rescuing method and self rescuing device for file system after being damaged
CN102521081A (en) * 2010-12-01 2012-06-27 微软公司 Repairing corrupt software
CN103605591A (en) * 2013-11-27 2014-02-26 华为技术有限公司 Method and device for controlling memory initialization of terminal system
US20140068584A1 (en) * 2012-08-31 2014-03-06 Oracle International Corporation Database software upgrade using specify-validate-execute protocol
CN105487980A (en) * 2015-12-04 2016-04-13 Tcl集团股份有限公司 Method and device for repairing running abnormity of application program
CN106446693A (en) * 2016-12-06 2017-02-22 广东欧珀移动通信有限公司 Mobile terminal repair method, mobile terminal repair device, computer readable storage medium and equipment
CN106897166A (en) * 2015-12-17 2017-06-27 联发科技(新加坡)私人有限公司 A kind of mobile terminal and its restorative procedure
CN108205446A (en) * 2017-10-24 2018-06-26 中兴通讯股份有限公司 Firmware restorative procedure and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314421A (en) * 2010-06-29 2012-01-11 中兴通讯股份有限公司 Self-rescuing method and self rescuing device for file system after being damaged
US20130103981A1 (en) * 2010-06-29 2013-04-25 Zte Corporation Self-rescue method and device for damaged file system
CN101882087A (en) * 2010-06-30 2010-11-10 中兴通讯股份有限公司 Multimedia terminal equipment and maintaining method thereof
CN102521081A (en) * 2010-12-01 2012-06-27 微软公司 Repairing corrupt software
CN102075367A (en) * 2011-02-21 2011-05-25 北京奇虎科技有限公司 Method and system for controlling downloading of patch packet, client and server
US20140068584A1 (en) * 2012-08-31 2014-03-06 Oracle International Corporation Database software upgrade using specify-validate-execute protocol
CN103605591A (en) * 2013-11-27 2014-02-26 华为技术有限公司 Method and device for controlling memory initialization of terminal system
CN105487980A (en) * 2015-12-04 2016-04-13 Tcl集团股份有限公司 Method and device for repairing running abnormity of application program
CN106897166A (en) * 2015-12-17 2017-06-27 联发科技(新加坡)私人有限公司 A kind of mobile terminal and its restorative procedure
CN106446693A (en) * 2016-12-06 2017-02-22 广东欧珀移动通信有限公司 Mobile terminal repair method, mobile terminal repair device, computer readable storage medium and equipment
CN108205446A (en) * 2017-10-24 2018-06-26 中兴通讯股份有限公司 Firmware restorative procedure and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286548A (en) * 2020-10-16 2021-01-29 锐捷网络股份有限公司 Patch upgrading method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11467818B2 (en) Software update device, software update method, and software update system
CN105183515B (en) The method and device of holder firmware upgrade
CN109669708B (en) Remote upgrading method for modular Internet of things terminal equipment
CN106227572A (en) A kind of frequency converter control system programme upgrade method
CN105354070A (en) Method for upgrading equipment firmware through I2C
CN103761122A (en) Chip firmware updating method and system
CN102110083A (en) Client device and method for supporting online and offline editing of document
CN102508686A (en) Method and system for realizing safe upgrading of system
CN110083374A (en) A kind of upgrading rollback method, system and terminal device
CN106897166B (en) Mobile terminal and repairing method thereof
CN104049999A (en) Automatic storage device repair system based on network and method thereof
CN112291621A (en) System upgrading automation test method, device and test equipment
CN112015447B (en) System updating method and device of electronic equipment, electronic equipment and storage medium
WO2022150012A1 (en) Method and system for fault detection and diagnostic for a building management system
CN108920168B (en) Bootloader method supporting simultaneous upgrading of multiple similar ECUs and having function of preventing program mismatching
WO2016117212A1 (en) Control means, in-vehicle program rewriting device equipped with same, and in-vehicle program rewriting method
CN109660398A (en) Route system restorative procedure, terminal and storage medium
CN111475188A (en) Power module firmware updating method, device, equipment and storage medium
CN105677409A (en) System upgrading method and device
CN108319551B (en) Software testing method and device, computer equipment and readable storage medium
CN109766207A (en) Restoration methods, device, monitoring device and the storage medium of firmware remote upgrade
CN109002306A (en) Method for upgrading software, upgrading terminals, laser marking machine and laser marking system
CN102346692A (en) Verification method of IPTV (Internet Protocol Television) updating files
CN115242753B (en) Network card MAC address burning method, system, electronic equipment and storage medium
CN103731301A (en) Dual backup achieving method of remote network system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190419

RJ01 Rejection of invention patent application after publication