WO2012024967A1 - Procédé et appareil pour supporter une entrée de multiples terminaux d'interface série - Google Patents
Procédé et appareil pour supporter une entrée de multiples terminaux d'interface série Download PDFInfo
- Publication number
- WO2012024967A1 WO2012024967A1 PCT/CN2011/075901 CN2011075901W WO2012024967A1 WO 2012024967 A1 WO2012024967 A1 WO 2012024967A1 CN 2011075901 W CN2011075901 W CN 2011075901W WO 2012024967 A1 WO2012024967 A1 WO 2012024967A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- login
- terminal
- serial
- login request
- serial terminal
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
Definitions
- the present invention relates to a terminal login technology, and in particular, to a method and apparatus for supporting multi-serial terminal login. Background technique
- the network has higher and higher requirements on the interface capacity and switching capacity of the chassis-connected devices. Therefore, the single-chassis-connected device has been difficult to meet the increasing user network data in terms of interface capacity and switching capacity. Demand.
- the clustering technology is used to interconnect the original single-chassis devices to form a new multi-chassis device to expand the capacity and interface capacity to meet user requirements.
- a router As a widely used connection device in a network system, a router not only requires high-reliability data transmission, but also requires scalability. It introduces cluster technology into the router field, with the purpose of using two or more ordinary routers. ⁇ Connected with cluster technology to form router cluster devices, enabling these common routers to work together and parallelize devices to achieve smooth expansion of system capacity, thus meeting the user's need for higher capacity.
- a router cluster device includes two types of chassis: one is a Central Fabric Chassis (CFC), and the other is a Line Card Chassis (LCC), where each frame has Main Control Board (MPUF) and some Switch Boards (SFU).
- CFC Central Fabric Chassis
- LCC Line Card Chassis
- MPUF Main Control Board
- SFU Switch Boards
- SC system controller
- SC system controller
- the SC can be run on any one of the chassis.
- the SC also has a backup SC and a standby SC, and the standby SC runs on another chassis.
- the chassis where the primary SC is located and the chassis where the standby SC is located exist.
- the present invention provides a method and device for supporting multi-serial terminal login, so that any serial terminal can implement the request login and operation, realize flexible login of the serial terminal, and facilitate device maintenance.
- the present invention provides a method for supporting multi-serial terminal login.
- the method includes: when a serial terminal initiates a login request, the login request is sent to the main control board of the chassis where the main SC is located; The control board determines whether the serial terminal that initiates the login request is allowed to log in, and returns the login result to the serial terminal.
- the condition for the serial terminal to log in to the login request is: when no other serial terminal is in the login state, and/or the serial terminal that initiates the login request belongs to the chassis where the primary SC is located, the serial terminal login that allows the login request is allowed. .
- the determining whether to allow the serial terminal to initiate the login request includes: determining whether the serial terminal that initiates the login request belongs to the chassis where the primary SC is located, and if it belongs to the chassis where the primary SC is located, determining whether the serial terminal is currently in the chassis The login status, if not, allows the serial terminal to initiate the login request to log in. If the serial terminal is in the login state, the current serial terminal is forced to go offline, and the serial terminal that initiates the login request is allowed to log in.
- serial terminal If it is not in the chassis of the primary SC, it is determined whether the serial terminal is currently in the login state. If not, the serial terminal that initiates the login request is allowed to log in. If the serial terminal is in the login state, the serial port that refuses to initiate the login request is rejected. Terminal login.
- the determining whether to allow the serial terminal to log in to initiate the login request includes: determining whether the serial terminal is currently in the login state, and if not, allowing the serial terminal to initiate the login request to log in; if the serial terminal is already in the login state Then, it is further determined whether the serial terminal that initiates the login request belongs to the chassis where the primary SC is located, and if it belongs to the chassis where the primary SC is located, the current serial terminal that has logged in is forced to go offline, and the serial terminal that initiates the login request is allowed to log in; If the primary SC is in the chassis, the serial terminal login that initiated the login request is denied.
- the main control board that sends the login request to the chassis of the main SC includes: The serial port daemon of the main control board of the chassis where the serial terminal that initiates the login request sends the login request to the chassis of the main SC.
- the telnet process of returning the login result to the serial port is:
- the telnet process of the main control board of the chassis where the primary SC is located returns the login result to the serial port daemon of the main control board of the chassis where the serial terminal that initiated the login request is located.
- the login request is sent to the main control board of the chassis where the main SC is located by using an inter-CPU message or a message in the CPU; wherein the inter-CPU message or the intra-CPU message carries the serial port terminal where the login request is initiated.
- the determining whether the serial terminal that initiates the login request belongs to the chassis where the primary SC is located includes: determining the attribute information in the inter-CPU message or the message in the CPU, and determining whether to belong to the primary SC or the non-primary sc according to the attribute information.
- the determining whether the serial port terminal is currently in the login state comprises: determining whether the preset login flag bit is set, if the bit is set, the existing serial port terminal is in the login state; otherwise, the serial port terminal is not in the login state. Login status.
- the method of the present invention further includes: after any one of the serial terminals is logged in, if there is no operation for a specified continuous time, the serial port terminal currently in the login state is forced to go offline.
- the invention also provides a device for supporting multi-serial terminal login, the device comprises: transmitting and receiving Module, login request processing module;
- the transceiver module is configured to receive a login request initiated by the serial terminal, and forward the login request to the login request processing module;
- the login request processing module is configured to determine whether the serial terminal that initiates the login request is allowed to log in, and notify the serial terminal that initiates the login request to the login result.
- the login request processing module further includes: a login request determination module, a login module;
- the login request judging module is configured to determine whether the serial port terminal is currently in the login state, and determine that the serial port terminal is in the login state, and notify the login module;
- the login module is configured to allow and complete the login of the serial terminal that initiates the login request when the serial terminal is not in the login state.
- the login request judging module is further configured to: determine whether the serial port terminal that currently initiates the login request belongs to the chassis where the main SC is located.
- the login module is further configured to reject the serial terminal login that initiates the login request, and reject the reason.
- the serial port terminal that initiates the login request is notified.
- the login request determination module determines that the serial port terminal is in the login state and the serial port terminal that initiates the login request belongs to the primary SC
- the login module is also used to force the serial terminal terminal currently in the login state.
- the offline terminal is allowed to log in to the serial terminal that initiates the login request, and the login result is notified to the serial terminal that initiated the login request.
- the present invention has the following advantages:
- the method and the device for supporting the multi-serial terminal login allow the serial terminal to initiate the request to log in when a serial terminal initiates a login request and determines that no other serial terminal is in the login state in the router cluster device.
- the serial terminal of the main control board on any one of the router cluster devices can request login and perform operations such as OAM operation, and The operation effect is the same as that of the serial terminal of the main control board of the main SC.
- the router can be configured to manage the device. This solves the problem that the router cluster device can only support the serial terminal on the main control board of the main SC. Login question.
- serial terminal of the main control board of the main SC is initiating a login request
- the serial terminal that is currently in the login state can be forced to go offline, and the main request for the login request is allowed.
- the serial terminal of the main control board of the chassis of the SC is logged in, so that the serial terminal of the main control board of the main SC is preferentially logged in.
- serial port terminal of the main control board of the main SC when the serial port terminal of the main control board of the main SC is damaged or unavailable due to other reasons, the main SC and the standby SC need not be switched, and the host SC can be used.
- the serial port of the main control board of any chassis other than the chassis completes the login and OAM operations, which not only avoids device wear caused by device switching, but also facilitates device maintenance.
- FIG. 1 is a schematic flowchart of an implementation of a method for supporting a multi-serial terminal login method according to the first embodiment of the present invention
- FIG. 2 is a schematic flowchart of a second embodiment of the present invention
- the basic idea of the present invention is: In a router cluster device, when a serial terminal initiates a login request, it is determined that no other serial terminal is currently in the login state of the router cluster device, regardless of whether the serial terminal that initiates the login request belongs to the host SC. In the box, the serial terminal that initiates the login request is allowed to log in, so that any serial terminal can request login.
- FIG. 1 is a schematic flowchart showing the implementation of the first embodiment of the multi-serial terminal login method according to the present invention. As shown in FIG. 1 , the method for supporting multi-serial terminal login in this embodiment includes the following steps:
- the login request is sent to the main control board of the chassis where the main SC is located;
- the serial terminal that initiates the login request may be the serial terminal of the main control board of the main SC, or the serial terminal of the main control board of the chassis where the main SC is located; whether the serial terminal that initiates the login request belongs to the primary SC,
- the login request is sent to the main control board of the chassis where the main SC is located.
- the login request is sent by the serial port of the main control board of the chassis where the serial terminal that initiated the login request is located.
- the process receives the packet and sends it to the telnet process on the main control board of the main SC.
- the main control board of the chassis where the main SC is located determines whether the serial terminal is allowed to log in, and returns the login result to the serial terminal.
- the determining, according to the preset login rule, the preset login rule may be determining whether the serial terminal is currently in the login state, and whether the serial terminal that initiates the login request belongs to the chassis where the primary SC is located, if not If the serial terminal is in the login state and/or the serial terminal that initiates the login request belongs to the chassis where the primary SC is located, the serial terminal that initiates the login request is allowed to log in. If the serial terminal that belongs to the main control board of the main SC is in the login state, The serial terminal login that refuses to initiate the login request is rejected. The login result is that the serial terminal is allowed to log in or the serial terminal is logged in. When the serial terminal is allowed to log in, the login result is allowed to log in to the serial terminal. In contrast, when the serial terminal is denied to log in, the login result is rejected. Serial terminal login.
- the operation of the serial port terminal of the main control board of the chassis of the non-primary SC is sent to the telnet process on the main control board of the chassis of the main SC through the serial port daemon process.
- the telnet process of the main control board of the main SC is used to monitor the status of all other non-primary SC serial terminals.
- FIG. 2 is a schematic flowchart of the second embodiment of the present invention.
- the method for supporting multi-serial terminal login in this embodiment includes the following steps: 201: Any serial terminal initiates login request;
- the serial port daemon on the main control board of the chassis where the serial port terminal that initiates the login request receives the login request, and sends the login request to the main control board of the main SC where the main SC is located.
- the telnet process on the main control board of the main SC is configured to receive the inter-CPU message or the intra-CPU message, if the information about the chassis included in the message between the CPU or the message in the CPU is the host SC.
- the login request is initiated by the serial terminal of the chassis where the primary SC is located, and then 203 is performed; if the information about the chassis included in the message between the CPU or the message in the CPU is the chassis of the non-primary SC, Indicates that the login request is initiated by the serial terminal of the chassis where the non-primary SC is located, and then executes 206;
- the telnet process on the main control board of the main SC is set to a preset login identifier, such as: set to 1 or true;
- the telnet process on the main control board of the main SC is reset, such as: Is 0 or false.
- the telnet process on the main control board of the main SC is determined according to the login identifier, and whether the serial terminal is in the login state. If the identifier is set, the value of the identifier is equal to 1 or set to true, it means that the serial terminal in the current device is in the login state, execute 204; if the flag is reset, if the value of the flag is equal to 0 or is set to false, it means that no serial terminal is in the login state. , executing 205;
- the forced offline operation is: executing a forced user offline code program by the telnet process on the main control board of the main SC, forcing the serial terminal to go offline.
- the serial terminal of the main control board of the main SC is logged in, and the login is completed, and 209 is performed.
- the login result is asynchronous. Send to the serial port daemon on the main control board of the chassis where the serial terminal that initiated the login request is located, and then execute 209;
- the telnet process on the main control board of the main chassis of the main SC determines whether a serial terminal is in the login state according to the login identifier. If the identifier is set, the value of the identifier is equal to 1 or If it is true, it means that the serial terminal is currently logged in, and 207 is executed; if the flag is reset, if the value of the flag is equal to 0 or is set to false, it means that there is no serial terminal login, and 208 is performed;
- telnet process on the main control board of the main SC is sent to the telnet process by the asynchronous message.
- the serial terminal that initiates the login request enters the login authentication process.
- the telnet process on the main control board of the main SC is sent to the chassis of the serial terminal where the login request is initiated.
- the serial port daemon on the control board executes 209.
- the telnet process determines that the serial terminal that initiated the login request can log in, the telnet process directly monitors the login result, and then sends the login result back to the serial port daemon.
- the serial port daemon on the main control board of the chassis where the serial terminal that initiates the login request returns the received serial login result or the rejected reason to the serial terminal user, and displays it on the interface of the user terminal, prompting the user.
- the serial port has been successfully logged in, or the serial terminal has been denied login.
- step 202 and step 203 can also be reversed, that is, it is first determined whether the serial port terminal is currently in the login state, and if not, the login of the serial terminal that initiated the login request is completed; If the terminal is in the login state, it is determined whether the serial terminal that initiated the login request belongs to the chassis where the primary SC is located. If it belongs to the chassis where the primary SC is located, the currently logged-in serial terminal is forced to go offline, and the serial terminal that initiates the login request is completed. If the login does not belong to the chassis where the primary SC is located, the serial terminal login that initiated the login request is rejected.
- the present invention also adds a protection mechanism to the router cluster device: After any serial port terminal logs in, if there is no operation for a specified continuous time, the telnet on the main control board of the main SC is located. The process will execute the code program for forcing the user to go offline, forcing the serial terminal that is currently in the login state to go offline, thus preventing a serial port terminal from being occupied for a long time without operating, causing other serial terminal terminals to fail to log in.
- the specified continuous time may be set according to actual needs in a timer program in the telnet process.
- the present invention further provides an apparatus for supporting multi-serial terminal login.
- the apparatus embodiment includes: a transceiver module 301, and a login request processing module 302;
- the transceiver module 301 is located on the main control board of the main SC.
- the transceiver module 301 is configured to receive the login request, and send the login request to the chassis of the main SC.
- Login request processing module 302 on the main control board;
- the login request processing module 302 is configured to determine whether to allow the serial terminal terminal to initiate the login request to log in, and return the login result to the serial terminal that initiates the login request.
- the serial port daemon of the main control board of the chassis where the serial terminal is initiating the login request sends a login request to the telnet process of the main control board of the main SC.
- the telnet process of the main control board of the main SC is to initiate the login.
- the serial port daemon of the main control board of the chassis where the serial port terminal is located returns the login result.
- the login result is the login success, login failure/rejection reason.
- the login request processing module 302 further includes: a login request determination module 3021 and a login module 3022;
- the login request judging module 3021 is configured to determine whether the serial port terminal is in the login state in the router cluster device, and determine that the serial port terminal is in the login state, notify the login module 3022;
- the login module 3022 is configured to allow and complete the login of the serial terminal that initiates the login request when the serial port terminal is not in the login state in the router cluster device.
- the login request determining module determines that when the serial port terminal in the router cluster device is in the login state and the serial port terminal that initiates the login request belongs to the non-primary SC, the login module 3022 is further configured to reject the chassis where the non-primary SC is located.
- the serial terminal of the main control board logs in, and notifies the serial terminal that initiated the login request.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
L'invention porte sur un procédé et un appareil pour supporter une entrée de multiples terminaux d'interface série. Le procédé comprend les étapes suivantes : lorsqu'un terminal d'interface série initie une demande d'entrée, la demande d'entrée est transmise à un panneau de commande principal d'un châssis dans lequel un Contrôleur de Système (SC) principal est situé; le panneau de commande principal du châssis dans lequel le SC est situé détermine si le terminal d'interface série qui initie la demande d'entrée est ou non autorisé à entrer, et notifie le résultat d'entrée au terminal d'interface série qui initie la demande d'entrée. Par conséquent, grâce à la présente invention, lorsqu'il n'y a pas de terminal d'interface série dans l'état d'entrée et/ou lorsque le terminal d'interface série qui initie la demande d'entrée appartient au châssis dans lequel est situé le SC principal, le terminal d'interface série qui initie la demande d'entrée est autorisé à entrer afin de permettre à tout terminal d'interface série de demander une entrée, permettant ainsi de mettre en œuvre l'entrée flexible pour le terminal d'interface série et d'être propice à une maintenance de dispositif.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010262034.XA CN101924655B (zh) | 2010-08-23 | 2010-08-23 | 一种支持多串口终端登录的方法和装置 |
| CN201010262034.X | 2010-08-23 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012024967A1 true WO2012024967A1 (fr) | 2012-03-01 |
Family
ID=43339318
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2011/075901 Ceased WO2012024967A1 (fr) | 2010-08-23 | 2011-06-17 | Procédé et appareil pour supporter une entrée de multiples terminaux d'interface série |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN101924655B (fr) |
| WO (1) | WO2012024967A1 (fr) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101924655B (zh) * | 2010-08-23 | 2015-06-03 | 中兴通讯股份有限公司 | 一种支持多串口终端登录的方法和装置 |
| CN102195821B (zh) * | 2011-06-27 | 2014-07-02 | 吉林中软吉大信息技术有限公司 | 一种网络设备配置方法 |
| CN108632151B (zh) * | 2017-03-24 | 2022-03-11 | 中兴通讯股份有限公司 | 集群路由器板卡访问方法、装置及集群路由器 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1852502A (zh) * | 2006-05-29 | 2006-10-25 | 杭州华为三康技术有限公司 | 一种集群系统中实现负载均衡的方法、系统和存储控制器 |
| CN2917100Y (zh) * | 2006-04-14 | 2007-06-27 | 上海未来宽带技术及应用工程研究中心有限公司 | 一种atca系统 |
| CN101730094A (zh) * | 2009-11-30 | 2010-06-09 | 广州市聚晖电子科技有限公司 | 一种终端设备接入安防系统业务平台及信息传送方法 |
| CN101924655A (zh) * | 2010-08-23 | 2010-12-22 | 中兴通讯股份有限公司 | 一种支持多串口终端登录的方法和装置 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101217541B (zh) * | 2008-01-15 | 2011-05-11 | 中兴通讯股份有限公司 | 一种会话初始协议终端向服务器联动注册的方法 |
-
2010
- 2010-08-23 CN CN201010262034.XA patent/CN101924655B/zh not_active Expired - Fee Related
-
2011
- 2011-06-17 WO PCT/CN2011/075901 patent/WO2012024967A1/fr not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN2917100Y (zh) * | 2006-04-14 | 2007-06-27 | 上海未来宽带技术及应用工程研究中心有限公司 | 一种atca系统 |
| CN1852502A (zh) * | 2006-05-29 | 2006-10-25 | 杭州华为三康技术有限公司 | 一种集群系统中实现负载均衡的方法、系统和存储控制器 |
| CN101730094A (zh) * | 2009-11-30 | 2010-06-09 | 广州市聚晖电子科技有限公司 | 一种终端设备接入安防系统业务平台及信息传送方法 |
| CN101924655A (zh) * | 2010-08-23 | 2010-12-22 | 中兴通讯股份有限公司 | 一种支持多串口终端登录的方法和装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101924655B (zh) | 2015-06-03 |
| CN101924655A (zh) | 2010-12-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100553322C (zh) | 视讯会议的备份方法及装置 | |
| CN102916825A (zh) | 一种双机热备系统的管理设备、管理方法及双机热备系统 | |
| CN113315665B (zh) | 一种双网卡终端设备的报文发送方法、装置、设备及介质 | |
| CN101547082A (zh) | 一种主备链路倒换方法及网络设备 | |
| CN106060088A (zh) | 一种服务管理方法及装置 | |
| CN101237315A (zh) | 一种用于双控高可用系统的同步检测和故障隔离方法 | |
| CN102142978B (zh) | 数据备份传输处理方法、装置及系统 | |
| WO2021073367A1 (fr) | Procédé, dispositif et système de traitement de données | |
| WO2010048875A1 (fr) | Procédé, dispositif d'extension de système de grappe et système de grappe | |
| CN116074187B (zh) | 主备链路切换方法及装置、电子设备、存储介质 | |
| CN112019460A (zh) | 一种双bmc系统的网络切换装置及其网络切换方法 | |
| WO2013189069A1 (fr) | Procédé et dispositif de partage de charge, et carte unique | |
| WO2012024967A1 (fr) | Procédé et appareil pour supporter une entrée de multiples terminaux d'interface série | |
| CN103001787B (zh) | 用于数据处理中心容灾备份的系统及方法 | |
| CN106464541B (zh) | 基于网络功能虚拟化的故障处理方法及设备 | |
| CN105763442A (zh) | 主备倒换lacp聚合链路不中断的pon系统及方法 | |
| CN104536853B (zh) | 一种保障双控制器存储设备资源连续可用性的装置 | |
| KR101587332B1 (ko) | 컨트롤러와 네트워크 장치 간 연결 상태 확인 방법 | |
| CN103501239B (zh) | 一种端口状态同步方法、相关设备及系统 | |
| CN100496030C (zh) | 基于高可用性系统的综合接入媒体网关设备 | |
| CN103179102B (zh) | 一种桌面虚拟化方法、设备及系统 | |
| WO2012159339A1 (fr) | Procédé et dispositif d'enregistrement d'interface pour qu'un dispositif de réseau puisse rejoindre un système de liaison | |
| WO2015158058A1 (fr) | Procédé et système de mise en œuvre de sauvegarde et de récupération d'appel | |
| CN101707555B (zh) | 一种堆叠系统中的数据交互方法及装置 | |
| CN100563263C (zh) | 在网络存储业务中实现系统高可用性的方法和系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11819342 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 11819342 Country of ref document: EP Kind code of ref document: A1 |