Unlock instant, AI-driven research and patent intelligence for your innovation.

Analysis code generation method, device, equipment and storage medium

A code generation and code technology, which is applied in the field of parsing code generation, devices, equipment, and storage media, can solve problems such as low development efficiency, huge workload, and reduced efficiency of Redfish service parsing, so as to improve work efficiency and reduce workload Effect

Active Publication Date: 2022-04-22
JINAN INSPUR DATA TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, when obtaining the resources of the Redfish service, the resources of the Redfish service are mainly obtained by parsing the code, but for different versions of the Redfish service, the attribute information and relationship information of the resources are different, so for different versions of the Redfish service, software is required Developers manually write the Java classes and resource relationship information in the parsing code, which has a huge workload and low development efficiency, which reduces the parsing efficiency of the Redfish service

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Analysis code generation method, device, equipment and storage medium
  • Analysis code generation method, device, equipment and storage medium
  • Analysis code generation method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0043] It should be noted that, as a new-generation data center equipment management standard, Redfish has broad application scenarios. Through in-depth follow-up of the development process of the Redfish standard, it is found that the Redfish standard actually has obvious regularity, which is reflected in the following aspects:

[0044] 1) The data format is very regular: Redfish uses json (JavaScript Object Notation, JS Object Notation) format to transmit data, a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a code generation method for parsing Redfish services, comprising: determining a configuration file corresponding to the Redfish service; calling a code generation framework to analyze the configuration file, and generating parsing codes corresponding to the Redfish service. It can be seen that when the application generates the analysis code of the Redfish service, it only needs to input the configuration file of the Redfish service into the code generation framework, and the framework can be used to automatically generate the code for analyzing the Redfish service, without the need for software developers to manually write the analysis code The Java classes of resources and the relationship information of resources can reduce the workload of software developers and improve work efficiency. The invention also discloses a code generation device, equipment and computer-readable storage medium for parsing Redfish services, which can also achieve the above-mentioned technical effects.

Description

technical field [0001] The present invention relates, more specifically, to a code generation method, device, equipment and computer-readable storage medium for parsing Redfish services. Background technique [0002] Redfish is a standard designed to provide simple and secure management for converged hybrid IT and software-defined data centers (SDDCs). Redfish combines human readability with machine capability, leveraging common Internet and Web services standards to expose information directly to modern toolchains. There are resources in the Redfish service, and there are associations between different resources. At present, when obtaining the resources of the Redfish service, the resources of the Redfish service are mainly obtained by parsing the code, but for different versions of the Redfish service, the attribute information and relationship information of the resources are different, so for different versions of the Redfish service, software is required Developers ma...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/30G06F8/74
CPCG06F8/315G06F8/37G06F8/74
Inventor 刘畅张典
Owner JINAN INSPUR DATA TECH CO LTD