Search

CN-122019336-A - Ecological maturity evaluation method and device for RISC-V basic software

CN122019336ACN 122019336 ACN122019336 ACN 122019336ACN-122019336-A

Abstract

The embodiment of the invention relates to the technical field of software ecological maturity analysis, and provides an ecological maturity assessment method and device of RISC-V base software, comprising the steps of dividing an ecological network of RISC-V base software into a plurality of logic layers from bottom to top to obtain a hierarchical model, wherein the plurality of logic layers comprise a system firmware layer, an operating system and base library layer, a compiling tool chain and developing tool set layer, a language runtime layer, a video encoding and decoding and AI computing ecological layer, a big data processing ecological layer, a virtualization and containerization layer and a cloud computing/cloud native layer, and each logic layer comprises a plurality of software components which can be independently added and deleted; and carrying out level scoring based on a RISC-V basic software level model, carrying out longitudinal level aggregation on the scoring result of each level to obtain an overall ecological maturity score, and evaluating the ecological maturity of the software based on the overall ecological maturity score. Therefore, the method can support dynamic dimension and hierarchy structure expansion, and systematically evaluate the ecological system based on quantifiable multidimensional indexes.

Inventors

  • JI CHENCHEN
  • YU JIAGENG
  • WU YANJUN
  • MA XIAOHAN

Assignees

  • 中国科学院软件研究所

Dates

Publication Date
20260512
Application Date
20251230

Claims (10)

  1. 1. A method for evaluating the ecological maturity of RISC-V base software, comprising: Dividing an ecological network of RISC-V basic software into a plurality of logic layers from bottom to top to obtain a RISC-V basic software hierarchical model, wherein the plurality of logic layers comprise a system firmware layer, an operating system and basic library layer, a compiling tool chain and development tool set layer, a language runtime layer, a video coding and decoding and AI computing ecological layer, a big data processing ecological layer, a virtualization and containerization layer and a cloud computing/cloud native layer, and each logic layer comprises a plurality of software components which can be independently added and deleted; performing level scoring based on the RISC-V basic software level model to obtain a scoring result of each level; Performing longitudinal hierarchical aggregation on the scoring results of each hierarchy to obtain the overall ecological maturity score of the RISC-V base software; and evaluating the ecological maturity of the RISC-V base software based on the overall ecological maturity score.
  2. 2. The method according to claim 1, wherein said performing hierarchical scoring based on said RISC-V underlying software hierarchical model to obtain a scoring result for each hierarchy comprises: scoring, for each software component, a plurality of predefined dimensions; obtaining a weighted score of each software component based on the corresponding weight comprehensive scoring result preset by each dimension; and (5) taking an arithmetic average of the weighted scores of each software component in each level to obtain a score result of each level.
  3. 3. The method of claim 2, wherein the plurality of predefined dimensions includes performance advance, compilation quality, memory advance, functional integrity, open source development liveness, heterogeneous computing support.
  4. 4. The method according to claim 2, wherein said aggregating the scoring results of each level in a longitudinal level to obtain an overall ecological maturity score of the RISC-V base software comprises: each hierarchy is given hierarchy weight which can be dynamically configured with the evaluation target; And carrying out weighted summation on the scoring results of all the levels to obtain the overall ecological maturity score of the RISC-V base software.
  5. 5. The method according to claim 4, wherein the method further comprises: And triggering and recalculating the overall ecological maturity score of the RISC-V basic software according to a fixed period, storing the overall ecological maturity score in a time sequence form, and generating an ecological evolution curve, wherein the ecological evolution curve is used for providing a quantization basis for investment decision and resource input priority.
  6. 6. The method of claim 4, wherein said evaluating the ecological maturity of the RISC-V base software based on the overall ecological maturity score comprises: And evaluating the running condition of the RISC-V basic software through the overall ecological maturity score.
  7. 7. An ecological maturity assessment device for RISC-V base software, comprising: The modeling module is used for dividing an ecological network of RISC-V basic software into a plurality of logic layers from bottom to top to obtain a RISC-V basic software hierarchical model, wherein the plurality of logic layers comprise a system firmware layer, an operating system and basic library layer, a compiling tool chain and development tool set layer, a language runtime layer, a video coding and decoding and AI computing ecological layer, a big data processing ecological layer, a virtualization and containerization layer and a cloud computing/cloud native layer, and each logic layer comprises a plurality of software components which can be independently added and deleted; The scoring module is used for carrying out hierarchical scoring based on the RISC-V basic software hierarchical model to obtain a scoring result of each hierarchy; The aggregation module is used for longitudinally aggregating the scoring results of each level to obtain the overall ecological maturity score of the RISC-V basic software; and the evaluation module is used for evaluating the ecological maturity of the RISC-V basic software based on the overall ecological maturity score.
  8. 8. An electronic device comprising a memory, a processor and a computer program stored on the memory and running on the processor, characterized in that the processor implements the ecological maturity assessment method of RISC-V base software according to any one of claims 1 to 6 when executing the computer program.
  9. 9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements a method of ecological maturity assessment of RISC-V base software according to any one of claims 1 to 6.
  10. 10. A computer program product comprising a computer program which, when executed by a processor, implements a method of ecological maturity assessment of RISC-V base software as claimed in any one of claims 1 to 6.

Description

Ecological maturity evaluation method and device for RISC-V basic software Technical Field The invention relates to the technical field of software ecological maturity analysis, in particular to an ecological maturity assessment method and device for RISC-V basic software. Background An instruction set architecture (Instruction Set Architecture, ISA) is a core interface specification between computer hardware and software, defining a processor-executable instruction set, a register organization, a memory access mechanism, an exception handling manner, etc., which plays a key role in processor fabrication. Currently, a mainstream ISA architecture represented by X86 forms a mature ecological system, and is widely applied to key scenes such as cloud computing, artificial intelligence and the like. In recent years, fifth generation reduced instruction set computers (Reduced Instruction Set Computer-V, RISC-V) have received attention as an open source ISA architecture based on RISC principles, and are gradually applied to various scenarios such as embedded, industrial control, data center, etc. RISC-V accelerates the penetration to high-value scenes such as the field of Internet of things and a data center by virtue of the open source and modularization characteristics thereof, and becomes a high-cost performance alternative scheme of special architectures such as X86, ARM and the like. The maturity of the RISC-V software ecosystem is considered to be a key contributor to its industrialization process. Scientific evaluation of the ecological maturity of RISC-V promotes the development of RISC-V ecology, accurately positions a RISC-V ecological short board, points out an ecological perfection key path, fills up the blank of RISC-V ecological quantification evaluation standard, shortens the data center software adaptation RISC-V period, and accelerates the RISC-V ecological technology development and the floor application. The ecological maturity comprises multiple aspects of the functional perfection degree of the basic components, the liveness of the open source community, the software and hardware adaptation capability and the like. However, the existing methods for evaluating ecosystems have significant shortcomings: 1. The existing benchmark test tool (such as a SPEC CPU benchmark test suite) only focuses on hardware performance indexes, cannot cover key software ecological elements such as heterogeneous computing support, open source community liveness, functional integrity and the like, and is difficult to comprehensively quantify the maturity of the software ecological level; 2. Some open source projects, such as open source software Community health metrics (Community HEALTH ANALYTICS Open Source Software, CHAOSS), provide open source Community health metrics, but lack RISC-V oriented software performance and functional completeness considerations; 3. the existing maturity assessment model lacks mechanisms such as dynamic weight, hierarchical component structure modeling, heterogeneous computing support and the like. The technical defects can lead to fuzzy ecological construction direction, and developers can not identify high-priority optimization direction, and on the other hand, the resource investment efficiency is low, and enterprises can only find that the ecological maturity of a target scene is insufficient after investing hundreds of millions of funds, so that the rapid development of a RISC-V ecological system and the industrial landing are seriously affected. Therefore, how to cover the full stack software level and support the quantitative evaluation of dynamic weight calibration, radically solves the problems of blindness of ecological construction and industrial decision delay, and provides reference and reference for the development of RISC-V in the basic software of a data center. Disclosure of Invention The invention provides an ecological maturity assessment method and device for RISC-V base software, which are used for solving the defect that key elements such as functional integrity, heterogeneous acceleration, compiling quality and the like of ecological components of RISC-V base software cannot be dynamically quantified in the prior art, realizing that dynamic dimension and hierarchy expansion can be supported, and systematically assessing an ecological system based on quantifiable multidimensional indexes. The invention provides an ecological maturity assessment method of RISC-V basic software, which comprises the following steps: Dividing an ecological network of RISC-V basic software into a plurality of logic layers from bottom to top to obtain a RISC-V basic software hierarchical model, wherein the plurality of logic layers comprise a system firmware layer, an operating system and basic library layer, a compiling tool chain and development tool set layer, a language runtime layer, a video coding and decoding and AI computing ecological layer, a big data processing ecological laye