CN108768693A - The recognition methods of shared port, storage medium and server in Multi net voting port - Google Patents

The recognition methods of shared port, storage medium and server in Multi net voting port Download PDF

Info

Publication number
CN108768693A
CN108768693A CN201810352589.XA CN201810352589A CN108768693A CN 108768693 A CN108768693 A CN 108768693A CN 201810352589 A CN201810352589 A CN 201810352589A CN 108768693 A CN108768693 A CN 108768693A
Authority
CN
China
Prior art keywords
port
network
shared
bmc
network port
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
CN201810352589.XA
Other languages
Chinese (zh)
Other versions
CN108768693B (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.)
Huaqin Telecom Technology Co Ltd
Original Assignee
Huaqin Telecom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huaqin Telecom Technology Co Ltd filed Critical Huaqin Telecom Technology Co Ltd
Priority to CN201810352589.XA priority Critical patent/CN108768693B/en
Publication of CN108768693A publication Critical patent/CN108768693A/en
Application granted granted Critical
Publication of CN108768693B publication Critical patent/CN108768693B/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

Abstract

The present embodiments relate to technical field of data processing, recognition methods, storage medium and the server of shared port in a kind of Multi net voting port are disclosed.In the embodiment of the present invention, in Multi net voting port the recognition methods of shared port be applied to network card chip, method includes:When detecting that one of network port has cable insertion, the sharing request of the network port is sent to BMC;When receiving shared confirmation message from BMC, the network port is set as to can be used in the shared port of transmitting network data and BMC data;Control prompt element is in first state;It is shared port that first state, which characterizes the network port,.The embodiment of the present invention additionally provides a kind of server and storage medium.The embodiment of the present invention allows the operator to visually intuitively identify shared port from multiple network ports, it is conveniently operated personnel accurately and quickly determines the corresponding network environment of shared port, to improve the efficiency that BMC controls work, provided a convenient for operating personnel.

Description

The recognition methods of shared port, storage medium and server in Multi net voting port
Technical field
The present embodiments relate to technical field of data processing, more particularly to the knowledge of shared port in a kind of Multi net voting port Other method, storage medium and server.
Background technology
Baseboard management controller (BMC) is widely used to server field, is monitored to the health status of server Management, external equipment can realize remote control server with BMC by network connection.When BMC uses service by shared When the network that the network port on device is connected to the network port carrys out remote control server, BMC only can on server One of network port is shared to be used;I.e. external equipment needs to connect the network on this shared port to realize to BMC's Control work.
However, it is found by the inventors that at least there are the following problems in the prior art:Usually there are multiple networks on existing server Port, operating personnel can not intuitively identify the network port shared with BMC from multiple network ports, so that operation Personnel can not determine the corresponding networks of BMC, affect BMC control work, and bring inconvenience to operating personnel.
Invention content
The recognition methods for being designed to provide shared port in a kind of Multi net voting port, the storage of embodiment of the present invention are situated between Matter and server so that operating personnel visually can intuitively identify shared port from multiple network ports, convenient Operating personnel are accurate and quickly determine the corresponding network environment of shared port, to improve the efficiency that BMC controls work, for behaviour It is provided a convenient as personnel.
In order to solve the above technical problems, embodiments of the present invention provide a kind of knowledge of shared port in Multi net voting port Other method, is applied to network card chip, and the network card chip is connected to baseboard management controller BMC and multiple network ports;Each At least one prompt element is installed on the network port;The method includes:When detecting one of them described network port When having cable insertion, the sharing request of the network port is sent to the BMC;When receiving shared confirmation letter from the BMC When breath, the network port is set as to can be used in the shared port of transmitting network data and BMC data;Control the prompt Element is in first state;It is the shared port that the first state, which characterizes the network port,.
Embodiments of the present invention additionally provide a kind of server, including network card chip, baseboard management controller BMC, deposit Reservoir and multiple network ports;At least one prompt element is installed on each network port;The network card chip communication It is connected to the BMC, the prompt element and each network port, the memory is stored with can be by the network interface card core The instruction that piece executes, described instruction is executed by the network card chip, so that the network card chip is able to carry out above-mentioned Multi net voting The recognition methods of shared port in port.
Embodiments of the present invention additionally provide a kind of storage medium, are stored with computer program, the computer program The recognition methods of shared port in above-mentioned Multi net voting port is realized when being executed by processor.
Embodiment of the present invention in terms of existing technologies, when detecting that one of network port has cable insertion When, the sharing request of the network port is sent to BMC, and when receiving shared confirmation message from BMC, which is set as Shared port, and control prompt element and be in the first state for characterizing that the network port is shared port so that operating personnel's energy It is enough visually intuitively to identify shared port from multiple network ports, it is accurate and quickly determining total to be conveniently operated personnel The corresponding network environment in port is enjoyed, to improve the efficiency that BMC controls work, is provided a convenient for operating personnel.
In addition, the method further includes:It detects when transmitting the BMC data in the shared port, controls institute It states prompt element and is in the second state;Shared port described in second state representation is transmitting the BMC data.This implementation In example, when shared port is transmitting BMC data, control prompt element is in the second state so that the relevant personnel are in vision It is upper to carry out BMC control work by prompting the state of element that get information about someone, while can determine that this is total The network for enjoying port is connection, and the sharing functionality of the shared port is normal;And the present embodiment can also be used as a kind of survey Whether trial work section, the BMC sharing functionalities for intuitively testing each network port are normal.
In addition, when detecting that one of them described network port has cable insertion, and send the network port described Sharing request to the BMC before, further include:Judge whether the network port meets the first preset condition;Wherein, when sentencing Break when the network port and meeting the first preset condition, into the sharing request for sending the network port to described The step of BMC.In the present embodiment, when the network port for being determined with cable insertion meets the first preset condition, retransmit shared It asks to BMC so that the network port need to meet certain condition and just can be changed more shared port (because BMC can only share and use it In a network port), i.e., so that the position of shared port has certainty so that the setting that operating personnel are capable of selectivity is shared The position of port improves the flexibility of setting shared port.
In addition, shared confirmation message is generated by the BMC when judging that the sharing request meets the second preset condition.This In embodiment, is generated when BMC judgement sharing requests meet the second preset condition and share confirmation message, is i.e. whether the network port can It is enough executed by BMC as the judgement work of shared port, that is, provides a kind of generating mode of shared confirmation message, and mitigate The processing load of network card chip.
In addition, prompt element is the connection indicator light of the network port;It is described to detect one of them described network-side When mouth has cable insertion, and before the sharing request to the BMC for sending the network port, further include:Control institute The state for stating prompt element is in the third state;The third state characterizes the network port network connection success.This implementation In example, existing connection indicator light prompts shared port as prompt element using on the network port so that existing network-side Mouth changes the prompt that can be realized as to shared port, convenient, simple and saving cost without making hardware.
In addition, being equipped with connection indicator light and signal transmission indicator light on the network port, the prompt element is the net The shared indicator light of network port.In the present embodiment, newly-increased shared indicator light is installed on the network port as prompt element, makes The each indicator light obtained on the network port only corresponds to a type of function prompt, is conveniently operated in personnel's visually short time Understand the meaning respectively characterized.
Description of the drawings
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element with same reference numbers label is expressed as similar element in attached drawing, removes Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the particular flow sheet of the recognition methods of shared port in Multi net voting port according to first embodiment;
Fig. 2 is the particular flow sheet of the recognition methods of shared port in the Multi net voting port according to second embodiment;
Fig. 3 is the particular flow sheet of the recognition methods of shared port in the Multi net voting port according to third embodiment;
Fig. 4 is a flow chart of the recognition methods of shared port in the Multi net voting port according to the 4th embodiment;
Fig. 5 is another flow chart of the recognition methods of shared port in the Multi net voting port according to the 4th embodiment;
Fig. 6 is the schematic diagram according to the server of sixth embodiment.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details And various changes and modifications based on the following respective embodiments, it can also realize the application technical solution claimed.
The first embodiment of the present invention is related to a kind of recognition methods of shared port in Multi net voting port, are applied to network interface card Chip, network card chip are connected to baseboard management controller BMC and multiple network ports;Be equipped on each network port to Few prompt element;As shown in Figure 1, the recognition methods of shared port includes in Multi net voting port:
Step 101, detect whether one of network port has cable insertion;If so, entering step 102, otherwise continue Execute this step.
In present embodiment, it can preset when there is cable insertion in a network port, network card chip can detect To corresponding cable signal, to judge there is cable insertion in the network port;So without being limited thereto in practice, the present embodiment is to net There is the decision procedure that cable is inserted into be not intended to be limited in any in network port.
Step 102, the sharing request of the network port is sent to BMC.
In present embodiment, when detect have cable insertion in multiple network ports network port when, send The sharing request of the network port is to BMC, wherein sharing request is to ask the network port as the request of shared port. When BMC receives the sharing request information, then feedback is using the network port as the shared confirmation message of shared port to net Card chip.
In one example, as long as BMC receives sharing request, will immediate feedback share confirmation message to network interface card core Piece;It is so exemplary illustration here, it is without being limited thereto in practice.
In another example, when BMC receives the sharing request, BMC determine whether to using the network port as Shared port, however, it is determined that using the network port as shared port, then send and share confirmation message to network card chip.BMC judges Whether using the network port as shared port include:It is shared whether BMC judges itself to have realized with other network ports, It is shared if it is determined that BMC itself is not realized with other network ports also, it is determined that using the network port as shared port;So here Only exemplary illustration, it is without being limited thereto in practice.
Step 103, when receiving shared confirmation message from BMC, the network port is set as to can be used in transmission network The shared port of data and BMC data.
In present embodiment, when network card chip receives shared confirmation message from BMC, then the network port is set as Shared port;Specifically, network interface card firmware can activate network controller side band interface (NCSI) to drive, which is become More shared model, the i.e. network port tool realize that network connection and BMC access there are two independent MAC Address and IP address Function is non-interference.
Step 104, control prompt element is in first state.
In present embodiment, first state is shared port for characterizing the network port.In the present embodiment, element example is prompted Such as it is LED light, so without being limited thereto in practice, the present embodiment is to prompting the type of element to be not intended to be limited in any.
In one example, first state is, for example, that LED light is brightened by going out, and is sent out so that particular color (such as blue) is lasting It is bright;It should be noted that the particular color needs to be different from the color that prompt element characterizes other events, it is so example here Property explanation, the present embodiment is not intended to be limited in any the specific manifestation form of first state.
The embodiment of the present invention in terms of existing technologies, when detecting that one of network port has cable insertion When, the sharing request of the network port is sent to BMC, and when receiving shared confirmation message from BMC, which is set as Shared port, and control prompt element and be in the first state for characterizing that the network port is shared port so that operating personnel's energy It is enough intuitively to identify shared port from multiple network ports, it is conveniently operated personnel accurately and quickly determines shared port pair The network environment answered provides a convenient to improve the efficiency that BMC controls work for operating personnel.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection domain of this patent It is interior;To either adding inessential modification in algorithm in flow or introducing inessential design, but its algorithm is not changed Core design with flow is all in the protection domain of the patent.
Second embodiment of the present invention is related to a kind of recognition methods of shared port in Multi net voting port.Second embodiment party Formula is improved on the basis of first embodiment, is mainly theed improvement is that:In second embodiment of the invention, when altogether When enjoying port and transmitting BMC data, control prompt element is in the second state;
The recognition methods of shared port is as shown in Fig. 2, the step of present embodiment in the Multi net voting port of present embodiment 201 to 204 is identical to 104 correspondences as the step 101 in first embodiment, and details are not described herein, and present embodiment is newly-increased Following steps:
Step 205, detect in shared port that control prompt element is in the second state when transmitting BMC data.
In present embodiment, the second state representation shared port is transmitting BMC data.In the present embodiment, when network control When molding block receives BMC data (such as BMC controls data), you can judge that the network port is transmitting BMC data.
In one example, the second state is that LED light is flickered so that particular color (such as blue) is lasting, so unlimited in practice In this, the specific manifestation form of the second state of the present embodiment pair is not intended to be limited in any.
The embodiment of the present invention is for first embodiment, when shared port is transmitting BMC data, control Prompt element is in the second state so that the relevant personnel are visually by prompting the state of element that can get information about People is carrying out BMC control work, while can determine that the network of the shared port is connection, the shared work(of the shared port Can be normal.In addition, the present embodiment can also be used as a kind of means of testing, for intuitively testing each network port Whether BMC sharing functionalities are normal.
Third embodiment of the present invention is related to a kind of recognition methods of shared port in Multi net voting port.Third embodiment party Formula is improved on the basis of second embodiment, is mainly theed improvement is that:In third embodiment of the invention, when sentencing When being inserted into the network port of cable surely and meeting the first preset condition, the sharing request of the network port is retransmited to BMC.
The recognition methods of shared port is as shown in figure 3, the step of present embodiment in the Multi net voting port of present embodiment 301,303 to 306 is identical as step 201,202 to 205 correspondences in first embodiment, and details are not described herein, this embodiment party Formula has increased following steps newly:
Step 302, judge whether the network port meets the first preset condition;If so, entering step 303, otherwise directly tie Beam.
In present embodiment, when judging that the network port meets the first preset condition, into being total to for the transmission network port Enjoy the step of request is to BMC.
In one example, it is the network-side for being inserted into cable in Multi net voting port for the first time that the first preset condition, which is the network port, Mouthful;It is previously stored with the flag of each network port in network card chip, one of network port is often inserted into/extract cable When, network card chip can record the sequence for being inserted into/extracting cable, be inserted into for the first time in judging the network port for Multi net voting port When the network port of cable, i.e., the network port meets the first preset condition;It is so exemplary illustration here, it is unlimited in practice In this.
In another example, it is the net that predeterminated position is arranged in Multi net voting port that the first preset condition, which is the network port, Network port;Predeterminated position is, for example, the network port of arrangement second in Multi net voting port;It is previously stored in network card chip every The flag of a network port judges whether the flag of the network port is pre- when being inserted into cable in a network port If the flag of the network port of position, if so, judging that the network port meets the first preset condition;It is so example here Property explanation, it is without being limited thereto in practice.
In another example, it is that the last one in Multi net voting port is inserted into cable that the first preset condition, which is the network port, The network port.The flag of each network port is previously stored in network card chip, one of network port is often inserted into/pulls out When going out cable, network card chip can record the sequence for being inserted into/extracting cable, in judging the network port for Multi net voting port most When the latter is inserted into the network port of cable, i.e., the network port meets the first preset condition;It is so exemplary illustration here, It is without being limited thereto in practice.
In fact, the present embodiment may be improvement project on the basis of first embodiment.
The embodiment of the present invention is for first embodiment, when the network port for being determined with cable insertion meets the When one preset condition, sharing request is retransmited to BMC so that the network port need to meet certain condition and just can be changed more shared port (because BMC, which can only share, uses one of network port), i.e., so that the position of shared port has certainty so that operator Member is capable of the position of the setting shared port of selectivity, improves the flexibility of setting shared port.
The 4th embodiment of the present invention is related to a kind of recognition methods of shared port in Multi net voting port.4th embodiment party Formula is improved on the basis of third embodiment, is mainly theed improvement is that:The two types of prompt element are provided, the One kind is shared existing connection indicator light as prompt element, is used as second and to carry for shared existing signal transmission indicator light Show element.
First, the recognition methods of shared port is as shown in figure 4, present embodiment in the Multi net voting port of present embodiment Step 401,403 to 407 identical as step 301,302 to 306 correspondences in first embodiment, details are not described herein, this reality The mode of applying has increased following steps newly:
Step 402, the state of control prompt element is in the third state.
In present embodiment, prompt element is the existing connection indicator light of the network port, and the third state characterizes the network port Network connection success.In one example, the third state is to continue shinny, so without being limited thereto in practice, the present embodiment with green This is not intended to be limited in any.
Second, the recognition methods of shared port is as shown in figure 5, present embodiment in the Multi net voting port of present embodiment Step 501 is to 506 identical to 306 correspondences as the step 301 in first embodiment, and details are not described herein, and present embodiment is new Following steps are increased:
Step 507, detect that the network port just in transmitting network data, controls prompt element and is in the 4th state.
In present embodiment, prompt element is the existing signal transmission indicator light of the network port, the 4th state representation network Port is just in transmitting network data.In one example, the 4th state is shinny with green flicker, so without being limited thereto in practice, The present embodiment is not intended to be limited in any this.
It should be noted that being not intended to be limited in any to the particular order of step 507 in the present embodiment, as long as in step 501 Later all within the scope of the present embodiment.
Third, in one example, it includes existing connection indicator light and signal transmission lamp to prompt element, is indicated by connecting The combined colors or flicker state of lamp and signal transmission lamp prompt shared port.It is in first state in control prompt element In step, specifically include:Control connection indicator light is lasting shinny with the first particular color (such as blue), while controlling signal biography Defeated lamp is continued shinny with the second particular color (such as yellow).In the step of control prompt element is in the second state, specifically Including:Control connection indicator light is shinny with the flicker of the first particular color, while control signal transmission indicator light is with the second specific face Chromatic flicker is shinny.It is so exemplary illustration here, it is without being limited thereto in practice.
4th, in another example, additionally mounted on the existing network port at least one to be served only for prompt shared The shared indicator light of port is as prompt element.
In fact, the present embodiment may be improvement project on the basis of first or second embodiment.
Embodiments of the present invention are for third embodiment, with existing connection indicator light on the network port And/or signal transmission indicator light is used as prompt element, to prompt shared port so that the existing network port is without making hardware Change the prompt that can be realized as to shared port, convenient, simple and saving cost.In addition, being installed on the network port newly-increased Shared indicator light as prompt element so that each indicator light on the network port only corresponds to a type of function prompt, It is conveniently operated the meaning (realizing that the second is understood as far as possible) understood in personnel's visually short time and respectively characterized.
The 5th embodiment of the present invention is related to a kind of recognition methods of shared port in Multi net voting port, the 5th embodiment party Formula is improved on the basis of second embodiment, is mainly theed improvement is that:Provide a kind of life of shared confirmation message At mode.
In present embodiment, shared confirmation message is generated by BMC when judging that sharing request meets the second preset condition;I.e. Substantially, the position of shared port is selected by BMC.
In one example, sharing request includes the flag of the network port, and the second preset condition is to judge the flag Whether it is default flag, if then judging that sharing request meets the second preset condition;It is so exemplary illustration, this reality here The particular content for applying the second preset condition of example pair is not intended to be limited in any.
In another example, whether the second preset condition is to judge the delivery time of sharing request in preset time period It is interior, if then judging that the sharing request meets the second preset condition;It is so exemplary illustration here, it is without being limited thereto in practice.
In another example, the second preset condition is to judge whether the sharing request is shared asking of receiving for the first time It asks, if so, judging that the sharing request meets the second preset condition;It is so exemplary illustration here, it is without being limited thereto in practice.
In another example, the second preset condition is to judge whether the date of shipping of the sharing request is the default date, The default date is, for example, Monday, Wednesday, Friday (so without being limited thereto) weekly;It is so exemplary illustration here, in practice not It is limited to this.
In fact, the present embodiment may be improvement project on the basis of first embodiment, and the 4th embodiment party Formula may be improvement project on the basis of present embodiment.
Embodiments of the present invention meet the second preset condition for second implements, in BMC judgement sharing requests Shi Shengcheng shares confirmation message, i.e. whether the network port can be executed as the judgement work of shared port by BMC, that is, be provided A kind of generating mode of shared confirmation message, alleviates the processing load of network card chip.
Sixth embodiment of the invention is related to a kind of server, as shown in fig. 6, being controlled including network card chip 1, substrate management Device BMC 2, memory 3 and multiple network ports 4.
In present embodiment, at least one prompt element is installed on each network port 4;Network card chip 1 is communicatively coupled to BMC2, prompt element and each network port 4, memory 3 are stored with the instruction that can be executed by network card chip 1, instruct by net Card chip 1 executes, so that network card chip 1 is able to carry out as in any embodiment in first embodiment to the 5th embodiment Multi net voting port in shared port recognition methods.
Wherein, memory is connected with network card chip using bus mode, and bus may include the total of any number of interconnection One or more network card chips and the various of memory are electrically connected to together by line and bridge, bus.Bus can also will such as The various other of peripheral equipment, voltage-stablizer and management circuit or the like are electrically connected to together, these are all this field institutes Well known, therefore, it will not be further described herein.Bus interface provides interface between bus and transceiver.It receives Hair machine can be an element, can also be multiple element, such as multiple receivers and transmitter, provide in transmission medium The upper unit communicated with various other devices.The data handled through network card chip are transmitted on the radio medium by antenna, Further, antenna also receives data and transfers data to network card chip.
Network card chip is responsible for bus and common processing, can also provide various functions, including timing, periphery connects Mouthful, voltage adjusting, power management and other control functions.And memory can be used to store network card chip and execute operation When used data.
In terms of existing technologies, the network card chip in server detects one of net to embodiments of the present invention When there is cable insertion in network port, the sharing request of the network port is sent to BMC, when receiving shared confirmation message from BMC, is incited somebody to action The network port is set as shared port, and controls prompt element and be in the first shape for characterizing that the network port is shared port State so that operating personnel can intuitively identify shared port from multiple network ports, and it is accurate and fast to be conveniently operated personnel The corresponding network environment of determination shared port of speed, to improve the efficiency that BMC controls work, for the operating personnel side of providing Just.
Seventh embodiment of the invention is related to a kind of readable storage medium storing program for executing, is stored with computer program.Computer program quilt It is realized when processor executes as total in the Multi net voting port in any embodiment in first embodiment to the 5th embodiment Enjoy the recognition methods of port.
Embodiments of the present invention in terms of existing technologies, detect that one of network port has cable insertion When, the sharing request of the network port is sent to BMC, and when receiving shared confirmation message from BMC, which is set as Shared port, and control prompt element and be in the first state for characterizing that the network port is shared port so that operating personnel's energy It is enough intuitively to identify shared port from multiple network ports, it is conveniently operated personnel accurately and quickly determines shared port pair The network environment answered provides a convenient to improve the efficiency that BMC controls work for operating personnel.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are making It obtains an equipment (can be microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application The all or part of step of method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention, And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (10)

1. the recognition methods of shared port in a kind of Multi net voting port, which is characterized in that be applied to network card chip, the network interface card core Piece is connected to baseboard management controller BMC and multiple network ports;At least one prompt member is installed on each network port Part;The method includes:
When detecting that one of them described network port has cable insertion, the sharing request of the network port is sent to described BMC;
When receiving shared confirmation message from the BMC, it is set as the network port can be used in transmitting network data With the shared port of BMC data;
It controls the prompt element and is in first state;It is the shared port that the first state, which characterizes the network port,.
2. the recognition methods of shared port in Multi net voting port according to claim 1, which is characterized in that the method is also Including:
Detect that the control prompt element is in the second state when transmitting the BMC data in the shared port;Institute It states shared port described in the second state representation and is transmitting the BMC data.
3. the recognition methods of shared port in Multi net voting port according to claim 1, which is characterized in that described to detect When one of them described network port has cable insertion, and in the sharing request for sending the network port to the BMC Before, further include:
Judge whether the network port meets the first preset condition;
Wherein, when judging that the network port meets the first preset condition, being total to for the network port is sent into described Enjoy the step of request is to the BMC.
4. the recognition methods of shared port in Multi net voting port according to claim 3, which is characterized in that described first is pre- If it is the network port for being inserted into cable in the Multi net voting port for the first time that condition, which is the network port,.
5. the recognition methods of shared port in Multi net voting port according to claim 1, which is characterized in that described shared true Recognize information to be generated when judging that the sharing request meets the second preset condition by the BMC.
6. the recognition methods of shared port in Multi net voting port according to claim 1, which is characterized in that the prompt member Part is the connection indicator light of the network port;It is described when detecting that one of them described network port has cable insertion, and Before the sharing request to the BMC for sending the network port, further include:
The state for controlling the prompt element is in the third state;The third state characterize the network port network connection at Work(.
7. the recognition methods of shared port in Multi net voting port according to claim 1, which is characterized in that the prompt member Part is the signal transmission indicator light of the network port;The method further includes:
Detect that the network port just in transmitting network data, controls the prompt element and is in the 4th state;Described The network port described in four state representations is transmitting the network data.
8. the recognition methods of shared port in Multi net voting port according to claim 1, it is equipped on the network port Connect indicator light and signal transmission indicator light;It is characterized in that, the prompt element is the shared indicator light of the network port.
9. a kind of server, which is characterized in that including network card chip, baseboard management controller BMC, memory and multiple networks Port;
At least one prompt element is installed on each network port;
The network card chip is communicatively coupled to the BMC, the prompt element and each network port,
The memory is stored with the instruction that can be executed by the network card chip, and described instruction is executed by the network card chip, with The network card chip is set to be able to carry out the identification side of shared port in the Multi net voting port as described in any in claim 1 to 8 Method.
10. a kind of storage medium, is stored with computer program, which is characterized in that when the computer program is executed by processor Realize the recognition methods of shared port in Multi net voting port described in any item of the claim 1 to 8.
CN201810352589.XA 2018-04-19 2018-04-19 Method for identifying shared port in multiple network ports, storage medium and server Active CN108768693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810352589.XA CN108768693B (en) 2018-04-19 2018-04-19 Method for identifying shared port in multiple network ports, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810352589.XA CN108768693B (en) 2018-04-19 2018-04-19 Method for identifying shared port in multiple network ports, storage medium and server

Publications (2)

Publication Number Publication Date
CN108768693A true CN108768693A (en) 2018-11-06
CN108768693B CN108768693B (en) 2021-07-23

Family

ID=64011281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810352589.XA Active CN108768693B (en) 2018-04-19 2018-04-19 Method for identifying shared port in multiple network ports, storage medium and server

Country Status (1)

Country Link
CN (1) CN108768693B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460189A (en) * 2018-11-14 2019-03-12 郑州云海信息技术有限公司 A kind of initial method and device of storage system
CN110990065A (en) * 2019-11-14 2020-04-10 苏州浪潮智能科技有限公司 Method for displaying BMC shared network interface mac without loading NC-SI drive
WO2023050848A1 (en) * 2021-09-30 2023-04-06 华为技术有限公司 Port sharing method and related device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200931274A (en) * 2008-01-14 2009-07-16 Aten Int Co Ltd Control device, data processing device and method thereof
TWI432972B (en) * 2010-10-06 2014-04-01 Inventec Corp Server system and mehtod for using shared baseboard management controller
CN104699192A (en) * 2015-01-07 2015-06-10 英业达科技有限公司 Computer
CN105471673A (en) * 2015-11-19 2016-04-06 浪潮电子信息产业股份有限公司 method for realizing automatic batch tests on private server BMC network ports and sharing network ports
CN105897623A (en) * 2016-03-25 2016-08-24 杭州昆海信息技术有限公司 Data transmission method and apparatus
CN107018211A (en) * 2017-05-15 2017-08-04 郑州云海信息技术有限公司 A kind of monitoring method of whole machine cabinet server node information
CN107357698A (en) * 2017-07-07 2017-11-17 郑州云海信息技术有限公司 A kind of method and device of acquisition BMC Serial Port Informations
CN206686217U (en) * 2017-04-25 2017-11-28 郑州云海信息技术有限公司 A kind of multiserver network share framework
CN107743076A (en) * 2017-11-03 2018-02-27 郑州云海信息技术有限公司 A kind of NCSI shares interface switching method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200931274A (en) * 2008-01-14 2009-07-16 Aten Int Co Ltd Control device, data processing device and method thereof
TWI432972B (en) * 2010-10-06 2014-04-01 Inventec Corp Server system and mehtod for using shared baseboard management controller
CN104699192A (en) * 2015-01-07 2015-06-10 英业达科技有限公司 Computer
CN105471673A (en) * 2015-11-19 2016-04-06 浪潮电子信息产业股份有限公司 method for realizing automatic batch tests on private server BMC network ports and sharing network ports
CN105897623A (en) * 2016-03-25 2016-08-24 杭州昆海信息技术有限公司 Data transmission method and apparatus
CN206686217U (en) * 2017-04-25 2017-11-28 郑州云海信息技术有限公司 A kind of multiserver network share framework
CN107018211A (en) * 2017-05-15 2017-08-04 郑州云海信息技术有限公司 A kind of monitoring method of whole machine cabinet server node information
CN107357698A (en) * 2017-07-07 2017-11-17 郑州云海信息技术有限公司 A kind of method and device of acquisition BMC Serial Port Informations
CN107743076A (en) * 2017-11-03 2018-02-27 郑州云海信息技术有限公司 A kind of NCSI shares interface switching method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460189A (en) * 2018-11-14 2019-03-12 郑州云海信息技术有限公司 A kind of initial method and device of storage system
CN110990065A (en) * 2019-11-14 2020-04-10 苏州浪潮智能科技有限公司 Method for displaying BMC shared network interface mac without loading NC-SI drive
CN110990065B (en) * 2019-11-14 2022-06-17 苏州浪潮智能科技有限公司 Method for displaying BMC shared network interface mac without loading NC-SI drive
WO2023050848A1 (en) * 2021-09-30 2023-04-06 华为技术有限公司 Port sharing method and related device

Also Published As

Publication number Publication date
CN108768693B (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN108768693A (en) The recognition methods of shared port, storage medium and server in Multi net voting port
CN102783095B (en) Communication system, communication means, server apparatus, communication equipment
CN106385661B (en) Pairing request, pairing response method and pairing request, pairing response terminal
US7610410B2 (en) Method and a system for establishing a connection with identification and group information
CN104581331A (en) Pairing method and device
US9019968B2 (en) Method and system for managing communication ports
KR101991342B1 (en) Patch panel with function of detecting connected port
CN103583019B (en) Connecting node for communication network
WO2012106388A1 (en) System and method for managing and detecting server power connections
CN108199931A (en) A kind of household electric appliance control method and system
CN104155882B (en) A kind of automatic gear-box control unit method for refreshing and system
US10326686B2 (en) Apparatus and method for testing installation of network equipment onboard locomotive
US8290466B2 (en) Communication system, communication device, communication terminal, and communication setting method
US9070522B2 (en) Smart wall plate and modular jacks for secure network access and/or VLAN configuration
EP1500227B1 (en) Method for recognizing electronic appliance in multiple control system
US20140344427A1 (en) Device and method for automatic switching of communication protocol of network devices based on user action
CN101814037A (en) Drive method compatible with various smart cards
US20190279484A1 (en) Visible indication of a port as configured to management functionality
US20190051078A1 (en) Method of Achieving Free-pairing Wireless Door Lock Based on DIP Switch, a Wireless Door Lock and a Communication Method for the Wireless Door Lock
KR102191911B1 (en) Network system with identification function
CN105959393B (en) A kind of card automatic production method and device
CN109028497A (en) A kind of detection method and device of air-conditioning internal machine operational mode
US7565166B2 (en) Non-interacting transmission of identification information on communication lines
CN103346832B (en) A kind of detection method of Fiber connection state and device
WO2023073997A1 (en) Information processing device

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Building 1, 399 Keyuan Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 201203

Applicant after: Huaqin Technology Co.,Ltd.

Address before: Building 1, No. 399 Keyuan Road, Pudong New Area, Shanghai, 201203

Applicant before: Huaqin Technology Co.,Ltd.

Address after: Building 1, No. 399 Keyuan Road, Pudong New Area, Shanghai, 201203

Applicant after: Huaqin Technology Co.,Ltd.

Address before: Building 1, No. 399 Keyuan Road, Zhangjiang hi tech park, Pudong New Area, Shanghai, 201203

Applicant before: HUAQIN TELECOM TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant