WO2017063590A1 - Channel switching method and apparatus, backplane, and communications device - Google Patents

Channel switching method and apparatus, backplane, and communications device Download PDF

Info

Publication number
WO2017063590A1
WO2017063590A1 PCT/CN2016/102187 CN2016102187W WO2017063590A1 WO 2017063590 A1 WO2017063590 A1 WO 2017063590A1 CN 2016102187 W CN2016102187 W CN 2016102187W WO 2017063590 A1 WO2017063590 A1 WO 2017063590A1
Authority
WO
WIPO (PCT)
Prior art keywords
board
slot
height
type
channel
Prior art date
Application number
PCT/CN2016/102187
Other languages
French (fr)
Chinese (zh)
Inventor
曹满金
覃晓霞
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017063590A1 publication Critical patent/WO2017063590A1/en

Links

Images

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Definitions

  • Embodiments of the present invention relate to the field of communications, and in particular, to a channel switching method and apparatus, a backboard, and a communication device.
  • the device In order to meet the requirements, the device requires a more flexible subrack configuration. You can configure different types of boards.
  • the subrack configuration method used in the related technologies is as follows: the subrack is fixed, and the slot insertion mode is fixed. The number of boards is also fixed. It is obvious that the corresponding one-to-one plug-in method makes the slots inflexible configuration and change, and the device of the user becomes complicated, bloated and difficult to maintain, so that it cannot adapt to competition. It will not meet the needs of the present and the future.
  • the slot management mode is too rigid and rigid. It is basically a management port in one slot. It cannot be split into two slots in one slot. The bit is used, but the thick single slot board occupies two slots. For the half-height board, it usually takes up a full-board space, and the configuration is relatively rigid, resulting in port waste, not fully utilized, increasing Unnecessary costs.
  • the embodiment of the invention provides a channel switching method and device, a backboard and a communication device, so as to at least solve the problem that the subrack configuration is inflexible in the related art.
  • a channel switching method including: acquiring a connection state of a specified slot in a communication device, where the plugging state includes: inserting a card into a slot or removing a slot from a board
  • the specified slot supports the insertion of multiple types of boards; the type of the board corresponding to the patched state in the specified slot is obtained; and the current channel is switched to the patched state according to the state of the patch and the type of the board.
  • the plugging state includes: inserting a card into a slot or removing a slot from a board
  • the specified slot supports the insertion of multiple types of boards; the type of the board corresponding to the patched state in the specified slot is obtained; and the current channel is switched to the patched state according to the state of the patch and the type of the board.
  • the plugging state includes: inserting a card into a slot or removing a slot from a board
  • the specified slot supports the insertion of multiple types of boards; the type of the board corresponding to the patched state
  • the current channel is switched to the channel corresponding to the patching state and the type according to the state of the plugging and the type of the board, and the board is inserted into the slot in the plugging state, and the type is half height.
  • the current channel is switched to the channel corresponding to the half-height board.
  • the plug-in state the board is removed from the slot and the type is half-height.
  • the current channel is switched to the channel corresponding to the full board.
  • the channel corresponding to the half-height board includes: a communication management interface and a channel formed by the connector corresponding to the half-height board in the slot;
  • the channel corresponding to the full-height board includes: a communication management interface and a slot The channel formed by the connector corresponding to the full height plate is connected.
  • the communication management interface includes at least one of the following: an Ethernet network port, a bus and interface standard PCIE, and a universal serial bus USB.
  • a channel switching apparatus including: a first acquiring module, configured to acquire a plugging state of a specified slot in a communication device; wherein the plugging state includes: inserting a board into a slot or The board is removed from the slot.
  • the specified slot supports the insertion of multiple types of boards.
  • the second acquisition module is configured to obtain the type of the board corresponding to the patched state in the specified slot. The status of the patch and the type of the board are switched to the channel corresponding to the patching state and type.
  • the channel corresponding to the half-height board includes: a communication management interface and a channel formed by the connector corresponding to the half-height board in the slot;
  • the channel corresponding to the full-height board includes: a communication management interface and a slot The channel formed by the connector corresponding to the full height plate is connected.
  • the communication management interface includes at least one of the following: an Ethernet network port, a bus and interface standard PCIE, and a universal serial bus USB.
  • the second obtaining module includes: an obtaining unit, configured to obtain address information of the board in the specified slot when the board inserts or removes the specified slot; the determining unit is set to be based on the address information Determine the type of the board.
  • a backplane including: a slot, a switch component, and a mutual exclusion component; wherein the slot is provided with a plurality of connectors; the slot supports multiple types of boards.
  • the plug-in state is set to obtain the state of the slot provided by the connector, and the type of the board corresponding to the connector is determined.
  • the plug-in state includes: the board is inserted into the slot or the board is pulled out.
  • the slot component is configured to receive the patching state and the type of the board sent by the mutex sensing component, and switch the current channel to the channel corresponding to the patching state and type according to the plugging state and the type of the board. .
  • the switch component is further configured to be in a state in which the board is inserted into the slot and the type is a half-height board, or the slot is in the plug-in state, and the type is In the case of a full-height board, the current channel is switched to the channel corresponding to the half-height board; wherein the channel corresponding to the half-height board includes: a communication management interface and a channel formed by the connector corresponding to the half-height board in the slot If the board is in the slot state and the type is a half-height board, or if the board is inserted into the slot and the type is full-height, the current channel is switched to The channel corresponding to the full-height board; wherein the channel corresponding to the full-height board includes: a communication management interface and a channel formed by the connector corresponding to the full-height board in the slot.
  • the communication management interface includes at least one of the following: an Ethernet network port, a bus and interface standard PCIE, and a universal serial bus USB.
  • the mutual exclusion sensing component is further configured to: obtain the address information of the board in the specified slot when the board inserts or removes the specified slot; and determine the type of the board according to the address information.
  • the device further includes a channel control component, and the channel control component is configured to receive the connection state and the type of the board sent by the mutual exclusion component, and generate channel control corresponding to the connection state and the type of the board. a signal; wherein the channel control signal is used to control the switch component to switch the current channel to a channel corresponding to the patch state and type.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the channel switching method in the foregoing embodiment.
  • FIG. 2 is a block diagram 1 of a structure of a channel switching apparatus according to an embodiment of the present invention.
  • FIG. 3 is a block diagram 2 of a structure of a channel switching apparatus according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a backplane according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a non-channel adaptive subrack in the related art
  • FIG. 7 is a schematic diagram of a channel adaptive subrack according to a preferred embodiment of the present invention.
  • FIG. 8 is a flowchart of a board startup in the related art
  • FIG. 9 is a flow chart of a channel switching method in accordance with a preferred embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a slot-level address 10, 17, 30 compatible with a full-height board and a half-height board in the subrack of Embodiment 1 of the present invention
  • FIG. 12 is a schematic diagram of the slot address 9, 10, 17, 18, 30, 31, 60 compatible with the single-layer full-high board, the double-layer full-height board, and the half-height board in the sub-rack of the embodiment 3 of the present invention.
  • FIG. 1 is a flowchart of a channel switching method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • the plugging state of the specified slot in the communication device is obtained.
  • the plugging state includes: inserting a card into the slot or removing the slot of the board, where the specified slot supports insertion of multiple types of boards;
  • step S104 the type of the board corresponding to the patching state in the specified slot is obtained.
  • Step S106 Switch the current channel to the channel corresponding to the plugging state and type according to the plugging state and the type of the board.
  • the above-mentioned steps are used to obtain the connection state of the specified slot in the communication device and the type of the card corresponding to the connection state.
  • the plug-in state includes: the board is inserted into the slot or the board is removed from the slot.
  • the specified slot supports the insertion of multiple types of boards.
  • the current channel is switched to the channel corresponding to the patching state and type according to the state of the patch and the type of the board.
  • the automatic switching of the channel is completed by specifying the slot status of the slot and the type of the board inserted in the specified slot.
  • the specified slot can support multiple types of boards to be inserted. That is, a specified slot (such as a single slot) can be compatible with multiple boards.
  • a specified slot can support half. High board and full height board are mixed.
  • the half-height board refers to a single board that is horizontally inserted or vertically inserted on the sub-rack with a width of half the entire insertion width; the full-height board refers to a single board that is horizontally inserted or vertically inserted on the sub-rack with the entire width of the entire insertion width. .
  • the half-height board when a half-height board and a full-height board are mixed in a specified slot, when the full-height board is inserted in the specified slot, the half-height board may be invalid by default; when the half-height board is inserted The full-height board defaults. When the half-height board is pulled out, the default full-height board is valid. When the full-height board is pulled out, the default half-height board is valid.
  • the step S106 may include: when the plugging state is a board insertion slot, and the type is a half-height board, Or, in the case where the board is in the slot state and the type is the full-board, the current channel is switched to the channel corresponding to the half-height board; in the plug-in state, the board is removed from the slot, and the type is In the case of a half-height board, or in the case where the board is inserted into the slot and the type is a full-height board, the current channel is switched to the channel corresponding to the full-height board. That is, the spatial mutual exclusion of the slot is used to implement adaptive switching of the channel, which improves the user experience.
  • the channel corresponding to the half-height board may be a channel formed by the communication management interface and the connector corresponding to the half-height board in the slot; the channel corresponding to the full-height board may be the communication management interface and the slot The corresponding connector of the full height plate is connected to the formed channel.
  • the communication management interface may be a high-speed communication management interface such as 10M/100M Ethernet, 1000M Ethernet, PCIE or USB, but is not limited thereto.
  • the step S104 may include: obtaining address information of the board in the specified slot when the board is inserted or removed from the specified slot; and determining the type of the board according to the address information.
  • the type of the board in which the specified slot is inserted or removed is determined by the address of the specified slot.
  • the address information may be a real physical location address of the board inserted into the specified slot, or may be a logical address.
  • the address information is a physical location address, and You can obtain the physical location of the card in the specified slot. You can obtain the physical address of the card in the specified slot by inserting or removing the card in the specified slot. Physical location address. Since the plurality of connectors are disposed in the designated slot, each of the connectors corresponds to a single board, and the connectors are distributed at different positions in the specified slots, and thus each connector corresponds to a physical location address, thereby You can obtain the physical location address of the board in the specified slot by obtaining the physical location address of the corresponding slot in the specified slot.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a channel switching device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 2 is a structural block diagram 1 of a channel switching apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes:
  • the first obtaining module 20 is configured to obtain the plugging state of the specified slot in the communications device.
  • the plugging state includes: inserting a card into the slot or removing the slot from the board. Insertion of the board;
  • the second obtaining module 22 is connected to the first acquiring module 20, and is configured to acquire a type of a board corresponding to the plugging state in the specified slot.
  • the switching module 24 is connected to the second obtaining module 22, and is configured to switch the current channel to the channel corresponding to the plugging state and type according to the plugging state and the type of the board.
  • the device is configured to obtain a plugging state of a specified slot in the communications device and a type of the card corresponding to the plugging state.
  • the plugging state includes: inserting a card into the slot or removing the slot from the board.
  • the specified slot supports the insertion of multiple types of boards.
  • the current channel is switched to the channel corresponding to the patching state and type, that is, the above device can support multiple slots in the specified slot.
  • the automatic switching of the channel is completed by specifying the slot state of the slot and the type of the board inserted into the slot, which solves the problem of inflexible configuration of the subrack in the related art.
  • the flexibility of the subrack configuration improves the utilization of the port.
  • first acquiring module 20 and the second acquiring module 22 may be performed by the same acquiring module, and are not limited thereto.
  • the specified slot can support multiple types of boards to be inserted. That is, a specified slot (such as a single slot) can be compatible with multiple boards.
  • a specified slot can support half. High board and full height board are mixed.
  • the half-height board refers to a single board that is horizontally inserted or vertically inserted on the sub-rack with a width of half the entire insertion width; the full-height board refers to a single board that is horizontally inserted or vertically inserted on the sub-rack with the entire width of the entire insertion width. .
  • FIG. 3 is a block diagram of a structure of a channel switching apparatus according to an embodiment of the present invention. As shown in FIG. 3, in an optional embodiment of the present invention, the switching module 24 is used. include:
  • the first switching unit 240 is configured to be in the case where the board is inserted into the slot and the type is a half-height board, or in the case where the plug-in state is the board pulling out the slot and the type is a full-height board. , switching the current channel to the channel corresponding to the half-height board;
  • the second switching unit 242 is configured to be in a state in which the board is in the slot state and the type is a half-height board, or in the case that the board is inserted into the slot and the type is a full-height board. , the current channel is switched to the channel corresponding to the full height board.
  • the switching module 24 can complete the handover by using the first switching unit 240 and the second switching unit 242, and can complete the switching function by using one switching unit.
  • the switching module 24 uses the spatial mutual exclusion on the specified slot to implement adaptive switching of the channel, thereby improving the user.
  • the degree of experience is the reason for improving the user.
  • the channel corresponding to the half-height board may be a channel formed by the communication management interface and the connector corresponding to the half-height board in the slot; the channel corresponding to the full-height board may be the communication management interface and the slot The corresponding connector of the full height plate is connected to the formed channel.
  • the communication management interface may be a high-speed communication management interface such as 10M/100M Ethernet, 1000M Ethernet, PCIE or USB, but is not limited thereto.
  • the communication management interface includes at least one of the following: an Ethernet network port, a bus and interface standard PCIE, and a universal serial bus USB.
  • FIG. 4 is a block diagram 3 of a structure of a channel switching apparatus according to an embodiment of the present invention.
  • the second acquiring module 22 may include:
  • the obtaining unit 220 is configured to obtain address information of the board in the specified slot when the board is inserted or removed from the specified slot.
  • the determining unit 222 is connected to the obtaining unit 220, and is configured to determine the type of the board according to the address information.
  • the address information may be a real physical location address of the board inserted into the specified slot, or may be a logical address.
  • the address information is a physical location address
  • the obtaining unit 220 can obtain the physical location address of the board in the specified slot by acquiring the physical location address of the corresponding slot in the slot in the specified slot. Specifies the physical location address of the slot. Since the plurality of connectors are disposed in the designated slot, each of the connectors corresponds to a single board, and the connectors are distributed at different positions in the specified slots, and thus each connector corresponds to a physical location address, thereby You can obtain the physical location address of the board in the specified slot by obtaining the physical location address of the corresponding slot in the specified slot.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • FIG. 5 is a structural block diagram of a backplane according to an embodiment of the present invention.
  • the device includes: a slot 50, a switch component 52, and a mutual exclusion sensing component 54.
  • the slot 50 is provided with a plurality of connectors; the slot 50 supports insertion of multiple types of boards;
  • the mutex sensing component 54 is configured to obtain the plugging state of the slot 50 provided by the connector, and determine the type of the card corresponding to the connector.
  • the plugging state includes: inserting a card into the slot or pulling out the board. Slot position
  • the switch component 52 is connected to the mutex sensing component 54 and configured to receive the patching state and the type of the board sent by the mutex sensing component 54.
  • the current channel is switched to and plugged according to the plugging state and the type of the board.
  • the status and type correspond to the channel.
  • the above-mentioned backplane is provided with a plurality of connectors on the slot 50, and the mutual exclusion sensing component 54 adopts the plugging state of the slot 50 provided by the connector, and determines the type of the board corresponding to the connector; the switch component 52 is The status of the plug-in and the type of the board are switched to the channel corresponding to the patching state and type, that is, the backplane can be supported in slot 50.
  • the automatic switching of the channels is completed by the connection state of the slots 50 and the type of the board inserted into the slots 50, thereby solving the problem that the subrack configuration is inflexible in the related art.
  • the flexibility of the subrack configuration is enhanced and the port utilization is improved.
  • the slot 50 can support multiple types of boards to be inserted, that is, one slot (such as a single slot) can be compatible with multiple boards.
  • one slot can support the half board.
  • the half-height board refers to a single board that is horizontally inserted or vertically inserted on the sub-rack with a width of half the entire insertion width; the full-height board refers to a single board that is horizontally inserted or vertically inserted on the sub-rack with the entire width of the entire insertion width. .
  • the current channel is switched to the channel corresponding to the half-height board; wherein the channel corresponding to the half-height board includes: communication management A channel formed by a connector connected to a slot on a slot and a slot in a slot; in the case where the slot is removed from the slot and the type is half-height, or the slot is inserted into the slot. Bit, and the type is full height board, the current channel With full-height change to the corresponding channel plate; wherein the full-height corresponding to the channel plate comprising: a communication management interface with the full-height slot and connected to the connector plate corresponding channels formed. That is, the above switch components realize the adaptive switching of the channel through the mutual exclusion of the space on the slot 50, thereby improving the user experience.
  • the foregoing communication management interface may include at least one of the following: an Ethernet network port, a bus and an interface standard PCIE, and a universal serial bus USB, but is not limited thereto.
  • the mutual exclusion sensing component 54 is further configured to: obtain address information of the board in the slot 50 when the card is inserted or removed from the slot 50; and determine the type of the board according to the address information. .
  • the device further includes a channel control component, wherein the channel control component is configured to receive the connection state and the type of the board sent by the mutual exclusion component, and generate and connect the state and the board. Type corresponding to the channel control signal;
  • the channel control signal is used to control the switch component to switch the current channel to the channel corresponding to the patch state and type.
  • the channel control component may be a logic chip or other devices, and is not limited thereto.
  • the components 1, 2, 5, and 6 form a back plate portion, and the components 3, 4 constitute a slot portion.
  • Component 1 is the main resource carrier; relying on component 1, signal interconnection and control can be realized, while structural components are provided for component 2, component 5, component 6 and component 7; component 2 and component 4 are a pair of male and female connectors.
  • the component board 2 and the component 4 realize the interconnection of the service board (corresponding to the single board of the embodiment shown in FIG. 1 to FIG.
  • the backplane (the component 1 in the above embodiment) needs to be compatible with the connectors of the single-slots of the full-height and the half-height boards (the 4 in the above embodiment), when the full-height board is inserted,
  • the connector of the half-height board is disabled by default; when the half-height board is inserted, the full-height board defaults to invalid, so the slot where one half-height board and the full-height board are mixed supports two mutually exclusive plug-in states: one full-board or two Half height plate.
  • the backplane connector (component 2) needs to provide a half-height or full-height board insertion detection signal to the mutex sensing component (component 6) and the default full-board high-speed port channel is valid.
  • the switching device group (component 5) of the backplane is controlled by detecting the half-high board insertion signal to open the half-high board high-speed port channel. If the half-height board insertion signal is not detected, the default full-height board high-speed port channel is used.
  • the above communication device realizes channel adaptation of the high speed port through the spatial mutual exclusion of the slots.
  • the subrack configuration may be: two half height boards and one full height version.
  • a slot can be shared, which increases the flexibility of the subrack setup.
  • Figure 8 is a flowchart of a board startup process in the related art. As shown in Figure 8, the method includes: inserting a board, starting the board, and loading is completed; it does not involve the problem of channel switching.
  • 9 is a flow chart of a channel switching method according to a preferred embodiment of the present invention. As shown in FIG. 9, the method of the preferred embodiment of the present invention includes:
  • Step S901 inserting a single board
  • Step S903 it is determined whether to perform high-speed port switching, if not, step S904 is performed, and if yes, step S905 is performed;
  • Step S904 the board is started
  • the maximum board configuration flexibility can be obtained in the case of a limited high-speed interface, so that the system solution can be configured and modified to the greatest extent according to user requirements, and is easy to be compatible and expanded.
  • the half-height board and the full-height board are mixed in the same slot, and the Ethernet GE network port is automatically switched.
  • FIG. 10 is a schematic diagram of the slot addresses 10, 17, and 30 of the subrack of the embodiment 1 of the present invention being compatible with the full height board and the half height board.
  • A, B and X (corresponding to the connector of the embodiment shown in Fig. 5) respectively represent the common signal socket of the half-height board and the common signal socket of the full-height board.
  • the following uses the network port as a high-speed port representative, as shown in Figure 10.
  • the switch connects GE2 to the X of slot 30.
  • FIG. 11 is a schematic diagram of the slot address 10, 17, 30 compatible with the full height board and the half height board of the subrack of the embodiment 2 of the present invention.
  • A, B and X (corresponding to the connector of the embodiment shown in Fig. 5) respectively represent the common signal socket of the half-height board and the common signal socket of the full-height board.
  • PCIE PCIE as a high-speed port representative, as shown in Figure 11:
  • the switch matrix connects the full channel of X to the PCIE master M.
  • the X1 channel and the X4 channel have no difference in physical connection.
  • the PCIE master M is switched back to X by the switch matrix.
  • FIG. 12 is a schematic diagram of the slot address 9, 10, 17, 18, 30, 31, 60 compatible with the single-layer full-high board, the double-layer full-height board, and the half-height board in the sub-rack of the embodiment 3 of the present invention.
  • A, B, C, D, S, L, and X represent the common signal socket of the half-height board, the common signal socket of the single-layer full-height board, and the common signal socket of the double-layer full-height board, respectively.
  • the following uses PCIE as a high-speed port representative, as shown in Figure 12:
  • the slot addresses are 9, 10, 17, and 18. If two single-layer full-boards are inserted, the slot address is 30 or 31. If a double-layer full-board is inserted, the slot address is 60.
  • the backplane requires a PCIE master or a PCIE switch to provide a 4-channel access connection to the switch matrix.
  • the slot address is 9, the slot address is 10, and the slot is located.
  • An X1 channel PCIE connection is provided for the address 17 and the slot address is 18, and the slot address is 30 or the slot address is 31 to provide an X1 channel PCIE access.
  • the slot address is 60 to provide an X4 channel or X1 channel access.
  • PCIE double-layer full-height board and half-height board can implement PCIE channel adaptive switching.
  • the compatibility rule uses the mutual exclusion principle that the full-height board with a slot address of 30 and the half-height board with a slot address of 17 cannot coexist. It is described as:
  • the PCIE master M is switched to the corresponding half-height board slot by the automatic matching.
  • the PCIE master M is switched to the corresponding single-layer full-board slot by the automatic matching.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.

Abstract

Embodiments of the present invention provide a channel switching method and apparatus, a backplane, and a communications device. The method comprises: obtaining an insertion status of a specified slot in a communications device, wherein the insertion status comprises insertion of a board into the slot or removal of a board from the slot, and the specified slot supports insertion of multiple types of boards; obtaining a type of a board corresponding to the insertion status at the specified slot; and switching, according to the insertion status and the type of the board, a current channel to a channel corresponding to the insertion status and the type. By means of the embodiments of the present invention, the problem of inflexible sub-rack configuration in the prior art is resolved, the flexibility of sub-rack configuration is enhanced, and the utilization of ports is improved.

Description

通道切换方法及装置、背板和通信设备Channel switching method and device, backboard and communication device 技术领域Technical field
本发明实施例涉及通信领域,具体而言,涉及一种通道切换方法及装置、背板和通信设备。Embodiments of the present invention relate to the field of communications, and in particular, to a channel switching method and apparatus, a backboard, and a communication device.
背景技术Background technique
在通信领域中光传送网(Optical Transport Network,简称OTN)、分组传送网(Packet Transport Network,简称PTN)、路由器等设备通常由一个机架、一块或多块背板、以及具体功能单板组成,单板与背板通过各种输入输出(Input Output,简称IO)资源进行连接,而随着密集型光波复用(Dense Wavelength Division Multiplexing,简称DWDM)、PTN、OTN等设备的快速发展,传输容量、交叉容量不断提升,且设备更新换代周期不断缩减,如此,就带来了运营商或者使用方存在多业务、多代产品共存的问题。In the field of communication, an optical transport network (OTN), a packet transport network (PTN), a router, and the like are usually composed of one rack, one or more backplanes, and specific functional boards. The board and the backplane are connected through various input and output (IO) resources, and the transmission of Dense Wavelength Division Multiplexing (DWDM), PTN, OTN, etc. Capacity and cross-capacity continue to increase, and the equipment renewal cycle is shrinking. This brings about the problem of multi-service and multi-generation products coexisting between operators and users.
为了满足这样的需求,要求设备有更灵活的子架配置方式,可以配置不同类型单板,相关技术中采用的子架配置方式为:子架固定,槽位插接方式随之固定,管理单板数量也被固定下来的方式,显然这样一一对应的插接方式,使得槽位不能灵活配置和更改,也使得使用方的设备变得复杂、臃肿、不易维护,如此一来就不能适应竞争,也就不能满足当下及未来的需求。In order to meet the requirements, the device requires a more flexible subrack configuration. You can configure different types of boards. The subrack configuration method used in the related technologies is as follows: the subrack is fixed, and the slot insertion mode is fixed. The number of boards is also fixed. It is obvious that the corresponding one-to-one plug-in method makes the slots inflexible configuration and change, and the device of the user becomes complicated, bloated and difficult to maintain, so that it cannot adapt to competition. It will not meet the needs of the present and the future.
相关技术中的主要缺点是槽位管理方式过于死板僵硬,基本上是一个槽位一个管理口,无法做到一个槽位拆分为两个槽位,虽然能够做到两个槽位合成一个槽位使用,但均为加厚单槽位板占用两个槽位使用,对于半高板来说,通常就是占用了一个全高板的空间,配置较为死板,造成了端口浪费,没有充分利用,增加了不必要的成本。The main disadvantage of the related art is that the slot management mode is too rigid and rigid. It is basically a management port in one slot. It cannot be split into two slots in one slot. The bit is used, but the thick single slot board occupies two slots. For the half-height board, it usually takes up a full-board space, and the configuration is relatively rigid, resulting in port waste, not fully utilized, increasing Unnecessary costs.
针对相关技术中子架配置较为不灵活的问题,目前尚未提出有效的解决方案。In view of the inflexibility of the related technology in the subrack configuration, no effective solution has been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种通道切换方法及装置、背板和通信设备,以至少解决相关技术中子架配置不灵活的问题。The embodiment of the invention provides a channel switching method and device, a backboard and a communication device, so as to at least solve the problem that the subrack configuration is inflexible in the related art.
根据本发明实施例的一个方面,提供了一种通道切换方法,包括:获取通信设备中指定槽位的接插状态;其中,接插状态包括:单板插入槽位或单板拔出槽位,其中,指定槽位支持多种类型单板的插入;获取指定槽位上与接插状态对应的单板的类型;根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上。According to an aspect of the embodiments of the present invention, a channel switching method is provided, including: acquiring a connection state of a specified slot in a communication device, where the plugging state includes: inserting a card into a slot or removing a slot from a board The specified slot supports the insertion of multiple types of boards; the type of the board corresponding to the patched state in the specified slot is obtained; and the current channel is switched to the patched state according to the state of the patch and the type of the board. On the channel corresponding to the type.
在本发明实施例中,根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上包括:在接插状态为单板插入槽位,且类型为半高板的情况下,或者在接插状态 为单板拔出槽位,且类型为全高板的情况下,将当前通道切换到与半高板对应的通道上;在接插状态为单板拔出槽位,且类型为半高板的情况下,或者在接插状态为单板插入槽位,且类型为全高板的情况下,将当前通道切换到与全高板对应的通道上。In the embodiment of the present invention, the current channel is switched to the channel corresponding to the patching state and the type according to the state of the plugging and the type of the board, and the board is inserted into the slot in the plugging state, and the type is half height. In the case of a board, or in a patched state If the slot is removed from the board and the type is full-height, the current channel is switched to the channel corresponding to the half-height board. In the plug-in state, the board is removed from the slot and the type is half-height. In the case that the board is inserted into the slot and the type is full, the current channel is switched to the channel corresponding to the full board.
在本发明实施例中,与半高板对应的通道包括:通信管理接口与槽位上与半高板对应的接插件连接形成的通道;与全高板对应的通道包括:通信管理接口与槽位上与全高板对应的接插件连接形成的通道。In the embodiment of the present invention, the channel corresponding to the half-height board includes: a communication management interface and a channel formed by the connector corresponding to the half-height board in the slot; the channel corresponding to the full-height board includes: a communication management interface and a slot The channel formed by the connector corresponding to the full height plate is connected.
在本发明实施例中,通信管理接口包括以下至少之一:以太网网口,总线和接口标准PCIE,通用串行总线USB。In the embodiment of the present invention, the communication management interface includes at least one of the following: an Ethernet network port, a bus and interface standard PCIE, and a universal serial bus USB.
在本发明实施例中,获取指定槽位上与接插状态对应的单板的类型包括:获取在单板插入或拔出指定槽位时,单板在指定槽位上的地址信息;根据地址信息确定单板的类型。In the embodiment of the present invention, obtaining the type of the board corresponding to the patching state in the specified slot includes: obtaining the address information of the board in the specified slot when the board inserts or removes the specified slot; Information determines the type of board.
根据本发明的另一方面,提供了一种通道切换装置,包括:第一获取模块,设置为获取通信设备中指定槽位的接插状态;其中,接插状态包括:单板插入槽位或单板拔出槽位,其中,指定槽位支持多种类型单板的插入;第二获取模块,设置为获取指定槽位上与接插状态对应的单板的类型;切换模块,设置为根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上。According to another aspect of the present invention, a channel switching apparatus is provided, including: a first acquiring module, configured to acquire a plugging state of a specified slot in a communication device; wherein the plugging state includes: inserting a board into a slot or The board is removed from the slot. The specified slot supports the insertion of multiple types of boards. The second acquisition module is configured to obtain the type of the board corresponding to the patched state in the specified slot. The status of the patch and the type of the board are switched to the channel corresponding to the patching state and type.
在本发明实施例中,切换模块包括:第一切换单元,设置为在接插状态为单板插入槽位,且类型为半高板的情况下,或者在接插状态为单板拔出槽位,且类型为全高板的情况下,将当前通道切换到与半高板对应的通道上;第二切换单元,设置为在接插状态为单板拔出槽位,且类型为半高板的情况下,或者在接插状态为单板插入槽位,且类型为全高板的情况下,将当前通道切换到与全高板对应的通道上。In the embodiment of the present invention, the switching module includes: a first switching unit, configured to be in a state in which the board is inserted into the slot, and the type is a half-height board, or the board is in the plug-in state If the type is a full-height board, the current channel is switched to the channel corresponding to the half-height board; the second switching unit is set to be in the plug-in state, the board is removed from the slot, and the type is a half-height board. If the card is inserted into the slot and the type is full-height, the current channel is switched to the channel corresponding to the full-board.
在本发明实施例中,与半高板对应的通道包括:通信管理接口与槽位上与半高板对应的接插件连接形成的通道;与全高板对应的通道包括:通信管理接口与槽位上与全高板对应的接插件连接形成的通道。In the embodiment of the present invention, the channel corresponding to the half-height board includes: a communication management interface and a channel formed by the connector corresponding to the half-height board in the slot; the channel corresponding to the full-height board includes: a communication management interface and a slot The channel formed by the connector corresponding to the full height plate is connected.
在本发明实施例中,通信管理接口包括以下至少之一:以太网网口,总线和接口标准PCIE,通用串行总线USB。In the embodiment of the present invention, the communication management interface includes at least one of the following: an Ethernet network port, a bus and interface standard PCIE, and a universal serial bus USB.
在本发明实施例中,第二获取模块包括:获取单元,设置为获取在单板插入或拔出指定槽位时,单板在指定槽位上的地址信息;确定单元,设置为根据地址信息确定单板的类型。In the embodiment of the present invention, the second obtaining module includes: an obtaining unit, configured to obtain address information of the board in the specified slot when the board inserts or removes the specified slot; the determining unit is set to be based on the address information Determine the type of the board.
根据本发明实施例的另一方面,提供了一种背板,包括:槽位,开关组件,互斥感知组件;其中,槽位上设置有多个接插件;槽位支持多种类型单板的插入;互斥感知组件,设置为获取接插件提供的槽位的接插状态,以及确定与接插件对应的单板的类型;其中,接插状态包括:单板插入槽位或单板拔出槽位;开关组件,设置为接收互斥感知组件发送的接插状态和单板的类型,根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上。 According to another aspect of the present invention, a backplane is provided, including: a slot, a switch component, and a mutual exclusion component; wherein the slot is provided with a plurality of connectors; the slot supports multiple types of boards. The plug-in state is set to obtain the state of the slot provided by the connector, and the type of the board corresponding to the connector is determined. The plug-in state includes: the board is inserted into the slot or the board is pulled out. The slot component is configured to receive the patching state and the type of the board sent by the mutex sensing component, and switch the current channel to the channel corresponding to the patching state and type according to the plugging state and the type of the board. .
在本发明实施例中,开关组件还设置为,在接插状态为单板插入槽位,且类型为半高板的情况下,或者在接插状态为单板拔出槽位,且类型为全高板的情况下,将当前通道切换到与半高板对应的通道上;其中,与半高板对应的通道包括:通信管理接口与槽位上与半高板对应的接插件连接形成的通道;在接插状态为单板拔出槽位,且类型为半高板的情况下,或者在接插状态为单板插入槽位,且类型为全高板的情况下,将当前通道切换到与全高板对应的通道上;其中,与全高板对应的通道包括:通信管理接口与槽位上与全高板对应的接插件连接形成的通道。In the embodiment of the present invention, the switch component is further configured to be in a state in which the board is inserted into the slot and the type is a half-height board, or the slot is in the plug-in state, and the type is In the case of a full-height board, the current channel is switched to the channel corresponding to the half-height board; wherein the channel corresponding to the half-height board includes: a communication management interface and a channel formed by the connector corresponding to the half-height board in the slot If the board is in the slot state and the type is a half-height board, or if the board is inserted into the slot and the type is full-height, the current channel is switched to The channel corresponding to the full-height board; wherein the channel corresponding to the full-height board includes: a communication management interface and a channel formed by the connector corresponding to the full-height board in the slot.
在本发明实施例中,通信管理接口包括以下至少之一:以太网网口,总线和接口标准PCIE,通用串行总线USB。In the embodiment of the present invention, the communication management interface includes at least one of the following: an Ethernet network port, a bus and interface standard PCIE, and a universal serial bus USB.
在本发明实施例中,互斥感知组件还设置为,获取在单板插入或拔出指定槽位时,单板在指定槽位上的地址信息;以及根据地址信息确定单板的类型。In the embodiment of the present invention, the mutual exclusion sensing component is further configured to: obtain the address information of the board in the specified slot when the board inserts or removes the specified slot; and determine the type of the board according to the address information.
根据本发明实施例的另一方面,提供了一种通信设备,包括:上述的背板。According to another aspect of an embodiment of the present invention, a communication device is provided, comprising: the backplane described above.
在本发明实施例中,设备还包括通道控制组件;通道控制组件,设置为接收互斥感知组件发送的接插状态和单板的类型,产生与接插状态和单板的类型对应的通道控制信号;其中,通道控制信号用于控制开关组件将当前通道切换到与接插状态和类型对应的通道上。In the embodiment of the present invention, the device further includes a channel control component, and the channel control component is configured to receive the connection state and the type of the board sent by the mutual exclusion component, and generate channel control corresponding to the connection state and the type of the board. a signal; wherein the channel control signal is used to control the switch component to switch the current channel to a channel corresponding to the patch state and type.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的通道切换方法。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing the channel switching method in the foregoing embodiment.
通过本发明实施例,采用获取通信设备中指定槽位的接插状态以及所述接插状态对应的单板的类型;其中,接插状态包括:单板插入槽位或单板拔出槽位,其中,指定槽位支持多种类型单板的插入;根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上,即当指定槽位可以支持多种类型单板的插入的情况下,通过指定槽位的接插状态和插入该指定槽位的单板的类型完成通道的自动切换,解决了相关技术中子架配置不灵活的问题,增强了子架配置的灵活性,提高了端口的利用率。According to the embodiment of the present invention, the state in which the slot is specified in the slot of the communication device and the type of the card corresponding to the patching state are obtained, wherein the plugging state includes: inserting a card into the slot or removing the slot from the card. The specified slot supports the insertion of multiple types of boards. According to the connection status and the type of the board, the current channel is switched to the channel corresponding to the patching state and type. When the type of the board is inserted, the automatic switching of the channel is completed by specifying the slot state of the slot and the type of the board inserted in the slot. This solves the problem that the subrack configuration is inflexible in the related art. The flexibility of the rack configuration increases the utilization of the port.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的通道切换方法的流程图;1 is a flow chart of a channel switching method according to an embodiment of the present invention;
图2是根据本发明实施例的通道切换装置的结构框图一;2 is a block diagram 1 of a structure of a channel switching apparatus according to an embodiment of the present invention;
图3是根据本发明实施例的通道切换装置的结构框图二;3 is a block diagram 2 of a structure of a channel switching apparatus according to an embodiment of the present invention;
图4是根据本发明实施例的通道切换装置的结构框图三;4 is a structural block diagram 3 of a channel switching apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的背板的结构框图; FIG. 5 is a structural block diagram of a backplane according to an embodiment of the present invention; FIG.
图6是相关技术中非通道自适应子架的示意图;6 is a schematic diagram of a non-channel adaptive subrack in the related art;
图7是根据本发明优选实施例的通道自适应型子架的示意图;7 is a schematic diagram of a channel adaptive subrack according to a preferred embodiment of the present invention;
图8是相关技术中的单板启动流程图;FIG. 8 is a flowchart of a board startup in the related art;
图9是根据本发明优选实施例的通道切换方法的流程图;9 is a flow chart of a channel switching method in accordance with a preferred embodiment of the present invention;
图10是本发明实施例1子架的槽位地址10、17、30兼容全高板和半高板的示意图;10 is a schematic diagram of a slot-level address 10, 17, 30 compatible with a full-height board and a half-height board in the subrack of Embodiment 1 of the present invention;
图11是本发明实施例2子架的槽位地址10、17、30兼容全高板和半高板的示意图;11 is a schematic diagram of the slot address 10, 17, 30 compatible with the full height board and the half height board of the subrack of the embodiment 2 of the present invention;
图12是本发明实施例3子架的槽位地址9、10、17、18、30、31、60兼容单层全高板、双层全高板和半高板的示意图。FIG. 12 is a schematic diagram of the slot address 9, 10, 17, 18, 30, 31, 60 compatible with the single-layer full-high board, the double-layer full-height board, and the half-height board in the sub-rack of the embodiment 3 of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种通道切换方法,图1是根据本发明实施例的通道切换方法的流程图,如图1所示,该流程包括如下步骤:A channel switching method is provided in this embodiment. FIG. 1 is a flowchart of a channel switching method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102,获取通信设备中指定槽位的接插状态;其中,接插状态包括:单板插入槽位或单板拔出槽位,其中,指定槽位支持多种类型单板的插入;In the step S102, the plugging state of the specified slot in the communication device is obtained. The plugging state includes: inserting a card into the slot or removing the slot of the board, where the specified slot supports insertion of multiple types of boards;
步骤S104,获取指定槽位上与接插状态对应的单板的类型;In step S104, the type of the board corresponding to the patching state in the specified slot is obtained.
步骤S106,根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上。Step S106: Switch the current channel to the channel corresponding to the plugging state and type according to the plugging state and the type of the board.
通过上述步骤,采用获取通信设备中指定槽位的接插状态以及所述接插状态对应的单板的类型;其中,接插状态包括:单板插入槽位或单板拔出槽位,其中,指定槽位支持多种类型单板的插入;根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上,即当指定槽位可以支持多种类型单板的插入的情况下,通过指定槽位的接插状态和插入该指定槽位的单板的类型完成通道的自动切换,解决了相关技术中子架配置不灵活的问题,增强了子架配置的灵活性,提高了端口的利用率。The above-mentioned steps are used to obtain the connection state of the specified slot in the communication device and the type of the card corresponding to the connection state. The plug-in state includes: the board is inserted into the slot or the board is removed from the slot. The specified slot supports the insertion of multiple types of boards. The current channel is switched to the channel corresponding to the patching state and type according to the state of the patch and the type of the board. When the board is inserted, the automatic switching of the channel is completed by specifying the slot status of the slot and the type of the board inserted in the specified slot. This solves the problem that the subrack configuration is inflexible in the related technology, and the subrack configuration is enhanced. The flexibility to improve port utilization.
需要说明的是,上述指定槽位能够支持多种类型单板进行插入,即一个指定槽位(如单槽位)能够实现多种单板的插接兼容,比如,一个指定槽位可以支持半高板和全高板混插。其中,半高板是指子架上横插或者竖插的宽度为整个插接宽度一半的单板;全高板是指子架上横插或者竖插的宽度为整个插接宽度全部的单板。 It should be noted that the specified slot can support multiple types of boards to be inserted. That is, a specified slot (such as a single slot) can be compatible with multiple boards. For example, a specified slot can support half. High board and full height board are mixed. The half-height board refers to a single board that is horizontally inserted or vertically inserted on the sub-rack with a width of half the entire insertion width; the full-height board refers to a single board that is horizontally inserted or vertically inserted on the sub-rack with the entire width of the entire insertion width. .
在本发明的一个实施例中,在一个指定槽位上可以支持半高板和全高板混插时,当指定槽位上插入全高板时,半高板可以默认无效;当插入半高板时,全高板默认失效,当拔出半高板时,默认全高板有效,当拔出全高板时,默认半高板有效,即在指定槽位,半高板和全高板不能共存(即该指定槽位存在空间互斥性),利用该原理,在本发明一个可选实施例中,上述步骤S106可以包括:在接插状态为单板插入槽位,且类型为半高板的情况下,或者在接插状态为单板拔出槽位,且类型为全高板的情况下,将当前通道切换到与半高板对应的通道上;在接插状态为单板拔出槽位,且类型为半高板的情况下,或者在接插状态为单板插入槽位,且类型为全高板的情况下,将当前通道切换到与全高板对应的通道上。即通过指定槽位上的空间互斥性,实现了通道的自适应切换,提高了用户的体验度。In an embodiment of the present invention, when a half-height board and a full-height board are mixed in a specified slot, when the full-height board is inserted in the specified slot, the half-height board may be invalid by default; when the half-height board is inserted The full-height board defaults. When the half-height board is pulled out, the default full-height board is valid. When the full-height board is pulled out, the default half-height board is valid. That is, in the specified slot, the half-height board and the full-height board cannot coexist (that is, the designation In the optional embodiment of the present invention, the step S106 may include: when the plugging state is a board insertion slot, and the type is a half-height board, Or, in the case where the board is in the slot state and the type is the full-board, the current channel is switched to the channel corresponding to the half-height board; in the plug-in state, the board is removed from the slot, and the type is In the case of a half-height board, or in the case where the board is inserted into the slot and the type is a full-height board, the current channel is switched to the channel corresponding to the full-height board. That is, the spatial mutual exclusion of the slot is used to implement adaptive switching of the channel, which improves the user experience.
需要说明的是,与半高板对应的通道可以是通信管理接口与槽位上与半高板对应的接插件连接形成的通道;与全高板对应的通道可以是通信管理接口与槽位上与全高板对应的接插件连接形成的通道。该通信管理接口可以是10M/100M以太网、1000M以太网、PCIE或者USB等高速通信管理接口,但不限于此。It should be noted that the channel corresponding to the half-height board may be a channel formed by the communication management interface and the connector corresponding to the half-height board in the slot; the channel corresponding to the full-height board may be the communication management interface and the slot The corresponding connector of the full height plate is connected to the formed channel. The communication management interface may be a high-speed communication management interface such as 10M/100M Ethernet, 1000M Ethernet, PCIE or USB, but is not limited thereto.
在本发明实施例中,上述步骤S104可以包括:获取在单板插入或拔出指定槽位时,单板在指定槽位上的地址信息;根据地址信息确定单板的类型。即通过单板在指定槽位的地址来确定的插入或者拔出该指定槽位的单板的类型。In the embodiment of the present invention, the step S104 may include: obtaining address information of the board in the specified slot when the board is inserted or removed from the specified slot; and determining the type of the board according to the address information. The type of the board in which the specified slot is inserted or removed is determined by the address of the specified slot.
需要说明的是,该地址信息可以是上述单板插入该指定槽位的真实的物理位置地址,也可以是一个逻辑地址,在一个优选的实施例中,该地址信息为物理位置地址,并且,可以通过以下方式获取单板在指定槽位上的物理位置地址:通过获取插入或者拔出指定槽位的单板对应的接插件在指定槽位的物理位置地址,获取单板在指定槽位的物理位置地址。由于该指定槽位上设置有多个接插件,其中,每个接插件对应一个单板,这些接插件分布在指定槽位的不同的位置上,因而每个接插件对应一个物理位置地址,因而,通过获取插入或者拔出单板对应的接插件在指定槽位上的物理位置地址,既可以获取到单板在指定槽位上的物理位置地址。It should be noted that the address information may be a real physical location address of the board inserted into the specified slot, or may be a logical address. In a preferred embodiment, the address information is a physical location address, and You can obtain the physical location of the card in the specified slot. You can obtain the physical address of the card in the specified slot by inserting or removing the card in the specified slot. Physical location address. Since the plurality of connectors are disposed in the designated slot, each of the connectors corresponds to a single board, and the connectors are distributed at different positions in the specified slots, and thus each connector corresponds to a physical location address, thereby You can obtain the physical location address of the board in the specified slot by obtaining the physical location address of the corresponding slot in the specified slot.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
在本实施例中还提供了一种通道切换装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a channel switching device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的通道切换装置的结构框图一,如图2所示,该装置包括: 2 is a structural block diagram 1 of a channel switching apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes:
第一获取模块20,设置为获取通信设备中指定槽位的接插状态;其中,接插状态包括:单板插入槽位或单板拔出槽位,其中,指定槽位支持多种类型单板的插入;The first obtaining module 20 is configured to obtain the plugging state of the specified slot in the communications device. The plugging state includes: inserting a card into the slot or removing the slot from the board. Insertion of the board;
第二获取模块22,与上述第一获取模块20连接,设置为获取指定槽位上与接插状态对应的单板的类型;The second obtaining module 22 is connected to the first acquiring module 20, and is configured to acquire a type of a board corresponding to the plugging state in the specified slot.
切换模块24,与上述第二获取模块22连接,设置为根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上。The switching module 24 is connected to the second obtaining module 22, and is configured to switch the current channel to the channel corresponding to the plugging state and type according to the plugging state and the type of the board.
通过上述装置,采用获取通信设备中指定槽位的接插状态以及所述接插状态对应的单板的类型;其中,接插状态包括:单板插入槽位或单板拔出槽位,其中,指定槽位支持多种类型单板的插入;根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上,即上述装置在当指定槽位可以支持多种类型单板的插入的情况下,通过指定槽位的接插状态和插入该指定槽位的单板的类型完成通道的自动切换,解决了相关技术中子架配置不灵活的问题,增强了子架配置的灵活性,提高了端口的利用率。The device is configured to obtain a plugging state of a specified slot in the communications device and a type of the card corresponding to the plugging state. The plugging state includes: inserting a card into the slot or removing the slot from the board. The specified slot supports the insertion of multiple types of boards. According to the state of the patch and the type of the board, the current channel is switched to the channel corresponding to the patching state and type, that is, the above device can support multiple slots in the specified slot. In the case of inserting a type of board, the automatic switching of the channel is completed by specifying the slot state of the slot and the type of the board inserted into the slot, which solves the problem of inflexible configuration of the subrack in the related art. The flexibility of the subrack configuration improves the utilization of the port.
需要说明的是,上述第一获取模块20和第二获取模块22所完成的功能也可以通过同一个获取模块来完成,并不限于此。It should be noted that the functions performed by the first acquiring module 20 and the second acquiring module 22 may be performed by the same acquiring module, and are not limited thereto.
需要说明的是,上述指定槽位能够支持多种类型单板进行插入,即一个指定槽位(如单槽位)能够实现多种单板的插接兼容,比如,一个指定槽位可以支持半高板和全高板混插。其中,半高板是指子架上横插或者竖插的宽度为整个插接宽度一半的单板;全高板是指子架上横插或者竖插的宽度为整个插接宽度全部的单板。It should be noted that the specified slot can support multiple types of boards to be inserted. That is, a specified slot (such as a single slot) can be compatible with multiple boards. For example, a specified slot can support half. High board and full height board are mixed. The half-height board refers to a single board that is horizontally inserted or vertically inserted on the sub-rack with a width of half the entire insertion width; the full-height board refers to a single board that is horizontally inserted or vertically inserted on the sub-rack with the entire width of the entire insertion width. .
在本发明的一个实施例中,在一个指定槽位上可以支持半高板和全高板混插时,当指定槽位上插入全高板时,半高板可以默认无效;当插入半高板时,全高板默认失效,当拔出半高板时,默认全高板有效,当拔出全高板时,默认半高板有效,即在指定槽位,半高板和全高板不能共存(即该指定槽位存在空间互斥性),利用该原理,图3是根据本发明实施例的通道切换装置的结构框图二,如图3所示,在本发明一个可选实施例中,上述切换模块24包括:In an embodiment of the present invention, when a half-height board and a full-height board are mixed in a specified slot, when the full-height board is inserted in the specified slot, the half-height board may be invalid by default; when the half-height board is inserted The full-height board defaults. When the half-height board is pulled out, the default full-height board is valid. When the full-height board is pulled out, the default half-height board is valid. That is, in the specified slot, the half-height board and the full-height board cannot coexist (that is, the designation FIG. 3 is a block diagram of a structure of a channel switching apparatus according to an embodiment of the present invention. As shown in FIG. 3, in an optional embodiment of the present invention, the switching module 24 is used. include:
第一切换单元240,设置为在接插状态为单板插入槽位,且类型为半高板的情况下,或者在接插状态为单板拔出槽位,且类型为全高板的情况下,将当前通道切换到与半高板对应的通道上;The first switching unit 240 is configured to be in the case where the board is inserted into the slot and the type is a half-height board, or in the case where the plug-in state is the board pulling out the slot and the type is a full-height board. , switching the current channel to the channel corresponding to the half-height board;
第二切换单元242,设置为在接插状态为单板拔出槽位,且类型为半高板的情况下,或者在接插状态为单板插入槽位,且类型为全高板的情况下,将当前通道切换到与全高板对应的通道上。The second switching unit 242 is configured to be in a state in which the board is in the slot state and the type is a half-height board, or in the case that the board is inserted into the slot and the type is a full-height board. , the current channel is switched to the channel corresponding to the full height board.
需要说明的是,上述切换模块24可以通过第一切换单元240和第二切换单元242完成切换,其可以通过一个切换单元来完成切换的功能。It should be noted that the switching module 24 can complete the handover by using the first switching unit 240 and the second switching unit 242, and can complete the switching function by using one switching unit.
上述切换模块24利用指定槽位上的空间互斥性,实现了通道的自适应切换,提高了用户 的体验度。The switching module 24 uses the spatial mutual exclusion on the specified slot to implement adaptive switching of the channel, thereby improving the user. The degree of experience.
需要说明的是,与半高板对应的通道可以是通信管理接口与槽位上与半高板对应的接插件连接形成的通道;与全高板对应的通道可以是通信管理接口与槽位上与全高板对应的接插件连接形成的通道。该通信管理接口可以是10M/100M以太网、1000M以太网、PCIE或者USB等高速通信管理接口,但不限于此。It should be noted that the channel corresponding to the half-height board may be a channel formed by the communication management interface and the connector corresponding to the half-height board in the slot; the channel corresponding to the full-height board may be the communication management interface and the slot The corresponding connector of the full height plate is connected to the formed channel. The communication management interface may be a high-speed communication management interface such as 10M/100M Ethernet, 1000M Ethernet, PCIE or USB, but is not limited thereto.
在本发明实施例中,通信管理接口包括以下至少之一:以太网网口,总线和接口标准PCIE,通用串行总线USB。In the embodiment of the present invention, the communication management interface includes at least one of the following: an Ethernet network port, a bus and interface standard PCIE, and a universal serial bus USB.
图4是根据本发明实施例的通道切换装置的结构框图三,如图4所示,在本发明的一个实施例中,上述第二获取模块22可以包括:FIG. 4 is a block diagram 3 of a structure of a channel switching apparatus according to an embodiment of the present invention. As shown in FIG. 4, in an embodiment of the present invention, the second acquiring module 22 may include:
获取单元220,设置为获取在单板插入或拔出指定槽位时,单板在指定槽位上的地址信息;The obtaining unit 220 is configured to obtain address information of the board in the specified slot when the board is inserted or removed from the specified slot.
确定单元222,与上述获取单元220连接,设置为根据地址信息确定单板的类型。The determining unit 222 is connected to the obtaining unit 220, and is configured to determine the type of the board according to the address information.
需要说明的是,该地址信息可以是上述单板插入该指定槽位的真实的物理位置地址,也可以是一个逻辑地址,在一个优选的实施例中,该地址信息为物理位置地址,并且,上述获取单元220可以通过以下方式获取单板在指定槽位上的物理位置地址:通过获取插入或者拔出指定槽位的单板对应的接插件在指定槽位的物理位置地址,获取单板在指定槽位的物理位置地址。由于该指定槽位上设置有多个接插件,其中,每个接插件对应一个单板,这些接插件分布在指定槽位的不同的位置上,因而每个接插件对应一个物理位置地址,因而,通过获取插入或者拔出单板对应的接插件在指定槽位上的物理位置地址,既可以获取到单板在指定槽位上的物理位置地址。It should be noted that the address information may be a real physical location address of the board inserted into the specified slot, or may be a logical address. In a preferred embodiment, the address information is a physical location address, and The obtaining unit 220 can obtain the physical location address of the board in the specified slot by acquiring the physical location address of the corresponding slot in the slot in the specified slot. Specifies the physical location address of the slot. Since the plurality of connectors are disposed in the designated slot, each of the connectors corresponds to a single board, and the connectors are distributed at different positions in the specified slots, and thus each connector corresponds to a physical location address, thereby You can obtain the physical location address of the board in the specified slot by obtaining the physical location address of the corresponding slot in the specified slot.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
在本实施例中还提供了一种背板,图5是根据本发明实施例的背板的结构框图,如图5所示,包括:槽位50,开关组件52,互斥感知组件54;其中,槽位50上设置有多个接插件;槽位50支持多种类型单板的插入;In this embodiment, a backplane is also provided. FIG. 5 is a structural block diagram of a backplane according to an embodiment of the present invention. As shown in FIG. 5, the device includes: a slot 50, a switch component 52, and a mutual exclusion sensing component 54. The slot 50 is provided with a plurality of connectors; the slot 50 supports insertion of multiple types of boards;
互斥感知组件54,设置为获取接插件提供的槽位50的接插状态,以及确定与接插件对应的单板的类型;其中,接插状态包括:单板插入槽位或单板拔出槽位;The mutex sensing component 54 is configured to obtain the plugging state of the slot 50 provided by the connector, and determine the type of the card corresponding to the connector. The plugging state includes: inserting a card into the slot or pulling out the board. Slot position
开关组件52,与上述互斥感知组件54连接,设置为接收互斥感知组件54发送的接插状态和单板的类型,根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上。The switch component 52 is connected to the mutex sensing component 54 and configured to receive the patching state and the type of the board sent by the mutex sensing component 54. The current channel is switched to and plugged according to the plugging state and the type of the board. The status and type correspond to the channel.
上述背板通过在槽位50上设置多个接插件,互斥感知组件54采用获取接插件提供的槽位50的接插状态,以及确定与接插件对应的单板的类型;开关组件52根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上,即上述背板在当槽位50可以支 持多种类型单板的插入的情况下,通过槽位50的接插状态和插入该槽位50的单板的类型完成通道的自动切换,解决了相关技术中子架配置不灵活的问题,增强了子架配置的灵活性,提高了端口的利用率。The above-mentioned backplane is provided with a plurality of connectors on the slot 50, and the mutual exclusion sensing component 54 adopts the plugging state of the slot 50 provided by the connector, and determines the type of the board corresponding to the connector; the switch component 52 is The status of the plug-in and the type of the board are switched to the channel corresponding to the patching state and type, that is, the backplane can be supported in slot 50. When the insertion of multiple types of boards is performed, the automatic switching of the channels is completed by the connection state of the slots 50 and the type of the board inserted into the slots 50, thereby solving the problem that the subrack configuration is inflexible in the related art. The flexibility of the subrack configuration is enhanced and the port utilization is improved.
需要说明的是,上述开关组件52可以是电开关电路,也可以是一个开关矩阵,并不限于此。It should be noted that the switch component 52 may be an electrical switch circuit or a switch matrix, and is not limited thereto.
需要说明的是,上述槽位50能够支持多种类型单板进行插入,即一个槽位(如单槽位)能够实现多种单板的插接兼容,比如,一个槽位可以支持半高板和全高板混插。其中,半高板是指子架上横插或者竖插的宽度为整个插接宽度一半的单板;全高板是指子架上横插或者竖插的宽度为整个插接宽度全部的单板。It should be noted that the slot 50 can support multiple types of boards to be inserted, that is, one slot (such as a single slot) can be compatible with multiple boards. For example, one slot can support the half board. Mixed with the full height board. The half-height board refers to a single board that is horizontally inserted or vertically inserted on the sub-rack with a width of half the entire insertion width; the full-height board refers to a single board that is horizontally inserted or vertically inserted on the sub-rack with the entire width of the entire insertion width. .
在本发明的一个实施例中,在槽位50上可以支持半高板和全高板混插时,当槽位50上插入全高板时,半高板可以默认无效;当插入半高板时,全高板默认失效,当拔出半高板时,默认全高板有效,当拔出全高板时,默认半高板有效,即在槽位50,半高板和全高板不能共存(即该槽位50存在空间互斥性),利用该原理,在本发明一个可选实施例中,上述开关组件52还设置为,在接插状态为单板插入槽位,且类型为半高板的情况下,或者在接插状态为单板拔出槽位,且类型为全高板的情况下,将当前通道切换到与半高板对应的通道上;其中,与半高板对应的通道包括:通信管理接口与槽位上与半高板对应的接插件连接形成的通道;在接插状态为单板拔出槽位,且类型为半高板的情况下,或者在接插状态为单板插入槽位,且类型为全高板的情况下,将当前通道切换到与全高板对应的通道上;其中,与全高板对应的通道包括:通信管理接口与槽位上与全高板对应的接插件连接形成的通道。即上述开关组件通过槽位50上的空间互斥性,实现了通道的自适应切换,提高了用户的体验度。In an embodiment of the present invention, when the half-height board and the full-height board are mixed in the slot 50, when the full-height board is inserted in the slot 50, the half-height board can be invalid by default; when the half-height board is inserted, The full-height board defaults. When the half-height board is pulled out, the default full-height board is valid. When the full-height board is pulled out, the default half-height board is valid. That is, in slot 50, the half-height board and the full-height board cannot coexist (that is, the slot In the alternative embodiment of the present invention, the switch component 52 is further configured to insert the slot into the slot and the type is a half-height plate. Or, in the case that the card is in the slot state and the type is a full-height board, the current channel is switched to the channel corresponding to the half-height board; wherein the channel corresponding to the half-height board includes: communication management A channel formed by a connector connected to a slot on a slot and a slot in a slot; in the case where the slot is removed from the slot and the type is half-height, or the slot is inserted into the slot. Bit, and the type is full height board, the current channel With full-height change to the corresponding channel plate; wherein the full-height corresponding to the channel plate comprising: a communication management interface with the full-height slot and connected to the connector plate corresponding channels formed. That is, the above switch components realize the adaptive switching of the channel through the mutual exclusion of the space on the slot 50, thereby improving the user experience.
在本发明实施例中,上述通信管理接口可以包括以下至少之一:以太网网口,总线和接口标准PCIE,通用串行总线USB,但不限于此。In the embodiment of the present invention, the foregoing communication management interface may include at least one of the following: an Ethernet network port, a bus and an interface standard PCIE, and a universal serial bus USB, but is not limited thereto.
在本发明实施例中,上述互斥感知组件54还设置为,获取在单板插入或拔出槽位50时,单板在槽位50上的地址信息;以及根据地址信息确定单板的类型。In the embodiment of the present invention, the mutual exclusion sensing component 54 is further configured to: obtain address information of the board in the slot 50 when the card is inserted or removed from the slot 50; and determine the type of the board according to the address information. .
需要说明的是,该地址信息可以是上述单板插入该槽位50的真实的物理位置地址,也可以是一个逻辑地址,在一个优选的实施例中,该地址信息为物理位置地址,并且,上述互斥感知组件54可以通过以下方式获取单板在指定槽位上的物理位置地址:通过获取插入或者拔出槽位50的单板对应的接插件在槽位50的物理位置地址,获取单板在槽位50的物理位置地址。由于该槽位50上设置有多个接插件,其中,每个接插件对应一个单板,这些接插件分布在槽位50的不同的位置上,因而每个接插件对应一个物理位置地址,因而,通过获取插入或者拔出单板对应的接插件在槽位50上的物理位置地址,既可以获取到单板在槽位50上的物理位置地址。It should be noted that the address information may be a real physical location address of the card inserted into the slot 50, or may be a logical address. In a preferred embodiment, the address information is a physical location address, and The mutual sensation component 54 can obtain the physical location address of the board in the specified slot by acquiring the physical location address of the connector corresponding to the board in which the slot 50 is inserted or removed. The physical location address of the board at slot 50. Since the slot 50 is provided with a plurality of connectors, wherein each connector corresponds to a single board, the connectors are distributed at different positions of the slot 50, and thus each connector corresponds to a physical location address, thus The physical location address of the board in the slot 50 can be obtained by obtaining the physical location address of the connector in the slot 50.
在本实施例中还提供了一种通信设备,包括图5所示实施例的背板。在本发明的一个实施例中,上述设备还包括通道控制组件;其中,该通道控制组件,设置为接收互斥感知组件发送的接插状态和单板的类型,产生与接插状态和单板的类型对应的通道控制信号;其中, 通道控制信号用于控制开关组件将当前通道切换到与接插状态和类型对应的通道上。上述通道控制组件可以是一个逻辑芯片,也可以是其他的装置,并不限于此。Also provided in the present embodiment is a communication device including the backplane of the embodiment shown in FIG. In an embodiment of the present invention, the device further includes a channel control component, wherein the channel control component is configured to receive the connection state and the type of the board sent by the mutual exclusion component, and generate and connect the state and the board. Type corresponding to the channel control signal; The channel control signal is used to control the switch component to switch the current channel to the channel corresponding to the patch state and type. The channel control component may be a logic chip or other devices, and is not limited thereto.
为了更好地理解本发明,以下结合优选的实施例对本发明作进一步解释。For a better understanding of the invention, the invention is further explained below in conjunction with the preferred embodiments.
本发明提供了一种优选的通信设备,该设备由以下部件组成:1.背板印制电路板(Printed Circuit Board,简称PCB);2.背板接插件(相当于图5所示实施例的接插件);3.业务板PCB;4.业务板接插件;5.开关类器件组(相当于图5所示实施例的开关组件52);6.互斥感知组件(相当于图5所示实施例的互斥感知组件54);7.通道控制组件(相当于上述通信设备实施例的通道控制组件)。The present invention provides a preferred communication device, which is composed of the following components: 1. a printed circuit board (PCB); 2. a backplane connector (corresponding to the embodiment shown in FIG. 5) 3. Connector. 3. Business board PCB; 4. Business board connector; 5. Switch type device group (equivalent to the switch component 52 of the embodiment shown in FIG. 5); 6. Mutex detection component (equivalent to FIG. 5) The mutual exclusion sensing component 54) of the illustrated embodiment; 7. The channel control component (corresponding to the channel control component of the communication device embodiment described above).
其中部件1、2、5、6组成背板部分,部件3、4组成插槽部分。部件1是主要资源载体;依托部件1,可以实现信号的互联与控制,同时为部件2、部件5、部件6和部件7提供结构载体;部件2与部件4是一对公母头接插件,通过部件2和部件4实现业务板(相当于图1至图5所示实施例的单板)与背板的互联,同时为部件6提供信号输入;部件3是业务板的重要组成部分,是业务正常运行的基础,也是部件4的结构载体;部件6通过部件1上接插件位置分布的差异,提供了不同结构业务板的插接可能,然后,当业务板插接到相应槽位上后,会提供一个或者多个插接在位信号提供给部件7,部件7会根据输入信号生成通道控制信号,该通道控制信号作用于部件5上,部件5经过动作后完成通道的切换,最终实现通道的自适应。The components 1, 2, 5, and 6 form a back plate portion, and the components 3, 4 constitute a slot portion. Component 1 is the main resource carrier; relying on component 1, signal interconnection and control can be realized, while structural components are provided for component 2, component 5, component 6 and component 7; component 2 and component 4 are a pair of male and female connectors. The component board 2 and the component 4 realize the interconnection of the service board (corresponding to the single board of the embodiment shown in FIG. 1 to FIG. 5) and the backboard, and provide the signal input to the component 6; the component 3 is an important component of the service board, The basis of the normal operation of the service is also the structural carrier of the component 4; the component 6 provides the connection possibility of the different structural service boards by the difference in the position distribution of the connectors on the component 1, and then, after the service board is inserted into the corresponding slot, One or more plug-in in-position signals are provided to the component 7, and the component 7 generates a channel control signal according to the input signal. The channel control signal acts on the component 5, and the component 5 completes the channel switching after the action, and finally realizes Channel adaptation.
需要说明的是,上述部件3、4、不限定于某一种业务单板,包含该子架上可以插拔的任意单板;部件5、6、7是整个设备中控制环路的核心部分。It should be noted that the above components 3, 4 are not limited to a service board, and include any single board that can be plugged and unplugged on the subrack; components 5, 6, and 7 are the core parts of the control loop in the entire device. .
以下为上述通信设备实现通道自适应的原理,具体为:The following is the principle of channel adaptation implemented by the above communication device, specifically:
第一步,背板(上述实施例中的部件1)需要对单槽位实现全高板和半高板两种单板的接插件(上述实施例中的4)兼容,当插入全高板时,半高板的接插件默认失效;当插入半高板时,全高板默认失效,所以一个半高板和全高板混插的槽位支持两种互斥的接插状态:一块全高板或者两块半高板。In the first step, the backplane (the component 1 in the above embodiment) needs to be compatible with the connectors of the single-slots of the full-height and the half-height boards (the 4 in the above embodiment), when the full-height board is inserted, The connector of the half-height board is disabled by default; when the half-height board is inserted, the full-height board defaults to invalid, so the slot where one half-height board and the full-height board are mixed supports two mutually exclusive plug-in states: one full-board or two Half height plate.
第二步,背板接插件(部件2)需要提供半高板或者全高板插入检测信号给互斥感知组件(部件6)并默认全高板高速口通道有效。In the second step, the backplane connector (component 2) needs to provide a half-height or full-height board insertion detection signal to the mutex sensing component (component 6) and the default full-board high-speed port channel is valid.
第三步,通过检测半高板插入信号去控制背板的开关类器件组(部件5),以打开半高板高速口通道。而若未检测到半高板插入信号,则使用默认的全高板高速口通道。In the third step, the switching device group (component 5) of the backplane is controlled by detecting the half-high board insertion signal to open the half-high board high-speed port channel. If the half-height board insertion signal is not detected, the default full-height board high-speed port channel is used.
上述通信设备通过槽位的空间互斥性,实现了高速口的通道自适应。The above communication device realizes channel adaptation of the high speed port through the spatial mutual exclusion of the slots.
以下将本发明实施例与相关技术比较,简述本发明实施例的优点,图6是相关技术中非通道自适应子架的示意图,如图6所示,相关技术中子架的配置方式是:一个全高板占用一个槽位,或者两个半高板占用一个全高板所占用的槽位空间,即一个槽位上只能设置一个全高板或者两个半高板,即全高板和两个半高板不能共用一个槽位;因而子架的设置较为死板; 而图7是根据本发明优选实施例的通道自适应型子架的示意图,如图7所示,本发明优选实施例中,子架的配置方式可以是:两个半高板和一个全高版可以共用一个槽位,增加了子架设置的灵活性。图8是相关技术中的单板启动流程图,如图8所示,该方法包括:插入单板,单板启动,加载完毕;其并没有涉及到通道切换的问题。而图9是根据本发明优选实施例的通道切换方法的流程图,如图9所示,本发明优选实施例的方法包括:The embodiments of the present invention are compared with related technologies, and the advantages of the embodiments of the present invention are briefly described. FIG. 6 is a schematic diagram of a non-channel adaptive subrack in the related art. As shown in FIG. A full-height board occupies one slot, or two half-height boards occupy a slot space occupied by a full-height board. That is, only one full-height board or two half-height boards can be set in one slot, that is, full-height board and two slots. The semi-high plates cannot share one slot; therefore, the subracks are relatively rigid; 7 is a schematic diagram of a channel adaptive subrack according to a preferred embodiment of the present invention. As shown in FIG. 7, in a preferred embodiment of the present invention, the subrack configuration may be: two half height boards and one full height version. A slot can be shared, which increases the flexibility of the subrack setup. Figure 8 is a flowchart of a board startup process in the related art. As shown in Figure 8, the method includes: inserting a board, starting the board, and loading is completed; it does not involve the problem of channel switching. 9 is a flow chart of a channel switching method according to a preferred embodiment of the present invention. As shown in FIG. 9, the method of the preferred embodiment of the present invention includes:
步骤S901,插入单板;Step S901, inserting a single board;
步骤S902,插入检测,检测插入的单板的类型(相当于图1所示实施例的步骤S104);Step S902, insert detection, detecting the type of the inserted board (corresponding to step S104 of the embodiment shown in FIG. 1);
步骤S903,判断是否进行高速口切换,如果否,执行步骤S904,如果是,执行步骤S905;Step S903, it is determined whether to perform high-speed port switching, if not, step S904 is performed, and if yes, step S905 is performed;
步骤S904,单板启动;Step S904, the board is started;
步骤S905,开关器件组切换通道(相当于图1所示实施例的步骤S106);Step S905, the switching device group switching channel (corresponding to step S106 of the embodiment shown in FIG. 1);
步骤S906,通道就绪启动完毕。In step S906, the channel ready to start is completed.
通过图9所示的实施例,可以在有限高速口情况下,获得最大的单板配置灵活性,使得系统方案可以根据用户需求最大程度的配置和修改,且易于兼容和扩容。Through the embodiment shown in FIG. 9, the maximum board configuration flexibility can be obtained in the case of a limited high-speed interface, so that the system solution can be configured and modified to the greatest extent according to user requirements, and is easy to be compatible and expanded.
以下结合具体的实施例对本发明作进一步解释。The invention is further explained below in conjunction with specific embodiments.
实施例1Example 1
半高板和全高板同槽位混插,以太网GE网口自动切换。The half-height board and the full-height board are mixed in the same slot, and the Ethernet GE network port is automatically switched.
图10是本发明实施例1子架的槽位地址10、17、30兼容全高板和半高板的示意图。A、B和X(相当于图5所示实施例的接插件)分别表示半高板的公共信号插座和全高板的公共信号插座。下面以网口作为高速口代表进行说明,如图10所示,FIG. 10 is a schematic diagram of the slot addresses 10, 17, and 30 of the subrack of the embodiment 1 of the present invention being compatible with the full height board and the half height board. A, B and X (corresponding to the connector of the embodiment shown in Fig. 5) respectively represent the common signal socket of the half-height board and the common signal socket of the full-height board. The following uses the network port as a high-speed port representative, as shown in Figure 10.
插两个半高板的时候,槽位地址分别为10和17,如果插全高板,槽位地址为30。由于左侧的A和X无法兼容,因此需要提供2个网口——2个半高板兼容1个全高板共需要3个网口。When two half-height boards are inserted, the slot addresses are 10 and 17, respectively. If the full board is inserted, the slot address is 30. Since the A and X on the left side are not compatible, it is necessary to provide two network ports - two half-height boards are compatible with one full-height board and three network ports are required.
兼容时采用电开关切换全高板X的网口,和右侧槽位17的半高板B的网口的方法。兼容规则利用槽位地址为30的全高板和槽位地址为17的半高板不能共存的互斥原则,描述为:When compatible, use the electric switch to switch the network port of the full-height board X and the net port of the half-height board B of the right slot 17. The compatibility rule uses the mutual exclusion principle that the full-height board with a slot address of 30 and the half-height board with a slot address of 17 cannot coexist. It is described as:
1.默认状态下,开关把GE2连接到槽位30的X。1. By default, the switch connects GE2 to the X of slot 30.
2.如果槽位地址17检测到插板,则GE2被开关切换到槽位地址17的B。2. If the slot address 17 detects the card, GE2 is switched by the switch to B of the slot address 17.
3.如果槽位地址17的单板拔出,则GE2被开关切换回到槽位地址30的X。3. If the board in slot address 17 is removed, GE2 is switched back to X of slot address 30.
4.GE1直接连接槽位地址10的A。4. GE1 is directly connected to slot A of slot 10.
实施例2 Example 2
半高板和全高板同槽位混插,PCIE通道自适应切换。The half-height board and the full-height board are mixed with slots, and the PCIE channel is adaptively switched.
图11是本发明实施例2子架的槽位地址10、17、30兼容全高板和半高板的示意图。A、B和X(相当于图5所示实施例的接插件)分别表示半高板的公共信号插座和全高板的公共信号插座。下面以PCIE作为高速口代表进行说明,如图11所示:FIG. 11 is a schematic diagram of the slot address 10, 17, 30 compatible with the full height board and the half height board of the subrack of the embodiment 2 of the present invention. A, B and X (corresponding to the connector of the embodiment shown in Fig. 5) respectively represent the common signal socket of the half-height board and the common signal socket of the full-height board. The following uses PCIE as a high-speed port representative, as shown in Figure 11:
插两个半高板的时候,槽位地址分别为10和17,如果插全高板,槽位地址为30。背板为了支持PCIE多通道多模式混插自适应,就需要PCIE主控或者PCIE交换芯片提供一个4通道的接入连接到开关矩阵上,槽位地址10和槽位地址17分别提供一个X1通道PCIE连接,槽位地址30提供一个X4通道PCIE接入或者X1通道接入,此时,可以实现PCIE全高板、半高板进行PCIE的通道自适应切换。When two half-height boards are inserted, the slot addresses are 10 and 17, respectively. If the full board is inserted, the slot address is 30. To support PCIE multi-channel multi-mode hybrid insertion, the backplane requires a PCIE master or a PCIE switch to provide a 4-channel access connection to the switch matrix. Slot address 10 and slot address 17 provide an X1 channel. PCIE connection, slot address 30 provides an X4 channel PCIE access or X1 channel access. In this case, PCIE full-board and half-height boards can be used for PCIE channel adaptive switching.
兼容时采用电开关切换槽位地址30的全高板X、槽位地址10的半高板A、槽位地址17的半高板B PCIE接口。兼容规则利用槽位地址30的全高板和槽位地址10、槽位地址17的半高板不能共存的互斥原则,描述为:When compatible, the electrical switch is used to switch the full-height board X of the slot address 30, the half-height board A of the slot address 10, and the half-height board B PCIE interface of the slot address 17. The compatibility rule uses the mutual exclusion principle that the full-height board of the slot address 30 and the slot-level address 10 and the half-height board of the slot address 17 cannot coexist, which are described as:
默认状态下,开关矩阵将X的全通道连接至PCIE主控M,X1通道和X4通道在物理连接上无区别。By default, the switch matrix connects the full channel of X to the PCIE master M. The X1 channel and the X4 channel have no difference in physical connection.
如果A或者B任意之一被检测到插板,则PCIE主控M被开关矩阵切换到A和B。If either of A or B is detected by the card, the PCIE master M is switched to A and B by the switch matrix.
如果槽位地址10和槽位地址17均被检测拔出,或者X被检测到插板,则PCIE主控M被开关矩阵切换回到X。If both the slot address 10 and the slot address 17 are detected and pulled out, or X is detected by the card, the PCIE master M is switched back to X by the switch matrix.
实施例3Example 3
半高板、全高板和双层全高板同槽位混插,PCIE通道自适应切换。The half-height board, the full-height board, and the double-layer full-height board are mixed with slots, and the PCIE channel is adaptively switched.
图12是本发明实施例3子架的槽位地址9、10、17、18、30、31、60兼容单层全高板、双层全高板和半高板的示意图。A、B、C、D、S、L和X分别表示半高板的公共信号插座、单层全高板的公共信号插座和双层全高板的公共信号插座。下面以PCIE作为高速口代表进行说明,如图12所示:FIG. 12 is a schematic diagram of the slot address 9, 10, 17, 18, 30, 31, 60 compatible with the single-layer full-high board, the double-layer full-height board, and the half-height board in the sub-rack of the embodiment 3 of the present invention. A, B, C, D, S, L, and X represent the common signal socket of the half-height board, the common signal socket of the single-layer full-height board, and the common signal socket of the double-layer full-height board, respectively. The following uses PCIE as a high-speed port representative, as shown in Figure 12:
插四个半高板的时候,槽位地址分别为9、10、17和18,如果插两个单层全高板,槽位地址为30、31,如果插双层全高板,槽位地址为60。背板为了支持PCIE多通道多模式混插自适应,就需要PCIE主控或者PCIE交换芯片提供一个4通道的接入连接到开关矩阵上,槽位地址为9、槽位地址为10、槽位地址为17和槽位地址为18分别提供一个X1通道PCIE连接,槽位地址为30或者槽位地址为31提供一个X1通道PCIE接入,槽位地址为60提供一个X4通道或者X1通道接入此时,可以实现PCIE双层全高板、半高板进行PCIE的通道自适应切换。When four half-height boards are inserted, the slot addresses are 9, 10, 17, and 18. If two single-layer full-boards are inserted, the slot address is 30 or 31. If a double-layer full-board is inserted, the slot address is 60. To support PCIE multi-channel multi-mode hybrid insertion, the backplane requires a PCIE master or a PCIE switch to provide a 4-channel access connection to the switch matrix. The slot address is 9, the slot address is 10, and the slot is located. An X1 channel PCIE connection is provided for the address 17 and the slot address is 18, and the slot address is 30 or the slot address is 31 to provide an X1 channel PCIE access. The slot address is 60 to provide an X4 channel or X1 channel access. At this time, PCIE double-layer full-height board and half-height board can implement PCIE channel adaptive switching.
兼容时采用电开关切换全高板X的PCIE接口,和槽位地址为17的半高板B的接口的方法。兼容规则利用槽位地址为30的全高板和槽位地址为17的半高板不能共存的互斥原则,描述为: When compatible, the method of switching the PCIE interface of the full-height board X and the interface of the half-height board B with the slot address of 17 is adopted. The compatibility rule uses the mutual exclusion principle that the full-height board with a slot address of 30 and the half-height board with a slot address of 17 cannot coexist. It is described as:
默认状态下,开关矩阵将双层全高板X的全通道连接至PCIE主控M,X1通道和X4通道在物理连接上无区别。。By default, the switch matrix connects the full channel of the double-layer full-high board X to the PCIE master M, and the X1 channel and the X4 channel are indistinguishable in physical connection. .
如果A、B、C、D任意之一被检测到插板,通过自动匹配,PCIE主控M被开关矩阵切换到相应的半高板槽位。If any one of A, B, C, and D is detected by the plug-in board, the PCIE master M is switched to the corresponding half-height board slot by the automatic matching.
如果S或者L任意之一被检测到插拔,通过自动匹配,PCIE主控M被开关矩阵切换到相应的单层全高板槽位。If any one of S or L is detected to be plugged and unplugged, the PCIE master M is switched to the corresponding single-layer full-board slot by the automatic matching.
如果A、B、C、D、S、L均被检测拔出,或者检测到X插板,则PCIE主控M被开关矩阵切换回到X。If A, B, C, D, S, and L are all detected and pulled out, or the X board is detected, the PCIE master M is switched back to X by the switch matrix.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,获取通信设备中指定槽位的接插状态;其中,接插状态包括:单板插入槽位或单板拔出槽位,其中,指定槽位支持多种类型单板的插入;S1, the plugging state of the specified slot in the communication device is obtained. The plugging state includes: inserting a card into the slot or removing the slot of the board, where the specified slot supports insertion of multiple types of boards;
S2,获取指定槽位上与接插状态对应的单板的类型;S2: The type of the board corresponding to the patching state in the specified slot is obtained.
S3,根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上。S3: According to the state of the plug-in and the type of the board, the current channel is switched to the channel corresponding to the plug-in state and type.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
在本发明实施例中,采用获取通信设备中指定槽位的接插状态以及所述接插状态对应的单板的类型;其中,接插状态包括:单板插入槽位或单板拔出槽位,其中,指定槽位支持多 种类型单板的插入;根据接插状态和单板的类型,将当前通道切换到与接插状态和类型对应的通道上,即当指定槽位可以支持多种类型单板的插入的情况下,通过指定槽位的接插状态和插入该指定槽位的单板的类型完成通道的自动切换,解决了相关技术中子架配置不灵活的问题,增强了子架配置的灵活性,提高了端口的利用率。 In the embodiment of the present invention, the plugging state of the specified slot in the communication device and the type of the board corresponding to the plugging state are adopted; wherein the plugging state includes: inserting a card into the slot or pulling out the slot of the board Bit, where the specified slot supports more Inserting a type of board; if the specified slot can support the insertion of multiple types of boards, the current channel is switched to the channel corresponding to the type and type of the board, depending on the type of the board and the type of the board. The automatic switching of the channel is completed by the type of the slot in the specified slot and the type of the board inserted in the specified slot. This solves the problem of inflexible configuration of the subrack in the related technology, enhances the flexibility of the subrack configuration, and improves the flexibility. Port utilization.

Claims (16)

  1. 一种通道切换方法,包括:A channel switching method includes:
    获取通信设备中指定槽位的接插状态;其中,所述接插状态包括:单板插入所述槽位或所述单板拔出所述槽位,其中,所述指定槽位支持多种类型单板的插入;Obtaining a patching state of the specified slot in the communications device, wherein the plugging state includes: inserting a card into the slot or the board unplugging the slot, where the specified slot supports multiple Insertion of a type of board;
    获取所述指定槽位上与所述接插状态对应的单板的类型;Obtaining a type of a board corresponding to the plugged state in the specified slot;
    根据所述接插状态和所述单板的类型,将当前通道切换到与所述接插状态和所述类型对应的通道上。And switching the current channel to the channel corresponding to the plugging state and the type according to the plugging state and the type of the board.
  2. 根据权利要求1所述的方法,其中,根据所述接插状态和所述单板的类型,将当前通道切换到与所述接插状态和所述类型对应的通道上包括:The method according to claim 1, wherein, according to the plugging state and the type of the board, switching the current channel to the channel corresponding to the plugging state and the type comprises:
    在所述接插状态为单板插入所述槽位,且所述类型为半高板的情况下,或者在所述接插状态为单板拔出所述槽位,且所述类型为全高板的情况下,将所述当前通道切换到与所述半高板对应的通道上;In the case where the plugging state is that the board is inserted into the slot, and the type is a half-height board, or in the plug-in state, the board is pulled out of the slot, and the type is full height. In the case of a board, switching the current channel to a channel corresponding to the half-height board;
    在所述接插状态为单板拔出所述槽位,且所述类型为半高板的情况下,或者在所述接插状态为单板插入所述槽位,且所述类型为全高板的情况下,将所述当前通道切换到与所述全高板对应的通道上。In the case where the plugging state is that the board is pulled out of the slot, and the type is a half-height board, or in the plug-in state, the board is inserted into the slot, and the type is full height. In the case of a board, the current channel is switched to a channel corresponding to the full height board.
  3. 根据权利要求2所述的方法,其中,The method of claim 2, wherein
    与所述半高板对应的通道包括:通信管理接口与所述槽位上与所述半高板对应的接插件连接形成的通道;The channel corresponding to the half-height board includes: a communication management interface and a channel formed by the connector corresponding to the half-height board in the slot;
    与所述全高板对应的通道包括:所述通信管理接口与所述槽位上与所述全高板对应的接插件连接形成的通道。The channel corresponding to the full-height board includes: a channel formed by the communication management interface and a connector connected to the full-height board in the slot.
  4. 根据权利要求3所述的方法,其中,所述通信管理接口包括以下至少之一:以太网网口,总线和接口标准PCIE,通用串行总线USB。The method of claim 3, wherein the communication management interface comprises at least one of: an Ethernet network port, a bus and interface standard PCIE, a universal serial bus USB.
  5. 根据权利要求1所述的方法,其中,获取所述指定槽位上与所述接插状态对应的单板的类型包括:The method of claim 1, wherein the obtaining the type of the board corresponding to the plugging state in the specified slot comprises:
    获取在所述单板插入或拔出所述指定槽位时,所述单板在所述指定槽位上的地址信息;Obtaining address information of the board in the specified slot when the board is inserted or removed from the specified slot;
    根据所述地址信息确定所述单板的类型。Determining the type of the board according to the address information.
  6. 一种背板,包括:槽位,开关组件,互斥感知组件;其中,所述槽位上设置有多个接插件,所述槽位支持多种类型单板的插入;A backplane includes: a slot, a switch component, and a mutual sensation component; wherein the slot is provided with a plurality of connectors, and the slot supports insertion of multiple types of boards;
    所述互斥感知组件,设置为获取所述接插件提供的槽位的接插状态,以及确定与所述接插件对应的单板的类型;其中,所述接插状态包括:所述单板插入所述槽位或所述单板拔出所述槽位; The mutex sensing component is configured to obtain a plugging state of a slot provided by the connector, and determine a type of a board corresponding to the connector, where the plugging state includes: the board Inserting into the slot or the board is pulled out of the slot;
    所述开关组件,设置为接收所述互斥感知组件发送的所述接插状态和所述单板的类型,根据所述接插状态和所述单板的类型,将当前通道切换到与所述接插状态和所述类型对应的通道上。The switch component is configured to receive the connection state and the type of the board sent by the mutual-awareness component, and switch the current channel to the location according to the connection state and the type of the board. The plugging state is on the channel corresponding to the type.
  7. 根据权利要求6所述的背板,其中,所述开关组件还设置为,The backboard according to claim 6, wherein the switch assembly is further configured to
    在所述接插状态为单板插入所述槽位,且所述类型为半高板的情况下,或者在所述接插状态为单板拔出所述槽位,且所述类型为全高板的情况下,将所述当前通道切换到与所述半高板对应的通道上;其中,与所述半高板对应的通道包括:通信管理接口与所述槽位上与所述半高板对应的接插件连接形成的通道;In the case where the plugging state is that the board is inserted into the slot, and the type is a half-height board, or in the plug-in state, the board is pulled out of the slot, and the type is full height. In the case of the board, the current channel is switched to the channel corresponding to the half-height board; wherein the channel corresponding to the half-height board includes: a communication management interface and the slot height and the half-height a channel formed by the corresponding connector of the board;
    在所述接插状态为单板拔出所述槽位,且所述类型为半高板的情况下,或者在所述接插状态为单板插入所述槽位,且所述类型为全高板的情况下,将所述当前通道切换到与所述全高板对应的通道上;其中,与所述全高板对应的通道包括:所述通信管理接口与所述槽位上与所述全高板对应的接插件连接形成的通道。In the case where the plugging state is that the board is pulled out of the slot, and the type is a half-height board, or in the plug-in state, the board is inserted into the slot, and the type is full height. In the case of a board, the current channel is switched to a channel corresponding to the full-height board; wherein the channel corresponding to the full-height board includes: the communication management interface and the slot and the full-height board The corresponding connector is connected to form a channel.
  8. 根据权利要求7所述的背板,其中,所述通信管理接口包括以下至少之一:以太网网口,总线和接口标准PCIE,通用串行总线USB。The backplane of claim 7, wherein the communication management interface comprises at least one of the following: an Ethernet network port, a bus and interface standard PCIE, a universal serial bus USB.
  9. 根据权利要求6所述的背板,其中,所述互斥感知组件还用于,获取在所述单板插入或拔出所述槽位时,所述单板在所述槽位上的地址信息;以及根据所述地址信息确定所述单板的类型。The backplane of claim 6, wherein the mutual exclusion component is further configured to obtain an address of the board in the slot when the card is inserted or removed from the slot. Information; and determining the type of the board based on the address information.
  10. 一种通信设备,包括:权利要求6至9中任一项所述的背板。A communication device comprising: the back sheet of any one of claims 6 to 9.
  11. 根据权利要求10所述的设备,其中,所述设备还包括通道控制组件;The device of claim 10, wherein the device further comprises a channel control component;
    所述通道控制组件,设置为接收所述互斥感知组件发送的所述接插状态和所述单板的类型,产生与所述接插状态和所述单板的类型对应的通道控制信号;其中,所述通道控制信号用于控制所述开关组件将当前通道切换到与所述接插状态和所述类型对应的通道上。The channel control component is configured to receive the plugging state and the type of the board sent by the mutex sensing component, and generate a channel control signal corresponding to the plugging state and the type of the board; The channel control signal is used to control the switch component to switch the current channel to the channel corresponding to the plugged state and the type.
  12. 一种通道切换装置,包括:A channel switching device includes:
    第一获取模块,设置为获取通信设备中指定槽位的接插状态;其中,所述接插状态包括:单板插入所述槽位或所述单板拔出所述槽位,其中,所述指定槽位支持多种类型单板的插入;a first obtaining module, configured to obtain a plugging state of a specified slot in the communications device, where the plugging state includes: inserting a card into the slot or the board extracting the slot, where The specified slot supports the insertion of multiple types of boards.
    第二获取模块,设置为获取所述指定槽位上与所述接插状态对应的单板的类型;a second acquiring module, configured to acquire a type of a board corresponding to the plugging state in the specified slot;
    切换模块,设置为根据所述接插状态和所述单板的类型,将当前通道切换到与所述接插状态和所述类型对应的通道上。The switching module is configured to switch the current channel to the channel corresponding to the plugging state and the type according to the plugging state and the type of the board.
  13. 根据权利要求12所述的装置,其中,所述切换模块包括:The apparatus of claim 12, wherein the switching module comprises:
    第一切换单元,设置为在所述接插状态为单板插入所述槽位,且所述类型为半高板 的情况下,或者在所述接插状态为单板拔出所述槽位,且所述类型为全高板的情况下,将所述当前通道切换到与所述半高板对应的通道上;a first switching unit, configured to insert a board into the slot in the plugging state, and the type is a half-height board Or, in the case that the plugging state is that the board is pulled out of the slot, and the type is a full-height board, the current channel is switched to a channel corresponding to the half-height board;
    第二切换单元,设置为在所述接插状态为单板拔出所述槽位,且所述类型为半高板的情况下,或者在所述接插状态为单板插入所述槽位,且所述类型为全高板的情况下,将所述当前通道切换到与所述全高板对应的通道上。a second switching unit, configured to insert the slot in the plug-in state, and the type is a half-height board, or insert the board into the slot in the plug-in state And if the type is a full-height board, the current channel is switched to a channel corresponding to the full-height board.
  14. 根据权利要求13所述的装置,其中,The device according to claim 13, wherein
    与所述半高板对应的通道包括:通信管理接口与所述槽位上与所述半高板对应的接插件连接形成的通道;The channel corresponding to the half-height board includes: a communication management interface and a channel formed by the connector corresponding to the half-height board in the slot;
    与所述全高板对应的通道包括:所述通信管理接口与所述槽位上与所述全高板对应的接插件连接形成的通道。The channel corresponding to the full-height board includes: a channel formed by the communication management interface and a connector connected to the full-height board in the slot.
  15. 根据权利要求14所述的装置,其中,所述通信管理接口包括以下至少之一:The apparatus of claim 14, wherein the communication management interface comprises at least one of the following:
    以太网网口,总线和接口标准PCIE,通用串行总线USB。Ethernet network port, bus and interface standard PCIE, universal serial bus USB.
  16. 根据权利要求12所述的装置,其中,第二获取模块包括:The apparatus of claim 12, wherein the second obtaining module comprises:
    获取单元,设置为获取在所述单板插入或拔出所述指定槽位时,所述单板在所述指定槽位上的地址信息;An obtaining unit, configured to obtain address information of the board in the specified slot when the board is inserted or removed from the specified slot;
    确定单元,设置为根据所述地址信息确定所述单板的类型。 a determining unit, configured to determine a type of the board according to the address information.
PCT/CN2016/102187 2015-10-15 2016-10-14 Channel switching method and apparatus, backplane, and communications device WO2017063590A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510672130.4A CN105763358A (en) 2015-10-15 2015-10-15 Channel switching method and apparatus, backboard, and communication device
CN201510672130.4 2015-10-15

Publications (1)

Publication Number Publication Date
WO2017063590A1 true WO2017063590A1 (en) 2017-04-20

Family

ID=56341787

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102187 WO2017063590A1 (en) 2015-10-15 2016-10-14 Channel switching method and apparatus, backplane, and communications device

Country Status (2)

Country Link
CN (1) CN105763358A (en)
WO (1) WO2017063590A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763358A (en) * 2015-10-15 2016-07-13 中兴通讯股份有限公司 Channel switching method and apparatus, backboard, and communication device
KR101860647B1 (en) * 2016-12-01 2018-05-23 한국전력공사 Data concentration unit and method for operating the same
CN107463523A (en) * 2017-08-17 2017-12-12 迈普通信技术股份有限公司 Communication equipment and extension neck multiplexing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145660A (en) * 2007-09-14 2008-03-19 福建星网锐捷网络有限公司 Slot
CN201064042Y (en) * 2007-06-29 2008-05-21 华为技术有限公司 Middle slideway and electric cabinet
CN101437322A (en) * 2008-12-19 2009-05-20 福建星网锐捷网络有限公司 Method and apparatus for multiplexing connector
US20090149221A1 (en) * 2004-09-08 2009-06-11 Utstarcom Telecom Co., Ltd. Centralized base station system based on advanced telecommunication computer architecture platform
CN105763358A (en) * 2015-10-15 2016-07-13 中兴通讯股份有限公司 Channel switching method and apparatus, backboard, and communication device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090149221A1 (en) * 2004-09-08 2009-06-11 Utstarcom Telecom Co., Ltd. Centralized base station system based on advanced telecommunication computer architecture platform
CN201064042Y (en) * 2007-06-29 2008-05-21 华为技术有限公司 Middle slideway and electric cabinet
CN101145660A (en) * 2007-09-14 2008-03-19 福建星网锐捷网络有限公司 Slot
CN101437322A (en) * 2008-12-19 2009-05-20 福建星网锐捷网络有限公司 Method and apparatus for multiplexing connector
CN105763358A (en) * 2015-10-15 2016-07-13 中兴通讯股份有限公司 Channel switching method and apparatus, backboard, and communication device

Also Published As

Publication number Publication date
CN105763358A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
WO2016037503A1 (en) Configuration method and device of pcie topology
EP2663038A1 (en) Switch chip port management method, main control board, switch board, and system
WO2017063590A1 (en) Channel switching method and apparatus, backplane, and communications device
CN102204185B (en) Multi-core router
US10235314B2 (en) Fabric for modular solid-state storage systems
JP2004038955A (en) Computer system and communication method
CN103501242A (en) Resource management method and multiple-node cluster device
CN104349304A (en) Information processing method and electronic equipment
CN102724093A (en) Advanced telecommunications computing architecture (ATCA) machine frame and intelligent platform management bus (IPMB) connection method thereof
WO2019052069A1 (en) Master/standby contention method and device, and application equipment
US20200084304A1 (en) Auto-negotiation over extended backplane
CN107506323B (en) Hot plug processing method and device
CN104158709B (en) A kind of optical module knows method for distinguishing and ports-Extending equipment
CN101924682B (en) ATCA (Advanced Telecommunications Computing Architecture) exchange system, method and communication device
CN109361693B (en) Virtual device communication method and device
CN109561032B (en) Switch module reaches switch including it
CN113220614B (en) Method, system and medium for self-adaptive management of I2C and I3C devices
WO2013013540A1 (en) Atca machine frame system, construction method and rear board
CN210324188U (en) Integrated circuit bus IIC master-slave competition automatic switching equipment and system thereof
WO2016101846A1 (en) Single board slot address configuration method and apparatus and optical network site device
US9338918B2 (en) Socket interposer and computer system using the socket interposer
CN103490913A (en) Pre-boot execution environment testing device, method and system
CN205051829U (en) Intelligence PON terminal with EPONGPON switches ability
CN210270889U (en) Intelligent analysis expansion equipment and server
CN113688084A (en) Circuit, method and storage medium for realizing automatic allocation of PCIE (peripheral component interface express) resources

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: 16854966

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: 16854966

Country of ref document: EP

Kind code of ref document: A1