A processing method, device, server and storage medium
By judging the network port status when the server is powered on and controlling the network port light to flash, the problem of difficult to identify the network port sequence is solved, and the efficiency of network cable deployment and the speed of service going online is improved.
Patent Information
- Application Number
- CN202111432903.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-29
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2041-11-29
AI Technical Summary
When deploying a computer room network cable, the screen-print logo of the server's network port is difficult to identify, making it difficult for users to quickly and accurately confirm the order of the network port, affecting work efficiency and business launch time.
When the server is powered on, it is determined whether each network port is in a state where the network cable is not connected, and the network port light is controlled to flash in a specific way to distinguish the first network port from other network ports, so as to quickly identify the network port order.
It realizes the rapid and accurate identification of network port sequence, improves the work efficiency of network cable deployment, and reduces the time for business to be launched.
Smart Images

Figure CN114090399B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of network device interface indicator light control, and in particular to a processing method, device, server and storage medium. Background Art
[0002] When deploying network cables in the computer room, users need to connect the network cables to the correct network ports according to the network cards of the rack servers. However, the silkscreen labels on the network ports of the servers are difficult to identify, and it is not convenient to quickly confirm the order of the network ports, which causes trouble for users. When users are faced with multiple network ports, they cannot quickly and accurately identify the order of the network ports, and they cannot quickly and accurately complete the layout of the network cables. The work efficiency of deploying network cables is low, which in turn affects the time it takes to go online for business.
[0003] In the prior art, a label is attached to the baffle of the network card to mark the order of the network ports. However, the baffle of the network card is usually provided with a tiny vent for heat dissipation, and attaching a label to the baffle will affect the heat dissipation performance of the network card.
[0004] Therefore, how to provide a processing method so that the network port sequence can be quickly and accurately identified and processed is a technical problem that needs to be solved urgently. Summary of the invention
[0005] In view of the above problems existing in the prior art, the present application provides a processing method, device, server and storage medium. The technical solution adopted in the embodiments of the present application is as follows:
[0006] On the one hand, an embodiment of the present application provides a processing method, which includes:
[0007] When the server is in a powered-on state, determining whether each network port is in a first state;
[0008] If in the first state, the network port light corresponding to the network port is controlled to flash in a first manner, wherein the flashing in the first manner is used to distinguish at least the first network port among the network ports from the other network ports.
[0009] In some embodiments, controlling the network port light corresponding to the network port to flash in a first manner includes:
[0010] Acquire network port information, the network port information including at least one of the following: identification information of the network port and a physical location corresponding to the network port;
[0011] The network port light corresponding to the network port is determined according to the network port information, so as to control the network port light to flash when the network port is in a first state.
[0012] In some embodiments, the first mode of flashing is used to distinguish at least the first network port among the network ports from other network ports, including:
[0013] The first network port light flashes at a first frequency, and the other network port lights are off or flash at other frequencies, wherein the ratio of the other frequencies to the first frequency corresponds to the corresponding network port sequence number.
[0014] In some embodiments, the first mode of flashing is used to distinguish at least the first network port among the network ports from other network ports, including:
[0015] A network port light flashes in sequence according to the preset network port sequence number.
[0016] In some embodiments, determining whether each network port is in the first state includes:
[0017] Check whether the network cable is connected normally. If not, the network port of the server is in the first state.
[0018] In some embodiments, the method further comprises:
[0019] If the connection is normal, the network port light is not controlled to flash in the first manner.
[0020] On the other hand, an embodiment of the present application provides a processing device, which includes:
[0021] A judgment module, used for judging whether each network port is in the first state when the server is in a powered-on state;
[0022] The control module is used to control the network port light corresponding to the network port to flash in a first manner if in the first state, wherein the flashing in the first manner is used to distinguish at least the first network port among the network ports from other network ports.
[0023] In some embodiments, the control module includes:
[0024] An acquisition unit, configured to acquire network port information, wherein the network port information includes at least one of the following: identification information of the network port and a physical location corresponding to the network port;
[0025] The determining unit determines the network port light corresponding to the network port according to the network port information, so as to control the network port light to flash when the network port light is in a first state.
[0026] On the other hand, an embodiment of the present application provides a server, comprising at least a memory, a processor and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the server is running, the processor communicates with the memory through the bus, and when the machine-readable instructions are executed by the processor, the steps of the method provided in any embodiment of the present application are implemented.
[0027] On the other hand, an embodiment of the present application provides a storage medium, which stores one or more programs. When the above one or more programs are executed by a processor, the steps of the method provided by any embodiment of the present application are implemented.
[0028] In the processing method provided in the embodiment of the present application, when the server is in a powered-on state, it is first determined whether the network port is in a state of not being connected to the network cable. When the network port is in a state of not being connected to the network cable, the network port lights corresponding to each network port are controlled to flash in a first manner, and the first network port is distinguished from the other network ports by the flashing manner, so that the user can quickly identify the first network port, thereby confirming the order between the network ports and improving the work efficiency when deploying the network cable. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0030] Figure 1 A flowchart of a processing method provided in one embodiment of the present application;
[0031] Figure 2 A flowchart of a processing method provided in another embodiment of the present application;
[0032] Figure 3 A schematic diagram of a processing method provided in Example 1 of the present application;
[0033] Figure 4 A schematic diagram of a processing method provided by another embodiment of the present application;
[0034] Figure 5 A structural block diagram of a processing device provided in an embodiment of the present application;
[0035] Figure 6 A schematic diagram of the structure of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the embodiment of the present application clearer, the technical solution of the embodiment of the present application will be clearly and completely described in conjunction with the drawings of the embodiment of the present application. Obviously, the described embodiment is a part of the embodiment of the present application, not all of the embodiments. Based on the described embodiment of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0037] Unless otherwise defined, the technical terms or scientific terms used in this application should be understood by people with ordinary skills in the field to which this application belongs. "First", "second" and similar words used in this application do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0038] In order to keep the following description of the embodiments of the present application clear and concise, the present application omits detailed descriptions of known functions and known components.
[0039] When deploying the network cable in the computer room, it is necessary to confirm the order of the network ports of the server in order to correctly connect the network cable. However, the silk screens of the various network ports of the server are not easy to identify and cannot be quickly identified, which affects the work efficiency when deploying the network cable. In the processing method provided in the embodiment of the present application, when the server is in a powered-on state, it is first determined whether the network port is in a state where the network cable is not connected. When the network port is in a state where the network cable is not connected, the network port lights corresponding to each network port are controlled to flash in a first manner, and the first network port is distinguished from other network ports, so that the user can quickly identify the first network port, thereby confirming the order between the various network ports and improving the work efficiency when the network cable is deployed.
[0040] Figure 1 FIG. 1 is a flow chart showing a processing method provided by an embodiment of the present application. Figure 1 As shown, the processing method of the embodiment of the present application includes the following steps S100-S200:
[0041] S100, when the server is in a powered-on state, determining whether each network port is in a first state.
[0042] This step is intended to determine whether each network port of the server is connected to a network cable, so that when the network cable is not connected, the flashing mode of the network port light corresponding to each network port can be controlled through subsequent steps. In the present application, the state of the network port may at least include a state of successful connection to the network cable and a state of not being connected to the network cable. In this step, the first state of the network port is a state in which the network port is not connected to the network cable. After the server is powered on and is in the power-on state, the connection status of each network port is detected, including detecting whether each network port is successfully connected to a network cable, so as to determine whether each network port is in a state of not being connected to the network cable. If it is determined that each network port is in the first state of not being connected to the network cable, continue to execute step S200.
[0043] In some specific applications, when the user turns on the power switch of the server, the power module of the server obtains a power-on signal, and the server is in a power-on state. Alternatively, the server may be in a power-on state during normal operation after being powered on. That is, as long as the server is in a power-on state, it can be determined whether each network port is in a state of not being connected to a network cable by detecting whether each network port is connected to a network cable, and then subsequent corresponding processing operations are performed according to the judgment result.
[0044] S200: If in the first state, control the network port light corresponding to the network port to flash in a first manner, wherein the flashing in the first manner is used to distinguish at least the first network port among the network ports from the other network ports.
[0045] This step is intended to control the network port lights of each network port to flash in a first manner when each network port is in a state where the network cable is not connected, and to distinguish the first network port from other network ports by flashing through the flashing manner, so that the user can quickly identify the first network port. In this step, if it is determined that each network port of the server is in the first state where the network cable is not connected, the network card lights corresponding to each network port are controlled to flash in a first manner, that is, the flashing manner of the network port lights corresponding to the first network port is distinguished from the flashing manner of the network port lights corresponding to other network ports, so that the user can quickly confirm the first network port according to the flashing of the first network port light. Exemplarily, controlling the network card lights corresponding to the network port to flash in a first manner may include controlling the network port lights corresponding to the first network port to flash at a frequency of once per second; and controlling the network port lights corresponding to other network ports to turn off and not flash, and distinguishing them by the flashing manner of the network port lights corresponding to the first network port, so that the user can quickly determine that the network port corresponding to the flashing network port light is the first network port.
[0046] After determining the first network port, the order of other network ports except the first network card can be determined according to the position of the first network port and the preset rules. The preset rules can be based on the arrangement of each network port, and the order of other network ports can be determined in sequence from left to right or from right to left, or can be determined in sequence from top to bottom or from bottom to top, so as to quickly obtain the order of all network ports for the deployment of network cables. In some specific applications, the server has four network ports, which are arranged in a horizontal "one" shape. After determining the first network port, if the first network port is on the leftmost side, the other network ports are determined in sequence from left to right as the second network port, the third network port, and the fourth network port; if the first network port is on the rightmost side, the other network ports are determined in sequence from right to left as the second network port, the third network port, and the fourth network port.
[0047] In some embodiments, Figure 2 As shown, in the above step S200, controlling the network port light corresponding to the network port to flash in the first manner can be implemented as the following steps S210-S220:
[0048] S210, acquiring network port information, where the network port information includes at least one of the following: identification information of the network port and a physical location corresponding to the network port;
[0049] S220, determining the network port light corresponding to the network port according to the network port information, so as to control the network port light to flash when the network port is in a first state.
[0050] This embodiment is used to determine each network port, thereby determining the corresponding network port light for corresponding control. In this embodiment, the network port is located by obtaining the identification information of the network port or the physical position corresponding to the network port. Of course, the identification information of the network port and the physical position corresponding to the network port can also be obtained at the same time to achieve the location of the network port. After the network port is located, the corresponding network port light is determined according to the network port information, so that when the network port is in the first state of being unconnected, the network port light corresponding to the network port can be controlled to flash. In some specific applications, for multiple network ports corresponding to the network card, the network port identification information can be the numbering information or index information after the server numbers the network port, so that when the numbering information or index information is obtained, a network port can be uniquely determined and located. In other specific applications, since the network card can be connected to the server through a slot, for multiple network ports corresponding to the network card, based on the physical position of the slot and the corresponding network port connected by the circuit, the physical position information of the network port can be obtained, thereby determining and locating the network port.
[0051] After determining and locating each network port, the network port lights corresponding to each network port can be correspondingly determined, so that when each network port is in the first state, the configuration information of the flashing mode is sent to the network port lights corresponding to each network port, and the network port lights corresponding to each network port are controlled to flash in the first mode. Exemplarily, the on or off state of the network port lights can be controlled, or the flashing frequency and flashing duration of the network port lights can be controlled accordingly.
[0052] In some embodiments, in order to distinguish the first network port from other network ports, the flashing frequency of the network port light corresponding to the first network port can be controlled to be different from the flashing frequency of the network port lights corresponding to other network ports, so as to quickly identify the first network port.
[0053] In this embodiment, the first network port light can be controlled to flash at a first frequency, while other network port lights can be controlled to be off and not flash, so as to distinguish the flashing state of the first network port light. Thus, the user can directly determine that the network port corresponding to the flashing network port light is the first network port according to the flashing state of the network port light.
[0054] In this embodiment, the first network port light is controlled to flash at a first frequency, and other network port lights can also be controlled to turn on and flash at other frequencies. Here, other frequencies can be determined based on the first frequency, so that the ratio of other frequencies to the first frequency corresponds to the corresponding network port sequence number, so that the user can determine the first network port and other network ports based on the flashing frequency of the network port lights.
[0055] For example, Figure 3 A set of clock signals is shown in the figure to control the flashing frequency of the four network port lights. The clock signal can be determined according to actual needs or the experience of technicians. For example, 1 second or 2 seconds can be set as a cycle. The flashing time and number of network port lights in each cycle refer to the position and number of peaks. For another example, an interval time can be set after each cycle. The interval time can be set to 1s, or determined according to the experience of technicians. After the interval time, the next cycle will be carried out, and the cycle will be repeated in this way. Each cycle is separated by an interval time. Refer to Figure 3As shown, a complete cycle of the clock signal is shown between the intervals. In the cycle shown, a peak appears once in clock signal 1, which is used to control the first network port light to flash once in the cycle; a peak appears twice in clock signal 2, which is used to control the second network port light to flash twice in the cycle; a peak appears three times in clock signal 3, which is used to control the third network port light to flash three times in the cycle; a peak appears four times in clock signal 4, which is used to control the fourth network port light to flash four times in the cycle. Thus, according to the flashing frequency of the network port lights, the user can determine that the network port light with the slowest flashing frequency corresponds to the first network port, and determine the ratio of the flashing frequency of other network port lights to the flashing frequency of the network port light, thereby determining the order of the network ports corresponding to the other network port lights.
[0056] In some embodiments, each network port light may be controlled to flash in sequence according to the network port sequence number, so that the user can determine the first network port and other network ports according to the flashing order of the network port lights.
[0057] Usually, according to the arrangement of each network port, the order of each network port can be from left to right or from right to left, or from top to bottom or from bottom to top. In this embodiment, after the first network port light is controlled to flash once, the second network port light flashes once, and after all the network port lights flash in sequence, the flashing starts from the first network port light again. Therefore, based on the arrangement of the network ports and the flashing order of each network port light in a cycle, the user can determine that the network port corresponding to the first flashing network port light in one of the orders from left to right, from right to left, from top to bottom, and from bottom to top is the first network port, and determine the order of other network ports according to the flashing order.
[0058] For example, Figure 4 Another set of clock signals is shown in FIG. 1 to control the flashing time of the four network port lights. The clock signal can be determined according to actual needs or the experience of technicians. For example, 1 second or 2 seconds can be set as a cycle. For another example, an interval time can be set between cycles to separate each cycle. Figure 4 It can be seen that in this embodiment, the flashing frequency of each network port is the same, and the flashing time of the network port light in each cycle is different. Figure 4, two complete cycles of the clock signal are shown, and the two completed cycles are distinguished by an interval. In the first cycle between the reference intervals, the peak in clock signal 5 appears earliest, which is used to control the first network port light to flash first at the corresponding time point; the peak in clock signal 6 appears later, which is used to control the second network port light to flash at a time point after the first network port light flashes; the peak in clock signal 7 appears after the time point when the peak in clock signal 6 appears, which is used to control the third network port light to flash at a time point after the second network port light flashes; the peak in clock signal 8 appears latest, which is used to control the fourth network port light to flash last at the corresponding time point; and then it is cycled in the second cycle. Therefore, according to the flashing order of the network port lights and the arrangement of the network ports, the user can determine that the network port light that flashes first corresponds to the first network port, and according to the flashing order of other network port lights, determine the order of the network ports corresponding to the other network port lights.
[0059] In some embodiments, determining whether each network port is in the first state includes:
[0060] Detect whether the network cable is connected normally. If it is not connected normally, the network port of the server is in the first state. Exemplarily, in order to determine the state of each network port, the electrical signal of each network port can be detected. When it is detected that the circuit of each network port is open, it can be determined that each network port is not connected to the network cable. At this time, each network port is in the first state of not connecting to the network cable. Exemplarily, in order to determine the state of each network port, the data signal of each network port can also be detected. When the data flow sent or the data flow received is not detected at each network port, it can be determined that each network port is in the first state of not connecting to the network cable. In this embodiment, the existing detection method can be used to detect whether the network cable is connected normally, and no limitation is made here.
[0061] In some embodiments, the method further includes: if the connection is normal, then the network port light is not controlled to flash in the first manner. In this embodiment, if the network port is in a state of successfully connecting to the network cable, the processing method of the embodiment of the present application is terminated, and the network port light is not controlled to flash in the first manner. Exemplarily, when the electrical signals of each network port are detected, when it is detected that the circuit of each network port is not open, it can be determined that each network port has access to the network cable and the connection state is good, that is, each network port is in a state of normal connection to the network cable. Exemplarily, when the data signals of each network port are detected, when each network port detects that the data flow sent or the data flow received increases at a normal rate, it can be determined that each network port is in a state of normal connection to the network cable. When each network port is successfully connected to the network cable, it is not necessary to control the network port light to flash in the first manner. If the network port light flashes in the first manner before, stop controlling the network port light to flash in the first manner. At this time, the server can control the flashing of the network port light in other ways other than the first manner according to the normal data transmission of the network port. This application does not limit this.
[0062] Based on the same inventive concept, the embodiment of the present application further provides a processing device, Figure 5 A block diagram of a processing device provided in an embodiment of the present application. Figure 5 As shown, the processing device includes:
[0063] A judgment module 10 is used to judge whether each network port is in a first state when the server is in a powered-on state;
[0064] The control module 20 is used to control the network port light corresponding to the network port to flash in a first manner if in the first state, wherein the flashing in the first manner is used to distinguish at least the first network port among the network ports from other network ports.
[0065] The processing device in the embodiment of the present application can implement the steps of the processing method provided in any embodiment of the present application through the functional modules configured therein.
[0066] In some specific applications of this embodiment, the server uses the judgment module 10 to judge whether each network port is connected to the network cable, so that when it is not connected to the network cable, the flashing mode of the network port light corresponding to each network port is controlled through subsequent steps. In this application, the state of the network port may at least include a state of successful connection to the network cable and a state of not connected to the network cable. In this step, the first state of the network port is a state in which the network port is not connected to the network cable. After the server is powered on and is in the power-on state, the connection state of each network port is detected by the judgment module 10, specifically including detecting whether each network port is successfully connected to the network cable, so as to judge whether each network port is in a state of not connected to the network cable. If it is determined that each network port is in the first state of not being connected to the network cable, continue to execute step S200.
[0067] In some specific applications, when the user turns on the power switch of the server, the power module of the server obtains a power-on signal, and the server is in a power-on state. Alternatively, the server may be in a power-on state during normal operation after being powered on. That is, as long as the server is in a power-on state, the judgment module 10 can be used to detect whether each network port is connected to a network cable, and whether each network port is in a state of not being connected to a network cable, so as to perform subsequent corresponding processing operations according to the judgment result.
[0068] When each network port is in a state where the network cable is not connected, the server controls the network port lights of each network port to flash in a first manner through the control module 20, and distinguishes the first network port from other network ports through the flashing manner, so that the user can quickly identify the first network port. If the judgment module 10 determines that each network port of the server is in the first state where the network cable is not connected, the server controls the network card lights corresponding to each network port to flash in a first manner through the control module 20, and distinguishes the flashing manner of the network port lights corresponding to the first network port from the flashing manner of the network port lights corresponding to other network ports, so that the user can quickly confirm the first network port according to the flashing of the first network port light. Exemplarily, controlling the network card lights corresponding to the network ports to flash in a first manner through the control module 20 may include controlling the network port lights corresponding to the first network port to flash at a frequency of once per second; and controlling the network port lights corresponding to other network ports to turn off and not flash, and distinguishing them by the flashing manner of the network port lights corresponding to the first network port, thereby, the user can quickly determine that the network port corresponding to the flashing network port light is the first network port.
[0069] After determining the first network port, the order of other network ports except the first network card can be determined according to the position of the first network port and the preset rules. The preset rules can be based on the arrangement of each network port, and the order of other network ports can be determined in sequence from left to right or from right to left, or can be determined in sequence from top to bottom or from bottom to top, so as to quickly obtain the order of all network ports for the deployment of network cables. In some specific applications, the server has four network ports, which are arranged in a horizontal "one" shape. After determining the first network port, if the first network port is on the leftmost side, the other network ports are determined in sequence from left to right as the second network port, the third network port, and the fourth network port; if the first network port is on the rightmost side, the other network ports are determined in sequence from right to left as the second network port, the third network port, and the fourth network port.
[0070] In some embodiments, the control module 20 includes:
[0071] An acquisition unit, configured to acquire network port information, wherein the network port information includes at least one of the following: identification information of the network port and a physical location corresponding to the network port;
[0072] The determining unit determines the network port light corresponding to the network port according to the network port information, so as to control the network port light to flash when the network port light is in a first state.
[0073] On the other hand, an embodiment of the present application provides a server, which includes at least a memory 901, a processor 902 and a bus (bus), wherein the structural diagram of the server can be as follows: Figure 6 As shown, the memory stores machine-readable instructions executable by the processor. When the server is running, the processor and the memory communicate through a bus. When the machine-readable instructions are executed by the processor, the steps of the processing method provided in any embodiment of the present application are implemented.
[0074] Since the server introduced in the embodiments of the present application is a server provided with a memory for implementing the processing method disclosed in the embodiments of the present application, based on the processing method introduced in any embodiment of the present application, technical personnel in this field can understand the structure and deformation of the server introduced in the embodiments of the present application, so it is not repeated here.
[0075] On the other hand, an embodiment of the present application provides a storage medium, which stores one or more programs. When the above one or more programs are executed by a processor, the steps of the processing method provided by any embodiment of the present application are implemented.
[0076] The storage medium in this embodiment may be included in the electronic device / system; or it may exist independently without being assembled into the electronic device / system. The above storage medium stores one or more programs, and when the above one or more programs are executed, the steps of the processing method provided in the embodiment of the present application are implemented.
[0077] According to an embodiment of the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. Optionally, the specific examples in this embodiment can refer to the examples described in any embodiment of the present application, and this embodiment is not repeated here. Obviously, it should be understood by those skilled in the art that the above-mentioned modules or steps of the present application can be implemented with a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented with a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from here, or they can be made into individual integrated circuit modules respectively, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present application is not limited to any specific combination of hardware and software.
[0078] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the implementation of the application, and the examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.
[0079] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, those of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the application. This should not be interpreted as an intention that a disclosed feature that does not require protection is necessary for any claim. On the contrary, the subject matter of the present application may be less than all the features of a specific disclosed embodiment. Thus, the following claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present application should be determined with reference to the attached claims and the full scope of equivalent forms granted by these claims.
[0080] Multiple embodiments of the present application are described in detail above, but the present application is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concept of the present application, and these variations and modifications should all fall within the scope of protection required by the present application.
Claims
1. A processing method, wherein: include: When the server is in a powered-on state, determining whether each network port is in a first state; If in the first state, controlling the network port light corresponding to the network port to flash in a first manner, wherein the flashing in the first manner is used to distinguish at least the first network port among the network ports from other network ports; The first method of flashing is used to distinguish at least the first network port among the network ports from other network ports, and includes: The first network port light flashes at a first frequency, and the other network port lights flash at other frequencies, wherein the ratio of the other frequencies to the first frequency corresponds to the corresponding network port sequence number.
2. The method according to claim 1, wherein: The controlling the network port light corresponding to the network port to flash in a first manner includes: Acquire network port information, the network port information including at least one of the following: identification information of the network port and a physical location corresponding to the network port; The network port light corresponding to the network port is determined according to the network port information, so as to control the network port light to flash when the network port is in a first state.
3. The method according to claim 1, wherein: The flashing in the first manner is used to distinguish at least the first network port among the network ports from other network ports, and includes: A network port light flashes in sequence according to the preset network port sequence number.
4. The method according to any one of claims 1 to 3, wherein: The determining whether each network port is in the first state includes: Check whether the network cable is connected normally. If not, the network port of the server is in the first state.
5. The method according to claim 4, wherein: Also includes: If the connection is normal, the network port light is not controlled to flash in the first manner.
6. A processing device, wherein: include: A judgment module, used for judging whether each network port is in the first state when the server is in a powered-on state; a control module, configured to control the network port lights corresponding to the network ports to flash in a first manner if in the first state, wherein the flashing in the first manner is used to distinguish at least the first network port among the network ports from the other network ports; The first method of flashing is used to distinguish at least the first network port among the network ports from other network ports, and includes: The first network port light flashes at a first frequency, and the other network port lights flash at other frequencies, wherein the ratio of the other frequencies to the first frequency corresponds to the corresponding network port sequence number.
7. The processing device according to claim 6, wherein: The control module comprises: An acquisition unit, configured to acquire network port information, wherein the network port information includes at least one of the following: identification information of the network port and a physical location corresponding to the network port; The determining unit determines the network port light corresponding to the network port according to the network port information, so as to control the network port light to flash when the network port light is in a first state.
8. A server comprising at least a memory, a processor and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the server is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the steps of the method as described in any one of claims 1 to 5 are implemented.
9. A storage medium storing one or more programs, wherein when the one or more programs are executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Server management method, system and device and computer readable storage medium
CN111031149A
Quick positioning system for stored goods
CN212244840U