Computing device, physical state adjustment method, medium and product
The expander identifies and confirms the control instruction type and status mark, and adjusts the physical layer port status only when the conditions are met, solving the conflict problem of in-band and out-of-band control paths and improving adjustment efficiency and stability.
Patent Information
- Application Number
- CN202510799687.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-16
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2045-06-16
AI Technical Summary
In the prior art, conflicts arise when adjusting the physical layer port status between in-band and out-of-band control paths, resulting in low adjustment efficiency.
The expander obtains the control instructions sent by the processor or baseboard management controller, identifies the instruction type and the status mark of the target physical layer port, and only adjusts the status when the adjustment conditions are met to avoid conflicts.
Improves the adjustment efficiency and stability of the physical layer port status, avoiding link oscillation caused by repeated adjustments.
Smart Images

Figure CN120316045B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of computing devices, and in particular to a computing device, a method for adjusting a physical state, a medium, and a product. Background Art
[0002] In related technologies, there are two paths for adjusting the physical state of a physical layer port. In the in-band control path, the expander can adjust the state of the physical layer port in the expander based on control instructions sent by the processor. In the out-of-band control path, the expander can adjust the state of the physical layer port in the expander based on control instructions sent by the baseboard management controller.
[0003] However, in the related art, both paths can adjust the status of the physical layer port, and there may be a conflict between the states adjusted by the two paths, resulting in low adjustment efficiency in the related art. Summary of the Invention
[0004] The present application provides a computing device, a method for adjusting the physical state, a medium, and a product to at least solve the problem of low adjustment accuracy in related technologies.
[0005] The present application provides a computing device, including an expander, and a processor and a baseboard management controller connected to the expander, wherein the controller includes multiple physical layer ports;
[0006] The expander is configured to receive a control instruction sent by a processor or a baseboard management controller and determine an instruction type of the control instruction; the instruction type is an in-band instruction type or an out-of-band instruction type; the control instruction includes an identifier of a target physical layer port among the multiple physical layer ports;
[0007] The expander is also used to obtain the status mark of the target physical layer port according to the identifier of the target physical layer port, and adjust the physical state of the target physical layer port according to the control instruction when it is determined that the target physical layer port meets the adjustment conditions according to the status mark and the instruction type; the status mark is a locked disabled status mark or an unlocked disabled status mark.
[0008] This application also provides a method for adjusting a physical state, comprising:
[0009] Receive a control instruction sent by a processor or a baseboard management controller, and determine an instruction type of the control instruction; the instruction type is an in-band instruction type or an out-of-band instruction type; the control instruction includes an identifier of a target physical layer port among multiple physical layer ports;
[0010] According to the identification of the target physical layer port, the status mark of the target physical layer port is obtained. When it is determined that the target physical layer port meets the adjustment conditions based on the status mark and the instruction type, the physical state of the target physical layer port is adjusted according to the control instruction; the status mark is a locked disabled status mark or an unlocked disabled status mark.
[0011] The present application also provides a device for adjusting a physical state, comprising:
[0012] An instruction recognition module is used to receive a control instruction sent by a processor or a baseboard management controller and determine the instruction type of the control instruction; the instruction type is an in-band instruction type or an out-of-band instruction type; the control instruction includes an identifier of a target physical layer port among multiple physical layer ports;
[0013] The arbitration module is used to obtain the status mark of the target physical layer port according to the identifier of the target physical layer port, and adjust the physical state of the target physical layer port according to the control instruction when it is determined that the target physical layer port meets the adjustment conditions according to the status mark and the instruction type; the status mark is a locked disabled status mark or an unlocked disabled status mark.
[0014] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the aforementioned method for adjusting the physical state are implemented.
[0015] The present application also provides a computer program product, including a computer program, which implements the steps of the aforementioned method for adjusting the physical state when the computer program is executed by a processor.
[0016] The present application discloses a computing device comprising an expander, a processor connected to the expander, and a baseboard management controller (BMC), wherein the controller comprises multiple physical layer ports. Upon receiving a control instruction from the processor or BMC, the expander is configured to adjust the physical state of the target physical layer port according to the control instruction, based on a status flag of the target physical layer port and the instruction type of the control instruction, if the target physical layer port satisfies an adjustment condition. This solves the problem of low adjustment efficiency in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0018] Figure 1A schematic diagram of the structure of a computing device provided in an embodiment of the present application Figure 1 ;
[0019] Figure 2 A schematic diagram of the structure of a computing device provided in an embodiment of the present application Figure 2 ;
[0020] Figure 3 A schematic diagram of the structure of an expander provided in an embodiment of the present application Figure 1 ;
[0021] Figure 4 A schematic diagram of the structure of an expander provided in an embodiment of the present application Figure 2 ;
[0022] Figure 5 A flow chart of a method for adjusting a physical state provided in an embodiment of the present application Figure 1 ;
[0023] Figure 6 A flow chart of a method for adjusting a physical state provided in an embodiment of the present application Figure 2 ;
[0024] Figure 7 A schematic structural diagram of a physical state adjustment device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0026] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.
[0027] In related technologies, there are two paths for adjusting the physical state of a physical layer port. In the in-band control path, the expander can adjust the state of the physical layer port in the expander based on control instructions sent by the processor. In the out-of-band control path, the expander can adjust the state of the physical layer port in the expander based on control instructions sent by the baseboard management controller.
[0028] However, in the related art, both paths can adjust the status of the physical layer port, and there may be a conflict between the states adjusted by the two paths, resulting in low adjustment efficiency in the related art.
[0029] Therefore, in response to the above-mentioned technical problems in the related art, during research, it was discovered that if the target physical layer port can be determined to meet the adjustment conditions based on the status flag of the target physical layer port and the instruction type of the control instruction, and if the adjustment is only performed when the adjustment conditions are met, adjustment conflicts can be avoided. Therefore, the present application proposes a computing device, a method for adjusting the physical state, a medium, and a product. Specifically, the computing device includes an expander, a processor, and a baseboard management controller connected to the expander. The expander includes multiple physical layer ports. The expander is configured to obtain a control instruction (including an identifier of a target physical layer port among the multiple physical layer ports) sent by the processor or the baseboard management controller and determine the instruction type of the control instruction. The expander is configured to obtain the status flag of the target physical layer port based on the identifier of the target physical layer port and, if it is determined based on the status flag (locked disabled status flag or non-locked disabled status flag) and the instruction type (in-band instruction type or out-of-band instruction type) that the target physical layer port meets the adjustment conditions, adjust the physical state of the target physical layer port according to the control instruction.
[0030] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0031] Figure 1 A schematic diagram of the structure of a computing device provided in an embodiment of the present application Figure 1 .
[0032] like Figure 1 As shown, the computing device 10 includes an expander 101 , a processor 102 , and a baseboard management controller 103 .
[0033] The expander 101 includes multiple physical layer (Physical Layer) ports.
[0034] For example, Figure 1 Three physical layer ports are shown, namely physical layer port 1, physical layer port 2 and physical layer port 3. It should be noted that, in one implementation, the expander 101 can be connected to the storage device through the physical layer port. For example, Figure 1 The computing device 10 may include three storage devices, namely storage device 1, storage device 2 and storage device 3. Figure 1As shown, the expander 101 can be connected to the storage device 1 through the physical layer port 1; the expander 101 can be connected to the storage device 2 through the physical layer port 2; and the expander 101 can be connected to the storage device 3 through the physical layer port 3.
[0035] The expander 101 may be connected to the processor 102 .
[0036] The expander 101 may be connected to the baseboard management controller 103 .
[0037] The expander 101 is configured to obtain control instructions sent by the processor 102 or the baseboard management controller 103 .
[0038] The control instruction may include an identifier of a target physical layer port among the multiple physical layer ports. For example, the identifier of the target physical layer port may be a serial number of the target physical layer port.
[0039] Furthermore, in one implementation, the control instruction may include an operation code, wherein the operation code instructs adjusting the physical state of the target physical layer port from a disabled state to a non-disabled state (also referred to as an open state or an active state), or the operation code instructs adjusting the physical state of the target physical layer port from a non-disabled state to a disabled state (also referred to as a closed state).
[0040] The expander 101 is further configured to determine the instruction type of the control instruction.
[0041] The instruction type is an in-band instruction type or an out-of-band instruction type.
[0042] It should be noted that the in-band instruction type refers to that the control instruction is a control instruction sent by the processor 102 ; the out-of-band instruction type refers to that the control instruction is a control instruction sent by the baseboard management controller 103 .
[0043] Next, the process of the expander 101 determining the instruction type of the control instruction will be described.
[0044] In one implementation:
[0045] Figure 2 A schematic diagram of the structure of a computing device provided in an embodiment of the present application Figure 2 .like Figure 2 As shown, the extender 101 includes an in-band interface unit 1011 and an out-band interface unit 1012 .
[0046] In one implementation, the in-band interface unit 1011 may be a SAS interface unit, and the out-band interface unit 1012 may be an Inter-Integrated Circuit (I2C) interface unit.
[0047] The expander 101 can be connected to the processor 102 via an in-band interface unit 1011. In one implementation, the computing device 10 may further include a serial-attached small computer system interface (SAS)-input / output controller (IO Controller, IOC) 104. If the computing device 10 includes the SAS-IOC 104, the expander 101 can be connected to the processor 102 via the in-band interface unit 1011 of the expander 101 and the SAS-IOC 104.
[0048] The expander 101 may be connected to the baseboard management controller 103 via the out-of-band interface unit 1012 .
[0049] When the extender 101 receives the control instruction through the in-band interface unit 1011 , it determines that the instruction type of the control instruction is an in-band instruction type.
[0050] When the extender 101 receives the control instruction through the out-of-band interface unit 1012 , it determines that the instruction type of the control instruction is an out-of-band instruction type.
[0051] Through the above method, the instruction type of the control instruction can be accurately identified, thereby accurately identifying the sending component of the control instruction (baseboard management controller or processor), thereby achieving accurate source tracking of the control instruction.
[0052] The expander 101 is further configured to obtain a status flag of the target physical layer port according to the identifier of the target physical layer port.
[0053] The state flag is a locked disabled state flag or an unlocked disabled state flag. It should be noted that the locked disabled state flag means that the physical layer state of the target physical layer port is locked to a disabled state and cannot be adjusted from the disabled state to the unlocked state by a control instruction whose corresponding instruction type does not match the lock type; the unlocked disabled state flag means that the physical layer state of the target physical layer port is not locked to a disabled state.
[0054] The expander 101 is further configured to adjust the physical state of the target physical layer port according to the control instruction when it is determined, based on the state flag and the instruction type, that the target physical layer port meets the adjustment condition.
[0055] It should be noted that, in one implementation, the expander 101 includes a physical status register ( Figure 1(not shown). The expander 101 is configured to adjust the value of the physical status register corresponding to the target physical layer port according to the control instruction.
[0056] In addition, the expander 101 is further configured to discard the control instruction when it is determined, based on the status flag and the instruction type, that the target physical layer port does not meet the adjustment condition.
[0057] Beneficial effects of this embodiment: In this embodiment, a computing device includes an expander, a processor, and a baseboard management controller connected to the expander. The expander includes multiple physical layer ports. The expander is configured to obtain a control instruction sent by the processor or baseboard management controller and determine the instruction type of the control instruction; the instruction type is either an in-band instruction type or an out-of-band instruction type; the control instruction includes an identifier of a target physical layer port from among the multiple physical layer ports. The expander is configured to obtain a status flag of the target physical layer port based on the identifier of the target physical layer port, and if it is determined, based on the status flag and the instruction type, that the target physical layer port meets an adjustment condition, adjust the physical state of the target physical layer port according to the control instruction. This approach avoids the situation where control instructions sent by either the processor or the baseboard management controller can adjust the physical state of the target physical layer port, resulting in conflicts between the physical state adjustments made by the processor and the baseboard management controller, repeated adjustments to the physical state of the target physical layer port, and link oscillation. In other words, this approach improves the efficiency and stability of the adjustment of the physical state of the physical layer port.
[0058] The following describes a process in which the expander 101 adjusts the physical state of the target physical layer port according to the control instruction when it determines, based on the state flag and the instruction type, that the target physical layer port meets the adjustment condition.
[0059] Out-of-band priority scenarios:
[0060] In one implementation:
[0061] The expander 101 is configured to determine whether the status flag is a lock disabled status flag and the instruction type is an in-band instruction type.
[0062] The expander 101 is configured to determine that the target physical layer port does not meet the adjustment condition when the state flag is the locked disabled state flag and the instruction type is an in-band instruction type.
[0063] The expander 101 is configured to determine whether the target physical layer port meets an adjustment condition when the state flag is a non-locked disabled state flag and / or the instruction type is an out-of-band instruction type.
[0064] The expander 101 is configured to adjust the physical state of the target physical layer port according to the control instruction when the target physical layer port meets the adjustment condition.
[0065] In addition, it should be noted that the expander 101 may also be configured to discard the control instruction when the target physical layer port does not meet the adjustment condition.
[0066] Through the above method, when the physical state of the target physical layer port is locked to a disabled state by an out-of-band control instruction, that is, when the control instruction of the out-of-band instruction type controls the physical state of the target physical layer port to be disabled, that is, when the status mark is a locked disabled state mark, the control instruction of the in-band instruction type cannot adjust the physical state of the target physical layer port, thereby solving the problem of competition between the control instructions of the out-of-band instruction type and the control instructions of the in-band instruction type, ensuring the priority of out-of-band operation and maintenance operations, maintaining the efficiency of the out-of-band instruction type control instructions in adjusting the physical state of the physical layer port, and thus maintaining the stability of the physical state of the physical layer port.
[0067] In-band priority scenarios:
[0068] In one implementation:
[0069] The expander 101 is configured to determine whether the status flag is a locked disabled status flag and the instruction type is an out-of-band instruction type.
[0070] The expander 101 is configured to determine that the target physical layer port does not meet the adjustment condition when the state flag is the locked disabled state flag and the instruction type is an out-of-band instruction type.
[0071] The expander 101 is configured to determine whether the target physical layer port meets an adjustment condition when the state flag is a non-locked disabled state flag and / or the instruction type is an in-band instruction type.
[0072] The expander 101 is configured to adjust the physical state of the target physical layer port according to the control instruction when the target physical layer port meets the adjustment condition.
[0073] In addition, it should be noted that the expander 101 may also be configured to discard the control instruction when the target physical layer port does not meet the adjustment condition.
[0074] Through the above method, when the physical state of the target physical layer port is locked to a disabled state by an in-band control instruction, that is, when the in-band instruction type control instruction controls the physical state of the target physical layer port to a disabled state, that is, when the state mark is a locked disabled state mark, the out-of-band instruction type control instruction cannot adjust the physical state of the target physical layer port, thereby solving the problem of competition between the out-of-band instruction type control instruction and the in-band instruction type control instruction, ensuring the priority of in-band operation and maintenance operations, maintaining the efficiency of the in-band instruction type control instruction in adjusting the physical state of the physical layer port, and thus maintaining the stability of the physical state of the physical layer port.
[0075] Determine whether in-band or out-of-band is prioritized based on the lock type:
[0076] In one implementation:
[0077] The expander 101 is configured to obtain the lock type of the status flag.
[0078] The lock type is either an in-band lock type or an out-band lock type. It should be noted that the in-band lock type means that the status flag can be updated by the extender 101 in response to an in-band control instruction; the out-band lock type means that the status flag can be updated by the extender 101 in response to an out-band control instruction.
[0079] The expander 101 is configured to determine whether the target physical layer port meets an adjustment condition according to the lock type, the status flag, and the instruction type.
[0080] Next, the process of the expander 101 determining whether the target physical layer port meets the adjustment condition according to the lock type, the status flag and the instruction type is described.
[0081] In one implementation:
[0082] The expander 101 is configured to determine whether the status flag is a lock disable status flag and whether the lock type does not match the instruction type.
[0083] It should be noted that, in one implementation, when the lock type is an in-band lock type and the instruction type is an in-band instruction type, the lock type matches the instruction type. In another implementation, when the lock type is an out-of-band lock type and the instruction type is an out-of-band instruction type, the lock type matches the instruction type.
[0084] The expander 101 is configured to determine that the target physical layer port does not meet the adjustment condition when the state flag is the lock disabled state flag and the lock type does not match the instruction type.
[0085] The expander 101 is configured to determine that the target physical layer port meets the adjustment condition when the state flag is a non-lock disabled state flag and / or the lock type matches the instruction type.
[0086] The expander 101 is configured to discard the control instruction if the target physical layer port does not meet the adjustment condition. Furthermore, in one implementation, the expander 101 is further configured to send a second feedback instruction to the processor 102 if the target physical layer port does not meet the adjustment condition, based on the instruction type being an in-band instruction type and the lock type being an out-of-band lock type; wherein the second feedback instruction indicates that the state flag of the target physical layer port is a lock disabled state flag.
[0087] The expander 101 is configured to adjust the physical state of the target physical layer port according to the control instruction when the target physical layer port meets the adjustment condition.
[0088] In addition, it should be noted that the expander 101 may also be configured to update the status flag of the target physical layer port according to the control instruction based on the matching of the lock type and the instruction type when the target physical layer port meets the adjustment condition.
[0089] In one implementation, when the opcode in the control instruction indicates adjusting the physical state of the target physical layer port from a disabled state to a non-disabled state, the expander 101 may update the state flag from a locked disabled state flag to a non-locked disabled state flag.
[0090] In one implementation, when the opcode in the control instruction indicates adjusting the physical state of the target physical layer port from a non-disabled state to a disabled state, the expander 101 may update the state flag from a non-locked disabled state flag to a locked disabled state flag.
[0091] In addition, it should be noted that, in one implementation:
[0092] The expander 101 is further configured to: when the status flag is updated from a non-locked disabled status flag to a locked disabled status flag, based on the instruction type being an out-of-band instruction type and the lock type being an out-of-band locked type, send a first feedback instruction to the baseboard management controller 103, and perform timing to obtain a timing duration; when it is detected that the timing duration reaches a first preset duration, determine whether a confirmation instruction has been received; the confirmation instruction is sent by the baseboard management controller 103 in response to the first feedback instruction; and when no confirmation instruction is received, reset the physical state of the target physical layer port and update the status flag from the locked disabled status flag to the non-locked disabled status flag. It should be noted that resetting the physical state of the target physical layer port refers to resetting the physical state of the target physical layer port from a disabled state to a non-disabled state.
[0093] It should also be noted that, in one implementation, after sending the control instruction, the baseboard management controller 103 is configured to poll the physical status register of the expander 101. In this way, the baseboard management controller 103 can promptly learn that the physical status of the target physical layer port has been adjusted.
[0094] Through the above-mentioned approach, the problem of competition between out-of-band control instructions and in-band control instructions is solved, and the stability of the physical state of the physical layer port is maintained.
[0095] Beneficial effects of this embodiment: In this embodiment, the expander can adjust the physical state of the target physical layer port according to the control instruction if it determines, based on the status flag and instruction type, that the target physical layer port meets the adjustment conditions; the expander can discard the control instruction if it determines, based on the status flag and instruction type, that the target physical layer port does not meet the adjustment conditions. This approach can avoid conflicts between the baseboard management controller and the processor in adjusting the physical state of the target physical layer port, which can lead to repeated adjustments to the physical state of the target physical layer port and thus cause link oscillation. In other words, this approach improves the efficiency of adjusting the physical state of the physical layer port and the stability of the physical state of the physical layer port.
[0096] Next, the structure of the expander 101 will be described.
[0097] Figure 3 A schematic diagram of the structure of an expander provided in an embodiment of the present application Figure 1 .
[0098] like Figure 3As shown, the expander 101 may include an in-band interface unit 1011, an out-band interface unit 1012, a non-volatile register 1013, an arbitration logic unit 1016, and a firmware co-processing unit 1017. In addition, the expander 101 may also include multiple physical layer ports ( Figure 3 not shown).
[0099] It should be noted that the arbitration logic unit 1016 is respectively connected to the in-band interface unit 1011 , the out-band interface unit 1012 , the non-volatile register 1013 , and the firmware co-processing unit 1017 . The firmware co-processing unit 1017 may be connected to the non-volatile register 1013 .
[0100] In one implementation, the in-band interface unit 1011 is configured to, upon receiving a control instruction, determine that the instruction type of the control instruction is an in-band instruction type. Furthermore, the in-band interface unit 1011 may extract and process the control instruction to obtain an identifier and an operation code of a target physical layer port, and send the identifier and operation code of the target physical layer port to the arbitration logic unit 1016.
[0101] In one implementation, the out-of-band interface unit 1012 is configured to, upon receiving a control instruction, determine that the instruction type of the control instruction is an out-of-band instruction type. Furthermore, the out-of-band interface unit 1012 may extract and process the control instruction to obtain an identifier and an operation code of a target physical layer port, and send the identifier and operation code of the target physical layer port to the arbitration logic unit 1016.
[0102] It should be noted that the operation code indicates that the physical state of the target physical layer port is adjusted from a disabled state to a non-disabled state, or the operation code indicates that the physical state of the target physical layer port is adjusted from a non-disabled state to a disabled state.
[0103] The arbitration logic unit 1016 is configured to obtain the status flag of the target physical layer port stored in the non-volatile register 1013 according to the identifier of the target physical layer port.
[0104] The arbitration logic unit 1016 is further configured to obtain the lock type of the status flag, wherein the lock type is an in-band lock type or an out-of-band lock type.
[0105] The arbitration logic unit 1016 is further configured to determine whether the status flag is a lock disable status flag and the lock type does not match the instruction type.
[0106] The arbitration logic unit 1016 is further configured to determine that the target physical layer port does not meet the adjustment condition when the state flag is the lock disabled state flag and the lock type does not match the instruction type.
[0107] In addition, in one implementation, the firmware co-processing unit 1017 is used to send a second feedback instruction to the processor 102 based on the instruction type being an in-band instruction type and the lock type being an out-of-band lock type when the target physical layer port does not meet the adjustment conditions; wherein the second feedback instruction indicates that the status mark of the target physical layer port is a lock disabled status mark.
[0108] The arbitration logic unit 1016 is further configured to determine that the target physical layer port meets the adjustment condition when the state flag is a non-lock disabled state flag and / or the lock type matches the instruction type.
[0109] The arbitration logic unit 1016 is further configured to adjust the physical state of the target physical layer port according to the control instruction when the target physical layer port meets the adjustment condition. In one implementation, the arbitration logic unit 1016 is specifically configured to adjust the physical state of the target physical layer port according to the operation code when the target physical layer port meets the adjustment condition.
[0110] In addition, the arbitration logic unit 1016 is further configured to update the status flag according to the control instruction based on the matching of the lock type and the instruction type when the target physical layer port meets the adjustment condition.
[0111] In addition, in one implementation, the firmware co-processing unit 1017 is used to send a first feedback instruction to the baseboard management controller 103 and perform timing to obtain the timing duration when the status mark is updated from the non-locked disabled state mark to the locked disabled state mark based on the instruction type being an out-of-band instruction type and the locking type being an out-of-band locked type; and determine whether a confirmation instruction is received when it is monitored that the timing duration reaches a first preset duration (such as 10 seconds); the confirmation instruction is sent by the baseboard management controller 103 in response to the first feedback instruction; and if no confirmation instruction is received, reset the physical state of the target physical layer port and update the status mark from the locked disabled state mark to the non-locked disabled state mark.
[0112] Additionally, in one implementation:
[0113] The firmware co-processing unit 1017 is further configured to determine whether the control instruction includes adjustment information of the status mark when detecting that the instruction type of the control instruction does not match the lock type and the status mark of the target physical layer port is the lock disabled status mark.
[0114] The firmware co-processing unit 1017 is further configured to record the instruction type of the control instruction, the identifier of the target physical layer port, and the current time of acquisition to the system log and generate an alarm message when the control instruction includes adjustment information of the status mark.
[0115] Beneficial effects of this embodiment: In this embodiment, the arbitration logic unit can obtain the target physical layer port's status flag from a non-volatile register in the expander. By storing the target physical layer port's status flag in the non-volatile register, the status flag can be persistently stored, preventing the target physical layer port's status flag from being lost due to an expander power outage or restart, thereby improving the stability of controlling the physical state of the physical layer port. Furthermore, the physical state adjustment process is implemented by the arbitration logic unit (hardware circuit), which has a minimal impact on the expander's data throughput process, reduces the utilization of the expander's computing resources, and improves the expander's resource utilization.
[0116] Figure 4 A schematic diagram of the structure of an expander provided in an embodiment of the present application Figure 2 .
[0117] like Figure 4 As shown, the expander 101 may include an in-band interface unit 1011, an out-band interface unit 1012, a volatile memory 1014 and a non-volatile memory 1015, an arbitration logic unit 1016, and a firmware co-processing unit 1017. In addition, the expander 101 may also include multiple physical layer ports ( Figure 4 not shown).
[0118] The arbitration logic unit 1016 is configured to obtain the state flag of the target physical layer port stored in the volatile memory 1014 according to the identifier of the target physical layer port.
[0119] In one implementation, a state table is stored in the volatile memory 1014. The state table includes state flags of multiple physical layer ports, and the state flags of the multiple physical layer ports include a state flag of a target physical layer port.
[0120] In addition, in one implementation, the arbitration logic unit 1016 is also used to copy the status mark corresponding to the target physical layer port from the volatile memory 1014 to the non-volatile memory 1015 when it is monitored that the storage time of the status mark corresponding to the target physical layer port stored in the volatile memory 1014 reaches a second preset time.
[0121] In addition, it should be noted that, in one implementation, the arbitration logic unit 1016 is also used to copy the status mark corresponding to the target physical layer port stored in the non-volatile memory 1015 from the non-volatile memory 1015 to the volatile memory 1014 when it is detected that the expander 101 is powered on.
[0122] The beneficial effects of the embodiments of the present application are as follows: By storing the target physical layer port's status mark in volatile memory (internal memory) and periodically copying it to non-volatile memory, persistent storage of the status mark is achieved. Therefore, when the expander is powered on again, the target physical layer port's status mark in non-volatile memory can be copied to volatile memory (internal memory) for retrieval by the arbitration logic unit. In other words, this approach prevents the target physical layer port's status mark from being lost due to a power failure or restart of the expander, thereby improving the stability of controlling the physical state of the physical layer port.
[0123] Figure 5 A flow chart of a method for adjusting a physical state provided in an embodiment of the present application Figure 1 The execution subject of this method may be a computing device, and further, may be an extender in the computing device. Figure 5 , the method specifically comprises the following steps:
[0124] S501: Receive a control instruction sent by a processor or a baseboard management controller, and determine the instruction type of the control instruction.
[0125] In this embodiment, the extender may receive a control instruction sent by a processor or a baseboard management controller and determine an instruction type of the control instruction. The instruction type may be an in-band instruction type or an out-of-band instruction type. The control instruction may include an identifier of a target physical layer port among the multiple physical layer ports.
[0126] In one implementation:
[0127] The expander includes an in-band interface unit and an out-band interface unit. The expander is connected to the processor via the in-band interface unit, and is connected to the baseboard management controller via the out-band interface unit.
[0128] When the extender receives the control instruction through the in-band interface unit, it determines that the instruction type of the control instruction is an in-band instruction type.
[0129] When the extender receives the control instruction through the out-of-band interface unit, it determines that the instruction type of the control instruction is an out-of-band instruction type.
[0130] S502: Obtain a status flag of the target physical layer port according to the identifier of the target physical layer port, and adjust the physical state of the target physical layer port according to the control instruction when determining that the target physical layer port meets the adjustment condition according to the status flag and the instruction type.
[0131] In this embodiment, the expander can obtain a state flag of the target physical layer port according to the identifier of the target physical layer port, wherein the state flag is a locked disabled state flag or an unlocked disabled state flag.
[0132] The expander may adjust the physical state of the target physical layer port according to the control instruction when it is determined, based on the state flag and the instruction type, that the target physical layer port meets the adjustment condition.
[0133] In one implementation:
[0134] The extender can obtain the lock type of the status flag; the lock type is an in-band lock type or an out-of-band lock type.
[0135] The expander can determine whether the target physical layer port meets the adjustment condition according to the lock type, the status flag and the instruction type.
[0136] The expander can adjust the physical state of the target physical layer port according to the control instruction when the target physical layer port meets the adjustment condition. In one implementation, the expander can include a physical state register corresponding to the target physical layer port. The expander can adjust the value of the physical state register corresponding to the target physical layer port according to the control instruction to adjust the physical state of the target physical layer port.
[0137] The beneficial effects of this embodiment are as follows: the expander can obtain a control instruction sent by a processor or a baseboard management controller and determine the instruction type of the control instruction; the instruction type is an in-band instruction type or an out-of-band instruction type; and the control instruction includes the identifier of a target physical layer port among multiple physical layer ports. The expander can obtain the status mark of the target physical layer port based on the identifier of the target physical layer port, and adjust the physical state of the target physical layer port according to the control instruction when it is determined that the target physical layer port meets the adjustment conditions based on the status mark and the instruction type. Through the above method, it is possible to avoid the situation where the control instructions sent by either the processor or the baseboard management controller can adjust the physical state of the target physical layer port, resulting in a conflict between the physical states adjusted by the processor and the baseboard management controller, resulting in repeated adjustments to the physical state of the target physical layer port, and further leading to link oscillation. In other words, through the above method, the adjustment efficiency and stability of the physical state of the physical layer port are improved.
[0138] Figure 6 A flow chart of a method for adjusting a physical state provided in an embodiment of the present application Figure 2 See also Figure 6 , the method specifically comprises the following steps:
[0139] S601: Receive a control instruction sent by a processor or a baseboard management controller, and determine the instruction type of the control instruction.
[0140] In this embodiment, the expander may receive a control instruction sent by a processor or a baseboard management controller, and determine an instruction type of the control instruction.
[0141] S602: Acquire a status flag of the target physical layer port according to the identifier of the target physical layer port.
[0142] In this embodiment, the expander may obtain the status flag of the target physical layer port according to the identifier of the target physical layer port.
[0143] In one implementation:
[0144] The expander may include a non-volatile register. The expander may obtain a status flag corresponding to the target physical layer port stored in the non-volatile register according to the identifier of the target physical layer port.
[0145] In one implementation:
[0146] The expander may include a volatile memory. The expander may obtain a status flag corresponding to the target physical layer port stored in the volatile memory according to the identifier of the target physical layer port.
[0147] In addition, the expander may further include a non-volatile memory. Upon detecting that the storage duration of the status mark corresponding to the target physical layer port in the volatile memory reaches a second preset duration, the expander may copy the status mark corresponding to the target physical layer port from the volatile memory to the non-volatile memory. Upon detecting that the expander is powered on, the expander may copy the status mark corresponding to the target physical layer port from the non-volatile memory to the volatile memory.
[0148] S603: Obtain the lock type of the status mark.
[0149] In this embodiment, the extender may obtain the lock type of the status flag.
[0150] The locking type is either an in-band locking type or an out-of-band locking type.
[0151] S604: Determine whether the target physical layer port meets the adjustment condition according to the lock type, the status flag, and the instruction type.
[0152] In this embodiment, the expander may determine whether the target physical layer port meets the adjustment condition according to the locking type, the status flag, and the instruction type.
[0153] If yes, execute S605;
[0154] If not, execute S606.
[0155] The following describes a process in which the expander determines whether the target physical layer port meets the adjustment condition based on the lock type, status flag, and instruction type.
[0156] In one implementation:
[0157] The expander may determine if the status flag is a lock disable status flag and the lock type does not match the instruction type.
[0158] The expander may determine that the target physical layer port does not meet the adjustment condition when the state flag is the lock disable state flag and the lock type does not match the instruction type.
[0159] The expander may determine that the target physical layer port meets the adjustment condition when the state flag is a non-lock disabled state flag and / or the lock type matches the instruction type.
[0160] It should be noted that when the lock type is an in-band lock type and the instruction type is an in-band instruction type, the lock type matches the instruction type; when the lock type is an out-band lock type and the instruction type is an out-band instruction type, the lock type matches the instruction type.
[0161] S605: Adjust the physical state of the target physical layer port according to the control instruction.
[0162] In this embodiment, the expander may adjust the physical state of the target physical layer port according to the control instruction when the target physical layer port meets the adjustment condition.
[0163] In addition, the expander may also update the status flag according to the control instruction based on the matching of the lock type and the instruction type when the target physical layer port meets the adjustment condition.
[0164] In addition, the expander may also, when the status flag is updated from the non-locked disabled status flag to the locked disabled status flag, send a first feedback command to the baseboard management controller based on the instruction type being an out-of-band instruction type and the lock type being an out-of-band locked type, and perform timing to obtain a timing duration. The expander may, upon monitoring that the timing duration reaches a first preset duration, determine whether a confirmation command has been received; the confirmation command is sent by the baseboard management controller in response to the first feedback command. The expander may also, if the confirmation command has not been received, reset the physical state of the target physical layer port and update the status flag from the locked disabled status flag to the non-locked disabled status flag.
[0165] S606: discard the control instruction.
[0166] In this embodiment, the expander may discard the control instruction when the target physical layer port does not meet the adjustment condition.
[0167] In addition, when the target physical layer port does not meet the adjustment conditions, the expander can also send a second feedback instruction to the processor based on the instruction type being an in-band instruction type; wherein the second feedback instruction indicates that the status mark of the target physical layer port is a locked disabled status mark.
[0168] Beneficial effects of this embodiment: In this embodiment, the expander can receive a control instruction sent by a processor or baseboard management controller and determine the instruction type of the control instruction; the instruction type is an in-band instruction type or an out-of-band instruction type; the control instruction includes the identifier of a target physical layer port among multiple physical layer ports. The expander can obtain the status mark of the target physical layer port based on the identifier of the target physical layer port. The expander can obtain the lock type of the status mark; the lock type is an in-band lock type or an out-of-band lock type. The expander can determine whether the target physical layer port meets the adjustment conditions based on the lock type, status mark, and instruction type. If the target physical layer port meets the adjustment conditions, the expander can adjust the physical state of the target physical layer port according to the control instruction. If the target physical layer port does not meet the adjustment conditions, the expander can discard the control instruction. Through the above method, accurate adjustment of the physical state of the physical layer port is achieved, the adjustment efficiency of the physical layer port's physical state is improved, and the stability of the physical state of the physical layer port is maintained.
[0169] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0170] Figure 7 This is a schematic diagram of a physical state adjustment device provided in an embodiment of the present application. Figure 7 As shown, the physical state adjustment device 70 includes an instruction recognition module 71 , an arbitration module 72 , a state management module 73 , a state synchronization module 74 , and an exception handling module 75 .
[0171] The instruction recognition module 71 is used to receive a control instruction sent by the processor or the baseboard management controller and determine the instruction type of the control instruction; the instruction type is an in-band instruction type or an out-of-band instruction type; the control instruction includes an identifier of a target physical layer port among multiple physical layer ports;
[0172] The arbitration module 72 is used to obtain the status mark of the target physical layer port according to the identifier of the target physical layer port, and adjust the physical state of the target physical layer port according to the control instruction when it is determined that the target physical layer port meets the adjustment conditions according to the status mark and the instruction type; the status mark is a locked disabled status mark or an unlocked disabled status mark.
[0173] The physical state adjustment device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.
[0174] In one implementation, the arbitration module 72 is specifically configured to:
[0175] Get the lock type of the status mark; the lock type is in-band lock type or out-band lock type;
[0176] Determining whether the target physical layer port meets the adjustment condition according to the lock type, status flag and instruction type;
[0177] When the target physical layer port meets the adjustment condition, the physical state of the target physical layer port is adjusted according to the control instruction.
[0178] The physical state adjustment device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.
[0179] In one implementation, the arbitration module 72 is specifically configured to:
[0180] Determine whether the status flag is a lock disable status flag and the lock type does not match the instruction type;
[0181] In a case where the state flag is a lock disable state flag and the lock type does not match the instruction type, determining that the target physical layer port does not meet the adjustment condition; or,
[0182] In a case where the state flag is a non-lock disabled state flag and / or the lock type matches the instruction type, it is determined that the target physical layer port meets the adjustment condition.
[0183] The physical state adjustment device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.
[0184] In one implementation,
[0185] In a case where the lock type is an in-band lock type and the instruction type is an in-band instruction type, the lock type matches the instruction type;
[0186] In a case where the lock type is an out-of-band lock type and the instruction type is an out-of-band instruction type, the lock type matches the instruction type.
[0187] The physical state adjustment device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.
[0188] In one implementation, the state management module 73 is configured to:
[0189] When the target physical layer port meets the adjustment condition, the state flag is updated according to the control instruction based on the matching of the lock type and the instruction type.
[0190] The physical state adjustment device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.
[0191] In one implementation, the expander is further configured to:
[0192] a state synchronization module 74 configured to, when the state flag is updated from the non-locked disabled state flag to the locked disabled state flag, send a first feedback instruction to the baseboard management controller based on the instruction type being an out-of-band instruction type and the locking type being an out-of-band locking type;
[0193] The exception handling module 75 is used to perform timing and obtain the timing duration;
[0194] The exception handling module 75 is further configured to determine whether a confirmation instruction is received when the timing duration is detected to have reached a first preset duration; the confirmation instruction is sent by the baseboard management controller in response to the first feedback instruction;
[0195] The exception handling module 75 is further configured to, when no confirmation instruction is received, reset the physical state of the target physical layer port and update the state flag from the locked disabled state flag to the unlocked disabled state flag.
[0196] The physical state adjustment device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.
[0197] In one implementation, the state synchronization module 74 is configured to:
[0198] When the target physical layer port does not meet the adjustment condition, based on the instruction type being an in-band instruction type, a second feedback instruction is sent to the processor; wherein the second feedback instruction indicates that the status flag of the target physical layer port is a locked disabled status flag.
[0199] The physical state adjustment device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.
[0200] In one implementation, the arbitration module 72 is specifically configured to:
[0201] According to the identifier of the target physical layer port, a status flag corresponding to the target physical layer port stored in the non-volatile register is obtained.
[0202] The physical state adjustment device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.
[0203] In one implementation, the arbitration module 72 is specifically configured to:
[0204] According to the identifier of the target physical layer port, a status flag corresponding to the target physical layer port stored in the volatile memory is obtained.
[0205] The physical state adjustment device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.
[0206] In one implementation, the arbitration module 72 is further configured to:
[0207] When it is detected that the storage time of the status mark corresponding to the target physical layer port in the volatile memory reaches a second preset time, the status mark corresponding to the target physical layer port is copied from the volatile memory to the non-volatile memory;
[0208] When it is detected that the expander is powered on, the status mark corresponding to the target physical layer port is copied from the non-volatile memory to the volatile memory.
[0209] The physical state adjustment device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.
[0210] In one implementation, the instruction recognition module 71 is specifically configured to:
[0211] In the case where a control instruction is received through the in-band interface unit, determining that the instruction type of the control instruction is an in-band instruction type; or,
[0212] In the case where a control instruction is received through the out-of-band interface unit, it is determined that the instruction type of the control instruction is an out-of-band instruction type.
[0213] The physical state adjustment device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.
[0214] In one implementation, the arbitration module 72 is specifically configured to:
[0215] According to the control instruction, the value of the physical status register corresponding to the target physical layer port is adjusted.
[0216] The physical state adjustment device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar and will not be repeated here.
[0217] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned physical state adjustment method embodiments when running.
[0218] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0219] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any of the above-mentioned physical state adjustment method embodiments are implemented.
[0220] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps in any of the above-mentioned physical state adjustment method embodiments.
[0221] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0222] The above is a computing device, a method for adjusting the physical state, a medium, and a product provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A computing device, characterized in that The device comprises an expander, a processor and a baseboard management controller connected to the expander, wherein the controller comprises a plurality of physical layer ports; The expander is configured to receive a control instruction sent by the processor or the baseboard management controller, and determine an instruction type of the control instruction; the instruction type is an in-band instruction type or an out-of-band instruction type; wherein the in-band instruction type is sent by the processor; the out-of-band instruction type is sent by the baseboard management controller; and the control instruction includes an identifier of a target physical layer port among a plurality of physical layer ports; The expander is further configured to obtain a status mark of the target physical layer port according to the identifier of the target physical layer port, wherein the status mark is a locked disabled status mark or an unlocked disabled status mark; The expander is further configured to obtain a locking type of the status mark; the locking type is an in-band locking type or an out-of-band locking type; In a case where the state flag is a non-locked disabled state flag and / or the lock type matches the instruction type, determining that the target physical layer port meets the adjustment condition; wherein, in a case where the lock type is an in-band lock type and the instruction type is an in-band instruction type, the lock type matches the instruction type; In a case where the lock type is an out-of-band lock type and the instruction type is an out-of-band instruction type, the lock type matches the instruction type; In a case where the target physical layer port meets the adjustment condition, the physical state of the target physical layer port is adjusted according to the control instruction.
2. The computing device according to claim 1, wherein The expander is also used to: determining whether the status flag is a lock disable status flag, and the lock type does not match the instruction type; In a case where the state flag is a lock disable state flag and the lock type does not match the instruction type, it is determined that the target physical layer port does not meet the adjustment condition.
3. The computing device according to claim 1, wherein: The expander is further configured to: In a case where the target physical layer port meets the adjustment condition, based on a match between the lock type and the instruction type, the status flag is updated according to the control instruction.
4. The computing device according to claim 3, wherein: The expander is further configured to: When the state flag is updated from the non-locked disabled state flag to the locked disabled state flag, based on the fact that the instruction type is an out-of-band instruction type and the lock type is an out-of-band lock type, a first feedback instruction is sent to the baseboard management controller, and timing is performed to obtain a timing duration; In the case where it is monitored that the timing duration reaches a first preset duration, determining whether a confirmation instruction is received; the confirmation instruction is sent by the baseboard management controller in response to the first feedback instruction; In the case that the confirmation instruction is not received, the physical state of the target physical layer port is reset, and the state flag is updated from a locked disabled state flag to a non-locked disabled state flag. The computing device according to claim 1 , wherein: The expander is further configured to: When the target physical layer port does not meet the adjustment condition, based on the instruction type being the in-band instruction type, a second feedback instruction is sent to the processor; wherein the second feedback instruction indicates that the status mark of the target physical layer port is a locked disabled status mark. The computing device according to claim 1 , wherein: The expander includes a non-volatile register; when the expander obtains the status flag corresponding to the target physical layer port according to the identifier of the target physical layer port, it is specifically used to: According to the identifier of the target physical layer port, a status flag corresponding to the target physical layer port stored in the non-volatile register is acquired.
7. The computing device according to claim 1, wherein: The expander includes a volatile memory; when the expander obtains the status flag corresponding to the target physical layer port according to the identifier of the target physical layer port, it is specifically used to: According to the identifier of the target physical layer port, a status flag corresponding to the target physical layer port stored in the volatile memory is acquired.
8. The computing device according to claim 7, wherein: The expander includes a non-volatile memory, and is further configured to: When it is detected that the storage time of the status mark corresponding to the target physical layer port in the volatile memory reaches a second preset time, copying the status mark corresponding to the target physical layer port from the volatile memory to the non-volatile memory; When it is detected that the expander is powered on, the status mark corresponding to the target physical layer port is copied from the non-volatile memory to the volatile memory.
9. The computing device according to claim 1, wherein: The expander includes an in-band interface unit and an out-of-band interface unit. The expander is connected to the processor through the in-band interface unit, and is connected to the baseboard management controller through the out-of-band interface unit. When the expander receives a control instruction sent by the processor or the baseboard management controller and determines the instruction type of the control instruction, it is specifically configured to: In the case where the control instruction is received through the in-band interface unit, determining that the instruction type of the control instruction is the in-band instruction type; or In a case where the control instruction is received through the out-of-band interface unit, the instruction type of the control instruction is determined to be the out-of-band instruction type.
10. The computing device according to claim 1, wherein: The expander includes a physical status register corresponding to the target physical layer port; when the expander adjusts the physical status of the target physical layer port according to the control instruction, it is specifically used to: According to the control instruction, the value of the physical status register corresponding to the target physical layer port is adjusted.
11. A method for adjusting a physical state, characterized in that: include: Receive a control instruction sent by a processor or a baseboard management controller, and determine an instruction type of the control instruction; the instruction type is an in-band instruction type or an out-of-band instruction type; wherein the in-band instruction type is sent by the processor; the out-of-band instruction type is sent by the baseboard management controller; the control instruction includes an identifier of a target physical layer port among multiple physical layer ports; Acquire a status mark of the target physical layer port according to the identifier of the target physical layer port, wherein the status mark is a locked disabled status mark or an unlocked disabled status mark; Obtaining a lock type of the status mark; the lock type is an in-band lock type or an out-of-band lock type; In a case where the state flag is a non-locked disabled state flag and / or the lock type matches the instruction type, determining that the target physical layer port meets the adjustment condition; wherein, in a case where the lock type is an in-band lock type and the instruction type is an in-band instruction type, the lock type matches the instruction type; In a case where the lock type is an out-of-band lock type and the instruction type is an out-of-band instruction type, the lock type matches the instruction type; In a case where the target physical layer port meets the adjustment condition, the physical state of the target physical layer port is adjusted according to the control instruction.
12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for adjusting the physical state according to claim 11.
13. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method for adjusting the physical state according to claim 11 are implemented.
Citation Information
Patent Citations
Ethernet switch and method for modifying configuration of same
CN102123055A
Instruction sending method and device, substrate management controller and storage medium
CN117076356A