[go: up one dir, main page]

WO2022267030A1 - Switch chip and power supply method - Google Patents

Switch chip and power supply method Download PDF

Info

Publication number
WO2022267030A1
WO2022267030A1 PCT/CN2021/102456 CN2021102456W WO2022267030A1 WO 2022267030 A1 WO2022267030 A1 WO 2022267030A1 CN 2021102456 W CN2021102456 W CN 2021102456W WO 2022267030 A1 WO2022267030 A1 WO 2022267030A1
Authority
WO
WIPO (PCT)
Prior art keywords
voltage
unit
switch
frequency
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2021/102456
Other languages
French (fr)
Chinese (zh)
Inventor
张键
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2021/102456 priority Critical patent/WO2022267030A1/en
Priority to CN202180097836.6A priority patent/CN117242326A/en
Publication of WO2022267030A1 publication Critical patent/WO2022267030A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L27/00Testing or calibrating of apparatus for measuring fluid pressure
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power

Definitions

  • the present application relates to the technical field of communications, and in particular to a switching chip and a power supply method.
  • the data link layer and network layer of the open system interconnection (OSI) reference model can be used to realize the encapsulation and forwarding of network packets, traffic or data, so as to provide exclusive forwarding between any two network nodes connected to the switch path.
  • OSI open system interconnection
  • a switch chip is provided in the prior art, which uses a centralized crossbar or shared memory to exchange data, as shown in (a) in Figure 1, the centralized The cross matrix or shared cache of the chip is set in the middle of the chip, the serial (serdes) interface for receiving and sending data is set on the periphery of the switch chip, and the physical coding sublayer (physical coding sublayer) for encoding, decoding and processing data respectively coding sublayer (PCS) and processing units are placed between the serial interface and the crossbar or shared cache.
  • PCS coding sublayer
  • the PCS may include multiple receiver (RX) PCSs (represented as RXPCS1 to RXPCSn) and multiple transmit side (transmitter) PCSs (represented as TXPCS1 to TXPCSn), and the processing unit may include multiple input processing (input process) units (indicated as IP1 to IPn) and a plurality of output processing (output process, OP) units (indicated as OP1 to OPn).
  • the data stream received by interface 11 is transmitted to the cross matrix or shared buffer after being decoded by RXPCS1 and processed by IP1 in sequence.
  • the cross matrix or the shared buffer performs data exchange on the data stream, and the exchanged data stream is processed by OPn and encoded by TXPCSn in sequence, and then output from the interface 2n.
  • the above-mentioned switch chips that use a centralized cross-connect matrix or shared cache usually use a single power supply voltage power supply mode. In different business scenarios or different loads, the entire switch chip will be powered by a unified power supply voltage, resulting in the switch. The power consumption of the chip is relatively large.
  • the present application provides a switching chip and a power supply method, which are used to reduce the power consumption of the switching chip under different service scenarios or different loads.
  • a switch chip in a first aspect, includes: a switch bus and a plurality of switch slices coupled to the switch bus, that is, the switch bus is between different switch slices in the multiple switch slices , and/or establishing a forwarding path between different interfaces of the same switch slice; wherein, each switch slice in the plurality of switch slices includes a switch unit and a voltage frequency unit; the switch unit is used to pass the switch bus Perform data exchange; the voltage frequency unit is used to provide working voltage and working frequency for the switching unit alone.
  • each of the plurality of switch slices includes a switch unit and a voltage frequency unit, and the switch unit can realize the data exchange function of the switch slice through the switch bus, and the voltage frequency unit can be used
  • the switching unit is provided with operating voltage and operating frequency, that is, each switching slice can be considered as a small switching chip, and the voltage and frequency units in each switching slice can be based on the
  • the working state of the switching unit provides the corresponding working voltage and working frequency, so that when the switching slice works in different business scenarios or under different loads, it can work with different working voltages and working frequencies, so that the switching chip can meet
  • the power consumption of the switch chip can be reduced according to the power supply requirements under different business scenarios and loads.
  • the switching unit is further configured to: determine the first voltage frequency indication information according to a preset rate, the preset rate may be configured in advance, for example, the preset rate may be Configure according to the bandwidth of the switching slice; the voltage frequency unit is also used to: set the working voltage and working frequency of the switching unit according to the first voltage frequency indication information.
  • the preset rate is configured according to the bandwidth of the exchange segment.
  • the exchange unit determines the first voltage frequency indication information according to a preset rate, and the voltage frequency unit sets the operating voltage of the exchange unit according to the first voltage frequency indication information and operating frequency, the accuracy and rationality of setting the operating voltage and operating frequency of the switching unit can be improved, thereby reducing the power consumption of the switching chip.
  • the switching unit is further configured to: obtain the switching data volume of the switching slice, and determine the second voltage frequency indication information according to the switching data volume, and the switching data volume may include The sum of the amount of data that needs to be exchanged through the exchange slice may also include the sum of the amount of data to be exchanged accumulated in the exchange slice; the voltage frequency unit is also used to: adjust the exchange according to the second voltage frequency indication information The operating voltage and operating frequency of the unit.
  • the switching unit determines the second voltage corresponding to the current amount of exchanged data frequency indication information, the voltage frequency unit adjusts the operating voltage and operating frequency of the exchange unit according to the second voltage frequency indication information, so that the operating voltage and operating frequency of the exchange unit can adaptively follow the operating state of the exchange unit changes, thereby further reducing the power consumption of the switch chip.
  • the switching unit is further configured to: query a preset correspondence according to the amount of exchanged data, so as to obtain the second voltage frequency indication information; wherein, the preset correspondence is used for Indicating the voltage frequency indication information corresponding to each preset data volume range in the plurality of preset data volume ranges, the second voltage frequency indication information is the voltage frequency indication information corresponding to the preset data range where the exchange data volume is located.
  • the switching unit includes a plurality of input interfaces, an input buffer, and a first processing unit;
  • the input buffer is configured to cache the switching fragment received through the plurality of input interfaces received uplink data;
  • the first processing unit is configured to obtain a first data amount accumulated in the input buffer, and when the first data amount is greater than a preset threshold, obtain a third voltage frequency according to the first data amount Indication information;
  • the voltage frequency unit is also used for: adjusting the operating voltage and operating frequency of the first processing unit according to the third voltage frequency indication information.
  • the first processing unit in the switching unit obtains the third voltage frequency indication information according to the first data amount accumulated in the input buffer, the voltage The frequency unit adjusts the operating voltage and operating frequency of the first processing unit according to the third voltage frequency indication information, so that the operating voltage and operating frequency of the first processing unit can adaptively follow the operating state of the receiving side of the switching unit changes, thereby further reducing the power consumption of the switch chip.
  • the switching unit further includes a plurality of output interfaces and a second processing unit; the second processing subunit is configured to obtain the to-be-sent second data amount, and obtain fourth voltage frequency indication information according to the second data amount; the voltage frequency unit is also used to adjust the operating voltage and operating frequency of the second processing unit according to the fourth voltage frequency indication information.
  • the second processing unit in the switching unit acquires the fourth voltage frequency indication information according to the second data amount to be sent corresponding to the multiple output interfaces , the voltage frequency unit adjusts the operating voltage and operating frequency of the second processing unit according to the fourth voltage frequency indication information, so that the operating voltage and operating frequency of the second processing unit can adaptively follow the transmission side of the switching unit The power consumption of the switch chip is further reduced.
  • the voltage frequency unit includes a power supply unit and a clock frequency divider; the power supply unit is configured to separately provide an operating voltage for the switching unit or generate an operating voltage of the switching unit alone;
  • the clock frequency divider is used to separately provide the switching unit with an operating frequency or generate the switching unit's operating frequency.
  • the voltage frequency unit may provide the switching unit with a working voltage and a working frequency separately through a power supply unit and a clock frequency divider, thereby improving design flexibility.
  • the power supply unit includes a control unit and a power supply unit; the control unit is configured to control the power supply unit to generate the working voltage of the switching unit.
  • the power supply unit may include multiple power supply units, and the multiple power supply units may supply power to the switch slices where they are located in a partitioned power supply manner, so that the multiple power supply units can be integrated in a flexible number, And the multiple power supply units can be spliced to form a centralized power supply unit structure.
  • the power supply unit is an on-chip low-voltage linear regulator OCLDO.
  • OCLDO on-chip low-voltage linear regulator
  • the OCLDO can complete the voltage adjustment within 1 microsecond (us), thereby greatly improving the voltage adjustment speed.
  • the power supply unit can be connected to an external power supply, and the power supply unit can convert the output voltage provided by the external power supply into the working voltage of the switching unit, and the switching bus can directly pass through the external power supply Power supply
  • the switching bus is powered by an external power supply.
  • the switch chip only needs to use a unified external power supply, so that the board-level power supply can be designed as the same power supply, that is, the board-level power supply does not perceive the power supply design in the switch chip.
  • the multiple switch slices are arranged in a distributed manner; for example, the multiple switch slices are arranged in a matrix, and the switch bus includes a first switch bus and a second switch bus.
  • a switch bus, any two adjacent rows of switch slices in the multiple switch slices are coupled to the first switch bus, and any adjacent two columns of switch slices in the multiple switch slices are coupled to the second switch bus .
  • the plurality of switching slices 2 are set in a distributed manner, which can support flexible quantity expansion, and at the same time support more fine-grained design of voltage regulation and frequency regulation.
  • the plurality of switch slices are located in at least one metal layer of the switch chip, and the switch bus is an on-chip switch bus.
  • the switch bus is an on-chip switch bus.
  • a power supply method for a switch chip includes: a switch bus and a plurality of switch slices coupled to the switch bus, that is, different switch slices of the switch bus in the multiple switch slices A forwarding path is established between slices, and/or between different interfaces of the same switch slice; wherein, each switch slice in the plurality of switch slices includes a switch unit and a voltage frequency unit, and the method includes: the switch unit Data exchange is performed through the exchange bus; the voltage frequency unit provides the operating voltage and operating frequency of the exchange unit.
  • the method before the voltage frequency unit provides the switching unit with the working voltage and the working frequency, the method further includes: the switching unit determines the first voltage frequency indication information according to a preset rate,
  • the preset rate can be configured in advance, for example, the preset rate can be configured according to the bandwidth of the exchange slice; the voltage frequency unit provides the operating voltage and operating frequency of the exchange unit, including: the voltage frequency unit according to The first voltage frequency indication information sets the working voltage and working frequency of the switching unit.
  • the preset rate is configured according to the bandwidth of the exchange segment.
  • the method before the voltage frequency unit provides the switching unit with the working voltage and the working frequency, the method further includes: the switching unit obtains the switching data volume of the switching slice, and according to The amount of exchanged data determines the second voltage frequency indication information, the amount of exchanged data may include the sum of the amount of data that needs to be exchanged through the exchange slice, and may also include the sum of the amount of data to be exchanged accumulated in the exchange slice;
  • the voltage frequency unit provides the working voltage and frequency of the switching unit, including: the voltage frequency unit adjusts the working voltage and working frequency of the switching unit according to the second voltage frequency indication information.
  • the switching unit determines the second voltage frequency indication information according to the amount of exchanged data, including: querying a preset corresponding relationship according to the amount of exchanged data to obtain the second voltage frequency indication information; wherein, the preset corresponding relationship is used to indicate the voltage frequency indication information corresponding to each preset data volume range in the multiple preset data volume ranges, and the second voltage frequency indication information is the preset Set the voltage and frequency indication information corresponding to the data range.
  • the switching unit includes a plurality of input interfaces, an input buffer, and a first processing unit, and the method further includes: the input buffer caches the switching slice through the plurality of input Uplink data received by the interface; the first processing unit acquires a first data amount accumulated in the input buffer, and when the first data amount is greater than a preset threshold value, obtains a third voltage frequency indication according to the first data amount Information; the voltage frequency unit adjusts the operating voltage and operating frequency of the first processing unit according to the third voltage frequency indication information.
  • the switching unit further includes a plurality of output interfaces and a second processing unit
  • the method further includes: the second processing subunit acquires the to-be-sent data corresponding to the plurality of output interfaces second data amount, and obtain fourth voltage frequency indication information according to the second data amount; the voltage frequency unit adjusts the operating voltage and operating frequency of the second processing unit according to the fourth voltage frequency indication information.
  • a switching device in yet another aspect of the present application, where the switching device includes a switching chip, and the switching chip includes the switching chip provided in the foregoing first aspect or any possible implementation manner of the first aspect.
  • a switching system in yet another aspect of the present application, includes a plurality of switching devices, and each switching device in the plurality of switching devices includes the above-mentioned first aspect or any possible implementation of the first aspect way provided by the switch chip.
  • a computer-readable storage medium is provided. Instructions are stored in the computer-readable storage medium. When the instructions are run on a device, the device executes the above-mentioned second aspect or the second aspect.
  • a power supply method for a switch chip provided in any possible implementation manner.
  • a computer program product is provided.
  • the device is made to perform the switching provided by the above-mentioned second aspect or any possible implementation manner of the second aspect. Chip power supply method.
  • any of the power supply methods, switching devices, switching systems, computer-readable storage media, and computer program products provided above can achieve beneficial effects that can be achieved by referring to the beneficial effects of the switching chips provided above. , which will not be repeated here.
  • Fig. 1 is a schematic diagram of a switch chip provided by the prior art
  • FIG. 2 is a schematic structural diagram of a data communication network provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an n ⁇ n switching system provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a switch chip provided in an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a voltage frequency unit provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of another switch chip provided by the embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another switch chip provided in the embodiment of the present application.
  • Fig. 8 is a schematic diagram of adjusting the operating voltage and operating frequency provided by the embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another switch chip provided by the embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a method for supplying power to a switch chip provided in an embodiment of the present application.
  • FIG. 11 is a schematic flowchart of another method for supplying power to a switch chip provided by an embodiment of the present application.
  • At least one (unit) of a, b or c can represent: a, b, c, a and b, a and c, b and c or a, b and c, wherein a, b and c can be It can be single or multiple.
  • words such as "first" and "second” do not limit the quantity and order.
  • the data link layer and network layer of the open system interconnection (OSI) reference model can be used to realize the encapsulation and forwarding of network packets, traffic or data, so as to provide exclusive forwarding between any two network nodes connected to the switch path.
  • OSI open system interconnection
  • the centralized crossbar matrix or shared cache is set in the middle of the switch chip, the serial (serdes) interface for receiving and sending data is set on the periphery of the switch chip, and A physical coding sublayer (physical coding sublayer, PCS) and a processing unit for respectively encoding, decoding and processing data are arranged between the serial interface and the cross matrix or shared buffer.
  • This switch chip using a centralized cross-connect matrix or shared cache usually uses a single power supply voltage power supply mode. In different business scenarios or different loads, the entire switch chip will be powered by a unified power supply voltage, resulting in this The power consumption of the switch chip is large.
  • the present application implements and provides a switching chip, which can be a switching device such as a switch or a router, or a built-in chip of the above-mentioned switching device, and the switching chip includes a plurality of switching slices (tiles), and each switching slice With independent working voltage and working frequency, it can meet the power supply requirements under different business scenarios and different loads, thereby reducing the power consumption of the switching chip.
  • a switching chip which can be a switching device such as a switch or a router, or a built-in chip of the above-mentioned switching device, and the switching chip includes a plurality of switching slices (tiles), and each switching slice With independent working voltage and working frequency, it can meet the power supply requirements under different business scenarios and different loads, thereby reducing the power consumption of the switching chip.
  • the switch chip provided by this application can be applied in a data communication network.
  • the architecture of a typical data communication network can be a networking mode including three switching layers (that is, including an access layer, a convergence layer, and a core layer), or it can be It is a networking mode including two switching layers (that is, including the access layer and the core layer).
  • Each switch layer in the data communication network can include multiple nodes, for example, the access layer can include multiple access nodes, the convergence layer can include multiple aggregation nodes, and the core layer can include multiple Core (core) node.
  • both the access node and the aggregation node may be electrical switching nodes (also called E nodes), and the core nodes may include both electrical switching nodes and optical switching nodes (also called O nodes).
  • the downlink interface of the access node is connected to the server that needs to exchange data traffic, and its uplink interface is connected to the downlink interface of the sink node.
  • the uplink interface is connected to the core node.
  • the aggregation layer and the access layer can be divided into multiple groups (Pods), and a Pod can include multiple access nodes and multiple aggregation nodes, and each access node is fully connected to multiple aggregation nodes.
  • multiple core nodes in the core layer can be divided into multiple core planes, and each core plane is connected to different aggregation nodes in each Pod; or, multiple core nodes in the core layer do not divide core planes, and the core
  • the electrical switching nodes in the layer are connected to all the aggregation nodes, and the optical switching nodes are respectively connected to some or all of the aggregation nodes.
  • the downlink interface of the access node is connected to the server that needs to exchange data traffic, and its uplink interface is directly connected to the core node.
  • the access layer can be divided into multiple groups (Pods), and one Pod can include multiple access nodes.
  • multiple core nodes in the core layer can be divided into multiple core planes, and each core plane is connected to different access nodes in each Pod; or, multiple core nodes in the core layer do not divide core planes,
  • the electrical switching nodes in the core layer are connected to all the access nodes, and the optical switching nodes are respectively connected to some or all of the access nodes.
  • the structure of the data communication network is a hybrid networking mode including three switching layers, and the core layer is divided into multiple core planes as an example for illustration.
  • FIG. 2 is a schematic diagram of a data communication network architecture. Referring to FIG. 2 , the data communication network includes an access layer, an aggregation layer, and a core layer.
  • the data communication network includes 3 Pods, a Pod includes 3 access nodes and 4 aggregation nodes, and each core plane includes two core nodes as an example for illustration.
  • the access nodes in Figure 2 can be represented as A1 ⁇ A9
  • the aggregation nodes can be represented as B1 ⁇ B12
  • the core nodes can be represented as C1 ⁇ C8 (C1, C3, C5 and C7 are electrical switching nodes, C2, C4, C6 and C8 is an optical switching node)
  • the three Pods are denoted as P1-P3 respectively.
  • the access node A1 may send the data flow of the server it is connected to to the access node A3 through the convergence node B1.
  • each switching layer of the data communication network may also include more or fewer nodes than shown in the figure, or the data communication network may also be a network including two switching layers, or multiple nodes in the core layer A core node may or may not be divided into multiple core planes, which is not specifically limited in this embodiment of the present application.
  • n ⁇ n switching system includes n source nodes (source, S), n destination nodes (destination, D), and m core nodes (switch element, SE) at the intermediate stage.
  • Si and Di in Figure 3 are the same sink node (the value of i is from 1 to n in turn), that is, n source nodes and n destination nodes are connected to the same core plane and n sink nodes are respectively used as Nodes divided by function when sending nodes and receiving nodes.
  • Each of the n sink nodes may include multiple interfaces.
  • the multiple interfaces are input interfaces
  • the multiple interfaces are output interfaces.
  • a data communication network including three switching layers can be regarded as composed of multiple switching networks, and each switching bus adopts the same control mechanism.
  • a data communication network including two switching layers can also be regarded as composed of multiple switching systems, the difference is that n source nodes and n destination nodes are connected to the same core plane as n access nodes in The nodes that are divided according to functions when they serve as the sending node and the receiving node respectively, will not be described in detail in this embodiment of the present application.
  • the switching system shown in Figure 3 can complete the operation of switching the data packet (Packet) in the data received from S to D.
  • the data packet passes through SE, the original variable-length packet (variable-length packet) can be maintained. It can also be cut into cells by S to send, and after D receives all the cells, it can be reassembled into a complete data packet.
  • S can usually distribute received data to SEs as uniformly as possible.
  • the data packet sent by S usually carries the information of D, and the SE forwards the data packet to the corresponding D according to the carried information.
  • S receives data from outside the system through the input interface.
  • S has multiple built-in virtual output queues (virtual output queue, VOQ) for caching data going to different Ds (or for caching data going to different output interfaces of different Ds) ; or multiple VOQs correspond to finer-grained flows, that is, multiple VOQs are used to buffer data packets of flows with different granularities), and VOQs can be used to ensure end-to-end QoS.
  • VOQ virtual output queue
  • FIG. 4 is a schematic structural diagram of a switching chip provided by an embodiment of the present application, the switching chip is a switching device such as a switch or a router, or a built-in chip of the switching device.
  • the switching chip When the switching chip is applied to a data communication network, the switching chip may be a node in a different layer of the above-mentioned data communication network, or may be a built-in chip of the above-mentioned node.
  • the switch chip includes a switch bus 1 and a plurality of switch slices 2 coupled to the switch bus 1, and each switch slice 2 in the multiple switch slices 2 includes a switch unit 21 and A voltage and frequency unit 22 , the exchange unit 21 is used for data exchange through the exchange bus 1 , and the voltage and frequency unit 22 is used for independently providing the exchange unit 21 with an operating voltage and an operating frequency.
  • the switch bus 1 is coupled with the multiple switch slices 2, so that different switch slices 2 in the multiple switch slices 2 and/or different interfaces of the same switch slice 2 can be established
  • the forwarding path that is, the switch bus 1 can be used to implement data exchange between different switch slices 2 and/or data exchange between different interfaces of the same switch slice 2 .
  • the switching bus 1 may be a bridge.
  • the switching unit 21 is used to exchange data through the switching bus 1 may refer to: the switching unit 21 in one switching slice 2 can be used to send the data to be switched to another switching slice 2 through the switching bus 1, And/or, send the data to be exchanged to different interfaces of itself through the exchange bus 1 .
  • the specific structure of each switching slice 2 in the plurality of switching slices 2 can be shown in (a) in FIG. 1, that is, each switching slice 2 can include a Interfaces, units and buffers for encoding, decoding and processing data respectively.
  • the voltage and frequency unit 22 is used to provide the operating voltage and operating frequency for the switching unit 21 alone may refer to: the voltage and frequency unit 22 in a switching slice 2 can be used to separately provide the switching unit 21 in the switching slice 2 The working voltage and working frequency are provided, or the voltage frequency unit 22 can be used to independently generate the working voltage and working frequency of the switching unit 21 .
  • the voltage frequency unit 22 may also not work, that is, the switching unit 21 is no longer provided with working voltage and working frequency.
  • each switch slice 2 in the plurality of switch slices 2 includes a switch unit 21 and a voltage frequency unit 22, and the switch unit 21 can realize the switch through the switch bus 1
  • the data exchange function of the slice 2 can be used to separately provide the working voltage and the working frequency for the switching unit 21 when the switching unit 21 is working, that is, each switching slice 2 can be considered as a small switching chip
  • the voltage frequency unit 22 in each switch slice 2 can provide corresponding working voltage and working frequency according to the working state of the switch unit 21 in the switch slice 2, so that when the switch slice 2 works in different business scenarios or different
  • different operating voltages and operating frequencies can be used to work, so that the switching chip can meet the power supply requirements of different business scenarios and different loads, thereby reducing the power consumption of the switching chip.
  • the voltage frequency unit 22 may include a power supply unit 221 and a clock frequency divider 222 .
  • the power supply unit 221 can be used to provide the working voltage for the switching unit 21 or generate the working voltage of the switching unit 21 when the switching unit 21 is working;
  • the unit 21 provides the operating frequency or generates the operating frequency of the switching unit 21 .
  • the power supply unit 221 and the clock divider 222 may also not work, that is, no longer provide the switching unit 21 with an operating voltage and operating frequency.
  • the switching unit 21 can be provided with the working voltage and the working frequency separately through the power supply unit 221 and the clock frequency divider 222 .
  • the power supply unit 221 can be connected with an external power supply, and the power supply unit 221 can convert the output voltage provided by the external power supply into the working voltage of the switching unit 21, and the switching bus 1 can be directly powered by the external power supply.
  • the power supply unit 221 can be an on-chip low dropout regulator (OCLDO)
  • the switching bus 1 can be an on-chip switching bus
  • the external power supply can be an off-chip fixed voltage FIX power supply or Adaptive voltage adjustable (adaptive voltage scaling, AVS) power supply.
  • OCLDO on-chip low dropout regulator
  • AVS adaptive voltage adjustable
  • the OCLDO can complete the voltage regulation within 1 microsecond (us), thereby greatly improving the voltage Adjust the speed.
  • the switch chip only needs to use a unified external power supply, so that it can be designed as the same power supply as the board-level power supply, that is, the board-level power supply does not perceive the power supply design in the switch chip.
  • the power supply unit 221 may include a control unit and a power supply unit (power cell), and the control unit may be used to control the power supply unit to generate the working voltage of the switching unit 21.
  • the power supply unit 221 may include a plurality of power supply units, and the plurality of power supply units may supply power to the switch slice 2 where it is located in a partitioned power supply manner, so that the plurality of power supply units can realize a flexible number of power supply units.
  • the multiple power supply units can be spliced to form a centralized power supply unit structure.
  • the plurality of switching slices 2 can be arranged in a distributed manner, so as to support flexible quantity expansion, and at the same time support a finer-grained voltage regulation and frequency regulation design.
  • the plurality of switching slices 2 may be arranged in a matrix, and the switching bus 1 may include a first switching bus 11 and a second switching bus 12 coupled to each other.
  • the multiple switching slices Any two adjacent rows of switch slices 2 in 2 are coupled to the first switch bus 1 , and any two adjacent columns of switch slices 1 among the plurality of switch slices 2 are coupled to the second switch bus 2 .
  • the plurality of switch slices 2 may be located in at least one metal layer of the switch chip.
  • the at least one metal layer includes at least two metal layers
  • the plurality of exchange slices 2 may be distributed among the at least two metal layers, and the exchange slices on each metal layer of the at least two metal layers 2 can be arranged in a matrix.
  • the structure of the switch bus 1 shown in FIG. 6 above is only exemplary and does not constitute a limitation to the present application.
  • the switch bus 1 only needs to be coupled with the plurality of switch slices 2 It is enough to form a path between any two switch slices 2 in the plurality of switch slices 2, and between different interfaces of the same switch slice 2.
  • the switch bus 1 can also be as shown in FIG. 7 below. Show.
  • the switch chip is a switch chip
  • the plurality of switch slices 2 are located in a metal layer and arranged in a matrix
  • the power supply unit 221 includes a control unit and a plurality of power supply units
  • the control unit can Located on the side of the switch slice 2 close to the switch bus 1, the plurality of power supply units may be located on opposite sides of the plurality of switch slices 2, and the two sides may be perpendicular to the wiring direction in the metal layer (For example, the wiring direction in FIG. 7 may be a horizontal direction), so that the plurality of power supply units can be assisted in connecting through the wiring in the switch chip.
  • the process of the voltage frequency unit 22 independently providing the switching unit 21 with the operating voltage and operating frequency may include the following two different situations.
  • the first situation is to set the switching unit 21 when the switching unit 21 starts to work.
  • Working voltage and working frequency the second case is to adjust the working voltage and working frequency of the switching unit 21 when the working voltage and working frequency of the switching unit 21 are too high or too small.
  • the two cases are described in detail below.
  • the switching unit 21 is also used to determine the first voltage frequency indication information according to a preset rate, the The voltage frequency unit 22 is also used to set the working voltage and working frequency of the switching unit 21 according to the first voltage frequency indication information.
  • the preset rate (also referred to as a static rate) can be configured in advance, for example, the preset rate can be configured by those skilled in the art according to the bandwidth of the exchange slice 2, and the specific value of the preset rate can be It is 60%, 70% or 75% of the bandwidth of the switching slice 2, etc., which is not specifically limited in this embodiment of the present application.
  • the first voltage and frequency indication information may be used to indicate the voltage and frequency of the switching unit 21, for example, the first voltage and frequency indication information may include first voltage indication information and first frequency indication information, and the first voltage indication information may be used to Indicating the voltage of the switching unit 21 , the first frequency indication information may be used to indicate the frequency of the switching unit 21 .
  • the switching unit 21 can query the first preset corresponding relationship according to the preset rate to obtain the first voltage frequency indication information, the first preset Assuming that the corresponding relationship can include voltage and frequency indication information corresponding to each rate range in at least one rate range, the first voltage and frequency indication information is the voltage and frequency indication information corresponding to the rate range where the preset rate is located; the exchange unit 21 can Send the obtained first voltage frequency indication information to the voltage frequency unit 22, so that the voltage frequency unit 22 sets the operating voltage and operating frequency of the exchange unit 21 to the voltage and frequency indicated by the first voltage frequency indication information respectively .
  • the preset rate may include a first preset rate and a second preset rate, the first preset rate
  • the setting rate can obtain the voltage frequency indication information corresponding to the processing unit on the receiving side
  • the second preset rate can obtain the voltage frequency indication information corresponding to the processing unit on the sending side.
  • the voltage frequency unit 22 can be different according to the corresponding voltage frequency indication information.
  • the processing unit provides corresponding working voltage and working frequency.
  • first preset correspondence relationship may be pre-set and configured in the switching unit 21, at least one rate range in the first preset correspondence relationship, and each rate range in the at least one rate range
  • the voltage and frequency indication information corresponding to the range may be determined by those skilled in the art based on experience or experimental measurement, which is not specifically limited in this embodiment of the present application.
  • the switching unit 21 is also used to obtain the switching slice 21, and determine the second voltage frequency indication information according to the exchange data volume, the voltage frequency unit 22 is also used to adjust the operating voltage and operating frequency of the exchange unit 21 according to the second voltage frequency indication information.
  • the amount of exchanged data may include the sum of the amount of data that needs to be exchanged through the exchange slice 21 , and may also include the sum of the amount of data to be exchanged accumulated in the exchange slice 21 .
  • the amount of exchanged data can be obtained through statistics by the exchange segment 21. For example, the exchange segment 21 can periodically or non-periodically count all the data that needs to be exchanged through the exchange segment 21 to obtain the exchange data amount .
  • the second voltage frequency indication information can also be used to indicate the voltage and frequency of the exchange unit 21, for example, the second voltage frequency indication information can include the second voltage indication information and the second frequency indication information, and the second voltage indication information can be In order to indicate the voltage of the switching unit 21 , the second frequency indication information can be used to indicate the frequency of the switching unit 21 .
  • the switching unit 21 can Count the amount of exchanged data, and query the second preset corresponding relationship according to the amount of exchanged data to obtain the second voltage frequency indication information.
  • the second preset corresponding relationship may include each preset in a plurality of preset data amount ranges
  • the voltage frequency indication information corresponding to the data volume range, the second voltage frequency indication information is the voltage frequency indication information corresponding to the preset data volume range where the exchange data volume is located; the exchange unit 21 can send the acquired second voltage frequency indication information
  • the voltage frequency unit 22 can adjust the operating voltage and the operating frequency of the switching unit 21 respectively to the second voltage frequency indication information. Indicated voltage and frequency.
  • the above-mentioned second preset corresponding relationship may be set in advance and configured in the exchange unit 21, the multiple preset data volume ranges in the second preset corresponding relationship, and the multiple preset data ranges
  • the voltage and frequency indication information corresponding to each preset data volume range in the volume range may be determined by those skilled in the art based on experience or experimental measurement, which is not specifically limited in this embodiment of the present application.
  • the exchange unit 21 can periodically obtain the amount of exchanged data, and compare the amount of exchanged data obtained at different times; if the amount of exchanged data obtained at present is greater than the amount of exchanged data obtained last time, the exchange The unit 21 may send to the voltage frequency unit 22 first instruction information for instructing to increase the voltage frequency; when the voltage frequency unit 22 receives the first instruction information, the voltage frequency unit 22 may increase the exchange unit 21 Working voltage and working frequency; the amount of exchanged data obtained at present is less than the amount of exchanged data obtained last time, the exchange unit 21 can send the second indication information for instructing to reduce the voltage frequency to the voltage frequency unit 22; when the When the voltage frequency unit 22 receives the second indication information, the voltage frequency unit 22 may reduce the working voltage and the working frequency of the switching unit 21 .
  • the exchange unit 21 in the exchange slice 2 can count the amount of data to be exchanged internally accumulated, for example, statistics The amount of data accumulated in the buffer used for caching data; if the amount of data obtained by current statistics is greater than the amount of data obtained by last statistics (that is, the amount of data collected by statistics increases), the exchange unit 21 can send to the voltage frequency unit 22 The first instruction information for instructing to increase the voltage frequency, so that the voltage frequency unit 22 increases the operating voltage and operating frequency of the switching unit 21 (ie step-up, frequency step-up); if the current statistical data volume is less than the above The amount of data obtained by one statistics (that is, the amount of statistical data is reduced), the exchange unit 21 can send to the voltage frequency unit 22 the second indication information for indicating to reduce the voltage frequency, so that the voltage frequency unit 22 can be reduced The working voltage and working frequency of the switching unit 21 (ie step down, down frequency).
  • the switching unit 21 may include a plurality of input interfaces 211, an input buffer (ingress buffer, IB) 212 and a first A processing unit 213 .
  • the input buffer 212 is used for buffering uplink data received by the switch slice 2 through the plurality of input interfaces 211 .
  • the input buffer 212 may include a plurality of virtual output queues (virtual output queue, VOQ), when the input buffer 212 is used to buffer the uplink data received by the switching slice 2 through the plurality of input interfaces 211 , the multiple VOQs may be used to cache uplink data destined for different switch slices 2 , or for buffering uplink data destined for different interfaces of different switch slices 2 .
  • VOQ virtual output queue
  • the first processing unit 213 is configured to obtain a first data amount accumulated in the input buffer 212, and obtain third voltage frequency indication information according to the first data amount when the first data amount is greater than a preset threshold.
  • the uplink data buffered in the input buffer 212 can be scheduled and output according to a certain rate. When the rate of the scheduled output is lower than the receiving rate of the uplink data, the uplink data in the input buffer 212 will be accumulated, so that the The data amount of uplink data accumulated by the input buffer 212 within a period of time may be referred to as the first data amount.
  • the first processing unit 213 may acquire the first data amount accumulated in the input buffer 212 periodically or aperiodically, and when the first data amount is greater than a first preset threshold, according to the first data amount Acquire the third voltage frequency indication information; after that, the first processing unit 213 may send the third voltage frequency indication information to the voltage frequency unit 22 .
  • the first preset threshold can be set in advance, and the first preset value can be related to the capacity of the input buffer, for example, the first preset threshold can be the capacity of the input buffer 60%, 70% or 80%, etc., which are not specifically limited in this embodiment of the present application.
  • the specific process for the first processing unit 213 to acquire the third voltage and frequency indication information according to the first data amount may be similar to the manner in which the switching unit 2 acquires the second voltage and frequency indication information, and details will not be repeated in this embodiment of the present application.
  • the voltage frequency unit 22 is further configured to adjust the working voltage and working frequency of the first processing unit 213 according to the third voltage frequency indication information.
  • the third voltage frequency indication information can be used to indicate the voltage and frequency of the first processing unit 211, for example, the third voltage frequency indication information can include the third voltage indication information and the third frequency indication information, and the third voltage indication information can be used
  • the third frequency indication information may be used to indicate the frequency of the first processing unit 213 .
  • the voltage frequency unit 22 receives the third voltage frequency indication information, it can adjust the working voltage and frequency of the first processing unit 213 to the voltage and frequency indicated by the third voltage frequency indication information respectively.
  • the switching slice 2 may also include an ingress scheduler (ingress scheduler, ISC) 214, and the ingress scheduler 214 may be used to schedule the uplink data buffered in the input buffer 212, for example, to schedule the uplink data at a certain rate.
  • ISC ingress scheduler
  • Uplink data in multiple VOQs in the input buffer 212 are dequeued.
  • the first processing unit 213 can also be used for decoding and slicing the uplink data dequeued from the multiple VOQs of the input buffer 212 , and the processed data can be exchanged through the exchange bus 1 .
  • the ingress scheduler 214 can also determine the request amount of the VOQ to be dequeued according to the state of the VOQ (that is, the data amount of the data stream where the data cached in the VOQ is located) , and send the requested amount to the sub-shard 2 where the uplink data buffered in the VOQ goes. For example, taking the first switch segment and the second switch segment as an example, if VOQ1 in the input buffer 212 of the first switch segment is used to cache uplink data destined for the second switch segment, then the first switch segment The ingress scheduler 214 of the slice may send the request volume of VOQ1 to be dequeued to the second exchange slice.
  • the switching unit 21 may further include multiple output interfaces 215 and a second processing unit 216 .
  • the multiple output interfaces 215 are used to output downlink data.
  • the downlink data may refer to data sent to a server connected to the switch chip or to other switch chips connected to the switch chip.
  • the downlink data may be data obtained by encoding and recombining data transmitted to the switching segment in the switching network 1 .
  • the second processing unit 216 is configured to obtain a second data amount to be sent corresponding to the plurality of output interfaces 215, and obtain fourth voltage frequency indication information according to the second data amount.
  • the second data amount may refer to the data amount of all downlink data that needs to be sent through the multiple output interfaces 215, and the second processing unit 216 may acquire the second data amount, if the second data amount is greater than the second preset threshold , acquire the fourth voltage frequency indication information according to the second data amount; after that, the second processing unit 216 may send the fourth voltage frequency indication information to the voltage frequency unit 22 .
  • the second preset threshold may be set in advance, and the second preset threshold may be related to the bandwidth or output rate of the multiple output interfaces 215, and the embodiment of the present application does not make any specific numerical value for the second preset threshold. limit.
  • the specific process for the second processing unit 215 to acquire the fourth voltage and frequency indication information according to the second data volume may be similar to the manner in which the exchange unit 2 acquires the second voltage and frequency indication information, and will not be repeated in this embodiment of the present application.
  • the voltage frequency unit 22 is further configured to adjust the working voltage and the working frequency of the second processing unit 216 according to the fourth voltage frequency indication information.
  • the fourth voltage and frequency indication information may be used to indicate the voltage and frequency of the second processing unit 216, for example, the fourth voltage and frequency indication information may include fourth voltage indication information and fourth frequency indication information, and the fourth voltage indication information may be In order to indicate the voltage of the second processing unit 216 , the fourth frequency indication information may be used to indicate the frequency of the second processing unit 216 .
  • the voltage frequency unit 22 may adjust the working voltage and frequency of the second processing unit 216 to the voltage and frequency indicated by the fourth voltage frequency indication information.
  • the exchange fragment 2 may also include an egress scheduler (egress scheduler, ESC) 217 and an output buffer 218, and the output buffer 218 may include a plurality of output queues (output queue, OQ), and the plurality of OQ It can be used to cache downlink data destined for different output interfaces.
  • the egress scheduler 217 can be used to schedule the downlink data cached in the multiple OQs, for example, to schedule the downlink data in the multiple OQs to be dequeued at a certain rate.
  • the second processing unit 216 can also be configured to perform encoding and other processing on the downlink data dequeued from the multiple OQs, and the processed data can be output through the multiple output interfaces.
  • the egress scheduler 217 can also be used to receive the request amount of data going to each output interface 217 in the plurality of output interfaces 215 corresponding to the egress scheduler 217, according to the request amount of the plurality of output interfaces 215 can be The second data amount to be sent corresponding to the multiple output interfaces 215 is determined, and the second data amount is sent to the second processing unit 216, so that the second processing unit 216 can obtain the second data amount.
  • each switching slice 2 in the plurality of switching slices 2 includes an ingress scheduler 214 and an egress scheduler 217
  • the exchange can be performed between the egress schedulers 217 in 2
  • the interaction process can include: the ingress scheduler 214 in the source exchange segment 2 can send the request volume of each VOQ to be dequeued to the corresponding destination exchange segment 2 the egress scheduler 217 in the destination switch slice 2; the egress scheduler 217 in the destination switch slice 2 can perform output scheduling according to a preset rate, and can also send response information ACK to the ingress scheduler 214 in the source switch slice 2; when the When the ingress scheduler 214 in the source switching segment 2 receives the acknowledgment information ACK, the ingress scheduler 214 may also perform dequeue scheduling for multiple VOQs at a preset rate.
  • an average power consumption benefit of 10% to 15% can be achieved in a non-maximum bandwidth scenario; at the same time Since the working voltage and working frequency of each switching slice 2 in the plurality of switching slices 2 are set and adjusted independently of each other, the short plank effect of the minimum working voltage can be avoided, and a power consumption gain of about 1% can be realized. In addition, by independently setting or adjusting the operating voltage and operating frequency of each switch slice 2, the ripple of the operating voltage can be effectively improved, the minimum ripple voltage can be reduced, and a power consumption gain of about 1% can be achieved.
  • the voltage frequency unit 22 in each of the multiple switch slices 2 can set or adjust the operating voltage and Working frequency, in order to realize the self-adaptive adjustment of the operating voltage and operating frequency of the switching slice 2, that is, when the switching slice 2 works in different business scenarios or under different loads, the switching slice 2 can be The operating voltage and operating frequency corresponding to the business scenario or load are provided, so that the switching chip can meet the power supply requirements under different business scenarios and different loads, thereby reducing the power consumption of the switching chip.
  • FIG 10 is a schematic flowchart of a power supply method for a switch chip provided by an embodiment of the present application.
  • the switch chip can be any switch chip provided above, and the switch chip includes a switch bus and a plurality of switches coupled to the switch bus.
  • Switch slices, each of the multiple switch slices includes a switch unit and a voltage frequency unit, and the method includes the following steps.
  • S301 The switching unit performs data switching through the switching bus.
  • the switch bus is coupled with the multiple switch slices, so that forwarding paths can be established between different switch slices in the multiple switch slices, and/or between different interfaces of the same switch slice, that is, Yes, the switch bus can be used to implement data exchange between different switch slices, and/or data exchange between different interfaces of the same switch slice.
  • the switching bus may be a bridge.
  • the switch unit is used to perform data exchange through the switch bus may refer to: the switch unit in one switch slice can be used to send the data to be switched to another switch slice through the switch bus, and/or, through the switch The bus sends the data to be exchanged to its various interfaces.
  • the voltage and frequency unit provides the working voltage and working frequency of the switching unit.
  • the voltage frequency unit in an exchange slice can provide the operating voltage and operating frequency for the exchange units in the exchange slice, and it can also be called that the voltage frequency unit can generate the operating voltage and operating frequency of the exchange unit.
  • the voltage frequency unit may also not work, that is, the switching unit is no longer provided with working voltage and working frequency.
  • the process of the voltage frequency unit providing the working voltage and working frequency of the switching unit may include the following two different cases, the first case is setting the working voltage and working frequency of the switching unit when the switching unit starts to work , the second case is to adjust the working voltage and frequency of the switching unit when the working voltage and working frequency of the switching unit are too high or too low.
  • the two cases are described in detail below.
  • the switch unit determines the first voltage frequency indication information according to the preset rate, and the voltage frequency unit determines the first voltage frequency indication information according to the first voltage
  • the frequency indication information sets the working voltage and working frequency of the switching unit.
  • the switching unit can query the first preset corresponding relationship according to the preset rate to obtain the first voltage frequency indication information, the first preset corresponding relationship may include the voltage frequency indication information corresponding to each rate range in at least one rate range, the first voltage frequency indication information is the voltage frequency indication information corresponding to the rate range in which the preset rate is located; the exchange unit may acquire the second A voltage frequency indication information is sent to the voltage frequency unit, so that the voltage frequency unit sets the operating voltage and frequency of the switching unit to the voltage and frequency indicated by the first voltage frequency indication information respectively.
  • the switching unit is also used to obtain the exchange data volume of the switching slice , and determine the second voltage frequency indication information according to the amount of exchanged data, and the voltage frequency unit is also used to adjust the operating voltage and operating frequency of the exchange unit according to the second voltage frequency indication information.
  • the amount of exchanged data may include the sum of the amount of data that needs to be exchanged through the exchange segment, or the sum of the amount of data to be exchanged accumulated in the exchange segment.
  • the amount of exchanged data can be obtained by statistics of the exchange segment. For example, the exchange segment can periodically or aperiodically count all the amount of data that needs to be exchanged through the exchange segment 21 to obtain the amount of exchanged data.
  • the exchange unit can count the exchange data volume, and query the second preset corresponding relationship according to the exchanged data volume to obtain the second voltage frequency indication information, the second preset corresponding relationship may include each preset data volume range in a plurality of preset data volume ranges
  • the corresponding voltage frequency indication information, the second voltage frequency indication information is the voltage frequency indication information corresponding to the preset data volume range where the exchange data volume is located;
  • the exchange unit can send the obtained second voltage frequency indication information to the voltage frequency unit, when the voltage frequency unit receives the second voltage frequency indication information, the voltage frequency unit can adjust the working voltage and frequency of the switching unit to the voltage and frequency indicated by the second voltage frequency indication information respectively.
  • the above-mentioned second preset correspondence relationship may be pre-set and configured in the switching unit, the multiple preset data volume ranges in the second preset correspondence relationship, and the multiple preset data volume ranges
  • the voltage and frequency indication information corresponding to each preset data volume range in the range may be determined by those skilled in the art based on experience or experimental measurement, which is not specifically limited in this embodiment of the present application.
  • the switching unit includes multiple input interfaces, an input buffer, and a first processing unit. As shown in FIG. 11 , the method includes S311-S313.
  • S311 The input buffer buffers the uplink data received by the switching slice through the multiple input interfaces.
  • the input buffer may include a plurality of virtual output queues (virtual output queue, VOQ). It can be used to cache uplink data destined for different switch shards, or to cache uplink data destined for different interfaces of different switch shards.
  • VOQ virtual output queue
  • the first processing unit acquires a first data amount accumulated in the input buffer, and when the first data amount is greater than a preset threshold, acquires third voltage frequency indication information according to the first data amount.
  • the uplink data buffered in the input buffer can be scheduled for output according to a certain rate.
  • the rate of the scheduled output is less than the receiving rate of the uplink data
  • the uplink data in the input buffer will be accumulated, so that the input buffer is in
  • the data amount of uplink data accumulated within a period of time may be the first data amount.
  • the first processing unit may obtain the first data amount accumulated in the input buffer, and when the first data amount is greater than the first preset threshold, obtain the third voltage frequency indication information according to the first data amount, and then the third voltage The frequency indication information is sent to the voltage frequency unit.
  • the voltage frequency unit adjusts the working voltage and the working frequency of the first processing unit according to the third voltage frequency indication information.
  • the third voltage frequency indication information may be used to indicate the voltage and frequency of the first processing unit.
  • the voltage frequency unit receives the third voltage frequency indication information, it can adjust the working voltage and frequency of the first processing unit to the voltage and frequency indicated by the third voltage frequency indication information respectively.
  • the switching slice may further include an ingress scheduler, which can be used to schedule the uplink data buffered in the input buffer, for example, to schedule the uplink data in the multiple VOQs in the input buffer at a certain rate Uplink data is dequeued.
  • the first processing unit can also be used for decoding and slicing the uplink data dequeued from the multiple VOQs of the input buffer, and the processed data can be exchanged through the exchange bus.
  • the ingress scheduler can also determine the request volume of the VOQ to be dequeued according to the state of the VOQ (that is, the data volume of the data stream where the data cached in the VOQ is located), And send the request to the sub-shard to which the uplink data buffered in the VOQ goes. For example, taking the first switching fragment and the second switching fragment as an example, if VOQ1 in the input buffer of the first switching fragment is used to buffer uplink data destined for the second switching fragment, then the first switching fragment The ingress scheduler of VOQ1 can send the request quantity to be dequeued to the second exchange segment.
  • the switching unit further includes a plurality of output interfaces and a second processing unit.
  • the method may further include S314-S315.
  • S314-S315 and S311-S313 may be in no particular order.
  • S314-S315 is located after S311-S313 as an example for illustration.
  • the second processing subunit acquires a second amount of data to be sent corresponding to the multiple output interfaces, and acquires fourth voltage frequency indication information according to the second amount of data.
  • the multiple output interfaces can be used to output downlink data.
  • the downlink data may refer to data sent to a server connected to the switch chip or to other switch chips connected to the switch chip.
  • the downlink data may be data obtained by encoding and recombining data transmitted to the switching segment in the switching network.
  • the second data volume may refer to the data volume of all downlink data that needs to be sent through the multiple output interfaces, and the second processing unit may obtain the second data volume, and if the second data volume is greater than the second preset threshold, according to the second The data amount acquires the fourth voltage frequency indication information; after that, the second processing unit may send the fourth voltage frequency indication information to the voltage frequency unit.
  • the voltage frequency unit adjusts the working voltage and the working frequency of the second processing unit according to the fourth voltage frequency indication information.
  • the fourth voltage frequency indication information can be used to indicate the voltage and frequency of the second processing unit, and when the voltage frequency unit receives the fourth voltage frequency indication information, it can adjust the operating voltage and operating frequency of the second processing unit to the first Four voltages and frequencies indicate the voltage and frequency indicated by the information.
  • each of the plurality of switch slices includes a switch unit and a voltage frequency unit
  • the switch unit can realize the data exchange function of the switch slice through the switch bus
  • the voltage frequency unit can provide a working voltage and a working frequency for the switching unit when the switching unit is working, so that the voltage frequency unit can provide a corresponding working voltage and working frequency according to the working state of the switching unit in the switching slice, so when
  • the switch slice works in different business scenarios or under different loads, it can work with different operating voltages and operating frequencies, so that the switch chip can meet the power supply requirements of different business scenarios and different loads, thereby reducing the cost of the switch. power consumption of the chip.
  • a switching device in yet another aspect of the present application, includes a switching chip, and the switching chip includes any switching chip provided in the above device embodiments.
  • a switching system in still another aspect of the present application, includes a plurality of switching devices, and each switching device in the plurality of switching devices includes any one of the switching chips provided in the above apparatus embodiments.
  • a computer-readable storage medium is provided. Instructions are stored in the computer-readable storage medium. When the instructions are run on a device, the device is made to perform any one of the methods provided by the above-mentioned method embodiments. The power supply method of the switch chip.
  • a computer program product is provided.
  • the device is made to execute any one of the methods for supplying power to a switch chip provided in the foregoing method embodiments.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Sources (AREA)

Abstract

The present application relates to the technical field of communications, and provides a switch chip and a power supply method, used for reducing power consumption of the switch chip. The switch chip comprises: a switch bus and a plurality of switch slices coupled to the switch bus. That is, the switch bus establishes a forwarding path between different switch slices of the plurality of switch slices and/or between different interfaces of the same switch slice. Each of the plurality of switch slices comprises a switch unit and a voltage frequency unit, the switch unit is configured to exchange data by means of the switch bus, and the voltage frequency unit is configured to separately provide an operating voltage and an operating frequency for the switch unit.

Description

一种交换芯片及供电方法A switching chip and power supply method 技术领域technical field

本申请涉及通信技术领域,尤其涉及一种交换芯片及供电方法。The present application relates to the technical field of communications, and in particular to a switching chip and a power supply method.

背景技术Background technique

随着通信网络中用户数据的不断增加,通信网络也变得越来越复杂,需要通过交换机实现不同网络节点之间的通信,而交换芯片作为交换机中的交换硬件,工作在开放式系统互联(open system interconnection,OSI)参考模型的数据链路层和网络层,可用于实现网络报文、流量或数据的封装和转发,以为接入该交换机的任意两个网络节点之间提供独享的转发通路。With the continuous increase of user data in the communication network, the communication network is becoming more and more complex, and the communication between different network nodes needs to be realized through the switch, and the switching chip is used as the switching hardware in the switch, working in the open system interconnection ( The data link layer and network layer of the open system interconnection (OSI) reference model can be used to realize the encapsulation and forwarding of network packets, traffic or data, so as to provide exclusive forwarding between any two network nodes connected to the switch path.

现有技术中提供了一种交换芯片,该交换芯片采用集中式的交叉矩阵(crossbar)或共享缓存(share memory)来实现数据的交换,如图1中的(a)所示,该集中式的交叉矩阵或共享缓存设置在芯片中间,用于接收和发送数据的串行(serdes)接口设置在该交换芯片的外围,以及用于分别对数据进行编解码和处理的物理编码子层(physical coding sublayer,PCS)和处理单元设置在串行接口与交叉矩阵或共享缓存之间。图1中(b)示出了该网络交换芯片的逻辑图,该串行接口包括多个输入接口(表示为接口11至接口1n)和多个输出接口(表示为接口21至接口2n),PCS可以包括多个接收侧(receiver,RX)PCS(表示为RXPCS1至RXPCSn)和多个发送侧(transmitter)PCS(表示为TXPCS1至TXPCSn),处理单元可以包括多个输入处理(input process)单元(表示为IP1至IPn)和多个输出处理(output process,OP)单元(表示为OP1至OPn)。在进行数据交换时,以接口11接收到的数据交换至接口2n输出为例,该接口11接收到的数据流在依次经过RXPCS1的解码和IP1的处理后被传输至该交叉矩阵或共享缓存,该交叉矩阵或共享缓存对该数据流进行数据交换,交换后的数据流再依次通过OPn的处理和TXPCSn的编码后从接口2n输出。A switch chip is provided in the prior art, which uses a centralized crossbar or shared memory to exchange data, as shown in (a) in Figure 1, the centralized The cross matrix or shared cache of the chip is set in the middle of the chip, the serial (serdes) interface for receiving and sending data is set on the periphery of the switch chip, and the physical coding sublayer (physical coding sublayer) for encoding, decoding and processing data respectively coding sublayer (PCS) and processing units are placed between the serial interface and the crossbar or shared cache. (b) in Fig. 1 shows the logical diagram of this network switching chip, and this serial interface comprises a plurality of input interfaces (expressed as interface 11 to interface 1n) and a plurality of output interfaces (expressed as interface 21 to interface 2n), The PCS may include multiple receiver (RX) PCSs (represented as RXPCS1 to RXPCSn) and multiple transmit side (transmitter) PCSs (represented as TXPCS1 to TXPCSn), and the processing unit may include multiple input processing (input process) units (indicated as IP1 to IPn) and a plurality of output processing (output process, OP) units (indicated as OP1 to OPn). During data exchange, take the data received by interface 11 as an example to be output by interface 2n, the data stream received by interface 11 is transmitted to the cross matrix or shared buffer after being decoded by RXPCS1 and processed by IP1 in sequence. The cross matrix or the shared buffer performs data exchange on the data stream, and the exchanged data stream is processed by OPn and encoded by TXPCSn in sequence, and then output from the interface 2n.

上述采用集中式的交叉矩阵或共享缓存的交换芯片,通常采用单电源电压供电方式,在不同业务场景或者不同负载的情况下,都会通过统一的电源电压对整个交换芯片进行供电,从而导致该交换芯片的功耗较大。The above-mentioned switch chips that use a centralized cross-connect matrix or shared cache usually use a single power supply voltage power supply mode. In different business scenarios or different loads, the entire switch chip will be powered by a unified power supply voltage, resulting in the switch. The power consumption of the chip is relatively large.

发明内容Contents of the invention

本申请提供一种交换芯片及供电方法,用于在不同业务场景或者不同负载的情况下,降低该交换芯片的功耗。The present application provides a switching chip and a power supply method, which are used to reduce the power consumption of the switching chip under different service scenarios or different loads.

第一方面,提供一种交换芯片,该交换芯片包括:交换总线、以及与该交换总线耦合的多个交换分片,即该交换总线在该多个交换分片中的不同交换分片之间、和/或同一交换分片的不同接口之间建立转发通路;其中,该多个交换分片中的每个交换分片包括交换单元和电压频率单元;该交换单元,用于通过该交换总线进行数据交换;该电压频率单元,用于单独为该交换单元提供工作电压和工作频率。In a first aspect, a switch chip is provided, and the switch chip includes: a switch bus and a plurality of switch slices coupled to the switch bus, that is, the switch bus is between different switch slices in the multiple switch slices , and/or establishing a forwarding path between different interfaces of the same switch slice; wherein, each switch slice in the plurality of switch slices includes a switch unit and a voltage frequency unit; the switch unit is used to pass the switch bus Perform data exchange; the voltage frequency unit is used to provide working voltage and working frequency for the switching unit alone.

上述技术方案中,该多个交换分片中的每个交换分片均包括交换单元和电压频率单元,该交换单元可通过该交换总线实现该交换分片的数据交换功能,该电压频率单元可用 于在该交换单元工作时为该交换单元提供工作电压和工作频率,即每个交换分片可以认为是一个小型的交换芯片,每个交换分片中的电压频率单元可以根据该交换分片中交换单元的工作状态提供相应的工作电压和工作频率,从而当该交换分片工作在不同业务场景或不同负载下时,可以使用不同的工作电压和工作频率进行工作,进而使得该交换芯片可以满足不同业务场景和不同负载下的供电需求,从而降低了该交换芯片的功耗。In the above technical solution, each of the plurality of switch slices includes a switch unit and a voltage frequency unit, and the switch unit can realize the data exchange function of the switch slice through the switch bus, and the voltage frequency unit can be used When the switching unit is working, the switching unit is provided with operating voltage and operating frequency, that is, each switching slice can be considered as a small switching chip, and the voltage and frequency units in each switching slice can be based on the The working state of the switching unit provides the corresponding working voltage and working frequency, so that when the switching slice works in different business scenarios or under different loads, it can work with different working voltages and working frequencies, so that the switching chip can meet The power consumption of the switch chip can be reduced according to the power supply requirements under different business scenarios and loads.

在第一方面的一种可能的实现方式中,该交换单元还用于:根据预设速率确定第一电压频率指示信息,该预设速率可以是事先配置的,比如,该预设速率可以是根据该交换分片的带宽进行配置;该电压频率单元还用于:根据该第一电压频率指示信息设置该交换单元的工作电压和工作频率。可选的,该预设速率是根据该交换分片的带宽配置的。上述可能的实现方式中,当该交换单元开始工作时,该交换单元通过根据预设速率确定第一电压频率指示信息,该电压频率单元根据该第一电压频率指示信息设置该交换单元的工作电压和工作频率,可以提高该交换单元的工作电压和工作频率设置的准确性和合理性,从而降低了该交换芯片的功耗。In a possible implementation manner of the first aspect, the switching unit is further configured to: determine the first voltage frequency indication information according to a preset rate, the preset rate may be configured in advance, for example, the preset rate may be Configure according to the bandwidth of the switching slice; the voltage frequency unit is also used to: set the working voltage and working frequency of the switching unit according to the first voltage frequency indication information. Optionally, the preset rate is configured according to the bandwidth of the exchange segment. In the above possible implementation manner, when the exchange unit starts to work, the exchange unit determines the first voltage frequency indication information according to a preset rate, and the voltage frequency unit sets the operating voltage of the exchange unit according to the first voltage frequency indication information and operating frequency, the accuracy and rationality of setting the operating voltage and operating frequency of the switching unit can be improved, thereby reducing the power consumption of the switching chip.

在第一方面的一种可能的实现方式中,该交换单元还用于:获取该交换分片的交换数据量,并根据该交换数据量确定第二电压频率指示信息,该交换数据量可以包括需要通过该交换分片交换的数据量的总和,也可以包括该交换分片中累积的待交换的数据量的总和;该电压频率单元还用于:根据该第二电压频率指示信息调节该交换单元的工作电压和工作频率。上述可能的实现方式中,当该交换单元的工作电压和工作频率过大或过小,与该交换单元的工作状态不匹配时,该交换单元通过确定与当前的交换数据量对应的第二电压频率指示信息,该电压频率单元根据该第二电压频率指示信息调节该交换单元的工作电压和工作频率,可以使得该交换单元的工作电压和工作频率可以自适应地跟随该交换单元的工作状态的变化而变化,从而进一步降低了该交换芯片的功耗。In a possible implementation manner of the first aspect, the switching unit is further configured to: obtain the switching data volume of the switching slice, and determine the second voltage frequency indication information according to the switching data volume, and the switching data volume may include The sum of the amount of data that needs to be exchanged through the exchange slice may also include the sum of the amount of data to be exchanged accumulated in the exchange slice; the voltage frequency unit is also used to: adjust the exchange according to the second voltage frequency indication information The operating voltage and operating frequency of the unit. In the above possible implementation manner, when the working voltage and frequency of the switching unit are too large or too small to match the working state of the switching unit, the switching unit determines the second voltage corresponding to the current amount of exchanged data frequency indication information, the voltage frequency unit adjusts the operating voltage and operating frequency of the exchange unit according to the second voltage frequency indication information, so that the operating voltage and operating frequency of the exchange unit can adaptively follow the operating state of the exchange unit changes, thereby further reducing the power consumption of the switch chip.

在第一方面的一种可能的实现方式中,该交换单元还用于:根据该交换数据量查询预设对应关系,以获取该第二电压频率指示信息;其中,该预设对应关系用于指示多个预设数据量范围中的每个预设数据量范围对应的电压频率指示信息,该第二电压频率指示信息为该交换数据量所在的预设数据范围对应的电压频率指示信息。上述可能的实现方式中,提供了一种简单、有效地确定该第二电压频率指示信息的方式。In a possible implementation manner of the first aspect, the switching unit is further configured to: query a preset correspondence according to the amount of exchanged data, so as to obtain the second voltage frequency indication information; wherein, the preset correspondence is used for Indicating the voltage frequency indication information corresponding to each preset data volume range in the plurality of preset data volume ranges, the second voltage frequency indication information is the voltage frequency indication information corresponding to the preset data range where the exchange data volume is located. In the foregoing possible implementation manner, a simple and effective manner for determining the second voltage frequency indication information is provided.

在第一方面的一种可能的实现方式中,该交换单元包括多个输入接口、输入缓冲器和第一处理单元;该输入缓冲器,用于缓存该交换分片通过该多个输入接口接收到的上行数据;该第一处理单元,用于获取该输入缓冲器中累积的第一数据量,并在该第一数据量大于预设阈值时,根据该第一数据量获取第三电压频率指示信息;该电压频率单元还用于:根据该第三电压频率指示信息调节该第一处理单元的工作电压和工作频率。上述可能的实现方式中,当该交换单元用于接收上行数据时,该交换单元中的第一处理单元通过根据该输入缓冲器中累积的第一数据量获取第三电压频率指示信息,该电压频率单元根据该第三电压频率指示信息调节该第一处理单元的工作电压和工作频率,从而使得该第一处理单元的工作电压和工作频率可以自适应地跟随该交换单元的接收侧工作状态的变化而变化,从而进一步降低了该交换芯片的功耗。In a possible implementation manner of the first aspect, the switching unit includes a plurality of input interfaces, an input buffer, and a first processing unit; the input buffer is configured to cache the switching fragment received through the plurality of input interfaces received uplink data; the first processing unit is configured to obtain a first data amount accumulated in the input buffer, and when the first data amount is greater than a preset threshold, obtain a third voltage frequency according to the first data amount Indication information; the voltage frequency unit is also used for: adjusting the operating voltage and operating frequency of the first processing unit according to the third voltage frequency indication information. In the above possible implementation manner, when the switching unit is used to receive uplink data, the first processing unit in the switching unit obtains the third voltage frequency indication information according to the first data amount accumulated in the input buffer, the voltage The frequency unit adjusts the operating voltage and operating frequency of the first processing unit according to the third voltage frequency indication information, so that the operating voltage and operating frequency of the first processing unit can adaptively follow the operating state of the receiving side of the switching unit changes, thereby further reducing the power consumption of the switch chip.

在第一方面的一种可能的实现方式中,该交换单元还包括多个输出接口和第二处理单元;该第二处理子单元,用于获取该多个输出接口对应的待发送的第二数据量,并根据该 第二数据量获取第四电压频率指示信息;该电压频率单元,还用于根据该第四电压频率指示信息调节该第二处理单元的工作电压和工作频率。上述可能的实现方式中,当该交换单元用于输出下行数据时,该交换单元中的第二处理单元通过根据该多个输出接口对应的待发送的第二数据量获取第四电压频率指示信息,该电压频率单元根据该第四电压频率指示信息调节该第二处理单元的工作电压和工作频率,从而使得该第二处理单元的工作电压和工作频率可以自适应地跟随该交换单元的发送侧工作状态的变化而变化,从而进一步降低了该交换芯片的功耗。In a possible implementation manner of the first aspect, the switching unit further includes a plurality of output interfaces and a second processing unit; the second processing subunit is configured to obtain the to-be-sent second data amount, and obtain fourth voltage frequency indication information according to the second data amount; the voltage frequency unit is also used to adjust the operating voltage and operating frequency of the second processing unit according to the fourth voltage frequency indication information. In the above possible implementation manner, when the switching unit is used to output downlink data, the second processing unit in the switching unit acquires the fourth voltage frequency indication information according to the second data amount to be sent corresponding to the multiple output interfaces , the voltage frequency unit adjusts the operating voltage and operating frequency of the second processing unit according to the fourth voltage frequency indication information, so that the operating voltage and operating frequency of the second processing unit can adaptively follow the transmission side of the switching unit The power consumption of the switch chip is further reduced.

在第一方面的一种可能的实现方式中,该电压频率单元包括电源单元和时钟分频器;该电源单元,用于单独为该交换单元提供工作电压或者单独产生该交换单元的工作电压;该时钟分频器,用于单独为该交换单元提供工作频率或者单独产生该交换单元的工作频率。可选的,当该交换单元不工作时,该电源单元和该时钟分频器也可以不工作,即不再为该交换单元提供工作电压和工作频率。上述可能的实现方式中,该电压频率单元可以通过电源单元和时钟分频器为该交换单元分开提供工作电压和工作频率,从而提高设计灵活性。In a possible implementation manner of the first aspect, the voltage frequency unit includes a power supply unit and a clock frequency divider; the power supply unit is configured to separately provide an operating voltage for the switching unit or generate an operating voltage of the switching unit alone; The clock frequency divider is used to separately provide the switching unit with an operating frequency or generate the switching unit's operating frequency. Optionally, when the switching unit is not working, the power supply unit and the clock divider may also not work, that is, the switching unit no longer provides the working voltage and frequency. In the foregoing possible implementation manner, the voltage frequency unit may provide the switching unit with a working voltage and a working frequency separately through a power supply unit and a clock frequency divider, thereby improving design flexibility.

在第一方面的一种可能的实现方式中,该电源单元包括控制单元和供电单元;该控制单元,用于控制该供电单元产生该交换单元的工作电压。在实际应用中,该电源单元中可以包括多个供电单元,该多个供电单元可以通过分区供电的方式为其所在的交换分片进行供电,这样该多个供电单元可以实现灵活数量的集成,且该多个供电单元可拼接呈集中式供电单元结构。In a possible implementation manner of the first aspect, the power supply unit includes a control unit and a power supply unit; the control unit is configured to control the power supply unit to generate the working voltage of the switching unit. In practical applications, the power supply unit may include multiple power supply units, and the multiple power supply units may supply power to the switch slices where they are located in a partitioned power supply manner, so that the multiple power supply units can be integrated in a flexible number, And the multiple power supply units can be spliced to form a centralized power supply unit structure.

在第一方面的一种可能的实现方式中,该电源单元为片上低压线性稳压器OCLDO。通过使用该OCLDO为该交换单元提供工作电压时,可以实现该工作电压的快速调节,通常该OCLDO可在1微秒(us)内完成调压,从而大大提高了电压调节速度。In a possible implementation manner of the first aspect, the power supply unit is an on-chip low-voltage linear regulator OCLDO. When the OCLDO is used to provide the switching unit with an operating voltage, the operating voltage can be quickly adjusted. Usually, the OCLDO can complete the voltage adjustment within 1 microsecond (us), thereby greatly improving the voltage adjustment speed.

在第一方面的一种可能的实现方式中,该电源单元可以与外部电源连接,该电源单元可以将外部电源提供的输出电压转换为该交换单元的工作电压,该交换总线可以直接通过外部电源供电该交换总线通过外部电源供电。上述可能的实现方式中,该交换芯片只需使用一个统一的外部电源,从而与板级的电源可以设计为同一电源,即板级的电源不感知该交换芯片中的电源设计。In a possible implementation of the first aspect, the power supply unit can be connected to an external power supply, and the power supply unit can convert the output voltage provided by the external power supply into the working voltage of the switching unit, and the switching bus can directly pass through the external power supply Power supply The switching bus is powered by an external power supply. In the above possible implementation, the switch chip only needs to use a unified external power supply, so that the board-level power supply can be designed as the same power supply, that is, the board-level power supply does not perceive the power supply design in the switch chip.

在第一方面的一种可能的实现方式中,该多个交换分片呈分布式设置;示例性的,该多个交换分片呈矩阵式排列,该交换总线包括第一交换总线和第二交换总线,该多个交换分片中任意相邻的两行交换分片与该第一交换总线耦合,该多个交换分片中任意相邻的两列交换分片与该第二交换总线耦合。上述可能的实现方式中,该多个交换分片2呈分布式设置,这样可以支持灵活数量的扩展,同时支持更细粒度的调压调频的设计。In a possible implementation of the first aspect, the multiple switch slices are arranged in a distributed manner; for example, the multiple switch slices are arranged in a matrix, and the switch bus includes a first switch bus and a second switch bus. A switch bus, any two adjacent rows of switch slices in the multiple switch slices are coupled to the first switch bus, and any adjacent two columns of switch slices in the multiple switch slices are coupled to the second switch bus . In the above possible implementation manners, the plurality of switching slices 2 are set in a distributed manner, which can support flexible quantity expansion, and at the same time support more fine-grained design of voltage regulation and frequency regulation.

在第一方面的一种可能的实现方式中,该多个交换分片位于该交换芯片的至少一金属层中,该交换总线为片上交换总线。上述可能的实现方式中,当该多个交换分片位于该交换芯片的至少两层金属层时,可以减小该多个交换分片的面积。In a possible implementation manner of the first aspect, the plurality of switch slices are located in at least one metal layer of the switch chip, and the switch bus is an on-chip switch bus. In the above possible implementation manner, when the multiple switch slices are located on at least two metal layers of the switch chip, the area of the multiple switch slices can be reduced.

第二方面,提供一种交换芯片的供电方法,该交换芯片包括:交换总线、以及与该交换总线耦合的多个交换分片,即该交换总线在该多个交换分片中的不同交换分片之间、和/或同一交换分片的不同接口之间建立转发通路;其中,该多个交换分片中的每个交换分片包括交换单元和电压频率单元,该方法包括:该交换单元通过该交换总线进行数据交换; 该电压频率单元提供该交换单元的工作电压和工作频率。In a second aspect, a power supply method for a switch chip is provided. The switch chip includes: a switch bus and a plurality of switch slices coupled to the switch bus, that is, different switch slices of the switch bus in the multiple switch slices A forwarding path is established between slices, and/or between different interfaces of the same switch slice; wherein, each switch slice in the plurality of switch slices includes a switch unit and a voltage frequency unit, and the method includes: the switch unit Data exchange is performed through the exchange bus; the voltage frequency unit provides the operating voltage and operating frequency of the exchange unit.

在第二方面的一种可能的实现方式中,该电压频率单元单独为该交换单元提供工作电压和工作频率之前,该方法还包括:该交换单元根据预设速率确定第一电压频率指示信息,该预设速率可以是事先配置的,比如,该预设速率可以是根据该交换分片的带宽进行配置;该电压频率单元提供该交换单元的工作电压和工作频率,包括:该电压频率单元根据该第一电压频率指示信息设置该交换单元的工作电压和工作频率。可选的,该预设速率是根据该交换分片的带宽配置的。In a possible implementation manner of the second aspect, before the voltage frequency unit provides the switching unit with the working voltage and the working frequency, the method further includes: the switching unit determines the first voltage frequency indication information according to a preset rate, The preset rate can be configured in advance, for example, the preset rate can be configured according to the bandwidth of the exchange slice; the voltage frequency unit provides the operating voltage and operating frequency of the exchange unit, including: the voltage frequency unit according to The first voltage frequency indication information sets the working voltage and working frequency of the switching unit. Optionally, the preset rate is configured according to the bandwidth of the exchange segment.

在第二方面的一种可能的实现方式中,该电压频率单元单独为该交换单元提供工作电压和工作频率之前,该方法还包括:该交换单元获取该交换分片的交换数据量,并根据该交换数据量确定第二电压频率指示信息,该交换数据量可以包括需要通过该交换分片交换的数据量的总和,也可以包括该交换分片中累积的待交换的数据量的总和;该电压频率单元提供该交换单元的工作电压和工作频率,包括:该电压频率单元根据该第二电压频率指示信息调节该交换单元的工作电压和工作频率。In a possible implementation manner of the second aspect, before the voltage frequency unit provides the switching unit with the working voltage and the working frequency, the method further includes: the switching unit obtains the switching data volume of the switching slice, and according to The amount of exchanged data determines the second voltage frequency indication information, the amount of exchanged data may include the sum of the amount of data that needs to be exchanged through the exchange slice, and may also include the sum of the amount of data to be exchanged accumulated in the exchange slice; The voltage frequency unit provides the working voltage and frequency of the switching unit, including: the voltage frequency unit adjusts the working voltage and working frequency of the switching unit according to the second voltage frequency indication information.

在第二方面的一种可能的实现方式中,该交换单元根据该交换数据量确定第二电压频率指示信息,包括:根据该交换数据量查询预设对应关系,以获取该第二电压频率指示信息;其中,该预设对应关系用于指示多个预设数据量范围中的每个预设数据量范围对应的电压频率指示信息,该第二电压频率指示信息为该交换数据量所在的预设数据范围对应的电压频率指示信息。In a possible implementation manner of the second aspect, the switching unit determines the second voltage frequency indication information according to the amount of exchanged data, including: querying a preset corresponding relationship according to the amount of exchanged data to obtain the second voltage frequency indication information; wherein, the preset corresponding relationship is used to indicate the voltage frequency indication information corresponding to each preset data volume range in the multiple preset data volume ranges, and the second voltage frequency indication information is the preset Set the voltage and frequency indication information corresponding to the data range.

在第二方面的一种可能的实现方式中,该交换单元包括多个输入接口、输入缓冲器和第一处理单元,该方法还包括:该输入缓冲器缓存该交换分片通过该多个输入接口接收到的上行数据;该第一处理单元获取该输入缓冲器中累积的第一数据量,并在该第一数据量大于预设阈值时,根据该第一数据量获取第三电压频率指示信息;该电压频率单元根据该第三电压频率指示信息调节该第一处理单元的工作电压和工作频率。In a possible implementation manner of the second aspect, the switching unit includes a plurality of input interfaces, an input buffer, and a first processing unit, and the method further includes: the input buffer caches the switching slice through the plurality of input Uplink data received by the interface; the first processing unit acquires a first data amount accumulated in the input buffer, and when the first data amount is greater than a preset threshold value, obtains a third voltage frequency indication according to the first data amount Information; the voltage frequency unit adjusts the operating voltage and operating frequency of the first processing unit according to the third voltage frequency indication information.

在第二方面的一种可能的实现方式中,该交换单元还包括多个输出接口和第二处理单元,该方法还包括:该第二处理子单元获取该多个输出接口对应的待发送的第二数据量,并根据该第二数据量获取第四电压频率指示信息;该电压频率单元根据该第四电压频率指示信息调节该第二处理单元的工作电压和工作频率。In a possible implementation manner of the second aspect, the switching unit further includes a plurality of output interfaces and a second processing unit, and the method further includes: the second processing subunit acquires the to-be-sent data corresponding to the plurality of output interfaces second data amount, and obtain fourth voltage frequency indication information according to the second data amount; the voltage frequency unit adjusts the operating voltage and operating frequency of the second processing unit according to the fourth voltage frequency indication information.

在本申请的又一方面,提供一种交换设备,该交换设备包括交换芯片,该交换芯片包括上述第一方面或者第一方面的任一种可能的实现方式所提供的交换芯片。In yet another aspect of the present application, a switching device is provided, where the switching device includes a switching chip, and the switching chip includes the switching chip provided in the foregoing first aspect or any possible implementation manner of the first aspect.

在本申请的又一方面,提供一种交换系统,该交换系统包括多个交换设备,该多个交换设备中的每个交换设备包括上述第一方面或者第一方面的任一种可能的实现方式所提供的交换芯片。In yet another aspect of the present application, a switching system is provided, the switching system includes a plurality of switching devices, and each switching device in the plurality of switching devices includes the above-mentioned first aspect or any possible implementation of the first aspect way provided by the switch chip.

在本申请的又一方面,提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当该指令在设备上运行时,使得该设备执行上述第二方面或者第二方面的任一种可能的实现方式所提供的交换芯片的供电方法。In yet another aspect of the present application, a computer-readable storage medium is provided. Instructions are stored in the computer-readable storage medium. When the instructions are run on a device, the device executes the above-mentioned second aspect or the second aspect. A power supply method for a switch chip provided in any possible implementation manner.

在本申请的又一方面,提供一种计算机程序产品,当该计算机程序产品在设备上运行时,使得该设备执行上述第二方面或者第二方面的任一种可能的实现方式所提供的交换芯片的供电方法。In yet another aspect of the present application, a computer program product is provided. When the computer program product is run on a device, the device is made to perform the switching provided by the above-mentioned second aspect or any possible implementation manner of the second aspect. Chip power supply method.

可以理解地,上述提供的任一种供电方法、交换设备、交换系统、计算机可读存储介 质和计算机程序产品,其所能达到的有益效果可对应参考上文所提供的交换芯片中的有益效果,此处不再赘述。It can be understood that any of the power supply methods, switching devices, switching systems, computer-readable storage media, and computer program products provided above can achieve beneficial effects that can be achieved by referring to the beneficial effects of the switching chips provided above. , which will not be repeated here.

附图说明Description of drawings

图1为现有技术提供的一种交换芯片的示意图;Fig. 1 is a schematic diagram of a switch chip provided by the prior art;

图2为本申请实施例提供的一种数据通信网络的架构示意图;FIG. 2 is a schematic structural diagram of a data communication network provided by an embodiment of the present application;

图3为本申请实施例提供的一种n×n的交换系统的示意图;FIG. 3 is a schematic diagram of an n×n switching system provided by an embodiment of the present application;

图4为本申请实施例提供的一种交换芯片的结构示意图;FIG. 4 is a schematic structural diagram of a switch chip provided in an embodiment of the present application;

图5为本申请实施例提供的一种电压频率单元的结构示意图;FIG. 5 is a schematic structural diagram of a voltage frequency unit provided by an embodiment of the present application;

图6为本申请实施例提供的另一种交换芯片的结构示意图;FIG. 6 is a schematic structural diagram of another switch chip provided by the embodiment of the present application;

图7为本申请实施例提供的又一种交换芯片的结构示意图;FIG. 7 is a schematic structural diagram of another switch chip provided in the embodiment of the present application;

图8为本申请实施例提供的一种调节工作电压和工作频率的示意图;Fig. 8 is a schematic diagram of adjusting the operating voltage and operating frequency provided by the embodiment of the present application;

图9为本申请实施例提供的另一种交换芯片的结构示意图;FIG. 9 is a schematic structural diagram of another switch chip provided by the embodiment of the present application;

图10为本申请实施例提供的一种交换芯片的供电方法的流程示意图;FIG. 10 is a schematic flowchart of a method for supplying power to a switch chip provided in an embodiment of the present application;

图11为本申请实施例提供的另一种交换芯片的供电方法的流程示意图。FIG. 11 is a schematic flowchart of another method for supplying power to a switch chip provided by an embodiment of the present application.

具体实施方式detailed description

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。在本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c或a、b和c,其中a、b和c可以是单个,也可以是多个。另外,在本申请的实施例中,“第一”、“第二”等字样并不对数量和次序进行限定。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In this application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (unit) of a, b or c can represent: a, b, c, a and b, a and c, b and c or a, b and c, wherein a, b and c can be It can be single or multiple. In addition, in the embodiments of the present application, words such as "first" and "second" do not limit the quantity and order.

需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in this application, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design described herein as "exemplary" or "for example" is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.

随着通信网络中用户数据的不断增加,通信网络也变得越来越复杂,需要通过交换机实现不同网络节点之间的通信,而交换芯片作为交换机中的交换硬件,工作在开放式系统互联(open system interconnection,OSI)参考模型的数据链路层和网络层,可用于实现网络报文、流量或数据的封装和转发,以为接入该交换机的任意两个网络节点之间提供独享的转发通路。With the continuous increase of user data in the communication network, the communication network is becoming more and more complex, and the communication between different network nodes needs to be realized through the switch, and the switching chip is used as the switching hardware in the switch, working in the open system interconnection ( The data link layer and network layer of the open system interconnection (OSI) reference model can be used to realize the encapsulation and forwarding of network packets, traffic or data, so as to provide exclusive forwarding between any two network nodes connected to the switch path.

目前,大多数交换芯片都采用集中式的交叉矩阵(crossbar)或共享缓存(share memory)来实现数据的交换。如图1中的(a)所示,该集中式的交叉矩阵或共享缓存设置在该交换芯片中间,用于接收和发送数据的串行(serdes)接口设置在该交换芯片的外围,以及用于分别对数据进行编解码和处理的物理编码子层(physical coding sublayer,PCS)和处理单元设置在串行接口与交叉矩阵或共享缓存之间。这种采用集中式的交叉矩阵或共享缓存的交换芯片,通常采用单电源电压供电方式,在不同业务场景或者不同负载的情况下,都 会通过统一的电源电压对整个交换芯片进行供电,从而导致该交换芯片的功耗较大。At present, most switching chips use a centralized crossbar or shared memory to exchange data. As shown in (a) in Fig. 1, the centralized crossbar matrix or shared cache is set in the middle of the switch chip, the serial (serdes) interface for receiving and sending data is set on the periphery of the switch chip, and A physical coding sublayer (physical coding sublayer, PCS) and a processing unit for respectively encoding, decoding and processing data are arranged between the serial interface and the cross matrix or shared buffer. This switch chip using a centralized cross-connect matrix or shared cache usually uses a single power supply voltage power supply mode. In different business scenarios or different loads, the entire switch chip will be powered by a unified power supply voltage, resulting in this The power consumption of the switch chip is large.

基于此,本申请实施了提供一种交换芯片,该交换芯片可以为交换机或路由器等交换设备或者上述交换设备内置的芯片,该交换芯片包括多个交换分片(tile),每个交换分片具有独立的工作电压和工作频率,可以满足不同业务场景和不同负载下的供电需求,从而降低了该交换芯片的功耗。Based on this, the present application implements and provides a switching chip, which can be a switching device such as a switch or a router, or a built-in chip of the above-mentioned switching device, and the switching chip includes a plurality of switching slices (tiles), and each switching slice With independent working voltage and working frequency, it can meet the power supply requirements under different business scenarios and different loads, thereby reducing the power consumption of the switching chip.

本申请提供的交换芯片可以应用于数据通信网络中,一种典型的数据通信网络的架构可以为包括三个交换层(即包括接入层、汇聚层和核心层)的组网模式,也可以为包括两个交换层(即包括接入层和核心层)的组网模式。数据通信网络中的每个交换层中都可以包括多个节点,比如,接入层可以包括多个接入(access)节点,汇聚层中包括多个汇聚(aggregation)节点,核心层包括多个核心(core)节点。可选的,接入节点和汇聚节点可以均为电交换节点(也可以称为E节点),核心节点中可以同时包括电交换节点和光交换节点(也可以称为O节点)。The switch chip provided by this application can be applied in a data communication network. The architecture of a typical data communication network can be a networking mode including three switching layers (that is, including an access layer, a convergence layer, and a core layer), or it can be It is a networking mode including two switching layers (that is, including the access layer and the core layer). Each switch layer in the data communication network can include multiple nodes, for example, the access layer can include multiple access nodes, the convergence layer can include multiple aggregation nodes, and the core layer can include multiple Core (core) node. Optionally, both the access node and the aggregation node may be electrical switching nodes (also called E nodes), and the core nodes may include both electrical switching nodes and optical switching nodes (also called O nodes).

其中,当数据通信网络的架构为包括三个交换层的组网模式时,接入节点的下行接口与需要进行数据流量交换的服务器连接,其上行接口与汇聚节点的下行接口连接,汇聚节点的上行接口与核心节点连接。汇聚层和接入层可以被划分为多个群组(Pod),一个Pod中可以包括多个接入节点和多个汇聚节点,且每个接入节点与多个汇聚节点全连接。此外,核心层中的多个核心节点可以被划分为多个核心平面,每个核心平面分别和各Pod中的不同汇聚节点连接;或者,核心层中的多个核心节点不划分核心平面,核心层中的电交换节点与所有的汇聚节点连接,光交换节点各自连接部分或者全部的汇聚节点。Among them, when the structure of the data communication network is a networking mode including three switching layers, the downlink interface of the access node is connected to the server that needs to exchange data traffic, and its uplink interface is connected to the downlink interface of the sink node. The uplink interface is connected to the core node. The aggregation layer and the access layer can be divided into multiple groups (Pods), and a Pod can include multiple access nodes and multiple aggregation nodes, and each access node is fully connected to multiple aggregation nodes. In addition, multiple core nodes in the core layer can be divided into multiple core planes, and each core plane is connected to different aggregation nodes in each Pod; or, multiple core nodes in the core layer do not divide core planes, and the core The electrical switching nodes in the layer are connected to all the aggregation nodes, and the optical switching nodes are respectively connected to some or all of the aggregation nodes.

当数据通信网络的架构为包括两个交换层的组网模式时,接入节点的下行接口与需要进行数据流量交换的服务器连接,其上行接口直接与核心节点连接。接入层可以被划分为多个群组(Pod),一个Pod中可以包括多个接入节点。此外,核心层中的多个核心节点可以被划分为多个核心平面,每个核心平面分别和各Pod中的不同接入节点连接;或者,核心层中的多个核心节点不划分核心平面,核心层中的电交换节点与所有的接入节点连接,光交换节点各自连接部分或者全部的接入节点。When the structure of the data communication network is a networking mode including two switching layers, the downlink interface of the access node is connected to the server that needs to exchange data traffic, and its uplink interface is directly connected to the core node. The access layer can be divided into multiple groups (Pods), and one Pod can include multiple access nodes. In addition, multiple core nodes in the core layer can be divided into multiple core planes, and each core plane is connected to different access nodes in each Pod; or, multiple core nodes in the core layer do not divide core planes, The electrical switching nodes in the core layer are connected to all the access nodes, and the optical switching nodes are respectively connected to some or all of the access nodes.

本申请实施例以数据通信网络的架构为包括三个交换层的混合组网模式,且核心层被划分为多个核心平面为例进行说明。图2为一种数据通信网络的架构示意图,参见图2,该数据通信网络中包括接入层、汇聚层和核心层。In the embodiment of the present application, the structure of the data communication network is a hybrid networking mode including three switching layers, and the core layer is divided into multiple core planes as an example for illustration. FIG. 2 is a schematic diagram of a data communication network architecture. Referring to FIG. 2 , the data communication network includes an access layer, an aggregation layer, and a core layer.

图2中仅以数据通信网络包括3个Pod,一个Pod内包括3个接入节点和4个汇聚节点,每个核心平面包括两个核心节点为例进行说明。图2中的接入节点可以表示为A1~A9,汇聚节点可以表示为B1~B12,核心节点可以表示为C1~C8(C1、C3、C5和C7为电交换节点,C2、C4、C6和C8为光交换节点),3个Pod分别表示为P1~P3。In FIG. 2, the data communication network includes 3 Pods, a Pod includes 3 access nodes and 4 aggregation nodes, and each core plane includes two core nodes as an example for illustration. The access nodes in Figure 2 can be represented as A1~A9, the aggregation nodes can be represented as B1~B12, and the core nodes can be represented as C1~C8 (C1, C3, C5 and C7 are electrical switching nodes, C2, C4, C6 and C8 is an optical switching node), and the three Pods are denoted as P1-P3 respectively.

其中,当一个Pod内不同接入节点连接的服务器之间进行数据流量交换时,可以通过与接入节点在同一Pod内的汇聚节点实现,比如,接入节点A1和接入节点A3连接的服务器需要进行数据流量交换,则接入节点A1可以通过汇聚节点B1将其连接的服务器的数据流发送给接入节点A3。当不同Pod内的接入节点连接的服务器之间进行数据流量交换时,可以通过与接入节点在同一Pod内的汇聚节点、以及与汇聚节点连接的核心节点实现,比如,接入节点A1和接入节点A5连接的服务器需要进行数据流量交换,则接入节点A1可以将其连接的服务器的数据流发送给汇聚节点B1,由汇聚节点B1转发给核心节点C1, 再由C1通过汇聚节点B5发送给接入节点A5。Among them, when the data traffic is exchanged between servers connected to different access nodes in a Pod, it can be realized through the aggregation node in the same Pod as the access node, for example, the server connected to the access node A1 and the access node A3 If data flow exchange is required, the access node A1 may send the data flow of the server it is connected to to the access node A3 through the convergence node B1. When data traffic is exchanged between servers connected to access nodes in different Pods, it can be realized through the aggregation node in the same Pod as the access node and the core node connected to the aggregation node, for example, access node A1 and The server connected to the access node A5 needs to exchange data traffic, then the access node A1 can send the data flow of the server it connects to the aggregation node B1, and the aggregation node B1 forwards it to the core node C1, and then C1 passes through the aggregation node B5 Send to access node A5.

需要说明的是,图2示出的数据通信网络的结构仅为示例性的,并不构成对其结构的限定。在实际应用中,数据通信网络的每个交换层中还可以包括比图示更多或者更少的节点,或者数据通信网络还可以为包括两个交换层的网络,或者核心层中的多个核心节点可以被划分为多个核心平面,也可以不划分为多个核心平面,本申请实施例对此不做具体限定。It should be noted that the structure of the data communication network shown in FIG. 2 is only exemplary, and does not constitute a limitation to its structure. In practical applications, each switching layer of the data communication network may also include more or fewer nodes than shown in the figure, or the data communication network may also be a network including two switching layers, or multiple nodes in the core layer A core node may or may not be divided into multiple core planes, which is not specifically limited in this embodiment of the present application.

为便于理解,如图3所示,这里可以将包括三个交换层的数据通信网络中连接到同一核心平面的多个汇聚节点(比如,n个)和一个核心平面内的多个核心节点看作一个n×n的交换系统。该n×n的交换系统中包括n个源节点(source,S)和n个目的节点(destination,D),以及中间级的m个核心节点(switch element,SE)。其中,图3中的Si和Di为同一个汇聚节点(i的取值依次为1至n),即n个源节点和n个目的节点是连接到同一核心平面的n个汇聚节点在分别作为发送节点和接收节点时按功能划分出的节点。n个汇聚节点中的每个汇聚节点可以包括多个接口,对于S来说,该多个接口为输入接口,对于D来说,该多个接口为输出接口。包括三个交换层的数据通信网络可以看作是由多个交换网组成,每个交换总线都采用相同的控制机制。For ease of understanding, as shown in FIG. 3, multiple aggregation nodes (for example, n) connected to the same core plane in a data communication network including three switching layers and multiple core nodes in one core plane can be seen here Make an n×n switching system. The n×n switching system includes n source nodes (source, S), n destination nodes (destination, D), and m core nodes (switch element, SE) at the intermediate stage. Among them, Si and Di in Figure 3 are the same sink node (the value of i is from 1 to n in turn), that is, n source nodes and n destination nodes are connected to the same core plane and n sink nodes are respectively used as Nodes divided by function when sending nodes and receiving nodes. Each of the n sink nodes may include multiple interfaces. For S, the multiple interfaces are input interfaces, and for D, the multiple interfaces are output interfaces. A data communication network including three switching layers can be regarded as composed of multiple switching networks, and each switching bus adopts the same control mechanism.

类似地,包括两个交换层的数据通信网络也可以看作由多个交换系统组成,不同之处在于,n个源节点和n个目的节点是连接到同一核心平面的n个接入节点在分别作为发送节点和接收节点时按功能划分出的节点,本申请实施例对此不再赘述。Similarly, a data communication network including two switching layers can also be regarded as composed of multiple switching systems, the difference is that n source nodes and n destination nodes are connected to the same core plane as n access nodes in The nodes that are divided according to functions when they serve as the sending node and the receiving node respectively, will not be described in detail in this embodiment of the present application.

如图3所示的交换系统可以完成将从S接收到的数据中的数据包(Packet)交换到D的操作,该数据包通过SE的时候,可以保持原本变长包(variable-length packet)的格式,也可以被S先切成信元(cell)发送,待D接收到所有cell之后,再重组成完整的数据包。在这样的交换系统中,S通常可以将接收到的数据尽量均匀地分发到各SE。S发出的数据包通常携带D的信息,SE根据携带的信息向对应的D转发数据包。The switching system shown in Figure 3 can complete the operation of switching the data packet (Packet) in the data received from S to D. When the data packet passes through SE, the original variable-length packet (variable-length packet) can be maintained. It can also be cut into cells by S to send, and after D receives all the cells, it can be reassembled into a complete data packet. In such a switching system, S can usually distribute received data to SEs as uniformly as possible. The data packet sent by S usually carries the information of D, and the SE forwards the data packet to the corresponding D according to the carried information.

S通过输入接口从系统外部接收数据,通常S内置多个虚拟输出队列(virtual output queue,VOQ)用于缓存去往不同D的数据(或者是用于缓存去往不同D的不同输出接口的数据;或者是多个VOQ对应更细粒度的流,即多个VOQ用于缓存不同粒度的流的数据包),VOQ可用于保障端到端的QoS。对于n×n的交换总线系统而言,每个S中一般至少有n个VOQ对应n个D,若进一步根据D的输出接口或要求更高的粒度进行细分,还可以包括更多的VOQ。S receives data from outside the system through the input interface. Usually, S has multiple built-in virtual output queues (virtual output queue, VOQ) for caching data going to different Ds (or for caching data going to different output interfaces of different Ds) ; or multiple VOQs correspond to finer-grained flows, that is, multiple VOQs are used to buffer data packets of flows with different granularities), and VOQs can be used to ensure end-to-end QoS. For an n×n switching bus system, there are generally at least n VOQs corresponding to n Ds in each S. If it is further subdivided according to the output interface of D or requires a higher granularity, more VOQs can also be included. .

本领域技术人员可以理解的是,本申请实施例描述的数据通信网络、以及源节点和目的节点的结构是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定。Those skilled in the art can understand that the data communication network and the structure of the source node and the destination node described in the embodiment of the application are for more clearly illustrating the technical solution of the embodiment of the application, and do not constitute a provision for the embodiment of the application. The limitation of the technical solution.

图4为本申请实施例提供的一种交换芯片的结构示意图,该交换芯片交换机或路由器等交换设备或者上述交换设备内置的芯片。当该交换芯片应用于数据通信网络时,该交换芯片可以为上述数据通信网络中的不同层中的节点,也可以是上述节点内置的芯片。FIG. 4 is a schematic structural diagram of a switching chip provided by an embodiment of the present application, the switching chip is a switching device such as a switch or a router, or a built-in chip of the switching device. When the switching chip is applied to a data communication network, the switching chip may be a node in a different layer of the above-mentioned data communication network, or may be a built-in chip of the above-mentioned node.

在本申请实施例中,该交换芯片包括交换总线1、以及与该交换总线1耦合的多个交换分片2,该多个交换分片2中的每个交换分片2包括交换单元21和电压频率单元22,该交换单元21用于通过该交换总线1进行数据交换,该电压频率单元22用于单独为该交换单元21提供工作电压和工作频率。In the embodiment of the present application, the switch chip includes a switch bus 1 and a plurality of switch slices 2 coupled to the switch bus 1, and each switch slice 2 in the multiple switch slices 2 includes a switch unit 21 and A voltage and frequency unit 22 , the exchange unit 21 is used for data exchange through the exchange bus 1 , and the voltage and frequency unit 22 is used for independently providing the exchange unit 21 with an operating voltage and an operating frequency.

其中,该交换总线1与该多个交换分片2耦合,从而可以在该多个交换分片2中的不同交换分片2之间、和/或同一交换分片2的不同接口之间建立转发通路,也即是,该交换总线1可用于实现不同交换分片2之间的数据交换、和/或同一交换分片2的不同接口之间的数据交换。可选的,该交换总线1可以为线桥(bridge)。Wherein, the switch bus 1 is coupled with the multiple switch slices 2, so that different switch slices 2 in the multiple switch slices 2 and/or different interfaces of the same switch slice 2 can be established The forwarding path, that is, the switch bus 1 can be used to implement data exchange between different switch slices 2 and/or data exchange between different interfaces of the same switch slice 2 . Optionally, the switching bus 1 may be a bridge.

另外,交换单元21用于通过该交换总线1进行数据交换可以是指:一个交换分片2中的交换单元21可用于通过该交换总线1将待交换的数据发送至另一个交换分片2,和/或,通过交换总线1将待交换的数据发送至自身的不同接口。示例性的,该多个交换分片2中的每个交换分片2的具体结构可以如图1中的(a)所示,即每个交换分片2可以包括用于接收和发送数据的接口、用于分别对数据进行编解码和处理的单元和缓存等。In addition, the switching unit 21 is used to exchange data through the switching bus 1 may refer to: the switching unit 21 in one switching slice 2 can be used to send the data to be switched to another switching slice 2 through the switching bus 1, And/or, send the data to be exchanged to different interfaces of itself through the exchange bus 1 . Exemplarily, the specific structure of each switching slice 2 in the plurality of switching slices 2 can be shown in (a) in FIG. 1, that is, each switching slice 2 can include a Interfaces, units and buffers for encoding, decoding and processing data respectively.

再者,电压频率单元22用于单独为该交换单元21提供工作电压和工作频率可以是指:一个交换分片2中的电压频率单元22可用于为该交换分片2中的交换单元21单独提供工作电压和工作频率,或者称为该电压频率单元22可用于单独产生该交换单元21的工作电压和工作频率。当该交换单元21不工作时,该电压频率单元22也可以不工作,即不再为该交换单元21提供工作电压和工作频率。Furthermore, the voltage and frequency unit 22 is used to provide the operating voltage and operating frequency for the switching unit 21 alone may refer to: the voltage and frequency unit 22 in a switching slice 2 can be used to separately provide the switching unit 21 in the switching slice 2 The working voltage and working frequency are provided, or the voltage frequency unit 22 can be used to independently generate the working voltage and working frequency of the switching unit 21 . When the switching unit 21 is not working, the voltage frequency unit 22 may also not work, that is, the switching unit 21 is no longer provided with working voltage and working frequency.

在本申请实施例提供的交换芯片中,该多个交换分片2中的每个交换分片2均包括交换单元21和电压频率单元22,该交换单元21可通过该交换总线1实现该交换分片2的数据交换功能,该电压频率单元22可用于在该交换单元21工作时为该交换单元21单独提供工作电压和工作频率,即每个交换分片2可以认为是一个小型的交换芯片,每个交换分片2中的电压频率单元22可以根据该交换分片2中交换单元21的工作状态提供相应的工作电压和工作频率,从而当该交换分片2工作在不同业务场景或不同负载下时,可以使用不同的工作电压和工作频率进行工作,进而使得该交换芯片可以满足不同业务场景和不同负载下的供电需求,从而降低了该交换芯片的功耗。In the switch chip provided by the embodiment of the present application, each switch slice 2 in the plurality of switch slices 2 includes a switch unit 21 and a voltage frequency unit 22, and the switch unit 21 can realize the switch through the switch bus 1 The data exchange function of the slice 2, the voltage frequency unit 22 can be used to separately provide the working voltage and the working frequency for the switching unit 21 when the switching unit 21 is working, that is, each switching slice 2 can be considered as a small switching chip , the voltage frequency unit 22 in each switch slice 2 can provide corresponding working voltage and working frequency according to the working state of the switch unit 21 in the switch slice 2, so that when the switch slice 2 works in different business scenarios or different When under load, different operating voltages and operating frequencies can be used to work, so that the switching chip can meet the power supply requirements of different business scenarios and different loads, thereby reducing the power consumption of the switching chip.

在一种可能的实施例中,如图5所示,该电压频率单元22可以包括电源单元221和时钟分频器222。该电源单元221可用于在该交换单元21工作时,为该交换单元21提供工作电压或者产生该交换单元21的工作电压;时钟分频器222可用于在该交换单元21工作时,为该交换单元21提供工作频率或者产生该交换单元21的工作频率。当该交换单元21不工作时,该电源单元221和该时钟分频器222也可以不工作,即不再为该交换单元21提供工作电压和工作频率。在电压频率单元22中,通过电源单元221和时钟分频器222可以为该交换单元21分开提供工作电压和工作频率。In a possible embodiment, as shown in FIG. 5 , the voltage frequency unit 22 may include a power supply unit 221 and a clock frequency divider 222 . The power supply unit 221 can be used to provide the working voltage for the switching unit 21 or generate the working voltage of the switching unit 21 when the switching unit 21 is working; The unit 21 provides the operating frequency or generates the operating frequency of the switching unit 21 . When the switching unit 21 is not working, the power supply unit 221 and the clock divider 222 may also not work, that is, no longer provide the switching unit 21 with an operating voltage and operating frequency. In the voltage frequency unit 22 , the switching unit 21 can be provided with the working voltage and the working frequency separately through the power supply unit 221 and the clock frequency divider 222 .

其中,该电源单元221可以与外部电源连接,该电源单元221可以将外部电源提供的输出电压转换为该交换单元21的工作电压,该交换总线1可以直接通过外部电源供电。可选的,该电源单元221可以为片上低压线性稳压器(on-chip low dropout regulator,OCLDO),该交换总线1可以为片上交换总线,该外部电源可以为片外固定电压的FIX电源或者自适应电压可调(adaptive voltage scaling,AVS)电源。在该交换芯片中,通过使用该OCLDO为该交换单元21提供工作电压时,可以实现该工作电压的快速调节,通常该OCLDO可在1微秒(us)内完成调压,从而大大提高了电压调节速度。同时,该交换芯片只需使用一个统一的外部电源,从而与板级的电源可以设计为同一电源,即板级的电源不感知该交换芯片中的电源设计。Wherein, the power supply unit 221 can be connected with an external power supply, and the power supply unit 221 can convert the output voltage provided by the external power supply into the working voltage of the switching unit 21, and the switching bus 1 can be directly powered by the external power supply. Optionally, the power supply unit 221 can be an on-chip low dropout regulator (OCLDO), the switching bus 1 can be an on-chip switching bus, and the external power supply can be an off-chip fixed voltage FIX power supply or Adaptive voltage adjustable (adaptive voltage scaling, AVS) power supply. In the switching chip, when the OCLDO is used to provide the switching unit 21 with a working voltage, the fast adjustment of the working voltage can be realized. Usually, the OCLDO can complete the voltage regulation within 1 microsecond (us), thereby greatly improving the voltage Adjust the speed. At the same time, the switch chip only needs to use a unified external power supply, so that it can be designed as the same power supply as the board-level power supply, that is, the board-level power supply does not perceive the power supply design in the switch chip.

进一步的,该电源单元221可以包括控制单元和供电单元(power cell),该控制单元 可用于控制该供电单元产生该交换单元21的工作电压。在实际应用中,该电源单元221中可以包括多个供电单元,该多个供电单元可以通过分区供电的方式为其所在的交换分片2进行供电,这样该多个供电单元可以实现灵活数量的集成,且该多个供电单元可拼接呈集中式供电单元结构。Further, the power supply unit 221 may include a control unit and a power supply unit (power cell), and the control unit may be used to control the power supply unit to generate the working voltage of the switching unit 21. In practical applications, the power supply unit 221 may include a plurality of power supply units, and the plurality of power supply units may supply power to the switch slice 2 where it is located in a partitioned power supply manner, so that the plurality of power supply units can realize a flexible number of power supply units. Integrated, and the multiple power supply units can be spliced to form a centralized power supply unit structure.

在一种可能的实施例中,该多个交换分片2可以呈分布式设置,这样可以支持灵活数量的扩展,同时支持更细粒度的调压调频的设计。示例性的,如图6所示,该多个交换分片2可以呈矩阵式排列,该交换总线1可以包括相互耦合的第一交换总线11和第二交换总线12,该多个交换分片2中任意相邻的两行交换分片2与第一交换总线1耦合,该多个交换分片2中任意相邻的两列交换分片1与第二交换总线耦合2。In a possible embodiment, the plurality of switching slices 2 can be arranged in a distributed manner, so as to support flexible quantity expansion, and at the same time support a finer-grained voltage regulation and frequency regulation design. Exemplarily, as shown in FIG. 6, the plurality of switching slices 2 may be arranged in a matrix, and the switching bus 1 may include a first switching bus 11 and a second switching bus 12 coupled to each other. The multiple switching slices Any two adjacent rows of switch slices 2 in 2 are coupled to the first switch bus 1 , and any two adjacent columns of switch slices 1 among the plurality of switch slices 2 are coupled to the second switch bus 2 .

其中,在该交换芯片中,该多个交换分片2可以位于该交换芯片的至少一金属层中。当该至少一金属层包括至少两层金属层时,该多个交换分片2可以分散设置在该至少两金属层中,且该至少两层金属层中的每层金属层上的交换分片2均可以呈矩阵式排列。Wherein, in the switch chip, the plurality of switch slices 2 may be located in at least one metal layer of the switch chip. When the at least one metal layer includes at least two metal layers, the plurality of exchange slices 2 may be distributed among the at least two metal layers, and the exchange slices on each metal layer of the at least two metal layers 2 can be arranged in a matrix.

需要说明的是,上述图6所示的交换总线1的结构仅为示例性的,并不构成对本申请的限制,在实际应用中,该交换总线1只需与该多个交换分片2耦合以在该多个交换分片2中的任意两个交换分片2之间、以及同一交换分片2的不同接口之间形成通路即可,比如,该交换总线1也可以如下述图7所示。It should be noted that the structure of the switch bus 1 shown in FIG. 6 above is only exemplary and does not constitute a limitation to the present application. In practical applications, the switch bus 1 only needs to be coupled with the plurality of switch slices 2 It is enough to form a path between any two switch slices 2 in the plurality of switch slices 2, and between different interfaces of the same switch slice 2. For example, the switch bus 1 can also be as shown in FIG. 7 below. Show.

示例性的,当该交换芯片为交换芯片,该多个交换分片2位于一金属层中且呈矩阵式排列,该电源单元221包括控制单元和多个数量的供电单元时,该控制单元可以位于该交换分片2中靠近交换总线1的一侧,该多个数量的供电单元可以位于该多个交换分片2相对的两侧,且该两侧可以与该金属层中的布线方向垂直(比如,图7中的布线方向可以为水平方向),这样可以通过该交换芯片中的布线辅助连接该多个数量的供电单元。Exemplarily, when the switch chip is a switch chip, the plurality of switch slices 2 are located in a metal layer and arranged in a matrix, and the power supply unit 221 includes a control unit and a plurality of power supply units, the control unit can Located on the side of the switch slice 2 close to the switch bus 1, the plurality of power supply units may be located on opposite sides of the plurality of switch slices 2, and the two sides may be perpendicular to the wiring direction in the metal layer (For example, the wiring direction in FIG. 7 may be a horizontal direction), so that the plurality of power supply units can be assisted in connecting through the wiring in the switch chip.

进一步的,该电压频率单元22单独为该交换单元21提供工作电压和工作频率的过程可以包括以下两种不同的情况,第一种情况为当该交换单元21开始工作时设置该交换单元21的工作电压和工作频率,第二种情况为当该交换单元21的工作电压和工作频率过大或过小时调节该交换单元21的工作电压和工作频率。下面分别对这两种情况进行详细说明。Further, the process of the voltage frequency unit 22 independently providing the switching unit 21 with the operating voltage and operating frequency may include the following two different situations. The first situation is to set the switching unit 21 when the switching unit 21 starts to work. Working voltage and working frequency, the second case is to adjust the working voltage and working frequency of the switching unit 21 when the working voltage and working frequency of the switching unit 21 are too high or too small. The two cases are described in detail below.

第一种,对于该多个交换分片2中的每个交换分片2,当该交换单元21开始工作时,该交换单元21还用于根据预设速率确定第一电压频率指示信息,该电压频率单元22还用于根据第一电压频率指示信息设置该交换单元21的工作电压和工作频率。First, for each switching slice 2 in the plurality of switching slices 2, when the switching unit 21 starts working, the switching unit 21 is also used to determine the first voltage frequency indication information according to a preset rate, the The voltage frequency unit 22 is also used to set the working voltage and working frequency of the switching unit 21 according to the first voltage frequency indication information.

其中,该预设速率(也可以称为静态速率)可以是事先配置的,比如,该预设速率可以由本领域技术人员根据该交换分片2的带宽进行配置,该预设速率的具体数值可以是该交换分片2的带宽的60%、70%或者75%等,本申请实施例对此不作具体限制。Wherein, the preset rate (also referred to as a static rate) can be configured in advance, for example, the preset rate can be configured by those skilled in the art according to the bandwidth of the exchange slice 2, and the specific value of the preset rate can be It is 60%, 70% or 75% of the bandwidth of the switching slice 2, etc., which is not specifically limited in this embodiment of the present application.

另外,第一电压频率指示信息可用于指示该交换单元21的电压和频率,比如,第一电压频率指示信息中可以包括第一电压指示信息和第一频率指示信息,第一电压指示信息可用于指示该交换单元21的电压,第一频率指示信息可用于指示该交换单元21的频率。In addition, the first voltage and frequency indication information may be used to indicate the voltage and frequency of the switching unit 21, for example, the first voltage and frequency indication information may include first voltage indication information and first frequency indication information, and the first voltage indication information may be used to Indicating the voltage of the switching unit 21 , the first frequency indication information may be used to indicate the frequency of the switching unit 21 .

具体的,对于每个交换分片2,当该交换分片2开始工作时,该交换单元21可以根据该预设速率查询第一预设对应关系以获取第一电压频率指示信息,第一预设对应关系中可以包括至少一个速率范围中的每个速率范围对应的电压频率指示信息,第一电压频率指 示信息为该预设速率所在的速率范围对应的电压频率指示信息;该交换单元21可以将获取到第一电压频率指示信息发送给该电压频率单元22,以使该电压频率单元22将该交换单元21的工作电压和工作频率分别设置为第一电压频率指示信息所指示的电压和频率。Specifically, for each switching slice 2, when the switching slice 2 starts to work, the switching unit 21 can query the first preset corresponding relationship according to the preset rate to obtain the first voltage frequency indication information, the first preset Assuming that the corresponding relationship can include voltage and frequency indication information corresponding to each rate range in at least one rate range, the first voltage and frequency indication information is the voltage and frequency indication information corresponding to the rate range where the preset rate is located; the exchange unit 21 can Send the obtained first voltage frequency indication information to the voltage frequency unit 22, so that the voltage frequency unit 22 sets the operating voltage and operating frequency of the exchange unit 21 to the voltage and frequency indicated by the first voltage frequency indication information respectively .

进一步的,当该交换单元21包括分别用于对接收侧数据和发送侧数据进行处理的两个处理单元时,上述预设速率可以包括第一预设速率和第二预设速率,第一预设速率可以获取接收侧的处理单元对应的电压频率指示信息,第二预设速率可以获取发送侧的处理单元对应的电压频率指示信息,该电压频率单元22可以根据对应的电压频率指示信息为不同的处理单元提供相应的工作电压和工作频率。Further, when the switching unit 21 includes two processing units for processing receiving-side data and sending-side data respectively, the preset rate may include a first preset rate and a second preset rate, the first preset rate The setting rate can obtain the voltage frequency indication information corresponding to the processing unit on the receiving side, and the second preset rate can obtain the voltage frequency indication information corresponding to the processing unit on the sending side. The voltage frequency unit 22 can be different according to the corresponding voltage frequency indication information. The processing unit provides corresponding working voltage and working frequency.

需要说明的是,上述第一预设对应关系可以是事先设置并配置在该交换单元21中的,第一预设对应关系中的至少一个速率范围、以及与至少一个速率范围中的每个速率范围对应的电压频率指示信息可以由本领域技术人员根据经验或者试验测量确定,本申请实施例对此不作具体限制。It should be noted that the above-mentioned first preset correspondence relationship may be pre-set and configured in the switching unit 21, at least one rate range in the first preset correspondence relationship, and each rate range in the at least one rate range The voltage and frequency indication information corresponding to the range may be determined by those skilled in the art based on experience or experimental measurement, which is not specifically limited in this embodiment of the present application.

第二种,对于该多个交换分片2中的每个交换分片2,当该交换单元21的工作电压和工作频率过大或过小时,该交换单元21还用于获取该交换分片21的交换数据量,并根据该交换数据量确定第二电压频率指示信息,该电压频率单元22还用于根据第二电压频率指示信息调节该交换单元21的工作电压和工作频率。Second, for each switching slice 2 in the plurality of switching slices 2, when the operating voltage and operating frequency of the switching unit 21 are too large or too small, the switching unit 21 is also used to obtain the switching slice 21, and determine the second voltage frequency indication information according to the exchange data volume, the voltage frequency unit 22 is also used to adjust the operating voltage and operating frequency of the exchange unit 21 according to the second voltage frequency indication information.

其中,该交换数据量可以包括需要通过该交换分片21交换的数据量的总和,也可以包括该交换分片21中累积的待交换的数据量的总和。该交换数据量可以由该交换分片21通过统计得到,比如,该交换分片21可以周期性地统计或者非周期性地统计所有需要通过该交换分片21交换的数据量得到该交换数据量。Wherein, the amount of exchanged data may include the sum of the amount of data that needs to be exchanged through the exchange slice 21 , and may also include the sum of the amount of data to be exchanged accumulated in the exchange slice 21 . The amount of exchanged data can be obtained through statistics by the exchange segment 21. For example, the exchange segment 21 can periodically or non-periodically count all the data that needs to be exchanged through the exchange segment 21 to obtain the exchange data amount .

另外,第二电压频率指示信息也可用于指示该交换单元21的电压和频率,比如,第二电压频率指示信息中可以包括第二电压指示信息和第二频率指示信息,第二电压指示信息可用于指示该交换单元21的电压,第二频率指示信息可用于指示该交换单元21的频率。In addition, the second voltage frequency indication information can also be used to indicate the voltage and frequency of the exchange unit 21, for example, the second voltage frequency indication information can include the second voltage indication information and the second frequency indication information, and the second voltage indication information can be In order to indicate the voltage of the switching unit 21 , the second frequency indication information can be used to indicate the frequency of the switching unit 21 .

具体的,对于每个交换分片2,当该交换单元21所传输的交换数据量发生变化或者该交换单元21的工作状态与之前设置的工作电压或工作频率不匹配时,该交换单元21可以统计该交换数据量,并根据该交换数据量查询第二预设对应关系以获取第二电压频率指示信息,第二预设对应关系中可以包括多个预设数据量范围中的每个预设数据量范围对应的电压频率指示信息,第二电压频率指示信息为该交换数据量所在的预设数据量范围对应的电压频率指示信息;该交换单元21可以将获取到第二电压频率指示信息发送给该电压频率单元22,当该电压频率单元22接收到第二电压频率指示信息时,该电压频率单元22可以将该交换单元21的工作电压和工作频率分别调整为第二电压频率指示信息所指示的电压和频率。Specifically, for each switching slice 2, when the amount of switching data transmitted by the switching unit 21 changes or the working state of the switching unit 21 does not match the previously set working voltage or working frequency, the switching unit 21 can Count the amount of exchanged data, and query the second preset corresponding relationship according to the amount of exchanged data to obtain the second voltage frequency indication information. The second preset corresponding relationship may include each preset in a plurality of preset data amount ranges The voltage frequency indication information corresponding to the data volume range, the second voltage frequency indication information is the voltage frequency indication information corresponding to the preset data volume range where the exchange data volume is located; the exchange unit 21 can send the acquired second voltage frequency indication information For the voltage frequency unit 22, when the voltage frequency unit 22 receives the second voltage frequency indication information, the voltage frequency unit 22 can adjust the operating voltage and the operating frequency of the switching unit 21 respectively to the second voltage frequency indication information. Indicated voltage and frequency.

需要说明的是,上述第二预设对应关系可以是事先设置并配置在该交换单元21中的,第二预设对应关系中的多个预设数据量范围、以及与该多个预设数据量范围中的每个预设数据量范围对应的电压频率指示信息可以由本领域技术人员根据经验或者试验测量确定,本申请实施例对此不作具体限制。It should be noted that the above-mentioned second preset corresponding relationship may be set in advance and configured in the exchange unit 21, the multiple preset data volume ranges in the second preset corresponding relationship, and the multiple preset data ranges The voltage and frequency indication information corresponding to each preset data volume range in the volume range may be determined by those skilled in the art based on experience or experimental measurement, which is not specifically limited in this embodiment of the present application.

可选的,该交换单元21可以周期性的获取交换数据量,并对不同时刻获取到的交换数据量进行对比;若当前获取到的交换数据量大于上一次获取到的交换数据量,该交换单 元21可以向该电压频率单元22发送用于指示增大电压频率的第一指示信息;当该电压频率单元22接收到第一指示信息时,该电压频率单元22可以增大该交换单元21的工作电压和工作频率;当前获取到的交换数据量小于上一次获取到的交换数据量,该交换单元21可以向该电压频率单元22发送用于指示减小电压频率的第二指示信息;当该电压频率单元22接收到第二指示信息时,该电压频率单元22可以减小该交换单元21的工作电压和工作频率。Optionally, the exchange unit 21 can periodically obtain the amount of exchanged data, and compare the amount of exchanged data obtained at different times; if the amount of exchanged data obtained at present is greater than the amount of exchanged data obtained last time, the exchange The unit 21 may send to the voltage frequency unit 22 first instruction information for instructing to increase the voltage frequency; when the voltage frequency unit 22 receives the first instruction information, the voltage frequency unit 22 may increase the exchange unit 21 Working voltage and working frequency; the amount of exchanged data obtained at present is less than the amount of exchanged data obtained last time, the exchange unit 21 can send the second indication information for instructing to reduce the voltage frequency to the voltage frequency unit 22; when the When the voltage frequency unit 22 receives the second indication information, the voltage frequency unit 22 may reduce the working voltage and the working frequency of the switching unit 21 .

示例性的,如图8所示,以该交换分片2处理接收到的数据为例,该交换分片2中的该交换单元21可以统计其内部累积的待交换的数据量,比如,统计其用于缓存数据的缓冲器中累积的数据量;若当前统计得到的数据量大于上一次统计得到的数据量(即统计的数据量增加),该交换单元21可以向该电压频率单元22发送用于指示增大电压频率的第一指示信息,以使该电压频率单元22增大该交换单元21的工作电压和工作频率(即升压、升频);若当前统计得到的数据量小于上一次统计得到的数据量(即统计的数据量减小),该交换单元21可以向该电压频率单元22发送用于指示减小电压频率的第二指示信息,以使该电压频率单元22减小该交换单元21的工作电压和工作频率(即降压、降频)。Exemplarily, as shown in FIG. 8, taking the processing of the received data by the exchange slice 2 as an example, the exchange unit 21 in the exchange slice 2 can count the amount of data to be exchanged internally accumulated, for example, statistics The amount of data accumulated in the buffer used for caching data; if the amount of data obtained by current statistics is greater than the amount of data obtained by last statistics (that is, the amount of data collected by statistics increases), the exchange unit 21 can send to the voltage frequency unit 22 The first instruction information for instructing to increase the voltage frequency, so that the voltage frequency unit 22 increases the operating voltage and operating frequency of the switching unit 21 (ie step-up, frequency step-up); if the current statistical data volume is less than the above The amount of data obtained by one statistics (that is, the amount of statistical data is reduced), the exchange unit 21 can send to the voltage frequency unit 22 the second indication information for indicating to reduce the voltage frequency, so that the voltage frequency unit 22 can be reduced The working voltage and working frequency of the switching unit 21 (ie step down, down frequency).

进一步的,如图9所示,对于该多个交换分片2中的每个交换分片2,该交换单元21可以包括多个输入接口211、输入缓冲器(ingress buffer,IB)212和第一处理单元213。Further, as shown in FIG. 9, for each switching slice 2 in the plurality of switching slices 2, the switching unit 21 may include a plurality of input interfaces 211, an input buffer (ingress buffer, IB) 212 and a first A processing unit 213 .

该输入缓冲器212,用于缓存该交换分片2通过该多个输入接口211接收到的上行数据。其中,该输入缓冲器212中可以包括多个虚拟输出队列(virtual output queue,VOQ),当该输入缓冲器212用于缓存该交换分片2通过该多个输入接口211接收到的上行数据时,该多个VOQ可用于缓存去往不同交换分片2的上行数据、或者用于缓存去往不同交换分片2的不同接口的上行数据。The input buffer 212 is used for buffering uplink data received by the switch slice 2 through the plurality of input interfaces 211 . Wherein, the input buffer 212 may include a plurality of virtual output queues (virtual output queue, VOQ), when the input buffer 212 is used to buffer the uplink data received by the switching slice 2 through the plurality of input interfaces 211 , the multiple VOQs may be used to cache uplink data destined for different switch slices 2 , or for buffering uplink data destined for different interfaces of different switch slices 2 .

第一处理单元213,用于获取该输入缓冲器212中累积的第一数据量,并在该第一数据量大于预设阈值时,根据该第一数据量获取第三电压频率指示信息。其中,该输入缓冲器212中缓存的上行数据可以按照一定速率被调度输出,当该调度输出的速率小于该上行数据的接收速率时,该输入缓冲器212中的上行数据会产生累积,从而该输入缓冲器212在一段时间内累积的上行数据的数据量可以称为该第一数据量。具体的,第一处理单元213可以周期性地或者非周期性地获取该输入缓冲器212中累积的第一数据量,并在第一数据量大于第一预设阈值时,根据第一数据量获取第三电压频率指示信息;之后,第一处理单元213可以将第三电压频率指示信息发送给电压频率单元22。The first processing unit 213 is configured to obtain a first data amount accumulated in the input buffer 212, and obtain third voltage frequency indication information according to the first data amount when the first data amount is greater than a preset threshold. Wherein, the uplink data buffered in the input buffer 212 can be scheduled and output according to a certain rate. When the rate of the scheduled output is lower than the receiving rate of the uplink data, the uplink data in the input buffer 212 will be accumulated, so that the The data amount of uplink data accumulated by the input buffer 212 within a period of time may be referred to as the first data amount. Specifically, the first processing unit 213 may acquire the first data amount accumulated in the input buffer 212 periodically or aperiodically, and when the first data amount is greater than a first preset threshold, according to the first data amount Acquire the third voltage frequency indication information; after that, the first processing unit 213 may send the third voltage frequency indication information to the voltage frequency unit 22 .

需要说明的是,该第一预设阈值可以是事先设置的,该第一预设数值可以与该输入缓冲器的容量相关,比如,该第一预设阈值可以为该输入缓冲器的容量的60%、70%或者80%等,本申请实施例对此不作具体限制。另外,第一处理单元213根据第一数据量获取第三电压频率指示信息的具体过程可以与上述交换单元2获取第二电压频率指示信息的方式类似,本申请实施例在不再赘述。It should be noted that the first preset threshold can be set in advance, and the first preset value can be related to the capacity of the input buffer, for example, the first preset threshold can be the capacity of the input buffer 60%, 70% or 80%, etc., which are not specifically limited in this embodiment of the present application. In addition, the specific process for the first processing unit 213 to acquire the third voltage and frequency indication information according to the first data amount may be similar to the manner in which the switching unit 2 acquires the second voltage and frequency indication information, and details will not be repeated in this embodiment of the present application.

该电压频率单元22,还用于根据第三电压频率指示信息调节第一处理单元213的工作电压和工作频率。其中,第三电压频率指示信息可用于指示第一处理单元211的电压和频率,比如,第三电压频率指示信息中可以包括第三电压指示信息和第三频率指示信息,第三电压指示信息可用于指示第一处理单元213的电压,第三频率指示信息可用于指示第一处理单元213的频率。具体的,当该电压频率单元22接收到第三电压频率指 示信息时,可以将第一处理单元213的工作电压和工作频率分别调整为第三电压频率指示信息所指示的电压和频率。The voltage frequency unit 22 is further configured to adjust the working voltage and working frequency of the first processing unit 213 according to the third voltage frequency indication information. Wherein, the third voltage frequency indication information can be used to indicate the voltage and frequency of the first processing unit 211, for example, the third voltage frequency indication information can include the third voltage indication information and the third frequency indication information, and the third voltage indication information can be used In order to indicate the voltage of the first processing unit 213 , the third frequency indication information may be used to indicate the frequency of the first processing unit 213 . Specifically, when the voltage frequency unit 22 receives the third voltage frequency indication information, it can adjust the working voltage and frequency of the first processing unit 213 to the voltage and frequency indicated by the third voltage frequency indication information respectively.

可选的,该交换分片2还可以包括入口调度器(ingress scheduler,ISC)214,入口调度器214可用于调度该输入缓冲器212中缓存的上行数据,比如,用于按照一定速率调度该输入缓冲器212中的多个VOQ中的上行数据出队。第一处理单元213还可用于对从该输入缓冲器212的多个VOQ中出队的上行数据进行解码和切片等处理,处理后的数据可以通过该交换总线1进行数据交换。Optionally, the switching slice 2 may also include an ingress scheduler (ingress scheduler, ISC) 214, and the ingress scheduler 214 may be used to schedule the uplink data buffered in the input buffer 212, for example, to schedule the uplink data at a certain rate. Uplink data in multiple VOQs in the input buffer 212 are dequeued. The first processing unit 213 can also be used for decoding and slicing the uplink data dequeued from the multiple VOQs of the input buffer 212 , and the processed data can be exchanged through the exchange bus 1 .

此外,对于该多个VOQ中的每个VOQ,入口调度器214还可以根据该VOQ的状态确定该VOQ待出队的请求量(即该VOQ中所缓存的数据所在的数据流的数据量),并将该请求量发送给该VOQ中缓存的上行数据去往的分换分片2。比如,以第一交换分片和第二交换分片为例,若第一交换分片的输入缓冲器212中的VOQ1用于缓存去往第二交换分片的上行数据,则第一交换分片的入口调度器214可以将VOQ1待出队的请求量发送给第二交换分片。In addition, for each VOQ in the plurality of VOQs, the ingress scheduler 214 can also determine the request amount of the VOQ to be dequeued according to the state of the VOQ (that is, the data amount of the data stream where the data cached in the VOQ is located) , and send the requested amount to the sub-shard 2 where the uplink data buffered in the VOQ goes. For example, taking the first switch segment and the second switch segment as an example, if VOQ1 in the input buffer 212 of the first switch segment is used to cache uplink data destined for the second switch segment, then the first switch segment The ingress scheduler 214 of the slice may send the request volume of VOQ1 to be dequeued to the second exchange slice.

进一步的,如图9所示,对于该多个交换分片2中的每个交换分片2,该交换单元21还可以包括多个输出接口215和第二处理单元216。Further, as shown in FIG. 9 , for each switching slice 2 in the multiple switching slices 2 , the switching unit 21 may further include multiple output interfaces 215 and a second processing unit 216 .

该多个输出接口215,用于输出下行数据。该下行数据可以是指发送给接入该交换芯片的服务器或者与该交换芯片连接的其他交换芯片的数据。该下行数据可以是通过对交换网1中传输至该交换分片的数据进行编码和重组等处理后得到的数据。The multiple output interfaces 215 are used to output downlink data. The downlink data may refer to data sent to a server connected to the switch chip or to other switch chips connected to the switch chip. The downlink data may be data obtained by encoding and recombining data transmitted to the switching segment in the switching network 1 .

第二处理单元216,用于获取该多个输出接口215对应的待发送的第二数据量,并根据第二数据量获取第四电压频率指示信息。其中,第二数据量可以是指需要通过该多个输出接口215发送的所有下行数据的数据量,第二处理单元216可以获取第二数据量,若第二数据量大于第二预设阈值时,根据第二数据量获取第四电压频率指示信息;之后,第二处理单元216可以将第四电压频率指示信息发送给电压频率单元22。The second processing unit 216 is configured to obtain a second data amount to be sent corresponding to the plurality of output interfaces 215, and obtain fourth voltage frequency indication information according to the second data amount. Wherein, the second data amount may refer to the data amount of all downlink data that needs to be sent through the multiple output interfaces 215, and the second processing unit 216 may acquire the second data amount, if the second data amount is greater than the second preset threshold , acquire the fourth voltage frequency indication information according to the second data amount; after that, the second processing unit 216 may send the fourth voltage frequency indication information to the voltage frequency unit 22 .

需要说明的是,第二预设阈值可以是事先设置的,第二预设阈值可以与该多个输出接口215的带宽或者输出速率有关,本申请实施例对第二预设阈值的具体数值不作限制。另外,第二处理单元215根据第二数据量获取第四电压频率指示信息的具体过程可以与上述交换单元2获取第二电压频率指示信息的方式类似,本申请实施例在不再赘述。It should be noted that the second preset threshold may be set in advance, and the second preset threshold may be related to the bandwidth or output rate of the multiple output interfaces 215, and the embodiment of the present application does not make any specific numerical value for the second preset threshold. limit. In addition, the specific process for the second processing unit 215 to acquire the fourth voltage and frequency indication information according to the second data volume may be similar to the manner in which the exchange unit 2 acquires the second voltage and frequency indication information, and will not be repeated in this embodiment of the present application.

电压频率单元22,还用于根据第四电压频率指示信息调节第二处理单元216的工作电压和工作频率。其中,第四电压频率指示信息可用于指示第二处理单元216的电压和频率,比如,第四电压频率指示信息中可以包括第四电压指示信息和第四频率指示信息,第四电压指示信息可用于指示第二处理单元216的电压,第四频率指示信息可用于指示第二处理单元216的频率。具体的,当该电压频率单元22接收到第四电压频率指示信息时,可以将第二处理单元216的工作电压和工作频率分别调整为第四电压频率指示信息所指示的电压和频率。The voltage frequency unit 22 is further configured to adjust the working voltage and the working frequency of the second processing unit 216 according to the fourth voltage frequency indication information. Wherein, the fourth voltage and frequency indication information may be used to indicate the voltage and frequency of the second processing unit 216, for example, the fourth voltage and frequency indication information may include fourth voltage indication information and fourth frequency indication information, and the fourth voltage indication information may be In order to indicate the voltage of the second processing unit 216 , the fourth frequency indication information may be used to indicate the frequency of the second processing unit 216 . Specifically, when the voltage frequency unit 22 receives the fourth voltage frequency indication information, it may adjust the working voltage and frequency of the second processing unit 216 to the voltage and frequency indicated by the fourth voltage frequency indication information.

可选的,该交换分片2还可以包括出口调度器(egress scheduler,ESC)217和输出缓冲器218,输出缓冲器218中可以包括多个输出队列(output queue,OQ),该多个OQ可用于缓存去往不同输出接口的下行数据,出口调度器217可用于调度该多个OQ中缓存的下行数据,比如,用于按照一定速率调度该多个OQ中的下行数据出队。第二处理单元216 还可用于对从该多个OQ中出队的下行数据进行编码等处理,处理后的数据可以通过该多个输出接口输出。Optionally, the exchange fragment 2 may also include an egress scheduler (egress scheduler, ESC) 217 and an output buffer 218, and the output buffer 218 may include a plurality of output queues (output queue, OQ), and the plurality of OQ It can be used to cache downlink data destined for different output interfaces. The egress scheduler 217 can be used to schedule the downlink data cached in the multiple OQs, for example, to schedule the downlink data in the multiple OQs to be dequeued at a certain rate. The second processing unit 216 can also be configured to perform encoding and other processing on the downlink data dequeued from the multiple OQs, and the processed data can be output through the multiple output interfaces.

此外,该出口调度器217还可以用于接收去往该出口调度器217对应的多个输出接口215中的每个输出接口217的数据的请求量,根据该多个输出接口215的请求量可以确定该多个输出接口215对应的待发送的第二数据量,并将该第二数据量发送给第二处理单元216,以使第二处理单元216可以获取到该第二数据量。In addition, the egress scheduler 217 can also be used to receive the request amount of data going to each output interface 217 in the plurality of output interfaces 215 corresponding to the egress scheduler 217, according to the request amount of the plurality of output interfaces 215 can be The second data amount to be sent corresponding to the multiple output interfaces 215 is determined, and the second data amount is sent to the second processing unit 216, so that the second processing unit 216 can obtain the second data amount.

当该多个交换分片2中的每个交换分片2包括入口调度器214和出口调度器217时,在数据交换过程中,源交换分片2中的入口调度器214和目的交换分片2中的出口调度器217之间可以进行交换,该交互过程可以包括:该源交换分片2中的入口调度器214可以将各VOQ待出队的请求量发送给对应目的交换分片2中的出口调度器217;该目的交换分片2中的出口调度器217可以按照预设速率进行输出调度,同时还可以向该源交换分片2中的入口调度器214发送应答信息ACK;当该源交换分片2中的入口调度器214接收到该应答信息ACK时,该入口调度器214也可以按照预设速率对多个VOQ进行出队调度。When each switching slice 2 in the plurality of switching slices 2 includes an ingress scheduler 214 and an egress scheduler 217, in the data exchange process, the ingress scheduler 214 in the source switching slice 2 and the destination switching slice The exchange can be performed between the egress schedulers 217 in 2, and the interaction process can include: the ingress scheduler 214 in the source exchange segment 2 can send the request volume of each VOQ to be dequeued to the corresponding destination exchange segment 2 the egress scheduler 217 in the destination switch slice 2; the egress scheduler 217 in the destination switch slice 2 can perform output scheduling according to a preset rate, and can also send response information ACK to the ingress scheduler 214 in the source switch slice 2; when the When the ingress scheduler 214 in the source switching segment 2 receives the acknowledgment information ACK, the ingress scheduler 214 may also perform dequeue scheduling for multiple VOQs at a preset rate.

在实际应用中,将本申请实施例提供的交换芯片和采用集中式的交叉矩阵或共享缓存的交换芯片相比,在非最大带宽场景下平均可以实现10%至15%的功耗收益;同时由于该多个交换分片2中每个交换分片2的工作电压和工作频率的设置和调整相互独立,可以避免最小工作电压的短木板效应,实现大概1%的功耗收益。此外,通过独立设置或调整每个交换分片2的工作电压和工作频率,还可以有效改善工作电压的纹波,降低纹波最小电压,实现大概1%的功耗收益。In practical applications, comparing the switch chip provided by the embodiment of the present application with a switch chip using a centralized cross-bar matrix or a shared cache, an average power consumption benefit of 10% to 15% can be achieved in a non-maximum bandwidth scenario; at the same time Since the working voltage and working frequency of each switching slice 2 in the plurality of switching slices 2 are set and adjusted independently of each other, the short plank effect of the minimum working voltage can be avoided, and a power consumption gain of about 1% can be realized. In addition, by independently setting or adjusting the operating voltage and operating frequency of each switch slice 2, the ripple of the operating voltage can be effectively improved, the minimum ripple voltage can be reduced, and a power consumption gain of about 1% can be achieved.

在本申请实施例中,该多个交换分片2中的每个交换分片2中的电压频率单元22可以根据该交换分片2的工作状态设置或者调整该交换分片2的工作电压和工作频率,以实现该交换分片2的工作电压和工作频率的自适应性调节,也即是,当该交换分片2工作在不同业务场景或不同负载下时,可以为该交换分片2提供与该业务场景或负载相对应的工作电压和工作频率,进而使得该交换芯片可以满足不同业务场景和不同负载下的供电需求,从而降低该交换芯片的功耗。In this embodiment of the present application, the voltage frequency unit 22 in each of the multiple switch slices 2 can set or adjust the operating voltage and Working frequency, in order to realize the self-adaptive adjustment of the operating voltage and operating frequency of the switching slice 2, that is, when the switching slice 2 works in different business scenarios or under different loads, the switching slice 2 can be The operating voltage and operating frequency corresponding to the business scenario or load are provided, so that the switching chip can meet the power supply requirements under different business scenarios and different loads, thereby reducing the power consumption of the switching chip.

图10为本申请实施例提供一种交换芯片的供电方法的流程示意图,该交换芯片可以为上文提供的任一种交换芯片,该交换芯片包括交换总线、以及与该交换总线耦合的多个交换分片,该多个交换分片中的每个交换分片包括交换单元和电压频率单元,该方法包括以下步骤。Figure 10 is a schematic flowchart of a power supply method for a switch chip provided by an embodiment of the present application. The switch chip can be any switch chip provided above, and the switch chip includes a switch bus and a plurality of switches coupled to the switch bus. Switch slices, each of the multiple switch slices includes a switch unit and a voltage frequency unit, and the method includes the following steps.

S301:该交换单元通过该交换总线进行数据交换。S301: The switching unit performs data switching through the switching bus.

其中,该交换总线与该多个交换分片耦合,从而可以在该多个交换分片中的不同交换分片之间、和/或同一交换分片的不同接口之间建立转发通路,也即是,该交换总线可用于实现不同交换分片之间的数据交换、和/或同一交换分片的不同接口之间的数据交换。可选的,该交换总线可以为线桥(bridge)。Wherein, the switch bus is coupled with the multiple switch slices, so that forwarding paths can be established between different switch slices in the multiple switch slices, and/or between different interfaces of the same switch slice, that is, Yes, the switch bus can be used to implement data exchange between different switch slices, and/or data exchange between different interfaces of the same switch slice. Optionally, the switching bus may be a bridge.

另外,交换单元用于通过该交换总线进行数据交换可以是指:一个交换分片中的交换单元可用于通过该交换总线将待交换的数据发送至另一个交换分片,和/或,通过交换总线将待交换的数据发送至自身的不同接口。In addition, the switch unit is used to perform data exchange through the switch bus may refer to: the switch unit in one switch slice can be used to send the data to be switched to another switch slice through the switch bus, and/or, through the switch The bus sends the data to be exchanged to its various interfaces.

S302:该电压频率单元提供该交换单元的工作电压和工作频率。S302: The voltage and frequency unit provides the working voltage and working frequency of the switching unit.

其中,一个交换分片中的电压频率单元可为该交换分片中的交换单元提供工作电压和 工作频率,也可以称为该电压频率单元可产生该交换单元的工作电压和工作频率。当该交换单元不工作时,该电压频率单元也可以不工作,即不再为该交换单元提供工作电压和工作频率。Wherein, the voltage frequency unit in an exchange slice can provide the operating voltage and operating frequency for the exchange units in the exchange slice, and it can also be called that the voltage frequency unit can generate the operating voltage and operating frequency of the exchange unit. When the switching unit is not working, the voltage frequency unit may also not work, that is, the switching unit is no longer provided with working voltage and working frequency.

进一步的,该电压频率单元提供该交换单元的工作电压和工作频率的过程可以包括以下两种不同的情况,第一种情况为当该交换单元开始工作时设置该交换单元的工作电压和工作频率,第二种情况为当该交换单元的工作电压和工作频率过大或过小时调节该交换单元的工作电压和工作频率。下面分别对这两种情况进行详细说明。Further, the process of the voltage frequency unit providing the working voltage and working frequency of the switching unit may include the following two different cases, the first case is setting the working voltage and working frequency of the switching unit when the switching unit starts to work , the second case is to adjust the working voltage and frequency of the switching unit when the working voltage and working frequency of the switching unit are too high or too low. The two cases are described in detail below.

第一种,对于该多个交换分片中的每个交换分片,当该交换单元开始工作时,该交换单元根据预设速率确定第一电压频率指示信息,该电压频率单元根据第一电压频率指示信息设置该交换单元的工作电压和工作频率。First, for each of the plurality of switch slices, when the switch unit starts to work, the switch unit determines the first voltage frequency indication information according to the preset rate, and the voltage frequency unit determines the first voltage frequency indication information according to the first voltage The frequency indication information sets the working voltage and working frequency of the switching unit.

具体的,对于每个交换分片,当该交换分片开始工作时,该交换单元可以根据该预设速率查询第一预设对应关系以获取第一电压频率指示信息,第一预设对应关系中可以包括至少一个速率范围中的每个速率范围对应的电压频率指示信息,第一电压频率指示信息为该预设速率所在的速率范围对应的电压频率指示信息;该交换单元可以将获取到第一电压频率指示信息发送给该电压频率单元,以使该电压频率单元将该交换单元的工作电压和工作频率分别设置为第一电压频率指示信息所指示的电压和频率。Specifically, for each switching slice, when the switching slice starts to work, the switching unit can query the first preset corresponding relationship according to the preset rate to obtain the first voltage frequency indication information, the first preset corresponding relationship may include the voltage frequency indication information corresponding to each rate range in at least one rate range, the first voltage frequency indication information is the voltage frequency indication information corresponding to the rate range in which the preset rate is located; the exchange unit may acquire the second A voltage frequency indication information is sent to the voltage frequency unit, so that the voltage frequency unit sets the operating voltage and frequency of the switching unit to the voltage and frequency indicated by the first voltage frequency indication information respectively.

第二种,对于该多个交换分片中的每个交换分片,当该交换单元的工作电压和工作频率过大或过小时,该交换单元还用于获取该交换分片的交换数据量,并根据该交换数据量确定第二电压频率指示信息,该电压频率单元还用于根据第二电压频率指示信息调节该交换单元的工作电压和工作频率。Second, for each of the plurality of switching slices, when the operating voltage and operating frequency of the switching unit are too large or too small, the switching unit is also used to obtain the exchange data volume of the switching slice , and determine the second voltage frequency indication information according to the amount of exchanged data, and the voltage frequency unit is also used to adjust the operating voltage and operating frequency of the exchange unit according to the second voltage frequency indication information.

其中,该交换数据量可以包括需要通过该交换分片交换的数据量的总和,也可以包括该交换分片中累积的待交换的数据量的总和。该交换数据量可以由该交换分片通过统计得到,比如,该交换分片可以周期性地统计或者非周期性地统计所有需要通过该交换分片21交换的数据量得到该交换数据量。Wherein, the amount of exchanged data may include the sum of the amount of data that needs to be exchanged through the exchange segment, or the sum of the amount of data to be exchanged accumulated in the exchange segment. The amount of exchanged data can be obtained by statistics of the exchange segment. For example, the exchange segment can periodically or aperiodically count all the amount of data that needs to be exchanged through the exchange segment 21 to obtain the amount of exchanged data.

可选的,对于每个交换分片,当该交换单元所传输的交换数据量发生变化或者该交换单元的工作状态与之前设置的工作电压或工作频率不匹配时,该交换单元可以统计该交换数据量,并根据该交换数据量查询第二预设对应关系以获取第二电压频率指示信息,第二预设对应关系中可以包括多个预设数据量范围中的每个预设数据量范围对应的电压频率指示信息,第二电压频率指示信息为该交换数据量所在的预设数据量范围对应的电压频率指示信息;该交换单元可以将获取到第二电压频率指示信息发送给该电压频率单元,当该电压频率单元接收到第二电压频率指示信息时,该电压频率单元可以将该交换单元的工作电压和工作频率分别调整为第二电压频率指示信息所指示的电压和频率。Optionally, for each exchange fragment, when the amount of exchange data transmitted by the exchange unit changes or the working state of the exchange unit does not match the previously set operating voltage or operating frequency, the exchange unit can count the exchange data volume, and query the second preset corresponding relationship according to the exchanged data volume to obtain the second voltage frequency indication information, the second preset corresponding relationship may include each preset data volume range in a plurality of preset data volume ranges The corresponding voltage frequency indication information, the second voltage frequency indication information is the voltage frequency indication information corresponding to the preset data volume range where the exchange data volume is located; the exchange unit can send the obtained second voltage frequency indication information to the voltage frequency unit, when the voltage frequency unit receives the second voltage frequency indication information, the voltage frequency unit can adjust the working voltage and frequency of the switching unit to the voltage and frequency indicated by the second voltage frequency indication information respectively.

需要说明的是,上述第二预设对应关系可以是事先设置并配置在该交换单元中的,第二预设对应关系中的多个预设数据量范围、以及与该多个预设数据量范围中的每个预设数据量范围对应的电压频率指示信息可以由本领域技术人员根据经验或者试验测量确定,本申请实施例对此不作具体限制。It should be noted that the above-mentioned second preset correspondence relationship may be pre-set and configured in the switching unit, the multiple preset data volume ranges in the second preset correspondence relationship, and the multiple preset data volume ranges The voltage and frequency indication information corresponding to each preset data volume range in the range may be determined by those skilled in the art based on experience or experimental measurement, which is not specifically limited in this embodiment of the present application.

在一种可能的实施例中,该交换单元包括多个输入接口、输入缓冲器和第一处理单元,如图11所示,该方法包括S311-S313。In a possible embodiment, the switching unit includes multiple input interfaces, an input buffer, and a first processing unit. As shown in FIG. 11 , the method includes S311-S313.

S311:输入缓冲器缓存该交换分片通过该多个输入接口接收到的上行数据。S311: The input buffer buffers the uplink data received by the switching slice through the multiple input interfaces.

其中,该输入缓冲器中可以包括多个虚拟输出队列(virtual output queue,VOQ),当该输入缓冲器用于缓存该交换分片通过该多个输入接口接收到的上行数据时,该多个VOQ可用于缓存去往不同交换分片的上行数据、或者用于缓存去往不同交换分片的不同接口的上行数据。Wherein, the input buffer may include a plurality of virtual output queues (virtual output queue, VOQ). It can be used to cache uplink data destined for different switch shards, or to cache uplink data destined for different interfaces of different switch shards.

S312:第一处理单元获取该输入缓冲器中累积的第一数据量,并在第一数据量大于预设阈值时,根据第一数据量获取第三电压频率指示信息。S312: The first processing unit acquires a first data amount accumulated in the input buffer, and when the first data amount is greater than a preset threshold, acquires third voltage frequency indication information according to the first data amount.

该输入缓冲器中缓存的上行数据可以按照一定速率被调度输出,当该调度输出的速率小于该上行数据的接收速率时,该输入缓冲器中的上行数据会产生累积,从而该输入缓冲器在一段时间内累积的上行数据的数据量可以为该第一数据量。第一处理单元可以获取该输入缓冲器中累积的第一数据量,并在第一数据量大于第一预设阈值时,根据第一数据量获取第三电压频率指示信息,之后将第三电压频率指示信息发送给电压频率单元。The uplink data buffered in the input buffer can be scheduled for output according to a certain rate. When the rate of the scheduled output is less than the receiving rate of the uplink data, the uplink data in the input buffer will be accumulated, so that the input buffer is in The data amount of uplink data accumulated within a period of time may be the first data amount. The first processing unit may obtain the first data amount accumulated in the input buffer, and when the first data amount is greater than the first preset threshold, obtain the third voltage frequency indication information according to the first data amount, and then the third voltage The frequency indication information is sent to the voltage frequency unit.

S313:电压频率单元根据第三电压频率指示信息调节第一处理单元的工作电压和工作频率。S313: The voltage frequency unit adjusts the working voltage and the working frequency of the first processing unit according to the third voltage frequency indication information.

其中,第三电压频率指示信息可用于指示第一处理单元的电压和频率。当该电压频率单元接收到第三电压频率指示信息时,可以将第一处理单元的工作电压和工作频率分别调整为第三电压频率指示信息所指示的电压和频率。Wherein, the third voltage frequency indication information may be used to indicate the voltage and frequency of the first processing unit. When the voltage frequency unit receives the third voltage frequency indication information, it can adjust the working voltage and frequency of the first processing unit to the voltage and frequency indicated by the third voltage frequency indication information respectively.

可选的,该交换分片还可以包括入口调度器,入口调度器可用于调度该输入缓冲器中缓存的上行数据,比如,用于按照一定速率调度该输入缓冲器中的多个VOQ中的上行数据出队。第一处理单元还可用于对从该输入缓冲器的多个VOQ中出队的上行数据进行解码和切片等处理,处理后的数据可以通过该交换总线进行数据交换。Optionally, the switching slice may further include an ingress scheduler, which can be used to schedule the uplink data buffered in the input buffer, for example, to schedule the uplink data in the multiple VOQs in the input buffer at a certain rate Uplink data is dequeued. The first processing unit can also be used for decoding and slicing the uplink data dequeued from the multiple VOQs of the input buffer, and the processed data can be exchanged through the exchange bus.

此外,对于该多个VOQ中的每个VOQ,入口调度器还可以根据该VOQ的状态确定该VOQ待出队的请求量(即该VOQ中所缓存的数据所在的数据流的数据量),并将该请求量发送给该VOQ中缓存的上行数据去往的分换分片。比如,以第一交换分片和第二交换分片为例,若第一交换分片的输入缓冲器中的VOQ1用于缓存去往第二交换分片的上行数据,则第一交换分片的入口调度器可以将VOQ1待出队的请求量发送给第二交换分片。In addition, for each VOQ in the plurality of VOQs, the ingress scheduler can also determine the request volume of the VOQ to be dequeued according to the state of the VOQ (that is, the data volume of the data stream where the data cached in the VOQ is located), And send the request to the sub-shard to which the uplink data buffered in the VOQ goes. For example, taking the first switching fragment and the second switching fragment as an example, if VOQ1 in the input buffer of the first switching fragment is used to buffer uplink data destined for the second switching fragment, then the first switching fragment The ingress scheduler of VOQ1 can send the request quantity to be dequeued to the second exchange segment.

在另一种可能的实现方式中,该交换单元还包括多个输出接口和第二处理单元,如图11所示,该方法还可以包括S314-S315。其中,S314-S315与S311-S313可以不分先后顺序,图11中以S314-S315位于S311-S313之后为例进行说明。In another possible implementation manner, the switching unit further includes a plurality of output interfaces and a second processing unit. As shown in FIG. 11 , the method may further include S314-S315. Wherein, S314-S315 and S311-S313 may be in no particular order. In FIG. 11 , S314-S315 is located after S311-S313 as an example for illustration.

S314:第二处理子单元获取该多个输出接口对应的待发送的第二数据量,并根据第二数据量获取第四电压频率指示信息。S314: The second processing subunit acquires a second amount of data to be sent corresponding to the multiple output interfaces, and acquires fourth voltage frequency indication information according to the second amount of data.

其中,该多个输出接口可用于输出下行数据。该下行数据可以是指发送给接入该交换芯片的服务器或者与该交换芯片连接的其他交换芯片的数据。该下行数据可以是通过对交换网中传输至该交换分片的数据进行编码和重组等处理后得到的数据。Wherein, the multiple output interfaces can be used to output downlink data. The downlink data may refer to data sent to a server connected to the switch chip or to other switch chips connected to the switch chip. The downlink data may be data obtained by encoding and recombining data transmitted to the switching segment in the switching network.

第二数据量可以是指需要通过该多个输出接口发送的所有下行数据的数据量,第二处理单元可以获取第二数据量,若第二数据量大于第二预设阈值时,根据第二数据量获取第四电压频率指示信息;之后,第二处理单元可以将第四电压频率指示信息发送给电压频率单元。The second data volume may refer to the data volume of all downlink data that needs to be sent through the multiple output interfaces, and the second processing unit may obtain the second data volume, and if the second data volume is greater than the second preset threshold, according to the second The data amount acquires the fourth voltage frequency indication information; after that, the second processing unit may send the fourth voltage frequency indication information to the voltage frequency unit.

S315:电压频率单元根据第四电压频率指示信息调节第二处理单元的工作电压和工作频率。S315: The voltage frequency unit adjusts the working voltage and the working frequency of the second processing unit according to the fourth voltage frequency indication information.

其中,第四电压频率指示信息可用于指示第二处理单元的电压和频率,该电压频率单元接收到第四电压频率指示信息时,可以将第二处理单元的工作电压和工作频率分别调整为第四电压频率指示信息所指示的电压和频率。Wherein, the fourth voltage frequency indication information can be used to indicate the voltage and frequency of the second processing unit, and when the voltage frequency unit receives the fourth voltage frequency indication information, it can adjust the operating voltage and operating frequency of the second processing unit to the first Four voltages and frequencies indicate the voltage and frequency indicated by the information.

需要说明的是,上述装置实施例中的所有相关内容均可以援引到该方法实施例中的对应步骤中,在此不再赘述。It should be noted that all relevant content in the above device embodiments can be referred to the corresponding steps in the method embodiments, and will not be repeated here.

在本申请实施例提供的供电方法中,该多个交换分片中的每个交换分片均包括交换单元和电压频率单元,该交换单元可通过该交换总线实现该交换分片的数据交换功能,该电压频率单元可在该交换单元工作时为该交换单元提供工作电压和工作频率,从而电压频率单元可以根据该交换分片中交换单元的工作状态提供相应的工作电压和工作频率,这样当该交换分片工作在不同业务场景或不同负载下时,可以使用不同的工作电压和工作频率进行工作,进而使得该交换芯片可以满足不同业务场景和不同负载下的供电需求,从而降低了该交换芯片的功耗。In the power supply method provided by the embodiment of the present application, each of the plurality of switch slices includes a switch unit and a voltage frequency unit, and the switch unit can realize the data exchange function of the switch slice through the switch bus , the voltage frequency unit can provide a working voltage and a working frequency for the switching unit when the switching unit is working, so that the voltage frequency unit can provide a corresponding working voltage and working frequency according to the working state of the switching unit in the switching slice, so when When the switch slice works in different business scenarios or under different loads, it can work with different operating voltages and operating frequencies, so that the switch chip can meet the power supply requirements of different business scenarios and different loads, thereby reducing the cost of the switch. power consumption of the chip.

在本申请的又一方面,提供一种交换设备,该交换设备包括交换芯片,该交换芯片包括上述装置实施例提供的任一种交换芯片。In yet another aspect of the present application, a switching device is provided, and the switching device includes a switching chip, and the switching chip includes any switching chip provided in the above device embodiments.

在本申请的又一方面,提供一种交换系统,该交换系统包括多个交换设备,该多个交换设备中的每个交换设备包括上述装置实施例提供的任一种交换芯片。In still another aspect of the present application, a switching system is provided, and the switching system includes a plurality of switching devices, and each switching device in the plurality of switching devices includes any one of the switching chips provided in the above apparatus embodiments.

在本申请的又一方面,提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当该指令在设备上运行时,使得该设备执行上述方法实施例提供的任一种交换芯片的供电方法。In yet another aspect of the present application, a computer-readable storage medium is provided. Instructions are stored in the computer-readable storage medium. When the instructions are run on a device, the device is made to perform any one of the methods provided by the above-mentioned method embodiments. The power supply method of the switch chip.

在本申请的又一方面,提供一种计算机程序产品,当该计算机程序产品在设备上运行时,使得该设备执行上述方法实施例提供的任一种交换芯片的供电方法。In yet another aspect of the present application, a computer program product is provided. When the computer program product is run on a device, the device is made to execute any one of the methods for supplying power to a switch chip provided in the foregoing method embodiments.

最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。Finally, it should be noted that: the above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto, and any changes or replacements within the technical scope disclosed in the application shall be covered by this application. within the scope of the application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (20)

一种交换芯片,其特征在于,所述交换芯片包括:交换总线、以及与所述交换总线耦合的多个交换分片,所述多个交换分片中的每个交换分片包括交换单元和电压频率单元;A switch chip, characterized in that the switch chip includes: a switch bus, and a plurality of switch slices coupled to the switch bus, and each switch slice in the multiple switch slices includes a switch unit and Voltage frequency unit; 所述交换单元,用于通过所述交换总线进行数据交换;The switching unit is configured to perform data switching through the switching bus; 所述电压频率单元,用于单独为所述交换单元提供工作电压和工作频率。The voltage and frequency unit is used to separately provide the switching unit with a working voltage and a working frequency. 根据权利要求1所述的芯片,其特征在于,The chip according to claim 1, characterized in that, 所述交换单元,还用于根据预设速率确定第一电压频率指示信息;The switching unit is further configured to determine the first voltage frequency indication information according to a preset rate; 所述电压频率单元,还用于根据所述第一电压频率指示信息设置所述交换单元的工作电压和工作频率。The voltage frequency unit is further configured to set the working voltage and frequency of the switching unit according to the first voltage frequency indication information. 根据权利要求2所述的芯片,其特征在于,所述预设速率是根据所述交换分片的带宽配置的。The chip according to claim 2, wherein the preset rate is configured according to the bandwidth of the switching slice. 根据权利要求1-3任一项所述的芯片,其特征在于,The chip according to any one of claims 1-3, characterized in that, 所述交换单元,还用于获取所述交换分片的交换数据量,并根据所述交换数据量确定第二电压频率指示信息;The switching unit is further configured to obtain the exchange data volume of the exchange slice, and determine the second voltage frequency indication information according to the exchange data volume; 所述电压频率单元,还用于根据所述第二电压频率指示信息调节所述交换单元的工作电压和工作频率。The voltage frequency unit is further configured to adjust the working voltage and frequency of the switching unit according to the second voltage frequency indication information. 根据权利要求4所述的芯片,其特征在于,所述交换单元还用于:The chip according to claim 4, wherein the switching unit is also used for: 根据所述交换数据量查询预设对应关系,以获取所述第二电压频率指示信息;Querying a preset corresponding relationship according to the amount of exchanged data to obtain the second voltage frequency indication information; 其中,所述预设对应关系用于指示多个预设数据量范围中的每个预设数据量范围对应的电压频率指示信息,所述第二电压频率指示信息为所述交换数据量所在的预设数据范围对应的电压频率指示信息。Wherein, the preset corresponding relationship is used to indicate the voltage frequency indication information corresponding to each preset data volume range in the multiple preset data volume ranges, and the second voltage frequency indication information is where the exchanged data volume is located. The voltage and frequency indication information corresponding to the preset data range. 根据权利要求4或5所述的芯片,其特征在于,所述交换单元包括多个输入接口、输入缓冲器和第一处理单元;The chip according to claim 4 or 5, wherein the switching unit comprises a plurality of input interfaces, an input buffer and a first processing unit; 所述输入缓冲器,用于缓存所述交换分片通过所述多个输入接口接收到的上行数据;The input buffer is used to buffer the uplink data received by the switching slice through the multiple input interfaces; 所述第一处理单元,用于获取所述输入缓冲器中累积的第一数据量,并在所述第一数据量大于预设阈值时,根据所述第一数据量获取第三电压频率指示信息;The first processing unit is configured to acquire a first amount of data accumulated in the input buffer, and when the first amount of data is greater than a preset threshold, acquire a third voltage frequency indication according to the first amount of data information; 所述电压频率单元,还用于根据所述第三电压频率指示信息调节所述第一处理单元的工作电压和工作频率。The voltage frequency unit is further configured to adjust the working voltage and frequency of the first processing unit according to the third voltage frequency indication information. 根据权利要求4-6任一项所述的芯片,其特征在于,所述交换单元还包括多个输出接口和第二处理单元;The chip according to any one of claims 4-6, wherein the switching unit further includes a plurality of output interfaces and a second processing unit; 所述第二处理子单元,用于获取所述多个输出接口对应的待发送的第二数据量,并根据所述第二数据量获取第四电压频率指示信息;The second processing subunit is configured to acquire a second amount of data to be sent corresponding to the plurality of output interfaces, and acquire fourth voltage frequency indication information according to the second amount of data; 所述电压频率单元,还用于根据所述第四电压频率指示信息调节所述第二处理单元的工作电压和工作频率。The voltage frequency unit is further configured to adjust the working voltage and frequency of the second processing unit according to the fourth voltage frequency indication information. 根据权利要求1-7任一项所述的芯片,其特征在于,所述电压频率单元包括电源单元和时钟分频器;The chip according to any one of claims 1-7, wherein the voltage frequency unit includes a power supply unit and a clock divider; 所述电源单元,用于单独为所述交换单元提供所述工作电压;The power supply unit is used to separately provide the working voltage for the switching unit; 所述时钟分频器,用于单独为所述交换单元提供所述工作频率。The clock frequency divider is used to provide the switching unit with the working frequency independently. 根据权利要求8所述的芯片,其特征在于,所述电源单元包括控制单元和供电单元;The chip according to claim 8, wherein the power supply unit includes a control unit and a power supply unit; 所述控制单元,用于控制所述供电单元产生所述交换单元的所述工作电压。The control unit is configured to control the power supply unit to generate the working voltage of the switching unit. 根据权利要求8或9所述的芯片,其特征在于,所述电源单元为片上低压线性稳压器OCLDO。The chip according to claim 8 or 9, characterized in that the power supply unit is an on-chip low-voltage linear regulator OCLDO. 根据权利要求1-10任一项所述的芯片,其特征在于,所述交换总线通过外部电源供电。The chip according to any one of claims 1-10, wherein the switching bus is powered by an external power supply. 根据权利要求1-11任一项所述的芯片,其特征在于,所述多个交换分片呈矩阵式排列,所述交换总线包括第一交换总线和第二交换总线,所述多个交换分片中任意相邻的两行交换分片与所述第一交换总线耦合,所述多个交换分片中任意相邻的两列交换分片与所述第二交换总线耦合。The chip according to any one of claims 1-11, wherein the plurality of switch slices are arranged in a matrix, the switch bus includes a first switch bus and a second switch bus, and the plurality of switch slices Any two adjacent rows of switch slices in the slices are coupled to the first switch bus, and any adjacent two columns of switch slices in the plurality of switch slices are coupled to the second switch bus. 根据权利要求1-12任一项所述的芯片,其特征在于,所述多个交换分片位于所述交换芯片的至少一金属层中,所述交换总线为片上交换总线。The chip according to any one of claims 1-12, wherein the plurality of switch slices are located in at least one metal layer of the switch chip, and the switch bus is an on-chip switch bus. 一种交换芯片的供电方法,其特征在于,所述交换芯片包括:交换总线、以及与所述交换总线耦合的多个交换分片,所述多个交换分片中的每个交换分片包括交换单元和电压频率单元,所述方法包括:A power supply method for a switch chip, characterized in that the switch chip includes: a switch bus and a plurality of switch slices coupled to the switch bus, and each switch slice in the multiple switch slices includes A switching unit and a voltage frequency unit, the method comprising: 所述交换单元通过所述交换总线进行数据交换;The exchange unit performs data exchange through the exchange bus; 所述电压频率单元单独为所述交换单元提供工作电压和工作频率。The voltage frequency unit alone provides the switching unit with working voltage and working frequency. 根据权利要求14所述的方法,其特征在于,所述电压频率单元单独为所述交换单元提供工作电压和工作频率之前,所述方法还包括:The method according to claim 14, wherein before the voltage frequency unit provides the switching unit with the operating voltage and operating frequency, the method further comprises: 所述交换单元根据预设速率确定第一电压频率指示信息;The switching unit determines the first voltage frequency indication information according to a preset rate; 所述电压频率单元单独为所述交换单元提供工作电压和工作频率,包括:所述电压频率单元根据所述第一电压频率指示信息设置所述交换单元的工作电压和工作频率。The voltage and frequency unit independently provides the working voltage and the working frequency for the switching unit, comprising: the voltage and frequency unit setting the working voltage and working frequency of the switching unit according to the first voltage and frequency indication information. 根据权利要求15所述的方法,其特征在于,所述预设速率是根据所述交换分片的带宽配置的。The method according to claim 15, wherein the preset rate is configured according to the bandwidth of the switching slice. 根据权利要求14-16任一项所述的方法,其特征在于,所述电压频率单元单独为所述交换单元提供工作电压和工作频率之前,所述方法还包括:The method according to any one of claims 14-16, wherein before the voltage frequency unit provides the switching unit with the working voltage and working frequency, the method further includes: 所述交换单元获取所述交换分片的交换数据量,并根据所述交换数据量确定第二电压频率指示信息;The exchange unit obtains the exchange data volume of the exchange slice, and determines the second voltage frequency indication information according to the exchange data volume; 所述电压频率单元单独为所述交换单元单独为工作电压和工作频率,包括:所述电压频率单元根据所述第二电压频率指示信息调节所述交换单元的工作电压和工作频率。The voltage frequency unit independently provides the operating voltage and operating frequency for the exchange unit, including: the voltage frequency unit adjusts the operating voltage and operating frequency of the exchange unit according to the second voltage frequency indication information. 根据权利要求17所述的方法,其特征在于,所述交换单元根据所述交换数据量确定第二电压频率指示信息,包括:The method according to claim 17, wherein the switching unit determines the second voltage frequency indication information according to the amount of exchanged data, comprising: 根据所述交换数据量查询预设对应关系,以获取所述第二电压频率指示信息;Querying a preset corresponding relationship according to the amount of exchanged data to obtain the second voltage frequency indication information; 其中,所述预设对应关系用于指示多个预设数据量范围中的每个预设数据量范围对应的电压频率指示信息,所述第二电压频率指示信息为所述交换数据量所在的预设数据范围对应的电压频率指示信息。Wherein, the preset corresponding relationship is used to indicate the voltage frequency indication information corresponding to each preset data volume range in the multiple preset data volume ranges, and the second voltage frequency indication information is where the exchanged data volume is located. The voltage and frequency indication information corresponding to the preset data range. 根据权利要求17或18所述的方法,其特征在于,所述交换单元包括多个输入接口、输入缓冲器和第一处理单元,所述方法还包括:The method according to claim 17 or 18, wherein the switching unit comprises a plurality of input interfaces, an input buffer and a first processing unit, and the method further comprises: 所述输入缓冲器缓存所述交换分片通过所述多个输入接口接收到的上行数据;The input buffer buffers the uplink data received by the switch slice through the multiple input interfaces; 所述第一处理单元获取所述输入缓冲器中累积的第一数据量,并在所述第一数据量大于预设阈值时,根据所述第一数据量获取第三电压频率指示信息;The first processing unit acquires a first amount of data accumulated in the input buffer, and when the first amount of data is greater than a preset threshold, acquires third voltage frequency indication information according to the first amount of data; 所述电压频率单元根据所述第三电压频率指示信息调节所述第一处理单元的工作电压和工作频率。The voltage frequency unit adjusts the operating voltage and operating frequency of the first processing unit according to the third voltage frequency indication information. 根据权利要求17-19任一项所述的方法,其特征在于,所述交换单元还包括多个输出接口和第二处理单元,所述方法还包括:The method according to any one of claims 17-19, wherein the switching unit further includes a plurality of output interfaces and a second processing unit, and the method further includes: 所述第二处理子单元获取所述多个输出接口对应的待发送的第二数据量,并根据所述第二数据量获取第四电压频率指示信息;The second processing subunit acquires a second amount of data to be sent corresponding to the plurality of output interfaces, and acquires fourth voltage frequency indication information according to the second amount of data; 所述电压频率单元根据所述第四电压频率指示信息调节所述第二处理单元的工作电压和工作频率。The voltage frequency unit adjusts the operating voltage and operating frequency of the second processing unit according to the fourth voltage frequency indication information.
PCT/CN2021/102456 2021-06-25 2021-06-25 Switch chip and power supply method Ceased WO2022267030A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/102456 WO2022267030A1 (en) 2021-06-25 2021-06-25 Switch chip and power supply method
CN202180097836.6A CN117242326A (en) 2021-06-25 2021-06-25 A switching chip and power supply method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/102456 WO2022267030A1 (en) 2021-06-25 2021-06-25 Switch chip and power supply method

Publications (1)

Publication Number Publication Date
WO2022267030A1 true WO2022267030A1 (en) 2022-12-29

Family

ID=84545104

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/102456 Ceased WO2022267030A1 (en) 2021-06-25 2021-06-25 Switch chip and power supply method

Country Status (2)

Country Link
CN (1) CN117242326A (en)
WO (1) WO2022267030A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1820270A (en) * 2003-05-07 2006-08-16 睦塞德特拉华公司 Power managers for an integrated circuit
US20090027939A1 (en) * 2007-07-23 2009-01-29 Samsung Electronics Co., Ltd. Multi-chip package reducing power-up peak current
CN104037128A (en) * 2014-06-12 2014-09-10 上海新储集成电路有限公司 Production method of configurable microcontroller chip
CN104867914A (en) * 2014-02-24 2015-08-26 超威半导体公司 Multi-chip system
CN106502361A (en) * 2016-10-19 2017-03-15 盛科网络(苏州)有限公司 The regulating power consumption method of chip, apparatus and system
CN111710663A (en) * 2020-07-01 2020-09-25 无锡中微亿芯有限公司 Multi-die silicon stacking interconnection structure FPGA

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1820270A (en) * 2003-05-07 2006-08-16 睦塞德特拉华公司 Power managers for an integrated circuit
US20090027939A1 (en) * 2007-07-23 2009-01-29 Samsung Electronics Co., Ltd. Multi-chip package reducing power-up peak current
CN104867914A (en) * 2014-02-24 2015-08-26 超威半导体公司 Multi-chip system
CN104037128A (en) * 2014-06-12 2014-09-10 上海新储集成电路有限公司 Production method of configurable microcontroller chip
CN106502361A (en) * 2016-10-19 2017-03-15 盛科网络(苏州)有限公司 The regulating power consumption method of chip, apparatus and system
CN111710663A (en) * 2020-07-01 2020-09-25 无锡中微亿芯有限公司 Multi-die silicon stacking interconnection structure FPGA

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
UMIT Y. OGRAS ; RADU MARCULESCU ; PURU CHOUDHARY ; DIANA MARCULESCU: "Voltage-Frequency Island Partitioning for GALS-based Networks-on-Chip", DESIGN AUTOMATION CONFERENCE : DAC, ASSOCIATION FOR COMPUTING MACHINERY ; INSTITUTE OF ELECTRICAL AND ELECTRONICS ENGINEERS, US, 1 June 2007 (2007-06-01), US , pages 110 - 115, XP031183314, ISSN: 0738-100X, ISBN: 978-1-58113-461-2 *

Also Published As

Publication number Publication date
CN117242326A (en) 2023-12-15

Similar Documents

Publication Publication Date Title
US11588757B2 (en) Traffic management in a network switching system with remote physical ports
Gibson et al. Aquila: A unified, low-latency fabric for datacenter networks
EP1080560B1 (en) Method and apparatus for forwarding packets from a plurality of contending queues to an output
Kliazovich et al. DENS: data center energy-efficient network-aware scheduling
EP2695338B1 (en) Port and priority based flow control mechanism
Hafeez et al. Detection and mitigation of congestion in SDN enabled data center networks: A survey
US20050135356A1 (en) Switching device utilizing requests indicating cumulative amount of data
CN104836750B (en) A kind of data center network stream scheduling method based on round-robin
CN105656799A (en) Scheduling method based on business features in SDN network
US20020131412A1 (en) Switch fabric with efficient spatial multicast
Wu et al. Network congestion avoidance through packet-chaining reservation
EP1708441B1 (en) A method, network element and communication network for fairly adjusting bandwidth among distributed network elements
US7990873B2 (en) Traffic shaping via internal loopback
Xu et al. An adaptive flow table adjustment algorithm for SDN
US11646978B2 (en) Data communication method and apparatus
Kar et al. Scheduling algorithms for optical packet fabrics
WO2022267030A1 (en) Switch chip and power supply method
Fang et al. Energy optimizations for data center network: Formulation and its solution
KR101681613B1 (en) Apparatus and method for scheduling resources in distributed parallel data transmission system
Mohammadkhan et al. Improving performance and scalability of next generation cellular networks
KR20130048091A (en) Apparatus and method for operating multi lane in high-rate ethernet optical link interface
JP2012213239A (en) Network relay device
Dumych Study on traffic aggregation algorithms for edge nodes of optical burst switching network
Pan et al. CQPPS: A scalable multi‐path switch fabric without back pressure
US12047296B2 (en) Scalable loss tolerant remote direct memory access over optical infrastructure with shaped quota management

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202180097836.6

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21946523

Country of ref document: EP

Kind code of ref document: A1