Communication equipment resource deployment and management method and equipment
By abstracting the hardware resources of the communication device into a model file in XML format and realizing dynamic parsing and loading, the problems of low hardware resource management and high maintenance costs in the existing technology are solved, software reusability and R&D efficiency are improved, and maintenance costs are reduced.
Patent Information
- Application Number
- CN202411851200.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-03-25
AI Technical Summary
Existing communication devices have problems with inefficiency and high maintenance costs in hardware resource management, especially during hardware updates and software adaptation.
By abstracting hardware resources into standardized XML format model files and integrating them into the software version to achieve dynamic parsing and loading, the resource management layer provides a unified interface for management.
It significantly improves the reusability of system software components and portability between platforms, reduces the workload of software adaptation, improves the development process and speed to market of new equipment, and reduces maintenance costs.
Smart Images

Figure CN119690462A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network communication equipment software, and in particular to a communication equipment resource deployment and management method and equipment. Background Art
[0002] Communication equipment is mainly divided into two types: box-type equipment and rack-type equipment. Rack-type equipment will be equipped with multiple slots, including single-board slots, power supply slots, fan slots, etc. Single-board slots can be divided into main control slots, interface board slots, etc. Different slots are connected to each other through the backplane. Some small box-type equipment generally has only one main control board, and slightly larger ones with sufficient space resources will also support some large or small single-board slots.
[0003] A single board usually integrates CPU, switching chip, as well as peripherals such as storage chip, PHY chip, clock chip, CPLD, FPGA, etc., which together constitute the CPU small system unit, control unit, forwarding unit, storage unit, etc. of the single board. It is equipped with embedded communication software to realize the control plane and forwarding plane functions of the communication equipment, and ensure the forwarding capability and reliability of the communication equipment.
[0004] With the rapid development of the Internet, various emerging businesses have emerged, which have put forward higher requirements on the performance and stability of communication equipment, accelerated the upgrading of equipment hardware, and forced manufacturers to further improve the efficiency of software adaptation hardware development and reduce maintenance costs. Summary of the invention
[0005] The present invention proposes a communication equipment resource deployment and management method, which abstracts physical resources into a series of hardware resource model files in XML format to ensure that data representation is clear and intuitive.
[0006] To achieve the above object, the present invention adopts the following technical solutions: The present invention proposes a communication equipment resource deployment and management method, which converts hardware resources into independent model files through abstract processing - using a standardized XML format and following a unified node definition standard; These model files are then integrated into the version software package, and the system software can dynamically parse and load them according to the current hardware configuration and actual operating status; The resource management layer is responsible for the overall management and maintenance of data, and provides a standardized and unified operation interface for the application layer to support convenient calls; At the same time, consistent interface specifications are followed when interacting with the driver layer to achieve effective control of the underlying hardware.
[0007] Specifically, the following core resource model files are constructed: Chassis resource model file, which is used to define the chassis type and its physical layout characteristics; Fan resource model file, including fan name, power parameters and speed regulation strategy information; Power resource model file, used to record power type, number identification, power specification and firmware version details; Board resource model file: contains board ID number information; lists the devices on board and their basic parameters; asset details and firmware version numbers; interrupt vector table; LED status indication; The above model files can be dynamically parsed, loaded or unloaded according to changes in actual device configuration; for example, when board A is inserted, the model file of board A is loaded; when board A is unplugged and board B is inserted, the resource data of board A is cleared and the model file of board B is loaded into the system.
[0008] The chassis-level resources are parsed by the chassis resource management module, while the board-level resource configuration is handled by the corresponding board resource management module. All data are uniformly stored in a preset data structure or database; The application layer accesses these resources through standardized interfaces; At the same time, the resource management layer directly operates the underlying hardware components with the help of uniformly defined driver interfaces.
[0009] It can be seen from the above technical solution that in a communication equipment resource deployment and management method of the present invention, the resource model files of each hardware module are integrated into the software version, and the resource management layer dynamically analyzes them through a unified interface and uniformly loads them into the system layer to generate complete hardware resource data. And according to the actual hardware resource usage and operation status, the resources can be flexibly and dynamically loaded, deleted, and other management operations.
[0010] In addition, the resource management layer provides a unified interface for the application layer to call, and drives the underlying hardware operations through standardized interfaces. Compared with the traditional method of using data structures in the code to establish resource tables, this complete mechanism also requires distinguishing various hardware resource code files and single board code files. It effectively shields the differences between different hardware and significantly reduces the workload of software adaptation caused by hardware changes. Developers only need to refer to the hardware design manual to fill in the corresponding resource model file to quickly complete deployment and development work.
[0011] Communication equipment is divided into two functional modules: control plane and forwarding plane. The former covers chassis slot layout, memory allocation, storage configuration, etc. The latter involves the design of high-performance components such as switching chips, PHY chips, and FPGAs. How to efficiently and reliably manage these resources in embedded communication software is directly related to equipment performance and reliability, and profoundly affects the speed of new product development.
[0012] On the other hand, the present invention further discloses a computer device, specifically an embedded communication main control board device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.
[0013] The communication equipment resource deployment and management method of the present invention focuses on the innovation of the software field of network communication equipment, and in particular proposes an advanced deployment and management solution for the hardware resources of communication equipment. Through abstract processing, the hardware resources are converted into independent model files - using the standardized XML format and strictly following the unified node definition standard. These model files are then integrated into the version software package, and the system software can intelligently implement dynamic parsing and loading according to the current hardware configuration and actual operating status. The resource management layer is responsible for the comprehensive management and maintenance of data, and provides a standardized and unified operation interface for the application layer to support convenient calling; at the same time, when interacting with the driver layer, it follows consistent interface specifications to achieve effective control of the underlying hardware. This design ensures that the resource management layer can shield the differences between different hardware to the greatest extent, greatly improving the reusability of system software components and portability between platforms; significantly accelerating the research and development process and market launch of new equipment, and effectively reducing the cost investment of subsequent maintenance work. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a specific implementation flow chart of the present invention; Figure 2 This is a framework diagram of the present invention. DETAILED DESCRIPTION
[0015] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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.
[0016] In order to achieve the above objectives, a communication device resource deployment and management method of the present invention includes the following core resource model files: 1. Chassis resource model file: defines the chassis type and its physical layout characteristics in detail.
[0017] 2. Fan resource model file: contains information such as fan name, power parameters, and speed regulation strategy.
[0018] 3. Power resource model file: records the power type, number identification, power specification and firmware version details.
[0019] 4. Board resource model file: includes but is not limited to board ID number information; lists the devices on board and their basic parameters (such as the number of ports, EPLD and FPGA characteristics); asset details (such as memory capacity and storage space size) and firmware version numbers; interrupt vector table; LED status indication, etc.
[0020] 5. If Figure 2 As shown, the above model files can be dynamically parsed, loaded or unloaded according to the changes in the actual device configuration. For example, when single board A is inserted, the model file of single board A is loaded. When single board A is unplugged and single board B is inserted, the resource data of single board A is cleared and the model file of single board B is loaded into the system.
[0021] 6. The model file uses openssl encryption and digital signature to prevent tampering and enhance security.
[0022] 7. Includes a simple configuration tool to realize the visualization of model file configuration. After the configuration is completed, the corresponding model file is directly generated, which can avoid the format correctness and integrity of XML.
[0023] Among them, the chassis-level resources (including fans and power modules) are parsed by a dedicated chassis resource management module; and the single-board-level resource configuration is handled by the corresponding single-board resource management module. All data is uniformly stored in a preset data structure or database. Figure 1 As shown, the application layer accesses these resources through standardized interfaces; at the same time, the resource management layer directly operates the underlying hardware components with the help of uniformly defined driver interfaces.
[0024] On the other hand, an embodiment of the present invention discloses an embedded communication main control board device, including a memory and a processor, wherein the memory stores a program and the above-mentioned main model file, and is characterized in that when the program on the main control is executed by the processor, the processor executes the steps of the above-mentioned method.
[0025] At the same time, the present invention also discloses a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor executes the steps of the above method.
[0026] On the other hand, the present invention further discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.
[0027] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any communication device resource deployment and management method in the above embodiments.
[0028] It is understandable that the system, device and storage medium provided in the embodiments of the present invention correspond to the method provided in the embodiments of the present invention, and the explanation, examples and beneficial effects of the relevant contents can refer to the corresponding parts in the above methods.
[0029] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can 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 the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, 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 computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
[0030] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0031] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0032] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A communication device resource deployment and management method, applied in a communication device, characterized in that: This includes converting hardware resources into independent model files through abstraction processing - using standardized XML format and following unified node definition standards; These model files are then integrated into the version software package, and the system software can dynamically parse and load them according to the current hardware configuration and actual operating status; The resource management layer is responsible for the overall management and maintenance of data, and provides a standardized and unified operation interface for the application layer to support convenient calls; At the same time, consistent interface specifications are followed when interacting with the driver layer to achieve effective control of the underlying hardware.
2. The method for deploying and managing communication equipment resources according to claim 1, characterized in that: Contains the following core resource model files: Chassis resource model file, which is used to define the chassis type and its physical layout characteristics; Fan resource model file, including fan name, power parameters and speed regulation strategy information; Power resource model file, used to record power type, number identification, power specification and firmware version details; Board resource model file: contains board ID number information; lists the devices carried and their basic parameters; asset details and firmware version numbers; interrupt vector table; LED status indication; The above model files can be dynamically parsed, loaded or unloaded according to the changes in the actual device configuration; The chassis-level resources are parsed by the chassis resource management module, while the board-level resource configuration is handled by the corresponding board resource management module. All data are uniformly stored in a preset data structure or database; The application layer accesses these resources through standardized interfaces; At the same time, the resource management layer directly operates the underlying hardware components with the help of uniformly defined driver interfaces.
3. The method for deploying and managing communication equipment resources according to claim 2, characterized in that: Model files use OpenSSL encryption and digital signatures to prevent tampering and enhance security.
4. The method for deploying and managing communication equipment resources according to claim 2, characterized in that: It also includes a configuration tool for visualizing the configuration of the model file. After the configuration is completed, the corresponding model file is directly generated, which can avoid the format correctness and completeness of XML.
5. An embedded communication main control board device, comprising a memory and a processor, wherein the memory stores a program and the above-mentioned main model file, characterized in that: When the program on the main control is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 4.