CN104038387A - Method for service board on-line detection of frame type exchanger - Google Patents

Method for service board on-line detection of frame type exchanger Download PDF

Info

Publication number
CN104038387A
CN104038387A CN201410244793.1A CN201410244793A CN104038387A CN 104038387 A CN104038387 A CN 104038387A CN 201410244793 A CN201410244793 A CN 201410244793A CN 104038387 A CN104038387 A CN 104038387A
Authority
CN
China
Prior art keywords
business board
master control
task
control borad
call back
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
CN201410244793.1A
Other languages
Chinese (zh)
Other versions
CN104038387B (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.)
Huzhou YingLie Intellectual Property Operation Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410244793.1A priority Critical patent/CN104038387B/en
Publication of CN104038387A publication Critical patent/CN104038387A/en
Application granted granted Critical
Publication of CN104038387B publication Critical patent/CN104038387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Monitoring And Testing Of Exchanges (AREA)

Abstract

The invention provides a method for service board on-line detection of a frame type exchanger. The method comprises the steps of first registering a first callback function on a bottom layer of a main control board and registering a second callback function in a linkscan task of a stacking task of the main control board; when a service board is inserted in a computer case, performing electrification and finishing self initialization work, and determining that abnormality occurs if the initialization work is not finished; after the initialization work is finished, utilizing the first callback function to change an HG port correspondingly connected with the service board from an unavailable state to an available state; when the HG port is changed to an up state from a down state, triggering the second callback function to send successfully connected signals to the main control board stacking task, and enabling the main control board stacking task to determine on-line success of the service board according to the successfully connected signals. The main control board stacking task normally operates the service board according to successfully connected informing signals, and accordingly abnormal accidents are avoided.

Description

Line detecting method on frame-type switch business board
Technical field
The present invention relates to line detecting method on a kind of exchange service plate, line detecting method on especially a kind of frame-type switch business board.
Background technology
Frame-type switch, be large enterprise's level switch, comprise a master control borad and multiple business board, master control borad is mainly responsible for the operation such as management and configuration distributing to business board, HG mouth (full name HiGig interface) by backboard between business board and master control borad communicates connection, when inserting after a business board, master control borad will accurately and timely get reaching the standard grade of business board, and it is carried out to the operations such as initialization.
In prior art, be to switch on and determine that as a signal business board reaches the standard grade by hardware, if according to hardware energising as the business board successful foundation of reaching the standard grade, although can determine that business board is in place, but can not ensure that initialization of business board in place completes and can normally work, and can not ensure whether business board in place reaches the standard grade successfully.
Summary of the invention
The technical problem that the present invention need solve is to provide a kind ofly can accurately determine line detecting method on the frame-type switch business board that business board successfully reaches the standard grade.
For solving above-mentioned technical problem, the present invention has designed line detecting method on a kind of frame-type switch business board, and it comprises the following steps:
Step 1: register the second call back function in the bottom of master control borad is registered the first call back function and the linkscan task in the stacking task of master control borad;
Step 2: in the time that business board inserts in cabinet, described business board is powered on, and carry out self initialization and finish the work;
Step 3: judge business board whether self initialization complete, if completed, perform step 4, if do not completed, be considered as abnormal;
Step 4: master control borad bottom calls the first call back function and changes corresponding business board connected HG mouth into upstate by down state by order, becomes up state voluntarily after HG mouth changes upstate into from down state;
Step 5: when HG mouth becomes up state from down state, trigger signal that the second call back function sends successful connection to the stacking task of master control borad, the stacking task of master control borad determines that according to the signal of successful connection business board reaches the standard grade successfully.
Further improve as the present invention, judge whether the business board synchronous task according to being master control borad whether self initialization completes completes the environmental information of collecting business board, if collected, business board self initialization completes, if collected, be considered as abnormal.
Further improve as the present invention, described environmental information comprises business board type, temperature and voltage.
Further improve as the present invention, described the first call back function is " svc_sync_callback " function.
Further improve as the present invention, described the second call back function is " st_ext_linkscan_handler " function.
Further improve as the present invention, the order in step 4 is " port hg enable=true ".
The present invention is just defined as business board and successfully reaches the standard grade after business board energising initialization success, and notify the stacking task of master control borad to have the business board event of successfully reaching the standard grade to occur, the stacking task of master control borad is carried out normal running to business board again according to notification signal, thereby avoids abnormal accident to occur.
Brief description of the drawings
Fig. 1 is the process blocks schematic diagram of line detecting method on frame-type switch business board of the present invention.
Embodiment
In order to make relevant technical staff in the field understand better technical scheme of the present invention, below in conjunction with accompanying drawing and embodiment of the present invention, technical scheme in embodiment of the present invention is clearly and completely described, obviously, described execution mode is only the present invention's part execution mode, instead of whole execution modes.
The invention provides line detecting method on a kind of frame-type switch business board, can detect that business board successfully reaches the standard grade, avoid occurring abnormal problem.
As shown in Figure 1, on frame-type switch business board of the present invention, line detecting method execution mode comprises following step:
Step 1: register the second call back function in the bottom of master control borad is registered the first call back function and the linkscan task in the stacking task of master control borad.Described the first call back function is " svc_sync_callback " function, its objective is after business board self initial work completes, call " port hg enable=true " order and change corresponding business board connected HG mouth into upstate (True) by down state (Flase).The second call back function is st_ext_linkscan_handler function, in the time that the state of HG mouth changes, can trigger the second call back function and send the signal (for example: link up signal) of successful connection to the stacking task of master control borad, the stacking task basis of the master control borad input of successful connection is reached the standard grade successfully to business board.Described linkscan task is a kind of state of at the appointed time interval acquiring port, and calls the wherein mechanism of call back function of carry according to the state variation of port.
Step 2: in the time that business board starts to insert in cabinet, business board is connected with the HG interface of backboard, whole frame-type switch system can be its energising simultaneously, described business board is powered on, and after business board energising, can first carry out self initial work.In the time that business board carries out initial work, the synchronous task of master control borad also can be collected the environmental information of this business board simultaneously, such as business board type, temperature and voltage etc.The information work of the synchronous task collection business board of master control borad completes and shows that new business board self initial work of inserting also completes.
Step 3: judge business board whether self initialization complete, if completed, perform step 4, if do not completed, be considered as extremely, represent that business board powers on unsuccessful, break down, do abnormality processing.In embodiments of the present invention, judge whether the business board synchronous task according to being master control borad whether self initialization completes completes the environmental information of collecting business board, if the synchronous task of master control borad is collected the working properly of environmental information of this business board and is completed, business board self initialization also completes, if collected, be considered as abnormal.
Step 4: after business board initial work completes, master control borad bottom calls the first call back function and changes corresponding business board connected HG mouth into upstate by down state by " port hg enable=true " order, because in the time that business board is not inserted into HG mouth corresponding in backboard, this HG mouth for sky, the state of HG mouth is without state " Flase ", and now, business board inserts, powers on and initial work completes, and can change this HG mouth into upstate by down state at the first call back function of master control borad bottom.After HG mouth changes upstate into, this HG mouth becomes up state from down state voluntarily.
Step 5: when HG mouth becomes up state from down state, described linkscan task can get this variation, simultaneously, the signal (link up) that the second call back function in meeting triggering linkscan task sends successful connection is to the stacking task of master control borad, the stacking task of master control borad determines that according to the signal of successful connection business board reaches the standard grade successfully, detects that business board normally reaches the standard grade.
After definite business board is normally reached the standard grade, the stacking task of master control borad just can be carried out subsequent operation to it.
The present invention inserts after HG mouth at business board, energising, initialization successfully complete and are just defined as business board and normally reach the standard grade, and the stacking task of transmitted signal notice master control borad has the business board event of successfully reaching the standard grade to occur, the stacking task of master control borad is carried out normal running to business board again according to notification signal, thereby avoids abnormal accident to occur.
Below only expressed one embodiment of the present invention, it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (6)

1. a line detecting method on frame-type switch business board, is characterized in that: comprise the following steps:
Step 1: register the second call back function in the bottom of master control borad is registered the first call back function and the linkscan task in the stacking task of master control borad;
Step 2: in the time that business board inserts in cabinet, described business board is powered on, and carry out self initialization and finish the work;
Step 3: judge business board whether self initialization complete, if completed, perform step 4, if do not completed, be considered as abnormal;
Step 4: master control borad bottom calls the first call back function and changes corresponding business board connected HG mouth into upstate by down state by order, becomes up state voluntarily after HG mouth changes upstate into from down state;
Step 5: when HG mouth becomes up state from down state, trigger signal that the second call back function sends successful connection to the stacking task of master control borad, the stacking task of master control borad determines that according to the signal of successful connection business board reaches the standard grade successfully.
2. line detecting method on a kind of frame-type switch business board according to claim 1, it is characterized in that: judge whether the business board synchronous task according to being master control borad whether self initialization completes completes the environmental information of collecting business board, if collected, business board self initialization completes, if collected, be considered as abnormal.
3. line detecting method on a kind of frame-type switch business board according to claim 2, is characterized in that: described environmental information comprises business board type, temperature and voltage.
4. line detecting method on a kind of frame-type switch business board according to claim 1, is characterized in that: described the first call back function is " svc_sync_callback " function.
5. line detecting method on a kind of frame-type switch business board according to claim 1, is characterized in that: described the second call back function is " st_ext_linkscan_handler " function.
6. line detecting method on a kind of frame-type switch business board according to claim 1, the order in step 4 is " port hg enable=true ".
CN201410244793.1A 2014-06-04 2014-06-04 Line detecting method on frame-type switch business board Active CN104038387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410244793.1A CN104038387B (en) 2014-06-04 2014-06-04 Line detecting method on frame-type switch business board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410244793.1A CN104038387B (en) 2014-06-04 2014-06-04 Line detecting method on frame-type switch business board

Publications (2)

Publication Number Publication Date
CN104038387A true CN104038387A (en) 2014-09-10
CN104038387B CN104038387B (en) 2018-01-16

Family

ID=51468982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410244793.1A Active CN104038387B (en) 2014-06-04 2014-06-04 Line detecting method on frame-type switch business board

Country Status (1)

Country Link
CN (1) CN104038387B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721197A (en) * 2016-01-19 2016-06-29 烽火通信科技股份有限公司 Method and device for improving inter-communication system disk information acquisition accuracy
CN108111354A (en) * 2017-12-28 2018-06-01 杭州迪普科技股份有限公司 A kind of frame type equipment port status mark setting method and device
CN109600270A (en) * 2019-01-25 2019-04-09 新华三技术有限公司 Network equipment control method and the network equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123511A (en) * 2007-09-21 2008-02-13 杭州华三通信技术有限公司 A PCI quick bus system and its energy management method
US20100034083A1 (en) * 2008-08-08 2010-02-11 Qualcomm Incorporated Method and apparatus for packet differentiation in a wireless communication system
CN101894060A (en) * 2010-06-25 2010-11-24 福建星网锐捷网络有限公司 Fault detection method and modular device
CN102075580A (en) * 2011-01-20 2011-05-25 迈普通信技术股份有限公司 Method and system for storing synchronous data in distributive network equipment
CN102820973A (en) * 2012-07-20 2012-12-12 福建星网锐捷网络有限公司 Management boards, modularized equipment with double management boards, and electing method of master control board

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123511A (en) * 2007-09-21 2008-02-13 杭州华三通信技术有限公司 A PCI quick bus system and its energy management method
US20100034083A1 (en) * 2008-08-08 2010-02-11 Qualcomm Incorporated Method and apparatus for packet differentiation in a wireless communication system
CN101894060A (en) * 2010-06-25 2010-11-24 福建星网锐捷网络有限公司 Fault detection method and modular device
CN102075580A (en) * 2011-01-20 2011-05-25 迈普通信技术股份有限公司 Method and system for storing synchronous data in distributive network equipment
CN102820973A (en) * 2012-07-20 2012-12-12 福建星网锐捷网络有限公司 Management boards, modularized equipment with double management boards, and electing method of master control board

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
路万鹏: "以太网交换机的测试方法研究", 《中国优秀硕士学位论文全文数据库》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721197A (en) * 2016-01-19 2016-06-29 烽火通信科技股份有限公司 Method and device for improving inter-communication system disk information acquisition accuracy
CN105721197B (en) * 2016-01-19 2019-01-29 烽火通信科技股份有限公司 Improve the method and device of overall information collection accuracy of communication system
CN108111354A (en) * 2017-12-28 2018-06-01 杭州迪普科技股份有限公司 A kind of frame type equipment port status mark setting method and device
CN109600270A (en) * 2019-01-25 2019-04-09 新华三技术有限公司 Network equipment control method and the network equipment
CN109600270B (en) * 2019-01-25 2021-08-06 新华三技术有限公司 Network equipment control method and network equipment

Also Published As

Publication number Publication date
CN104038387B (en) 2018-01-16

Similar Documents

Publication Publication Date Title
CN106126652B (en) Mishap Database switching method and system for distributed experiment & measurement system
CN103513869A (en) Method and device for displaying terminal lock screen interface and Widget
CN102195796A (en) Method and equipment for updating software version of distributed dual master control equipment
CN102622150A (en) Static eliminating method for touch screen
CN104168134B (en) Distributed wireless hotspot control system with uninterrupted data service after single board exception
US20160335391A1 (en) Method and system for interacting rail transit vehicle commissioning task information
CN102231161A (en) Method for synchronously verifying and monitoring databases
CN105241535A (en) Dynamic weighing system and method capable of automatically switching standby equipment
CN104038387A (en) Method for service board on-line detection of frame type exchanger
CN101969384A (en) Compatibility judging method, device and network equipment for switching between active and standby main control boards
WO2015039461A1 (en) Alarm handling priority determination method, system and computer storage medium
CN102681739A (en) Static elimination method for touch screen
CN104408654A (en) Financial monitoring management system
CN105606958A (en) Processing method, system, and apparatus for fault information of power system
CN103543413B (en) Touch-screen remote monitoring fault diagnosis system
CN104849612A (en) Power distribution network fault locating method and device
CN100517177C (en) Combined type reset system processing method and device
CN101110608B (en) Method, system and device for data detection of main and spare plate
CN110018932B (en) Method and device for monitoring container magnetic disk
CN102937879B (en) There are mobile terminal and the two touch unlock methods of two touch system for unlocking
CN108124440B (en) Elevator maintenance method, intelligent key and elevator maintenance system
CN106412016A (en) Connection control method and device for server
CN105630345B (en) A kind of method and apparatus controlling display direction
CN105159944A (en) Database emergency handling method and system
CN105048629B (en) The hard pressing plate anti-misoperation warning system of relay protection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201218

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co., Ltd

Address before: No.20 and No.90, Lane 4855, Guangfulin Road, Songjiang District, Shanghai, 201616

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211130

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co., Ltd