CN103298013B - A kind of method and device carrying out business recovery - Google Patents

A kind of method and device carrying out business recovery Download PDF

Info

Publication number
CN103298013B
CN103298013B CN201310253716.8A CN201310253716A CN103298013B CN 103298013 B CN103298013 B CN 103298013B CN 201310253716 A CN201310253716 A CN 201310253716A CN 103298013 B CN103298013 B CN 103298013B
Authority
CN
China
Prior art keywords
network
configuration data
network connection
communication equipment
state
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
CN201310253716.8A
Other languages
Chinese (zh)
Other versions
CN103298013A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Systems China 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 Comba Telecom Systems China Ltd filed Critical Comba Telecom Systems China Ltd
Priority to CN201310253716.8A priority Critical patent/CN103298013B/en
Publication of CN103298013A publication Critical patent/CN103298013A/en
Application granted granted Critical
Publication of CN103298013B publication Critical patent/CN103298013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to communication technical field, particularly relate to a kind of method and device carrying out business recovery, in order to solve in prior art when network connect occur abnormal after, the problem that the equipment that AMC etc. communicates based on network interface cannot recover regular traffic.The equipment that detects in the embodiment of the present invention is after the network determining communication equipment connects appearance extremely, send instruction network to the central processor CPU of communication equipment and connect abnormal signal, so that CPU interrupts current business, and after determining that network connects recovery normally, according to configuration data before, recover the regular traffic of described communication equipment, such that it is able to make equipment that AMC etc. communicates based on network interface network connect abnormal after can automatically recover regular traffic.

Description

A kind of method and device carrying out business recovery
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method and device carrying out business recovery.
Background technology
In field of wireless communication, there is the much equipment carried out data transmission based on network interface, such as family Base station, front yard (femto), wireless access focus (Access Point, AP), based on Advanced telecom computing architecture The equipment of (Advanced Telecom Computing Architecture, ATCA) specification is (such as senior interlayer Card (Advanced Mezzanine Card, AMC)) etc..These equipment based on network interface correspondence with foreign country exist Network may affect the carrying out of regular traffic because cannot be carried out self-recoverage process after occurring extremely.Below with As a example by AMC, illustrate.
AMC is generally used for the expansion of ATCA board external interface, by the shelf management of ATCA board Function can realize the management to AMC and control, but, after network connects appearance extremely, AMC business Abnormal, and cannot automatically carry out business recovery by the shelf management function of ATCA board, bring to user Very big inconvenience.
Therefore, in prior art, after network connects appearance extremely, AMC etc. communicates based on network interface Equipment cannot automatically recover regular traffic.
Summary of the invention
The embodiment of the present invention provides a kind of method and device carrying out business recovery, in order to solve in prior art When network connect occur abnormal after, the equipment that AMC etc. communicates based on network interface cannot recover regular traffic Problem.
A kind of method carrying out business recovery that the embodiment of the present invention provides, including:
It is abnormal that detection equipment determines that the network of communication equipment connects appearance;
Detection equipment sends instruction network to the central processor CPU of described communication equipment and connects abnormal letter Number, so that CPU interrupts current business, and after determining that network connects recovery normally, according to joining before Put data, recover the regular traffic of described communication equipment.
A kind of method carrying out business recovery that the embodiment of the present invention provides, including:
The central processor CPU of communication equipment receives the instruction network of detection equipment transmission and connects appearance extremely Signal;
Described CPU interrupts current business, and after determining that network connects recovery normally, according to joining before Put data, recover the regular traffic of described communication equipment.
A kind of detection equipment carrying out business recovery that the embodiment of the present invention provides, including:
Determine module, abnormal for determining that the network of communication equipment connects appearance;
Sending module, connects different for sending instruction network to the central processor CPU of described communication equipment Normal signal, so that CPU interrupts current business, and after determining that network connects recovery normally, according to it Front configuration data, recover the regular traffic of described communication equipment.
A kind of communication equipment carrying out business recovery that the embodiment of the present invention provides, including:
Receiver module, the instruction network sent for receiving detection equipment connects the signal that appearance is abnormal;
Processing module, is used for interrupting current business, and after determining that network connects recovery normally, according to before Configuration data, recover the regular traffic of described communication equipment.
A kind of communication equipment carrying out business recovery that the embodiment of the present invention provides, including:
Detection equipment, after connecting appearance extremely at the network determining communication equipment, to described communication equipment Central processor CPU send instruction network and connect abnormal signal;
CPU, for, after receiving the signal that instruction network connection is abnormal, interrupting current business, and really After determining network connection recovery normally, according to configuration data before, recover the regular traffic of described communication equipment.
The equipment that detects in the embodiment of the present invention is after the network determining communication equipment connects appearance extremely, to central authorities Processor CPU sends instruction network and connects abnormal signal, so that CPU interrupts current business, and really After determining network connection recovery normally, according to configuration data before, recover the regular traffic of described communication equipment, Such that it is able to make equipment that AMC etc. communicates based on network interface network connect abnormal after can automatically recover Regular traffic.
Accompanying drawing explanation
The method flow diagram carrying out business recovery that Fig. 1 provides for the embodiment of the present invention;
The method flow diagram carrying out business recovery that Fig. 2 provides for the embodiment of the present invention;
The method flow diagram carrying out business recovery that Fig. 3 provides for preferred embodiment of the present invention;
The detection equipment Inspection state transition diagram that Fig. 4 provides for the embodiment of the present invention;
Fig. 5 determines the method flow diagram of detection state for the detection equipment that the embodiment of the present invention provides;
Fig. 6 is the configuration schematic diagram data that in the embodiment of the present invention, server preserves with AMC;
Fig. 7 is that the embodiment of the present invention carries out initialized schematic flow sheet to AMC;
The assay device structures schematic diagram figure carrying out business recovery that Fig. 8 provides for the embodiment of the present invention;
The communication apparatus construction schematic diagram carrying out business recovery that Fig. 9 provides for the embodiment of the present invention;
The communication apparatus construction schematic diagram carrying out business recovery that Figure 10 provides for the embodiment of the present invention.
Detailed description of the invention
The equipment that detects in the embodiment of the present invention is after the network determining communication equipment connects appearance extremely, to central authorities Processor CPU sends instruction network and connects abnormal signal, so that CPU interrupts current business, and really After determining network connection recovery normally, according to configuration data before, recover the regular traffic of described communication equipment, Such that it is able to make equipment that AMC etc. communicates based on network interface network connect abnormal after can automatically recover Regular traffic.
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail.
As it is shown in figure 1, for the embodiment of the present invention provide the method flow diagram carrying out business recovery, including with Lower step:
It is abnormal that S101: detection equipment determines that the network of communication equipment connects appearance;
S102: the detection equipment CPU(central processing unit to communication equipment, Central Processing Unit) Send instruction network and connect abnormal signal, so that CPU interrupts current business, and determining that network connects After recovering normally, according to configuration data before, recover the regular traffic of communication equipment.
Above-mentioned communication equipment can be specifically any equipment based on network interface correspondence with foreign country such as AMC, detects net The detection equipment of network connection status specifically can build realization by discrete gate circuit, it is also possible to passes through PLD (PLD, Programmable Logic Device) realizes, and PLD here can be specifically FPGA(field programmable gate array, Field Programmable Gate Array), CPLD(complexity can Programmed logic device, Complex Programmable Logic Device), PAL(programmable logic array, Programmable Array Logic), GAL(GAL, General Array Logic) device Deng.Detection equipment can be arranged directly on communication equipment, it is also possible to is arranged on outside communication equipment, but needs Communicate with the CPU of communication equipment.Detection equipment, according to the network connection state detected, is determining After the network of communication equipment connects appearance extremely, send instruction network to CPU and connect the signal of exception, than Such as interrupt signal, more specifically, can be interruption pulse, CPU, after receiving this interruption pulse, determines Current network connects abnormal, then interrupt current business, and monitoring external network connects whether recover normal in real time, Determine network connect recover normal after, according to the configuration data preserved before, load by starting data and Reconfiguration data process, recovers the regular traffic of communication equipment, and the configuration data preserved here specifically can be wrapped Include user and configure data parameters, network configuration data parameter, reconfiguration data parameter, system resource allocation tune Degree parameter, system uses daily record etc..
It is preferred that in step S101, it is abnormal that detection equipment determines that the network of communication equipment connects appearance, bag Include:
Detection equipment, after determining that current network connection status is high level steady statue, enters and normally detects shape State;
Detection equipment is under normal detection state, however, it is determined that current network connection status is level transitional states, Then enter abnormality detection state;
Detection equipment is under abnormality detection state, however, it is determined that current network connection status be level transitional states or Low level steady statue, it is determined that network connects abnormal.
In specific implementation process, need, in the case of ensureing that detection equipment working state is normal, to carry out net Network connection status detects, if detection equipment itself goes wrong, and the network connection state that detection equipment Inspection is arrived It is likely low level steady statue, but the state detected fict network connection state, based on this, Embodiment of the present invention detection equipment carries out the idiographic flow of network connection state detection and may is that
Detection equipment is under init state, if detecting, current network connection status is that high level stablizes shape State, explanation equipment starts normal workflow, and detection equipment is also into detecting state normally;Detection Equipment is under normal detection state, if detecting, current network connection status is still high level steady statue, then Maintaining existing normal detection state, if detecting, current network connection status is level transitional states, then enter Entering abnormality detection state, if being not detected by level transitional states, but detecting that current network connection status is Low level steady statue, illustrates that likely detection device detection procedure there is a problem, at this moment, detects equipment Return init state, re-start detection;Detection equipment is under abnormality detection state, if detecting current Network connection state is high level steady statue, then illustrate that the network connection state of equipment has been recovered normally, it Front saltus step is likely to be detection process and there is a problem, or level state occurs in that temporary transient instability, this Time, detection equipment returns init state, and detection equipment, only under abnormality detection state, detects current When network connection state is low level steady statue or level transitional states, just determine that network connects abnormal.Should Testing process can increase the accuracy of testing result, in the premise ensureing detection equipment Inspection result accuracy Under, find that network connects abnormality in time.In being embodied as, the above three stage can be preset (init state-normally detect state, normally detect state-abnormality detection state, abnormality detection state- Detection of end) in detection time in each stage, such as, the detection time arranging each stage is all 20ms, After completing detection within this period, if meeting the condition entering the next stage that meets, then enter lower single order The testing process of section, returns init state the most in a manner described or maintains standing state.
It is preferred that detection equipment specifically can determine current network connection status according to following steps:
N number of time point detection network connection state in detection equipment each cycle in former and later two cycles, and According to the network connection state of detection, determine the network connection state in former and later two cycles respectively;Wherein, N For positive integer;
Detection equipment, according to the network connection state in before and after determining two cycles, determines that current network connects shape State.
It is preferred that detection equipment is according to the network connection state of detection, determine the net in former and later two cycles respectively Network connection status, including:
For any one cycle in former and later two cycles, if detecting that network connects shape at M time point State is identical state, it is determined that the network connection state in this cycle is described identical state;Wherein, M For positive integer, and M > N/2.
In specific implementation process, communication equipment can be determined in the way of using multiple spot detection and majority vote Network connection state, such as, the N number of time point sampling Detection network connection state within each cycle, adopt The network connection state in each cycle is determined by the mode of majority vote, such as, for any one cycle, If having the testing result of more than half in the result of N number of time point sampling Detection is high level steady statue, then The network connection state determining this cycle is high level steady statue, correspondingly, if there being the detection of more than half Result is low level steady statue, it is determined that the network connection state in this cycle is low level steady statue, as Fruit occurs that testing result half is low level steady statue, and half is high level steady statue, then relatively failure, Maintained the testing result in a upper cycle;Majority vote confirming, the mode of testing result can be carried out as required Arrange flexibly, such as can also arrange when having in the result of N number of time point sampling Detection in a cycle When the testing result of 2/3 is same testing result, using this testing result as this cycle network connect shape State.The detection cycle can be set according to practical situation, such as carries out according to the time of level exception saltus step Setting, can set a cycle is 10 as 10ms, N, is separated by 1ms between the most each sample point.
It is preferred that detection equipment is according to the network connection state in before and after determining two cycles, determine current net Network connection status, including:
If it is determined that in former and later two cycles the previous cycle different from the network connection state in later cycle, then Determine that current network connection status is level transitional states;
If it is determined that the network connection state in previous cycle and later cycle is all high in former and later two cycles Level equalization state, it is determined that current network connection status is high level steady statue;
If it is determined that in former and later two cycles the previous cycle be all low with the network connection state in later cycle Level equalization state, it is determined that current network connection status is low level steady statue.
In specific implementation process, when the network connection state determining each cycle in former and later two cycles is (high After level equalization state or low level steady statue) after, can be true according to the network connection state in two cycles Settled front network connection state, if the network connection state in former and later two cycles is different, the most previous cycle Network connection state is high level steady statue, and the network connection state in later cycle is that low level stablizes shape State, it is determined that network connection state is for be transformed into low level steady statue by high level steady statue.
As in figure 2 it is shown, the method flow diagram carrying out business recovery provided for the embodiment of the present invention, including:
The central processor CPU of S201: communication equipment receives the instruction network of detection equipment transmission and connects Now abnormal signal;
S202:CPU interrupts current business, and after determining that network connects recovery normally, according to joining before Put data, recover the regular traffic of communication equipment.
It is preferred that in step S202, CPU determines that network connects and recovers normal, including:
CPU sends packet to the ext nal network element being connected with communication equipment, if received within the time set To the packet responded, it is determined that it is normal that network connects recovery.
In specific implementation process, CPU receives instruction network and connects abnormal signal, such as interruption pulse Rear entrance interrupt processing flow process, can first produce corresponding warning signal notice shelf management unit or in face Producing alarm instruction on plate, then configuration data original to communication equipment preserve, and back up data to Readable and writable memory part, current such as FLASH runs above configuration data area, then to communication equipment institute There is chip to carry out initializing (chips all in communication equipment are resetted and reconfigured), and lead to this The ext nal network element that letter equipment connects sends Packet probing external network, if received within the time set The packet responded, it is determined that it is normal that network connects recovery, CPU starts the data of communication equipment and loads and weight Configuration data procedures, recovers the regular traffic of communication equipment.
It is preferred that in step S202, configuration data before are the configuration that CPU preserves according to following steps Data:
CPU, when network connects normal, preserves current configuration data according to the time interval set;And/or, CPU, after receiving the signal that instruction network connection is abnormal, preserves current configuration data.
In specific implementation process, CPU can be when network connects normal, according to the time interval set certainly The configuration data that dynamic preservation communication equipment is current, it is also possible to connect abnormal signal receiving instruction network After, (the most described above backs up data to scratch pad memory part FLASH to preserve current configuration data Current run above configuration data area), if CPU both automatically saves currently according to the time interval set Configuration data, also preserve current configuration data receiving after instruction network connects abnormal signal, then can be by Readable and writable memory part is divided into two independent spaces, and one for storing the last normal configuration started The configuration data that data, i.e. CPU automatically save according to the time interval set, one is used for storing currently The normal configuration data started, i.e. the configuration data that CPU preserves when network connects abnormal temporarily.
It is preferred that CPU is according to configuration data before, the regular traffic of restorer, including:
CPU reads the configuration data of the last time preservation, and after reading successfully, according to the configuration number read According to the regular traffic recovering communication equipment.
In specific implementation process, if CPU automatically saves current configuration data according to the time interval set, The last configuration data that preserve that the most above-mentioned CPU reads are that CPU is when network connects normal nearest one The secondary configuration data automatically saved, work as if CPU preserves after receiving the signal that instruction network connection is abnormal Front configuration data, the last configuration data preserved that the most above-mentioned CPU reads are that CPU connects at network The configuration data preserved time abnormal, if CPU had both automatically saved according to the time interval set is currently configured number According to, preserve again configuration data when network connects abnormal, the last guarantor that the most above-mentioned CPU reads temporarily The configuration data that the configuration data deposited still preserve when network connects abnormal for CPU.
If it is preferred that CPU is when network connects normal, preserving according to the time interval set and be currently configured Data, and after receiving the signal that instruction network connection is abnormal, preserve current configuration data, then CPU According to configuration data before, recover the regular traffic of communication equipment, also include:
If CPU reads the configuration data failure of the last time preservation, then read when network connects normal nearest The configuration data once preserved, if reading successfully, then when connecting normal according to the network read, the last time protects The regular traffic of communication equipment described in the allocation data recovering deposited, if still reading failure, then reads factory default Configuration data, and according to the regular traffic of communication equipment described in the factory default allocation data recovering read.
It is preferred that CPU is according to the regular traffic of the factory default allocation data recovering communication equipment read, bag Include:
CPU, according to the factory default configuration data read, recovers and the connection of server in ext nal network element;
Current configuration data is reported to server by CPU, and receives the latest configuration data that server issues, The latest configuration data issued according to server, recover the regular traffic of communication equipment.
In specific implementation process, at device interior, two independent storage entity can be set to store configuration Data, one is read only memory device (ROM), the configuration that programming is given tacit consent to well when storage device is dispatched from the factory Data, another is readable and writable memory part, and readable and writable memory part can be divided into two independent depositing Storage space, one for storing the last normal configuration data started, one is used for storing and currently normally opens Dynamic configuration data.In being embodied as, if CPU is when network connects normal, according to the time set Interval preserves current configuration data, and after receiving the signal that instruction network connection is abnormal, preserves and currently join Put data, then CPU determine network connect recover normal after, first current from readable and writable memory part The configuration data of the original preservation of data distributing, original industry of restorer are read in the normal configuration data area that starts Business, if owing to the reason of memory device or data exception cause reading unsuccessfully, then normally starts from the last time Configuration data area read configuration data, if or correct data cannot be read, then from read-only storage Device read factory default configuration data, CPU can according to read factory default configuration data, recover with The connection of server in ext nal network element, is reported to server by current configuration data, receives what server issued Latest configuration data, the latest configuration data issued according to server, the regular traffic of restorer.
In addition to above-mentioned preferably embodiment, no matter CPU is when network connects normal, according to set Time interval preserves current configuration data, or after network connects extremely, preserves current configuration data temporarily, Or use both preserving types, all can also use the regular traffic of following manner restorer:
That is, CPU, according to configuration data before, the regular traffic of restorer, also includes:
If CPU reads the configuration data failure of the last time preservation, then read factory default configuration data, And according to the regular traffic of the factory default allocation data recovering equipment read.
In specific implementation process, if CPU is when network connects normal, according to the time interval set Preserve current configuration data, then the configuration data failure that the last time preserves when reading network and connecting normal After, read factory default configuration data, and according to factory default allocation data recovering equipment normal read Business;If CPU is after network connects extremely, preserves current configuration data temporarily, then reading recently After configuration data (that is, the interim configuration data preserved after network the connects extremely) failure once preserved, read Take out factory's default configuration data, and according to the regular traffic of the factory default allocation data recovering equipment read.
Below as a example by AMC, further illustrate the embodiment of the present invention by a detailed embodiment and carry out The method of business recovery;
As it is shown on figure 3, the method flow diagram carrying out business recovery provided for preferred embodiment of the present invention, Including:
It is abnormal that S301: detection equipment determines that the network of AMC connects appearance;
In being embodied as, detection equipment can build realization by discrete gate circuit, it is also possible to passes through PLD realizes, and PLD here can be specifically FPGA, CPLD, PAL, GAL device etc., and can Abnormal to determine that according in the following manner the network of equipment connects appearance:
As shown in Figure 4, the detection equipment Inspection state transition diagram provided for the embodiment of the present invention;Detection Equipment is under in init state, however, it is determined that after current network connection status is high level steady statue, then enter Enter normal detection state, otherwise return init state;Detection equipment is under normal detection state, however, it is determined that Current network connection status is level transitional states, then enter abnormality detection state, however, it is determined that be still high level Steady statue, then maintain existing detection state, however, it is determined that for low level steady statue, then returns and initializes shape State;Detection equipment is under abnormality detection state, if detection network connection state is that level is jumped in this case Change state or low level steady statue, it is determined that it is abnormal that network connects appearance, and jumps to done state, otherwise, Returning init state, testing circuit, under done state, sends interruption pulse to the CPU of communication equipment, Instruction CPU carries out corresponding interrupt processing flow process.
As it is shown in figure 5, the detection equipment provided for the embodiment of the present invention determines the method flow diagram of detection state, Including: S51: network connection state is carried out periodic sampling detection;Such as, the sampling interval is t, each Having N number of sample point in cycle, N can be set to odd number;S52: for a cycle, uses majority vote Mode determine the network connection state in this cycle;Such as, determining that high level is n1 point, low level is N2 point, wherein, n1+n1=N, if n1 > n2, it is determined that the network connection state in this cycle is high level Steady statue, if n1=n2, then maintained the comparative result in a upper cycle, if n1 < n2, it is determined that this cycle Network connection state be low level steady statue;S53: for this cycle and adjacent with this cycle previous The individual cycle, if the network connection state in previous cycle is different from the network connection state in this cycle, it is determined that when Front network connection state is level transitional states, if the network connection state in previous cycle and the network in this cycle Connection status is identical, it is determined that when network connection state is the state that this is identical;Here, identical state refers to Be high level steady statue or low level steady statue;
S302: detection equipment sends interruption pulse to CPU;
After S303:CPU receives interruption pulse, interrupt current business, then configuration original to AMC Data preserve, and back up data to the current of readable and writable memory part and run on configuring area;
S304:CPU sends packet to the ext nal network element being connected with AMC, if within the time set Receive the packet of response, it is determined that it is normal that network connects recovery;
S305:CPU is after determining that network connects recovery normally, according to the configuration data preserved, starts data Load and reconfiguration course, recover the regular traffic of AMC;Here the configuration data preserved can be step The configuration data that in S303, CPU preserves when network connects abnormal temporarily, it is also possible to be that CPU connects at network When connecing normal, the configuration data automatically saved according to the time interval set, it is also possible to be read only memory device The factory default configuration data of middle preservation;
In specific implementation process, the server in ext nal network element and the configuration number of preservation in AMC can be made According to keeping synchronization, as shown in Figure 6, the configuration data preserved with AMC for server in the embodiment of the present invention Schematic diagram;
Specifically, CPU response is had no progeny, enters abnormality processing flow process, first produce corresponding warning signal and lead to Know shelf management unit or on panel, produce alarm instruction, then the configuration data of AMC being protected Deposit, back up data to the current of FLASH and run on configuring area, then chip all to AMC is carried out Initialize, and by ext nal network element send packet, detection network connection status, during this, can To start overtime timer, if receiving the packet of response within the time set, then explanation network is even Connect recovery normal, then start AMC and read from the current normal configuring area that starts of FLASH and issue Preserve configuration data, recover AMC original business, if timer expiry, read unsuccessfully, then from The last normal configuring area started reads configuration data, if or cannot read correct data, then Factory default configuration data are read, according to the factory default configuration book read, with external server from ROM Set up and connect, and the configuring condition being currently in operation is reported to server, such as recover from ROM Factory's default configuration, then illustrate cannot recover data from FLASH, server according to the configuring condition reported, Issue configuration data up-to-date for AMC, and the data in upper two regions of synchronized update FLASH, if clothes Business device, according to the configuration data reported, determines that AMC recovers data from FLASH, then needs root Synchronize up-to-date configuration data according to time tag, finally terminate this spontaneous recovery flow process, if intervalometer Time-out then illustrates that ext nal network element can't normally work or this initialization is unsuccessful, CPU according to time-out time Counting and constantly promote, from starting the interrupting service time up till now, the rank that alarm indicates, to continue right simultaneously AMC initializes, until ext nal network element has response, as it is shown in fig. 7, be the embodiment of the present invention AMC is carried out initialized schematic flow sheet, including: CPU starts bootstrap loader (Universal Boot Loader, u-boot) and operating system nucleus, and load root file system and user file system, Run and start script and CPU finger daemon, reconfigure after chip resets in AMC, joining Load detection equipment after being set to merit, such as FPGA, after loading successfully, FPGA is resetted;Judge Whether AMC is connected (the most whether connecting PING to lead to), operation monitoring after PING is logical with backboard network interface Program, terminates to initialize flow process.In the process, maximum can be arranged reconfigure chip in AMC, add Carry FPGA, and the number of times of transmission PING order, after the set point number exceeded, return reset AMC The step of interior chip.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of and method that is that carry out business recovery The corresponding device carrying out business recovery, owing to this device solves principle and the embodiment of the present invention business of problem The method recovered is similar, and therefore the enforcement of this device may refer to the enforcement of method, repeats no more in place of repetition.
As shown in Figure 8, the assay device structures schematic diagram carrying out business recovery provided for the embodiment of the present invention, Including:
Determine module 81, abnormal for determining that the network of communication equipment connects appearance;
Sending module 82, connects for sending instruction network to the central processor CPU of described communication equipment Abnormal signal, so that CPU interrupts current business, and after determining that network connects recovery normally, according to Configuration data before, recover the regular traffic of described communication equipment.
It is preferred that determine module 81 specifically for:
After determining that current network connection status is high level steady statue, enter and normally detect state;Just Often under detection state, however, it is determined that current network connection status is level transitional states, then enter abnormality detection shape State;Under abnormality detection state, however, it is determined that current network connection status be level transitional states or low level steady Determine state, it is determined that network connects abnormal.
It is preferred that determine module 81 specifically for:
N number of time point in former and later two cycles detects network connection state, and connects according to the network of detection State, determines the network connection state in former and later two cycles respectively;Wherein, N is positive integer;According to determining Before and after the network connection state in two cycles, determine current network connection status.
It is preferred that determine module 81 specifically for:
For any one cycle in former and later two cycles described, if detecting that network is even at M time point The state of connecing is identical state, it is determined that the network connection state in this cycle is described identical state;Wherein, M is positive integer, and M > N/2.
It is preferred that determine module 81 specifically for: if it is determined that the previous cycle in former and later two cycles described Different from the network connection state in later cycle, it is determined that current network connection status is level saltus step shape State;If it is determined that in former and later two cycles described the previous cycle with the network connection state in later cycle be all High level steady statue, it is determined that current network connection status is high level steady statue;If it is determined that before described In latter two cycle, the previous cycle is all low level steady statue with the network connection state in later cycle, Then determine that current network connection status is low level steady statue.
As it is shown in figure 9, the communication apparatus construction schematic diagram carrying out business recovery provided for the embodiment of the present invention, Including:
Receiver module 91, the instruction network sent for receiving detection equipment connects the signal that appearance is abnormal;
Processing module 92, is used for interrupting current business, and after determining that network connects recovery normally, according to it Front configuration data, recover the regular traffic of described communication equipment.
It is preferred that processing module 92 specifically for: send to the ext nal network element that is connected with described communication equipment Packet, if receiving the packet of response, it is determined that it is normal that network connects recovery within the time set.
It is preferred that processing module 92 specifically for: network connect normal time, according to set time between Every preserving current configuration data;And/or, receive instruction network at described receiver module and connect abnormal signal After, preserve current configuration data.
It is preferred that processing module 92 specifically for: read the last time preserve configuration data, and read After taking successfully, according to the regular traffic of communication equipment described in the allocation data recovering read.
If it is preferred that processing module 92 is when network connects normal, preserving according to the time interval set and work as Front configuration data, and after described receiver module receives the signal that instruction network connects exception, preserve current Configuration data, the most described processing module specifically for: if read the last time preserve configuration data failure, Then read the configuration data that when network connects normal, the last time preserves, if reading successfully, then according to reading The regular traffic of communication equipment described in the allocation data recovering that when network connects normal, the last time preserves, if still Read unsuccessfully, then read factory default configuration data, and according to the factory default allocation data recovering institute read State the regular traffic of communication equipment.
It is preferred that processing module 92 specifically for: if read the last time preserve configuration data failure, Then read factory default configuration data, and according to communication equipment described in the factory default allocation data recovering read Regular traffic.
It is preferred that processing module 92 specifically for: according to read appearance default configuration data, recover with The connection of server in ext nal network element;The situation that will be currently configured is reported to server, and receives server and issue Latest configuration data, the latest configuration data issued according to server, recover the normal of described communication equipment Business.
As shown in Figure 10, the communication apparatus construction signal carrying out business recovery provided for the embodiment of the present invention Figure, including:
Detection equipment 101, after connecting appearance extremely at the network determining communication equipment, to described communication The central processor CPU of equipment sends instruction network and connects abnormal signal;
Central processing unit 102, for, after receiving the signal that instruction network connection is abnormal, interrupting current industry Business, and after determining that network connects recovery normally, according to configuration data before, recover described communication equipment Regular traffic.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, device (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (22)

1. the method carrying out business recovery, it is characterised in that including:
It is abnormal that detection equipment determines that the network of communication equipment connects appearance;Wherein, described communication equipment be based on The communication equipment that network interface communicates;
Detection equipment sends instruction network to the central processor CPU of described communication equipment and connects abnormal letter Number, so that CPU interrupts current business, and after determining that network connects recovery normally, according to joining before Put data, recover the regular traffic of described communication equipment;
It is abnormal that the network of described communication equipment connects appearance, including:
Described detection equipment, after determining that current network connection status is high level steady statue, enters normal inspection Survey state;
Described detection equipment is under normal detection state, however, it is determined that current network connection status is level saltus step shape State, then enter abnormality detection state;
Described detection equipment is under abnormality detection state, however, it is determined that current network connection status is level saltus step shape State or low level steady statue, it is determined that network connects abnormal.
2. the method for claim 1, it is characterised in that described detection equipment is according to following steps Determine current network connection status:
The described detection equipment N number of time point in former and later two cycles detects network connection state, and according to inspection The network connection state surveyed, determines the network connection state in former and later two cycles respectively;Wherein, N is the most whole Number;
Described detection equipment, according to the network connection state in before and after determining two cycles, determines that current network is even Connect state.
3. method as claimed in claim 2, it is characterised in that described detection equipment is according to the net of detection Network connection status, determines the network connection state in former and later two cycles respectively, including:
For any one cycle in former and later two cycles described, if detecting that network is even at M time point The state of connecing is identical state, it is determined that the network connection state in this cycle is described identical state;Wherein, M is positive integer, and M > N/2.
4. method as claimed in claim 2 or claim 3, it is characterised in that described detection equipment is according to determining Before and after the network connection state in two cycles, determine current network connection status, including:
If described detection equipment determines previous cycle and the net in later cycle in former and later two cycles described Network connection status is different, it is determined that current network connection status is level transitional states;
If described detection equipment determines previous cycle and the net in later cycle in former and later two cycles described Network connection status is all high level steady statue, it is determined that current network connection status is that high level stablizes shape State;
If described detection equipment determines previous cycle and the net in later cycle in former and later two cycles described Network connection status is all low level steady statue, it is determined that current network connection status is that low level stablizes shape State.
5. the method carrying out business recovery, it is characterised in that including:
The central processor CPU of communication equipment receives the instruction network of detection equipment transmission and connects appearance extremely Signal;Wherein, described communication equipment is the communication equipment communicated based on network interface;
Described CPU interrupts current business, and after determining that network connects recovery normally, according to joining before Put data, recover the regular traffic of described communication equipment.
6. method as claimed in claim 5, it is characterised in that described CPU determines that network connects and recovers Normally, including:
Described CPU sends packet to the ext nal network element being connected with described communication equipment, if in setting The packet of response is received, it is determined that it is normal that network connects recovery in time.
7. method as claimed in claim 5, it is characterised in that the configuration data before described are described The configuration data that CPU preserves according to following steps:
Described CPU, when network connects normal, preserves current configuration data according to the time interval set; And/or, described CPU, after receiving the signal that instruction network connection is abnormal, preserves current configuration data.
8. method as claimed in claim 7, it is characterised in that described CPU is according to configuration number before According to, recover the regular traffic of described communication equipment, including:
Described CPU reads the configuration data of the last time preservation, and after reading successfully, according to read The regular traffic of communication equipment described in allocation data recovering.
9. method as claimed in claim 8, it is characterised in that if described CPU connects normal at network Time, preserve current configuration data according to the time interval set, and connect exception receiving instruction network After signal, preserving current configuration data, the most described CPU, according to configuration data before, recovers described logical The regular traffic of letter equipment, also includes:
If described CPU reads the configuration data failure of the last time preservation, then when reading network connects normal The last configuration data preserved, if reading successfully, then according to the network connection of reading normal time nearest one The regular traffic of communication equipment described in the allocation data recovering of secondary preservation, if still reading failure, then reads and dispatches from the factory Default configuration data, and according to the positive regular profession of communication equipment described in the factory default allocation data recovering read Business.
10. method as claimed in claim 8, it is characterised in that described CPU is according to configuration before Data, recover the regular traffic of described communication equipment, also include:
If described CPU reads the configuration data failure of the last time preservation, then read factory default configuration number According to, and according to the regular traffic of communication equipment described in the factory default allocation data recovering read.
11. methods as described in claim 9 or 10, it is characterised in that described CPU is according to reading The regular traffic of communication equipment described in factory default allocation data recovering, including:
CPU, according to the factory default configuration data read, recovers and the connection of server in ext nal network element;
CPU will be currently configured situation and be reported to server, and receive the latest configuration data that server issues, The latest configuration data issued according to server, recover the regular traffic of described communication equipment.
12. 1 kinds of detection equipment carrying out business recovery, it is characterised in that including:
Determine module, abnormal for determining that the network of communication equipment connects appearance;Wherein, described communication equipment It it is the communication equipment communicated based on network interface;
Sending module, connects different for sending instruction network to the central processor CPU of described communication equipment Normal signal, so that CPU interrupts current business, and after determining that network connects recovery normally, according to it Front configuration data, recover the regular traffic of described communication equipment;
Described determine module specifically for:
After determining that current network connection status is high level steady statue, enter and normally detect state;Just Often under detection state, however, it is determined that current network connection status is level transitional states, then enter abnormality detection shape State;Under abnormality detection state, however, it is determined that current network connection status be level transitional states or low level steady Determine state, it is determined that network connects abnormal.
13. devices as claimed in claim 12, it is characterised in that described determine module specifically for:
N number of time point in former and later two cycles detects network connection state, and connects according to the network of detection State, determines the network connection state in former and later two cycles respectively;Wherein, N is positive integer;According to determining Before and after the network connection state in two cycles, determine current network connection status.
14. devices as claimed in claim 13, it is characterised in that described determine module specifically for:
For any one cycle in former and later two cycles described, if detecting that network is even at M time point The state of connecing is identical state, it is determined that the network connection state in this cycle is described identical state;Wherein, M is positive integer, and M > N/2.
15. devices as described in claim 13 or 14, it is characterised in that described determine that module is specifically used In: if it is determined that in former and later two cycles described the network connection state in previous cycle and later cycle is not With, it is determined that current network connection status is level transitional states;If it is determined that before in former and later two cycles described The network connection state in one cycle and later cycle is all high level steady statue, it is determined that current network Connection status is high level steady statue;If it is determined that previous cycle and later in former and later two cycles described The network connection state in cycle is all low level steady statue, it is determined that current network connection status is low level Steady statue.
16. 1 kinds of communication equipments carrying out business recovery, it is characterised in that including:
Receiver module, the instruction network sent for receiving detection equipment connects the signal that appearance is abnormal;
Processing module, is used for interrupting current business, and after determining that network connects recovery normally, according to before Configuration data, recover the regular traffic of described communication equipment;
Wherein, described communication equipment is the communication equipment communicated based on network interface.
17. communication equipments as claimed in claim 16, it is characterised in that described processing module is specifically used In: send packet to the ext nal network element being connected with described communication equipment, if received within the time set To the packet responded, it is determined that it is normal that network connects recovery.
18. communication equipments as claimed in claim 16, it is characterised in that described processing module is specifically used In: when connecting normal at network, preserve current configuration data according to the time interval set;And/or, institute After stating the signal that receiver module receives instruction network connection exception, preserve current configuration data.
19. communication equipments as claimed in claim 18, it is characterised in that described processing module is specifically used In: read the configuration data of the last time preservation, and after reading successfully, extensive according to the configuration data read The regular traffic of multiple described communication equipment.
20. communication equipments as claimed in claim 19, it is characterised in that if described processing module is at net When network connects normal, preserve current configuration data according to the time interval set, and connect at described receiver module After receiving the signal that instruction network connects exception, preserving current configuration data, the most described processing module is specifically used In: if reading the configuration data failure of the last time preservation, then read the last time when network connects normal and protect The configuration data deposited, if reading successfully, then what when connecting normal according to the network read, the last time preserved joins Putting data and recover the regular traffic of described communication equipment, if still reading failure, then reading factory default configuration number According to, and according to the regular traffic of communication equipment described in the factory default allocation data recovering read.
21. communication equipments as claimed in claim 19, it is characterised in that described processing module is specifically used In: if reading the configuration data failure of the last time preservation, then reading factory default configuration data, and according to The regular traffic of communication equipment described in the factory default allocation data recovering read.
22. communication equipments as described in claim 20 or 21, it is characterised in that described processing module has Body is used for: according to the appearance default configuration data read, and recovers and the connection of server in ext nal network element;Will The situation of being currently configured is reported to server, and receives the latest configuration data that server issues, according to server The latest configuration data issued, recover the regular traffic of described communication equipment.
CN201310253716.8A 2013-06-24 2013-06-24 A kind of method and device carrying out business recovery Active CN103298013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310253716.8A CN103298013B (en) 2013-06-24 2013-06-24 A kind of method and device carrying out business recovery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310253716.8A CN103298013B (en) 2013-06-24 2013-06-24 A kind of method and device carrying out business recovery

Publications (2)

Publication Number Publication Date
CN103298013A CN103298013A (en) 2013-09-11
CN103298013B true CN103298013B (en) 2016-08-10

Family

ID=49098185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310253716.8A Active CN103298013B (en) 2013-06-24 2013-06-24 A kind of method and device carrying out business recovery

Country Status (1)

Country Link
CN (1) CN103298013B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104460914A (en) * 2014-12-15 2015-03-25 太仓市同维电子有限公司 Wireless configuration one-key restoration system and wireless configuration one-key restoration method for wireless terminals
CN106792266B (en) * 2015-11-23 2019-04-30 深圳市中兴微电子技术有限公司 A kind of network detecting method and device and top box of digital machine
US9946489B2 (en) * 2016-07-27 2018-04-17 Western Digital Technologies, Inc. Multi-stream journaled replay
CN107733687A (en) * 2017-09-06 2018-02-23 深圳市金立通信设备有限公司 Prompt service abnormal method, terminal, server and computer-readable medium
CN109274544B (en) * 2018-12-11 2021-06-29 浪潮(北京)电子信息产业有限公司 Fault detection method and device for distributed storage system
CN109783148A (en) * 2019-01-15 2019-05-21 湖南泽天智航电子技术有限公司 A kind of U-Boot starting double copies system
CN110430071A (en) * 2019-07-19 2019-11-08 云南电网有限责任公司信息中心 Service node fault self-recovery method, apparatus, computer equipment and storage medium
CN111277820A (en) * 2020-02-07 2020-06-12 北京小马智行科技有限公司 Failure detection method and device for camera system and detection and recovery method
CN112363865A (en) * 2020-10-19 2021-02-12 深圳云天励飞技术股份有限公司 Database fault recovery method and device and face image search system
CN115865743A (en) * 2022-11-22 2023-03-28 四川天邑康和通信股份有限公司 Device and method for realizing network connectivity detection of fusion type set top box

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500326A (en) * 2008-01-29 2009-08-05 中兴通讯股份有限公司 Method and apparatus for implementing configuration information recovery on mobile terminal
CN102510409A (en) * 2011-12-19 2012-06-20 厦门雅迅网络股份有限公司 Method and system for quickly and remotely updating program of mobile terminal by using wireless network
CN103019809A (en) * 2011-09-28 2013-04-03 中国移动通信集团公司 Business processing device and method, and business processing control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162664B2 (en) * 2003-06-20 2007-01-09 Microsoft Corporation Debugging breakpoints on pluggable components

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500326A (en) * 2008-01-29 2009-08-05 中兴通讯股份有限公司 Method and apparatus for implementing configuration information recovery on mobile terminal
CN103019809A (en) * 2011-09-28 2013-04-03 中国移动通信集团公司 Business processing device and method, and business processing control device
CN102510409A (en) * 2011-12-19 2012-06-20 厦门雅迅网络股份有限公司 Method and system for quickly and remotely updating program of mobile terminal by using wireless network

Also Published As

Publication number Publication date
CN103298013A (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN103298013B (en) A kind of method and device carrying out business recovery
CN101345663B (en) Heartbeat detection method and heartbeat detection apparatus
US10966342B2 (en) System and method for determining location and navigating a datacenter using augmented reality and available sensor data
CN106254100A (en) A kind of data disaster tolerance methods, devices and systems
CN102244669B (en) Software upgrading method in stacking equipment and stacking equipment
CN106789306A (en) Restoration methods and system are collected in communication equipment software fault detect
CN102346707B (en) Server system and operation method thereof
CN102662782A (en) Method and device for monitoring system bus
CN109245926A (en) Intelligent network adapter, intelligent network adapter system and control method
CN109194430B (en) SRIO-based C6678 distributed system time synchronization method and system
CN109217922A (en) A kind of method and device that optical module reports Received Loss Of Signal to alert
CN105704187B (en) A kind of processing method and processing device of cluster fissure
CN113645048B (en) Network card switching method and device and field programmable gate array FPGA
CN114615310A (en) Method and device for maintaining TCP connection and electronic equipment
CN101252477A (en) Determining method and analyzing apparatus of network fault root
CN101458624B (en) Loading method of programmable logic device, processor and apparatus
EP0212402A2 (en) Communication system configuration detecting apparatus and method
CN106030544B (en) Method for detecting memory of computer equipment and computer equipment
CN207992997U (en) I2C bus systems
CN109739581A (en) A kind of FPGA portion method for reconfiguration, system, equipment and computer media
CN106506265A (en) Detection fpga chip hangs dead method and device
EP3240233A1 (en) Power fail safeguard method, device and system thereof
CN103595781B (en) A kind of service providing method based on zookeeper, first server and system
CN116137603A (en) Link fault detection method and device, storage medium and electronic device
CN105868038A (en) Memory error processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 510663 No. 10 Shenzhou Road, Guangzhou Science City, Guangdong Province

Patentee after: Jingxin Network System Co.,Ltd.

Address before: 510663 No. 10 Shenzhou Road, Guangzhou Science City, Guangdong Province

Patentee before: Comba Telecom System (China) Ltd.

CP01 Change in the name or title of a patent holder