WO2021066001A1 - Information processing device, and communication switching method - Google Patents

Information processing device, and communication switching method Download PDF

Info

Publication number
WO2021066001A1
WO2021066001A1 PCT/JP2020/037125 JP2020037125W WO2021066001A1 WO 2021066001 A1 WO2021066001 A1 WO 2021066001A1 JP 2020037125 W JP2020037125 W JP 2020037125W WO 2021066001 A1 WO2021066001 A1 WO 2021066001A1
Authority
WO
WIPO (PCT)
Prior art keywords
physical layer
layer device
switching
bus
cpu
Prior art date
Application number
PCT/JP2020/037125
Other languages
French (fr)
Japanese (ja)
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 三菱電機株式会社
Priority to JP2021551368A priority Critical patent/JP7052929B2/en
Publication of WO2021066001A1 publication Critical patent/WO2021066001A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/323Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the physical layer [OSI layer 1]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system

Definitions

  • This disclosure relates to an information processing device that switches between a data bus, a control bus, and an interrupt bus, and a communication switching method.
  • the CPU board is composed of a carrier board that provides an external interface and one or two CPU boards mounted on the carrier board.
  • the CPU board is used for the following purposes (1) and (2), for example.
  • Device control Two communication paths are required in order to mount one CPU board and communicate with the host device and each part in the device.
  • Signal processing Two CPU boards are mounted to perform signal processing in parallel, and each CPU requires one communication path to transmit and receive processing data to and from a host device.
  • the CPU board is equipped with MAC (Media Access Control), which is two LAN (Local Area Network) controllers, as a communication function.
  • the LAN controller provides a communication function by connecting to a LAN connector via a physical layer device, which is a circuit on which a physical layer (PHY) function is mounted, formed on a carrier board. ..
  • PHY physical layer
  • Patent Document 1 discloses a technique relating to switching between a CPU and a communication path.
  • Patent Document 1 provides a mechanism for switching between two CPUs and external communication, there is a problem that the mechanism for switching the following three buses is not mentioned. That is, for the connection between the MAC and the PHY, there are three types of buses: a data bus for transmitting and receiving communication data, a control bus for controlling the PHY from the MAC, and an interrupt bus for notifying the CPU of an interrupt from the PHY. It is necessary, and you need to switch between them at the same time to change the connection.
  • This disclosure is made in order to solve the above-mentioned problems, and obtains an information processing device and a communication switching method that can easily perform data bus switching, control bus switching, and interrupt bus switching at the same timing.
  • the purpose is.
  • the connection destination with the second physical layer device by the data bus is switched to either the second LAN controller or the third LAN controller, and the second physical layer is used.
  • the control bus is switched so that either the first LAN controller or the third LAN controller accesses the second physical layer device according to the connection destination by the data bus (second data bus) of the layer device, and the second physical layer device is switched.
  • the interrupt bus is switched according to the connection destination by the data bus (second data bus) of the above, and the interrupt processing to the first CPU is sent from both the first physical layer device and the second physical layer device, or the first It is characterized in that it notifies the first CPU whether or not it is sent only from the physical layer device.
  • data bus switching, control bus switching, and interrupts are performed by performing control bus switching and interrupt bus switching according to the connection destination of the second physical layer device by the second data bus. It is possible to obtain an information processing device and a communication switching method that facilitate bus switching at the same timing.
  • FIG. It is a functional block diagram of the information processing apparatus (CPU board part) which concerns on Embodiment 1.
  • FIG. It is a functional block diagram of the information processing apparatus (CPU board part) which concerns on Embodiment 1.
  • FIG. It is a connection table of the information processing apparatus (CPU board part) which concerns on Embodiment 1.
  • FIG. It is a functional block diagram of the control bus switching part of the information processing apparatus (CPU board part) which concerns on Embodiment 1.
  • FIG. It is a functional block diagram of the interrupt bus switching part of the information processing apparatus (CPU board part) which concerns on Embodiment 1.
  • FIG. 1 It is a functional block diagram of the interrupt bus switching part of the information processing apparatus (CPU board part) which concerns on Embodiment 1.
  • FIG. It is a flowchart which shows the processing step of the communication switching method which concerns on Embodiment 1. It is a functional block diagram of the information processing apparatus which concerns on Embodiment 1.
  • FIG. 1 It is a functional block diagram of the interrupt bus switching part of the information processing apparatus (CPU board part) which concerns on Embodiment 1.
  • the information processing device means a CPU board 100 or a device 110 in which a plurality of CPU boards 100 are incorporated for device control and signal processing. That is, when referring only to the CPU board 100, the information processing device 100 is used, and when referring to a device in which a plurality of CPU boards 100 (for example, CPU board 101 and CPU board 102) are incorporated for device control and signal processing, the information processing device 100 is used. It becomes the information processing device 110.
  • the first CPU board 1 is formed with a first CPU 10, a first LAN controller 11 (first MAC 11), and a second LAN controller 12 (second MAC 12).
  • the second CPU board 2 is formed with a second CPU 20 and a third LAN controller 21 (third MAC 21). As shown in the figure, the second CPU board 2 may have a fourth LAN controller 22 (fourth MAC 22) formed therein.
  • the carrier substrate 3 is a first physical layer device 30 (first PHY 30) for communicating with the outside, preferably a first LAN connector 31, and a second physical layer for communicating with the outside.
  • a device 32 (second PHY 32) and preferably a second LAN connector 33 are formed.
  • the switching unit 4 switches the connection between the first CPU board 1 and the second CPU board 2 and the first physical layer device 30 and the second physical layer device 32.
  • the switching unit 4 includes a data bus switching unit 40, a control bus switching unit 41, and an interrupt bus switching unit 42.
  • the switching portion 4 may be formed on the carrier substrate 3 as shown in the figure.
  • the first data bus 5 connects the first physical layer device 30 and the first LAN controller 11.
  • the second data bus 6 connects the second physical layer device 30 to either the second LAN controller 12 or the third LAN controller 21.
  • the control bus 7 and the interrupt bus 8 will be described later.
  • FIG. 1 is a functional block diagram of the information processing device (CPU board 100) according to the first embodiment.
  • FIG. 2 is a functional block diagram of the information processing device (CPU board 100) according to the first embodiment, and shows an example of a suitable internal configuration of the switching unit 4.
  • the CPU board 100 is composed of two CPU boards, a first CPU board 1, a second CPU board 2, and a carrier board 3. That is, the CPU board 100 is composed of a combination of two types of boards, a CPU board (first CPU board 1 and second CPU board 2) and a carrier board 3.
  • the first CPU board 1 is equipped with a CPU (first CPU 10) and LAN controllers (first MAC 11 and second MAC 12) that control LAN communication.
  • the second CPU board 2 is equipped with a CPU (second CPU 20) and a LAN controller (third MAC21, fourth MAC22) that controls LAN communication.
  • the carrier board 3 is equipped with a physical layer device (first PHY30, second PHY32) and a LAN connector (first LAN connector 31, second LAN connector 33) that perform LAN communication with the outside.
  • the first embodiment includes a case where one CPU board 100 is a combination of one carrier board 3 and one or more CPU boards (in the case of only the first CPU board 1 described above). In this case, that is, the case where the second CPU board 2 is not mounted will be described later.
  • the CPU board 100 shown in FIGS. 1 and 2 is a combination of one carrier board 3 and two CPU boards (first CPU board 1 and second CPU board 2) will be described as a typical example. ..
  • Two MACs are mounted on the CPU board, and since the two CPU boards are mounted on the CPU board 100 in FIGS. 1 and 2, the LAN controller (MAC) is the first MAC11, the second MAC12, the third MAC21, and the fourth MAC22. There are a total of four.
  • the carrier board 3 is equipped with two systems of a physical layer device and a LAN connector (a system of the first PHY 30 and the first LAN connector 31 and a system of the second PHY 32 and the second LAN connector 33). Therefore, by connecting the LAN controller (MAC) of the CPU board and the physical layer device of the carrier board 3, the CPU board 100 can perform LAN communication of a maximum of 2 ports.
  • a physical layer device and a LAN connector a system of the first PHY 30 and the first LAN connector 31 and a system of the second PHY 32 and the second LAN connector 33. Therefore, by connecting the LAN controller (MAC) of the CPU board and the physical layer device of the carrier board 3, the CPU board 100 can perform LAN communication of a maximum of 2 ports.
  • the switching unit 4 has a plurality of physical layer devices (PHY) for performing LAN communication with the outside and the outside via the physical layer device (PHY). It is a circuit for connecting to a LAN controller (MAC) that performs LAN communication.
  • the LAN controller-physical layer device controls the data bus (first data bus 5, second data bus 6) and physical layer device (first PHY30, second PHY32) that input and output communication data.
  • the data buses (first data bus 5 and second data bus 6) are shown by thick solid lines
  • the control bus 7 is shown by a thin solid line as compared with the thick solid line
  • the interrupt bus 8 is shown by a thick solid line. It is shown by a relatively thin broken line.
  • the switching unit 4 includes a total of three LAN controllers (MAC) of the first MAC 11 and the second MAC 12 of the first CPU board 1, the third MAC 21 of the second CPU board 2, and the first PHY 30 of the carrier board 3. Alternatively, it has a function of switching the connection between the second PHY 32. Specifically, the switching unit 4 switches between the second data bus 6, the control bus 7, and the interrupt bus 8 by using the same selection signal as a trigger.
  • the data bus switching unit 40, the control bus switching unit 41, and the interrupt bus switching unit 42, which are a part of the switching unit 4, will be described below with reference to the drawings.
  • the switching unit 4 is mounted on, for example, the carrier substrate 3.
  • the data bus switching unit 40 switches the connection destination of the second data bus 6 with the second physical layer device 32 to either the second LAN controller 12 or the third LAN controller 21.
  • the control bus switching unit 41 either one of the first LAN controller 11 and the third LAN controller 21 accesses the second physical layer device 32 according to the connection destination of the second physical layer device 32 by the second data bus 6.
  • the control bus 7 is switched to.
  • the interrupt bus switching unit 42 switches the interrupt bus 8 according to the connection destination of the second physical layer device 32 by the second data bus 6, and interrupt processing to the first CPU 10 is performed on the first physical layer device 30 and the second. It notifies the first CPU 10 whether it is sent from both the physical layer devices 32 or only from the first physical layer device 30.
  • connection destination of the second physical layer device 32 by the second data bus 6 is, for example, an example of correspondence between the connection between the LAN controller and the physical layer device (between MAC and PHY) and the selection signal shown in FIG. 3, which will be described later. It means to refer to the connection table shown.
  • the switching unit 4 includes a data bus switching unit 40 for switching the connection of the second data bus 6 between the CPU side data port 34 and the physical layer side data bus 35, and the CPU side control port 36.
  • a control bus switching unit 41 for switching the control bus 7 between the physical layer side control bus 37, and an interrupt bus switching unit 42 for switching the interrupt bus 8 between the CPU side interrupt port 38 and the physical layer side interrupt bus 39.
  • a part of the configuration of the port and the bus is also shown in FIG.
  • the information processing device (CPU board 100) may further include a switching control unit 9 that generates a selection signal. That is, the information processing device according to the first embodiment provides the switching control unit 9 for selecting the connection destination and the selection signal to the data bus switching unit 40, the control bus switching unit 41, and the interrupt bus switching unit 42.
  • the CPU board 100) may be included.
  • the switching control unit 9 outputs a selection signal according to an instruction from the first CPU 10, and switches the connection between the LAN controller and the physical layer device (between MAC and PHY) in each switching unit (data bus switching unit 40, control bus switching unit). 41. Notify (instruct) the interrupt bus switching unit 42).
  • the selection signal may be one that the switching control unit 9 sends to the switching unit 4 as a first signal or a second signal. In the present application, the first signal is set to "0" and the second signal is set to "1".
  • the switching control unit 9 generates a selection signal of "0" or "1" (first signal or second signal) according to an instruction (instruction signal) from the first CPU 10.
  • the flow of the instruction signal is shown by a thin dotted line (from the first CPU 10 to the switching control unit 9) as compared with the thick solid line of the data bus. That is, it can be said that this thin dotted line has a finer pitch than the thin broken line showing the interrupt bus 8 in FIG.
  • a thin dotted line from the switching control unit 9 to the data bus switching unit 40 indicates a selection signal sent from the switching control unit 9 to the data bus switching unit 40, and the switching control unit 9 to the control bus switching unit 41.
  • the thin dotted line toward the interrupt bus switching unit 42 indicates the selection signal sent from the switching control unit 9 to the control bus switching unit 41, and the thin dotted line toward the interrupt bus switching unit 42 from the switching control unit 9 indicates the interrupt bus switching unit 42 from the switching control unit 9. Indicates the selection signal sent to.
  • FIG. 3 is a connection table showing an example of correspondence between the connection between the LAN controller and the physical layer device (between MAC and PHY) and the selection signal.
  • the rows indicate the LAN controller (MAC) and the columns indicate the selection signal.
  • the switching control unit 9 may be formed on the carrier substrate 3 as shown in the figure. Of course, at least one of the switching unit 4 and the switching control unit 9 may be formed on the carrier substrate 3.
  • the switching control unit 9 sets the selection signal "0" (first). Signal) is output.
  • one LAN communication port is used for each of the first CPU board 1 and the second CPU board 2, that is, when the first MAC 11 and the first PHY 30 of the first CPU board 1 and the third MAC 21 and the second PHY 32 of the second CPU board 2 are connected, switching is performed.
  • the control unit 9 outputs the selection signal “1” (second signal).
  • a communication path through which CPUs (first CPU 10 and second CPU 20) can communicate with each other is provided on the carrier board 3, and the communication path is used.
  • the first CPU 10 confirms whether or not the second CPU board 2 is mounted by using a method such as the first CPU 10 accessing the second CPU 20.
  • the first CPU 10 confirms whether or not the second CPU board 2 is mounted, and if it is not mounted, 0 is selected as the selection signal so that the first CPU board 1 can use all the LAN communication ports, and the second CPU. If the board 2 is mounted, "1" is selected as the selection signal so that both the first CPU board 1 and the second CPU board 2 can use one LAN communication port.
  • This combination may be another combination depending on the purpose. That is, when it can be confirmed that the second CPU board 2 is mounted, the selection signal "0" or the selection signal "1" may be generated as necessary.
  • the information processing device (CPU board 100) includes a first CPU board 1, a carrier board 3, a first CPU board 1, and an external board (which can be selected to be mounted or not mounted).
  • a switching unit 4 for switching the connection between the first PHY 30 and the second PHY 32 is provided, and the first PHY 30 is connected to the first MAC 11 by the first data bus 5, and when the second CPU board 2 is connected as an external board, It can be said that the operation of the switching unit 4 (data bus switching unit 40, control bus switching unit 41, interrupt bus switching unit 42) described so far is performed.
  • the switching control unit 9 may be provided.
  • the data bus switching unit 40, the control bus switching unit 41, and the interrupt bus switching unit 42 which are three systems of buses, will be described.
  • the data bus switching unit 40, the control bus switching unit 41, and the interrupt bus switching unit 42 receive the selection signals from the switching control unit 9, respectively, in accordance with FIG. 3, the second data bus 6, the control bus 7, and the control bus 7. It switches the connection of the interrupt bus 8.
  • FIG. 4 shows the configuration of the data bus switching unit 40.
  • the first data bus 5 may be formed outside in the data bus switching unit 40.
  • the data bus switching unit 40 receives the selection signal “0” (first signal)
  • the data bus switch 400 is switched by the second data bus 6 to the second physical layer device 32 and the second LAN.
  • the controller 12 is connected and the selection signal "1" (second signal) is received
  • the data bus switch 400 is connected by the second data bus 6 to the second physical layer device 32 and the third LAN controller 21. It is something to do.
  • the data bus switch 400 will not operate if it is arranged on the desired side when the selection signal is received, but this is also included in the switching for convenience.
  • the signal quality may be improved by the buffer 401.
  • the communication speed of LAN communication exceeds 1 Gbps
  • high-speed serial transmission using a differential signal is generally used for the data bus (first data bus 5, second data bus 6) because the data communication is high speed. ..
  • the CPU board first CPU board 1, second CPU board 2
  • the carrier board 3 are connected via the connector, and the bus is switched by the switch, so that the signal quality may deteriorate. Therefore, as shown in FIG.
  • the buffer 401 in the data bus switching unit 40, the buffer 401 is inserted into the data bus (first data bus 5, second data bus 6), and the signal deteriorated by the connector between MAC and PHY and the changeover switch. The signal quality can be ensured by improving.
  • the buffer 401 formed in the first data bus 5 in the data bus switching unit 40 may be formed outside together with the first data bus 5.
  • FIG. 5 shows the configuration of the control bus switching unit 41.
  • the control bus switching unit 41 receives the selection signal “0” (first signal)
  • the control bus switch 403 and the control bus switch 404 are set to the first LAN among the three bus switches.
  • the controller 11 switches to access the second physical layer device 32 and receives the selection signal "1" (second signal)
  • the control bus switch 403 and the control bus switch 404 are switched among the three bus switches.
  • the third LAN controller 21 switches to access the second physical layer device 32. In either case, since the control bus switch 402 is always selected, "1" is input to the enable signal without connecting the selection signal.
  • the control bus 7 is a bus for controlling the operation of the PHY by performing register operations of the PHY (first PHY 30, second PHY 32) from the first CPU 10 or the second CPU 20 via the first MAC 11 or the third MAC 21.
  • the second PHY 32 is accessed from either the first CPU board 1 or the second CPU board 2 according to the switching.
  • the control bus switches 402, 403, and 404 which are the above-mentioned bus switches, are used, and the control bus switch 403 and the control bus switch 404 are exclusively selected for switching.
  • control bus switches 402, 403, and 404 are equipped with a voltage conversion function and are compatible with open drain. Therefore, the I / O voltage may be different between the CPU board (first CPU board 1, second CPU board 2) and the carrier board 3. Further, since it is an open drain, the control bus signal after switching can be Wired-OR and connected to the second PHY 32.
  • the Wired-OR is a logical OR in which a plurality of output signals are connected.
  • FIGS. 6 and 7. The configuration of the interrupt bus switching unit 42 is shown in FIGS. 6 and 7. The configuration of FIG. 7 will be described later.
  • the interrupt bus switching unit 42 receives the selection signal “0” (first signal)
  • the interrupt bus switch 405 is controlled so that the interrupt processing to the first CPU 10 is performed by the first physical layer.
  • the first CPU 10 is notified that it is from both the layer device 30 and the second physical layer device 32, and when the selection signal "1" (second signal) is received, the interrupt bus switch 405 is controlled to the first CPU 10. Notifies the first CPU 10 that the interrupt processing of is only the first physical layer device 30.
  • the fact that the interrupt processing to the first CPU 10 is only the first physical layer device 30 means that there is no interrupt processing from the second physical layer device 32 to the first CPU 10, and the interrupt processing from other than the second physical layer device 32 to the first CPU 10 is performed. It does not mean that interrupt processing is limited to that from the first physical layer device 30.
  • interrupt processing to the second CPU 20 is performed only by the second physical layer device 32, but when the interrupt bus switching unit 42 receives the selection signal "0" (first signal), the second data bus is connected. Since it has not been processed, it notifies that there is no interrupt processing. On the other hand, when the interrupt bus switching unit 42 receives the selection signal "1" (second signal), it notifies that there is interrupt processing because the second data bus is connected. Of course, if there is no interrupt processing, it is possible not to notify.
  • the interrupt bus switch 405 illustrates the configurations of FIGS. 6 and 7, FIG. 7 is a different configuration example of the interrupt bus switching unit 42, and the interrupt bus switching unit 42 is configured as shown in FIG. May be good.
  • FIG. 6 the one in which the logical sum of the interrupt buses from the plurality of PHYs (first PHY30, second PHY32) is taken is switched, but in FIG. 7, the logical sum of the switched signals is taken and the CPU (first CPU, second CPU) is switched. Output to.
  • the interrupt bus 8 changes the connection state of the cable connected to the LAN connector (first LAN connector 31, second LAN connector 33) from the PHY (first PHY 30, second PHY 32) to the CPU (first CPU 10, second CPU 20). Is used to notify and request the execution of interrupt processing accordingly. For example, when the CPUs (first CPU10, second CPU20) are notified that the cable is connected, the CPUs (first CPU10, second CPU20) set themselves so that communication can be started. When the selection signal is set to "0" in FIG. 3, since both interrupts of the first PHY30 and the second PHY32 are notified to the first CPU10, the interrupt signal is not a switch but an interrupt bus from the first PHY30 and an interrupt bus from the second PHY32. Use logical sum.
  • interrupt processing includes not only irregular ones but also those executed in a predetermined cycle. That is, the interrupt processing of the present application may be read as polling processing.
  • the polling process may simply be called polling. Therefore, the interrupt bus 8, the CPU side interrupt port 38, the physical layer side interrupt bus 39, and the interrupt bus switch 45 are the polling bus 8, the CPU side polling port 38, the physical layer side polling bus 39, and the polling bus switch 45, respectively. Can be read as.
  • the communication switching method according to the first embodiment is an operation (processing step) of the switching unit 4 of the information processing apparatus according to the first embodiment, or the switching unit 4 and the switching control unit 9 (which may include the first CPU 10). It is a method related to. Therefore, the communication switching method according to the first embodiment is described by the switching unit 4 of the information processing apparatus according to the first embodiment, or the switching unit 4 and the switching control unit 9 (which may include the first CPU 10). May be omitted in the second embodiment. Further, the contents described in the information processing apparatus according to the first embodiment can be applied to the communication switching method according to the first embodiment.
  • the processing step shown in the flowchart of FIG. 8 is a data bus switching step (STEP 11), a control bus switching step (STEP 12), and an interrupt bus switching step (STEP 13), which are basic processing steps of the communication switching method according to the first embodiment. ) Is shown.
  • the communication switching method according to the first embodiment is characterized in that the data bus switching step, the control bus switching step, and the interrupt bus switching step are performed by the same trigger.
  • the processing step of this trigger is shown in FIG. 8 as STEP1.
  • the trigger referred to here is information on whether to connect the second data bus 6 to the second physical layer device 32 to either the second LAN controller 12 or the third LAN controller 21 (second LAN controller 12 and third LAN). (Switching information of the controller 21). The acquisition or determination of this switching information is a trigger.
  • the communication switching method according to the first embodiment may include the mounting confirmation step (STEP0) and the switching control step (STEP1).
  • the mounting confirmation step and the switching control step will be described after the description of the basic processing steps shown in FIG.
  • the switching control step (STEP1) has the same STEP1 processing step name because it is an example of the trigger processing step shown in FIG.
  • the data bus switching step is a processing step in which the data bus switching unit 40 switches the connection destination (FIG. 3) with the second PHY 32 by the second data bus 6 to either the second MAC 12 or the third MAC 21.
  • the control bus switching unit 41 accesses the second PHY 32 by either the first MAC 11 or the third MAC 21 according to the connection destination (FIG. 3) by the second data bus 6 of the second PHY 32.
  • This is a processing step for switching 7.
  • the interrupt bus switching unit 42 switches the interrupt bus 8 according to the connection destination (FIG.
  • the switching control step will be described as an example for executing the data bus switching step, the control bus switching step, and the interrupt bus switching step with the same trigger. Since the switching control step corresponds to the processing step in the previous stage of STEP11, STEP12, and STEP13, it can be said to be STEP1. That is, the switching control step is a first signal and a second signal that are triggers for determining the connection destination in the data bus switching step at a timing prior to the execution of the data bus switching step, the control bus switching step, and the interrupt bus switching step. (Selection signal) is generated by the switching control unit 9.
  • the switching control unit 9 generates a second signal, which is an instruction to perform.
  • the first CPU 10 further includes a mounting confirmation step (STEP0) for confirming whether or not the second CPU board 2 is mounted at a timing prior to the execution of the switching control step (STEP1). You may be. Since the mounting confirmation step is a processing step prior to the switching control step and is a processing step before switching, it can be said to be STEP 0. In order to confirm whether or not the second CPU board 2 is mounted in the mounting confirmation step, in the switching control step, if it is confirmed in the mounting confirmation step that the second CPU board 2 is not mounted, the first signal (selection signal "0"" is used. ) Only needs to be generated. On the other hand, when it is confirmed in the mounting confirmation step that the second CPU board 2 is mounted, the switching control step performs the first signal (selection signal "0") or the second signal (selection signal "1") as necessary. ”) May be generated.
  • FIG. 9 is an example of a CPU board 110 (CPU board 101, CPU board 102) which is a signal processing device to which the information processing device (communication switching method) according to the first embodiment is applied.
  • the CPU board 101 is the CPU board 100 itself.
  • the CPU board 102 corresponds to a CPU board 101 (CPU board 100) on which the second CPU board 2 is not mounted (non-mounted).
  • the switching hub 103 connects the CPU board 101 and the CPU board 102 so that they can communicate with each other, and relays communication.
  • the switching hub 103 is connected to the first LAN connector 31 of the CPU board 101, the second LAN connector 33 of the CPU board 101, and the second LAN connector 33 of the CPU board 102, respectively.
  • the first LAN connector 31 of the CPU board 102 is connected to the host device.
  • FIG. 9 shows an example of the information processing device 110, which includes a device control CPU board 102 on which one CPU board (first CPU board 1) is mounted, and a CPU board (first CPU board 1, first CPU board 1, first). It is composed of two types of information processing devices 110 of a signal processing CPU board 101 on which two 2 CPU boards 2) are mounted.
  • the device control CPU board 102 one CPU (first CPU 10) performs two LAN communications, one is communication with the host device and the other is communication with the signal processing CPU board 101.
  • the signal processing CPU board 101 performs signal processing by two CPUs (first CPU 10, second CPU 20), and the processing result is transmitted from each CPU board (first CPU board 1, second CPU board 2) via LAN communication via a switching hub 103. , Transmit to the device control CPU board 102.
  • the circuit constituting the switching unit 4 is an FPGA (Field-Programmable Gate Array) used to realize other functions on the board except for the buffer 401 used for the data bus (first data bus 5 and second data bus 6). ), Etc., can be implemented with a small number of additional components.
  • the buffer 401 used for the data bus (first data bus 5, second data bus 6) may also be a general IC (Integrated Circuit) compatible with high-speed serial transmission.
  • the carrier having a switching unit that simultaneously switches the three buses required for communication between the MAC (LAN controller) and the PHY (physical layer device).
  • the optimum LAN communication port configuration according to the CPU board is realized. This eliminates the need to prepare two types of carrier boards having different connections between the MAC (LAN controller) and the PHY (physical layer device) depending on the purpose, so that the cost of the device can be reduced.
  • the information processing device and the communication switching method according to the first embodiment relate to switching the connection between the MAC and the PHY according to the purpose, and simultaneously switch the three types of buses between the MAC and the PHY. Is also easy.
  • 1 1st CPU board 10 1st CPU, 11 1st LAN controller (1st MAC), 12 2nd LAN controller (2nd MAC), 2 2nd CPU board, 20 2nd CPU, 21 3rd LAN controller (3rd MAC), 22 4th LAN controller (4th MAC), 3 carrier board, 30 1st physical layer device (1st PHY), 31 1st LAN connector, 32 2nd physical layer device (2nd PHY), 33 2nd LAN connector, 34 CPU side data port, 35 physical layer side data bus, 36 CPU side control port, 37 Physical layer side control bus, 38 CPU side interrupt port, 39 Physical layer side interrupt bus, 4 Switching part, 40 data bus switching unit, 41 control bus switching unit, 42 interrupt bus switching unit, 400 data bus switch, 401 buffer, 402 Control bus switch (bus switch), 403 Control bus switch (bus switch), 404 Control bus switch (bus switch), 405 Interrupt bus switch, 5 1st data bus, 6 2nd data bus, 7 control bus, 8 interrupt bus, 9 Switching control unit, 100 CPU board, 101 CPU board,

Abstract

This information processing device is characterized in that: a connection destination with a second physical layer (PHY) (32) by means of a second data bus (6) is switched between a second MAC (12) and a third MAC (21); a control bus (7) is switched in accordance with the connection destination of the second PHY (32) by means of the second data bus (6), such that either a first MAC (11) or the third MAC (21) accesses the second PHY (32); an interrupt bus (8) is switched in accordance with the connection destination of the second PHY (32) by means of the second data bus (6); and a first CPU (10) is notified as to whether an interrupt process to the first CPU (10) is to be sent from both a first PHY (30) and the second PHY (32), or from only the first PHY (30).

Description

情報処理装置及び通信切替方法Information processing device and communication switching method
 この開示は、データバス、制御バス、割り込みバスの切り替えを行う情報処理装置及び通信切替方法に関するものである。 This disclosure relates to an information processing device that switches between a data bus, a control bus, and an interrupt bus, and a communication switching method.
 従来、複数のCPU(Central Processing Unit)及び複数の通信ポートから構成される情報処理装置における、CPUと通信ポートの組合せの切り替えを行う技術がある(例えば、特許文献1参照)。CPUボードは外部インタフェースを提供するキャリア基板と、そこに搭載される一枚又は二枚のCPU基板から構成される。CPUボードは例えば以下の(1)(2)のような目的に使用される。 Conventionally, there is a technique for switching a combination of a CPU and a communication port in an information processing device composed of a plurality of CPUs (Central Processing Units) and a plurality of communication ports (see, for example, Patent Document 1). The CPU board is composed of a carrier board that provides an external interface and one or two CPU boards mounted on the carrier board. The CPU board is used for the following purposes (1) and (2), for example.
(1)装置制御:CPU基板を1枚搭載し、上位装置および装置内の各部位と通信を行うため、通信路を二系統必要とする。
(2)信号処理:並列に信号処理を行うためCPU基板を二枚搭載し、上位装置と処理データの送受信を行うため、各CPUが通信路を一系統ずつ必要とする。
(1) Device control: Two communication paths are required in order to mount one CPU board and communicate with the host device and each part in the device.
(2) Signal processing: Two CPU boards are mounted to perform signal processing in parallel, and each CPU requires one communication path to transmit and receive processing data to and from a host device.
 CPU基板には通信機能として2つのLAN(Local Area Network)コントローラである、MAC(Media Access Control)が搭載されている。LANコントローラは、キャリア基板上に形成された、物理層(PHY:Physical Layer)の機能が実装された回路である物理層デバイスを介して、LANコネクタと接続することで通信機能を提供している。以下、物理層デバイスを単にPHYと称する場合がある。 The CPU board is equipped with MAC (Media Access Control), which is two LAN (Local Area Network) controllers, as a communication function. The LAN controller provides a communication function by connecting to a LAN connector via a physical layer device, which is a circuit on which a physical layer (PHY) function is mounted, formed on a carrier board. .. Hereinafter, the physical layer device may be simply referred to as PHY.
 CPU基板を二枚搭載し全てのMACを使用するには、キャリア基板上にPHY及びLANコネクタを四系統搭載する必要があるが、前述の装置制御、信号処理の目的においてはCPUボードとして必要な通信路は二系統であり、三系統以上搭載することは機器の大型化やコストアップにつながる。 In order to mount two CPU boards and use all MACs, it is necessary to mount four PHY and LAN connectors on the carrier board, but it is necessary as a CPU board for the above-mentioned device control and signal processing purposes. There are two communication paths, and installing three or more systems will lead to larger equipment and higher costs.
 そのため、これら部品は二系統とすることが望ましい。この場合、CPU基板のMACとキャリア基板のPHY間の接続が装置制御と信号処理で異なることから、
(a)目的に応じMACとPHY間の接続を切り替える。
(b)目的に応じMACとPHY間の接続が異なる二種類のキャリア基板を用意する。
のいずれかが必要となる。(b)に対し(a)はキャリア基板が1種類で済むことから経済的である。前述の特許文献1には、CPUと通信路の切り替えに関する技術が開示されている。
Therefore, it is desirable to have two systems for these parts. In this case, since the connection between the MAC of the CPU board and the PHY of the carrier board differs between device control and signal processing,
(A) Switch the connection between MAC and PHY according to the purpose.
(B) Prepare two types of carrier boards with different connections between MAC and PHY depending on the purpose.
Either is required. In contrast to (b), (a) is economical because only one type of carrier substrate is required. The above-mentioned Patent Document 1 discloses a technique relating to switching between a CPU and a communication path.
特開2012-14380公報Japanese Unexamined Patent Publication No. 2012-14380
 特許文献1に記載の従来技術は、二つのCPUと外部通信を切り替える仕組みを提供するものの、次の三つのバスを切り替える仕組みには言及されていないという課題がある。すなわち、MACとPHY間の接続には、通信データを送受信するデータバスと、MACからPHYを制御するための制御バス、PHYからの割り込みをCPUに通知するための割り込みバスの3種類のバスが必要であり、接続の変更にはこれらを同時に切り替える必要がある。 Although the prior art described in Patent Document 1 provides a mechanism for switching between two CPUs and external communication, there is a problem that the mechanism for switching the following three buses is not mentioned. That is, for the connection between the MAC and the PHY, there are three types of buses: a data bus for transmitting and receiving communication data, a control bus for controlling the PHY from the MAC, and an interrupt bus for notifying the CPU of an interrupt from the PHY. It is necessary, and you need to switch between them at the same time to change the connection.
 この開示は、上記のような課題を解消するためになされたもので、同じタイミングで、データバス切り替え、制御バス切り替え、割り込みバス切り替えを実施することが容易な情報処理装置及び通信切替方法を得ることを目的とする。 This disclosure is made in order to solve the above-mentioned problems, and obtains an information processing device and a communication switching method that can easily perform data bus switching, control bus switching, and interrupt bus switching at the same timing. The purpose is.
 この開示に係る情報処理装置及び通信切替方法は、データバス(第2データバス)による第2物理層デバイスとの接続先を、第2LANコントローラ及び第3LANコントローラのいずれか一方に切り替え、第2物理層デバイスのデータバス(第2データバス)による接続先に応じて、第1LANコントローラ及び第3LANコントローラのいずれか一方が第2物理層デバイスへアクセスするように制御バスを切り替え、第2物理層デバイスのデータバス(第2データバス)による接続先に応じて、割り込みバスを切り替えて、第1CPUへの割り込み処理が、第1物理層デバイス及び第2物理層デバイスの両方から送られるか、第1物理層デバイスからのみ送られるかを第1CPUへ通知することを特徴とするものである。 In the information processing device and the communication switching method according to this disclosure, the connection destination with the second physical layer device by the data bus (second data bus) is switched to either the second LAN controller or the third LAN controller, and the second physical layer is used. The control bus is switched so that either the first LAN controller or the third LAN controller accesses the second physical layer device according to the connection destination by the data bus (second data bus) of the layer device, and the second physical layer device is switched. The interrupt bus is switched according to the connection destination by the data bus (second data bus) of the above, and the interrupt processing to the first CPU is sent from both the first physical layer device and the second physical layer device, or the first It is characterized in that it notifies the first CPU whether or not it is sent only from the physical layer device.
 以上のように、この開示によれば、第2物理層デバイスの第2データバスによる接続先
に応じて、制御バス切り替え、割り込みバス切り替えを実施することで、データバス切り
替え、制御バス切り替え、割り込みバス切り替えを同じタイミングで実施することが容易
な情報処理装置及び通信切替方法を得ることができる。
As described above, according to this disclosure, data bus switching, control bus switching, and interrupts are performed by performing control bus switching and interrupt bus switching according to the connection destination of the second physical layer device by the second data bus. It is possible to obtain an information processing device and a communication switching method that facilitate bus switching at the same timing.
実施の形態1に係る情報処理装置(CPUボード部分)の機能ブロック図である。It is a functional block diagram of the information processing apparatus (CPU board part) which concerns on Embodiment 1. FIG. 実施の形態1に係る情報処理装置(CPUボード部分)の機能ブロック図である。It is a functional block diagram of the information processing apparatus (CPU board part) which concerns on Embodiment 1. FIG. 実施の形態1に係る情報処理装置(CPUボード部分)の接続テーブルである。It is a connection table of the information processing apparatus (CPU board part) which concerns on Embodiment 1. 実施の形態1に係る情報処理装置(CPUボード部分)のデータバス切替部の機能ブロック図である。It is a functional block diagram of the data bus switching part of the information processing apparatus (CPU board part) which concerns on Embodiment 1. FIG. 実施の形態1に係る情報処理装置(CPUボード部分)の制御バス切替部の機能ブロック図である。It is a functional block diagram of the control bus switching part of the information processing apparatus (CPU board part) which concerns on Embodiment 1. FIG. 実施の形態1に係る情報処理装置(CPUボード部分)の割り込みバス切替部の機能ブロック図である。It is a functional block diagram of the interrupt bus switching part of the information processing apparatus (CPU board part) which concerns on Embodiment 1. FIG. 実施の形態1に係る情報処理装置(CPUボード部分)の割り込みバス切替部の機能ブロック図である。It is a functional block diagram of the interrupt bus switching part of the information processing apparatus (CPU board part) which concerns on Embodiment 1. FIG. 実施の形態1に係る通信切替方法の処理ステップを示すフローチャートである。It is a flowchart which shows the processing step of the communication switching method which concerns on Embodiment 1. 実施の形態1に係る情報処理装置の機能ブロック図である。It is a functional block diagram of the information processing apparatus which concerns on Embodiment 1. FIG.
実施の形態1.
 以下、実施の形態1について図1から図9を用いて説明する。実施の形態1に係る情報処理装置については図1から図7、図9を用いて説明する。実施の形態1に係る通信切替方法は、図8及び図9を用いて説明する。実施の形態1に係る情報処理装置は、CPUボード100、又は、装置制御用及び信号処理用としてCPUボード100が複数組み込まれた装置110を意味する。つまり、CPUボード100のみを指す場合は、情報処理装置100となり、装置制御用及び信号処理用としてCPUボード100(例えば、CPUボード101、CPUボード102)が複数組み込まれたものを指す場合は、情報処理装置110となる。
Embodiment 1.
Hereinafter, the first embodiment will be described with reference to FIGS. 1 to 9. The information processing apparatus according to the first embodiment will be described with reference to FIGS. 1 to 7 and 9. The communication switching method according to the first embodiment will be described with reference to FIGS. 8 and 9. The information processing device according to the first embodiment means a CPU board 100 or a device 110 in which a plurality of CPU boards 100 are incorporated for device control and signal processing. That is, when referring only to the CPU board 100, the information processing device 100 is used, and when referring to a device in which a plurality of CPU boards 100 (for example, CPU board 101 and CPU board 102) are incorporated for device control and signal processing, the information processing device 100 is used. It becomes the information processing device 110.
 図1から図9において、第1CPU基板1は、第1CPU10、第1LANコントローラ11(第1MAC11)、第2LANコントローラ12(第2MAC12)が形成されている。第2CPU基板2は、第2CPU20、第3LANコントローラ21(第3MAC21)が形成されている。第2CPU基板2は、図示するように、第4LANコントローラ22(第4MAC22)が形成されていてもよい。 In FIGS. 1 to 9, the first CPU board 1 is formed with a first CPU 10, a first LAN controller 11 (first MAC 11), and a second LAN controller 12 (second MAC 12). The second CPU board 2 is formed with a second CPU 20 and a third LAN controller 21 (third MAC 21). As shown in the figure, the second CPU board 2 may have a fourth LAN controller 22 (fourth MAC 22) formed therein.
 図1から図9において、キャリア基板3は、外部と通信をするための第1物理層デバイス30(第1PHY30)、及び、好ましくは第1LANコネクタ31、外部と通信をするための第2物理層デバイス32(第2PHY32)、及び、好ましくは第2LANコネクタ33が形成されている。切替部4は、第1CPU基板1及び第2CPU基板2と第1物理層デバイス30及び第2物理層デバイス32との接続を切り替えるものである。切替部4は、データバス切替部40、制御バス切替部41、割り込みバス切替部42を有している。切替部4は、図示するようにキャリア基板3に形成してもよい。第1データバス5は、第1物理層デバイス30と第1LANコントローラ11とを接続するものである。第2データバス6は、第2物理層デバイス30と、第2LANコントローラ12及び第3LANコントローラ21のいずれか一方とを接続するものである。制御バス7、割り込みバス8については後述する。 In FIGS. 1 to 9, the carrier substrate 3 is a first physical layer device 30 (first PHY 30) for communicating with the outside, preferably a first LAN connector 31, and a second physical layer for communicating with the outside. A device 32 (second PHY 32) and preferably a second LAN connector 33 are formed. The switching unit 4 switches the connection between the first CPU board 1 and the second CPU board 2 and the first physical layer device 30 and the second physical layer device 32. The switching unit 4 includes a data bus switching unit 40, a control bus switching unit 41, and an interrupt bus switching unit 42. The switching portion 4 may be formed on the carrier substrate 3 as shown in the figure. The first data bus 5 connects the first physical layer device 30 and the first LAN controller 11. The second data bus 6 connects the second physical layer device 30 to either the second LAN controller 12 or the third LAN controller 21. The control bus 7 and the interrupt bus 8 will be described later.
 図1は、実施の形態1に係る情報処理装置(CPUボード100)の機能ブロック図である。図2は、同じく、実施の形態1に係る情報処理装置(CPUボード100)の機能ブロック図であり、切替部4の好適な内部構成の例を示している。CPUボード100は、二枚のCPU基板である第1CPU基板1及び第2CPU基板2、キャリア基板3から構成されている。つまり、CPUボード100は、CPU基板(第1CPU基板1及び第2CPU基板2)とキャリア基板3との二種類の基板の組み合わせで構成されている。 FIG. 1 is a functional block diagram of the information processing device (CPU board 100) according to the first embodiment. FIG. 2 is a functional block diagram of the information processing device (CPU board 100) according to the first embodiment, and shows an example of a suitable internal configuration of the switching unit 4. The CPU board 100 is composed of two CPU boards, a first CPU board 1, a second CPU board 2, and a carrier board 3. That is, the CPU board 100 is composed of a combination of two types of boards, a CPU board (first CPU board 1 and second CPU board 2) and a carrier board 3.
 実施の形態1に係る情報処理装置(CPUボード100)において、第1CPU基板1は、CPU(第1CPU10)及びLAN通信の制御を行うLANコントローラ(第1MAC11、第2MAC12)を搭載している。第2CPU基板2は、CPU(第2CPU20)及びLAN通信の制御を行うLANコントローラ(第3MAC21、第4MAC22)を搭載している。キャリア基板3は、外部とのLAN通信を行う物理層デバイス(第1PHY30、第2PHY32)およびLANコネクタ(第1LANコネクタ31、第2LANコネクタ33)を搭載している。 In the information processing device (CPU board 100) according to the first embodiment, the first CPU board 1 is equipped with a CPU (first CPU 10) and LAN controllers (first MAC 11 and second MAC 12) that control LAN communication. The second CPU board 2 is equipped with a CPU (second CPU 20) and a LAN controller (third MAC21, fourth MAC22) that controls LAN communication. The carrier board 3 is equipped with a physical layer device (first PHY30, second PHY32) and a LAN connector (first LAN connector 31, second LAN connector 33) that perform LAN communication with the outside.
 実施の形態1では、一つのキャリア基板3と一つ以上のCPU基板(前述の第1CPU基板1のみ場合)とを組み合わせたものが一つのCPUボード100となる場合も含んでいる。この場合、つまり、第2CPU基板2の実装されていない場合については後述する。まずは、図1及び図2に示すCPUボード100が、一つのキャリア基板3と二つのCPU基板(第1CPU基板1、第2CPU基板2)を組み合わせたものである場合を代表的な例として説明する。CPU基板には2つのMACを搭載しており、図1及び図2ではCPUボード100に2つのCPU基板を搭載することからLANコントローラ(MAC)は、第1MAC11、第2MAC12、第3MAC21、第4MAC22の計4つとなる。キャリア基板3は、物理層デバイスおよびLANコネクタを二系統(第1PHY30及び第1LANコネクタ31の系統、第2PHY32及び第2LANコネクタ33の系統)搭載している。よって、CPU基板の持つLANコントローラ(MAC)とキャリア基板3の物理層デバイスを接続することで、CPUボード100は最大2ポートのLAN通信を行うことができる。 The first embodiment includes a case where one CPU board 100 is a combination of one carrier board 3 and one or more CPU boards (in the case of only the first CPU board 1 described above). In this case, that is, the case where the second CPU board 2 is not mounted will be described later. First, a case where the CPU board 100 shown in FIGS. 1 and 2 is a combination of one carrier board 3 and two CPU boards (first CPU board 1 and second CPU board 2) will be described as a typical example. .. Two MACs are mounted on the CPU board, and since the two CPU boards are mounted on the CPU board 100 in FIGS. 1 and 2, the LAN controller (MAC) is the first MAC11, the second MAC12, the third MAC21, and the fourth MAC22. There are a total of four. The carrier board 3 is equipped with two systems of a physical layer device and a LAN connector (a system of the first PHY 30 and the first LAN connector 31 and a system of the second PHY 32 and the second LAN connector 33). Therefore, by connecting the LAN controller (MAC) of the CPU board and the physical layer device of the carrier board 3, the CPU board 100 can perform LAN communication of a maximum of 2 ports.
 実施の形態1に係る情報処理装置(CPUボード100)において、切替部4は、外部とLAN通信を行うための複数の物理層デバイス(PHY)と、物理層デバイス(PHY)を介して外部とのLAN通信を行うLANコントローラ(MAC)との間を接続するための回路である。LANコントローラ‐物理層デバイス間(MAC‐PHY間)は、通信データの入出力を行うデータバス(第1データバス5、第2データバス6)、物理層デバイス(第1PHY30、第2PHY32)を制御するための制御バス7、物理層デバイス(第1PHY30、第2PHY32)からCPU(第1CPU10、第2CPU20)に対して、割り込み処理を要求するための割り込みバス8の三系統のバス接続がある。図1及び図2において、データバス(第1データバス5、第2データバス6)は太い実線で示し、制御バス7は太い実線に比して細い実線で示し、割り込みバス8は太い実線に比して細い破線で示している。 In the information processing device (CPU board 100) according to the first embodiment, the switching unit 4 has a plurality of physical layer devices (PHY) for performing LAN communication with the outside and the outside via the physical layer device (PHY). It is a circuit for connecting to a LAN controller (MAC) that performs LAN communication. The LAN controller-physical layer device (between MAC and PHY) controls the data bus (first data bus 5, second data bus 6) and physical layer device (first PHY30, second PHY32) that input and output communication data. There are three bus connections of the control bus 7 and the interrupt bus 8 for requesting interrupt processing from the physical layer devices (first PHY30, second PHY32) to the CPUs (first CPU10, second CPU20). In FIGS. 1 and 2, the data buses (first data bus 5 and second data bus 6) are shown by thick solid lines, the control bus 7 is shown by a thin solid line as compared with the thick solid line, and the interrupt bus 8 is shown by a thick solid line. It is shown by a relatively thin broken line.
 図1及び図2に示すように、切替部4は、第1CPU基板1の第1MAC11及び第2MAC12、第2CPU基板2の第3MAC21の計3つのLANコントローラ(MAC)と、キャリア基板3の第1PHY30又は第2PHY32の間の接続を切り替える機能を有するものである。詳しくは、切替部4は、第2データバス6、制御バス7、割り込みバス8の切り替えは、同じ選択信号を受けたことをトリガとして実施するものである。切替部4の一部であるデータバス切替部40、制御バス切替部41、割り込みバス切替部42を次に図を用いて説明する。なお、切替部4は、例えば、キャリア基板3に搭載されている。 As shown in FIGS. 1 and 2, the switching unit 4 includes a total of three LAN controllers (MAC) of the first MAC 11 and the second MAC 12 of the first CPU board 1, the third MAC 21 of the second CPU board 2, and the first PHY 30 of the carrier board 3. Alternatively, it has a function of switching the connection between the second PHY 32. Specifically, the switching unit 4 switches between the second data bus 6, the control bus 7, and the interrupt bus 8 by using the same selection signal as a trigger. The data bus switching unit 40, the control bus switching unit 41, and the interrupt bus switching unit 42, which are a part of the switching unit 4, will be described below with reference to the drawings. The switching unit 4 is mounted on, for example, the carrier substrate 3.
 図2において、データバス切替部40は、第2データバス6による第2物理層デバイス32との接続先を、第2LANコントローラ12及び第3LANコントローラ21のいずれか一方に切り替えるものである。制御バス切替部41は、第2物理層デバイス32の第2データバス6による接続先に応じて、第1LANコントローラ11及び第3LANコントローラ21のいずれか一方が第2物理層デバイス32へアクセスするように制御バス7を切り替えるものである。割り込みバス切替部42は、第2物理層デバイス32の第2データバス6による接続先に応じて、割り込みバス8を切り替えて、第1CPU10への割り込み処理が、第1物理層デバイス30及び第2物理層デバイス32の両方から送られるか、第1物理層デバイス30からのみ送られるかを第1CPU10へ通知するものである。なお、第2物理層デバイス32の第2データバス6による接続先とは、例えば、後述する図3に示すLANコントローラ‐物理層デバイス間(MAC‐PHY間)の接続と選択信号の対応例を示す接続テーブルを参照することを意味している。 In FIG. 2, the data bus switching unit 40 switches the connection destination of the second data bus 6 with the second physical layer device 32 to either the second LAN controller 12 or the third LAN controller 21. In the control bus switching unit 41, either one of the first LAN controller 11 and the third LAN controller 21 accesses the second physical layer device 32 according to the connection destination of the second physical layer device 32 by the second data bus 6. The control bus 7 is switched to. The interrupt bus switching unit 42 switches the interrupt bus 8 according to the connection destination of the second physical layer device 32 by the second data bus 6, and interrupt processing to the first CPU 10 is performed on the first physical layer device 30 and the second. It notifies the first CPU 10 whether it is sent from both the physical layer devices 32 or only from the first physical layer device 30. The connection destination of the second physical layer device 32 by the second data bus 6 is, for example, an example of correspondence between the connection between the LAN controller and the physical layer device (between MAC and PHY) and the selection signal shown in FIG. 3, which will be described later. It means to refer to the connection table shown.
 図2において、詳しくは、切替部4は、CPU側データポート34と物理層側データバス35の間の第2データバス6の接続を切り替えるためのデータバス切替部40、CPU側制御ポート36と物理層側制御バス37の間の制御バス7を切り替えるための制御バス切替部41、CPU側割り込みポート38と物理層側割り込みバス39の間の割り込みバス8を切り替えるための割り込みバス切替部42を持つ。なお、ポートやバスの一部の構成は、図1にも図示している。 In FIG. 2, in detail, the switching unit 4 includes a data bus switching unit 40 for switching the connection of the second data bus 6 between the CPU side data port 34 and the physical layer side data bus 35, and the CPU side control port 36. A control bus switching unit 41 for switching the control bus 7 between the physical layer side control bus 37, and an interrupt bus switching unit 42 for switching the interrupt bus 8 between the CPU side interrupt port 38 and the physical layer side interrupt bus 39. Have. A part of the configuration of the port and the bus is also shown in FIG.
 実施の形態1に係る情報処理装置(CPUボード100)は、図示するように、選択信号を生成する切替制御部9をさらに備えてもよい。つまり、データバス切替部40、制御バス切替部41、割り込みバス切替部42の三つに対し、接続先を選択するための切替制御部9及び選択信号を実施の形態1に係る情報処理装置(CPUボード100)は有していてもよい。切替制御部9は、第1CPU10からの指示により選択信号を出力し、LANコントローラ‐物理層デバイス間(MAC‐PHY間)の接続の切り替えを各切替部(データバス切替部40、制御バス切替部41、割り込みバス切替部42)に通知する(指示する)。例えば、選択信号は、切替制御部9が第1信号又は第2信号として切替部4へ送られるものが考えられる。本願では、第1信号を「0」とし、第2信号を「1」として説明を行う。 As shown in the figure, the information processing device (CPU board 100) according to the first embodiment may further include a switching control unit 9 that generates a selection signal. That is, the information processing device according to the first embodiment provides the switching control unit 9 for selecting the connection destination and the selection signal to the data bus switching unit 40, the control bus switching unit 41, and the interrupt bus switching unit 42. The CPU board 100) may be included. The switching control unit 9 outputs a selection signal according to an instruction from the first CPU 10, and switches the connection between the LAN controller and the physical layer device (between MAC and PHY) in each switching unit (data bus switching unit 40, control bus switching unit). 41. Notify (instruct) the interrupt bus switching unit 42). For example, the selection signal may be one that the switching control unit 9 sends to the switching unit 4 as a first signal or a second signal. In the present application, the first signal is set to "0" and the second signal is set to "1".
 切替制御部9は、第1CPU10からの指示(指示信号)により、「0」又は「1」(第1信号又は第2信号)の選択信号を生成するものである。図2において、指示信号の流れは、データバスの太い実線に比して細い点線(第1CPU10から切替制御部9へ向かうもの)で示している。つまり、この細い点線は、図2の割り込みバス8を示す細い破線に対して、ピッチが細かいといえる。なお、図2において、切替制御部9からデータバス切替部40へ向かう細い点線は、切替制御部9からデータバス切替部40へ送られる選択信号を示し、切替制御部9から制御バス切替部41へ向かう細い点線は、切替制御部9から制御バス切替部41へ送られる選択信号を示し、切替制御部9から割り込みバス切替部42へ向かう細い点線は、切替制御部9から割り込みバス切替部42へ送られる選択信号を示している。 The switching control unit 9 generates a selection signal of "0" or "1" (first signal or second signal) according to an instruction (instruction signal) from the first CPU 10. In FIG. 2, the flow of the instruction signal is shown by a thin dotted line (from the first CPU 10 to the switching control unit 9) as compared with the thick solid line of the data bus. That is, it can be said that this thin dotted line has a finer pitch than the thin broken line showing the interrupt bus 8 in FIG. In FIG. 2, a thin dotted line from the switching control unit 9 to the data bus switching unit 40 indicates a selection signal sent from the switching control unit 9 to the data bus switching unit 40, and the switching control unit 9 to the control bus switching unit 41. The thin dotted line toward the interrupt bus switching unit 42 indicates the selection signal sent from the switching control unit 9 to the control bus switching unit 41, and the thin dotted line toward the interrupt bus switching unit 42 from the switching control unit 9 indicates the interrupt bus switching unit 42 from the switching control unit 9. Indicates the selection signal sent to.
 図3は、LANコントローラ‐物理層デバイス間(MAC‐PHY間)の接続と選択信号の対応例を示す接続テーブルである。図3のテーブルにおいて、行はLANコントローラ(MAC)を示し、列は選択信号を示している。全体では接続先や接続状況の対応例を示している。切替制御部9は、図示するようにキャリア基板3に形成してもよい。もちろん、切替部4及び切替制御部9の少なくとも一方が、キャリア基板3に形成されていてもよい。 FIG. 3 is a connection table showing an example of correspondence between the connection between the LAN controller and the physical layer device (between MAC and PHY) and the selection signal. In the table of FIG. 3, the rows indicate the LAN controller (MAC) and the columns indicate the selection signal. As a whole, examples of correspondence between connection destinations and connection status are shown. The switching control unit 9 may be formed on the carrier substrate 3 as shown in the figure. Of course, at least one of the switching unit 4 and the switching control unit 9 may be formed on the carrier substrate 3.
 詳しくは、次の通りとなる。第1CPU基板1がLAN通信ポートを2つ使用する、すなわち第1CPU基板1の第1MAC11と第2MAC12をそれぞれ第1PHY30、第2PHY32に接続する場合、切替制御部9は選択信号「0」(第1信号)を出力する。一方、第1CPU基板1と第2CPU基板2それぞれ1ポートずつLAN通信ポートを使用する、すなわち第1CPU基板1の第1MAC11と第1PHY30、第2CPU基板2の第3MAC21と第2PHY32を接続する場合、切替制御部9は選択信号「1」(第2信号)を出力する。 Details are as follows. When the first CPU board 1 uses two LAN communication ports, that is, when the first MAC 11 and the second MAC 12 of the first CPU board 1 are connected to the first PHY 30 and the second PHY 32, respectively, the switching control unit 9 sets the selection signal "0" (first). Signal) is output. On the other hand, when one LAN communication port is used for each of the first CPU board 1 and the second CPU board 2, that is, when the first MAC 11 and the first PHY 30 of the first CPU board 1 and the third MAC 21 and the second PHY 32 of the second CPU board 2 are connected, switching is performed. The control unit 9 outputs the selection signal “1” (second signal).
 例えば、第1CPU基板1と第2CPU基板2の間にLANによる通信以外に、互いにCPU(第1CPU10と第2CPU20と)が通信可能な通信路をキャリア基板3に設けておき、その通信路を使用して第1CPU10が第2CPU20にアクセスするなどの方法を用いて、第1CPU10が、第2CPU基板2の実装の有無を確認する。このように、第1CPU10が、第2CPU基板2の実装の有無を確認し、実装されていなければ選択信号として0を選択し、第1CPU基板1がLAN通信ポートをすべて使用できるようにし、第2CPU基板2が実装されていれば、選択信号として「1」を選択し、第1CPU基板1と第2CPU基板2どちらもLAN通信ポートを1ポート使用できるようにする。この組合せは目的に応じて他の組合せとしてもよい。つまり、第2CPU基板2が実装されていると確認できた場合は、必要に応じて、選択信号「0」又は選択信号「1」を生成してもよい。 For example, in addition to LAN communication between the first CPU board 1 and the second CPU board 2, a communication path through which CPUs (first CPU 10 and second CPU 20) can communicate with each other is provided on the carrier board 3, and the communication path is used. Then, the first CPU 10 confirms whether or not the second CPU board 2 is mounted by using a method such as the first CPU 10 accessing the second CPU 20. In this way, the first CPU 10 confirms whether or not the second CPU board 2 is mounted, and if it is not mounted, 0 is selected as the selection signal so that the first CPU board 1 can use all the LAN communication ports, and the second CPU. If the board 2 is mounted, "1" is selected as the selection signal so that both the first CPU board 1 and the second CPU board 2 can use one LAN communication port. This combination may be another combination depending on the purpose. That is, when it can be confirmed that the second CPU board 2 is mounted, the selection signal "0" or the selection signal "1" may be generated as necessary.
 換言すると、実施の形態1に係る情報処理装置(CPUボード100)は、第1CPU基板1と、キャリア基板3と、第1CPU基板1及び外部基板(実装、非実装の選択が可能なもの)と第1第1PHY30及び第2PHY32との接続を切り替える切替部4とを備え、第1PHY30は、第1MAC11と第1データバス5で接続され、外部基板として、第2CPU基板2が接続されたときに、これまで説明した切替部4(データバス切替部40、制御バス切替部41、割り込みバス切替部42)の動作が行われるものといえる。もちろん、この構成においても、切替制御部9を備えていてもよい。 In other words, the information processing device (CPU board 100) according to the first embodiment includes a first CPU board 1, a carrier board 3, a first CPU board 1, and an external board (which can be selected to be mounted or not mounted). A switching unit 4 for switching the connection between the first PHY 30 and the second PHY 32 is provided, and the first PHY 30 is connected to the first MAC 11 by the first data bus 5, and when the second CPU board 2 is connected as an external board, It can be said that the operation of the switching unit 4 (data bus switching unit 40, control bus switching unit 41, interrupt bus switching unit 42) described so far is performed. Of course, even in this configuration, the switching control unit 9 may be provided.
 続いて、三系統のバスであるデータバス切替部40、制御バス切替部41、割り込みバス切替部42について説明する。データバス切替部40、制御バス切替部41、割り込みバス切替部42は、それぞれ切替制御部9からの選択信号により、図3に対応して各バスである第2データバス6、制御バス7、割り込みバス8の接続を切り替えるものである。 Next, the data bus switching unit 40, the control bus switching unit 41, and the interrupt bus switching unit 42, which are three systems of buses, will be described. The data bus switching unit 40, the control bus switching unit 41, and the interrupt bus switching unit 42 receive the selection signals from the switching control unit 9, respectively, in accordance with FIG. 3, the second data bus 6, the control bus 7, and the control bus 7. It switches the connection of the interrupt bus 8.
 データバス切替部40の構成を図4に示す。なお、データバス切替部40において第1データバス5は、外部に形成してもよい。図4に示すように、データバス切替部40は、選択信号「0」(第1信号)を受けたとき、データバス用スイッチ400を第2データバス6が第2物理層デバイス32と第2LANコントローラ12とを接続状態にし、選択信号「1」(第2信号)を受けたとき、データバス用スイッチ400を第2データバス6が第2物理層デバイス32と第3LANコントローラ21とを接続状態にするものである。データバス用スイッチ400は、選択信号を受けた時点で所望の側に配置されている場合は動作しないことになるがこれも便宜上、切り替えに含める。 FIG. 4 shows the configuration of the data bus switching unit 40. The first data bus 5 may be formed outside in the data bus switching unit 40. As shown in FIG. 4, when the data bus switching unit 40 receives the selection signal “0” (first signal), the data bus switch 400 is switched by the second data bus 6 to the second physical layer device 32 and the second LAN. When the controller 12 is connected and the selection signal "1" (second signal) is received, the data bus switch 400 is connected by the second data bus 6 to the second physical layer device 32 and the third LAN controller 21. It is something to do. The data bus switch 400 will not operate if it is arranged on the desired side when the selection signal is received, but this is also included in the switching for convenience.
 さらに、データバス切替部40では選択信号により図3に対応した接続の切り替えを行うことに加え、バッファ401による信号品質の改善を行ってもよい。LAN通信の通信速度が1Gbpsを超える場合、データ通信が高速であることからデータバス(第1データバス5、第2データバス6)は、一般に差動信号を用いた高速シリアル伝送が使用される。このとき、コネクタを介してCPU基板(第1CPU基板1、第2CPU基板2)とキャリア基板3との間が接続されるほか、スイッチによるバスの切替を行うため信号品質の劣化が発生しうる。そこで、図4に示すように、データバス切替部40ではバッファ401をデータバス(第1データバス5、第2データバス6)に挿入し、MAC-PHY間のコネクタや切り替えスイッチにより劣化した信号を改善することで、信号品質を確保することができる。なお、データバス切替部40において第1データバス5に形成されたバッファ401は、第1データバス5と共に外部に形成してもよい。 Further, in the data bus switching unit 40, in addition to switching the connection corresponding to FIG. 3 by the selection signal, the signal quality may be improved by the buffer 401. When the communication speed of LAN communication exceeds 1 Gbps, high-speed serial transmission using a differential signal is generally used for the data bus (first data bus 5, second data bus 6) because the data communication is high speed. .. At this time, the CPU board (first CPU board 1, second CPU board 2) and the carrier board 3 are connected via the connector, and the bus is switched by the switch, so that the signal quality may deteriorate. Therefore, as shown in FIG. 4, in the data bus switching unit 40, the buffer 401 is inserted into the data bus (first data bus 5, second data bus 6), and the signal deteriorated by the connector between MAC and PHY and the changeover switch. The signal quality can be ensured by improving. The buffer 401 formed in the first data bus 5 in the data bus switching unit 40 may be formed outside together with the first data bus 5.
 制御バス切替部41の構成を図5に示す。図5に示すように、制御バス切替部41は、選択信号「0」(第1信号)を受けたとき、三つのバススイッチのうち、制御バス用スイッチ403、制御バス用スイッチ404を第1LANコントローラ11が第2物理層デバイス32へアクセスするように切り替え、選択信号「1」(第2信号)を受けたとき、三つのバススイッチのうち、制御バス用スイッチ403、制御バス用スイッチ404を第3LANコントローラ21が第2物理層デバイス32へアクセスするように切り替えるものである。いずれの場合でも、制御バス用スイッチ402は、常に選択されるため、選択信号を接続せずにイネーブル信号へ「1」を入力する。 FIG. 5 shows the configuration of the control bus switching unit 41. As shown in FIG. 5, when the control bus switching unit 41 receives the selection signal “0” (first signal), the control bus switch 403 and the control bus switch 404 are set to the first LAN among the three bus switches. When the controller 11 switches to access the second physical layer device 32 and receives the selection signal "1" (second signal), the control bus switch 403 and the control bus switch 404 are switched among the three bus switches. The third LAN controller 21 switches to access the second physical layer device 32. In either case, since the control bus switch 402 is always selected, "1" is input to the enable signal without connecting the selection signal.
 図5に示すように、制御バス7は第1MAC11又は第3MAC21を介して第1CPU10又は第2CPU20からPHY(第1PHY30、第2PHY32)のレジスタ操作を行うことによりPHYの動作を制御するためのバスであり、第2PHY32は切り替えに応じて第1CPU基板1と第2CPU基板2のいずれか片方からアクセスされる。切り替えには、先のバススイッチである制御バス用スイッチ402、403、404を使用し、制御バス用スイッチ403と制御バス用スイッチ404を排他的に選択にすることで切り替えを行う。 As shown in FIG. 5, the control bus 7 is a bus for controlling the operation of the PHY by performing register operations of the PHY (first PHY 30, second PHY 32) from the first CPU 10 or the second CPU 20 via the first MAC 11 or the third MAC 21. Yes, the second PHY 32 is accessed from either the first CPU board 1 or the second CPU board 2 according to the switching. For the switching, the control bus switches 402, 403, and 404, which are the above-mentioned bus switches, are used, and the control bus switch 403 and the control bus switch 404 are exclusively selected for switching.
 これらの制御バス用スイッチ402、403、404は電圧変換機能を備え、オープンドレインに対応したものを使用する。そのため、CPU基板(第1CPU基板1、第2CPU基板2)とキャリア基板3でI/O電圧が異なっていてもよい。また、オープンドレインであることから、切り替え後の制御バス信号をWired-ORして、第2PHY32に接続することができる。なお、Wired-ORは、複数の出力信号を結線した論理ORである。 These control bus switches 402, 403, and 404 are equipped with a voltage conversion function and are compatible with open drain. Therefore, the I / O voltage may be different between the CPU board (first CPU board 1, second CPU board 2) and the carrier board 3. Further, since it is an open drain, the control bus signal after switching can be Wired-OR and connected to the second PHY 32. The Wired-OR is a logical OR in which a plurality of output signals are connected.
 割り込みバス切替部42の構成を図6及び図7に示す。図7の構成は後述する。図6に示すように、割り込みバス切替部42は、選択信号「0」(第1信号)を受けたとき、割り込みバス用スイッチ405を制御して、第1CPU10への割り込み処理が、第1物理層デバイス30及び第2物理層デバイス32の両方からであると第1CPU10へ通知し、選択信号「1」(第2信号)を受けたとき、割り込みバス用スイッチ405を制御して、第1CPU10への割り込み処理が、第1物理層デバイス30のみであると第1CPU10へ通知するものである。第1CPU10への割り込み処理が第1物理層デバイス30のみとは、第2物理層デバイス32からの第1CPU10への割り込み処理はないという意味であり、第2物理層デバイス32以外から第1CPU10への割り込み処理が第1物理層デバイス30からのものに限るという意味ではない。 The configuration of the interrupt bus switching unit 42 is shown in FIGS. 6 and 7. The configuration of FIG. 7 will be described later. As shown in FIG. 6, when the interrupt bus switching unit 42 receives the selection signal “0” (first signal), the interrupt bus switch 405 is controlled so that the interrupt processing to the first CPU 10 is performed by the first physical layer. The first CPU 10 is notified that it is from both the layer device 30 and the second physical layer device 32, and when the selection signal "1" (second signal) is received, the interrupt bus switch 405 is controlled to the first CPU 10. Notifies the first CPU 10 that the interrupt processing of is only the first physical layer device 30. The fact that the interrupt processing to the first CPU 10 is only the first physical layer device 30 means that there is no interrupt processing from the second physical layer device 32 to the first CPU 10, and the interrupt processing from other than the second physical layer device 32 to the first CPU 10 is performed. It does not mean that interrupt processing is limited to that from the first physical layer device 30.
 なお、第2CPU20への割り込み処理は、第2物理層デバイス32のみであるが、割り込みバス切替部42は、選択信号「0」(第1信号)を受けたとき、第2データバスが接続されていないので、割り込み処理なしと通知する。一方、割り込みバス切替部42は、選択信号「1」(第2信号)を受けたとき、第2データバスが接続されているので、割り込み処理ありと通知する。もちろん、割り込み処理なしの場合は通知をしないことも考えられる。 Note that the interrupt processing to the second CPU 20 is performed only by the second physical layer device 32, but when the interrupt bus switching unit 42 receives the selection signal "0" (first signal), the second data bus is connected. Since it has not been processed, it notifies that there is no interrupt processing. On the other hand, when the interrupt bus switching unit 42 receives the selection signal "1" (second signal), it notifies that there is interrupt processing because the second data bus is connected. Of course, if there is no interrupt processing, it is possible not to notify.
 割り込みバス用スイッチ405は、図6や図7の構成を例示しており、図7は、割り込みバス切替部42の異なる構成例であり、割り込みバス切替部42は図7のように構成してもよい。図6では複数のPHY(第1PHY30、第2PHY32)からの割り込みバスの論理和をとったものを切り替えているが、図7では切り替えた信号の論理和をとってCPU(第1CPU、第2CPU)へ出力する。 The interrupt bus switch 405 illustrates the configurations of FIGS. 6 and 7, FIG. 7 is a different configuration example of the interrupt bus switching unit 42, and the interrupt bus switching unit 42 is configured as shown in FIG. May be good. In FIG. 6, the one in which the logical sum of the interrupt buses from the plurality of PHYs (first PHY30, second PHY32) is taken is switched, but in FIG. 7, the logical sum of the switched signals is taken and the CPU (first CPU, second CPU) is switched. Output to.
 割り込みバス8は、PHY(第1PHY30、第2PHY32)からCPU(第1CPU10、第2CPU20)に対して、LANコネクタ(第1LANコネクタ31、第2LANコネクタ33)に接続されるケーブルの接続状態の変化等を通知し、それに応じた割り込み処理の実施を要求するために使用する。例えば、ケーブルが接続されたことが、CPU(第1CPU10、第2CPU20)に通知されると、CPU(第1CPU10、第2CPU20)は通信を開始できるように自身を設定する。図3で選択信号を「0」とした場合、第1PHY30、第2PHY32の両方の割り込みを第1CPU10に通知するため、割り込み信号は切り替えではなく第1PHY30からの割り込みバスと第2PHY32からの割り込みバスの論理和を用いる。 The interrupt bus 8 changes the connection state of the cable connected to the LAN connector (first LAN connector 31, second LAN connector 33) from the PHY (first PHY 30, second PHY 32) to the CPU (first CPU 10, second CPU 20). Is used to notify and request the execution of interrupt processing accordingly. For example, when the CPUs (first CPU10, second CPU20) are notified that the cable is connected, the CPUs (first CPU10, second CPU20) set themselves so that communication can be started. When the selection signal is set to "0" in FIG. 3, since both interrupts of the first PHY30 and the second PHY32 are notified to the first CPU10, the interrupt signal is not a switch but an interrupt bus from the first PHY30 and an interrupt bus from the second PHY32. Use logical sum.
 本願では、割り込み処理は、不定期なもの以外に、予め定められた周期で実施されるものも含んでいるとする。つまり、本願の割り込み処理は、ポーリング(polling)処理と読み替えてもよい。単に、ポーリング処理をポーリングと呼んでもよい。よって、割り込みバス8、CPU側割り込みポート38、物理層側割り込みバス39、割り込みバス用スイッチ45は、それぞれ、ポーリングバス8、CPU側ポーリングポート38、物理層側ポーリングバス39、ポーリングバス用スイッチ45と読み替えることができる。 In the present application, it is assumed that interrupt processing includes not only irregular ones but also those executed in a predetermined cycle. That is, the interrupt processing of the present application may be read as polling processing. The polling process may simply be called polling. Therefore, the interrupt bus 8, the CPU side interrupt port 38, the physical layer side interrupt bus 39, and the interrupt bus switch 45 are the polling bus 8, the CPU side polling port 38, the physical layer side polling bus 39, and the polling bus switch 45, respectively. Can be read as.
 次に、実施の形態1に係る通信切替方法について図8を用いて説明する。実施の形態1に係る通信切替方法は、実施の形態1に係る情報処理装置の切替部4、又は、切替部4及び切替制御部9(第1CPU10を含む場合もあり)の動作(処理ステップ)に係る方法である。そのため、実施の形態1に係る通信切替方法は、実施の形態1に係る情報処理装置の切替部4、又は、切替部4及び切替制御部9(第1CPU10を含む場合もあり)で説明したものは、実施の形態2では省略する場合がある。また、実施の形態1に係る情報処理装置で説明した内容を、実施の形態1に係る通信切替方法へ適用することも可能である。 Next, the communication switching method according to the first embodiment will be described with reference to FIG. The communication switching method according to the first embodiment is an operation (processing step) of the switching unit 4 of the information processing apparatus according to the first embodiment, or the switching unit 4 and the switching control unit 9 (which may include the first CPU 10). It is a method related to. Therefore, the communication switching method according to the first embodiment is described by the switching unit 4 of the information processing apparatus according to the first embodiment, or the switching unit 4 and the switching control unit 9 (which may include the first CPU 10). May be omitted in the second embodiment. Further, the contents described in the information processing apparatus according to the first embodiment can be applied to the communication switching method according to the first embodiment.
 すなわち、実施の形態1に係る通信切替方法は、第1CPU基板1及び第2CPU基板2と、第1PHY30及び第2PHY32との、接続を切り替えるものであるといえる。図8のフローチャートに示す処理ステップは、実施の形態1に係る通信切替方法の基本的な処理ステップである、データバス切替ステップ(STEP11)、制御バス切替ステップ(STEP12)、割り込みバス切替ステップ(STEP13)を示している。実施の形態1に係る通信切替方法は、データバス切替ステップ、制御バス切替ステップ、割り込みバス切替ステップを、同じトリガで実施することを特徴とするものである。このトリガの処理ステップをSTEP1として図8に記載している。ここでいうトリガとは、第2データバス6による第2物理層デバイス32との接続先を、第2LANコントローラ12又は第3LANコントローラ21のいずれかにするかという情報(第2LANコントローラ12及び第3LANコントローラ21の切替情報)である。この切替情報の取得又は決定がトリガとなる。 That is, it can be said that the communication switching method according to the first embodiment switches the connection between the first CPU board 1 and the second CPU board 2 and the first PHY 30 and the second PHY 32. The processing step shown in the flowchart of FIG. 8 is a data bus switching step (STEP 11), a control bus switching step (STEP 12), and an interrupt bus switching step (STEP 13), which are basic processing steps of the communication switching method according to the first embodiment. ) Is shown. The communication switching method according to the first embodiment is characterized in that the data bus switching step, the control bus switching step, and the interrupt bus switching step are performed by the same trigger. The processing step of this trigger is shown in FIG. 8 as STEP1. The trigger referred to here is information on whether to connect the second data bus 6 to the second physical layer device 32 to either the second LAN controller 12 or the third LAN controller 21 (second LAN controller 12 and third LAN). (Switching information of the controller 21). The acquisition or determination of this switching information is a trigger.
 図示は省略するが、好ましくは、実装確認ステップ(STEP0)及び切替制御ステップ(STEP1)を実施の形態1に係る通信切替方法が備えていてもよい。実装確認ステップ及び切替制御ステップは、図8に示す基本的な処理ステップの説明の後で説明する。切替制御ステップ(STEP1)は、図8に示すトリガの処理ステップの一例のため、同じSTEP1の処理ステップ名としている。 Although not shown, preferably, the communication switching method according to the first embodiment may include the mounting confirmation step (STEP0) and the switching control step (STEP1). The mounting confirmation step and the switching control step will be described after the description of the basic processing steps shown in FIG. The switching control step (STEP1) has the same STEP1 processing step name because it is an example of the trigger processing step shown in FIG.
 図8において、データバス切替ステップは、データバス切替部40が第2データバス6による第2PHY32との接続先(図3)を、第2MAC12及び第3MAC21のいずれか一方に切り替える処理ステップである。制御バス切替ステップは、制御バス切替部41が第2PHY32の第2データバス6による接続先(図3)に応じて、第1MAC11及び第3MAC21のいずれか一方が第2PHY32へアクセスするように制御バス7を切り替える処理ステップである。割り込みバス切替ステップは、割り込みバス切替部42が第2PHY32の第2データバス6による接続先(図3)に応じて、割り込みバス8を切り替えて、第1CPU10への割り込み処理が、第1PHY30及び第2PHY32の両方から送られるか、第1PHY30からのみ送られるかを第1CPU10へ通知する処理ステップである。第2CPU20への割り込み処理については、実施の形態1に係る情報処理装置の割り込みバス切替部42に関する説明で行った通りである。 In FIG. 8, the data bus switching step is a processing step in which the data bus switching unit 40 switches the connection destination (FIG. 3) with the second PHY 32 by the second data bus 6 to either the second MAC 12 or the third MAC 21. In the control bus switching step, the control bus switching unit 41 accesses the second PHY 32 by either the first MAC 11 or the third MAC 21 according to the connection destination (FIG. 3) by the second data bus 6 of the second PHY 32. This is a processing step for switching 7. In the interrupt bus switching step, the interrupt bus switching unit 42 switches the interrupt bus 8 according to the connection destination (FIG. 3) by the second data bus 6 of the second PHY 32, and the interrupt processing to the first CPU 10 is performed on the first PHY 30 and the first PHY 30 and the first CPU 10. This is a processing step of notifying the first CPU 10 whether the data is sent from both the 2 PHY 32 or only from the first PHY 30. The interrupt processing to the second CPU 20 is as described in the description of the interrupt bus switching unit 42 of the information processing apparatus according to the first embodiment.
 実施の形態1に係る通信切替方法において、データバス切替ステップ、制御バス切替ステップ、割り込みバス切替ステップを、同じトリガで実施するための一例として、切替制御ステップを説明する。切替制御ステップは、STEP11、STEP12、STEP13の前段の処理ステップに当たるため、STEP1といえる。すなわち、切替制御ステップは、データバス切替ステップ、制御バス切替ステップ、割り込みバス切替ステップの実施よりも前のタイミングで、データバス切替ステップにおける接続先を決定するトリガである第1信号及び第2信号(選択信号)を切替制御部9が生成するものである。詳しくは、切替制御ステップは、第2データバス6が第2PHY32と第2MAC12とを接続状態にする指示である第1信号、又は、第2データバス6が第2PHY32と第3MAC21とを接続状態にする指示である第2信号を切替制御部9が生成するものである。 In the communication switching method according to the first embodiment, the switching control step will be described as an example for executing the data bus switching step, the control bus switching step, and the interrupt bus switching step with the same trigger. Since the switching control step corresponds to the processing step in the previous stage of STEP11, STEP12, and STEP13, it can be said to be STEP1. That is, the switching control step is a first signal and a second signal that are triggers for determining the connection destination in the data bus switching step at a timing prior to the execution of the data bus switching step, the control bus switching step, and the interrupt bus switching step. (Selection signal) is generated by the switching control unit 9. Specifically, in the switching control step, the first signal, which is an instruction for the second data bus 6 to connect the second PHY 32 and the second MAC 12, or the second data bus 6 to connect the second PHY 32 and the third MAC 21. The switching control unit 9 generates a second signal, which is an instruction to perform.
 実施の形態1に係る通信切替方法において、切替制御ステップ(STEP1)の実施よりも前のタイミングで、第1CPU10が、第2CPU基板2の実装の有無を確認する実装確認ステップ(STEP0)をさらに備えていてもよい。実装確認ステップは、切替制御ステップよりも前の処理ステップであり、切り替えの前段階の処理ステップであることから、STEP0といえる。実装確認ステップが第2CPU基板2の実装の有無を確認するため、切替制御ステップでは、実装確認ステップで第2CPU基板2が実装されていないと確認できた場合、第1信号(選択信号「0」)のみを生成すればよい。一方、実装確認ステップで第2CPU基板2が実装されていると確認できた場合は、切替制御ステップは必要に応じて、第1信号(選択信号「0」)又は第2信号(選択信号「1」)を生成すればよい。 In the communication switching method according to the first embodiment, the first CPU 10 further includes a mounting confirmation step (STEP0) for confirming whether or not the second CPU board 2 is mounted at a timing prior to the execution of the switching control step (STEP1). You may be. Since the mounting confirmation step is a processing step prior to the switching control step and is a processing step before switching, it can be said to be STEP 0. In order to confirm whether or not the second CPU board 2 is mounted in the mounting confirmation step, in the switching control step, if it is confirmed in the mounting confirmation step that the second CPU board 2 is not mounted, the first signal (selection signal "0"" is used. ) Only needs to be generated. On the other hand, when it is confirmed in the mounting confirmation step that the second CPU board 2 is mounted, the switching control step performs the first signal (selection signal "0") or the second signal (selection signal "1") as necessary. ") May be generated.
 このように、実施の形態1に係る情報処理装置(切替部4)及び通信切替方法により、MAC(LANコントローラ)とPHY(物理層デバイス)間の通信に必要な第2データバス6、制御バス7、割り込みバス8の三つのバスを同時に切り替えることが容易である。CPU基板(第1CPU基板1、第2CPU基板2)とキャリア基板3との組み合わせを目的に応じて組み替えた場合でもLAN通信ポートを効率的に使用することができる。CPU基板の数量を可変とすることで、多くの処理性能が必要な場合は2つのCPU基板、そうでない場合は1つのCPU基板を搭載する、といったように必要に応じたハードウェア構成を実現することができる。詳しくは図9を用いて説明する。 As described above, the second data bus 6 and the control bus required for communication between the MAC (LAN controller) and the PHY (physical layer device) by the information processing device (switching unit 4) and the communication switching method according to the first embodiment. 7. It is easy to switch the three buses of the interrupt bus 8 at the same time. Even when the combination of the CPU board (first CPU board 1, second CPU board 2) and the carrier board 3 is rearranged according to the purpose, the LAN communication port can be used efficiently. By making the number of CPU boards variable, it is possible to realize a hardware configuration as needed, such as mounting two CPU boards when a lot of processing performance is required, and mounting one CPU board otherwise. be able to. Details will be described with reference to FIG.
 図9は、実施の形態1に係る情報処理装置(通信切替方法)を適用した信号処理装置であるCPUボード110(CPUボード101、CPUボード102)の一例である。図9において、CPUボード101は、CPUボード100そのものである。CPUボード102は、第2CPU基板2が非搭載(非実装)であるCPUボード101(CPUボード100)に相当する。スイッチングハブ103は、CPUボード101とCPUボード102との間で相互に通信できるよう接続し、通信中継を行うものである。スイッチングハブ103は、それぞれ、CPUボード101の第1LANコネクタ31、CPUボード101の第2LANコネクタ33、CPUボード102の第2LANコネクタ33と接続されている。CPUボード102の第1LANコネクタ31は、上位装置と接続されている。 FIG. 9 is an example of a CPU board 110 (CPU board 101, CPU board 102) which is a signal processing device to which the information processing device (communication switching method) according to the first embodiment is applied. In FIG. 9, the CPU board 101 is the CPU board 100 itself. The CPU board 102 corresponds to a CPU board 101 (CPU board 100) on which the second CPU board 2 is not mounted (non-mounted). The switching hub 103 connects the CPU board 101 and the CPU board 102 so that they can communicate with each other, and relays communication. The switching hub 103 is connected to the first LAN connector 31 of the CPU board 101, the second LAN connector 33 of the CPU board 101, and the second LAN connector 33 of the CPU board 102, respectively. The first LAN connector 31 of the CPU board 102 is connected to the host device.
 図9に示すものは、前述の通り、情報処理装置110の一例であり、CPU基板(第1CPU基板1)を一つ搭載した装置制御用CPUボード102と、CPU基板(第1CPU基板1、第2CPU基板2)を2つ搭載した信号処理用CPUボード101の二種類の情報処理装置110から構成される。装置制御用CPUボード102は、一つのCPU(第1CPU10)が上位装置との通信と信号処理用CPUボード101との通信の2つのLAN通信を行う。信号処理用CPUボード101は2つのCPU(第1CPU10、第2CPU20)で信号処理を行い、処理結果を各CPU基板(第1CPU基板1、第2CPU基板2)からLAN通信により、スイッチングハブ103経由で、装置制御用CPUボード102に伝送する。 As described above, FIG. 9 shows an example of the information processing device 110, which includes a device control CPU board 102 on which one CPU board (first CPU board 1) is mounted, and a CPU board (first CPU board 1, first CPU board 1, first). It is composed of two types of information processing devices 110 of a signal processing CPU board 101 on which two 2 CPU boards 2) are mounted. In the device control CPU board 102, one CPU (first CPU 10) performs two LAN communications, one is communication with the host device and the other is communication with the signal processing CPU board 101. The signal processing CPU board 101 performs signal processing by two CPUs (first CPU 10, second CPU 20), and the processing result is transmitted from each CPU board (first CPU board 1, second CPU board 2) via LAN communication via a switching hub 103. , Transmit to the device control CPU board 102.
 図9の構成は、CPU基板(第1CPU基板1、第2CPU基板2)とキャリア基板3との二種類の基板と切替部4の切り替えのみでも実現できるため、装置制御用CPUボード102と信号処理用CPUボード101を別々に用意する場合に比べて低コストで実現することができる。切替部4を構成する回路はデータバス(第1データバス5、第2データバス6)に使用するバッファ401を除き、基板上のほかの機能を実現するために用いるFPGA(Field-Programmable Gate Array)などのプログラマブルロジックに合わせて実装することで、少ない追加部品で実現することが可能である。データバス(第1データバス5、第2データバス6)に使用するバッファ401も高速シリアル伝送に対応した一般的なIC(Integrated Circuit)でよい。 Since the configuration of FIG. 9 can be realized only by switching between the two types of boards of the CPU board (first CPU board 1, second CPU board 2) and the carrier board 3 and the switching unit 4, the device control CPU board 102 and signal processing This can be realized at a lower cost than when the CPU boards 101 for use are prepared separately. The circuit constituting the switching unit 4 is an FPGA (Field-Programmable Gate Array) used to realize other functions on the board except for the buffer 401 used for the data bus (first data bus 5 and second data bus 6). ), Etc., can be implemented with a small number of additional components. The buffer 401 used for the data bus (first data bus 5, second data bus 6) may also be a general IC (Integrated Circuit) compatible with high-speed serial transmission.
 以上、実施の形態1に係る情報処理装置及び通信切替方法によれば、MAC(LANコントローラ)とPHY(物理層デバイス)と間の通信に必要となる三つのバスを同時に切り替える切替部を有するキャリア基板に設け、CPU基板の搭載枚数に応じてMAC(LANコントローラ)とPHY(物理層デバイス)と間の接続を切り替えることで、CPUボードに応じた最適なLAN通信ポートの構成を実現する。これによって、目的に応じMAC(LANコントローラ)とPHY(物理層デバイス)と間の接続が異なる二種類のキャリア基板を用意する必要がなくなるため、装置のコストダウンを実現することができる。なお、実施の形態1に係る情報処理装置及び通信切替方法は、前述の通り、目的に応じMACとPHY間の接続の切り替えに関するものであり、MACとPHY間の三種類のバスを同時に切り替えることも容易である。 As described above, according to the information processing device and the communication switching method according to the first embodiment, the carrier having a switching unit that simultaneously switches the three buses required for communication between the MAC (LAN controller) and the PHY (physical layer device). By providing it on the board and switching the connection between the MAC (LAN controller) and the PHY (physical layer device) according to the number of CPU boards mounted, the optimum LAN communication port configuration according to the CPU board is realized. This eliminates the need to prepare two types of carrier boards having different connections between the MAC (LAN controller) and the PHY (physical layer device) depending on the purpose, so that the cost of the device can be reduced. As described above, the information processing device and the communication switching method according to the first embodiment relate to switching the connection between the MAC and the PHY according to the purpose, and simultaneously switch the three types of buses between the MAC and the PHY. Is also easy.
  1 第1CPU基板、
 10 第1CPU、11 第1LANコントローラ(第1MAC)、
 12 第2LANコントローラ(第2MAC)、
  2 第2CPU基板、
 20 第2CPU、21 第3LANコントローラ(第3MAC)、
 22 第4LANコントローラ(第4MAC)、
  3 キャリア基板、
 30 第1物理層デバイス(第1PHY)、31 第1LANコネクタ、
 32 第2物理層デバイス(第2PHY)、33 第2LANコネクタ、
 34 CPU側データポート、35 物理層側データバス、
 36 CPU側制御ポート、37 物理層側制御バス、
 38 CPU側割り込みポート、39 物理層側割り込みバス、
  4 切替部、
 40 データバス切替部、41 制御バス切替部、42 割り込みバス切替部、
400 データバス用スイッチ、401 バッファ、
402 制御バス用スイッチ(バススイッチ)、
403 制御バス用スイッチ(バススイッチ)、
404 制御バス用スイッチ(バススイッチ)、405 割り込みバス用スイッチ、
  5 第1データバス、6 第2データバス、7 制御バス、8 割り込みバス、
  9 切替制御部、
100 CPUボード、101 CPUボード、102 CPUボード、
103 スイッチングハブ、110 信号処理装置。
1 1st CPU board,
10 1st CPU, 11 1st LAN controller (1st MAC),
12 2nd LAN controller (2nd MAC),
2 2nd CPU board,
20 2nd CPU, 21 3rd LAN controller (3rd MAC),
22 4th LAN controller (4th MAC),
3 carrier board,
30 1st physical layer device (1st PHY), 31 1st LAN connector,
32 2nd physical layer device (2nd PHY), 33 2nd LAN connector,
34 CPU side data port, 35 physical layer side data bus,
36 CPU side control port, 37 Physical layer side control bus,
38 CPU side interrupt port, 39 Physical layer side interrupt bus,
4 Switching part,
40 data bus switching unit, 41 control bus switching unit, 42 interrupt bus switching unit,
400 data bus switch, 401 buffer,
402 Control bus switch (bus switch),
403 Control bus switch (bus switch),
404 Control bus switch (bus switch), 405 Interrupt bus switch,
5 1st data bus, 6 2nd data bus, 7 control bus, 8 interrupt bus,
9 Switching control unit,
100 CPU board, 101 CPU board, 102 CPU board,
103 switching hub, 110 signal processor.

Claims (11)

  1.  第1CPU、第1LANコントローラ、第2LANコントローラが形成された第1CPU基板と、第2CPU、第3LANコントローラが形成された第2CPU基板と、外部と通信をするための第1物理層デバイス、外部と通信をするための第2物理層デバイスが形成されたキャリア基板と、前記第1CPU基板及び前記第2CPU基板と前記第1物理層デバイス及び前記第2物理層デバイスとの接続を切り替える切替部とを備え、
     前記第1物理層デバイスは、前記第1LANコントローラと第1データバスで接続され、
     前記切替部は、第2データバスによる前記第2物理層デバイスとの接続先を、前記第2LANコントローラ及び前記第3LANコントローラのいずれか一方に切り替えるデータバス切替部と、前記第2物理層デバイスの前記第2データバスによる接続先に応じて、前記第1LANコントローラ及び前記第3LANコントローラのいずれか一方が前記第2物理層デバイスへアクセスするように制御バスを切り替える制御バス切替部と、前記第2物理層デバイスの前記第2データバスによる接続先に応じて、割り込みバスを切り替えて、前記第1CPUへの割り込み処理が、前記第1物理層デバイス及び前記第2物理層デバイスの両方から送られるか、前記第1物理層デバイスからのみ送られるかを前記第1CPUへ通知する割り込みバス切替部とを有し、
     前記切替部は、前記第2データバス、前記制御バス、前記割り込みバスの切り替えは、同じ選択信号を受けたことをトリガとして実施することを特徴とする情報処理装置。
    A first CPU board on which a first CPU, a first LAN controller, and a second LAN controller are formed, a second CPU board on which a second CPU and a third LAN controller are formed, a first physical layer device for communicating with the outside, and communication with the outside. A carrier board on which a second physical layer device is formed, and a switching unit for switching the connection between the first CPU board and the second CPU board and the first physical layer device and the second physical layer device. ,
    The first physical layer device is connected to the first LAN controller by a first data bus.
    The switching unit is a data bus switching unit that switches the connection destination of the second data bus to the second physical layer device to either the second LAN controller or the third LAN controller, and the second physical layer device. A control bus switching unit that switches the control bus so that either one of the first LAN controller and the third LAN controller accesses the second physical layer device according to the connection destination by the second data bus, and the second. Whether the interrupt process to the first CPU is sent from both the first physical layer device and the second physical layer device by switching the interrupt bus according to the connection destination of the physical layer device by the second data bus. It has an interrupt bus switching unit that notifies the first CPU whether it is sent only from the first physical layer device.
    The switching unit is an information processing device characterized in that switching between the second data bus, the control bus, and the interrupt bus is performed by receiving the same selection signal as a trigger.
  2.  第1CPU、第1LANコントローラ、第2LANコントローラが形成された第1CPU基板と、外部と通信をするための第1物理層デバイス、外部と通信をするための第2物理層デバイスが形成されたキャリア基板と、前記第1CPU基板及び外部基板と前記第1物理層デバイス及び前記第2物理層デバイスとの接続を切り替える切替部とを備え、前記第1物理層デバイスは、前記第1LANコントローラと第1データバスで接続され、前記切替部は、データバス切替部、制御バス切替部、割り込みバス切替部を有し、
     前記外部基板として、第2CPU、第3LANコントローラが形成された第2CPU基板が接続されたとき、
     前記データバス切替部は、第2データバスによる前記第2物理層デバイスとの接続先を、前記第2LANコントローラ及び前記第3LANコントローラのいずれか一方に切り替え、
     前記制御バス切替部は、前記第2物理層デバイスの前記第2データバスによる接続先に応じて、前記第1LANコントローラ及び前記第3LANコントローラのいずれか一方が前記第2物理層デバイスへアクセスするように制御バスを切り替え、
     前記割り込みバス切替部は、前記第2物理層デバイスの前記第2データバスによる接続先に応じて、割り込みバスを切り替えて、前記第1CPUへの割り込み処理が、前記第1物理層デバイス及び前記第2物理層デバイスの両方からか、前記第1物理層デバイスからのみかを前記第1CPUへ通知し、
     前記切替部は、前記第2データバス、前記制御バス、前記割り込みバスの切り替えは、同じ選択信号を受けたことをトリガとして実施することを特徴とする情報処理装置。
    A carrier board on which a first CPU board on which a first CPU, a first LAN controller, and a second LAN controller are formed, a first physical layer device for communicating with the outside, and a second physical layer device for communicating with the outside are formed. The first physical layer device includes a switching unit for switching the connection between the first CPU board and the external board, the first physical layer device, and the second physical layer device, and the first physical layer device includes the first LAN controller and the first data. Connected by a bus, the switching unit has a data bus switching unit, a control bus switching unit, and an interrupt bus switching unit.
    When a second CPU board on which a second CPU and a third LAN controller are formed is connected as the external board.
    The data bus switching unit switches the connection destination of the second data bus to the second physical layer device to either the second LAN controller or the third LAN controller.
    In the control bus switching unit, either one of the first LAN controller and the third LAN controller accesses the second physical layer device according to the connection destination of the second physical layer device by the second data bus. Switch the control bus to
    The interrupt bus switching unit switches the interrupt bus according to the connection destination of the second physical layer device by the second data bus, and interrupt processing to the first CPU is performed on the first physical layer device and the first physical layer device. Notifying the first CPU whether it is from both of the two physical layer devices or only from the first physical layer device,
    The switching unit is an information processing device characterized in that switching between the second data bus, the control bus, and the interrupt bus is performed by receiving the same selection signal as a trigger.
  3.  前記選択信号を生成する切替制御部をさらに備え、前記選択信号は、前記切替制御部が第1信号又は第2信号として前記切替部へ送られるものであることを特徴とする請求項1又は請求項2に記載の情報処理装置。 Claim 1 or claim, further comprising a switching control unit that generates the selection signal, wherein the switching control unit is sent to the switching unit as a first signal or a second signal. Item 2. The information processing apparatus according to item 2.
  4.  前記データバス切替部は、前記第1信号を受けたとき、データバス用スイッチを前記第2データバスが前記第2物理層デバイスと前記第2LANコントローラとを接続状態にし、前記第2信号を受けたとき、前記データバス用スイッチを前記第2データバスが前記第2物理層デバイスと前記第3LANコントローラとを接続状態にすることを特徴とする請求項3に記載の情報処理装置。 When the data bus switching unit receives the first signal, the data bus switch connects the second data bus to the second physical layer device and the second LAN controller, and receives the second signal. The information processing apparatus according to claim 3, wherein when the data bus switch is connected, the second data bus connects the second physical layer device and the third LAN controller.
  5.  前記制御バス切替部は、前記第1信号を受けたとき、制御バス用スイッチを前記第1LANコントローラが前記第2物理層デバイスへアクセスするように切り替え、前記第2信号を受けたとき、前記制御バス用スイッチを前記第3LANコントローラが前記第2物理層デバイスへアクセスするように切り替えることを特徴とする請求項3又は請求項4に記載の情報処理装置。 When the control bus switching unit receives the first signal, the control bus switch is switched so that the first LAN controller accesses the second physical layer device, and when the second signal is received, the control is controlled. The information processing device according to claim 3 or 4, wherein the bus switch is switched so that the third LAN controller accesses the second physical layer device.
  6.  前記割り込みバス切替部は、前記第1信号を受けたとき、割り込みバス用スイッチを制御して、前記第1CPUへの割り込み処理が、前記第1物理層デバイス及び前記第2物理層デバイスの両方からであると前記第1CPUへ通知し、前記第2信号を受けたとき、前記割り込みバス用スイッチを制御して、前記第1CPUへの割り込み処理が、前記第1物理層デバイスのみであると前記第1CPUへ通知することを特徴とする請求項3から請求項5のいずれか1項に記載の情報処理装置。 When the interrupt bus switching unit receives the first signal, it controls an interrupt bus switch, and interrupt processing to the first CPU is performed from both the first physical layer device and the second physical layer device. When the first CPU is notified and the second signal is received, the interrupt bus switch is controlled so that the interrupt processing to the first CPU is performed only by the first physical layer device. 1 The information processing apparatus according to any one of claims 3 to 5, wherein the CPU is notified.
  7.  前記切替制御部は、前記第1CPUからの指示により前記選択信号を生成することを特徴とする請求項3から請求項6のいずれか1項に記載の情報処理装置。 The information processing device according to any one of claims 3 to 6, wherein the switching control unit generates the selection signal according to an instruction from the first CPU.
  8.  前記切替部及び前記切替制御部の少なくとも一方は、前記キャリア基板に形成されていることを特徴とする請求項3から請求項7のいずれか1項に記載の情報処理装置。 The information processing apparatus according to any one of claims 3 to 7, wherein at least one of the switching unit and the switching control unit is formed on the carrier substrate.
  9.  第1CPU、第1LANコントローラ、第2LANコントローラが形成された第1CPU基板、及び、第2CPU、第3LANコントローラが形成された第2CPU基板と、
     外部と通信をするための第1物理層デバイス、及び、外部と通信をするための第2物理層デバイスとの、
     接続を切り替える通信切替方法において、
     第2データバスによる前記第2物理層デバイスとの接続先を、前記第2LANコントローラ及び前記第3LANコントローラのいずれか一方に切り替えるデータバス切替ステップと、前記第2物理層デバイスの前記第2データバスによる接続先に応じて、前記第1LANコントローラ及び前記第3LANコントローラのいずれか一方が前記第2物理層デバイスへアクセスするように制御バスを切り替える制御バス切替ステップと、前記第2物理層デバイスの前記第2データバスによる接続先に応じて、割り込みバスを切り替えて、前記第1CPUへの割り込み処理が、前記第1物理層デバイス及び前記第2物理層デバイスの両方から送られるか、前記第1物理層デバイスからのみ送られるかを前記第1CPUへ通知する割り込みバス切替ステップとを備え、
     前記データバス切替ステップ、前記制御バス切替ステップ、前記割り込みバス切替ステップは、同じトリガで実施することを特徴とする通信切替方法。
    A first CPU board on which the first CPU, the first LAN controller, and the second LAN controller are formed, and a second CPU board on which the second CPU and the third LAN controller are formed.
    A first physical layer device for communicating with the outside and a second physical layer device for communicating with the outside.
    In the communication switching method to switch the connection
    A data bus switching step of switching the connection destination of the second physical layer device to the second physical layer device by the second data bus to either the second LAN controller or the third LAN controller, and the second data bus of the second physical layer device. A control bus switching step of switching the control bus so that either one of the first LAN controller and the third LAN controller accesses the second physical layer device according to the connection destination of the second physical layer device, and the second physical layer device. The interrupt bus is switched according to the connection destination by the second data bus, and the interrupt processing to the first CPU is sent from both the first physical layer device and the second physical layer device, or the first physical layer device. It includes an interrupt bus switching step that notifies the first CPU whether it is sent only from the layer device.
    A communication switching method characterized in that the data bus switching step, the control bus switching step, and the interrupt bus switching step are performed by the same trigger.
  10.  前記データバス切替ステップ、前記制御バス切替ステップ、前記割り込みバス切替ステ
    ップの実施よりも前のタイミングで、前記データバス切替ステップにおける接続先を決定
    する前記トリガである第1信号及び第2信号を生成する切替制御ステップをさらに備え、
     前記切替制御ステップは、前記第2データバスが前記第2物理層デバイスと前記第2L
    ANコントローラとを接続状態にする指示である前記第1信号、又は、前記第2データバ
    スが前記第2物理層デバイスと前記第3LANコントローラとを接続状態にする指示であ
    る前記第2信号を生成することを特徴とする請求項9に記載の通信切替方法。
    The first signal and the second signal, which are the triggers for determining the connection destination in the data bus switching step, are generated at the timing prior to the execution of the data bus switching step, the control bus switching step, and the interrupt bus switching step. With additional switching control steps
    In the switching control step, the second data bus is the second physical layer device and the second L.
    The first signal, which is an instruction to connect the AN controller, or the second signal, which is an instruction to connect the second physical layer device and the third LAN controller, is generated by the second data bus. The communication switching method according to claim 9, wherein the communication switching method is performed.
  11.  前記切替制御ステップの実施よりも前のタイミングで、前記第2CPU基板の実装の有無を確認する実装確認ステップをさらに備え、前記切替制御ステップは、前記実装確認ステップで前記第2CPU基板が実装されていないと確認できた場合、前記第1信号のみを生成することを特徴とする請求項10に記載の通信切替方法。 A mounting confirmation step for confirming the presence or absence of mounting of the second CPU board is further provided at a timing prior to the execution of the switching control step, and the switching control step is such that the second CPU board is mounted in the mounting confirmation step. The communication switching method according to claim 10, wherein if it can be confirmed that there is no such signal, only the first signal is generated.
PCT/JP2020/037125 2019-10-02 2020-09-30 Information processing device, and communication switching method WO2021066001A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021551368A JP7052929B2 (en) 2019-10-02 2020-09-30 Information processing device and communication switching method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019181850 2019-10-02
JP2019-181850 2019-10-02

Publications (1)

Publication Number Publication Date
WO2021066001A1 true WO2021066001A1 (en) 2021-04-08

Family

ID=75336992

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/037125 WO2021066001A1 (en) 2019-10-02 2020-09-30 Information processing device, and communication switching method

Country Status (2)

Country Link
JP (1) JP7052929B2 (en)
WO (1) WO2021066001A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011086990A (en) * 2009-10-13 2011-04-28 Fuji Xerox Co Ltd Information processing apparatus and image forming apparatus
JP2013503385A (en) * 2009-08-28 2013-01-31 アドヴァンスド グリーン コンピューティング マシーンズ ‐ アイピー リミテッド High density multi-node computer with integrated shared resources

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013503385A (en) * 2009-08-28 2013-01-31 アドヴァンスド グリーン コンピューティング マシーンズ ‐ アイピー リミテッド High density multi-node computer with integrated shared resources
JP2011086990A (en) * 2009-10-13 2011-04-28 Fuji Xerox Co Ltd Information processing apparatus and image forming apparatus

Also Published As

Publication number Publication date
JP7052929B2 (en) 2022-04-12
JPWO2021066001A1 (en) 2021-04-08

Similar Documents

Publication Publication Date Title
US20200057739A1 (en) Flexible mobile device connectivity to automotive systems with usb hubs
US8700821B2 (en) Unified multi-transport medium connector architecture
US20070239919A1 (en) Communication control semiconductor device and interface system
JP3992100B2 (en) Network to increase transmission link layer core speed
CN107391419B (en) Support general sequence busbar concentrator of many host computers and automobile-used host computer
US5802333A (en) Network inter-product stacking mechanism in which stacked products appear to the network as a single device
US20120265919A1 (en) Interface device and wiring board
US20120265918A1 (en) Interface device and wiring board
EP1536343B1 (en) Universal controller for peripheral devices in a computing system
EP2497031B1 (en) Network switch
US20040019704A1 (en) Multiple processor integrated circuit having configurable packet-based interfaces
US20060059456A1 (en) Composite computer apparatus and management method thereof
JP3989376B2 (en) Communications system
CN102055634A (en) CAN node interconnection device based on optical fibers
KR19990060566A (en) Information exchange device between processes using internet
WO2021066001A1 (en) Information processing device, and communication switching method
CN112148663A (en) Data exchange chip and server
US6728772B1 (en) Automatic configuration of a channel-to-channel connection employing channel-to-channel functioning integrated within one or more channels of a computing environment
JP4346539B2 (en) Control device
JP5842491B2 (en) Relay device and communication system
US20210303496A1 (en) Actuation of data transmission lanes between states
US6859439B1 (en) Partition-to-partition communication employing a single channel path with integrated channel-to-channel function
GB2378621A (en) Method and apparatus for improving performance of a loop network by selectively bypassing redundant ports and also bypassing faulty ports
US6671740B1 (en) Integration of channel-to-channel communication capability into a communication channel of a computing environment
CN113949745A (en) Serial port/CAN-Ethernet server capable of configuring multi-channel interface and implementation method thereof

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021551368

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20871796

Country of ref document: EP

Kind code of ref document: A1