CN108462609A - A kind of setting method and relevant device of the network port - Google Patents

A kind of setting method and relevant device of the network port Download PDF

Info

Publication number
CN108462609A
CN108462609A CN201810250853.9A CN201810250853A CN108462609A CN 108462609 A CN108462609 A CN 108462609A CN 201810250853 A CN201810250853 A CN 201810250853A CN 108462609 A CN108462609 A CN 108462609A
Authority
CN
China
Prior art keywords
port
ncsi
ports
device interface
target
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.)
Granted
Application number
CN201810250853.9A
Other languages
Chinese (zh)
Other versions
CN108462609B (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201810250853.9A priority Critical patent/CN108462609B/en
Publication of CN108462609A publication Critical patent/CN108462609A/en
Application granted granted Critical
Publication of CN108462609B publication Critical patent/CN108462609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

This application discloses a kind of setting methods of the network port, are applied to electronic equipment, and the electronic equipment has at least one ports NCSI and at least one device interface, the method includes:The network devices connected on the device interface are monitored, monitoring result is obtained;Based on the monitoring result, arrange parameter is generated, the arrange parameter includes port mobile logo and port movement quantity;Quantity is moved based on the port mobile logo and the port, determines the ports target NCSI to be moved or target devices port and the purpose connectivity port of movement;The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.

Description

A kind of setting method and relevant device of the network port
Technical field
This application involves technical field of the computer network, more particularly to a kind of network port setting method and relevant device.
Background technology
It is typically based on network controller-side band interface (Network Controller Sideband in the server Interface, NC-SI) standard connects various devices, such as PHY (Physical) blocks.
And when server connects various devices, the connection usually existed between the ports NCSI and device interface is floated, and is led It causes the connection status between the ports NCSI and device unstable, data transmission can not be normally carried out.For example, in PHY card connectors After part port, can automatically it occupy the preferred port in the ports NCSI, and the device interface being previously connected on these ports On equipment can not then be normally carried out data connection, to cause communication failure.
Therefore, there is an urgent need for a kind of technical solutions that setting can be attached to the network port, to realize reliable data Communication.
Invention content
The purpose of the application is to provide a kind of setting method and relevant device of network port, to solve in the prior art The technical issues of ports NCSI normally can not connect with device interface, lead to communication failure after external network devices in server.
This application provides a kind of setting methods of the network port, are applied to electronic equipment, and the electronic equipment has extremely A few port NCSI and at least one device interface, the method includes:
The network devices connected on the device interface are monitored, monitoring result is obtained;
Based on the monitoring result, arrange parameter is generated, the arrange parameter includes port mobile logo and port movement Quantity;
Quantity is moved based on the port mobile logo and the port, determines the ports target NCSI to be moved or target The purpose connectivity port of device interface and movement;
The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.
The above method, it is preferable that the network devices connected on the device interface are monitored, monitoring result is obtained, including:
It monitors whether the device interface is connected with PHY cards, obtains monitoring result.
The above method, it is preferable that it is based on the monitoring result, generates arrange parameter, including:
When the monitoring result shows to have the connection of PHY cards on the device interface, obtain what the PHY cards were connected PHY card ports and its port number;
Based on the PHY card ports and its port number, arrange parameter is generated, the arrange parameter includes port movement mark Know and quantity is moved in port, the port mobile logo demonstrates the need for that the ports NCSI are arranged or the device interface is right with it Connection relation between the connectivity port answered, the port movement quantity demonstrate the need for the mobile ports NCSI or the device The quantity of part port.
The above method, it is preferable that the network devices connected on the device interface are monitored, monitoring result is obtained, including:
The network devices type connected on the device interface is monitored, monitoring result is obtained.
The above method, it is preferable that it is based on the monitoring result, generates arrange parameter, including:
When the monitoring result shows that the network devices connected on the device interface are the preset first kind, generate The arrange parameter of the arrange parameter of the first kind, the first kind includes that quantity is moved in port mobile logo and port, The port mobile logo demonstrates the need for being arranged between the ports NCSI or the corresponding connectivity port of the device interface Connection relation, port movement quantity demonstrates the need for the quantity of the mobile ports NCSI or the device interface.
The above method, it is preferable that it is based on the monitoring result, generates arrange parameter, including:
When the monitoring result shows that the network devices connected on the device interface are preset Second Type, generate The arrange parameter of the arrange parameter of the Second Type, the Second Type includes that quantity is moved in port mobile logo and port, The port mobile logo demonstrates the need for being arranged between the ports NCSI or the corresponding connectivity port of the device interface Connection relation, port movement quantity demonstrates the need for the quantity of the mobile ports NCSI or the device interface.
Present invention also provides a kind of port controllers, are applied to electronic equipment, and the electronic equipment has at least one The ports NCSI and at least one device interface, wherein:
The port controller obtains monitoring result, is based on for monitoring the network devices connected on the device interface The monitoring result generates arrange parameter, and the arrange parameter includes port mobile logo and port movement quantity, based on described Quantity is moved in port mobile logo and the port, determines the ports target NCSI to be moved or target devices port and movement Purpose connectivity port;The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.
Present invention also provides a kind of NCSI processors, are applied to electronic equipment, and the electronic equipment has at least one The ports NCSI and at least one device interface, wherein:
The NCSI processors obtain monitoring result, are based on for monitoring the network devices connected on the device interface The monitoring result generates arrange parameter, and the arrange parameter includes port mobile logo and port movement quantity, based on described Quantity is moved in port mobile logo and the port, determines the ports target NCSI to be moved or target devices port and movement Purpose connectivity port;The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.
Present invention also provides a kind of electronic equipment, the electronic equipment has at least one ports NCSI and at least one Device interface, the electronic equipment further include:
Memory, for storing data caused by application program and application program operation;
Processor obtains monitoring result for monitoring the network devices connected on the device interface;Based on the monitoring As a result, generating arrange parameter, the arrange parameter includes port mobile logo and port movement quantity;It is moved based on the port Quantity is moved in mark and the port, determines the ports target NCSI to be moved or the connection of the purpose of target devices port and movement Port;The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.
Present invention also provides a kind of communication system, including electronic equipment and network devices, have on the electronic equipment At least one ports NCSI and at least one device interface, wherein:
The electronic equipment obtains monitoring result for monitoring the network devices connected on the device interface;Based on institute Monitoring result is stated, arrange parameter is generated, the arrange parameter includes port mobile logo and port movement quantity;Based on the end Quantity is moved in mouth mobile logo and the port, determines the ports target NCSI to be moved or the mesh of target devices port and movement Connectivity port;The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.
By said program it is found that the setting method and relevant device of a kind of network port provided by the present application, by electricity The network devices that device interface is connected in sub- equipment are monitored, to be arranged between the corresponding ports NCSI and device interface Data connection approach, to realize data communicate.The network devices that are connected according to electronic equipment in the application are freely set The case where setting the connection between port, avoiding cannot achieve data communication failure due to device connection, realizes the application purpose.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of flow chart of the setting method for network port that the embodiment of the present application one provides;
Fig. 2~8 are respectively the application exemplary plot of the embodiment of the present application;
Fig. 9 is a kind of structural schematic diagram for port controller that the embodiment of the present application two provides;
Figure 10 is a kind of structural schematic diagram for NCSI processors that the embodiment of the present application three provides;
Figure 11 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application three provides;
Figure 12 is a kind of structural schematic diagram for communication system that the embodiment of the present application four provides.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
It is a kind of implementation flow chart of the setting method for network port that the embodiment of the present application one provides, at this with reference to figure 1 Apply in embodiment, this method can be applied on the electronic equipment that can connect network devices, such as network server, router Or the terminals such as interchanger.
It is provided with NCSI side band interface network controllers in the electronic device, there is the corresponding ports NCSI, in addition, electronics The device interface also in equipment with respective numbers, can be with external various network devices etc., as shown in Figure 2.
In the present embodiment, this method may comprise steps of:
Step 101:The network devices connected on monitoring devices port, obtain monitoring result.
Wherein, the network devices connected in the port devices can be can be by between the ports NCSI and device interface Connection is formed by data connection channel and electronic equipment into row data communication.
The net connected on device interface can be detected in the present embodiment by the port-mark on monitoring devices port Network device.
Step 102:Based on monitoring result, arrange parameter is generated.
Wherein, which includes port mobile logo and port movement quantity.Port mobile logo refers to needing These ports, the ports NCSI such as to be moved and are moved to by the mark for the port that the mark and needs of mobile port connect On which port;And port movement quantity refers to needing the quantity of mobile port.
Step 103:Quantity is moved based on port mobile logo and port, determines the ports target NCSI to be moved or mesh Mark the target connectivity port of device interface and movement.
That is, what be whether there is and connect according to the network devices connected on device interface in the present embodiment is which Class device, to determine the mobile ports NCSI or moving device port and these mobile ports are connected with which connectivity port It connects, such as ports mobile NCSI are connected to corresponding device interface or moving device port to the corresponding ports NCSI.
Step 104:The setting ports target NCSI or target devices port are connected with target connectivity port.
It is connected with the i.e. corresponding device interface in target connectivity port for example, the ports target NCSI can be arranged in the present embodiment It connects, or setting target devices port is connected with target connectivity port, that is, ports corresponding NCSI, to realize the ports NCSI Data connection between device interface realizes that the data between electronic equipment and network devices communicate.
By said program it is found that a kind of setting method for network port that the embodiment of the present application one provides, by electronics The network devices that device interface is connected in equipment are monitored, to be arranged between the corresponding ports NCSI and device interface Data connection approach, to realize that data communicate.The network devices that are connected according to electronic equipment in the present embodiment are freely set The case where setting the connection between port, avoiding cannot achieve data communication failure due to device connection, realizes the application purpose.
In one implementation, network devices can be PHY cards, that is to say, that device interface is detected in the present embodiment The network devices connected are PHY cards, if it find that the network devices connected on the device interface of electronic equipment are PHY Card, then just obtaining the PHY card ports and its port data that the PHY cards are connected, as shown in Figure 3, device is connected in PHY cards Before part port, the O1 and O2 of device interface RJ45 are connected to by firmware stack firmware stacks on the ports NCSI 0:0 and 0:1 port when having monitored that PHY cards are connected to device interface in the present embodiment, generates corresponding arrange parameter, should Arrange parameter demonstrates the need for the setting ports NCSI or the corresponding connectivity port such as device interface or the ends NCSI of device interface The quantity of connection relation and port between mouthful, for example, it is desired to the mobile ports NCSI or device interface and need to move Dynamic or setting port number.Later, the present embodiment ports panel NCSI or target devices end based on determined by arrange parameter Mouth and purpose connectivity port, are connected the ports target NCSI or target devices port is arranged with purpose connectivity port, and mesh is arranged The mark ports NCSI are connected with purpose connectivity port, that is, purpose device interface.For example, as shown in Figure 4, device interface is arranged The O1 and O2 of RJ45 are separately connected 0 on the ports NCSI:2 and 0:3 ports are equivalent to the port of port RJ45 in the ports NCSI On connectivity port move the connectivity port quantity of PHY cards backward, and P1 and the P2 difference of the device interface RJ45 of PHY cards connection Connect the 0 of the ports NCSI:0 and 0:1 port;As shown in Figure 5, the 0 of the ports setting NCSI:0 and 0:1 port is separately connected PHY The P1 and P2 for blocking the device interface RJ45 of connection, are equivalent to the connectivity port by the ports NCSI on the ports RJ45 and move forward The connectivity port quantity of PHY cards, and the 0 of the ports NCSI:2 and 0:3 ports are separately connected the O1 and O2 of device interface RJ45.
In one implementation, the network devices connected on monitoring devices port in the present embodiment, are specifically as follows The network devices type connected on monitoring devices port, such as the first kind or Second Type, wherein the Network device of the first kind Difference between part and the network devices of Second Type can be understood as the type difference on network transmission performance, such as transmission rate Faster network devices type and the slower network devices type of transmission rate, which, which can pass through, connects network The device identification of device monitors to identify.
Correspondingly, if obtained monitoring result shows that the network devices connected on device interface are the in the present embodiment When one type, the arrange parameter of the first kind is generated, if the network devices connected on device interface are Second Type, is generated The arrange parameter of Second Type, and in the arrange parameter of the first kind and the arrange parameter of Second Type include port movement mark Know and quantity moved in port, wherein the port mobile logo demonstrate the need for being arranged the ports NCSI or the device interface with Connection relation between its corresponding connectivity port, the port movement quantity demonstrate the need for the mobile ports NCSI or institute The quantity of device interface is stated, only, the arrange parameter of the first kind and the arrange parameter of Second Type are in this two variables Content is different.
Specifically, as shown in Figure 6, before network devices are connected to device interface, the O1 and O2 of device interface RJ45 0 be connected on the ports NCSI:0 and 0:0 on the ports NCSI is given tacit consent in 1 port:0 and 0:1 port is that transmission rate is held faster Mouthful, therefore, when monitoring that the network devices of the first kind are connected to device interface in the present embodiment, generate corresponding setting Parameter, the arrange parameter demonstrate the need for the setting ports NCSI or the corresponding connectivity port such as device interface of device interface or The quantity of connection relation and port between the ports NCSI, for example, it is desired to the mobile ports NCSI or device interface and Need port number mobile or being arranged.Later, the present embodiment ports panel NCSI or target based on determined by arrange parameter Device interface and purpose connectivity port are connected the ports target NCSI or target devices port is arranged with purpose connectivity port, The setting ports target NCSI are connected with purpose connectivity port, that is, purpose device interface.For example, as shown in Figure 7, if connection The network devices of 1 and 2 ports of device interface RJ45 are the first kind, then 1 and the 2 of setting RJ45 are separately connected the ports NCSI On 0:0 and 0:1 port, and if the network devices of 1 and 2 ports of device interface RJ45 are Second Type, it is arranged The 1 of RJ45 and 2 are separately connected 0 on the ports NCSI:2 and 0:3 ports, to vacate 0 on the ports NCSI:0 and 0:1 port;Or Person if the network devices of 1 and 2 ports of interface unit port RJ45 are the first kind, is arranged as shown in Figure 8 0 on the ports NCSI:0 and 0:1 port is separately connected 1 and 2 ports of RJ45, and if 1 and 2 ports of device interface RJ45 Network devices are Second Type, then 0 on the ports setting NCSI:2 and 0:3 ports are separately connected the 1 of RJ45 and 2 and are separately connected Port, to vacate 0 on the ports NCSI:0 and 0:1 port.
With reference to figure 9, for a kind of structural schematic diagram for port controller that the embodiment of the present application two provides, the port controller It can be applied in electronic equipment, such as network server, router or interchanger terminal.
In the present embodiment, which can be arranged in the electronic device, for the NCSI in electronic equipment Data connection between port and device interface is configured and controls.
Wherein, the port controller obtains monitoring knot for monitoring the network devices connected on the device interface Fruit is based on the monitoring result, generates arrange parameter, and the arrange parameter includes that quantity is moved in port mobile logo and port, Quantity is moved based on the port mobile logo and the port, determines the ports target NCSI to be moved or target devices port And mobile purpose connectivity port;The ports the target NCSI or the target devices port and the purpose connectivity port are set It is connected.
Wherein, whether port controller can be by being connected with PHY cards, to the ports NCSI and device on monitoring devices port Connection between part port is configured, alternatively, port controller can also be by the network that is connected on monitoring devices port Type of device is configured come the connection between the ports NCSI and device interface, to ensure electronic equipment and network devices Between data communication.
It should be noted that the specific implementation of the present embodiment middle port controller can refer to the phase of hereinbefore Fig. 1~Fig. 8 Content is answered, and will not be described here in detail.
By said program it is found that a kind of port controller that the embodiment of the present application two provides, by device in electronic equipment The network devices that part port is connected are monitored, to which the data connection between the corresponding ports NCSI and device interface be arranged Mode, to realize that data communicate.The network devices connected according to electronic equipment in the present embodiment come be freely arranged port it Between connection, avoid due to device connection cannot achieve data communication failure the case where, realize the present embodiment purpose.
With reference to figure 10, for a kind of structural schematic diagram for NCSI processors that the embodiment of the present application three provides, the NCSI processing Device can be applied in electronic equipment, such as network server, router or interchanger terminal.
In the present embodiment, which can be that NCSI side band interface network controllers are realized, be arranged in electronics In equipment, for in electronic equipment the ports NCSI and device interface between data connection be configured and control.
The NCSI processors obtain monitoring result, are based on for monitoring the network devices connected on the device interface The monitoring result generates arrange parameter, and the arrange parameter includes port mobile logo and port movement quantity, based on described Quantity is moved in port mobile logo and the port, determines the ports target NCSI to be moved or target devices port and movement Purpose connectivity port;The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.
Wherein, whether NCSI processors can be by being connected with PHY cards, to the ports NCSI and device on monitoring devices port Connection between part port is configured, alternatively, NCSI processors can also be by the network that is connected on monitoring devices port Type of device is configured come the connection between the ports NCSI and device interface, to ensure electronic equipment and network devices Between data communication.
It should be noted that the specific implementation of NCSI processors can refer to the phase of hereinbefore Fig. 1~Fig. 8 in the present embodiment Content is answered, and will not be described here in detail.
By said program it is found that a kind of NCSI processors that the embodiment of the present application two provides, by device in electronic equipment The network devices that part port is connected are monitored, to which the data connection between the corresponding ports NCSI and device interface be arranged Mode, to realize that data communicate.The network devices connected according to electronic equipment in the present embodiment come be freely arranged port it Between connection, avoid due to device connection cannot achieve data communication failure the case where, realize the present embodiment purpose.
With reference to figure 11, for the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application three provides, the electronic equipment With at least one ports NCSI and at least one device interface, the electronic equipment can also include:
Memory 1101, for storing data caused by application program and application program operation.
Wherein, memory 1101 may include the volatile memory in computer-readable medium, random access memory The forms such as device (RAM) and/or Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes At least one storage chip.
Processor 1102 obtains monitoring result for monitoring the network devices connected on the device interface;Based on described Monitoring result, generates arrange parameter, and the arrange parameter includes port mobile logo and port movement quantity;Based on the port Quantity is moved in mobile logo and the port, determines the ports target NCSI to be moved or the purpose of target devices port and movement Connectivity port;The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.
Wherein, whether processor 1102 can be by being connected with PHY cards, to the ports NCSI and device on monitoring devices port Connection between part port is configured, alternatively, processor 1102 can also be by the network that is connected on monitoring devices port Type of device is configured come the connection between the ports NCSI and device interface, to ensure electronic equipment and network devices Between data communication.
It should be noted that the specific implementation of processor 1102 can refer to the phase of hereinbefore Fig. 1~Fig. 8 in the present embodiment Content is answered, and will not be described here in detail.
By said program it is found that a kind of electronic equipment that the embodiment of the present application three provides, by device in electronic equipment The network devices that port is connected are monitored, to which the data connection side between the corresponding ports NCSI and device interface be arranged Formula, to realize that data communicate.The network devices that are connected according to electronic equipment in the present embodiment are freely arranged between port Connection, avoid due to device connection cannot achieve data communication failure the case where, realize the present embodiment purpose.
Change in communication system for a kind of structural schematic diagram for communication system that the embodiment of the present application four provides with reference to figure 12 It may include electronic equipment 1201 and network devices 1202, there is at least one ports NCSI 1211 on the electronic equipment 1201 And at least one device interface 1212, the ports NCSI 1211 pass through firmware stack firmware stacks with device interface 1212 Connection is established, wherein:
The electronic equipment 1201 is supervised for monitoring the network devices 1202 connected on the device interface 1212 Survey result;Based on the monitoring result, arrange parameter is generated, the arrange parameter includes port mobile logo and port movement number Amount;Quantity is moved based on the port mobile logo and the port, determines the ports target NCSI to be moved or target devices Port and the purpose connectivity port of movement;The ports the target NCSI or the target devices port is arranged to connect with the purpose Port is connected.
Wherein, whether electronic equipment 1201 can be by being connected with PHY cards, to the ends NCSI on monitoring devices port 1212 Connection between mouth 1211 and device interface 1212 is configured, alternatively, electronic equipment 1201 can also pass through monitoring devices end The network devices type connected on mouth 1212, sets come the connection between the ports NCSI 1211 and device interface 1212 It sets, to ensure that the data between electronic equipment and 1201 network devices 1202 communicate.
It should be noted that the specific implementation of electronic equipment 1201 can be with reference to hereinbefore Fig. 1~Fig. 8's in the present embodiment Corresponding contents, and will not be described here in detail.
By said program it is found that a kind of communication system that the embodiment of the present application four provides, by device in electronic equipment The network devices that port is connected are monitored, to which the data connection side between the corresponding ports NCSI and device interface be arranged Formula, to realize that data communicate.The network devices that are connected according to electronic equipment in the present embodiment are freely arranged between port Connection, avoid due to device connection cannot achieve data communication failure the case where, realize the present embodiment purpose.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
The setting method and relevant device of a kind of network port provided herein are described in detail above, this Specific case is applied in text, and the principle and implementation of this application are described, the explanation of above example is only intended to Help understands the present processes and its core concept;Meanwhile for those of ordinary skill in the art, the think of according to the application Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair The limitation of the application.

Claims (10)

1. a kind of setting method of the network port, is applied to electronic equipment, the electronic equipment has at least one ports NCSI And at least one device interface, the method includes:
The network devices connected on the device interface are monitored, monitoring result is obtained;
Based on the monitoring result, arrange parameter is generated, the arrange parameter includes port mobile logo and port movement quantity;
Quantity is moved based on the port mobile logo and the port, determines the ports target NCSI to be moved or target devices Port and the purpose connectivity port of movement;
The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.
2. according to the method described in claim 1, it is characterized in that, monitor the network devices connected on the device interface, obtain To monitoring result, including:
It monitors whether the device interface is connected with PHY cards, obtains monitoring result.
3. according to the method described in claim 2, it is characterized in that, based on the monitoring result, arrange parameter is generated, including:
When the monitoring result shows to have the connection of PHY cards on the device interface, the PHY cards that the PHY cards are connected are obtained Port and its port number;
Based on the PHY card ports and its port number, generate arrange parameter, the arrange parameter include port mobile logo and Quantity is moved in port, and the port mobile logo demonstrates the need for that the ports NCSI are arranged or the device interface is corresponding Connection relation between connectivity port, the port movement quantity demonstrate the need for the mobile ports NCSI or the device end The quantity of mouth.
4. according to the method described in claim 1, it is characterized in that, monitor the network devices connected on the device interface, obtain To monitoring result, including:
The network devices type connected on the device interface is monitored, monitoring result is obtained.
5. according to the method described in claim 4, it is characterized in that, based on the monitoring result, arrange parameter is generated, including:
When the monitoring result shows that the network devices connected on the device interface are the preset first kind, described in generation The arrange parameter of the arrange parameter of the first kind, the first kind includes that quantity is moved in port mobile logo and port, described Port mobile logo demonstrates the need for being arranged the company between the ports NCSI or the corresponding connectivity port of the device interface Relationship is connect, the port movement quantity demonstrates the need for the quantity of the mobile ports NCSI or the device interface.
6. according to the method described in claim 4, it is characterized in that, based on the monitoring result, arrange parameter is generated, including:
When the monitoring result shows that the network devices connected on the device interface are preset Second Type, described in generation The arrange parameter of the arrange parameter of Second Type, the Second Type includes that quantity is moved in port mobile logo and port, described Port mobile logo demonstrates the need for being arranged the company between the ports NCSI or the corresponding connectivity port of the device interface Relationship is connect, the port movement quantity demonstrates the need for the quantity of the mobile ports NCSI or the device interface.
7. a kind of port controller, is applied to electronic equipment, the electronic equipment has at least one ports NCSI and at least one A device interface, wherein:
The port controller obtains monitoring result, based on described for monitoring the network devices connected on the device interface Monitoring result generates arrange parameter, and the arrange parameter includes port mobile logo and port movement quantity, is based on the port Quantity is moved in mobile logo and the port, determines the ports target NCSI to be moved or the purpose of target devices port and movement Connectivity port;The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.
8. a kind of NCSI processors, are applied to electronic equipment, the electronic equipment has at least one ports NCSI and at least one A device interface, wherein:
The NCSI processors obtain monitoring result, based on described for monitoring the network devices connected on the device interface Monitoring result generates arrange parameter, and the arrange parameter includes port mobile logo and port movement quantity, is based on the port Quantity is moved in mobile logo and the port, determines the ports target NCSI to be moved or the purpose of target devices port and movement Connectivity port;The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.
9. a kind of electronic equipment, the electronic equipment has at least one ports NCSI and at least one device interface, the electricity Sub- equipment further includes:
Memory, for storing data caused by application program and application program operation;
Processor obtains monitoring result for monitoring the network devices connected on the device interface;It is tied based on the monitoring Fruit, generates arrange parameter, and the arrange parameter includes port mobile logo and port movement quantity;It is moved and is marked based on the port Know and quantity is moved in the port, determines the ports target NCSI to be moved or target devices port and the purpose connecting pin of movement Mouthful;The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.
10. a kind of communication system, including electronic equipment and network devices, there is at least one ports NCSI on the electronic equipment And at least one device interface, wherein:
The electronic equipment obtains monitoring result for monitoring the network devices connected on the device interface;Based on the prison It surveys as a result, generating arrange parameter, the arrange parameter includes port mobile logo and port movement quantity;It is moved based on the port Quantity is moved in dynamic mark and the port, determines that the ports target NCSI to be moved or the purpose of target devices port and movement connect Connect port;The ports the target NCSI or the target devices port is arranged with the purpose connectivity port to be connected.
CN201810250853.9A 2018-03-26 2018-03-26 Network port setting method and related equipment Active CN108462609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810250853.9A CN108462609B (en) 2018-03-26 2018-03-26 Network port setting method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810250853.9A CN108462609B (en) 2018-03-26 2018-03-26 Network port setting method and related equipment

Publications (2)

Publication Number Publication Date
CN108462609A true CN108462609A (en) 2018-08-28
CN108462609B CN108462609B (en) 2020-09-25

Family

ID=63237703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810250853.9A Active CN108462609B (en) 2018-03-26 2018-03-26 Network port setting method and related equipment

Country Status (1)

Country Link
CN (1) CN108462609B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100005190A1 (en) * 2008-07-01 2010-01-07 Hemal Shah Method and system for a network controller based pass-through communication mechanism between local host and management controller
CN107463456A (en) * 2017-08-04 2017-12-12 郑州云海信息技术有限公司 A kind of system and method for lifting double netcard NCSI management system switching efficiencies
CN107743076A (en) * 2017-11-03 2018-02-27 郑州云海信息技术有限公司 A kind of NCSI shares interface switching method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100005190A1 (en) * 2008-07-01 2010-01-07 Hemal Shah Method and system for a network controller based pass-through communication mechanism between local host and management controller
CN107463456A (en) * 2017-08-04 2017-12-12 郑州云海信息技术有限公司 A kind of system and method for lifting double netcard NCSI management system switching efficiencies
CN107743076A (en) * 2017-11-03 2018-02-27 郑州云海信息技术有限公司 A kind of NCSI shares interface switching method and device

Also Published As

Publication number Publication date
CN108462609B (en) 2020-09-25

Similar Documents

Publication Publication Date Title
EP3174242B1 (en) Power over ethernet method and device
US9219644B2 (en) Automated configuration of new racks and other computing assets in a data center
DE112011105767B4 (en) network power consumer device
CN106817226A (en) A kind of method of supplying power to and PSE based on PoE
CN105868149A (en) A serial port information transmission method and device
CN108347351A (en) The method, apparatus and system of equipment Dual-Ethernet card compatibility
CN109309735B (en) Connection processing method, server, system and storage medium
CN110933170A (en) Multi-device linkage control method and device of ZigBee gateway and storage medium
CN111540020B (en) Method and device for determining target behavior, storage medium and electronic device
CN104202199A (en) Method and system for detecting interface status and processing interface fault according to interface status
CN109547274A (en) A kind of enclosure board switching method, device and first network equipment
CN108462609A (en) A kind of setting method and relevant device of the network port
CN107608711A (en) Upgrade method, device, system and electronic equipment
US20170048673A1 (en) Integration of wired information and wireless information to locate a wireless device
CN116938953A (en) Block chain-based data processing method and device, electronic equipment and storage medium
CN105282647B (en) A kind of MPP speaker control method and access controller
EP3180659B1 (en) Mobile device, engineering tool device, system and methods for cable configuration in a process control system
CN106161626A (en) A kind of cloud terminal management system and method
CN110096414A (en) A kind of server monitoring method, device, equipment and medium
CN109936609A (en) Terminal chain type upgrade method, device and updating and management server
CN104994040A (en) Ethernet switch and port multiplexing method applied to Ethernet switch
CN106897195A (en) The monitoring method and relevant apparatus of a kind of server cabinet
CN104348641A (en) Fault detection method and fault detection device
CN110971716B (en) Address configuration method, device, system and computer readable storage medium
CN103096037A (en) Network optimization system of video monitoring platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant