Server ledger management statistical method fusing BS and CS architectures

By integrating B/S and C/S architectures, the server hardware and system configuration information are automatically collected and managed, and the problem of inefficient traditional manual statistics is solved, efficient and accurate ledger management and customized display are achieved, and operation is supported. The maintenance work improves the accuracy of hardware failure location and server security and stability.

CN119292876AInactive Publication Date: 2025-01-10CLP KESHENTAI INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411833748.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-01-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional server ledger management relies on manual statistics, is inefficient and error-prone, which causes operations and maintenance and developers to be unable to obtain the latest ledger data, affecting decision-making and operational accuracy, and may lead to the loss of hardware assets.

Method used

Using a method of integrating B/S and C/S architectures, accessing the Web server through the browser side, sending collection signals to the Shenwei server, automatically collecting hardware and system configuration information, and recording it into the database to provide search and display functions. Realize customized display.

Benefits of technology

Implement automated statistics and management ledgers, improve data accuracy and real-time, shorten hardware collection and maintenance time, reduce the workload of operation and maintenance personnel, ensure the safe and stable operation of the server, and save system operation and maintenance cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119292876A_ABST
    Figure CN119292876A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of ledger management, and particularly relates to a server ledger management statistical method fusing BS and CS architectures. Comprising the following steps that operation and maintenance and development personnel access a Web server side S through a browser side B, and the Web server side S sends an acquisition signal to a specified SW server side C; the open port of the SW server side C is used for receiving an acquisition signal sent by the Web server side S; after receiving the acquisition signal, the SW server end C automatically acquires hardware and system configuration information of the domestic SW server; the SW server side C sends the collected information back to the Web server side S; and the Web server side S records the received information in a database, and provides searching and displaying functions based on the information in the database. The method not only can generate and manage the ledger, but also can realize customized display according to user requirements, thereby solving the problem that server hardware and system configuration information cannot be accurately and timely updated manually.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of ledger management, and in particular relates to a server ledger management statistical method integrating BS and CS architectures. Background Art

[0002] In modern enterprise operations, data center computer rooms play a vital role. Server ledger management in the computer room is a key link to ensure operational efficiency and data security. However, how to accurately count and manage the hardware and system configuration information of domestic Sunway servers has become a technical challenge that needs to be solved urgently. As the core asset of the computer room, the accuracy of the server accessories ledger is crucial to the maintenance and expansion of IT infrastructure.

[0003] At present, traditional server ledger management relies on manual statistics in Excel tables, which is inefficient and prone to errors. Inaccurate information may prevent operations and developers from obtaining the latest ledger data, which in turn affects the accuracy of decision-making and operations. In addition, regular manual verification not only consumes a lot of human resources, but may also lead to the loss of hardware assets due to negligence. Summary of the invention

[0004] The purpose of the present invention is to provide a server ledger management and statistics method that integrates BS and CS architectures. Through a method based on the combination of B / S (browser / server) and C / S (client / server) architectures, it is possible to automatically count the hardware and system configuration information of domestic Shenwei servers, generate and manage ledgers, and display them in a customized manner according to user needs.

[0005] In order to solve the above technical problems, the present invention provides a server ledger management and statistics method integrating B / S and C / S architectures, comprising the following steps: Step 1: The operation and maintenance and development personnel access the Web server (S) through the browser (B), and send the collection signal from the back-end Web server (S) to the designated Shenwei server (C) through the web page; Step 2: The open port of the Shenwei server (C) is used to receive the collection signal sent by the Web server (S); Step 3: After receiving the collection signal, the Shenwei server (C) automatically collects the hardware and system configuration information of the domestic Shenwei server; Step 4: The Shenwei server (C) sends the collected information back to the Web server (S); Step 5: The Web server (S) records the received information into a database and provides search and display functions based on the information in the database.

[0006] Preferably, in step 1, the Web server (S) includes: Web server software, software used to process HTTP requests and send HTTP responses; Backend frameworks provide the infrastructure for building web applications, including database access and template engine capabilities. Databases, which are used to store and retrieve data.

[0007] Preferably, in step 1, Django is selected as the backend framework to construct the Web server S and the web page template, and the Django includes an MTV architecture and an ORM system.

[0008] Preferably, in step 2, Python's socketserver module is selected as the bottom layer to ensure fast and accurate transmission of signals.

[0009] Preferably, in step 3, shell and python methods are used to automatically collect the hardware and system configuration information of domestic Shenwei servers and reduce the ecological dependence on third-party software.

[0010] Preferably, in step 4, the collected information includes CPU, memory, hardware, Raid card, Raid level, host name, service, location, asset number and online time, etc.

[0011] Preferably, in step 5, the Web server (S) records the information into a database, and uses cluster analysis and time series analysis data mining methods to discover patterns and trends in system configurations of different types of Shenwei CPUs.

[0012] Preferably, in step 5, the search and display functions provided include: server model statistics, owner statistics, system statistics, service statistics, IP search, owner search, asset number search and display of U-class cabinet information.

[0013] Compared with the prior art, the present invention has the following beneficial effects: The present invention provides a method for automatically counting domestic Shenwei server hardware and system configuration information that integrates B / S and C / S architectures, and is used to generate and manage ledgers and realize customized display. The method can not only generate and manage ledgers, but also realize customized display according to user needs, thereby solving the limitations of manual Excel statistics in the prior art, and the problem that server hardware and system configuration information cannot be updated accurately and timely. At the same time, the present invention can also provide strong support for the daily work of operation and maintenance personnel, shorten the time and manpower for hardware collection and maintenance ledgers, greatly reduce the workload of operation and maintenance personnel, and also improve the accuracy of ledgers and the accuracy of locating hardware failures, ensure the safe and stable operation of servers in the computer room, save system operation and maintenance costs, and have broad market promotion value. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 The flowchart is a server ledger management and statistics method integrating BS and CS architectures. DETAILED DESCRIPTION

[0015] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become more apparent from the following description. It should be noted that the accompanying drawings are in very simplified form and in non-precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.

[0016] The embodiment of the present invention specifically provides a server ledger management and statistics method integrating BS and CS architectures, which is used to automatically count the hardware and system configuration information of domestic Shenwei servers, so as to realize the functions of generating and managing ledgers and realizing customized display.

[0017] like Figure 1 As shown, first, the browser side (B) sends a collection signal to the target domestic Shenwei server (C) through the Web server side (S). This step is the starting point of the entire process, ensuring the initiative and timeliness of data collection. Then, after receiving the collection signal from the Web server side (S), the Shenwei server side (C) automatically performs data collection work, including but not limited to key hardware and system configuration information such as CPU, memory, hardware, Raid card, Raid level, host name, etc. After the collection is completed, the Shenwei server side (C) sends the collected information back to the Web server (S). Finally, based on the large amount of hardware accessories and system information in the database, the server hardware, cabinet, system configuration and other information are displayed on demand on the browser side (B).

[0018] The above method integrates the B / S and C / S architectures to achieve efficient collaboration between data collection and information display, thereby improving the stability of the entire system and the reliability of data. Managers and operation and maintenance personnel can search conveniently and quickly through the browser, reducing dependence on the software ecosystem. Through the automated data collection process, the tediousness and errors of manual operations are eliminated, ensuring the real-time and accuracy of the data.

[0019] As a preferred embodiment of the present invention, the Web server side generally includes the following key components: web server software, backend framework and database. Web server software is software for processing HTTP requests and sending HTTP responses. The backend framework provides the infrastructure for building web applications, including functions such as database access and template engine. The database is used to store and retrieve data. The present invention selects Django as a development framework to build the Web server side S and web page templates, and uses its powerful MTV (Model, Template, View) architecture and ORM (Object Relational Mapping) system to improve development efficiency and system stability.

[0020] As a preferred embodiment of the present invention, the present invention selects Python's socketserver module as the bottom layer, and uses its high-performance network communication capability to ensure fast and accurate data transmission.

[0021] As a preferred embodiment of the present invention, the present invention proposes a method of combining shell and python to collect hardware and system configuration. Due to the third-party software ecology, the domestic Shenwei server automatically collects the hardware and system information of the domestic Shenwei server using methods such as shell and python after receiving the collection signal.

[0022] As a preferred embodiment of the present invention, the collected information is sent back to the Web server (S), and the collected information includes but is not limited to: CPU, memory, hardware, Raid card, Raid level, host name, service, location, asset number, online time, etc. The Web server records the information in the database, and uses data mining techniques such as cluster analysis and time series analysis to discover the patterns and trends of system configurations of different types of Shenwei CPUs. The use of program automatic collection can fully cover the hardware and system configuration information of the server. In addition to the basic CPU, memory, hardware, Raid card and other information, it can also collect the hardware slot location information such as the server's open ports, memory and hard disk slots, providing comprehensive data support for subsequent operation and maintenance and replacement of accessories.

[0023] Among them, by adding the location information of the above-mentioned server, such as B1-20U-0. B1 refers to cabinet No. 1 in row B. 20U refers to the U-level position in the cabinet where the server is located. 0 is used to determine whether it is a blade server, and the number includes but is not limited to 0, 1, 2, 3, 4. A number greater than 0 indicates that the server is a blade server, and different numbers indicate different arrangements of blade servers. Different logical algorithms are used according to different numbers to accurately locate the U-level position of the server in the cabinet and the specific position of the blade server in the server. Accurate location information shortens the search and maintenance time for computer room operation and maintenance personnel or third-party maintenance personnel.

[0024] As a preferred embodiment of the present invention, a search and display function is provided based on the information in the database. The functions include but are not limited to: server model statistics, owner statistics, system statistics, service statistics, IP search, owner search, asset number search, display of U-level cabinet information, etc. By applying advanced data analysis technology, such as multi-dimensional data visualization processing based on rich hardware and system information, real-time monitoring and trend analysis of server hardware status are performed, thereby realizing intelligent evaluation and early warning of server hardware status, and further improving the stability and reliability of the system.

[0025] The above description is only a description of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention. Any changes or modifications made by a person skilled in the art in the field of the present invention based on the above disclosure shall fall within the scope of protection of the claims.

Claims

1. A server account management and statistics method integrating BS and CS architectures, characterized in that: The steps include: Step 1: The operation and maintenance and development personnel access the Web server S through the browser B, and send the collection signal from the back-end Web server S to the designated Shenwei server C through the web page; Step 2: The open port of Shenwei server C is used to receive the collection signal sent by the Web server S; Step 3: After receiving the collection signal, the Shenwei server C automatically collects the hardware and system configuration information of the domestic Shenwei server; Step 4: Shenwei server C sends the collected information back to the Web server S; Step 5: The web server S records the received information into a database and provides search and display functions based on the information in the database.

2. A server account management and statistics method integrating BS and CS architectures as claimed in claim 1, characterized in that: In step 1, the Web server S includes: Web server software, software used to process HTTP requests and send HTTP responses; Backend frameworks provide the infrastructure for building web applications, including database access and template engine capabilities. Databases, which are used to store and retrieve data.

3. A server account management and statistics method integrating BS and CS architectures as claimed in claim 2, characterized in that: In the step 1, Django is selected as the backend framework to construct a Web server S and a web page template, wherein Django includes an MTV architecture and an ORM system.

4. A server account management and statistics method integrating BS and CS architectures as claimed in claim 1, characterized in that: In step 2, Python's socketserver module is selected as the bottom layer to ensure fast and accurate data transmission.

5. A server account management and statistics method integrating BS and CS architectures as claimed in claim 1, characterized in that: In step 3, the hardware and system configuration information of the domestically produced Shenwei server is automatically collected by using shell and python methods.

6. A server account management and statistics method integrating BS and CS architectures as claimed in claim 1, characterized in that: In step 4, the collected information includes CPU, memory, hardware, Raid card, Raid level, host name, service, location, asset number and online time.

7. A server account management and statistics method integrating BS and CS architectures as claimed in claim 1, characterized in that: In step 5, the Web server S records the information into a database, and uses cluster analysis and time series analysis data mining methods to discover patterns and trends in system configurations of different types of Shenwei CPUs.

8. A server account management and statistics method integrating BS and CS architectures as claimed in claim 1, characterized in that: In step 5, the search and display functions provided include: server model statistics, owner statistics, system statistics, service statistics, IP search, owner search, asset number search and display of U-level cabinet information.

Citation Information

Patent Citations

  • Guest room management system based on big data

    CN114048020A

  • Data management system and method based on architecture fusion and computer equipment

    CN118900281A

  • Collecting client-side performance metrics and latencies

    US8266281B1