Information management method and device of network equipment, electronic equipment and storage medium
By separating hardware and software configuration sub-requests, querying and integrating physical and network database information of network equipment, the problem of dispersed and consistent network equipment information management is solved, real-time, comprehensive and accurate management of information is achieved, and operation and maintenance efficiency and security are improved.
Patent Information
- Application Number
- CN202510227200.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-27
- Publication Date
- 2025-05-23
AI Technical Summary
The basic information management of network equipment in the prior art is scattered, and existing information management means cannot effectively integrate multi-party information, resulting in poor consistency of information and data, making it difficult to realize real-time and effective monitoring of network equipment.
By receiving and analyzing the information query request of the target network device, separating the hardware configuration from the software and network configuration sub-requests, querying the target physical database and network database respectively, and integrating displaying the device attribute information and operation attribute information.
It realizes the comprehensiveness, accuracy and real-time nature of network equipment information management, improves operation and maintenance efficiency and network equipment management security, solves the information island problem, and ensures the consistency and coherence of information.
Smart Images

Figure CN120034434A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cloud computing technology or other related fields, and in particular to an information management method for network equipment and a device thereof, an electronic device, and a storage medium. Background Art
[0002] In the field of network operation and maintenance, with the surge in business demand and the complexity of network architecture, network equipment management faces unprecedented challenges. In particular, the exponential growth in the number of network devices in large financial institutions has led to a sharp increase in the difficulty of information coordination due to the separation of the management of the physical information of the equipment hardware and the operational attribute information after going online.
[0003] In related technologies, physical information and operational attribute information are stored in independent systems for resource management and equipment asset management, respectively, lacking effective integration and linkage mechanisms. Operation and maintenance personnel often rely on manual ledgers and post-entry when maintaining and updating equipment information. This process is not only time-consuming and labor-intensive, but also easily affected by human factors, increasing data inconsistency and security risks.
[0004] The rapid launch of current network equipment and the massive operation and maintenance requirements make manual management difficult to adapt. It is extremely difficult to record physical information immediately when the equipment is online, and the operation and maintenance efficiency is low, with a high error rate. The post-confirmation re-recording method increases the labor cost. For the maintenance of online equipment, the existing technical means are limited, and it is difficult to monitor the life cycle and maintenance status of the equipment in real time and effectively. This not only affects the operation and maintenance efficiency, but also lays hidden dangers for the stable operation of the production environment.
[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0006] The main purpose of this application is to provide an information management method for network equipment and its device, electronic device, and storage medium, so as to at least solve the technical problem in the related technology that the basic information management of network equipment is decentralized, and the existing information management means cannot effectively integrate information from multiple parties, resulting in poor consistency of information data.
[0007] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for information management of network equipment is provided, the method comprising: receiving and parsing an information query request of a target network device to obtain a first sub-request and a second sub-request, wherein the first sub-request is used to obtain hardware configuration, and the second sub-request is used to obtain software configuration and network configuration; querying a target physical database based on the first sub-request to obtain device attribute information of the target network device, wherein the device attribute information refers to component information of device components of the target network device; querying a target network database based on the second sub-request to obtain operation attribute information of the target network device, wherein the operation attribute information refers to network configuration information of the target network device after going online; and displaying the device attribute information and the operation attribute information on a target page.
[0008] Further, the information query request of the target network device is parsed to obtain a first sub-request, including: extracting basic information of the target network device based on the information query request, wherein the basic information includes at least: device type, device machine number and device manufacturer code; using all the basic information as query parameters, generating a query code, and writing the first sub-request based on the query code.
[0009] Furthermore, the target physical database is obtained through the following steps: receiving an application for equipment requisition, and determining component requirement information based on the application for equipment requisition; querying from the equipment library based on the component requirement information to obtain component information of R of the equipment components, wherein R is a positive integer; assembling R of the equipment components to obtain the target network device, and generating basic information for the target network device; using the basic information and all the component information as the device attribute information of the target network device, and storing the device attribute information in the target physical database, wherein there is an association between the basic information and the component information in the target physical database.
[0010] Furthermore, after obtaining the first sub-request, the step of obtaining the device attribute information of the target network device also includes: when the component information is not found in the target physical database, writing a query command for the target network device based on the first sub-request; sending the query command to the target network device and waiting for an echo; and when receiving the echo information from the target network device, parsing the echo information to obtain the device attribute information.
[0011] Furthermore, the target network database is obtained through the following steps: receiving an application for equipment online, and determining configuration requirement information based on the application for equipment online; performing environmental configuration on the target network device based on the configuration requirement information, and performing a trial run on the configured target network device; if the trial run is successful, obtaining the operating environment information of the target network device, and parsing the operating environment information to obtain the network configuration information; and storing the network configuration information in the target network database.
[0012] Furthermore, before displaying the device attribute information and the operation attribute information on the target page, it also includes: obtaining the display requirements of the target user and determining the display data format based on the display requirements; formatting the device attribute information and the operation attribute information based on the display data format to obtain the data to be displayed.
[0013] Furthermore, the step of displaying the device attribute information and the operation attribute information on the target page includes: obtaining the device identification of the target network device; generating a view to be displayed based on the device identification and the data to be displayed; and sending the view to be displayed to the target page.
[0014] In order to achieve the above-mentioned purpose, according to another aspect of the present application, there is also provided an information management device for network equipment, which includes: a parsing unit, which is used to receive and parse the information query request of the target network equipment, and obtain a first sub-request and a second sub-request, wherein the first sub-request is used to obtain the hardware configuration, and the second sub-request is used to obtain the software configuration and the network configuration; a first query unit, which is used to query the target physical database based on the first sub-request, and obtain the device attribute information of the target network equipment, wherein the device attribute information refers to the component information of the device component of the target network equipment; a second query unit, which is used to query the target network database based on the second sub-request, and obtain the operation attribute information of the target network equipment, wherein the operation attribute information refers to the network configuration information of the target network equipment after going online; a display unit, which is used to display the device attribute information and the operation attribute information on the target page.
[0015] Furthermore, the parsing unit includes: an extraction module, used to extract basic information of the target network device based on the information query request, wherein the basic information includes at least: device type, device machine number and device manufacturer code; a first generation module, used to generate a query code using all the basic information as query parameters, and write the first sub-request based on the query code.
[0016] Furthermore, the information management device of the network equipment also includes: a first receiving module, used to receive an application for equipment requisition and determine component requirement information based on the application for equipment requisition; a query module, used to query from the equipment library based on the component requirement information to obtain component information of R equipment components, wherein R is a positive integer; an assembling module, used to assemble R equipment components to obtain the target network equipment and generate basic information for the target network equipment; a first storage module, used to use the basic information and all the component information as the equipment attribute information of the target network equipment, and store the equipment attribute information in the target physical database, wherein there is an association between the basic information and the component information in the target physical database.
[0017] Furthermore, the information management device of the network device also includes: a writing module, which is used to write a query command for the target network device based on the first sub-request after obtaining the first sub-request and when the component information is not found in the target physical database; a first sending module, which is used to send the query command to the target network device and wait for an echo; and a parsing module, which is used to parse the echo information when receiving the echo information from the target network device to obtain the device attribute information.
[0018] Furthermore, the information management device of the network equipment also includes: a second receiving module, used to receive an equipment online application, and determine configuration requirement information based on the equipment online application; a configuration module, used to perform environmental configuration of the target network equipment based on the configuration requirement information, and to test run the configured target network equipment; a first acquisition module, used to obtain the operating environment information of the target network equipment when the test run is successful, and parse the operating environment information to obtain the network configuration information; a second storage module, used to store the network configuration information in the target network database.
[0019] Furthermore, the information management device of the network device also includes: a second acquisition module, used to obtain the display requirements of the target user before displaying the device attribute information and the operation attribute information on the target page, and determine the display data format based on the display requirements; a processing module, used to format the device attribute information and the operation attribute information based on the display data format to obtain the data to be displayed.
[0020] Furthermore, the display unit includes: a third acquisition module, used to obtain the device identification of the target network device; a second generation module, used to generate a view to be displayed based on the device identification and the data to be displayed; and a second sending module, used to send the view to be displayed to the target page.
[0021] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned network device information management methods.
[0022] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an electronic device is also provided, including one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the information management method of the network device described in any one of the above-mentioned items.
[0023] The present invention proposes an information management method for network devices, which first receives and parses an information query request of a target network device to obtain a first sub-request and a second sub-request, wherein the first sub-request is used to obtain hardware configuration, and the second sub-request is used to obtain software configuration and network configuration. Then, based on the first sub-request, a target physical database is queried to obtain device attribute information of the target network device, wherein the device attribute information refers to component information of device components of the target network device. Then, based on the second sub-request, a target network database is queried to obtain operation attribute information of the target network device, wherein the operation attribute information refers to network configuration information of the target network device after it goes online. Finally, the device attribute information and the operation attribute information are displayed on a target page.
[0024] In the present invention, a sub-request separation processing method is adopted, and the purpose of finely managing the hardware and software configuration information of network devices is achieved by means of independent query and integrated display of the physical database and the network database, thereby realizing the technical effect of improving the efficiency of network device information management and data accuracy. Specifically, by decomposing the information query request into a first sub-request (for obtaining hardware configuration information) and a second sub-request (for obtaining software configuration and network configuration information), and querying the target physical database and the target network database respectively, the device attribute information and the operation attribute information are finally integrated and displayed on the target page, ensuring the comprehensiveness, accuracy and real-time nature of network device information management, greatly improving the operation and maintenance efficiency and the security of network device management. The above-mentioned innovative information management method effectively solves the problem of information islands, realizes the consistency and coherence of information, and provides strong technical support for device management in large-scale network environments, thereby solving the technical problem in related technologies that the basic information management of network devices is dispersed, and the existing information management means cannot effectively integrate information from multiple parties, resulting in poor consistency of information data. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0026] Figure 1 A hardware structure block diagram of a computer terminal (or mobile device) for implementing an information management method for network devices is shown;
[0027] Figure 2 is a flow chart of an optional information management method for a network device according to an embodiment of the present invention;
[0028] Figure 3 is a flow chart of an optional method for establishing a target physical database according to an embodiment of the present invention;
[0029] Figure 4 is a flow chart of an optional method for establishing a target network database according to an embodiment of the present invention;
[0030] Figure 5 is a schematic diagram of an optional information management device for a network device according to an embodiment of the present invention;
[0031] Figure 6 The invention is a structural block diagram of an electronic device for executing a method for managing information of a network device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] To facilitate those skilled in the art to understand the present invention, some terms or nouns involved in the embodiments of the present invention are explained below:
[0035] SNMP, Simple Network Management Protocol, is a widely used protocol on the Internet for monitoring and controlling network devices, allowing network administrators to obtain information about network devices, such as status, configuration, and statistics, from remote locations, and to make configuration changes to devices when necessary. SNMP works based on the UDP protocol, uses MIBs (Management Information Bases) as data storage, and reads or modifies management information on devices through operations such as GET and SET.
[0036] MIB, Management Information Base, is a database used in the SNMP network management architecture to store management information of network devices. MIB defines the managed objects of network devices, including device status, configuration parameters, performance data, etc., as well as how to access these objects. MIB usually organizes information in a tree structure, with each node representing a specific management object. SNMP obtains detailed information about network devices by accessing MIB.
[0037] It should be noted that the information management method and apparatus of the network equipment in the present application can be used in the field of cloud computing technology when the network infrastructure is automated for operation and maintenance management, and can also be used in any field other than the field of cloud computing technology when the network infrastructure is automated for operation and maintenance management. The application of the information management method and apparatus of the network equipment in the present application does not limit the application field.
[0038] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, processing, transmission, provision, disclosure, use and processing of the relevant data comply with the laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0039] The information collection (for example, user voice, video, and text collection) and analysis operations involved in this application have provided users with corresponding operation entrances when they are executed, allowing users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.
[0040] The following embodiments of the present invention can be applied to various systems / applications / devices that need to manage network device resources and monitor network status, and can realize automatic, high-precision information integration and display. The present invention uses serial number self-discovery to obtain hardware configuration information of network devices, and then obtains software configuration and network configuration information through SNMP protocol or command echo analysis, which can better reduce manual operation errors and improve the efficiency and security of network device management.
[0041] The present invention is described in detail below in conjunction with various embodiments.
[0042] Embodiment 1
[0043] According to an embodiment of the present invention, an embodiment of an information management method for a network device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0044] The information management method embodiment of the network device provided in the first embodiment of the present invention can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or mobile device) for implementing the information management method of network devices is shown. Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0045] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0046] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the information management method of the network device in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the information management method of the network device described above is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0047] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0048] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).
[0049] Under the above operating environment, the present invention provides Figure 2The network equipment information management method shown in the figure is implemented by a network equipment resource management system, which combines serial number self-discovery with SNMP protocol technology and is used in cloud computing and enterprise network operation and maintenance scenarios, especially for the problems of decentralized basic information management and poor consistency of information data of network equipment. Through the means of automated information collection and integration, specifically by receiving and parsing information query requests of target network equipment, separating hardware configuration and software and network configuration sub-requests, and querying physical databases and network databases, the purpose of efficient and accurate management and display of network equipment information is achieved.
[0050] The embodiment of the present invention is described in detail below in conjunction with various specific steps.
[0051] Figure 2 is a flowchart of an optional information management method for a network device according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:
[0052] Step S201, receiving and parsing an information query request of a target network device to obtain a first sub-request and a second sub-request, wherein the first sub-request is used to obtain hardware configuration, and the second sub-request is used to obtain software configuration and network configuration.
[0053] Specifically, the target network device refers to the network hardware device in the current network architecture whose detailed configuration and status the operation and maintenance personnel or implementation system need to query. It can be a router, switch, firewall, load balancer, etc., which plays a key role in transmitting data, managing traffic, and providing security services in the network.
[0054] An information query request is a request issued by a network device resource management system to collect the hardware configuration, software configuration, and network configuration information of a specific network device. It contains device identification information, such as IP address, device name or serial number, and the specific type of information that needs to be queried (hardware, software, or network configuration).
[0055] It should be noted that hardware configuration refers to the physical properties and hardware component information of network devices, including but not limited to: device type (such as routers, switches), device machine number (i.e. device model), manufacturer code (a specific code that identifies the device manufacturer), as well as specific serial numbers of frames, boards, and modules, resource codes, maintenance information, etc., which are crucial for the identification, positioning, and maintenance of equipment.
[0056] Software configuration covers information such as the operating system version, software modules, application services, etc. running on network devices. The management of software configuration plays an important role in ensuring the normal operation, timely upgrade and security protection of equipment. Network configuration information refers to the network parameter settings of network devices, including but not limited to: device IP, subnet mask, default gateway, routing table, port configuration, etc., which directly affect the connectivity and service quality of the network.
[0057] In an optional embodiment, after receiving a query request for a network device, the basic information in the request is first parsed, such as the device type, machine number, manufacturer code, etc., for subsequent query positioning. For example, the device type may be "routing device", the device machine number is "XX1234", and the manufacturer code is "123".
[0058] Then, a query code is generated based on the basic information, including all parameters required to obtain the hardware configuration. Then, based on the query code, a first sub-request is written to query the target physical database for the serial number, resource code and other hardware-related information of the device component.
[0059] Optionally, parsing the information query request of the target network device to obtain the first sub-request includes: extracting basic information of the target network device based on the information query request, wherein the basic information includes at least: device type, device machine number and device manufacturer code; using all basic information as query parameters, generating a query code, and writing the first sub-request based on the query code.
[0060] It should be noted that basic information refers to key data used to uniquely identify and locate network devices, and records the basic properties of the device. In an embodiment of the present invention, basic information may also include: device serial number, device IP address (i.e., unique identifier in a local area network or wide area network), MAC address (media access control address), software version, hardware version, device location information (physical location), purchase date and contract information, maintenance status and period, device status (e.g., online, offline, faulty, to be maintained, etc.), device properties, etc.
[0061] Then, based on the first sub-request, a second sub-request is generated to query the target network database for information such as the device's software version, operating status, and network parameter configuration. The second sub-request is also based on the basic information of the device, but focuses more on configuration queries at the software and network levels.
[0062] Finally, queries are initiated to the physical database and the network database through the first sub-request and the second sub-request respectively. After obtaining the hardware configuration information, software configuration information, and network configuration information, the information is integrated to form a comprehensive overview of the equipment information, which is convenient for the operation and maintenance personnel or the system to carry out subsequent management and decision-making.
[0063] Through the above steps, the present invention realizes the automatic and efficient query of network equipment information, which not only reduces the workload of operation and maintenance personnel, but also improves the accuracy and timeliness of information query, which is of great significance for improving network operation and maintenance efficiency and ensuring the security of network equipment.
[0064] Step S202: query the target physical database based on the first sub-request to obtain device attribute information of the target network device, wherein the device attribute information refers to component information of the device component of the target network device.
[0065] It should be noted that the target physical database is a database in the network equipment resource management system that stores detailed information on network equipment hardware components. The stored information includes but is not limited to: equipment serial number, resource code, maintenance information, contract code, component cost, etc. It is an important part of the full life cycle management of network equipment from procurement, warehousing, assembly, online to retirement. The target physical database is used to provide detailed data at the level of physical components of the equipment, which helps operation and maintenance personnel to accurately grasp the hardware status of network equipment and conduct effective asset management, maintenance and troubleshooting.
[0066] Figure 3 is a flow chart of an optional method for establishing a target physical database according to an embodiment of the present invention. Figure 3 As shown, the method comprises the following steps:
[0067] Step S301, receiving an equipment application, and determining component demand information based on the equipment application;
[0068] Step S302, querying from the device library based on the component requirement information to obtain component information of R device components, where R is a positive integer;
[0069] Step S303, assembling R device components to obtain a target network device, and generating basic information for the target network device;
[0070] Step S304: Use the basic information and all component information as device attribute information of the target network device, and store the device attribute information in a target physical database, wherein there is an association relationship between the basic information and the component information in the target physical database.
[0071] It should be noted that the association relationship means that there is a clear correspondence between basic information and component information, which facilitates the rapid retrieval and integration of device information.
[0072] In an optional embodiment, the application submitted by the operation and maintenance personnel requires a high-performance routing device, including a frame, multiple different types of boards and modules. After receiving the application, the implementation system determines the type and quantity of the required hardware components, and queries R components that meet the requirements from the device library. Assume that R is 30 (including 1 frame, 10 different types of boards, and 19 modules); the component query results include the serial numbers, resource codes, maintenance information, etc. of the 30 components. Afterwards, the operation and maintenance personnel assemble the above 30 components into a complete routing device, and enter the basic information such as the device IP and device name in the system. The implementation system automatically associates the basic information with the component detailed information and stores it in the target physical database.
[0073] Through the above steps, the target physical database not only stores the hardware component information of the network equipment, but also associates the basic information of the equipment, forming a complete, detailed and queryable network equipment resource database, which provides a solid data foundation for subsequent equipment management and operation and maintenance. This automated database construction and maintenance process based on component demand information and application for use greatly improves the efficiency and accuracy of network equipment resource management and reduces the complexity and error rate of manual operations.
[0074] Optionally, after obtaining the first sub-request, the step of obtaining device attribute information of the target network device also includes: when no component information is found in the target physical database, writing a query command for the target network device based on the first sub-request; sending the query command to the target network device and waiting for an echo; and when receiving echo information from the target network device, parsing the echo information to obtain device attribute information.
[0075] It should be noted that if the component information of the target network device cannot be found in the target physical database, a strategy of directly querying the device can be adopted to ensure that the most accurate device attribute information is obtained. The specific steps include writing query commands, sending commands to the device and receiving echo information, and finally parsing the echo information to obtain the required device attribute information.
[0076] Specifically, the query command is an instruction designed to remotely access the network device based on the basic device information in the first sub-request (such as device type, device machine number, manufacturer code, etc.) to obtain detailed information about the hardware configuration. It should be noted that the writing of the query command needs to take into account the manufacturer's characteristics of the device, protocol support (such as SNMP,) and security settings of the device to ensure that the required information can be obtained from the device safely and accurately.
[0077] Echo information refers to the data returned by the device in response to the query request after the query command is sent to the target network device, including hardware configuration information such as device serial number, hardware version, resource code, etc. The specific format and content of the echo information depends on the device manufacturer, device type and query protocol used. Parsing the echo information refers to converting the raw data returned by the device into structured device attribute information. The specific parsing algorithm is determined by the pre-agreed protocol.
[0078] An optional embodiment assumes that the operation and maintenance personnel are managing a new device in a network environment, which is expected to go online after assembly, but its complete component information has not yet been entered into the target physical database. When the first sub-request is initiated to obtain the hardware configuration information of the device, the query result is empty. Then, based on the basic information of the device contained in the first sub-request, for example, the device type is "core switch", the manufacturer code is "001", and the device machine number is "M-5678", a query command can be automatically generated and sent to the target network device through the network (such as using the SNMP protocol or logging in to the device through SSH). The device responds to the query command and returns echo information. The echo information may include the device's serial number, resource code, hardware version, etc.
[0079] After receiving the echo information, the device serial number "SN-99999", resource code "R-12345", and other related hardware configuration information are extracted based on the preset parsing rules. The parsed device attribute information can also be used to update the target physical database to ensure that the database contains the latest and complete device component information.
[0080] The above supplementary steps ensure that even if the database information is not updated in time, the most accurate hardware configuration data can be obtained by directly querying the device, thereby improving the real-time and accuracy of network device resource management, strengthening the management capabilities of the entire life cycle of network equipment, and reducing information blind spots and potential risks in operation and maintenance work.
[0081] Step S203: query the target network database based on the second sub-request to obtain operation attribute information of the target network device, wherein the operation attribute information refers to the network configuration information of the target network device after it goes online.
[0082] It should be noted that the target network database is a database used to store the configuration information and operating environment data of network equipment in the network equipment resource management system. It is mainly used to record the operational attribute information related to the network operation after the equipment is online, covering the software configuration of the network equipment, network parameter settings, system operation status, etc. It plays an extremely important role in the performance monitoring, fault diagnosis and daily operation and maintenance of network equipment.
[0083] Figure 4is a flow chart of an optional method for establishing a target network database according to an embodiment of the present invention. Figure 4 As shown, the method comprises the following steps:
[0084] Step S401, receiving a device online application, and determining configuration requirement information based on the device online application;
[0085] Step S402, performing environment configuration on the target network device based on the configuration requirement information, and performing a trial operation on the configured target network device;
[0086] It should be noted that in the process of configuring the environment of the target network device based on the configuration requirement information, you can first parse out the network parameter settings, software version requirements, security policies and other information based on the configuration requirements in the device online application, and then perform detailed software configuration and network parameter settings on the target network device, including but not limited to: setting the device IP, subnet mask, gateway, routing table, etc.
[0087] Step S403, if the trial operation is successful, obtain the operating environment information of the target network device, and parse the operating environment information to obtain network configuration information;
[0088] If the trial run is successful, the target network device can be deemed to be online successfully. At this time, the current operating environment information can be obtained from the target network device, including configuration parameters, service status, system logs, etc., and the key network configuration information can be parsed and extracted for structured storage.
[0089] Step S404: store the network configuration information into the target network database.
[0090] In an optional embodiment, after the operation and maintenance personnel complete the assembly of a certain network device and submit an online application containing configuration requirement information such as the software version required by the device and network configuration parameters, the implementation system can perform detailed software configuration and network parameter settings for the device based on these configuration requirement information, including but not limited to: setting the device IP to 192.168.1.1, the subnet mask to 255.255.255.0, and initializing security policies and system services.
[0091] After the configuration is completed, the device is tested to ensure that all settings can work properly. After the test run is successful, the implementation system automatically extracts the operating environment information from the network device, including: software version, system service status, network configuration parameters, etc., and uses the preset parsing rules to convert the original operating environment information into structured network configuration information, such as confirming that the software version is 3.2.1, the system service is normal, and the network parameter settings are correct.
[0092] Finally, the parsed network configuration information is stored in the target network database and associated with the basic information of the device to form a complete device configuration file. After that, operation and maintenance personnel can quickly query and monitor the network configuration status of the device through the front-end visual interface to ensure the stability and security of network operation.
[0093] Through the above steps, not only can the hardware configuration information of the target network device be automatically obtained and updated, but the network configuration status of the device can also be accurately recorded and managed, realizing all-round resource management and operation and maintenance monitoring of network equipment, greatly improving the efficiency and accuracy of network operation and maintenance.
[0094] Step S204: display the device attribute information and the operation attribute information on the target page.
[0095] Optionally, before executing step S204, the method further includes: obtaining display requirements of target users, and determining display data formats based on the display requirements; and formatting the device attribute information and the operation attribute information based on the display data format to obtain data to be displayed.
[0096] It should be noted that before displaying the device attribute information and operation attribute information to the user, the data can be formatted according to the user's specific needs to ensure that the information is presented clearly, intuitively and easily understood, including the steps of obtaining display requirements, determining the display data format, formatting the data, generating the view to be displayed and sending the view to the target page.
[0097] Specifically, the display needs of target users refer to the form and content in which users want to view device information, which may include data sorting method, displayed fields, filtering conditions, etc. The display data format refers to the style in which data is presented on the page, including but not limited to: tables, charts, lists, etc.
[0098] The embodiment of the present invention selects the most appropriate display format according to the specific needs of the user. For example, operation and maintenance personnel may prefer to view the serial number, resource code and maintenance status of the device, while network planners may be more interested in the network configuration information and performance parameters of the device. The embodiment of the present invention can adjust the fields and layout of data display according to different needs and customize the display format.
[0099] In the process of formatting device attribute information and operation attribute information, the embodiment of the present invention converts and organizes the device attribute information (such as serial number, resource code, hardware version, etc.) and operation attribute information (such as software version, network configuration, running status, etc.) according to a determined display data format to generate data to be displayed, which involves data cleaning, field mapping and layout adjustment to ensure the accuracy and readability of the information.
[0100] Optionally, step S204 includes: obtaining a device identification of a target network device; generating a view to be displayed based on the device identification and the data to be displayed; and sending the view to be displayed to the target page.
[0101] It should be noted that the view to be displayed refers to an information view that has been processed according to user needs and display data formats, and includes all device attributes and operation attribute data that users want to view. The embodiment of the present invention can associate the view to be displayed with the target page based on the device identifier (such as the device IP or device name) to ensure the accuracy and pertinence of the information display, and send the view to be displayed to the target page for the user to view.
[0102] In an optional embodiment, a user (such as an operation and maintenance personnel) initiates an information query request for an online network device (i.e., a target network device) through a front-end visualization interface and specifies display requirements, such as wanting to see the device's serial number, resource code, contract code, purchase price, and network configuration information, including software version, operating status, etc. After receiving the request, the implementation system determines the display data format according to the user's requirements, for example, selecting a table display, with the device serial number as the primary key, and grouping by device type.
[0103] Subsequently, the implementation system extracts device attribute information and operation attribute information from the target physical database and target network database respectively, including serial number, resource code, contract code, purchase price, software version, operating status, etc., and organizes the data and maps the fields in a table format to generate data to be displayed containing all key information, ensuring that users can clearly see the hardware configuration and network configuration status of the device.
[0104] Next, based on the device identification of the target network device (for example, the device IP is 192.168.100.1), the view to be displayed is generated and associated with the target page requested by the user. The view to be displayed is sent to the target page. The user can intuitively view the detailed information of the device through the front-end interface, including the hardware configuration and network configuration status.
[0105] The above steps not only realize the automatic acquisition and storage of information, but also provide flexible and customized information display functions, which greatly improves the user experience and the effectiveness of information, and provides all-round support for the resource management and operation and maintenance of network equipment.
[0106] Through the above steps S201 to S204, the information query request of the target network device can be first received and parsed to obtain the first sub-request and the second sub-request, wherein the first sub-request is used to obtain the hardware configuration and the second sub-request is used to obtain the software configuration and the network configuration. Then, based on the first sub-request, the target physical database is queried to obtain the device attribute information of the target network device, wherein the device attribute information refers to the component information of the device components of the target network device. Then, based on the second sub-request, the target network database is queried to obtain the operation attribute information of the target network device, wherein the operation attribute information refers to the network configuration information of the target network device after it goes online. Finally, the device attribute information and the operation attribute information are displayed on the target page.
[0107] In the present invention, a sub-request separation processing method is adopted, and the purpose of finely managing the hardware and software configuration information of network devices is achieved by means of independent query and integrated display of the physical database and the network database, thereby realizing the technical effect of improving the efficiency of network device information management and data accuracy. Specifically, by decomposing the information query request into a first sub-request (for obtaining hardware configuration information) and a second sub-request (for obtaining software configuration and network configuration information), and querying the target physical database and the target network database respectively, the device attribute information and the operation attribute information are finally integrated and displayed on the target page, ensuring the comprehensiveness, accuracy and real-time nature of network device information management, greatly improving the operation and maintenance efficiency and the security of network device management. The above-mentioned innovative information management method effectively solves the problem of information islands, realizes the consistency and coherence of information, and provides strong technical support for device management in large-scale network environments, thereby solving the technical problem in related technologies that the basic information management of network devices is dispersed, and the existing information management means cannot effectively integrate information from multiple parties, resulting in poor consistency of information data.
[0108] The present invention is described below in conjunction with another optional embodiment.
[0109] Embodiment 2
[0110] An embodiment of the present invention also provides an information management device for a network device. It should be noted that the information management device for a network device in the embodiment of the present invention includes multiple implementation units, which can be used to execute the information management method for a network device provided in the above-mentioned embodiment one, and each implementation unit corresponds to each implementation step in the above-mentioned embodiment one.
[0111] Figure 5 is a schematic diagram of an optional information management device for a network device according to an embodiment of the present invention. Figure 5 As shown, the device may include: a parsing unit 51, a first query unit 52, a second query unit 53, and a display unit 54.
[0112] The parsing unit 51 is used to receive and parse the information query request of the target network device to obtain a first sub-request and a second sub-request, wherein the first sub-request is used to obtain hardware configuration, and the second sub-request is used to obtain software configuration and network configuration.
[0113] The first query unit 52 is used to query the target physical database based on the first sub-request to obtain device attribute information of the target network device, wherein the device attribute information refers to component information of the device component of the target network device.
[0114] The second query unit 53 is used to query the target network database based on the second sub-request to obtain the operation attribute information of the target network device, wherein the operation attribute information refers to the network configuration information of the target network device after it goes online.
[0115] The display unit 54 is used to display the device attribute information and the operation attribute information on the target page.
[0116] The information management device of the above-mentioned network equipment can first receive and parse the information query request of the target network equipment through the parsing unit 51 to obtain the first sub-request and the second sub-request, wherein the first sub-request is used to obtain the hardware configuration and the second sub-request is used to obtain the software configuration and the network configuration, and then query the target physical database based on the first sub-request through the first query unit 52 to obtain the device attribute information of the target network equipment, wherein the device attribute information refers to the component information of the device component of the target network equipment, and then query the target network database based on the second sub-request through the second query unit 53 to obtain the operation attribute information of the target network equipment, wherein the operation attribute information refers to the network configuration information after the target network equipment is online, and finally display the device attribute information and the operation attribute information on the target page through the display unit 54.
[0117] In the present invention, a sub-request separation processing method is adopted, and the purpose of finely managing the hardware and software configuration information of network devices is achieved by means of independent query and integrated display of the physical database and the network database, thereby realizing the technical effect of improving the efficiency of network device information management and data accuracy. Specifically, by decomposing the information query request into a first sub-request (for obtaining hardware configuration information) and a second sub-request (for obtaining software configuration and network configuration information), and querying the target physical database and the target network database respectively, the device attribute information and the operation attribute information are finally integrated and displayed on the target page, ensuring the comprehensiveness, accuracy and real-time nature of network device information management, greatly improving the operation and maintenance efficiency and the security of network device management. The above-mentioned innovative information management method effectively solves the problem of information islands, realizes the consistency and coherence of information, and provides strong technical support for device management in large-scale network environments, thereby solving the technical problem in related technologies that the basic information management of network devices is dispersed, and the existing information management means cannot effectively integrate information from multiple parties, resulting in poor consistency of information data.
[0118] Optionally, the parsing unit includes: an extraction module, used to extract basic information of the target network device based on the information query request, wherein the basic information includes at least: device type, device machine number and device manufacturer code; a first generation module, used to generate a query code using all basic information as query parameters, and write a first sub-request based on the query code.
[0119] Optionally, the information management device of the network equipment also includes: a first receiving module, used to receive an application for equipment requisition and determine component requirement information based on the application for equipment requisition; a query module, used to query from the equipment library based on the component requirement information to obtain component information of R equipment components, wherein R is a positive integer; an assembling module, used to assemble R equipment components to obtain a target network device and generate basic information for the target network device; a first storage module, used to use the basic information and all component information as device attribute information of the target network device, and store the device attribute information in a target physical database, wherein there is a correlation between the basic information and the component information in the target physical database.
[0120] Optionally, the information management device of the network equipment also includes: a writing module, which is used to write a query command for the target network device based on the first sub-request after obtaining the first sub-request and when no component information is found in the target physical database; a first sending module, which is used to send the query command to the target network device and wait for an echo; and a parsing module, which is used to parse the echo information and obtain the device attribute information when the echo information is received from the target network device.
[0121] Optionally, the information management device of the network equipment also includes: a second receiving module, used to receive an application for equipment online, and determine configuration requirement information based on the application for equipment online; a configuration module, used to perform environmental configuration of the target network equipment based on the configuration requirement information, and to test run the configured target network equipment; a first acquisition module, used to obtain the operating environment information of the target network equipment when the test run is successful, and to parse the operating environment information to obtain network configuration information; a second storage module, used to store the network configuration information in the target network database.
[0122] Optionally, the information management device of the network device also includes: a second acquisition module, used to obtain the display requirements of the target user before displaying the device attribute information and the operation attribute information on the target page, and determine the display data format based on the display requirements; a processing module, used to format the device attribute information and the operation attribute information based on the display data format to obtain the data to be displayed.
[0123] Optionally, the display unit includes: a third acquisition module, used to acquire the device identification of the target network device; a second generation module, used to generate the view to be displayed based on the device identification and the data to be displayed; and a second sending module, used to send the view to be displayed to the target page.
[0124] It should be noted that the above-mentioned parsing unit 51, the first query unit 52, the second query unit 53, and the display unit 54 correspond to steps S201 to S204 in the first embodiment, and the above-mentioned units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the first embodiment. It should be noted that the above-mentioned modules or units can be hardware components or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n), and the above-mentioned modules or units can also be part of the device and can be run in the computer terminal 10 provided in the first embodiment.
[0125] The present invention is described below in conjunction with another optional embodiment.
[0126] Embodiment 3
[0127] An embodiment of the present invention may also provide an electronic device, Figure 6 is a structural block diagram of an electronic device for executing a method for managing information of a network device according to an embodiment of the present invention. Figure 6 As shown, the electronic device may include: one or more ( Figure 6 (only one is shown) processor 602, memory 604, storage controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.
[0128] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the information management method and device of the network device in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned information management method of the network device. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0129] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: receive and parse the information query request of the target network device to obtain the first sub-request and the second sub-request, wherein the first sub-request is used to obtain the hardware configuration and the second sub-request is used to obtain the software configuration and the network configuration; query the target physical database based on the first sub-request to obtain the device attribute information of the target network device, wherein the device attribute information refers to the component information of the device component of the target network device; query the target network database based on the second sub-request to obtain the operation attribute information of the target network device, wherein the operation attribute information refers to the network configuration information of the target network device after it goes online; display the device attribute information and the operation attribute information on the target page.
[0130] The processor can also call the information and applications stored in the memory through the transmission device to perform the following steps: extract the basic information of the target network device based on the information query request, wherein the basic information includes at least: device type, device machine number and device manufacturer code; use all the basic information as query parameters, generate a query code, and write a first sub-request based on the query code.
[0131] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: receive an application for equipment use, and determine component requirement information based on the application for equipment use; query from the equipment library based on the component requirement information to obtain component information of R equipment components, where R is a positive integer; assemble R equipment components to obtain the target network device, and generate basic information for the target network device; use the basic information and all component information as the device attribute information of the target network device, and store the device attribute information in the target physical database, where there is a correlation between the basic information and the component information in the target physical database.
[0132] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: when no component information is found in the target physical database, write a query command for the target network device based on the first sub-request; send the query command to the target network device and wait for an echo; when receiving the echo information from the target network device, parse the echo information to obtain the device attribute information.
[0133] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: receive an application for device online, and determine configuration requirement information based on the application for device online; perform environmental configuration on the target network device based on the configuration requirement information, and perform a trial run on the configured target network device; if the trial run is successful, obtain the operating environment information of the target network device, parse the operating environment information, and obtain network configuration information; store the network configuration information in the target network database.
[0134] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: obtain the display requirements of the target user and determine the display data format based on the display requirements; format the device attribute information and operation attribute information based on the display data format to obtain the data to be displayed.
[0135] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: the step of displaying the device attribute information and operation attribute information on the target page, including: obtaining the device identification of the target network device; generating a view to be displayed based on the device identification and the data to be displayed; and sending the view to be displayed to the target page.
[0136] By adopting the embodiment of the present invention, a network equipment information management scheme is provided. By means of the method of separate processing of sub-requests, and by means of independent query and integrated display of physical database and network database, the purpose of fine management of hardware and software configuration information of network equipment is achieved, thereby achieving the technical effect of improving the efficiency of network equipment information management and data accuracy. Specifically, by decomposing the information query request into a first sub-request (for hardware configuration information acquisition) and a second sub-request (for software configuration and network configuration information acquisition), and querying the target physical database and the target network database respectively, the device attribute information and the operation attribute information are finally integrated and displayed on the target page, ensuring the comprehensiveness, accuracy and real-time nature of network equipment information management, greatly improving the operation and maintenance efficiency and the security of network equipment management. The above-mentioned innovative information management method effectively solves the problem of information islands, realizes the consistency and coherence of information, and provides strong technical support for equipment management in a large network environment, thereby solving the technical problem in the related technology that the basic information management of network equipment is dispersed, and the existing information management means cannot effectively integrate information from multiple parties, resulting in poor consistency of information data.
[0137] It can be understood by those skilled in the art that Figure 6 The structure shown is for illustration only, and the electronic device may also be a smart phone, a tablet computer, a PDA, a mobile Internet device (MID), a PAD or other terminal device. Figure 6 The structure of the electronic device is not limited. Figure 6 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 6 Different configurations shown.
[0138] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0139] The present invention is described below in conjunction with another optional embodiment.
[0140] Embodiment 4
[0141] The embodiment of the present invention further provides a computer-readable storage medium. Optionally, in the embodiment of the present invention, the computer-readable storage medium can be used to store the program code executed by the network device information management method provided in the first embodiment.
[0142] Optionally, in an embodiment of the present invention, the above-mentioned storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0143] An embodiment of the present invention also provides a computer program product, which, when executed on a data processing device, is suitable for executing the steps of the information management method of a network device: receiving and parsing an information query request of a target network device to obtain a first sub-request and a second sub-request, wherein the first sub-request is used to obtain hardware configuration and the second sub-request is used to obtain software configuration and network configuration; querying a target physical database based on the first sub-request to obtain device attribute information of the target network device, wherein the device attribute information refers to component information of device components of the target network device; querying a target network database based on the second sub-request to obtain operation attribute information of the target network device, wherein the operation attribute information refers to network configuration information after the target network device is online; and displaying the device attribute information and operation attribute information on a target page.
[0144] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0145] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0146] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0147] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0148] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0149] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0150] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for managing information of a network device, characterized in that: include: Receive and parse the information query request of the target network device to obtain a first sub-request and a second sub-request, wherein the first sub-request is used to obtain hardware configuration, and the second sub-request is used to obtain software configuration and network configuration; querying a target physical database based on the first sub-request to obtain device attribute information of the target network device, wherein the device attribute information refers to component information of a device component of the target network device; querying a target network database based on the second sub-request to obtain operation attribute information of the target network device, wherein the operation attribute information refers to network configuration information of the target network device after it goes online; The device attribute information and the operation attribute information are displayed on a target page.
2. The information management method according to claim 1, characterized in that: Parse the information query request of the target network device to obtain a first sub-request, including: Extracting basic information of the target network device based on the information query request, wherein the basic information at least includes: device type, device machine number, and device manufacturer code; A query code is generated using all the basic information as query parameters, and the first sub-request is written based on the query code.
3. The information management method according to claim 1, characterized in that: The target physical database is obtained by the following steps: Receiving an equipment application, and determining component requirement information based on the equipment application; Based on the component requirement information, query from the device library to obtain component information of R device components, where R is a positive integer; Assembling R of the device components to obtain the target network device, and generating basic information for the target network device; The basic information and all the component information are used as the device attribute information of the target network device, and the device attribute information is stored in the target physical database, wherein there is an association relationship between the basic information and the component information in the target physical database.
4. The information management method according to claim 1, characterized in that: After obtaining the first sub-request, the step of obtaining the device attribute information of the target network device further includes: If the component information is not found in the target physical database, writing a query command for the target network device based on the first sub-request; Send the query command to the target network device and wait for a response; When the echo information from the target network device is received, the echo information is parsed to obtain the device attribute information.
5. The information management method according to claim 1, characterized in that: The target network database is obtained by the following steps: Receive a device online application, and determine configuration requirement information based on the device online application; Performing environmental configuration on the target network device based on the configuration requirement information, and conducting a trial operation on the configured target network device; If the trial operation is successful, obtaining the operating environment information of the target network device, and parsing the operating environment information to obtain the network configuration information; The network configuration information is stored in the target network database.
6. The information management method according to claim 1, characterized in that: Before displaying the device attribute information and the operation attribute information on the target page, the method further includes: Obtaining the display requirements of the target user, and determining the display data format based on the display requirements; The device attribute information and the operation attribute information are formatted based on the display data format to obtain data to be displayed.
7. The information management method according to claim 6, characterized in that: The step of displaying the device attribute information and the operation attribute information on a target page includes: Obtaining a device identification of the target network device; generating a view to be displayed based on the device identifier and the data to be displayed; Send the view to be displayed to the target page.
8. An information management device for network equipment, characterized in that: include: A parsing unit, configured to receive and parse an information query request of a target network device to obtain a first sub-request and a second sub-request, wherein the first sub-request is used to obtain a hardware configuration, and the second sub-request is used to obtain a software configuration and a network configuration; A first query unit, configured to query a target physical database based on the first sub-request to obtain device attribute information of the target network device, wherein the device attribute information refers to component information of a device component of the target network device; A second query unit is used to query the target network database based on the second sub-request to obtain the operation attribute information of the target network device, wherein the operation attribute information refers to the network configuration information of the target network device after it goes online; A display unit is used to display the device attribute information and the operation attribute information on a target page.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the information management method for network devices according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the information management method of the network device described in any one of claims 1 to 7.