Server electromagnetic compatibility test method, server, electronic equipment and medium

By setting up network cards in the front and rear windows of the server, obtaining electromagnetic noise data to determine the electromagnetic compatibility status, the problem of high electromagnetic compatibility testing in the early stage of server design is solved, and fast and low-cost electromagnetic compatibility testing and troubleshooting is achieved.

CN118962307APending Publication Date: 2024-11-15INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411207072.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In the prior art, electromagnetic compatibility testing in the early stage of server design is expensive, and the electromagnetic radiation test results exceed the regulatory limits need to be checked one by one, which takes a long time and is difficult, resulting in high testing costs.

Method used

Set up a server network card in the front and rear windows of the server, and obtain electromagnetic noise data by establishing a communication link to determine whether it meets the limit of electromagnetic radiation scanning frequency. If it exceeds it, it is determined to be an electromagnetic compatibility abnormality, and communication is closed and reconfigured. Links to determine abnormal locations, reducing troubleshooting difficulties and costs.

Benefits of technology

It can quickly build a server without high-speed switches, reduce testing costs and time, judge the electromagnetic compatibility status through its own electromagnetic noise data, simplify the inspection process, and improve testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118962307A_ABST
    Figure CN118962307A_ABST
Patent Text Reader

Abstract

The invention provides a server electromagnetic compatibility test method, a server, electronic equipment and a medium, and is applied to the technical field of servers. The method comprises the following steps: acquiring electromagnetic noise data corresponding to a server after establishing a communication link between a front window server network card and a corresponding rear window server network card; wherein the front window server network card is a server network card arranged in a front window of the server, and the rear window server network card is a server network card arranged in a rear window of the server, so that the front window server network card and the rear window server network card realize data sending and receiving functions of the server; if the electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, determining that the electromagnetic compatibility of the server is normal; and if the electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, determining that the electromagnetic compatibility of the server is abnormal. Therefore, the method does not need a high-speed switch in the overall design, and is short in time consumption and low in cost when a complete server is built.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of servers, and in particular to a server electromagnetic compatibility testing method, a server, an electronic device and a medium. Background Art

[0002] The server is an important information technology device that provides computing power in the data center, and the server network card (network adapter or network interface card) is an important device component that provides data exchange for the server. With the increasing expansion of Internet data, the data communication bandwidth of the server network card has also increased. With the increase of the data communication bandwidth of the server network card, the clock frequency of the digital signal is getting higher and higher, the establishment and retention time of the signal is getting shorter and shorter, and the requirements for clock jitter are becoming more and more stringent, which brings serious electromagnetic radiation problems. Electromagnetic radiation not only affects the work of the server itself, but also affects other surrounding devices. Therefore, electromagnetic compatibility testing is required for the server in the early stage of design.

[0003] In recent years, electromagnetic compatibility testing of servers is often performed using high-speed switches for connection verification. Figure 1 As shown in the figure, the server and the switch use the network card to exchange data. The server network card is assembled on the server as a component. The quad-channel SFP interface (Quad Small Form-factor Pluggable, QSFP) of the server network card exchanges data with the switch through the inserted optical module. When conducting electromagnetic compatibility testing, the entire system built by the server and the switch must be moved into the electromagnetic compatibility shielding darkroom for testing. However, the price of high-speed switches is extremely expensive, so the resources of high-speed switches are very scarce. It takes a long time and costs a lot to build a complete server and switch test system. At the same time, when the system is complex, if the electromagnetic radiation test results exceed the limit required by the regulations, it is necessary to check and confirm each factor one by one, which is time-consuming and difficult to check. At the same time, the electromagnetic compatibility test site usage fee is calculated by the hour, and the test fee will also be high due to the long troubleshooting time.

[0004] It can be seen that how to reduce the testing cost caused by performing electromagnetic compatibility testing on the server in the early stage of design is a problem that technical personnel in this field need to solve. Summary of the invention

[0005] The purpose of the embodiments of the present invention is to provide a server electromagnetic compatibility testing method, a server, an electronic device and a medium, which can solve the testing cost problem caused by performing electromagnetic compatibility testing at the early stage of server design in the prior art.

[0006] To solve the above technical problems, an embodiment of the present invention provides a server electromagnetic compatibility test method, which is applied to a server including a central processing unit, N slots, N server network cards and a server motherboard, where N is an integer not less than 2; the method comprises:

[0007] After establishing a communication link between a front window server network card and a corresponding rear window server network card, electromagnetic noise data corresponding to the server is obtained; wherein the front window server network card is a server network card arranged in the front window of the server, and the rear window server network card is a server network card arranged in the rear window of the server, so that the front window server network card and the rear window server network card realize the function of sending and receiving data of the server;

[0008] If the electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the electromagnetic compatibility of the server is determined to be normal;

[0009] If the electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the electromagnetic compatibility of the server is determined to be abnormal.

[0010] In some embodiments, after determining that the electromagnetic compatibility of the server is abnormal if the electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the method further includes:

[0011] The server executes the operation of sequentially closing the communication link between each group of front window server network cards and the corresponding rear window server network cards;

[0012] Acquire electromagnetic noise data sets under different operations;

[0013] Determine whether there is target electromagnetic noise data in the electromagnetic noise data group that is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency;

[0014] If the electromagnetic noise data in the data group are all greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it is determined that the communication links between the front window server network cards of each group and the corresponding rear window server network cards in the server are abnormal, and the front window server network cards and / or rear window server network cards corresponding to the communication links are abnormal;

[0015] If there is target electromagnetic noise data in the electromagnetic noise data group that is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency;

[0016] Determine the communication link between the closed front window server network card and the corresponding rear window server network card according to the target electromagnetic noise data; and determine that the front window server network card and / or the rear window server network card corresponding to the current communication link are abnormal.

[0017] In some embodiments, after determining that the front window server network card and / or the rear window server network card corresponding to the communication link is abnormal, the method further includes:

[0018] Set the corresponding front window server network card to self-loop mode;

[0019] Obtain the front window electromagnetic noise data corresponding to the front window server network card;

[0020] Determine whether the front window electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency;

[0021] If the electromagnetic noise data of the front window is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it is determined that the network card of the server of the rear window is abnormal;

[0022] If the front window electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it is determined that the front window server network card is abnormal.

[0023] In some embodiments, setting the corresponding front window server network card to a self-circulation mode includes:

[0024] Get the register address corresponding to the front window server network card;

[0025] The data output address corresponding to the front window server network card is changed to the register address so that the front window server network card can send and receive data, thereby realizing the self-circulation of the front window server network card.

[0026] In some embodiments, obtaining a limit value corresponding to the electromagnetic radiation scanning frequency includes:

[0027] Obtaining electromagnetic radiation scanning frequency;

[0028] Obtain the corresponding relationship between the electromagnetic radiation scanning frequency and the limit value;

[0029] Based on the corresponding relationship between the electromagnetic radiation scanning frequency and the limit value, the limit value corresponding to the current electromagnetic radiation scanning frequency is determined.

[0030] In some embodiments, after determining that the electromagnetic compatibility of the server is abnormal if the electromagnetic noise data is not less than the limit value corresponding to the current electromagnetic radiation scanning frequency, the method further includes:

[0031] Acquire a status signal representing an electromagnetic compatibility anomaly of the server, wherein the status signal specifically represents a model of the server corresponding to the electromagnetic compatibility anomaly and a status of a corresponding server network card in the server;

[0032] The status signal is uploaded to the host computer so that the host computer can trigger the corresponding alarm system according to the status signal.

[0033] On the other hand, the present invention also provides a server, comprising: a central processing unit, N slots, N server network cards and a server mainboard;

[0034] The central processor and each slot are arranged on the server motherboard, and the central server and the slot are interconnected through PCB traces in the server motherboard;

[0035] The server network card is inserted into the corresponding slot, and the central processor and the server network card realize data exchange through the high-speed serial computer expansion bus standard protocol;

[0036] The server network card is set in the front window of the server and the rear window of the server, and N is an integer not less than 2.

[0037] In some embodiments, when N is an even number not less than 2;

[0038] Place the server network cards evenly in the front window and the back window of the server;

[0039] When N is an odd number not less than 2;

[0040] The server network card is set in the front window of the server and the rear window of the server according to the preset setting rules.

[0041] In another aspect, the present invention further provides an electronic device, comprising:

[0042] Memory for storing computer programs;

[0043] The processor is used to execute the computer program to implement the steps of the above-mentioned server electromagnetic compatibility testing method.

[0044] On the other hand, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned server electromagnetic compatibility testing method are implemented.

[0045] On the other hand, the present invention further provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned server electromagnetic compatibility testing method when executed by a processor.

[0046] It can be seen from the above technical scheme that the present invention provides a server electromagnetic compatibility test method, which is applied to a server including a central processing unit, N slots, N server network cards and a server motherboard, where N is an integer not less than 2; the method includes: obtaining electromagnetic noise data corresponding to the server after establishing a communication link between a front window server network card and a corresponding rear window server network card; wherein the front window server network card is a server network card arranged in the front window of the server, and the rear window server network card is a server network card arranged in the rear window of the server, so that the front window server network card and the rear window server network card realize the function of sending and receiving data of the server; if the electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the electromagnetic compatibility of the server is determined to be normal; if the electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the electromagnetic compatibility of the server is determined to be abnormal. It can be seen that the present invention sets a server network card in the front window of the server and the rear window of the server to realize the sending and receiving of data, so as to judge whether the server is electromagnetically compatible abnormal according to the electromagnetic noise data of the server itself. The present invention does not require a high-speed switch as a whole, and it takes a short time and is low cost to build a complete server. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 A structural diagram of data interaction between a server and a switch provided by the present invention through a network card;

[0049] Figure 2 A flow chart of a server electromagnetic compatibility testing method provided by an embodiment of the present invention;

[0050] Figure 3 A schematic diagram of the structure of a server provided in an embodiment of the present invention;

[0051] Figure 4 A layout diagram of a server network card in a server provided in an embodiment of the present invention;

[0052] Figure 5 A complete flow chart of a server electromagnetic compatibility testing method provided by an embodiment of the present invention;

[0053] Figure 6 A structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] The terms "including" and "having" in the specification of the present invention and the above-mentioned drawings, as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.

[0056] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0057] Next, a server electromagnetic compatibility testing method provided by an embodiment of the present invention is introduced in detail. Figure 2 A flow chart of a server electromagnetic compatibility testing method provided by an embodiment of the present invention, such as Figure 2 As shown, the server electromagnetic compatibility test method includes the following steps:

[0058] S10: After establishing a communication link between the front window server network card and the corresponding rear window server network card, obtaining electromagnetic noise data corresponding to the server.

[0059] In a specific embodiment, the front window server network card is a server network card arranged in the front window of the server, and the rear window server network card is a server network card arranged in the rear window of the server, so that the front window server network card and the rear window server network card can realize the function of sending and receiving data of the server. The server electromagnetic compatibility test method provided by the present invention is applied to a server including a central processing unit (CPU), N slots, N server network cards and a server motherboard, such as Figure 3As shown, the central processing unit and each slot are arranged on the server motherboard, and the central server and the slot are interconnected through the PCB routing in the server motherboard; the server network card is inserted into the corresponding slot, and each slot corresponds to an address (for example, c8:00:00), and the interface of the server network card inserted in the slot also corresponds to a device address (for example, 0x50), so in such a system environment, the corresponding interface can be accurately found through the address and the device address. Among them, the central processing unit and the server network card realize data interaction through the high-speed serial computer expansion bus standard protocol (PCIE communication protocol); the server network card is arranged in the front window of the server and the rear window of the server, and N is an integer not less than 2. Among them, when N is an even number not less than 2, N server network cards are evenly arranged in the front window of the server and the rear window of the server, and the front window server network card corresponds to the rear window server network card one by one, and a communication link is established. When N is an odd number not less than 2, the server network cards are set in the front window of the server and the back window of the server according to the preset setting rules, that is, the relationship between the front window server network card and the back window server network card is one-to-many or many-to-one. For example: when N is 4, Figure 4 As shown, the server network cards are respectively: server network card 1, server network card 2, server network card 3 and server network card 4. Among them, server network card 1 and server network card 2 are arranged in the front window of the server as front window server network cards; server network card 3 and server network card 4 are arranged in the rear window of the server as rear window server network cards; server network card 1 establishes a communication link with server network card 3, and server network card 2 establishes a communication link with server network card 4.

[0060] The front window of the server is set as the data sending end, and the rear window of the server is set as the data receiving end. The data sent by the front window server network card is received by the rear window server network card. In this way, the data interaction function of the server can be realized without the existence of a switch. However, electromagnetic noise will be generated during the data transmission process. Therefore, the electromagnetic noise data generated by the server at this time is received by the spectrum receiver, so as to judge the electromagnetic compatibility status of the current server according to the electromagnetic noise data, that is, to judge whether the current server has excessive radiation.

[0061] S11: If the electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it is determined that the electromagnetic compatibility of the server is normal.

[0062] S12: If the electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it is determined that the electromagnetic compatibility of the server is abnormal.

[0063] In a specific embodiment, the criterion for judging whether the server has an electromagnetic compatibility abnormality according to the electromagnetic noise data is related to the electromagnetic radiation scanning frequency in the current scenario, and therefore the corresponding limit values ​​are different at different electromagnetic radiation scanning frequencies.

[0064] Among them, the specific steps of obtaining the limit value corresponding to the electromagnetic radiation scanning frequency include: obtaining the electromagnetic radiation scanning frequency; obtaining the corresponding relationship between the electromagnetic radiation scanning frequency and the limit value; based on the corresponding relationship between the electromagnetic radiation scanning frequency and the limit value, determining the limit value corresponding to the current electromagnetic radiation scanning frequency.

[0065] For example: when the electromagnetic radiation scanning frequency range is 30MHz-6GHz, the corresponding limit value is 40dBuV / m; when the electromagnetic radiation scanning frequency range is 230MHz-1000MHz, the corresponding limit value is 47dBuV / m; when the electromagnetic radiation scanning frequency range is 1GHz-3GHz, the corresponding limit value is 56dBuV / m; when the electromagnetic radiation scanning frequency range is 3GHz-6GHz, the corresponding limit value is 60dBuV / m.

[0066] Therefore, in the embodiment, the corresponding range is determined according to the electromagnetic radiation scanning frequency in the current scenario, and the corresponding limit is further determined, and then the electromagnetic compatibility of the server is judged to be abnormal according to the size relationship between the electromagnetic noise data and the corresponding limit. The specific judgment rule is: if the electromagnetic noise data is not greater than the limit corresponding to the current electromagnetic radiation scanning frequency, the electromagnetic compatibility of the server is judged to be normal; if the electromagnetic noise data is greater than the limit corresponding to the current electromagnetic radiation scanning frequency, the electromagnetic compatibility of the server is judged to be abnormal.

[0067] It can be seen from the above technical scheme that the present invention provides a server electromagnetic compatibility test method, which is applied to a server including a central processing unit, N slots, N server network cards and a server motherboard, where N is an integer not less than 2; the method includes: obtaining electromagnetic noise data corresponding to the server after establishing a communication link between a front window server network card and a corresponding rear window server network card; wherein the front window server network card is a server network card arranged in the front window of the server, and the rear window server network card is a server network card arranged in the rear window of the server, so that the front window server network card and the rear window server network card realize the function of sending and receiving data of the server; if the electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the electromagnetic compatibility of the server is determined to be normal; if the electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the electromagnetic compatibility of the server is determined to be abnormal. It can be seen that the present invention sets a server network card in the front window of the server and the rear window of the server to realize the sending and receiving of data, so as to judge whether the server is electromagnetically compatible abnormal according to the electromagnetic noise data of the server itself. The present invention does not require a high-speed switch as a whole, and it takes a short time and is low cost to build a complete server.

[0068] In some embodiments, since the above embodiments can only determine whether the server itself is in an abnormal electromagnetic compatibility state through its own electromagnetic noise data, but cannot specifically determine which device in the server causes the abnormal electromagnetic compatibility of the server, further judgment is required. Since the server includes N server network cards, the server network cards are set in the front window of the server and the rear window of the server, and N is an integer greater than 2. Therefore, whether N is an odd number or an even number, the server includes at least one communication link between the front window server network card and the rear window server network card. Therefore, it is necessary to first determine which communication connection in the server has an abnormality, and the specific steps are: execute the operation of closing the communication link between each group of front window server network cards and the corresponding rear window server network cards on the server in turn; obtain electromagnetic noise data groups under different operations; determine whether there is target electromagnetic noise data in the electromagnetic noise data group that is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency; if all the electromagnetic noise data in the electromagnetic noise data group are greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, then it is determined that there are abnormalities in the communication links between each group of front window server network cards and the corresponding rear window server network cards in the server, and it is determined that the front window server network card and / or the rear window server network card corresponding to the communication link are abnormal; if there is target electromagnetic noise data in the electromagnetic noise data group that is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency; determine the communication link between the closed front window server network card and the corresponding rear window server network card based on the target electromagnetic noise data; and determine that the front window server network card and / or the rear window server network card corresponding to the current communication link are abnormal.

[0069] In a specific embodiment, since the electromagnetic noise data obtained above represents the data of all communication connections in the server, it is impossible to determine the status of each communication link through the electromagnetic noise data. At this time, the operation of the communication link between each group of front window server network cards and the corresponding rear window server network cards is closed (i.e., disconnected) in sequence, and each electromagnetic noise data under the disconnection of different communication links is obtained, and an electromagnetic noise data group is formed, wherein the number of specific electromagnetic noise data in the electromagnetic noise data group is equal to the number of communication links in the server, and when there is a target electromagnetic noise data in the electromagnetic noise data group that is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it means that when a certain communication link is disconnected from the server, the electromagnetic compatibility of the server is normal, and at this time, it is specifically determined that the target electromagnetic noise data in the electromagnetic noise data group is located in which data in the electromagnetic noise data group, and the specific location of the abnormal communication link is determined according to the location of the target electromagnetic noise data in the electromagnetic noise data group. When the electromagnetic noise data in the electromagnetic noise data group are all greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it means that any communication connection in the current server is abnormal.

[0070] For example: Figure 4 As shown, the server includes a first communication link established by server network card 1 and server network card 3, and a second communication link established by server network card 2 and server network card 4. When the electromagnetic compatibility of the server is abnormal, the first communication link is first shut down, the second communication link is connected, and the first electromagnetic noise data is obtained; then the first communication link is connected, the second communication link is shut down, and the second electromagnetic noise data is obtained. The first electromagnetic noise data and the second electromagnetic noise data constitute an electromagnetic noise data group; when the first electromagnetic noise data in the electromagnetic noise data group is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the first electromagnetic noise data is the target electromagnetic noise data, which means that when the first communication link is shut down, the server is normal, and the first communication link is judged to be abnormal at this time, and vice versa.

[0071] In addition, in addition to providing a method for specifically determining the communication link that causes the electromagnetic compatibility abnormality of the server, the present invention can also be determined in a cyclic manner, and the specific steps are: determine the specific order of different links in the server, shut down the corresponding communication links in sequence, and obtain the current electromagnetic noise data while shutting down the communication link. Since the server is in an electromagnetic compatibility abnormal state, most of the current electromagnetic noise data are greater than the limit value corresponding to the current electromagnetic radiation scanning frequency. If the electromagnetic noise data obtained at a certain moment is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the operation of shutting down the communication link is stopped, and the communication link corresponding to the electromagnetic noise data that is not greater than the limit value is determined. At this time, it is judged that the communication link is abnormal.

[0072] In this method, after obtaining electromagnetic noise data that is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the operation of shutting down the communication link is no longer performed. After the server is repaired, the electromagnetic compatibility of the server is re-judged.

[0073] For example: Figure 4 As shown, the server includes a first communication link established by server network card 1 and server network card 3, and a second communication link established by server network card 2 and server network card 4. When the electromagnetic compatibility of the server is abnormal, the first communication link is first shut down, the second communication link is connected, and the first electromagnetic noise data is obtained; if the first electromagnetic noise data at this time is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it means that when the first communication link is shut down, the server is normal, then the first communication link is judged to be abnormal, and the second communication link is not shut down. After the server is repaired, the electromagnetic compatibility of the server is re-judged.

[0074] It should be noted that the method provided by the present invention for determining the communication link causing the electromagnetic compatibility anomaly of the server is only one possible implementation method, but is not limited to this implementation method and can be set according to the needs of the user.

[0075] The present invention provides a method for specifically determining a communication link that causes an electromagnetic compatibility anomaly of a server. In this method, the specific location of the electromagnetic compatibility anomaly of the server is specifically determined, thereby reducing the difficulty and cost of troubleshooting factors one by one.

[0076] In some embodiments, since the above embodiments can only determine the communication link that causes the electromagnetic compatibility abnormality of the server, and the communication link is composed of the front window server network card and the rear window server network card, after determining that there is an abnormal communication link, the server network card that causes the communication link abnormality can be further determined, and the specific steps are: setting the corresponding front window server network card to self-circulation mode; obtaining the front window electromagnetic noise data corresponding to the front window server network card; determining whether the front window electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency; if the front window electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, then determining that the rear window server network card is abnormal; if the front window electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, then determining that the front window server network card is abnormal.

[0077] In a specific embodiment, since the abnormal communication link currently appears corresponds to a front window server network card and a rear window server network card, and the front window server network card serves as a data sending end, and the rear window server network card serves as a signal receiving end. Therefore, after determining the abnormal communication link, the front window server network card is set to a self-circulating mode, that is, the data sent by the front window server network card and the front window server network card simultaneously obtain data. The specific steps for setting the front window server network card to the self-circulating mode are: obtaining the register address corresponding to the corresponding front window server network card; changing the data output address corresponding to the front window server network card to the register address, so that the front window server network card sends and receives data, and realizes the self-circulation of the front window server network card. And after the front window server network card is set to the self-circulation mode, the front window electromagnetic noise data corresponding to the front window server network card is obtained. The front window electromagnetic noise data obtained at this time only represents the state of the front window server network card. Therefore, if the front window electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it is determined that the front window server network card in the abnormal communication link is normal, and therefore it is further determined that the rear window server network card in the abnormal communication connection is abnormal; if the front window electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it is determined that the front window server network card in the abnormal communication link is abnormal, and at this time the rear window server network card in the abnormal communication link may be normal or abnormal.

[0078] In addition, since in the above embodiment, after determining that the front window server network card is abnormal, the status of the corresponding rear window server network card cannot be determined, after determining that the front window server network card is abnormal, it is necessary to use a new front window server network card to replace the original front window server network card, and re-judge the communication link between the current front window server network card and the corresponding rear window server network card. If the communication link is still abnormal at this time, the corresponding rear window server network card is judged to be abnormal; if the communication connection is normal at this time, the corresponding rear window server network card is judged to be normal, thereby achieving the function of judging each server network card.

[0079] Alternatively, after determining that the front-window server network card is abnormal, the corresponding rear-window server network card is also set to self-circulation mode, and the rear-window electromagnetic noise data corresponding to the rear-window server network card is obtained at this time, and the rear-window electromagnetic noise data only represents the status of the rear-window server network card; if the rear-window electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency at this time, then it is determined that the rear-window server network card in the abnormal communication link is also abnormal; if the rear-window electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency at this time, then it is determined that the rear-window server network card in the abnormal communication link is normal, thereby achieving the function of judging each server network card.

[0080] In addition, multiple servers are connected to the host computer. When the electromagnetic noise data is not less than the limit value corresponding to the current electromagnetic radiation scanning frequency, the electromagnetic compatibility of the server is determined to be abnormal. It also includes: obtaining a status signal representing the electromagnetic compatibility abnormality of the server, wherein the status signal specifically represents the model of the server corresponding to the electromagnetic compatibility abnormality and the status of the corresponding server network card in the server; uploading the status signal to the host computer so that the host computer triggers the corresponding alarm system according to the status signal. In this case, the operator can quickly determine which server network card in which server has an abnormality according to the different alarm systems, reducing the time-consuming, difficult and high cost problems caused by the one-by-one cause investigation and confirmation when the server is in an electromagnetic compatibility abnormal state.

[0081] It should be noted that the embodiment provided by the present invention is only one possible implementation method, but is not limited to only this implementation method and can be set according to the needs of the user.

[0082] In summary, Figure 4 Take the server shown in the figure as an example, the process of the electromagnetic compatibility test method of the server is as follows Figure 5 As shown, the following steps are included:

[0083] S20: Server network card interconnection.

[0084] S21: The spectrum receiver obtains electromagnetic noise data.

[0085] S22: Determine whether the electromagnetic noise data is greater than a limit value.

[0086] S23: If no, the electromagnetic compatibility of the server is normal and the test passes.

[0087] S24: If yes, the data communication between server network card 1 and server network card 3 is interrupted.

[0088] S25: Acquire the electromagnetic noise data at this time, and determine whether the electromagnetic noise data is greater than a limit value.

[0089] S26: If the electromagnetic noise data is not greater than the limit value, the server network card 1 is set to the self-circulation mode, and the front window electromagnetic noise data is obtained.

[0090] S27: Determine whether the front window electromagnetic noise data is greater than a limit value.

[0091] S28: If the front window electromagnetic noise data is greater than the limit value, server network card 1 is abnormal and the electromagnetic noise exceeds the limit.

[0092] S29: If the front window electromagnetic noise data is not greater than the limit value, the server network card 3 is abnormal and the electromagnetic noise exceeds the limit.

[0093] S30: If the electromagnetic noise data is greater than the limit value, the data communication between the server network card 2 and the server network card 4 is interrupted.

[0094] S31: Acquire the electromagnetic noise data at this time, and determine whether the electromagnetic noise data is greater than a limit value.

[0095] S32: If the electromagnetic noise data is not greater than the limit value, the server network card 2 is set to the self-circulation mode and the front window electromagnetic noise data is obtained.

[0096] S33: Determine whether the front window electromagnetic noise data is greater than a limit value.

[0097] S34: If the front window electromagnetic noise data is greater than the limit value, the server network card 2 is abnormal and the electromagnetic noise exceeds the limit.

[0098] S35: If the front window electromagnetic noise data is not greater than the limit value, server network card 4 is abnormal and the electromagnetic noise exceeds the limit value.

[0099] Among them due to Figure 5 The steps shown correspond to the above embodiments, so the present invention will not be described in detail here.

[0100] It can be seen from the above technical scheme that the present invention provides a server electromagnetic compatibility test method, which is applied to a server including a central processing unit, N slots, N server network cards and a server motherboard, where N is an integer not less than 2; the method includes: obtaining electromagnetic noise data corresponding to the server after establishing a communication link between a front window server network card and a corresponding rear window server network card; wherein the front window server network card is a server network card arranged in the front window of the server, and the rear window server network card is a server network card arranged in the rear window of the server, so that the front window server network card and the rear window server network card realize the function of sending and receiving data of the server; if the electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the electromagnetic compatibility of the server is determined to be normal; if the electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the electromagnetic compatibility of the server is determined to be abnormal. It can be seen that the present invention sets a server network card in the front window of the server and the rear window of the server to realize the sending and receiving of data, so as to judge whether the server is electromagnetically compatible abnormal according to the electromagnetic noise data of the server itself, and the server network card causing the electromagnetic compatibility abnormality of the server can be determined according to the specific method provided above. The present invention as a whole does not require a high-speed switch, and building a complete server takes a short time and is low in cost.

[0101] On the other hand, the present invention also provides a server, comprising: a central processing unit, N slots, N server network cards and a server mainboard; wherein the central processing unit and each slot are arranged on the server mainboard, and the central server and the slots are interconnected through PCB routing in the server mainboard; the server network card is inserted into the corresponding slot, and the central processing unit and the server network card realize data interaction through a high-speed serial computer expansion bus standard protocol; the server network card is arranged in the front window of the server and the rear window of the server, and N is an integer not less than 2.

[0102] In some embodiments, when N is an even number not less than 2, the server network cards are evenly arranged in the front window of the server and the rear window of the server, and the front window server network cards correspond one to one with the rear window server network cards; when N is an odd number not less than 2; the server network cards are arranged in the front window of the server and the rear window of the server according to a preset setting rule, and the relationship between the front window server network cards and the rear window server network cards is a one-to-many relationship or a many-to-one relationship.

[0103] The specific embodiment of the server provided by the present invention is the same as the embodiment of the above-mentioned server electromagnetic compatibility testing method, so the present invention will not be described in detail here. At the same time, the server provided by the present invention has the same beneficial effects as the above-mentioned server electromagnetic compatibility testing method.

[0104] Figure 6 A structural diagram of an electronic device provided by an embodiment of the present invention, such as Figure 6 As shown, the electronic device includes: a memory 60 for storing a computer program;

[0105] The processor 61 is used to implement the steps of the server electromagnetic compatibility testing method in the above embodiment when executing the computer program.

[0106] The electronic device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.

[0107] Among them, the processor 61 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 61 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 61 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 61 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 61 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0108] The memory 60 may include one or more computer-readable storage media, which may be non-transitory. The memory 60 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 60 is at least used to store the following computer program 601, wherein, after the computer program is loaded and executed by the processor 61, it can implement the relevant steps of the server electromagnetic compatibility test method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 60 may also include an operating system 602 and data 603, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 602 may include Windows, Unix, Linux, etc.

[0109] In some embodiments, the electronic device may further include a display screen 62 , an input / output interface 63 , a communication interface 64 , a power supply 65 , and a communication bus 66 .

[0110] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure.

[0111] It is understandable that if the server electromagnetic compatibility test method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the current technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, magnetic disk or optical disk and other media that can store program codes.

[0112] Based on this, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned server electromagnetic compatibility testing method are implemented.

[0113] The electronic device provided by the embodiment of the present invention is described in detail above. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0114] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0115] The above is a detailed introduction to a server electromagnetic compatibility test method, server, electronic device and medium provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, the present invention can also be improved and modified, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. A server electromagnetic compatibility testing method, characterized in that: Applied to a server including a central processing unit, N slots, N server network cards and a server mainboard, where N is an integer not less than 2; the method comprises: After establishing a communication link between a front window server network card and a corresponding rear window server network card, obtaining electromagnetic noise data corresponding to the server; wherein the front window server network card is the server network card arranged in the front window of the server, and the rear window server network card is the server network card arranged in the rear window of the server, so that the front window server network card and the rear window server network card realize the function of sending and receiving data of the server; If the electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it is determined that the electromagnetic compatibility of the server is normal; If the electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it is determined that the electromagnetic compatibility of the server is abnormal.

2. The server electromagnetic compatibility testing method according to claim 1, characterized in that: After determining that the electromagnetic compatibility of the server is abnormal if the electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, the method further includes: The server executes the operation of sequentially closing the communication link between each group of the front window server network cards and the corresponding rear window server network cards; Acquire electromagnetic noise data sets under different operations; Determine whether there is target electromagnetic noise data in the electromagnetic noise data group that is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency; If the electromagnetic noise data groups are all greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it is determined that the communication links between the front window server network cards of each group in the server and the corresponding rear window server network cards are abnormal, and it is determined that the front window server network cards and / or the rear window server network cards corresponding to the communication links are abnormal; If the target electromagnetic noise data that is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency exists in the electromagnetic noise data group; The communication link between the closed front window server network card and the corresponding rear window server network card is determined according to the target electromagnetic noise data; and it is determined that the front window server network card and / or the rear window server network card corresponding to the current communication link are abnormal.

3. The server electromagnetic compatibility testing method according to claim 2, characterized in that: After determining that the front window server network card and / or the rear window server network card corresponding to the communication link is abnormal, the method further includes: Setting the corresponding front window server network card to a self-circulating mode; Acquire front window electromagnetic noise data corresponding to the front window server network card; Determining whether the front window electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency; If the front window electromagnetic noise data is not greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it is determined that the rear window server network card is abnormal; If the front window electromagnetic noise data is greater than the limit value corresponding to the current electromagnetic radiation scanning frequency, it is determined that the front window server network card is abnormal.

4. The server electromagnetic compatibility testing method according to claim 3, characterized in that: The step of setting the corresponding front window server network card to a self-circulation mode comprises: Obtaining the register address corresponding to the front window server network card; The data output address corresponding to the front window server network card is changed to the register address, so that the front window server network card can send and receive data, thereby realizing the self-circulation of the front window server network card.

5. The server electromagnetic compatibility testing method according to claim 1, characterized in that: Obtaining a limit value corresponding to the electromagnetic radiation scanning frequency includes: Acquiring the electromagnetic radiation scanning frequency; Obtain the corresponding relationship between the electromagnetic radiation scanning frequency and the limit value; Based on the correspondence between the electromagnetic radiation scanning frequency and the limit value, the limit value corresponding to the current electromagnetic radiation scanning frequency is determined.

6. The server electromagnetic compatibility testing method according to any one of claims 1 to 5, characterized in that: After determining that the electromagnetic compatibility of the server is abnormal if the electromagnetic noise data is not less than the limit value corresponding to the current electromagnetic radiation scanning frequency, the method further includes: Acquire a status signal representing an electromagnetic compatibility anomaly of the server, wherein the status signal specifically represents a model of the server corresponding to the electromagnetic compatibility anomaly and a status of the corresponding server network card in the server; The status signal is uploaded to a host computer so that the host computer triggers a corresponding alarm system according to the status signal.

7. A server, characterized in that: include: CPU, N slots, N server network cards and server motherboard; Wherein, the central processor and each of the slots are arranged on the server mainboard, and the central server and the slots are interconnected through PCB traces in the server mainboard; The server network card is inserted into the corresponding slot, and the central processing unit and the server network card realize data interaction through a high-speed serial computer expansion bus standard protocol; The server network card is arranged in the front window of the server and the rear window of the server, and N is an integer not less than 2.

8. The server according to claim 7, characterized in that: When N is an even number not less than 2; The server network cards are evenly arranged in the front window of the server and the rear window of the server; When N is an odd number not less than 2; The server network card is arranged in the front window of the server and the rear window of the server according to a preset arrangement rule.

9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program to implement the steps of the server electromagnetic compatibility testing method as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the server electromagnetic compatibility testing method according to any one of claims 1 to 6 are implemented.