CN101145986B - A communication status detection method for boards in communication system - Google Patents

A communication status detection method for boards in communication system Download PDF

Info

Publication number
CN101145986B
CN101145986B CN2007101107913A CN200710110791A CN101145986B CN 101145986 B CN101145986 B CN 101145986B CN 2007101107913 A CN2007101107913 A CN 2007101107913A CN 200710110791 A CN200710110791 A CN 200710110791A CN 101145986 B CN101145986 B CN 101145986B
Authority
CN
China
Prior art keywords
veneer
communication
state
sense cycle
single board
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.)
Expired - Fee Related
Application number
CN2007101107913A
Other languages
Chinese (zh)
Other versions
CN101145986A (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.)
Beijing Jingdian Power Grid Maintenance Group Co., Ltd.
State Grid Beijing Electric Power Co
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 CN2007101107913A priority Critical patent/CN101145986B/en
Publication of CN101145986A publication Critical patent/CN101145986A/en
Application granted granted Critical
Publication of CN101145986B publication Critical patent/CN101145986B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for detecting inter-board communication state, which includes regularly analyzing the communication state of a single board by a main control board in a detection period and determining that the single-board communication state is normal if a single-board confirmation information of a communication detection pack, that adding the number of times that the confirmation information of the communication detection pack is not received, determining the single-board communication state depending on whether the number of times reaches a set upper limit value and determining that the single-board communication state is normal if the upper limit value is reached; and continuously sending the communication detection pack to the single board if the confirmation information of the communication detection pack is not received and the number of the non-response times does not reach the set upper limit value. The invention can reliably and accurately detect the communication state between a main control board and a task single board to obviate detection function failure that might exists due to hardware implementation and communication failure resulting from abnormal single-board communication module in prior art.

Description

Communication between plates condition detection method in a kind of communication system
Technical field
The present invention relates to the detection method of communications status between a kind of communication system devices master control borad and service board, this method provides the mechanism of communications status between a kind of check-out console.
Background technology
In communication system devices, general background management system is concentrated by master control borad transmission information to service board, and the management of business board and monitoring are also all depended on communicating by letter between master control borad and the veneer, and whether therefore, it is normal to grasp this communication port constantly.If this communication port is unusual, background management system will lose the management of business board and monitoring, thereby may cause the service disconnection of whole system or unusual.
The single board communication status detection is to be realized by hardware by increasing the slave board detection line mostly at present.This hardware approach detects rapidly, and communication abnormality can in time be found.But shortcoming is also apparent in view: the prerequisite that can (1) this function proper function is that the slave board detection line is effective, in case unusual this disabler of detection line; (2) normal by slave board detection line diagnosis single board state, can not show really that single board communication is normal, also promptly under the normal situation of slave board detection line detecting communication, thereby the unusual master control borad of the service board communication module not smooth situation of communicating by letter with business board may appear.
Summary of the invention
The technical problem to be solved in the present invention provides communication between plates status detection method in a kind of communication system, can be reliably and detect communications status between master control borad and the service board exactly.
The invention provides communication between plates condition detection method in a kind of communication system, promptly in a sense cycle, master control borad timing analysis single board communication state:, show that then this single board communication state is normal if receive the affirmation message of veneer to the communication check bag; If do not receive the affirmation message of veneer to the communication check bag, the add up number of times of not receiving communication check bag acknowledge message and judge the communications status of this veneer according to the higher limit whether this number of times reaches setting shows this single board communication abnormal state if reach higher limit.
Further, in the described sense cycle, if do not receive that veneer is to the affirmation message of communication check bag but the dont answer number of times does not reach the higher limit of setting then continues to send the communication check bag to veneer.
Further, regularly detect the preceding advanced line data configuration of single board communication state, described data configuration comprises detected state, dont answer number of times and higher limit thereof, the communications status that veneer is set;
The process status of described detected state reflection veneer comprises: idle condition, wait acknowledge state, receive response status;
Described dont answer number of times is used to put down in writing does not receive the number of times of veneer to the affirmation message of communication check bag in the sense cycle;
Described communications status is used to write down the communications status of current single board, comprises the normal and communication abnormality of communication.
Further, described idle condition is represented not in the single board communication state-detection cycle;
Described wait acknowledge state representation has sent the communication check bag, but does not also receive the affirmation message of veneer to the communication check bag;
The described response status of receiving represents to receive the affirmation message of veneer to master control borad communication check bag.
Further, between twice sense cycle, keep the spacer segment time.
Further, the data configuration stage also is provided with timed events number of times and higher limit thereof, and described timed events number of times is used to add up the number of times of timed events.
Further, the concrete operations of single board communication state analysis are: if the detected state of veneer is for receiving response status, then the detected state with this veneer changes idle condition into, and changes its communications status into communication normally; If being the wait acknowledge state, the detected state of veneer then the dont answer number of times of this veneer is increased by one, if this number of times reaches predefined higher limit and then the detected state of this veneer changed into idle condition and changes its communications status into communication abnormality; If idle condition is not then done any processing to this veneer, enter the operation of next single board communication state analysis; If the communications status of all veneers all analyzed to finish then waits for timed events, timed events is in the sense cycle to then judging whether.
Further, judge whether that the method that is in the sense cycle is: the detected state that reads all veneers, if the detected state of each veneer is idle condition and illustrates that then this sense cycle finishes, if the detected state of veneer is not in the sense cycle for the idle condition explanation entirely.
Further, if this sense cycle finishes, then carry out following steps: the timed events number of times increases by one, if this number of times is reached for the higher limit of its setting, then starts new sense cycle; If the higher limit that this number of times is not reached for its setting then timed events number of times continues to add up until reaching its higher limit.
Further, the new sense cycle of described startup is meant: change the detected state of all veneers into the wait acknowledge state, the dont answer number of times changes 0 into, the timed events number of times puts 0, and to each veneer transmission communication check bag, and the wait timed events, timed events is in the sense cycle to then judging whether.
In sum, communication between plates status detection method can be reliably and detect communications status between master control borad and the service board exactly in the communication system provided by the invention, and can avoid at present realizing to exist measuring ability to lose efficacy and can not avoiding the single board communication module to cause the not smooth defective of communicating by letter unusually, and can under the unusual situation of communication between plates, initiatively report background management system by management interface by master control borad by hardware.
Description of drawings
Fig. 1 is task (or process) the circulation process figure of timing analysis single board communication state of the present invention;
Fig. 2 is the flow chart of analysis list board communications state of the present invention.
Embodiment
Below in conjunction with drawings and Examples technical scheme of the present invention is described in detail.
Present embodiment relates to a kind of communication system devices master control borad and single board communication status detection method, and this method is made of the process (or task) of data configuration and timing analysis single board communication state.
Data configuration comprises following variable or fixed value is set: timed events number of times and higher limit thereof; The detected state of each veneer, dont answer number of times and higher limit thereof, communications status, wherein:
The higher limit of timed events number of times can be provided with according to system environments, as is made as 10.Timed events can be produced by timer.
The process status of detected state reflection current detection veneer comprises: idle condition, and expression is not in the single board communication state-detection cycle; The wait acknowledge state, the expression master control borad has sent the communication check bag, but does not also receive the affirmation message of veneer to the communication check bag; Receive response status, the affirmation message of veneer to master control borad communication check bag has been received in expression.
Dont answer number of times record master control borad is not received the number of times of veneer to communication check bag acknowledge message in sense cycle.Its higher limit can be provided with according to system environments, as is made as 6.
Communications status is used to write down the communications status of current single board, and value comprises the normal and two kinds of situations of communication abnormality of communication.
More than configuration is expressed as follows with table 1:
Definition Sign Initial value
Detected state F1.n Idle condition
The dont answer number of times F2.n 0
Communications status F3.n Communication is normal
The timed events number of times T 0
Suppose that the veneer number is N, N is the natural number more than or equal to 1, and n veneer represented with n.In the table 1, detected state represents that with sign F1.n then F1.1 represents the detected state of first veneer, and F1.2 represents the detected state of second veneer, and F1.n represents the detected state of n veneer.Initial value is idle condition.
The dont answer number of times represents that with sign F2.n promptly F2.1 represents the dont answer number of times of first veneer, and F2.2 represents the dont answer number of times of second veneer, and F2.n represents the dont answer number of times of n veneer.Initial value is 0.
Communications status represents that with sign F3.n promptly F3.1 represents the communications status of first veneer, and F3.2 represents the communications status of second veneer, and F3.n represents the communications status of n veneer.Initial value is normal for communication.
The timed events number of times: the statistics timed events, judge whether sense cycle arrives constantly.The timed events number of times is represented with sign T.Initial value is 0.
Fig. 1 represents regularly to detect the circular treatment flow process of single board communication state, may further comprise the steps:
(1) wait for timed events, timed events is to execution in step (2);
(2) judge whether to be in the sense cycle, be execution in step (3) then, otherwise enter step (4);
Its concrete determination methods is: the detected state F1.n that reads all veneers, and whether all be that idle condition judges whether this sense cycle finishes according to the value of F1.n, be in the sense cycle if not showing, be not in the sense cycle if show.
(3) single board communication state analysis, as shown in Figure 2:
This step needs the communications status analysis of all veneers of circular treatment, successively each piece veneer is carried out following operation:
(a) read the detected state F1.n of this veneer, if F1.n receives that the response status explanation receives the affirmation message of veneer to the communication check bag, execution in step (b); If F1.n is that the wait acknowledge state description is not received the affirmation message of veneer to the communication check bag, then execution in step (c); If idle condition enters step (f).
(b) the detected state F1.n sign with this veneer correspondence changes idle condition into, and it is normal simultaneously this single board communication state F2.n to be revised as communication, enters step (f);
(c) the dont answer number of times F3.n with this veneer adds 1, judges whether this number of times reaches higher limit 6, is execution in step (d) then, otherwise execution in step (e);
(d) the detected state F1.n with this veneer correspondence is revised as idle condition, simultaneously this single board communication state F3.n is revised as communication abnormality, enters step (f);
(e) continue to send the communication check bag, enter step (f) then to this veneer;
(f) judge whether that veneer is not done the communications status analysis in addition, be then to return step (a), otherwise return step (1);
(4) timed events number of times T adds 1, judges whether this timed events number of times T reaches the higher limit 10 of timed events number of times, is execution in step (5) then, otherwise gets back to step (1);
This step is to reach the purpose of a period of time at interval in twice testing process.
(5) start new testing process: the timed events number of times that resets, be about to T and put 0, detected state F1.n is revised as the wait acknowledge state, F2.n is revised as 0 with the dont answer number of times, T is revised as 0 with the timed events number of times, and sends the communication check bag to each veneer, gets back to step (1) then.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (3)

1. communication between plates condition detection method in the communication system is characterized in that, advanced line data configuration is provided with detected state, dont answer number of times and higher limit thereof, communications status, timed events number of times and the higher limit thereof of veneer, wherein:
The process status of described detected state reflection veneer comprises: idle condition, wait acknowledge state, receive response status, wherein: described idle condition is represented not in the single board communication state-detection cycle; Described wait acknowledge state representation has sent the communication check bag, but does not also receive the affirmation message of veneer to the communication check bag; The described response status of receiving represents to receive the affirmation message of veneer to master control borad communication check bag;
Described dont answer number of times is used to put down in writing does not receive the number of times of veneer to the affirmation message of communication check bag in the sense cycle;
Described communications status is used to write down the communications status of current single board, comprises the normal and communication abnormality of communication;
Described timed events number of times is used to add up the number of times of timed events;
In a sense cycle, master control borad timing analysis single board communication state:, show that then this single board communication state is normal if receive the affirmation message of veneer to the communication check bag; If do not receive the affirmation message of veneer to the communication check bag, the number of times of not receiving communication check bag acknowledge message and judge the communications status of this veneer according to the higher limit whether this number of times is reached for its setting adds up, show this single board communication abnormal state if reach higher limit, when master control borad is analyzed the communications status of each piece veneer, carry out following operation: the detected state that reads veneer, if receive response status, then the detected state with this veneer changes idle condition into, and it is normal to change its communications status into communication; If being the wait acknowledge state, the detected state of veneer then the dont answer number of times of this veneer is increased by one, if this number of times reaches in advance and then the detected state of this veneer changed into idle condition and changes its communications status into communication abnormality for the higher limit of its setting; If idle condition is not then done any processing to this veneer, enter the operation of next single board communication state analysis; As if all having been analyzed to finish, the communications status of all veneers then waits for timed events, timed events is to then judging whether to be in the sense cycle, it is the process that then repeats the single board communication state analysis, otherwise finish this sense cycle, wherein, the method that judges whether to be in the sense cycle is: read the detected state of all veneers, then illustrate and be not in the sense cycle if the detected state of each veneer is idle condition; If the detected state of veneer is not in the sense cycle for the idle condition explanation entirely;
When starting new sense cycle at every turn, change the detected state of all veneers into the wait acknowledge state, the dont answer number of times changes 0 into, the timed events number of times puts 0, and to each veneer transmission communication check bag, and the wait timed events, timed events is the process of then carrying out the single board communication state analysis to then judging whether to be in the sense cycle;
And, when carrying out the single board communication state analysis, if do not receive that veneer is to the affirmation message of communication check bag but the dont answer number of times is not reached for the higher limit of its setting then continues to send the communication check bag to veneer.
2. the method for claim 1 is characterized in that, keeps the spacer segment time between twice sense cycle.
3. method as claimed in claim 2 is characterized in that, if this sense cycle finishes, then carries out following steps: the timed events number of times increases by one, if this number of times is reached for the higher limit of its setting, then starts new sense cycle; If the higher limit that this number of times is not reached for its setting then timed events number of times continues to add up until reaching its higher limit.
CN2007101107913A 2007-06-18 2007-06-18 A communication status detection method for boards in communication system Expired - Fee Related CN101145986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101107913A CN101145986B (en) 2007-06-18 2007-06-18 A communication status detection method for boards in communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101107913A CN101145986B (en) 2007-06-18 2007-06-18 A communication status detection method for boards in communication system

Publications (2)

Publication Number Publication Date
CN101145986A CN101145986A (en) 2008-03-19
CN101145986B true CN101145986B (en) 2011-04-20

Family

ID=39208300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101107913A Expired - Fee Related CN101145986B (en) 2007-06-18 2007-06-18 A communication status detection method for boards in communication system

Country Status (1)

Country Link
CN (1) CN101145986B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505203B (en) * 2009-03-09 2012-04-18 三一重工股份有限公司 Detection method and apparatus for CAN bus element communication state
CN101938507B (en) * 2009-07-01 2012-10-31 中国工商银行股份有限公司 Device and method for realizing interconnection communication of bank and enterprise
CN103916272B (en) * 2014-03-31 2017-11-14 大唐移动通信设备有限公司 A kind of master control veneer and a kind of master control veneer fault detection method
CN104836679B (en) * 2014-07-18 2018-11-23 中兴通讯股份有限公司 Communication abnormality processing method and network element device
CN111857303B (en) * 2020-06-30 2022-05-17 浪潮电子信息产业股份有限公司 FPGA (field programmable Gate array) resetting method, device and system and electronic equipment
CN115004622A (en) * 2020-12-18 2022-09-02 西安诺瓦星云科技股份有限公司 Data processing method and device and data processing system of board card

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6718513B1 (en) * 2000-01-31 2004-04-06 Fujitsu Limited Fault monitoring system and fault reporting method
CN1553598A (en) * 2003-05-29 2004-12-08 华为技术有限公司 Detecting method and detector for single-board fault
CN1756377A (en) * 2004-09-28 2006-04-05 华为技术有限公司 Method for detecting single board fault
CN1832417A (en) * 2005-03-10 2006-09-13 华为技术有限公司 Data collecting method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6718513B1 (en) * 2000-01-31 2004-04-06 Fujitsu Limited Fault monitoring system and fault reporting method
CN1553598A (en) * 2003-05-29 2004-12-08 华为技术有限公司 Detecting method and detector for single-board fault
CN1756377A (en) * 2004-09-28 2006-04-05 华为技术有限公司 Method for detecting single board fault
CN1832417A (en) * 2005-03-10 2006-09-13 华为技术有限公司 Data collecting method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
齐伟钢,史燕.基于微控制器的智能楼宇防盗报警系统.微控制信息(测控自动化)20 3.2004,20(3),120-121.
齐伟钢,史燕.基于微控制器的智能楼宇防盗报警系统.微控制信息(测控自动化)20 3.2004,20(3),120-121. *

Also Published As

Publication number Publication date
CN101145986A (en) 2008-03-19

Similar Documents

Publication Publication Date Title
CN101145986B (en) A communication status detection method for boards in communication system
CN101738550B (en) Electronic device test device and test method
CN103428333A (en) Mobile terminal, server and error restoration method
CN103186440B (en) Detect subcard method, apparatus and system in place
CN109639501A (en) A kind of exception record information storage means and device
CN109544827B (en) Cash register with data backup device and use method thereof
CN105849702A (en) Cluster system, server device, cluster system management method, and computer-readable recording medium
TW201029410A (en) Data communication device, communication control method, and program
CN102664755B (en) Control channel fault determining method and device
CN104270740A (en) Slot-sharing T card and SIM card detection method
US8402308B2 (en) Apparatus and method for failure management of RFID middleware management system
CN104182445A (en) Method and device for detecting equipment quality of train running monitoring device
US8391162B2 (en) Apparatus and method for testing SMNP cards
CN105786648A (en) Data processing method and device
CN112463238A (en) Error reporting positioning method and device of PCIE (peripheral component interface express) equipment, BIOS (basic input output System) and BMC (baseboard management controller)
CN104836679B (en) Communication abnormality processing method and network element device
CN103999396A (en) Subscriber station of a bus system and method for transferring data between subscriber stations of a bus system
CN116340068A (en) Server, main board and fault positioning method for external equipment of server
CN102455958A (en) Test system
CN115276844A (en) Communication module testing method and device and electronic equipment
CN103326897A (en) Distributed computing environment general monitoring device and failure detection method
CN110704219B (en) Hardware fault reporting method and device and computer storage medium
Cisco Troubleshooting the Initial Hardware Configuration
Cisco Troubleshooting the Initial Hardware Configuration
CN109739765B (en) Test system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160105

Address after: 100031 Beijing Qianmen West Street, Xicheng District, No. 41

Patentee after: State Grid Beijing Electric Power Company

Patentee after: Beijing Jingdian Power Grid Maintenance Group Co., Ltd.

Address before: 518057 Nanshan District high tech Industrial Park, Guangdong, South Road, science and technology, ZTE building, legal department

Patentee before: ZTE Corporation

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110420

Termination date: 20160618