CN114721909A - Server information processing method and device, electronic equipment and storage medium - Google Patents

Server information processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114721909A
CN114721909A CN202210381829.5A CN202210381829A CN114721909A CN 114721909 A CN114721909 A CN 114721909A CN 202210381829 A CN202210381829 A CN 202210381829A CN 114721909 A CN114721909 A CN 114721909A
Authority
CN
China
Prior art keywords
server
data
target
target server
bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210381829.5A
Other languages
Chinese (zh)
Other versions
CN114721909B (en
Inventor
梁永林
文瑞超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210381829.5A priority Critical patent/CN114721909B/en
Publication of CN114721909A publication Critical patent/CN114721909A/en
Application granted granted Critical
Publication of CN114721909B publication Critical patent/CN114721909B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a server information processing method and device, electronic equipment and a storage medium. The method comprises the following steps: detecting a target server currently executing installation operation, and acquiring actual U-bit data of a cabinet occupied by the target server and information of the target server corresponding to the target server; acquiring a server management address distributed for a target server, and storing the server management address and actual U-bit data into a first data table in an associated manner; determining a target storage identifier corresponding to the target server based on the current storage amount in the second data table, and storing the target storage identifier and the target server information into the second data table in an associated manner; and sending the first data table and the second data table to the monitoring device so that the monitoring device merges the first data table and the second data table. The method and the device can automatically sense the actual U-bit data and the server information of the server, and do not need manual input. And all the data tables are sent to the monitoring equipment for combination, so that the unified management of the server information is realized.

Description

Server information processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for processing server information, an electronic device, and a storage medium.
Background
A guide rail is a device that can bear, secure, guide and reduce friction of moving devices or equipment, made of metal or other materials, as grooves or ridges. The guide rail is a guide rail structure for fixing equipment in a cabinet, and can be used for recording and managing information of the guide rail fixing equipment.
In the process of implementing the present invention, the inventor finds that the rack-type guide rail only has the function of fixing equipment at present, for example: and the equipment is fixed inside the cabinet by adopting an L-shaped slide rail, a ball rail and the like. But does not have the management function of the information of the guide rail bearing equipment. For example: when the asset information in the cabinet is maintained, the asset information needs to be manually input, and the asset information is bound with the U bit of the rack, so that the management is inconvenient.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the application provides a server information processing method, a server information processing device, an electronic device and a storage medium.
According to an aspect of an embodiment of the present application, there is provided a server information processing method, including:
detecting a target server currently executing installation operation, and acquiring actual U-bit data of a cabinet occupied by the target server and target server information corresponding to the target server;
acquiring a server management address distributed for the target server, and storing the server management address and the actual U-bit data into a first data table in an associated manner;
determining a target storage identifier corresponding to the target server based on the current storage amount in a second data table, and storing the target storage identifier and the target server information into the second data table in an associated manner;
and sending the first data table and the second data table to a monitoring device so that the monitoring device merges the first data table and the second data table to obtain a third data table, and managing the target server according to the third data table.
Further, before obtaining the actual U-bit data occupied by the target server and the target server information corresponding to the target server, the method further includes:
acquiring U-bit demand data corresponding to the target server;
determining all U-bit data corresponding to the cabinet and current occupied U-bit data, and calculating current available U-bit data of the cabinet based on the all U-bit data and the occupied U-bit data;
and under the condition that the available U-bit data meets the U-bit demand data, determining that the cabinet meets the requirement of the target server to execute installation operation.
Further, the acquiring the U-bit demand data corresponding to the target server includes:
collecting server characteristics corresponding to the target server;
obtaining target size data corresponding to the target server from the server characteristics corresponding to the target server;
and determining U bit demand data corresponding to the target size data based on the corresponding relation between the preset size data and the U bit.
Further, the determining all U-bit data corresponding to the cabinet and the currently occupied U-bit data includes:
acquiring a cabinet image corresponding to the cabinet, wherein the cabinet image comprises at least one installed server;
acquiring first server information corresponding to the installed server and cabinet information of the cabinet;
and inquiring the U-bit data occupied by the installed server from the monitoring equipment by using the first server information, and inquiring all the U-bit data corresponding to the cabinet by using the cabinet information.
Further, the method further comprises:
updating the U-bit occupied data of the cabinet based on the U-bit demand data to obtain updated U-bit occupied data;
and updating the distribution information of the servers in the cabinet by using the updated occupied U-bit data.
Further, the obtaining the server management address allocated to the target server includes:
detecting a first number of clicks applied to a first button of a tap counter, and determining a first numerical value based on the first number of clicks;
detecting a second number of clicks on a second button of the tap counter and determining a second value based on the second number of clicks;
detecting a third number of clicks on a third button of the tap counter, and determining a third numerical value based on the third number of clicks;
and arranging the first numerical value, the second numerical value and the third numerical value according to the priority of a preset button to obtain the server management address.
Further, the method further comprises:
receiving a control instruction sent by the monitoring equipment, wherein the control instruction carries second server information corresponding to a server to be monitored;
detecting current U-bit data of the server to be monitored based on the second server information, wherein the current U-bit data comprises the number and the position of U bits;
and sending the current U-bit data to the monitoring equipment so that the monitoring equipment compares the current U-bit data with the original U-bit data corresponding to the server to be monitored, and sending alarm information under the condition that the current U-bit data is inconsistent with the original U-bit data.
According to another aspect of the embodiments of the present application, there is also provided a server information processing apparatus, including:
the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting a target server currently executing installation operation, and acquiring actual U-bit data of a cabinet occupied by the target server and information of the target server corresponding to the target server;
the acquisition module is used for acquiring a server management address distributed for the target server and storing the server management address and the actual U-bit data into a first data table in an associated manner;
the determining module is used for determining a target storage identifier corresponding to the target server based on the current storage amount in a second data table, and storing the target storage identifier and the target server information into the second data table in an associated manner;
and the sending module is used for sending the first data table and the second data table to monitoring equipment so that the monitoring equipment merges the first data table and the second data table to obtain a third data table, and the target server is managed according to the third data table.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program which performs the above steps when the program is executed.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; a processor for executing the steps of the method by running the program stored in the memory.
Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the steps of the above method.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: the method provided by the embodiment of the application can automatically sense the actual U-bit data of the cabinet occupied by the server and the server information corresponding to the server, and does not need to manually input the related information of the server. Meanwhile, the actual U-bit number and the server information are separately stored and respectively stored in different data tables, so that the server information is prevented from being leaked. In addition, each data table is sent to the monitoring equipment, and the monitoring equipment combines the information in each data table, so that the unified management of the server information is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of a method for processing server information according to an embodiment of the present application;
fig. 2 is a flowchart of a method for processing server information according to another embodiment of the present application;
fig. 3 is a flowchart of a method for processing server information according to another embodiment of the present application;
fig. 4 is a block diagram of a server information processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments, and the illustrative embodiments and descriptions thereof of the present application are used for explaining the present application and do not constitute a limitation to the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another similar entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The embodiment of the application provides a server information processing method and device, electronic equipment and a storage medium. The method provided by the embodiment of the invention can be applied to any required electronic equipment, for example, the electronic equipment can be electronic equipment such as a server and a terminal, and the method is not particularly limited herein, and is hereinafter simply referred to as electronic equipment for convenience in description.
According to an aspect of an embodiment of the present application, a method embodiment of a method for processing server information is provided. Fig. 1 is a flowchart of a method for processing server information according to an embodiment of the present application, and as shown in fig. 1, the method includes:
step S11, detecting the target server currently executing the installation operation, and obtaining the actual U-bit data of the cabinet occupied by the target server and the information of the target server corresponding to the target server.
The method provided by the embodiment of the application is applied to the information processing equipment in the cabinet, and the information processing equipment can sense the state of the cabinet, for example: and sensing whether the cabinet has a target server for executing the safety operation currently. If there is currently a target server performing the installation operation. The information processing device collects specific server information of the target server and transmits the server information to the monitoring device.
In this embodiment of the present application, before obtaining the actual U-bit data occupied by the target server and the target server information corresponding to the target server, the method further includes the following steps a 1-A3:
and step A1, acquiring the U-bit demand data corresponding to the target server.
In this embodiment of the present application, the step A1 of obtaining U-bit demand data corresponding to a target server includes the following steps a101 to a 103:
step A101, collecting server characteristics corresponding to a target server.
Step A102, obtaining target size data corresponding to the target server from the server characteristics corresponding to the target server.
Step A103, based on the corresponding relationship between the preset size data and the U bit, the U bit demand data corresponding to the target size data is determined.
In the embodiment of the application, the information processing device scans the target server by calling the camera device to obtain the server characteristics of the target server, and obtains the target size data corresponding to the target server from the server characteristics corresponding to the target server. For example: the server characteristic may be a length, height, width, etc. of the target server. After the target size data of the target server is determined, the U-bit demand data corresponding to the target size data is directly obtained based on the corresponding relation between the preset size data and the U bits. It should be noted that the U-bit requirement data is used to indicate the number of U bits currently required by the target server.
And step A2, determining all U-bit data and currently occupied U-bit data corresponding to the cabinet, and calculating currently available U-bit data of the cabinet based on all U-bit data and occupied U-bit data.
In this embodiment of the application, the step A2 of determining all U-bit data corresponding to the cabinet and the currently occupied U-bit data includes the following steps a201 to a 203:
step A201, obtaining a cabinet image corresponding to a cabinet, wherein the cabinet image includes at least one installed server.
Step A202, first server information corresponding to the installed server and cabinet information of the cabinet are obtained.
Step a203, querying the U-bit data occupied by the installed server from the monitoring device by using the first server information, and querying all the U-bit data corresponding to the cabinet by using the cabinet information.
In this embodiment of the application, the information processing apparatus may invoke the camera device to shoot the cabinet, so as to obtain a cabinet image, where the cabinet image includes at least one installed server, and then extract first server information corresponding to each installed server from the cabinet image, where the first server information includes: the device model or serial number of the server, etc. And then sending the first server information to the monitoring equipment so as to acquire the U-bit occupied data of the installed server. Meanwhile, cabinet information can be extracted from the cabinet image, and all U-bit data corresponding to the current cabinet can be acquired by using the cabinet information.
In the embodiment of the present application, the difference between the total U-bit data and the occupied U-bit data of the installed server is calculated, and the difference is taken as the available U-bit data.
And step A3, determining that the cabinet meets the requirement of the target server to execute the installation operation under the condition that the available U bit data meets the U bit requirement data.
In the embodiment of the application, the number of the U bits currently required by the target server in the available U bit data and the U bit demand data is compared, and if the available U bit data is greater than or equal to the number of the U bits currently required, it is determined that the available U bit data satisfies the U bit demand data, which indicates that the cabinet satisfies the installation operation performed by the target server. And if the available U bit data is less than the number of the currently required U bits, determining that the available U bit data does not meet the U bit requirement data, and indicating that the cabinet does not meet the target server to execute the installation operation.
In this embodiment of the present application, when the rack satisfies that the target server executes the installation operation, the specific step of obtaining the actual U-bit data of the rack occupied by the target server may be: and calling the guide rail U bit detection device to detect the target server to obtain the actual U bit data of the cabinet occupied by the target server. The guide rail U position detection equipment comprises two digital positioning modules, namely a unit digit 0-4 and a ten digit 0-4. The guide rail U-bit detecting apparatus can record the spaces of 01U, 02U, 03U, 04U … … 44U by different combinations and transfer the marked U-bit data to the information processing apparatus.
In this embodiment of the present application, the image capturing device may be further invoked to capture an image of the target server, so as to obtain an image of the target server, and then target server information of the target server is extracted from the image of the target server, where the target server information includes: device serial number, device model number, etc.
In step S12, a server management address allocated to the target server is obtained, and the server management address and the actual U-bit data are stored in the first data table in an associated manner.
In this embodiment, the step S12 of obtaining the server management address allocated to the target server includes the following steps B1-B4:
step B1 detects a first number of clicks on a first button of the tap counter and determines a first value based on the first number of clicks.
Step B2, detecting a second number of clicks on a second button of the tap counter, and determining a second value based on the second number of clicks.
And step B3, detecting a third click frequency acting on a third button of the click-touch counter, and determining a third numerical value based on the third click frequency.
And step B4, arranging the first numerical value, the second numerical value and the third numerical value according to the preset button priority to obtain the server management address.
In the embodiment of the present application, the information processing apparatus detects a click-to-touch counter to determine a server management address. The touch counter includes 3 counting buttons corresponding to 3 numbers. The first button is used for representing a percentile, the setting range of the first button is 0-2, 1 is added after clicking once every time, the number is counted to 2, and after clicking the counter again, the number is returned to 0. The second button is used to represent the 0 ten digits and the third button is used to represent the ones digits. The range set by the second button and the third button is 0-9, 1 is added in each click, 9 is counted, and after the counter is clicked, the number is returned to 0.
In this embodiment of the application, after obtaining the server management address and the actual U-bit data, the information processing apparatus stores the server management address and the actual U-bit data in the first data table in an associated manner. The first data table is as follows;
U_Code IP_Code
01U 192.168.10.2
TABLE 1
Step S13, determining a target storage identifier corresponding to the target server based on the current storage amount in the second data table, and storing the target storage identifier and the target server information in association with the second data table.
In this embodiment of the application, before writing the target server information into the second data table, the information processing apparatus may query the current storage amount of the second data table, as shown in table 2, when the current storage amount of the second data table is 1, it may be determined that the target storage identifier corresponding to the target server is 2. Therefore, the target storage identifier and the target server information are stored in a second data table in an associated manner, and the second data table is as follows:
ID SN_Code Modle_type
1 23450 T1—M188
2
TABLE 2
It should be noted that, the information processing apparatus is advantageous to ensure the security of the server-related information by storing different information in different data tables.
Step S14, sending the first data table and the second data table to the monitoring device, so that the monitoring device merges the first data table and the second data table to obtain a third data table, and manages the target server according to the third data table.
In this embodiment of the application, after obtaining the first data table and the second data table according to the actual U-bit data, the server management address, and the target server information, the information processing device may send the first data table and the second data table to the monitoring device synchronously, so that the monitoring device merges according to the second data table and the second data table to obtain a third data table, and subsequently may manage the target server according to the third data table. The third data table is as follows:
ID SN_Code Modle_type U_Code IP_Code
1 23450 T1—M188 01U 192.168.10.2
2
TABLE 3
The method provided by the embodiment of the application can automatically sense the actual U-bit data of the cabinet occupied by the server and the server information corresponding to the server, and does not need to manually input the relevant information of the server. Meanwhile, the actual U digit and the server information are separately stored and respectively stored in different data tables, so that the server information is prevented from being leaked. In addition, each data table is sent to the monitoring equipment, and the monitoring equipment combines the information in each data table, so that the unified management of the server information is realized.
Fig. 2 is a flowchart of a method for processing server information according to an embodiment of the present application, and as shown in fig. 2, the method further includes the following steps:
and step S21, updating the occupied U bit data of the cabinet based on the U bit demand data to obtain the updated occupied U bit data.
And step S22, updating the distribution information of the servers in the cabinet by using the updated occupied U-bit data.
In the embodiment of the application, the U-bit demand data and the original occupied U-bit data of the cabinet are summed, and the summed value is obtained to obtain updated occupied U-bit data. The information processing device can update the distribution information of the cabinet server by using the updated occupied U-bit data.
Fig. 3 is a flowchart of a method for processing server information according to an embodiment of the present application, and as shown in fig. 3, the method further includes the following steps:
step S31, receiving a control instruction sent by the monitoring device, where the control instruction carries second server information corresponding to the server to be monitored.
Step S32, detecting current U-bit data of the server to be monitored based on the second server information, wherein the current U-bit data includes the number and position of U-bits.
Step S33, sending the current U-bit data to the monitoring device, so that the monitoring device compares the current U-bit data with the original U-bit data corresponding to the server to be monitored, and sends alarm information when the current U-bit data is inconsistent with the original U-bit data.
In this embodiment of the application, the information processing device may further receive a control instruction sent from the monitoring device, and it should be noted that when the monitoring device needs to perform key monitoring on some services in the cabinet, a control command is generated, and the second server information corresponding to the server to be monitored is carried in the control command and sent to the information processing device.
In the embodiment of the application, after the information processing device obtains the control instruction, the information processing device detects the current U-bit data of the server to be monitored according to the second server information (such as the device serial number/model) carried in the detection of the control instruction, so as to obtain the current U-bit data. The information processing apparatus then transmits the current U-bit data to the monitoring apparatus.
In the embodiment of the application, after receiving the current U-bit data of the server to be monitored, the monitoring device compares the current U-bit data with the original U-bit data corresponding to the server to be monitored, and sends alarm information when the current U-bit data is inconsistent with the original U-bit data.
The method and the device for acquiring the information can also monitor some specified servers according to the control instruction sent by the monitoring device and feed back corresponding monitoring results to the monitoring device. The dynamic monitoring of the server in the cabinet is realized, and the safety of the server is guaranteed.
Fig. 4 is a block diagram of a server information processing apparatus according to an embodiment of the present application, where the apparatus may be implemented as part or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 4, the apparatus includes:
the detection module 41 is configured to detect a target server currently executing an installation operation, and acquire actual U-bit data of a cabinet occupied by the target server and information of the target server corresponding to the target server;
an obtaining module 42, configured to obtain a server management address allocated to the target server, and store the server management address and the actual U-bit data in a first data table in an associated manner;
a determining module 43, configured to determine a target storage identifier corresponding to the target server based on a current storage amount in the second data table, and store the target storage identifier and the target server information in the second data table in an associated manner;
the sending module 44 is configured to send the first data table and the second data table to the monitoring device, so that the monitoring device merges the first data table and the second data table to obtain a third data table, and manages the target server according to the third data table.
In an embodiment of the present application, the processing apparatus further includes: a determination module comprising:
the acquisition submodule is used for acquiring the U-bit demand data corresponding to the target server;
the calculation submodule is used for determining all U-bit data and current occupied U-bit data corresponding to the cabinet and calculating current available U-bit data of the cabinet based on all U-bit data and occupied U-bit data;
and the determining submodule is used for determining that the cabinet meets the requirement of the target server to execute the installation operation under the condition that the available U-bit data meets the U-bit requirement data.
In the embodiment of the application, the obtaining submodule is used for collecting the server characteristics corresponding to the target server; obtaining target size data corresponding to the target server from the server characteristics corresponding to the target server; and determining U bit demand data corresponding to the target size data based on the corresponding relation between the preset size data and the U bit.
In the embodiment of the application, the computing submodule is used for acquiring a cabinet image corresponding to a cabinet, wherein the cabinet image comprises at least one installed server; acquiring first server information corresponding to an installed server and cabinet information of a cabinet; and inquiring the U-bit data occupied by the installed server from the monitoring equipment by using the first server information, and inquiring all the U-bit data corresponding to the cabinet by using the cabinet information.
In an embodiment of the present application, the processing apparatus further includes: the updating module is used for updating the U bit data occupied by the cabinet based on the U bit demand data to obtain the updated U bit data occupied; and updating the distribution information of the servers in the cabinet by using the updated occupied U-bit data.
In the embodiment of the present application, the obtaining module 42 is configured to detect a first number of clicks applied to a first button of the click counter, and determine a first value based on the first number of clicks; detecting a second number of clicks acting on a second button of the tap counter, and determining a second value based on the second number of clicks; detecting a third number of clicks applied to a third button of the tap counter, and determining a third numerical value based on the third number of clicks; and arranging the first numerical value, the second numerical value and the third numerical value according to the preset button priority to obtain the server management address.
In an embodiment of the present application, the processing apparatus further includes: the monitoring module is used for receiving a control instruction sent by the monitoring equipment, wherein the control instruction carries second server information corresponding to a server to be monitored; detecting current U-bit data of the server to be monitored based on the second server information, wherein the current U-bit data comprises the number and the position of U bits; and sending the current U-bit data to the monitoring equipment so that the monitoring equipment compares the current U-bit data with the original U-bit data corresponding to the server to be monitored, and sending alarm information under the condition that the current U-bit data is inconsistent with the original U-bit data.
An embodiment of the present application further provides an electronic device, as shown in fig. 5, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the above embodiments when executing the computer program stored in the memory 1503.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment provided by the present application, a computer-readable storage medium is further provided, in which instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the server information processing method described in any one of the above embodiments.
In another embodiment provided by the present application, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to execute the method for processing server information described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the scope of protection of the present application.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for processing server information is characterized by comprising the following steps:
detecting a target server currently executing installation operation, and acquiring actual U-bit data of a cabinet occupied by the target server and target server information corresponding to the target server;
acquiring a server management address distributed for the target server, and storing the server management address and the actual U-bit data into a first data table in an associated manner;
determining a target storage identifier corresponding to the target server based on the current storage amount in a second data table, and storing the target storage identifier and the target server information into the second data table in an associated manner;
and sending the first data table and the second data table to a monitoring device so that the monitoring device merges the first data table and the second data table to obtain a third data table, and managing the target server according to the third data table.
2. The method according to claim 1, wherein before obtaining the actual U-bit data occupied by the target server and the target server corresponding target server information, the method further comprises:
acquiring U-bit demand data corresponding to the target server;
determining all U-bit data corresponding to the cabinet and current occupied U-bit data, and calculating current available U-bit data of the cabinet based on the all U-bit data and the occupied U-bit data;
and under the condition that the available U-bit data meets the U-bit demand data, determining that the cabinet meets the requirement of the target server to execute installation operation.
3. The method of claim 2, wherein the obtaining the U-bit requirement data corresponding to the target server comprises:
collecting server characteristics corresponding to the target server;
obtaining target size data corresponding to the target server from server features corresponding to the target server;
and determining U bit demand data corresponding to the target size data based on the corresponding relation between the preset size data and the U bit.
4. The method of claim 1, wherein the determining all U-bit data and currently occupied U-bit data corresponding to the cabinet comprises:
acquiring a cabinet image corresponding to the cabinet, wherein the cabinet image comprises at least one installed server;
acquiring first server information corresponding to the installed server and cabinet information of the cabinet;
and inquiring the U-bit data occupied by the installed server from the monitoring equipment by using the first server information, and inquiring all the U-bit data corresponding to the cabinet by using the cabinet information.
5. The method of claim 2, further comprising:
updating the U-bit occupied data of the cabinet based on the U-bit demand data to obtain updated U-bit occupied data;
and updating the distribution information of the servers in the cabinet by using the updated occupied U-bit data.
6. The method of claim 1, wherein obtaining the server management address assigned to the target server comprises:
detecting a first number of clicks applied to a first button of a tap counter, and determining a first numerical value based on the first number of clicks;
detecting a second number of clicks on a second button of the tap counter and determining a second value based on the second number of clicks;
detecting a third number of clicks on a third button of the tap counter, and determining a third numerical value based on the third number of clicks;
and arranging the first numerical value, the second numerical value and the third numerical value according to a preset button priority to obtain the server management address.
7. The method of claim 1, further comprising:
receiving a control instruction sent by the monitoring equipment, wherein the control instruction carries second server information corresponding to a server to be monitored;
detecting current U-bit data of the server to be monitored based on the second server information, wherein the current U-bit data comprises the number and the position of U bits;
and sending the current U-bit data to the monitoring equipment so that the monitoring equipment compares the current U-bit data with the original U-bit data corresponding to the server to be monitored, and sending alarm information under the condition that the current U-bit data is inconsistent with the original U-bit data.
8. An apparatus for processing server information, comprising:
the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting a target server currently executing installation operation, and acquiring actual U-bit data of a cabinet occupied by the target server and information of the target server corresponding to the target server;
the acquisition module is used for acquiring a server management address distributed for the target server and storing the server management address and the actual U-bit data into a first data table in an associated manner;
the determining module is used for determining a target storage identifier corresponding to the target server based on the current storage amount in a second data table, and storing the target storage identifier and the target server information into the second data table in an associated manner;
and the sending module is used for sending the first data table and the second data table to monitoring equipment so that the monitoring equipment merges the first data table and the second data table to obtain a third data table, and the target server is managed according to the third data table.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program is operative to perform the method steps of any of the preceding claims 1 to 7.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus; wherein:
a memory for storing a computer program;
a processor for performing the method steps of any of claims 1 to 7 by executing a program stored on a memory.
CN202210381829.5A 2022-04-12 2022-04-12 Processing method and device of server information, electronic equipment and storage medium Active CN114721909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210381829.5A CN114721909B (en) 2022-04-12 2022-04-12 Processing method and device of server information, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210381829.5A CN114721909B (en) 2022-04-12 2022-04-12 Processing method and device of server information, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114721909A true CN114721909A (en) 2022-07-08
CN114721909B CN114721909B (en) 2024-07-05

Family

ID=82244247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210381829.5A Active CN114721909B (en) 2022-04-12 2022-04-12 Processing method and device of server information, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114721909B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115686907A (en) * 2022-10-31 2023-02-03 超聚变数字技术有限公司 Information configuration method and computing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587996A (en) * 2018-10-15 2019-04-05 平安科技(深圳)有限公司 The position U management method, corresponding device and the electronic equipment of server cabinet
CN111651007A (en) * 2020-04-30 2020-09-11 厦门科灿信息技术有限公司 Server cabinet U bit management method and management system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587996A (en) * 2018-10-15 2019-04-05 平安科技(深圳)有限公司 The position U management method, corresponding device and the electronic equipment of server cabinet
CN111651007A (en) * 2020-04-30 2020-09-11 厦门科灿信息技术有限公司 Server cabinet U bit management method and management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115686907A (en) * 2022-10-31 2023-02-03 超聚变数字技术有限公司 Information configuration method and computing device
CN115686907B (en) * 2022-10-31 2023-10-10 超聚变数字技术有限公司 Information configuration method and computing device

Also Published As

Publication number Publication date
CN114721909B (en) 2024-07-05

Similar Documents

Publication Publication Date Title
CN110083475B (en) Abnormal data detection method and device
CN111159269A (en) Data processing method, device and system
CN114721909B (en) Processing method and device of server information, electronic equipment and storage medium
CN111552567A (en) Thread management method and device, electronic equipment and storage medium
CN113010494A (en) Database auditing method and device and database proxy server
CN112202633A (en) Block chain network testing method and device, electronic equipment and readable storage medium
CN112995765B (en) Network resource display method and device
CN114281648A (en) Data acquisition method and device, electronic equipment and storage medium
CN113656247A (en) Service monitoring method and device, electronic equipment and readable storage medium
CN113900798A (en) System memory processing method and device, electronic equipment and storage medium
CN111338888B (en) Data statistics method and device, electronic equipment and storage medium
CN107896232B (en) IP address evaluation method and device
CN116069591A (en) Interface performance monitoring method, device, equipment and storage medium
CN114429177A (en) Equipment fingerprint feature screening method and device, electronic equipment and storage medium
CN115757107A (en) Embedded point detection method, device, server and storage medium
CN111400327B (en) Data synchronization method and device, electronic equipment and storage medium
CN110706378B (en) Method, terminal, system and computer readable medium for recording door lock state
CN114356211A (en) Storage space processing method and device, electronic equipment and storage medium
CN114039878A (en) Network request processing method and device, electronic equipment and storage medium
CN112671590A (en) Data transmission method and device, electronic equipment and computer storage medium
CN112328983A (en) Man-machine checking method and device, electronic equipment and storage medium
CN111339411A (en) Method, device, equipment and storage medium for controlling use of recommendation strategy
CN113327063B (en) Resource detection method, device, electronic equipment and computer readable storage medium
CN114626104B (en) Equipment identification selection method and device
CN111614747B (en) Information processing method and device

Legal Events

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