CN107517110A - Veneer configuration self-recovery method and device in a kind of distributed system - Google Patents

Veneer configuration self-recovery method and device in a kind of distributed system Download PDF

Info

Publication number
CN107517110A
CN107517110A CN201610421458.3A CN201610421458A CN107517110A CN 107517110 A CN107517110 A CN 107517110A CN 201610421458 A CN201610421458 A CN 201610421458A CN 107517110 A CN107517110 A CN 107517110A
Authority
CN
China
Prior art keywords
veneer
master control
control borad
frame picture
current 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.)
Granted
Application number
CN201610421458.3A
Other languages
Chinese (zh)
Other versions
CN107517110B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610421458.3A priority Critical patent/CN107517110B/en
Priority to PCT/CN2017/086396 priority patent/WO2017215441A1/en
Publication of CN107517110A publication Critical patent/CN107517110A/en
Application granted granted Critical
Publication of CN107517110B publication Critical patent/CN107517110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities

Abstract

The invention discloses veneer configuration self-recovery method and device in a kind of distributed system, it is related to communication technical field, methods described includes:Master control borad sends the configuration information of each veneer to corresponding veneer, and the configuration information of the corresponding veneer is cached;Master control borad in preceding state and current state, determines whether the veneer occurred failure preceding according to veneer;If it is determined that failure was preceding occurring for the veneer, then it will be sent in the configuration information of preceding caching to the veneer, so that the veneer recovers single board service.By accurately detecting single board default, realizing will send to corresponding veneer in the veneer collocation information of preceding caching, ensure that single board service recovers normal.

Description

Veneer configuration self-recovery method and device in a kind of distributed system
Technical field
The present invention relates to communication technical field, veneer configuration self-recovery method and dress in more particularly to a kind of distributed system Put.
Background technology
Packet Transport Network (Packet Transport Network, PTN) equipment in communication system is usually distribution System, master control borad, backboard and some veneers are included in system.Veneer includes virtual veneer and Physical board, wherein:Virtual veneer Physical slot position is not take up, its agent process operates in master central processor (Central Processing Unit, CPU);Thing Reason veneer is then connected by backboard with master control borad, independent operating relative program on Physical board.It is unified by leading during concrete application Control board management plane and control plane program send configuration message and parameter configuration, business configuration are carried out to each veneer respectively.
Veneer may be used by plug to other groove positions or even other equipment, and veneer will not generally also preserve configuration master control The original configuration information of plate, therefore the configuration information originally sent after veneer power down by master control borad can be lost.In veneer because various Software and hardware reason occurs to reset or application program is restarted, and when causing veneer configuration loss, master control borad has to detect this event Barrier, and then the original various configuration informations of veneer are re-issued, so as to ensure that single board service can recover normal.
Found by analysis, communication equipment mainly detects running state of single plate by two categories below mode at present:
(1) special hardware circuit is designed on backboard to detect running state of single plate;
(2) handshake mechanism is used, i.e., handshake message is sent to veneer by the maintenance program timing in master control, if veneer Program without response message is returned, then judges that veneer breaks down within time set in advance or cycle.
In above-mentioned two classes method, master control borad is perceiving veneer because various software and hardware reasons occur to reset or application program Have occurred and that restart etc. has following deficiency:
The problem of hardware circuit is present is as follows:
(1) need to take extra hardware resource;
(2) special hardware circuit lack flexibility, when on veneer some application process extremely restart when, solidification it is hard Part circuit, which is possible to can't detect, restarts, and now the configuration information of veneer has been lost, and causes business can not recover normal.
It is as follows that the problem of handshake message is present regularly is sent to veneer by primary control program:
(1) interaction of both sides' handshake message needs to take cpu resource, and veneer quantity very short at the interval that timer is set In the case of numerous, excessive system resource can be taken;
(2) handshake mechanism usually requires overtime Rule of judgment, that is, needs rear after waiting some cycles to can determine whether that veneer goes out Existing failure, so as to avoid because the problem of causing to judge by accident in the presence of obstruction in the message short time.If single board default is sentenced in time-out Recover normal within fixing time, the mechanism will be unable to detect that veneer application program such as restarts, resetted at the failure, so as to cause veneer Configuration loss, business can not recover normal.
The content of the invention
The technical problem that the technical scheme provided according to embodiments of the present invention solves is because hardware and software failure resets when veneer Or application process is restarted etc. when causing veneer configuration loss, the self- recoverage of veneer collocation information is realized.
Veneer configures self-recovery method in a kind of distributed system provided according to embodiments of the present invention, including:
Master control borad sends the configuration information of each veneer to corresponding veneer, and the configuration information of the corresponding veneer is carried out Caching;
Master control borad in preceding status information and current state information, determines whether the veneer occurred preceding according to veneer Failure;
If it is determined that failure was preceding occurring for the veneer, then will be sent in the configuration information of preceding caching to the veneer, with Recover single board service for the veneer.
Preferably, in the master control borad according to veneer in preceding status information and current state information, determine the veneer Before preceding the step of whether failure occurring, in addition to:
The master control borad receives the frame picture message from veneer, and by parsing the frame picture message, obtains described The current state information of veneer;
Acquisition is obtained and preserved in preceding status information by parsing the upper frame picture message of the veneer preceding.
Preferably, the master control borad determines that the veneer exists according to veneer in preceding status information and current state information Preceding the step of whether failure occurring, includes:
Board type of the master control borad in the current state information, determines whether board type changes;
If board type does not change, frame picture sequence number in the current state information with preceding state Frame picture sequence number in information;
If the frame picture sequence number in the current state information is less than the frame graphic sequence in preceding status information Number, and the frame picture sequence number in the current state information is not equal to zero, it is determined that failure was preceding occurring for the veneer.
Preferably, in the master control borad according to veneer in preceding status information and current state information, determine the veneer After preceding the step of whether failure occurring, using the frame picture sequence number in the current state information, the master is updated Control the frame picture sequence number in preceding status information that plate preserves.
Preferably, in addition to:If board type changes, the master control borad is not sent in preceding caching to the veneer Configuration information.
The storage medium provided according to embodiments of the present invention, it is stored, and for realizing, veneer configures in above-mentioned distributed system The program of self-recovery method.
Veneer configures self-resetting devices in a kind of distributed system provided according to embodiments of the present invention, including:
Master control borad packet forwarding module, for the configuration information of each veneer to be sent to corresponding veneer, and to described corresponding The configuration information of veneer is cached;
Master control borad control module, in preceding status information and current state information, determining the veneer according to veneer Whether failure occurred preceding;
Wherein, if the master control borad control module determines that failure, the master control borad message were preceding occurring for the veneer Forwarding module will be sent to the veneer in the configuration information of preceding caching, so that the veneer recovers single board service.
Preferably, the master control borad control module is additionally operable to parse the frame picture message from veneer received, The current state information of the veneer is obtained, is obtained and is obtained and protect by parsing the upper frame picture message of the veneer preceding Deposit in preceding status information.
Preferably, board type of the master control borad control module in the current state information, determines Monoplacophora Whether type changes, if board type does not change, frame picture sequence number in the current state information with Frame picture sequence number in preceding status information, if frame picture sequence number in the current state information be less than it is described in preceding shape Frame picture sequence number in state information, and the frame picture sequence number in the current state information is not equal to zero, it is determined that it is described Failure was preceding occurring for veneer.
Preferably, the master control borad control module determines institute according to veneer in preceding status information and current state information State veneer it is preceding whether failure occurred after, using the frame picture sequence number in the current state information, update the master Control the frame picture sequence number in preceding status information that plate preserves.
Preferably, the master control borad control module is slow before not being sent in the veneer when board type changes The configuration information deposited.
Technical scheme provided in an embodiment of the present invention has the advantages that:
Master control borad can accurately detect veneer configuration loss problem, and then the configuration information cached in advance is re-issued To veneer, so as to realize the self- recoverage for the various configuration informations lost on veneer, ensure that single board service recovers normal.
Brief description of the drawings
Fig. 1 is that veneer configures self-recovery method block diagram in distributed system provided in an embodiment of the present invention;
Fig. 2 is that veneer configures self-resetting devices block diagram in distributed system provided in an embodiment of the present invention;
Fig. 3 is the system architecture diagram of distributed system provided in an embodiment of the present invention;
Fig. 4 is the state machine diagram that master control borad program provided in an embodiment of the present invention judges veneer state in place;
Fig. 5 is the workflow diagram of master control borad packet forwarding module provided in an embodiment of the present invention;
Fig. 6 is the self-healing process schematic of veneer S mouth configuration messages provided in an embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail, it will be appreciated that described below is excellent Select embodiment to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 is that veneer configures self-recovery method block diagram in distributed system provided in an embodiment of the present invention, as shown in figure 1, Step includes:
Step S101:Master control borad sends the configuration information of each veneer to corresponding veneer, and the corresponding veneer is matched somebody with somebody Confidence breath is cached.
The configuration information of the veneer includes parameter configuration and service configuration information.
Step S102:Master control borad in preceding status information and current state information, determines the veneer preceding according to veneer Whether failure was occurred.
The master control borad receives the frame picture message from veneer, and by parsing the frame picture message, obtains described The current state information of veneer, obtain and obtain and preserve preceding by parsing the upper frame picture message of the veneer preceding Status information.Board type of the master control borad in the current state information, determines whether board type changes, If board type changes, the configuration information of caching before not being sent in the veneer, if board type does not change, Then whether occurred preceding with preceding status information, determining the veneer by the current state information of the veneer therefore Barrier, specifically, if the frame picture sequence number in the current state information of a certain veneer is less than the frame in preceding status information Graphic sequence number, and the frame picture sequence number in the current state information is not equal to zero, then illustrates veneer abnormal state in place, Now determine that failure was preceding occurring for the veneer.It is determined that veneer it is preceding whether failure occurred after, using described current Status information, the described in preceding status information of the master control borad preservation is updated, such as use the frame picture in current state information Sequence number replaces the frame picture sequence number in preceding status information that is preserved of master control borad so that master control borad can preserve it is newest Status information.
Step S103:If it is determined that failure was preceding occurring for the veneer, then will be sent in the configuration information of preceding caching to institute Veneer is stated, so that the veneer recovers single board service.
There are multiple slots, the veneer inserted in each slot is to have set in advance, and master control borad preserves often on backboard Individual slot and its corresponding board type information, and the configuration information of corresponding veneer.When master control borad is from being inserted in some slot When veneer receives frame picture message, by parsing the frame picture message, board type and frame picture sequence number are obtained.Master control borad will Board type board type matching corresponding with the slot that it is preserved, if the veneer that inconsistent explanation inserts the slot becomes Change, i.e., board type changes, and now master control borad is not to the veneer send configuration information, until the veneer for inserting the slot is extensive The multiple veneer for setting, master control borad determine to insert the veneer of the slot from the inconsistent State Transferring of board type be normal operation State, the configuration information of caching before being sent in the veneer of the setting.Board type is corresponding with the slot that it is preserved single Plate type matching, if the veneer that consistent explanation inserts the slot does not change, i.e., board type does not change, hereafter utilizes The frame picture sequence number and the frame picture sequence number in preceding status information, determine whether the veneer occurred failure preceding. For example, it is assumed that should insert veneer 1 in slot 1, master control borad preserves the configuration information of veneer 1.The insertion of master control borad periodic receipt is inserted The frame picture message of veneer 1 in groove 1, and preserve newest frame picture sequence number.1st, when master control borad is according to the machine being currently received Frame is sought ways to return sb.'s kindness the board type in text, determine to insert in slot 1 for veneer 2 when, determine that board type is inconsistent, now not to list The send configuration message of plate 2.Until board type of the master control borad in the frame picture message being successfully received, determines weight in slot 1 During new insertion veneer 1, the configuration information of the veneer 1 of caching before being sent in veneer 1.2nd, when master control borad is according to the machine being currently received Frame is sought ways to return sb.'s kindness the board type in text, determine to insert in slot 1 for veneer 1 when, determine that board type is consistent, now master control borad will Frame picture sequence number in the frame picture message being currently received is compared with its newest frame picture sequence number preserved, and root According to comparative result, determine whether veneer 1 occurred failure preceding, if failure was preceding occurring, preceding caching is sent in veneer 1 Veneer 1 configuration information.
The embodiment of the present invention can detect that veneer integral reset, veneer application program are restarted exactly using software mode Etc. the operation troubles for causing veneer configuration message (i.e. configuration information) to be lost, and the configuration information cached in advance is issued to presence Cross the veneer of operation troubles.I.e. the embodiment of the present invention realizes in distributed system single board default detection and configuration information from extensive It is multiple.
, can be by the veneer collocation information preserved in advance again after the master control borad of the embodiment of the present invention detects single board default Veneer is handed down to, guarantee business can recover normal.With advantages below:
1st, veneer operation troubles is can detect that independent of special hardware circuit, cost can be reduced, improve flexibility ratio And the degree of accuracy;
2nd, CPU consumption and failure leak detection caused by solving the problems, such as common handshake mechanism possibility;
3rd, ensure that veneer hinders the configuration information of loss and can recovered automatically for some reason.
Can be with it will appreciated by the skilled person that realizing that all or part of step in above-described embodiment method is The hardware of correlation is instructed to complete by program, described program can be stored in computer read/write memory medium, should Program upon execution, including step S101 to step S103.Wherein, described storage medium can be ROM/RAM, magnetic disc, light Disk etc..
Fig. 2 is that veneer configures self-resetting devices block diagram in distributed system provided in an embodiment of the present invention, as shown in Fig. 2 Including master control borad control module 10 and master control borad packet forwarding module 20.
Master control borad packet forwarding module 20, for the configuration information of each veneer to be sent to corresponding veneer, and to the phase The configuration information of veneer is answered to be cached.
Master control borad control module 10, in preceding status information and current state information, determining the list according to veneer Whether plate occurred failure preceding.Specifically, master control borad control module 10 to the frame from veneer received by seeking ways to return sb.'s kindness Text is parsed, and obtains the current state information of the veneer, is obtained and is sought ways to return sb.'s kindness in a preceding upper frame by parsing the veneer Text and obtain and preserve in preceding status information.Monoplacophora of the master control borad control module 10 in the current state information Type, determines whether board type changes, if board type changes, caching matches somebody with somebody before not being sent in the veneer Confidence ceases, if board type does not change, by the current state information of the veneer with preceding status information, really Whether the fixed veneer occurred failure preceding, furtherly, if the frame picture sequence number in current state information is less than described Frame picture sequence number in preceding status information, and the frame picture sequence number in the current state information is not equal to zero, then really Failure was preceding occurring for the fixed veneer, then using the frame picture sequence number in the current state information, updated the master Control the frame picture sequence number in preceding status information that plate preserves.
Wherein, if the master control borad control module 10 determines that failure, the master control blackboard newspaper were preceding occurring for the veneer Literary forwarding module 20 will be sent to the veneer in the configuration information of preceding caching, so that the veneer recovers single board service.
Fig. 3 is the system architecture diagram of distributed system provided in an embodiment of the present invention, as shown in figure 3, including master in system Control plate, backboard and some veneers (such as veneer A, board B and this single C).Wherein, connected between master control borad and veneer by backboard Connect, the control plane and management plane program of master control borad (are turned by its packet forwarding module equivalent to the master control borad message in Fig. 2 Send out module 20) to corresponding veneer send configuration message, so as to carry out parameter configuration, business configuration to each veneer.Veneer exists Under the configuration of master control borad, the veneer application program of correlation is run.
The present invention uses following technical scheme:
The control program (function of realizing master control borad control module 10 in Fig. 2) of master control borad will be matched somebody with somebody by packet forwarding module Put message and specified veneer is sent to by S mouths.Forwarding module (i.e. packet forwarding module) needs to delay using veneer address as keyword The parameter configuration for being sent to veneer, business configuration message are deposited, and processing can be merged to command code identical configuration message.
Packet forwarding module is the process or task operated in master control, when running state of single plate information (i.e. status information) When changing, packet forwarding module provides interface and is used to the configuration message of the specified veneer of caching resending to veneer.
Wherein, running state of single plate information is used for showing veneer running status, including normal operation, operation exception, veneer Three kinds of states of Type-Inconsistencies.Running state of single plate is converted to normal operation by operation exception, or inconsistent by board type , it is necessary to which notice message forwarding module re-issues veneer configuration message when being converted to normal operation.
Fig. 4 is the state machine diagram that master control borad program provided in an embodiment of the present invention judges veneer state in place, such as Fig. 4 Shown, the original state of veneer is defined as normal operation by master control borad, the frame picture S mouth messages for then waiting veneer newly to report (i.e. frame picture message), parse the message and obtain board type and frame picture sequence number.Judge whether board type changes, if single Plate Change of types, then illustrate that running state of single plate is inconsistent for board type, and wait the frame picture S mouth messages newly reported, it is no Then judge whether frame picture sequence number increases;If frame picture sequence number increases, it is normal operation to illustrate running state of single plate, and The frame picture S mouth messages that newly report are waited, otherwise judge whether that frame picture sequence number diminishes and is not 0;If frame picture sequence number Diminish and be not 0, then it be operation exception to illustrate running state of single plate, and the frame picture S mouth messages that newly report of wait, is otherwise illustrated Frame picture sequence number diminishes and is 0, and it is normal operation now to illustrate running state of single plate, and waits the frame picture S mouths newly reported Message.
That is, veneer application program enables timer timing sends frame picture S mouth messages to master control borad.Master control borad Control program receives veneer frame and sought ways to return sb.'s kindness after text, parses board type, frame picture sequence number information and is preserved with the last time Value be compared.If board type changes, judge that veneer state in place is inconsistent for board type;It is if current Value (i.e. current frame picture sequence number) be more than before value, then judge veneer state in place it is normal;If currency is less than upper The value once preserved, and value is overflow value 0, then judges that veneer state in place is normal.If currency is less than last preserve Value, and be not equal to overflow value 0, then judge veneer abnormal state in place.After completing above-mentioned judgement every time, master control borad is preserved Veneer frame index of the picture number (i.e. frame picture sequence number) be updated to the newest value reported of veneer.
By above-mentioned judgement, if master control borad detects that veneer state in place (i.e. running status) changes, and currently Be worth for state in place it is normal, it is believed that abnormal restarting occurred for monoboard programme, and veneer collocation information has been lost, it is necessary to immediately Notice message forwarding module re-issues veneer configuration message, so that it is guaranteed that the configuration information that veneer operation needs can be from extensive It is multiple.
S mouth messages are a kind of communication messages, for each process in master control borad, in veneer, between master control borad and veneer Between carry out interacting message.
The embodiment of the present invention can solve the problem that veneer integral reset, veneer application program the reason such as restart and cause veneer configuration report The problem of text is lost.
Running state of single plate and again transmitting single plate how are detected to master control borad control program with reference to exemplary embodiments The detailed process of configuration message is described.
Fig. 5 is the workflow diagram of the packet forwarding module of master control borad provided in an embodiment of the present invention, as shown in figure 5, step Suddenly include:
Step S201:Packet forwarding module waits the control program configuration message of master control borad.
Step S202:Packet forwarding module receives S mouths configuration message (i.e. configuration message).
Step S203:The S mouth configuration messages are sent to specified veneer by packet forwarding module.
Step S204:Judge whether it is registered message, if then performing step S205, otherwise perform step S201.
It is registered report that can be specified on the configuration message of some veneers, command code, operator in initial phase Text, such as the configuration message of specified veneer A is registered message, then in step S204, if the configuration message is Veneer A is sent to, then the message is registered message.
Step S205:Whether it is modification operation, if so, performing step S206, otherwise performs step S207.
Step S206:S mouth configuration messages are merged into processing.
Such as when the parameter value of a certain configuration parameter is revised as into 1000 by 2000, by the S mouths configuration message with preceding The S mouths configuration message of preservation merges so that the parameter value in new S mouth configuration messages is 1000.
Step S207:S mouth configuration messages are cached.
That is, the processing of master control borad packet forwarding module is:A packet forwarding module is specially designed on master control borad, The module is the intermediate hub that master control borad control program carries out S mouth message interactions with each monoboard programme.Packet forwarding module can To forward S mouth configuration messages, while interface is also provided and is used for specified veneer, the configuration report for specifying command code, assigned operation to accord with Text is registered, and only registered message can just be cached.Message for operator for modification operation, there is provided message closes And function, i.e., it is last look by configuration information update.Veneer collocation information is sent to message forwarding mould by master control borad control program After block, S mouth messages are forwarded to veneer by packet forwarding module first, and the command code in S mouth messages and operator are sentenced afterwards Whether the disconnected configuration message registered.If registered, and operator is modification, then merges, caching process;If registration Cross, and operator is addition, then directly carries out caching process;If do not registered, directly skip.In addition, message forwards mould Block it is also required to provide interface, for the buffered S mouth configuration messages of specified veneer all to be re-issued into veneer.
Fig. 6 is the self-healing process schematic of veneer S mouth configuration messages provided in an embodiment of the present invention, as shown in fig. 6, step Suddenly include:
Step S301:Master control borad control program waits the frame picture message of veneer.
Step S302:Receive and parse through frame picture message.
Step S303:Judge whether it is the frame picture message for receiving the veneer for the first time, if performing step S304, otherwise Perform step S305.
Using the veneer address of the veneer as keyword query board software list item, if not inquiring the board software of the veneer List item, then explanation is to receive the frame picture message of the veneer for the first time.
Step S304:Create the board software list item of the veneer.
Step S305:Judge whether board type changes, if performing step S301, otherwise perform step S306.
Step S306:Judge current frame picture sequence number whether be less than before value, if perform step S307, otherwise hold Row step S301.
Step S307:Judge whether current frame picture sequence number is overflow value 0, if performing step S301, otherwise perform Step S308.
Step S308:The packet forwarding module of notice master control borad re-issues the S mouth configuration messages of the veneer.
That is, the processing of the control program of master control borad is:When the control program of master control borad receives some list for the first time , it is necessary to create the software list item using veneer address as keyword during the frame picture message that plate reports, for being carried out to single board information Record.Board type initial value in list item is value entrained when the veneer reports frame picture first, veneer on-line operation Status information is initialized as normal operation, and frame picture sequence number is initialized as 1.When master control borad control program is received again by some list Board rack is sought ways to return sb.'s kindness after text, using veneer address as the above-mentioned list item of keyword query.If inquiry failure, represents table corresponding to the veneer Item not yet creates, and creates corresponding board software list item in the manner described above;If successful inquiring, board software list item has been represented Through creating successfully, it is necessary to by current single board information compared with the list item information preserved before, comparison procedure is described as follows.Such as Fruit current single board type differs with the board type preserved before, then may determine that running state of single plate differs for board type Cause;If the value for the preservation that current sequence number value is more than, judge that veneer state in place is normal;If current sequence number value The value preserved less than the last time, then judge veneer abnormal state in place.The value of sequence number can ensure to transport in the present embodiment The upper a century of row equipment operation will not overflow, and therefore, there is no need to consider the situation that sequence number overflows.After completing above-mentioned comparison, i.e., Running state of single plate situation of change can be caught.Afterwards, it is also necessary to which the veneer frame graphic sequence number for updating master control borad preservation is updated to The value that the last time reports.After above-mentioned judgement, the control program of master control borad is known that the change feelings of running state of single plate Condition.If a determination be made that:Veneer state in place changes, and currency is that state in place is normal, then it is considered that veneer Abnormal restarting occurred for program, and veneer collocation information has been lost, it is necessary to which notice message forwarding module re-issues veneer immediately Configuration message, so that it is guaranteed that the configuration information that veneer operation needs being capable of self- recoverage.
The processing of veneer application program is:After Board Power up, veneer application program enables timer (such as 5s timers), Timing sends frame picture S mouth messages to master control borad, and master control borad address information, veneer address are wherein contained in S mouths header The information such as information, sequence of message number, veneer address use as the keyword of veneer.In the present embodiment, message call number is 32 Position unsigned number, according to the needs of application it can also be provided that 16,32 or 64 data.Sequence number is initialized as 1, from 1 starts counting up, and often reports afterwards once with regard to carrying out once adding 1 operation.
In summary, embodiments of the invention have following technique effect:
The master control borad of the embodiment of the present invention can be by detecting veneer operation troubles exactly, and then will delay in advance again The veneer collocation information deposited is sent to corresponding veneer, ensures that single board service can recover normal, i.e., master control borad can cache specified Veneer collocation information, it causes veneer configuration message to be lost detecting that board resetting, veneer application program are restarted etc. exactly Failure when, re-issue veneer collocation information, ensure that single board service can recover normal.
Although the present invention is described in detail above, the invention is not restricted to this, those skilled in the art of the present technique Various modifications can be carried out according to the principle of the present invention.Therefore, all modifications made according to the principle of the invention, all should be understood to Fall into protection scope of the present invention.

Claims (10)

1. veneer configures self-recovery method in a kind of distributed system, including:
Master control borad sends the configuration information of each veneer to corresponding veneer, and the configuration information of the corresponding veneer is delayed Deposit;
Master control borad according to veneer in preceding status information and current state information, determine the veneer whether occurred preceding therefore Barrier;
If it is determined that failure was preceding occurring for the veneer, then will be sent in the configuration information of preceding caching to the veneer, for institute State veneer and recover single board service.
2. according to the method for claim 1, believed in the master control borad according to veneer in preceding status information and current state Breath, determines the veneer before preceding the step of whether failure occurring, in addition to:
The master control borad receives the frame picture message from veneer, and by parsing the frame picture message, obtains the veneer Current state information;
Acquisition is obtained and preserved in preceding status information by parsing the upper frame picture message of the veneer preceding.
3. method according to claim 1 or 2, the master control borad is believed according to veneer in preceding status information and current state Breath, determines that the veneer includes in preceding the step of whether failure occurring:
Board type of the master control borad in the current state information, determines whether board type changes;
If board type does not change, frame picture sequence number in the current state information with preceding status information In frame picture sequence number;
If the frame picture sequence number in the current state information is less than the frame picture sequence number in preceding status information, and Frame picture sequence number in the current state information is not equal to zero, it is determined that failure was preceding occurring for the veneer.
4. according to the method for claim 3, believed in the master control borad according to veneer in preceding status information and current state Breath, determines that the veneer after preceding the step of whether failure occurring, utilizes the frame picture sequence in the current state information Row number, update the frame picture sequence number in preceding status information that the master control borad preserves.
5. the method according to claim 11, in addition to:
If board type changes, the configuration information of caching before the master control borad is not sent in the veneer.
6. veneer configures self-resetting devices in a kind of distributed system, including:
Master control borad packet forwarding module, for the configuration information of each veneer to be sent to corresponding veneer, and to the corresponding veneer Configuration information cached;
Master control borad control module, in preceding status information and current state information, determining the veneer preceding according to veneer Whether failure was occurred;
Wherein, if the master control borad control module determines that failure, the master control borad message forwarding were preceding occurring for the veneer Module will be sent to the veneer in the configuration information of preceding caching, so that the veneer recovers single board service.
7. device according to claim 6, the master control borad control module is additionally operable to the frame from veneer to receiving Text of seeking ways to return sb.'s kindness is parsed, and obtains the current state information of the veneer, is obtained in a preceding upper frame by parsing the veneer Seek ways to return sb.'s kindness text and obtain and preserve in preceding status information.
8. the device according to claim 6 or 7, list of the master control borad control module in the current state information Plate type, determines whether board type changes, if board type does not change, in the current state information Frame picture sequence number and frame picture sequence number in preceding status information, if the frame graphic sequence in the current state information Number it is less than the frame picture sequence number in preceding status information, and the frame picture sequence number in the current state information In zero, it is determined that failure was preceding occurring for the veneer.
9. device according to claim 8, the master control borad control module is according to veneer in preceding status information and current Status information, determine the veneer it is preceding whether failure occurred after, utilize the frame picture sequence in the current state information Row number, update the frame picture sequence number in preceding status information that the master control borad preserves.
10. device according to claim 8, the master control borad control module is when board type changes, not to institute State the configuration information of caching before veneer is sent in.
CN201610421458.3A 2016-06-15 2016-06-15 Single board configuration self-recovery method and device in distributed system Active CN107517110B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610421458.3A CN107517110B (en) 2016-06-15 2016-06-15 Single board configuration self-recovery method and device in distributed system
PCT/CN2017/086396 WO2017215441A1 (en) 2016-06-15 2017-05-27 Self-recovery method and apparatus for board configuration in distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610421458.3A CN107517110B (en) 2016-06-15 2016-06-15 Single board configuration self-recovery method and device in distributed system

Publications (2)

Publication Number Publication Date
CN107517110A true CN107517110A (en) 2017-12-26
CN107517110B CN107517110B (en) 2022-07-12

Family

ID=60662968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610421458.3A Active CN107517110B (en) 2016-06-15 2016-06-15 Single board configuration self-recovery method and device in distributed system

Country Status (2)

Country Link
CN (1) CN107517110B (en)
WO (1) WO2017215441A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062839A (en) * 2018-07-18 2018-12-21 郑州云海信息技术有限公司 A kind of method, apparatus and computer readable storage medium detecting HBA card
CN109462502A (en) * 2018-10-30 2019-03-12 新华三技术有限公司合肥分公司 Configuration information saves control method, device and the SDN controller of instruction
CN109639509A (en) * 2019-01-21 2019-04-16 新华三技术有限公司合肥分公司 A kind of method for configuring network equipment and device
CN110177372A (en) * 2019-04-16 2019-08-27 武汉虹信通信技术有限责任公司 Base station Copyright License verification method and device
CN110519098A (en) * 2019-08-30 2019-11-29 新华三信息安全技术有限公司 A kind of processing method and processing device of abnormal single-board
CN111432085A (en) * 2020-03-13 2020-07-17 深圳震有科技股份有限公司 Method for controlling user account registration, storage medium and voice gateway

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113206698B (en) * 2021-03-22 2022-08-16 深圳震有科技股份有限公司 Satellite media resource redundancy protection method, intelligent terminal and storage medium
CN113824631B (en) * 2021-09-10 2023-04-07 烽火通信科技股份有限公司 Message forwarding method and device, communication equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080100975A1 (en) * 2006-10-31 2008-05-01 No-Gil Myoung Distribution automation system
CN101324877A (en) * 2007-06-14 2008-12-17 国际商业机器公司 System and manufacture method of multi-node configuration of processor cards connected via processor fabrics
CN101621396A (en) * 2008-07-01 2010-01-06 中兴通讯股份有限公司 Single board automatic management device and method
CN102355368A (en) * 2011-10-08 2012-02-15 大连环宇移动科技有限公司 Fault processing method of network equipment and system
CN103618618A (en) * 2013-11-13 2014-03-05 福建星网锐捷网络有限公司 Line card fault recovery method and related device based on distributed PCIE system
CN104618136A (en) * 2014-12-25 2015-05-13 曙光信息产业(北京)有限公司 Configuration management method and device for blade server
CN105357023A (en) * 2014-08-22 2016-02-24 中兴通讯股份有限公司 Rack diagram display method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100421381C (en) * 2004-08-30 2008-09-24 华为技术有限公司 Method and device for obtaining information of operation and failure state for network equipment
CN101883013B (en) * 2010-07-09 2014-07-02 中兴通讯股份有限公司 Automatic configuration method and system for single board with alternative mode

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080100975A1 (en) * 2006-10-31 2008-05-01 No-Gil Myoung Distribution automation system
CN101324877A (en) * 2007-06-14 2008-12-17 国际商业机器公司 System and manufacture method of multi-node configuration of processor cards connected via processor fabrics
CN101621396A (en) * 2008-07-01 2010-01-06 中兴通讯股份有限公司 Single board automatic management device and method
CN102355368A (en) * 2011-10-08 2012-02-15 大连环宇移动科技有限公司 Fault processing method of network equipment and system
CN103618618A (en) * 2013-11-13 2014-03-05 福建星网锐捷网络有限公司 Line card fault recovery method and related device based on distributed PCIE system
CN105357023A (en) * 2014-08-22 2016-02-24 中兴通讯股份有限公司 Rack diagram display method and apparatus
CN104618136A (en) * 2014-12-25 2015-05-13 曙光信息产业(北京)有限公司 Configuration management method and device for blade server

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062839A (en) * 2018-07-18 2018-12-21 郑州云海信息技术有限公司 A kind of method, apparatus and computer readable storage medium detecting HBA card
CN109462502A (en) * 2018-10-30 2019-03-12 新华三技术有限公司合肥分公司 Configuration information saves control method, device and the SDN controller of instruction
CN109639509A (en) * 2019-01-21 2019-04-16 新华三技术有限公司合肥分公司 A kind of method for configuring network equipment and device
CN109639509B (en) * 2019-01-21 2021-12-07 新华三技术有限公司合肥分公司 Network equipment configuration method and device
CN110177372A (en) * 2019-04-16 2019-08-27 武汉虹信通信技术有限责任公司 Base station Copyright License verification method and device
CN110177372B (en) * 2019-04-16 2021-12-14 中信科移动通信技术股份有限公司 Base station copyright permission verification method and device
CN110519098A (en) * 2019-08-30 2019-11-29 新华三信息安全技术有限公司 A kind of processing method and processing device of abnormal single-board
CN110519098B (en) * 2019-08-30 2022-06-21 新华三信息安全技术有限公司 Method and device for processing abnormal single board
CN111432085A (en) * 2020-03-13 2020-07-17 深圳震有科技股份有限公司 Method for controlling user account registration, storage medium and voice gateway

Also Published As

Publication number Publication date
CN107517110B (en) 2022-07-12
WO2017215441A1 (en) 2017-12-21

Similar Documents

Publication Publication Date Title
CN107517110A (en) Veneer configuration self-recovery method and device in a kind of distributed system
US11068266B2 (en) Handling an input/output store instruction
US20150213100A1 (en) Data synchronization method and system
US7870296B2 (en) High availability system and execution state control method
CN110807064B (en) Data recovery device in RAC distributed database cluster system
CN109714239B (en) Management message issuing method, VNFM (virtual network management frequency) equipment and server
CN102983990A (en) Method and device for management of virtual machine
EP2723017A1 (en) Method, apparatus and system for implementing distributed auto-incrementing counting
CN110795395B (en) File deployment system and file deployment method
US20160239369A1 (en) Rapid fault detection method and device
CN111478796B (en) Cluster capacity expansion exception handling method for AI platform
CN106095483A (en) The Automation arranging method of service and device
JP2019502186A (en) System and method for obtaining, processing and updating global information
CN107623581B (en) Service list generation method, device and system, and acquisition and reporting method and device
CN103023704B (en) Virtual network service equipment access method and system
CN108509296B (en) Method and system for processing equipment fault
CN110083653B (en) Order data operation method and device, computer equipment and storage medium
CN112069032A (en) Availability detection method, system and related device for virtual machine
US7607051B2 (en) Device and method for program correction by kernel-level hardware monitoring and correlating hardware trouble to a user program correction
CN100550844C (en) The method of reducing redirected message characteristic information
JPH0591108A (en) Message communication control method and communication system
CN106685697B (en) Method and system for recovering and processing abnormal marginal message data
CN111831490A (en) Method and system for synchronizing memories between redundant main and standby nodes
US7770054B2 (en) Apparatus, system, and method to prevent queue stalling
KR100237395B1 (en) Fault collecting and managing method

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant