CN114143187A - Intelligent platform interface network address management method, system, terminal and storage medium - Google Patents

Intelligent platform interface network address management method, system, terminal and storage medium Download PDF

Info

Publication number
CN114143187A
CN114143187A CN202111249503.9A CN202111249503A CN114143187A CN 114143187 A CN114143187 A CN 114143187A CN 202111249503 A CN202111249503 A CN 202111249503A CN 114143187 A CN114143187 A CN 114143187A
Authority
CN
China
Prior art keywords
network address
data table
information
code
intelligent platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111249503.9A
Other languages
Chinese (zh)
Other versions
CN114143187B (en
Inventor
李烨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111249503.9A priority Critical patent/CN114143187B/en
Publication of CN114143187A publication Critical patent/CN114143187A/en
Application granted granted Critical
Publication of CN114143187B publication Critical patent/CN114143187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computational Linguistics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a method, a system, a terminal and a storage medium for managing an intelligent platform interface network address, which comprise the following steps: creating a data table, and establishing a binding relationship between the data table and the code network address so as to keep the network address in the data table consistent with the code network address; storing information of network addresses called by the intelligent platform management interface in the data table; repeatedly checking the current network address calling operation by retrieving the same information as the current network address calling operation from the data table; and establishing a connection relation between the data table and the BMC, and setting a retrieval interface for retrieving network address information from the data table at the BMC. The invention realizes the unified management of the URL of the REDDISH by the one-to-one correspondence mode of the URL of the REDDISH in the BMC code and the URL in the data table of the DB, and solves the problems that the URL of the REDDISH is not standardized in addition and deletion and is difficult to query.

Description

Intelligent platform interface network address management method, system, terminal and storage medium
Technical Field
The invention relates to the technical field of servers, in particular to a method, a system, a terminal and a storage medium for managing an intelligent platform interface network address.
Background
IPMI (intelligent platform management interface) is an embedded function and an industrial standard, is developed by cooperation of Intel, Del, Hewlett packard and NEC, and can realize remote control of a server. However, this specification also has its limitations, presenting infinite safety concerns that make it no longer retrofitable since a 2.0 upgrade in 2015, while Redfish has emerged. Redfish is an open industry standard specification issued by the Distributed Management Task Force (DMTF), aims to perform modernization and safety management on platform hardware, is a management standard, and is represented by using a data model in a hypermedia RESTful interface. It is a hypermedia API so it can represent various implementations through a consistent interface. It has mechanisms to manage data center resources, handle events, long-term tasks, and discovery.
The BMC can internally realize the inquiry monitoring management function through an API (application programming interface) in a RESTful form, such as REDFISH, and externally realize the interface function so as to ensure that upper-layer software of the server obtains various required data through the BMC. URL, Uniform Resource Locator, which is the network address. In Redfish, all resources are linked from a service entry point (root), which is always located at/Redfish/v 1. REDDISH, defines several RESTful APIs such as Get, POST, PATCH, DELETE. Get resource URL: returning the requested resource description; POST resource URL: creating a new resource or executing a method of a specified resource; PATCH resource URL: modifying the current resource attribute; DELETE resource URL: the specified resource is deleted.
In the traditional scheme, the REDDISH is realized by calling a bottom RESTful interface through an upper URL, a function is added, namely the URL of the REDDISH needs to be added, and the REDDISH is various in URL and difficult to manage.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a method, a system, a terminal and a storage medium for managing network addresses of interfaces of an intelligent platform, so as to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a method for managing network addresses of an intelligent platform interface, including:
creating a data table, and establishing a binding relationship between the data table and the code network address so as to keep the network address in the data table consistent with the code network address;
storing information of network addresses called by the intelligent platform management interface in the data table;
repeatedly checking the current network address calling operation by retrieving the same information as the current network address calling operation from the data table;
and establishing a connection relation between the data table and the BMC, and setting a retrieval interface for retrieving network address information from the data table at the BMC.
Further, creating a data table, and establishing a binding relationship between the data table and the code network address, so that the network address in the data table is consistent with the code network address, including:
the binding relationship between the data table and the code network address is established by modifying the frame code of the intelligent platform management interface, so that the intelligent platform management interface is ensured to execute synchronous operation in the data table when the code network address is added, deleted or modified, and the network address is authorized to be added, deleted or modified to take effect after the synchronous operation of the data table is successfully executed.
Further, the information of the network address called by the intelligent platform management interface in the past time is stored in the data table, and the information comprises:
adding operation information items and specific description items in a data table;
the operation of calling the network address from the intelligent platform management interface is used for analyzing the target network address, the operation information and the specific description information;
and storing the analyzed operation information and the specific description information as the information of the calling network address into an operation information item and a specific description item corresponding to the target network address.
Further, the repeated checking of the current network address calling operation by retrieving the same information as the current network address calling operation from the data table includes:
taking the network address and the operation information item in each piece of information as a unique index;
analyzing a target network address and target operation information of the current network address calling operation, and inquiring whether a unique index consistent with the target network address and the target operation information exists in a data table;
and if the unique index consistent with the target network address and the target operation information exists, judging that the current network address calling operation is repeated data inserting operation, and generating an error reporting prompt.
Further, the method further comprises:
inputting a data table name and a retrieval keyword from a BMC retrieval interface, wherein the retrieval keyword comprises a network address, operation information or specific description information;
and calling a target data table according to the name of the data table, and screening all information conforming to the retrieval key words from the target data table.
Further, the method further comprises:
and setting the BMC to poll the data table, and writing the update data into the audit log if the BMC acquires the update data of the data table.
In a second aspect, the present invention provides an intelligent platform interface network address management system, including:
the storage creating unit is used for creating a data table and creating a binding relationship between the data table and the code network address so as to keep the network address in the data table consistent with the code network address;
the information storage unit is used for storing the information of the network address called by the intelligent platform management interface in the data table;
the repeated checking unit is used for repeatedly checking the current network address calling operation by retrieving the same information as the current network address calling operation from the data table;
and the information retrieval unit is used for establishing the connection relation between the data table and the BMC, and setting a retrieval interface for retrieving the network address information from the data table at the BMC.
Further, the storage creating unit is configured to:
the binding relationship between the data table and the code network address is established by modifying the frame code of the intelligent platform management interface, so that the intelligent platform management interface is ensured to execute synchronous operation in the data table when the code network address is added, deleted or modified, and the network address is authorized to be added, deleted or modified to take effect after the synchronous operation of the data table is successfully executed.
Further, the information storage unit is configured to:
adding operation information items and specific description items in a data table;
the operation of calling the network address from the intelligent platform management interface is used for analyzing the target network address, the operation information and the specific description information;
and storing the analyzed operation information and the specific description information as the information of the calling network address into an operation information item and a specific description item corresponding to the target network address.
Further, the repetition check unit is configured to:
taking the network address and the operation information item in each piece of information as a unique index;
analyzing a target network address and target operation information of the current network address calling operation, and inquiring whether a unique index consistent with the target network address and the target operation information exists in a data table;
and if the unique index consistent with the target network address and the target operation information exists, judging that the current network address calling operation is repeated data inserting operation, and generating an error reporting prompt.
Further, the system further comprises:
inputting a data table name and a retrieval keyword from a BMC retrieval interface, wherein the retrieval keyword comprises a network address, operation information or specific description information;
and calling a target data table according to the name of the data table, and screening all information conforming to the retrieval key words from the target data table.
Further, the system further comprises:
and setting the BMC to poll the data table, and writing the update data into the audit log if the BMC acquires the update data of the data table.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The method, the system, the terminal and the storage medium for managing the network address of the intelligent platform interface have the advantages that the data table is created, the binding relationship between the data table and the code network address is established, so that the network address in the data table is consistent with the code network address, and the information of the network address called by the intelligent platform management interface for the next time is stored and managed based on the data table, so that the follow-up verification of repeated data insertion and the convenient retrieval of the network address and related information are realized. The invention realizes the unified management of the URL of the REDDISH by the one-to-one correspondence mode of the URL of the REDDISH in the BMC code and the URL in the data table of the DB, and solves the problems that the URL of the REDDISH is not standardized in addition and deletion and is difficult to query.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following explains key terms appearing in the present invention.
The BMC executes a server remote Management controller, which is called Basebard Management controller in English. The method can perform operations such as firmware upgrading, machine equipment checking and the like on the machine in a state that the machine is not started. Fully implementing IPMI functionality in a BMC requires a powerful 16-bit or 32-bit microcontroller as well as RAM for data storage, flash memory and firmware for non-volatile data storage, providing basic remote manageability in terms of secure remote restart, secure re-power-up, LAN alerts and system health monitoring. In addition to the basic IPMI function and system operation monitoring function, the mBMC enables selection and protection of BIOS flash devices by storing the previous BIOS using one of 2 flash memories. For example, when the system cannot be started after the remote BIOS is upgraded, the remote administrator can switch back to the BIOS image that worked before to start the system. Once BIOS is upgraded, BIOS image can be locked to prevent virus from invading it.
BIOS is an abbreviation of English "Basic Input Output System", and the name of Chinese after translation is "Basic Input Output System". It is a standard firmware interface in the industry for IBM PC compatible systems. It is a set of programs solidified on a ROM chip on the internal mainboard of computer, it stores the most important basic input and output program of computer, self-checking program after starting up and system self-starting program, it can read and write the specific information set by system from CMOS. Its primary function is to provide the lowest level, most direct hardware setup and control for the computer. In addition, the BIOS provides some system parameters to the operating system. The change of system hardware is hidden by BIOS, and programs use BIOS functions rather than directly control the hardware. Modern operating systems ignore the abstraction layer provided by the BIOS and directly control the hardware components.
A Central Processing Unit (CPU) is a final execution unit for information processing and program operation, and serves as an operation and control core of a computer system.
REDDISH a universal intelligent platform management interface, which uses RESTful API to realize functions
JavaScript Object Notation, a JS Object Notation, is a lightweight data exchange format
DB Data Base database
URL, Uniform Resource Locator, namely network address
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution subject in fig. 1 may be an intelligent platform interface network address management system.
As shown in fig. 1, the method includes:
step 110, creating a data table, and establishing a binding relationship between the data table and the code network address so as to keep the network address in the data table consistent with the code network address;
step 120, storing information of network addresses called by the intelligent platform management interface in the data table;
step 130, repeatedly checking the current network address calling operation by retrieving the same information as the current network address calling operation from the data table;
step 140, establishing a connection relationship between the data table and the BMC, and setting a retrieval interface for retrieving network address information from the data table at the BMC.
In order to facilitate understanding of the present invention, the following describes the method for managing the network address of the interface of the intelligent platform according to the principle of the method for managing the network address of the interface of the intelligent platform of the present invention in combination with the process of managing the network address of the interface of the intelligent platform in the embodiment.
Specifically, the intelligent platform interface network address management method includes:
and S1, creating a data table, and establishing a binding relationship between the data table and the code network address so as to keep the network address in the data table consistent with the code network address.
The binding relationship between the data table and the code network address is established by modifying the frame code of the intelligent platform management interface, so that the intelligent platform management interface is ensured to execute synchronous operation in the data table when the code network address is added, deleted or modified, and the network address is authorized to be added, deleted or modified to take effect after the synchronous operation of the data table is successfully executed.
Specifically, all URLs are stored in a data table of a DB, and when the URLs of redfly are added or deleted, the corresponding URL data table is modified correspondingly after the code needs to be modified, so that it is ensured that the URLs in the code and the URLs in the table can be corresponded; and suggesting to modify the frame code, inquiring the URL in the data table before realizing the URL, and inquiring to return a value normally and then running down a specific implementation logic, so that the command and the code can be ensured to be consistent to realize.
And S2, storing the information of the network address called by the intelligent platform management interface in the data table.
Adding operation information items and specific description items in a data table; the operation of calling the network address from the intelligent platform management interface is used for analyzing the target network address, the operation information and the specific description information; and storing the analyzed operation information and the specific description information as the information of the calling network address into an operation information item and a specific description item corresponding to the target network address.
Specifically, the field definition of the data table storing all URLs can be flexibly processed according to actual conditions. For example, an ACTION that defines a field ACTION to store the URL of redfly, such as POST; the field URL is defined to store the specific URL of REDFISH, such as/REDFISH/v 1/Session service/Sessions. The field describe is defined to store a specific DESCRIPTION of this URL, such as obtaining a Session value. This is merely an example, and in particular, flexible processing is possible. Theoretically, one URL corresponds to one record of the data table.
S3, checking the network address calling operation repeatedly by retrieving the same information as the network address calling operation from the data table.
Taking the network address and the operation information item in each piece of information as a unique index; analyzing a target network address and target operation information of the current network address calling operation, and inquiring whether a unique index consistent with the target network address and the target operation information exists in a data table; and if the unique index consistent with the target network address and the target operation information exists, judging that the current network address calling operation is repeated data inserting operation, and generating an error reporting prompt.
Specifically, the index of the data table of the DB is defined according to actual needs, for example, according to the field added above, a unique index may be set according to the ACTION and the URL, so that if data of the data table is added, if repeated data is inserted, an error is reported to violate the unique index, and the data is required to be inserted again. According to the addition, deletion, modification and check of the database technology, the management of all IPMI commands can be realized.
S4, establishing the connection relation between the data table and the BMC, and setting a retrieval interface for retrieving the network address information from the data table at the BMC.
Inputting a data table name and a retrieval keyword from a BMC retrieval interface, wherein the retrieval keyword comprises a network address, operation information or specific description information; and calling a target data table according to the name of the data table, and screening all information conforming to the retrieval key words from the target data table.
For example, a customer wants to query the URL of redfly for NCSI network configuration;
connect to DB through BMC, query this URL with select statement.
For example, if the table name is redfile, and the field described by the URL storage is Description, the query statement is:
Select*from REDFISH where REDFISH.Description like‘%NCSI%’;
the query results will return all URLs describing the NCSI, and the client will select the desired URL.
In addition, a monitoring function is added to the BMC. And setting the BMC to poll the data table, wherein the BMC can poll and detect the data volume of the data table all the time, and if the BMC obtains the updating data of the data table, writing the updating data into the audit log.
As shown in fig. 2, the system 200 includes:
a storage creating unit 210, configured to create a data table, and create a binding relationship between the data table and the code network address, so that the network address in the data table is consistent with the code network address;
an information storage unit 220, configured to store, in the data table, information of network addresses called by the intelligent platform management interface in the past;
a duplicate checking unit 230, configured to perform duplicate checking on the current network address invoking operation by retrieving, from the data table, the same information as that of the current network address invoking operation;
the information retrieving unit 240 is configured to establish a connection relationship between the data table and the BMC, and set a retrieving interface for retrieving network address information from the data table at the BMC.
Optionally, as an embodiment of the present invention, the storage creating unit is configured to:
the binding relationship between the data table and the code network address is established by modifying the frame code of the intelligent platform management interface, so that the intelligent platform management interface is ensured to execute synchronous operation in the data table when the code network address is added, deleted or modified, and the network address is authorized to be added, deleted or modified to take effect after the synchronous operation of the data table is successfully executed.
Optionally, as an embodiment of the present invention, the information storage unit is configured to:
adding operation information items and specific description items in a data table;
the operation of calling the network address from the intelligent platform management interface is used for analyzing the target network address, the operation information and the specific description information;
and storing the analyzed operation information and the specific description information as the information of the calling network address into an operation information item and a specific description item corresponding to the target network address.
Optionally, as an embodiment of the present invention, the repetition check unit is configured to:
taking the network address and the operation information item in each piece of information as a unique index;
analyzing a target network address and target operation information of the current network address calling operation, and inquiring whether a unique index consistent with the target network address and the target operation information exists in a data table;
and if the unique index consistent with the target network address and the target operation information exists, judging that the current network address calling operation is repeated data inserting operation, and generating an error reporting prompt.
Optionally, as an embodiment of the present invention, the system further includes:
inputting a data table name and a retrieval keyword from a BMC retrieval interface, wherein the retrieval keyword comprises a network address, operation information or specific description information;
and calling a target data table according to the name of the data table, and screening all information conforming to the retrieval key words from the target data table.
Optionally, as an embodiment of the present invention, the system further includes:
and setting the BMC to poll the data table, and writing the update data into the audit log if the BMC acquires the update data of the data table.
Fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention, where the terminal 300 may be used to execute the method for managing the network address of the intelligent platform interface according to the embodiment of the present invention.
Among them, the terminal 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the invention establishes the binding relationship between the data table and the code network address by establishing the data table so as to keep the network address in the data table consistent with the code network address, and stores and manages the information of the network address called by the intelligent platform management interface again based on the data table, thereby realizing the subsequent verification of repeated data insertion and the convenient retrieval of the network address and related information. According to the method and the system, the URL of the REDDISH in the BMC code is in one-to-one correspondence with the URL in the data table of the DB, so that unified management of the URL of the REDDISH is realized, the problems that the URL of the REDDISH is not standardized in addition and deletion and is difficult to query are solved, the technical effect which can be achieved by the embodiment can be referred to the description above, and the details are not repeated.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An intelligent platform interface network address management method is characterized by comprising the following steps:
creating a data table, and establishing a binding relationship between the data table and the code network address so as to keep the network address in the data table consistent with the code network address;
storing information of network addresses called by the intelligent platform management interface in the data table;
repeatedly checking the current network address calling operation by retrieving the same information as the current network address calling operation from the data table;
and establishing a connection relation between the data table and the BMC, and setting a retrieval interface for retrieving network address information from the data table at the BMC.
2. The method of claim 1, wherein creating a data table, and establishing a binding relationship between the data table and the code network address, so that the network address in the data table is consistent with the code network address, comprises:
the binding relationship between the data table and the code network address is established by modifying the frame code of the intelligent platform management interface, so that the intelligent platform management interface is ensured to execute synchronous operation in the data table when the code network address is added, deleted or modified, and the network address is authorized to be added, deleted or modified to take effect after the synchronous operation of the data table is successfully executed.
3. The method of claim 1, wherein storing information of network addresses of past calls of the intelligent platform management interface in the data table comprises:
adding operation information items and specific description items in a data table;
the operation of calling the network address from the intelligent platform management interface is used for analyzing the target network address, the operation information and the specific description information;
and storing the analyzed operation information and the specific description information as the information of the calling network address into an operation information item and a specific description item corresponding to the target network address.
4. The method of claim 3, wherein repeatedly checking the current invocation of the network address operation by retrieving the same information from the data table as the current invocation of the network address operation comprises:
taking the network address and the operation information item in each piece of information as a unique index;
analyzing a target network address and target operation information of the current network address calling operation, and inquiring whether a unique index consistent with the target network address and the target operation information exists in a data table;
and if the unique index consistent with the target network address and the target operation information exists, judging that the current network address calling operation is repeated data inserting operation, and generating an error reporting prompt.
5. The method of claim 3, further comprising:
inputting a data table name and a retrieval keyword from a BMC retrieval interface, wherein the retrieval keyword comprises a network address, operation information or specific description information;
and calling a target data table according to the name of the data table, and screening all information conforming to the retrieval key words from the target data table.
6. The method of claim 5, further comprising:
and setting the BMC to poll the data table, and writing the update data into the audit log if the BMC acquires the update data of the data table.
7. An intelligent platform interface network address management system, comprising:
the storage creating unit is used for creating a data table and creating a binding relationship between the data table and the code network address so as to keep the network address in the data table consistent with the code network address;
the information storage unit is used for storing the information of the network address called by the intelligent platform management interface in the data table;
the repeated checking unit is used for repeatedly checking the current network address calling operation by retrieving the same information as the current network address calling operation from the data table;
and the information retrieval unit is used for establishing the connection relation between the data table and the BMC, and setting a retrieval interface for retrieving the network address information from the data table at the BMC.
8. The system of claim 7, wherein the storage creation unit is configured to:
the binding relationship between the data table and the code network address is established by modifying the frame code of the intelligent platform management interface, so that the intelligent platform management interface is ensured to execute synchronous operation in the data table when the code network address is added, deleted or modified, and the network address is authorized to be added, deleted or modified to take effect after the synchronous operation of the data table is successfully executed.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-6.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN202111249503.9A 2021-10-26 2021-10-26 Intelligent platform interface network address management method, system, terminal and storage medium Active CN114143187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111249503.9A CN114143187B (en) 2021-10-26 2021-10-26 Intelligent platform interface network address management method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111249503.9A CN114143187B (en) 2021-10-26 2021-10-26 Intelligent platform interface network address management method, system, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114143187A true CN114143187A (en) 2022-03-04
CN114143187B CN114143187B (en) 2023-08-18

Family

ID=80395507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111249503.9A Active CN114143187B (en) 2021-10-26 2021-10-26 Intelligent platform interface network address management method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114143187B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334411A (en) * 2018-01-30 2018-07-27 郑州云海信息技术有限公司 Resource transfer method and device based on Redfish in a kind of BMC
CN112199197A (en) * 2020-10-23 2021-01-08 网易(杭州)网络有限公司 Server management method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334411A (en) * 2018-01-30 2018-07-27 郑州云海信息技术有限公司 Resource transfer method and device based on Redfish in a kind of BMC
CN112199197A (en) * 2020-10-23 2021-01-08 网易(杭州)网络有限公司 Server management method and system

Also Published As

Publication number Publication date
CN114143187B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
CN108388622B (en) API interface dynamic generation method and device, computer equipment and storage medium
US7346904B2 (en) Systems and methods for packaging files having automatic conversion across platforms
CN111414407A (en) Data query method and device of database, computer equipment and storage medium
CN112765023B (en) Test case generation method and device
CN105893097A (en) Method and device for processing option information of BIOS (basic input output system)
CN111064626B (en) Configuration updating method, device, server and readable storage medium
CN108667660B (en) Method and device for route management and service routing and routing system
CN111538659B (en) Interface testing method, system, electronic equipment and storage medium of business scene
CN111737227A (en) Data modification method and system
CN114003445B (en) BMC I2C monitoring function test method, system, terminal and storage medium
CN113626276B (en) Method, system, terminal and storage medium for identifying type of server HBA card
CN111078424A (en) Information interaction method and device, computer equipment and storage medium
CN112699027A (en) Interface testing method, device, equipment and readable storage medium
US8850418B2 (en) System and method for business function reversibility
US11443011B2 (en) Page objects library
CN116450165A (en) Method, system, terminal and storage medium for quickly building environment and deploying program
CN114143187B (en) Intelligent platform interface network address management method, system, terminal and storage medium
CN113031928B (en) Web system generation method and device, electronic equipment and computer readable storage medium
CN114756362A (en) Resource quota management method and system, intelligent terminal and storage medium
CN114546410A (en) Code optimization method based on design mode and related equipment
CN114153438A (en) API automatic generation system
CN113656378A (en) Server management method, device and medium
CN116149639A (en) Method and device for developing components, electronic equipment and storage medium
CN111552713A (en) Data verification method and device
CN112486556B (en) Method, system, terminal and storage medium for server to be compatible with BMC

Legal Events

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