CN103298013A - Service restoration method and device - Google Patents

Service restoration method and device Download PDF

Info

Publication number
CN103298013A
CN103298013A CN2013102537168A CN201310253716A CN103298013A CN 103298013 A CN103298013 A CN 103298013A CN 2013102537168 A CN2013102537168 A CN 2013102537168A CN 201310253716 A CN201310253716 A CN 201310253716A CN 103298013 A CN103298013 A CN 103298013A
Authority
CN
China
Prior art keywords
network connection
configuration data
communication equipment
state
cpu
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.)
Granted
Application number
CN2013102537168A
Other languages
Chinese (zh)
Other versions
CN103298013B (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.)
Jingxin Network System Co.,Ltd.
Original Assignee
Comba Telecom System 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 System China Ltd filed Critical Comba Telecom System 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 invention relates to the technical field of communication, in particular to a service restoration method and device and aims at solving the problem that normal service of an AMC device and other devices performing communication based on internet accesses cannot be restored after network connection is abnormal in the prior art. After a detection device conforms that the network connection of the communication devices are abnormal, a signal for indicating abnormal network connection is sent to a central processing unit (CPU) of the communication devices to enable current service of the CPU to be interrupted, and after the detection device conforms that the network connection is restored to be normal, normal service of the communication devices is restored according to previous configuration data, accordingly the normal service of the AMC device and other devices performing communication based on the internet accesses can be restored automatically.

Description

A kind of method and device that carries out business recovery
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and device that carries out business recovery.
Background technology
In field of wireless communication, exist many interfaces Network Based to carry out the equipment of transfer of data, such as Home eNodeB (femto), wireless access focus (Access Point, AP), based on Advanced telecom computing architecture (Advanced Telecom Computing Architecture, ATCA) equipment of standard is (as advanced mezzanine card (Advanced Mezzanine Card, AMC)) etc.These equipment based on the network interface correspondence with foreign country may be because carrying out influencing from recovery process the carrying out of regular traffic after network occurs unusually.Be example with AMC below, describe.
AMC generally is used for the expansion of ATCA integrated circuit board external interface, shelf management function by the ATCA integrated circuit board can realize the management of AMC is controlled, but, after network connection occurs unusually, the AMC service exception, and can't carry out business recovery automatically by the shelf management function of ATCA integrated circuit board, bring very big inconvenience to the user.
Therefore, in the prior art, after network connection occurred unusually, AMC etc. can't recover regular traffic automatically based on the equipment that network interface communicates.
Summary of the invention
The embodiment of the invention provides a kind of method and device that carries out business recovery, in order to solve in the prior art when network connection occur unusual after, the equipment that AMC etc. communicate based on network interface can't recover the problem of regular traffic.
A kind of method of carrying out business recovery that the embodiment of the invention provides comprises:
It is unusual that checkout equipment determines that the network connection of communication equipment occurs;
Checkout equipment sends indication network connection anomalous signals to the central processor CPU of described communication equipment, so that CPU interrupts current business, and after definite network connection is recovered normally, according to configuration data before, recovers the regular traffic of described communication equipment.
A kind of method of carrying out business recovery that the embodiment of the invention provides comprises:
Anomalous signals appears in the indication network connection that the central processor CPU of communication equipment receives the checkout equipment transmission;
Described CPU interrupts current business, and after definite network connection is recovered normally, according to configuration data before, recovers the regular traffic of described communication equipment.
A kind of checkout equipment that carries out business recovery that the embodiment of the invention provides comprises:
Determination module is used for determining that the network connection of communication equipment occurs unusual;
Sending module, be used for sending indication network to the central processor CPU of described communication equipment and connect anomalous signals, so that CPU interrupts current business, and after definite network connection recovery is normal, according to configuration data before, recover the regular traffic of described communication equipment.
A kind of communication equipment that carries out business recovery that the embodiment of the invention provides comprises:
Receiver module, the indication network that is used for the transmission of reception checkout equipment connects and anomalous signals occurs;
Processing module is used for interrupting current business, and after definite network connection is recovered normally, according to configuration data before, recovers the regular traffic of described communication equipment.
A kind of communication equipment that carries out business recovery that the embodiment of the invention provides comprises:
Checkout equipment is after occurring unusually in the network connection of determining communication equipment, to the central processor CPU transmission indication network connection anomalous signals of described communication equipment;
CPU is used for interrupting current business, and after definite network connection is recovered normally, according to configuration data before, recovering the regular traffic of described communication equipment after receiving indication network connection anomalous signals.
Checkout equipment is after the network connection of determining communication equipment occurs unusually in the embodiment of the invention, send indication network to central processor CPU and connect anomalous signals, so that CPU interrupts current business, and after definite network connection is recovered normally, according to configuration data before, recover the regular traffic of described communication equipment, thereby can make AMC etc. after network connection is unusual, can recover regular traffic based on the equipment that network interface communicates automatically.
Description of drawings
The method flow diagram that carries out business recovery that Fig. 1 provides for the embodiment of the invention;
The method flow diagram that carries out business recovery that Fig. 2 provides for the embodiment of the invention;
The method flow diagram that carries out business recovery that Fig. 3 provides for preferred embodiment of the present invention;
The checkout equipment detected state conversion schematic diagram that Fig. 4 provides for the embodiment of the invention;
The checkout equipment that Fig. 5 provides for the embodiment of the invention is determined the method flow diagram of detected state;
Fig. 6 is the configuration data schematic diagram that server and AMC preserve in the embodiment of the invention;
Fig. 7 carries out initialized schematic flow sheet for the embodiment of the invention to AMC;
The assay device structures schematic diagram figure that carries out business recovery that Fig. 8 provides for the embodiment of the invention;
The communication equipment structural representation that carries out business recovery that Fig. 9 provides for the embodiment of the invention;
The communication equipment structural representation that carries out business recovery that Figure 10 provides for the embodiment of the invention.
Embodiment
Checkout equipment is after the network connection of determining communication equipment occurs unusually in the embodiment of the invention, send indication network to central processor CPU and connect anomalous signals, so that CPU interrupts current business, and after definite network connection is recovered normally, according to configuration data before, recover the regular traffic of described communication equipment, thereby can make AMC etc. after network connection is unusual, can recover regular traffic based on the equipment that network interface communicates automatically.
Below in conjunction with Figure of description the embodiment of the invention is described in further detail.
As shown in Figure 1, the method flow diagram that carries out business recovery for the embodiment of the invention provides may further comprise the steps:
S101: it is unusual that checkout equipment determines that the network connection of communication equipment occurs;
S102: checkout equipment is to the CPU(central processing unit of communication equipment, Central Processing Unit) sends indication network and connect anomalous signals, so that CPU interrupts current business, and after definite network connection is recovered normally, according to configuration data before, recover the regular traffic of communication equipment.
Above-mentioned communication equipment specifically can be any equipment based on the network interface correspondence with foreign country such as AMC, detect the checkout equipment of network connection state and specifically can build realization by discrete gate circuit, also can pass through PLD (programmable logic device, Programmable Logic Device) realizes, the PLD here specifically can be the FPGA(field programmable gate array, Field Programmable Gate Array), the CPLD(CPLD, Complex Programmable Logic Device), the PAL(programmable logic array, Programmable Array Logic), the GAL(GAL, General Array Logic) device etc.Checkout equipment can be set directly on the communication equipment, also can be arranged on outside the communication equipment, but need to communicate with the CPU of communication equipment.Checkout equipment is according to detected network connection state, after the network connection of determining communication equipment occurs unusually, send indication network to CPU and connect anomalous signals, such as interrupt signal, more specifically, it can be interruption pulse, CPU is after receiving this interruption pulse, it is unusual to determine that current network connects, then interrupt current business, and monitor the external network connection in real time and whether recover normal, after definite network connection is recovered normally, according to the configuration data of preserving before, load and the reconfiguration data process by log-on data, recover the regular traffic of communication equipment, the configuration data of Bao Cuning specifically can comprise user's configuration data parameter here, the network configuration data parameter, the reconfiguration data parameter, the system resource allocation scheduling parameter, system employs daily record etc.
Preferably, among the step S101, it is unusual that checkout equipment determines that the network connection of communication equipment occurs, and comprising:
Checkout equipment enters normal detected state after definite current network connection status is the high level stable state;
Checkout equipment if determine that the current network connection status is the level transitional states, then enters the abnormality detection state under normal detected state;
Checkout equipment if determine that the current network connection status is level transitional states or low level stable state, determines that then network connection is unusual under the abnormality detection state.
In specific implementation process, need guarantee under the normal situation of checkout equipment operating state, carrying out network connection state detects, if checkout equipment itself goes wrong, the detected network connection state of checkout equipment might be the low level stable state, but detected state and fict network connection state, based on this, the idiographic flow that embodiment of the invention checkout equipment carries out the network connection state detection can be:
Checkout equipment is under init state, if detecting the current network connection status is the high level stable state, devices illustrated has started normal workflow, and checkout equipment also enters normal detected state; Checkout equipment is under normal detected state, still be the high level stable state as if detecting the current network connection status, then keep existing normal detected state, if detecting the current network connection status is the level transitional states, then enter the abnormality detection state, if do not detect the level transitional states, but detecting the current network connection status is the low level stable state, illustrates the checkout equipment testing process problem to have occurred, at this moment, checkout equipment returns init state, detects again; Checkout equipment is under the abnormality detection state, if to detect the current network connection status be the high level stable state, then the network connection state of devices illustrated has recovered normal, saltus step before might be that problem has appearred in testing process, or temporary transient instability appearred in level state, at this moment, checkout equipment returns init state, checkout equipment when detecting the current network connection status and being low level stable state or level transitional states, determines that just network connection is unusual only under the abnormality detection state.This testing process can increase the accuracy of testing result, under the prerequisite that guarantees checkout equipment testing result accuracy, in time finds the network connection abnormality.In concrete enforcement, can preestablish the detection time in each stage in the above-mentioned three phases (init state-normal detected state, normal detected state-abnormality detection state, abnormality detection state-detection of end), such as, all be 20ms the detection time that each stage is set, after this section finished detection in the period, meet the condition that enters the next stage if satisfy, then enter the testing process of next stage, otherwise return init state in a manner described or keep standing state.
Preferably, checkout equipment specifically can be determined the current network connection status according to following steps:
N the time point in checkout equipment each cycle in former and later two cycles detects network connection state, and according to the network connection state that detects, determines the network connection state in former and later two cycles respectively; Wherein, N is positive integer;
Checkout equipment is determined the current network connection status according to the network connection state in former and later two cycles of determining.
Preferably, checkout equipment is determined the network connection state in former and later two cycles respectively according to the network connection state that detects, and comprising:
At any one cycle in former and later two cycles, if detecting network connection state at M time point is identical state, determine that then the network connection state in this cycle is described identical state; Wherein, M is positive integer, and M〉N/2.
In specific implementation process, can adopt multiple spot to detect and the mode of majority vote is determined the network connection state of communication equipment, such as, N in each cycle time point sampling Detection network connection state, the mode of employing majority vote is determined the network connection state in each cycle, such as, at any one cycle, if among the result of N time point sampling Detection testing result over half being arranged is the high level stable state, the network connection state of then determining this cycle is the high level stable state, correspondingly, if it is the low level stable state that testing result over half is arranged, determine that then the network connection state in this cycle is the low level stable state, if testing result half be the low level stable state, half is the high level stable state, and then the testing result of one-period is kept in relatively failure; The mode of confirming testing result in the majority vote can arrange as required flexibly, such as arranging when the testing result that has 2/3 among the result in N time point sampling Detection of one-period is same testing result, with the network connection state of this testing result as this cycle.Sense cycle can be set according to actual conditions, and such as setting according to the time of the unusual saltus step of level, can set one-period is 10ms, and N is 10, the 1ms of then being separated by between each sample point.
Preferably, checkout equipment is determined the current network connection status according to the network connection state in former and later two cycles of determining, comprising:
Different with the network connection state of back one-period as if the previous cycle in definite former and later two cycles, then determine that the current network connection status is the level transitional states;
If the previous cycle all is the high level stable state with the network connection state of back one-period in definite former and later two cycles, determine that then the current network connection status is the high level stable state;
If the previous cycle all is the low level stable state with the network connection state of back one-period in definite former and later two cycles, determine that then the current network connection status is the low level stable state.
In specific implementation process, after the network connection state (after high level stable state or the low level stable state) of determining good former and later two each cycles in cycle, can determine the current network connection status according to the network connection state in two cycles, if the network connection state difference in former and later two cycles, be the high level stable state such as previous periodic network connection status, the network connection state of back one-period is the low level stable state, determines that then network connection state is for to be transformed into the low level stable state by the high level stable state.
As shown in Figure 2, the method flow diagram that carries out business recovery for the embodiment of the invention provides comprises:
S201: anomalous signals appears in the indication network connection that the central processor CPU of communication equipment receives the checkout equipment transmission;
S202:CPU interrupts current business, and after definite network connection is recovered normally, according to configuration data before, recovers the regular traffic of communication equipment.
Preferably, among the step S202, CPU determines that the network connection recovery is normal, comprising:
CPU sends packet to the ext nal network element that is connected with communication equipment, if receive the packet of response in the time of setting, determines that then the network connection recovery is normal.
In specific implementation process, CPU receives indication network and connects anomalous signals, such as entering interruptions reason flow process behind the interruption pulse, can produce corresponding alarm signal notice cabinet administrative unit earlier or produce the alarm indication at panel, then the original configuration data of communication equipment is preserved, back up data to readable and writable memory spare, above the current operation configuration data zone as FLASH, again all chips of communication equipment are carried out initialization (all chips in the communication equipment are resetted and reshuffle), and to the ext nal network element transmission packet detection external network that is connected with this communication equipment, if in the time of setting, receive the packet of response, determine that then the network connection recovery is normal, the data that CPU starts communication equipment load and the reconfiguration data process, recover the regular traffic of communication equipment.
Preferably, among the step S202, configuration data before is the configuration data that CPU preserves according to following steps:
CPU in network connection just often preserves current configuration data according to the time interval of setting; And/or CPU preserves current configuration data after receiving indication network connection anomalous signals.
In specific implementation process, CPU can be in network connection just often, according to the automatic current configuration data of communication equipment of preserving of the time interval of setting, can also be after receiving indication network connection anomalous signals, preserve current configuration data (be described above the current operation configuration data zone that backs up data to scratch pad memory spare FLASH above), if CPU both preserved current configuration data automatically according to the time interval of setting, also after receiving indication network connection anomalous signals, preserve current configuration data, then readable and writable memory spare can be divided into two independently spaces, one is used for the last normal configuration data that starts of storage, it is the configuration data that CPU preserved automatically according to the time interval of setting, a configuration data that is used for the current normal startup of storage, i.e. CPU interim configuration data of preserving when network connection is unusual.
Preferably, CPU is according to configuration data before, and the regular traffic of restorer comprises:
CPU reads the last configuration data of preserving, and after reading successfully, according to the regular traffic of the allocation data recovering communication equipment that reads.
In specific implementation process, if CPU preserves current configuration data automatically according to the time interval of setting, then the configuration data preserved of above-mentioned CPU the last time of reading is CPU at the network connection the last configuration data of preserving automatically just often, if CPU preserves current configuration data after receiving indication network connection anomalous signals, then the configuration data preserved is the configuration data that CPU preserves when network connection is unusual above-mentioned CPU the last time of reading, if CPU both preserved current configuration data automatically according to the time interval of setting, the interim configuration data of preserving when network connection is unusual again, the then configuration data still preserved when network connection is unusual for CPU of the configuration data preserved of above-mentioned CPU the last time of reading.
Preferably, if CPU in network connection just often, according to the time interval preservation current configuration data of setting, and after receiving indication network connection anomalous signals, preserve current configuration data, then CPU is according to configuration data before, recover the regular traffic of communication equipment, also comprise:
If CPU reads the last configuration data failure of preserving, then read the network connection the last configuration data of preserving just often, if read success, then according to the network connection that the reads regular traffic of the last described communication equipment of preserving of allocation data recovering just often, if still read failure, then read the default configuration data of dispatching from the factory, and recover the regular traffic of described communication equipment according to the default configuration data of dispatching from the factory that read.
Preferably, CPU comprises according to the regular traffic of the default configuration data recovery communication equipment that dispatches from the factory that reads:
CPU is according to the default configuration data of dispatching from the factory that read, recover with ext nal network element in being connected of server;
CPU is reported to server with current configuration data, and the latest configuration data that issue of reception server, according to the latest configuration data that server issues, recovers the regular traffic of communication equipment.
In specific implementation process, can device interior arrange two independently storage entity come store configuration data, one is read only memory device (ROM), the configuration data that programming is given tacit consent to well when dispatching from the factory for memory device, another is readable and writable memory spare, readable and writable memory spare can be divided into two independently memory spaces, and one is used for the last normal configuration data that starts of storage, a configuration data that is used for the current normal startup of storage.In concrete enforcement, if CPU in network connection just often, according to the time interval preservation current configuration data of setting, and after receiving indication network connection anomalous signals, preserve current configuration data, then CPU is after definite network connection is recovered normally, at first read the configuration data of the original preservation of data distributing from the current normal startup configuration data zone of readable and writable memory spare, original business of restorer, if owing to reason or the data exception of memory device causes reading failure, then read configuration data from the normal configuration data zone that starts of last time, if still can't read correct data, then read the default configuration data of dispatching from the factory from read only memory device, CPU can be according to the default configuration data of dispatching from the factory that read, recover with ext nal network element in being connected of server, current configuration data is reported to server, the latest configuration data that reception server issues are according to the latest configuration data that server issues, the regular traffic of restorer.
Except above-mentioned preferred implementation, no matter CPU is in network connection just often, according to the time interval preservation current configuration data of setting, still after network connection is unusual, the interim current configuration data of preserving, still adopt this two kinds of preserving types, all can also adopt the regular traffic of following manner restorer:
That is, CPU is according to configuration data before, and the regular traffic of restorer also comprises:
If CPU reads the last configuration data failure of preserving, then read the default configuration data of dispatching from the factory, and according to the regular traffic of the default configuration data recovery apparatus that dispatches from the factory that reads.
In specific implementation process, if CPU is in network connection just often, according to the time interval preservation current configuration data of setting, then after reading network connection the last configuration data failure of preserving just often, read the default configuration data of dispatching from the factory, and according to the regular traffic of the default configuration data recovery apparatus that dispatches from the factory that reads; If CPU is after network connection is unusual, the interim current configuration data of preserving, then reading the last configuration data of preserving (namely, the configuration data of the unusual back interim preservation of network connection) after the failure, read the default configuration data of dispatching from the factory, and according to the regular traffic of the default configuration data recovery apparatus that dispatches from the factory that reads.
Be example below with AMC, further specify the method that the embodiment of the invention is carried out business recovery by a detailed embodiment;
As shown in Figure 3, the method flow diagram that carries out business recovery for preferred embodiment of the present invention provides comprises:
S301: it is unusual that checkout equipment determines that the network connection of AMC occurs;
In concrete enforcement, checkout equipment can be built realization by discrete gate circuit, can realize that also the PLD here specifically can be FPGA, CPLD, PAL, GAL device etc. by PLD, and it is unusual to determine that the network connection of equipment occurs according to following mode:
As shown in Figure 4, the checkout equipment detected state conversion schematic diagram that provides for the embodiment of the invention; Checkout equipment is under init state, if after determining that the current network connection status is the high level stable state, then enter normal detected state, otherwise return init state; Checkout equipment if determine that the current network connection status is the level transitional states, then enters the abnormality detection state under normal detected state, if determine still to be the high level stable state, then keep existing detected state, if be defined as the low level stable state, then return init state; Checkout equipment is under the abnormality detection state, if detecting network connection state under this state is level transitional states or low level stable state, it is unusual to determine that then network connection occurs, and jump to done state, otherwise, returning init state, testing circuit is under done state, CPU to communication equipment sends interruption pulse, and indication CPU interrupts handling process accordingly.
As shown in Figure 5, the checkout equipment that provides for the embodiment of the invention is determined the method flow diagram of detected state, comprising: S51: network connection state is carried out periodic sampling detect; Such as, the sampling interval is t, and N sample point arranged in each cycle, N can be made as odd number; S52: at one-period, the mode of employing majority vote is determined the network connection state in this cycle; Such as, determine that high level is n1 point, low level is n2 point, wherein, and n1+n1=N, if n1〉n2, the network connection state of then determining this cycle is the high level stable state, if n1=n2 then keeps the comparative result of one-period, if n1<n2 determines that then the network connection state in this cycle is the low level stable state; S53: at this cycle and the previous cycle adjacent with this cycle, if the network connection state in the network connection state in last cycle and this cycle is different, determine that then the current network connection status is the level transitional states, if the network connection state in the network connection state in last cycle and this cycle is identical, determine that then working as network connection state is this identical state; Here, identical state refers to high level stable state or low level stable state;
S302: checkout equipment sends interruption pulse to CPU;
After S303:CPU receives interruption pulse, interrupt current business, then the original configuration data of AMC is preserved, back up data on the current operation configuring area of readable and writable memory spare;
S304:CPU sends packet to the ext nal network element that is connected with AMC, if receive the packet of response in the time of setting, determines that then the network connection recovery is normal;
S305:CPU is after definite network connection is recovered normally, and according to the configuration data of preserving, log-on data loads and reconfiguration course, recovers the regular traffic of AMC; Here the configuration data of Bao Cuning can be CPU interim configuration data of preserving when network connection is unusual among the step S303, also can be CPU in network connection just often, according to the configuration data that the time interval of setting preserves automatically, can also be the default configuration data of dispatching from the factory of preserving in the read only memory device;
In specific implementation process, the configuration data of preserving among server in the ext nal network element and the AMC is kept synchronously, as shown in Figure 6, be server in the embodiment of the invention and the configuration data schematic diagram of AMC preservation;
Particularly, have no progeny in the CPU response, enter the abnormality processing flow process, produce corresponding alarm signal notice cabinet administrative unit earlier or produce the alarm indication at panel, then the configuration data of AMC is preserved, back up data on the current operation configuring area of FLASH, again all chips of AMC are carried out initialization, and by sending packet to ext nal network element, the detection network connection status, in this process, can start overtime timer, if in the time of setting, receive the packet of response, illustrate that then the network connection recovery is normal, then start AMC and read and issue the configuration data of preservation from the current normal startup configuring area of FLASH, recover original business of AMC, if timer expiry, read failure, then read configuration data from the normal configuring area that starts of last time, if still can't read correct data, then read the default configuration data of dispatching from the factory from ROM, according to the default configuration book that dispatches from the factory that reads, connect with external server, and the configuring condition that will move at present is reported to server, such as recovering to dispatch from the factory default configuration from ROM, then illustrate from FLASH and can't recover data, server is according to the configuring condition that reports, issue the up-to-date configuration data of AMC, and upgrade the data in last two zones of FLASH synchronously, if server is according to the configuration data that reports, determine that AMC recovers data from FLASH, then need according to the synchronous up-to-date configuration data of time tag, finish to finish this self-healing flow process at last, if timer expiry would illustrate ext nal network element can't operate as normal or this initialization unsuccessful, CPU is according to overtime number of times and from the continuous rank that promotes the alarm indication of beginning interrupting service time up till now, continue simultaneously AMC is carried out initialization, till ext nal network element has response, as shown in Figure 7, for the embodiment of the invention is carried out initialized schematic flow sheet to AMC, comprise: CPU starts bootstrap loader (Universal Boot Loader, u-boot) and operating system nucleus, and loading root file system and user file system, operation starts script and CPU finger daemon, after chip resets in the AMC, reshuffle, after configuration successful, load checkout equipment, as FPGA, the back resets to FPGA loading successfully; Judge whether AMC and backboard network interface are connected (it is logical namely whether to connect PING), in the logical back operation monitoring of PING program, finish the initialization flow process.In this process, maximum can be set reshuffle chip in the AMC, load FPGA, and send the number of times of PING order, behind the set point number that surpasses, return the step of chip in the AMC that resets.
Based on same inventive concept, a kind of device of carrying out business recovery corresponding with the method for carrying out business recovery also is provided in the embodiment of the invention, because the principle of this device solves problem is similar to the method for embodiment of the invention business recovery, therefore the enforcement of this device can repeat part and repeat no more referring to the enforcement of method.
As shown in Figure 8, the assay device structures schematic diagram that carries out business recovery for the embodiment of the invention provides comprises:
Determination module 81 is used for determining that the network connection of communication equipment occurs unusual;
Sending module 82, be used for sending indication network to the central processor CPU of described communication equipment and connect anomalous signals, so that CPU interrupts current business, and after definite network connection recovery is normal, according to configuration data before, recover the regular traffic of described communication equipment.
Preferably, determination module 81 specifically is used for:
After definite current network connection status is the high level stable state, enter normal detected state; Under normal detected state, if determine that the current network connection status is the level transitional states, then enter the abnormality detection state; Under the abnormality detection state, if determine that the current network connection status is level transitional states or low level stable state, determine that then network connection is unusual.
Preferably, determination module 81 specifically is used for:
N time point in former and later two cycles detects network connection state, and according to the network connection state that detects, determines the network connection state in former and later two cycles respectively; Wherein, N is positive integer; According to the network connection state in former and later two cycles of determining, determine the current network connection status.
Preferably, determination module 81 specifically is used for:
At any one cycle in described former and later two cycles, if detecting network connection state at M time point is identical state, determine that then the network connection state in this cycle is described identical state; Wherein, M is positive integer, and M〉N/2.
Preferably, determination module 81 specifically is used for: if determine that the described previous cycle in former and later two cycles is different with the network connection state of back one-period, then determines that the current network connection status is the level transitional states; If the previous cycle all is the high level stable state with the network connection state of back one-period in definite described former and later two cycles, determine that then the current network connection status is the high level stable state; If the previous cycle all is the low level stable state with the network connection state of back one-period in definite described former and later two cycles, determine that then the current network connection status is the low level stable state.
As shown in Figure 9, the communication equipment structural representation that carries out business recovery for the embodiment of the invention provides comprises:
Receiver module 91, the indication network that is used for the transmission of reception checkout equipment connects and anomalous signals occurs;
Processing module 92 is used for interrupting current business, and after definite network connection is recovered normally, according to configuration data before, recovers the regular traffic of described communication equipment.
Preferably, processing module 92 specifically is used for: send packet to the ext nal network element that is connected with described communication equipment, if receive the packet of response in the time of setting, determine that then the network connection recovery is normal.
Preferably, processing module 92 specifically is used for: in network connection just often, and according to the time interval preservation current configuration data of setting; And/or, after described receiver module receives indication network connection anomalous signals, preserve current configuration data.
Preferably, processing module 92 specifically is used for: read the last configuration data of preserving, and after reading successfully, according to the regular traffic of the described communication equipment of allocation data recovering that reads.
Preferably, if processing module 92 in network connection just often, according to the time interval preservation current configuration data of setting, and after described receiver module receives indication network connection anomalous signals, preserve current configuration data, then described processing module specifically is used for: if read the last configuration data failure of preserving, then read the network connection the last configuration data of preserving just often, if read success, then according to the network connection that the reads regular traffic of the last described communication equipment of preserving of allocation data recovering just often, if still read failure, then read the default configuration data of dispatching from the factory, and recover the regular traffic of described communication equipment according to the default configuration data of dispatching from the factory that read.
Preferably, processing module 92 specifically is used for: if read the last configuration data failure of preserving, then read the default configuration data of dispatching from the factory, and recover the regular traffic of described communication equipment according to the default configuration data of dispatching from the factory that read.
Preferably, processing module 92 specifically is used for: according to the appearance default configuration data that read, recover with ext nal network element in being connected of server; Current configuring condition is reported to server, and the latest configuration data that issue of reception server, according to the latest configuration data that server issues, recover the regular traffic of described communication equipment.
As shown in figure 10, the communication equipment structural representation that carries out business recovery for the embodiment of the invention provides comprises:
Checkout equipment 101 is after occurring unusually in the network connection of determining communication equipment, to the central processor CPU transmission indication network connection anomalous signals of described communication equipment;
Central processing unit 102 is used for interrupting current business, and after definite network connection is recovered normally, according to configuration data before, recovering the regular traffic of described communication equipment after receiving indication network connection anomalous signals.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware embodiment, complete software embodiment or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to flow chart and/or the block diagram of method, device (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make and carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic creative concept of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (25)

1. a method of carrying out business recovery is characterized in that, comprising:
It is unusual that checkout equipment determines that the network connection of communication equipment occurs;
Checkout equipment sends indication network connection anomalous signals to the central processor CPU of described communication equipment, so that CPU interrupts current business, and after definite network connection is recovered normally, according to configuration data before, recovers the regular traffic of described communication equipment.
2. the method for claim 1 is characterized in that, it is unusual that described checkout equipment determines that the network connection of communication equipment occurs, and comprising:
Described checkout equipment enters normal detected state after definite current network connection status is the high level stable state;
Described checkout equipment if determine that the current network connection status is the level transitional states, then enters the abnormality detection state under normal detected state;
Described checkout equipment if determine that the current network connection status is level transitional states or low level stable state, determines that then network connection is unusual under the abnormality detection state.
3. method as claimed in claim 2 is characterized in that, described checkout equipment is determined the current network connection status according to following steps:
Described checkout equipment detects network connection state at N the time point in former and later two cycles, and according to the network connection state that detects, determines the network connection state in former and later two cycles respectively; Wherein, N is positive integer;
Described checkout equipment is determined the current network connection status according to the network connection state in former and later two cycles of determining.
4. method as claimed in claim 3 is characterized in that, described checkout equipment is determined the network connection state in former and later two cycles respectively according to the network connection state that detects, and comprising:
At any one cycle in described former and later two cycles, if detecting network connection state at M time point is identical state, determine that then the network connection state in this cycle is described identical state; Wherein, M is positive integer, and M〉N/2.
5. as claim 3 or 4 described methods, it is characterized in that described checkout equipment is determined the current network connection status according to the network connection state in former and later two cycles of determining, comprising:
If it is different with the network connection state of back one-period that described checkout equipment is determined previous cycle in described former and later two cycles, then definite current network connection status is the level transitional states;
If described checkout equipment determines that previous cycle in described former and later two cycles and the network connection state of back one-period all be the high level stable state, then definite current network connection status is the high level stable state;
If described checkout equipment determines that previous cycle in described former and later two cycles and the network connection state of back one-period all be the low level stable state, then definite current network connection status is the low level stable state.
6. a method of carrying out business recovery is characterized in that, comprising:
Anomalous signals appears in the indication network connection that the central processor CPU of communication equipment receives the checkout equipment transmission;
Described CPU interrupts current business, and after definite network connection is recovered normally, according to configuration data before, recovers the regular traffic of described communication equipment.
7. method as claimed in claim 6 is characterized in that, described CPU determines that the network connection recovery is normal, comprising:
Described CPU sends packet to the ext nal network element that is connected with described communication equipment, if receive the packet of response in the time of setting, determines that then the network connection recovery is normal.
8. method as claimed in claim 6 is characterized in that, described configuration data before is the configuration data that described CPU preserves according to following steps:
Described CPU in network connection just often preserves current configuration data according to the time interval of setting; And/or described CPU preserves current configuration data after receiving indication network connection anomalous signals.
9. method as claimed in claim 8 is characterized in that, described CPU recovers the regular traffic of described communication equipment according to configuration data before, comprising:
Described CPU reads the last configuration data of preserving, and after reading successfully, according to the regular traffic of the described communication equipment of allocation data recovering that reads.
10. method as claimed in claim 9, it is characterized in that, if described CPU in network connection just often, according to the time interval preservation current configuration data of setting, and after receiving indication network connection anomalous signals, preserve current configuration data, then described CPU is according to configuration data before, recover the regular traffic of described communication equipment, also comprise:
If described CPU reads the last configuration data failure of preserving, then read the network connection the last configuration data of preserving just often, if read success, then according to the network connection that the reads regular traffic of the last described communication equipment of preserving of allocation data recovering just often, if still read failure, then read the default configuration data of dispatching from the factory, and recover the regular traffic of described communication equipment according to the default configuration data of dispatching from the factory that read.
11. method as claimed in claim 9 is characterized in that, described CPU recovers the regular traffic of described communication equipment according to configuration data before, also comprises:
If described CPU reads the last configuration data failure of preserving, then read the default configuration data of dispatching from the factory, and recover the regular traffic of described communication equipment according to the default configuration data of dispatching from the factory that read.
12., it is characterized in that the default configuration data of dispatching from the factory that described CPU basis reads are recovered the regular traffic of described communication equipment, comprising as claim 10 or 11 described methods:
CPU is according to the default configuration data of dispatching from the factory that read, recover with ext nal network element in being connected of server;
CPU is reported to server with current configuring condition, and the latest configuration data that issue of reception server, according to the latest configuration data that server issues, recovers the regular traffic of described communication equipment.
13. a checkout equipment that carries out business recovery is characterized in that, comprising:
Determination module is used for determining that the network connection of communication equipment occurs unusual;
Sending module, be used for sending indication network to the central processor CPU of described communication equipment and connect anomalous signals, so that CPU interrupts current business, and after definite network connection recovery is normal, according to configuration data before, recover the regular traffic of described communication equipment.
14. device as claimed in claim 13 is characterized in that, described determination module specifically is used for:
After definite current network connection status is the high level stable state, enter normal detected state; Under normal detected state, if determine that the current network connection status is the level transitional states, then enter the abnormality detection state; Under the abnormality detection state, if determine that the current network connection status is level transitional states or low level stable state, determine that then network connection is unusual.
15. device as claimed in claim 14 is characterized in that, described determination module specifically is used for:
N time point in former and later two cycles detects network connection state, and according to the network connection state that detects, determines the network connection state in former and later two cycles respectively; Wherein, N is positive integer; According to the network connection state in former and later two cycles of determining, determine the current network connection status.
16. device as claimed in claim 15 is characterized in that, described determination module specifically is used for:
At any one cycle in described former and later two cycles, if detecting network connection state at M time point is identical state, determine that then the network connection state in this cycle is described identical state; Wherein, M is positive integer, and M〉N/2.
17. as claim 15 or 16 described devices, it is characterized in that, described determination module specifically is used for: if determine that the described previous cycle in former and later two cycles is different with the network connection state of back one-period, then determines that the current network connection status is the level transitional states; If the previous cycle all is the high level stable state with the network connection state of back one-period in definite described former and later two cycles, determine that then the current network connection status is the high level stable state; If the previous cycle all is the low level stable state with the network connection state of back one-period in definite described former and later two cycles, determine that then the current network connection status is the low level stable state.
18. a communication equipment that carries out business recovery is characterized in that, comprising:
Receiver module, the indication network that is used for the transmission of reception checkout equipment connects and anomalous signals occurs;
Processing module is used for interrupting current business, and after definite network connection is recovered normally, according to configuration data before, recovers the regular traffic of described communication equipment.
19. communication equipment as claimed in claim 18, it is characterized in that, described processing module specifically is used for: send packet to the ext nal network element that is connected with described communication equipment, if receive the packet of response in the time of setting, determine that then the network connection recovery is normal.
20. communication equipment as claimed in claim 18 is characterized in that, described processing module specifically is used for: in network connection just often, and according to the time interval preservation current configuration data of setting; And/or, after described receiver module receives indication network connection anomalous signals, preserve current configuration data.
21. communication equipment as claimed in claim 20 is characterized in that, described processing module specifically is used for: read the last configuration data of preserving, and after reading successfully, according to the regular traffic of the described communication equipment of allocation data recovering that reads.
22. communication equipment as claimed in claim 21, it is characterized in that, if described processing module in network connection just often, according to the time interval preservation current configuration data of setting, and after described receiver module receives indication network connection anomalous signals, preserve current configuration data, then described processing module specifically is used for: if read the last configuration data failure of preserving, then read the network connection the last configuration data of preserving just often, if read success, then according to the network connection that the reads regular traffic of the last described communication equipment of preserving of allocation data recovering just often, if still read failure, then read the default configuration data of dispatching from the factory, and recover the regular traffic of described communication equipment according to the default configuration data of dispatching from the factory that read.
23. communication equipment as claimed in claim 21, it is characterized in that, described processing module specifically is used for: if read the last configuration data failure of preserving, then read the default configuration data of dispatching from the factory, and recover the regular traffic of described communication equipment according to the default configuration data of dispatching from the factory that read.
24. as claim 22 or 23 described communication equipments, it is characterized in that described processing module specifically is used for: according to the appearance default configuration data that read, recover with ext nal network element in being connected of server; Current configuring condition is reported to server, and the latest configuration data that issue of reception server, according to the latest configuration data that server issues, recover the regular traffic of described communication equipment.
25. a communication equipment that carries out business recovery is characterized in that, comprising:
Checkout equipment is after occurring unusually in the network connection of determining communication equipment, to the central processor CPU transmission indication network connection anomalous signals of described communication equipment;
CPU is used for interrupting current business, and after definite network connection is recovered normally, according to configuration data before, recovering the regular traffic of described communication equipment after receiving indication network connection anomalous signals.
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 true CN103298013A (en) 2013-09-11
CN103298013B 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)

Cited By (7)

* 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
CN106792266A (en) * 2015-11-23 2017-05-31 深圳市中兴微电子技术有限公司 A kind of network detecting method and device and top box of digital machine
CN107665156A (en) * 2016-07-27 2018-02-06 西部数据技术公司 Multithread daily record is replayed
CN107733687A (en) * 2017-09-06 2018-02-23 深圳市金立通信设备有限公司 Prompt service abnormal method, terminal, server and computer-readable medium
CN109274544A (en) * 2018-12-11 2019-01-25 浪潮(北京)电子信息产业有限公司 A kind of fault detection method and device of distributed memory system
CN109783148A (en) * 2019-01-15 2019-05-21 湖南泽天智航电子技术有限公司 A kind of U-Boot starting double copies system
CN111277820A (en) * 2020-02-07 2020-06-12 北京小马智行科技有限公司 Failure detection method and device for camera system and detection and recovery method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040268183A1 (en) * 2003-06-20 2004-12-30 Haselden J. Kirk Debugging breakpoints on pluggable components
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040268183A1 (en) * 2003-06-20 2004-12-30 Haselden J. Kirk Debugging breakpoints on pluggable components
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

Cited By (9)

* 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
CN106792266A (en) * 2015-11-23 2017-05-31 深圳市中兴微电子技术有限公司 A kind of network detecting method and device and top box of digital machine
WO2017088627A1 (en) * 2015-11-23 2017-06-01 深圳市中兴微电子技术有限公司 Network detection method and apparatus, digital set-top box, and storage medium
CN106792266B (en) * 2015-11-23 2019-04-30 深圳市中兴微电子技术有限公司 A kind of network detecting method and device and top box of digital machine
CN107665156A (en) * 2016-07-27 2018-02-06 西部数据技术公司 Multithread daily record is replayed
CN107733687A (en) * 2017-09-06 2018-02-23 深圳市金立通信设备有限公司 Prompt service abnormal method, terminal, server and computer-readable medium
CN109274544A (en) * 2018-12-11 2019-01-25 浪潮(北京)电子信息产业有限公司 A kind of fault detection method and device of distributed memory system
CN109783148A (en) * 2019-01-15 2019-05-21 湖南泽天智航电子技术有限公司 A kind of U-Boot starting double copies system
CN111277820A (en) * 2020-02-07 2020-06-12 北京小马智行科技有限公司 Failure detection method and device for camera system and detection and recovery method

Also Published As

Publication number Publication date
CN103298013B (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN103298013A (en) Service restoration method and device
CN101910972B (en) Interface device for host device, interface device for slave device, host device, slave device, communication system and interface voltage switching method
CN102244669B (en) Software upgrading method in stacking equipment and stacking equipment
CN101582797B (en) Management board and two-unit standby system and method
CN101609308A (en) A kind of industrial intelligent terminal and control method thereof based on the RFID data acquisition function
CN103345407A (en) Control circuit, connectivity controller, connectivity control method and main board
CN103139033B (en) Single main communications control bus main equipment redundancy switching method
CN101236515B (en) Multi-core system single-core abnormity restoration method
CN102662782B (en) Method and device for monitoring system bus
CN102571311B (en) Master-slave switching communication system and master-slave switching communication method
JP2000332653A (en) Monitoring system and its method
CN202713533U (en) TV diagnosis and maintenance system and TV
CN104750510A (en) Chip start method and multi-core processor chip
CN101546279A (en) Device, system and method for exception processing of embedded device
CN101557307B (en) Dispatch automation system application state management method
CN201203774Y (en) Industry intelligent terminal based on RFID data acquisition function
CN102281105B (en) Method and device for detecting optical fiber state
CN101854263B (en) Method, system and management server for analysis processing of network topology
CN103532728A (en) Method and device for resetting fault digital signal processor (DSP) chip
EP2610752B1 (en) Parallel computer, job information acquisition program of parallel computer, and job information acquisition method for parallel computer
CN101582035B (en) Servo device and servo method for power supply reset and automatic power on
EP2068244B1 (en) Information processing apparatus having a plurality of program modules executing a process
CN103001789B (en) Clock switch method and device
CN109101372A (en) Redundancy switching method, storage medium and the Shelf Management Module of Shelf Management Module
CN100395706C (en) Automatic start method of switchboard plate

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model
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