CN115147183A - Chip resource management method, device, equipment and storage medium based on cloud platform - Google Patents

Chip resource management method, device, equipment and storage medium based on cloud platform Download PDF

Info

Publication number
CN115147183A
CN115147183A CN202210804931.1A CN202210804931A CN115147183A CN 115147183 A CN115147183 A CN 115147183A CN 202210804931 A CN202210804931 A CN 202210804931A CN 115147183 A CN115147183 A CN 115147183A
Authority
CN
China
Prior art keywords
certificate
chip
function
calling
frequency
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.)
Pending
Application number
CN202210804931.1A
Other languages
Chinese (zh)
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.)
Shanghai Kailing Technology Co ltd
Original Assignee
Shanghai Kailing 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 Shanghai Kailing Technology Co ltd filed Critical Shanghai Kailing Technology Co ltd
Priority to CN202210804931.1A priority Critical patent/CN115147183A/en
Publication of CN115147183A publication Critical patent/CN115147183A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0623Item investigation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0605Supply or demand aggregation
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a chip resource management method, a device, equipment and a storage medium based on a cloud platform, relating to the technical field of computers, wherein the chip resource management method based on the cloud platform comprises the following steps: acquiring a plurality of certificates from a cloud platform, and calculating the certificate calling frequency and the certificate function score of each certificate; obtaining a classification label of each certificate according to the certificate calling frequency and the certificate function score of each certificate, wherein the classification label is used for indicating the requirement degree of the certificate; and managing chip resources in the cloud platform according to the classification label of each certificate. According to the technical scheme provided by the embodiment of the invention, the classification labels are divided for the plurality of certificates in a clustering mode, so that the demand degree of the current certificate is determined, and the certificate can be purchased according to the demand degree. The problem of resource waste caused by the fact that certificate purchase is not based in the existing scheme is solved, and the beneficial effect that chip function resources in the certificate can be reasonably managed is achieved.

Description

Chip resource management method, device, equipment and storage medium based on cloud platform
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a chip resource management method, a chip resource management device, a chip resource management equipment and a storage medium based on a cloud platform.
Background
Chip design using a chip design cloud tool is an emerging chip design approach today. This approach reduces the overall design cost of the chip enterprise by sharing resources and functions in the chip design and allows companies that provide design capability to focus more on the development of functions such as on-chip implant algorithms and schedulers.
Generally, a chip design company will purchase several related certificates from a company already having a chip design function, so that each function on the chip is legal when implemented. It should be noted that, resources corresponding to a plurality of chip functions are simultaneously provided on the same certificate, and the chip functions may be the same between different certificates. When a chip design company designs a chip, some chip functions in the certificate may be used, and some chip functions may not be used temporarily. Therefore, when purchasing certificates, enterprises generally purchase in consideration of current needs, which may be needs for a specific chip function or according to historical purchase types and historical purchase amounts.
When the certificate is purchased according to the historical experience value or the current requirement, the situation that the rest chip functions carried in the certificate are not considered can cause no basis for purchasing the certificate, so that the resource waste problem of the rest chip functions is caused.
Disclosure of Invention
The embodiment of the invention provides a chip resource management method, a chip resource management device and a storage medium based on a cloud platform, which can improve the existing chip resource management scheme.
In a first aspect, an embodiment of the present invention provides a chip resource management method based on a cloud platform, including:
acquiring a plurality of certificates from a cloud platform, and calculating the certificate calling frequency and the certificate function score of each certificate;
obtaining a classification label of each certificate according to the certificate calling frequency and the certificate function score of each certificate, wherein the classification label is used for indicating the demand degree of the certificate;
and managing chip resources in the cloud platform according to the classification label of each certificate.
Optionally, each certificate is used to implement a plurality of chip functions;
for any certificate, the calculating the certificate call frequency and the certificate function score of the certificate comprises:
acquiring the calling proportion of each chip function of the certificate;
acquiring the certificate calling frequency according to the calling proportion of each chip function of the certificate;
and scoring the calling proportion of each chip function of the certificate by using a preset scoring algorithm to obtain the certificate function score.
Optionally, for any chip function of the certificate, the obtaining of the calling proportion of the chip function of the certificate includes:
acquiring the calling frequency of the chip functions in all certificates capable of realizing the chip functions in a historical period;
summing the calling frequency of the chip functions in all the certificates capable of realizing the chip functions to obtain the total calling frequency of the chip functions;
and obtaining the calling proportion of the chip functions of the certificate according to the calling frequency and the total calling frequency of the chip functions in the certificate.
Optionally, the obtaining the certificate invoking frequency according to the invoking proportion of each chip function of the certificate includes:
and averaging the calling proportion of each chip function of the certificate to obtain the certificate calling frequency.
Optionally, scoring the call proportion of each chip function of the certificate by using a preset scoring algorithm to obtain the certificate function score, including:
scoring the calling proportion of each chip function of the certificate by using a preset scoring algorithm to obtain the score of each chip function;
and summing the scores of all the chip functions to obtain the certificate function score.
Optionally, for any certificate, the obtaining a classification label of the certificate according to the certificate invocation frequency and the certificate function score of the certificate includes:
obtaining a classification label of the certificate in a mapping relation table according to the certificate calling frequency and the certificate function score; the mapping relationship table is obtained by clustering based on the certificate invocation frequency and the certificate function score for each certificate within a historical time period.
Optionally, the obtaining the classification label of the certificate in a mapping relation table according to the certificate invocation frequency and the certificate function score includes:
determining preset gears according to the certificate calling frequency, determining preset values according to the certificate function scores, wherein a combination formed by one preset gear and one preset value corresponds to the classification labels one by one;
and determining the current classification label in the mapping relation table according to the combination of the current preset gear and the preset score.
In a second aspect, an embodiment of the present invention provides a chip resource management device based on a cloud platform, where the device includes:
the certificate calculation module is used for acquiring a plurality of certificates from the cloud platform and calculating the certificate call frequency and the certificate function score of each certificate;
a tag obtaining module, configured to obtain a classification tag of each certificate according to the certificate call frequency and the certificate function score of each certificate, where the classification tag is used to indicate a requirement degree of the certificate;
and the resource management module is used for managing the chip resources in the cloud platform according to the classification label of each certificate.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the cloud platform-based chip resource management method according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to, when executed, enable a processor to implement the cloud platform-based chip resource management method according to any embodiment of the present invention.
According to the chip resource management method, the chip resource management device, the chip resource management equipment and the storage medium based on the cloud platform, the classification label of each certificate is obtained by calculating the certificate calling frequency and the certificate function score of each certificate; therefore, management of chip resources in the cloud platform is achieved through the classification label of each certificate, wherein the classification label is used for indicating the requirement degree of the certificate, and the resource represents the chip function contained in the current certificate. According to the technical scheme provided by the embodiment of the invention, the classification labels are divided for the certificates in a clustering mode, the demand degree of the current certificate is determined, and the certificate can be purchased according to the demand degree. The problem of resource waste caused by the fact that certificate purchase is not based in the existing scheme is solved, and the beneficial effect that chip function resources in the certificate can be reasonably managed is achieved.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present invention, nor are they intended to limit the scope of the invention. Other features of embodiments of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a method for managing chip resources based on a cloud platform according to an embodiment of the present invention;
fig. 2 is another schematic flow chart of a chip resource management method based on a cloud platform according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a chip resource management device based on a cloud platform according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a schematic flow diagram of a cloud platform-based chip resource management method according to an embodiment of the present invention, where the method is applicable to a situation where a certificate corresponding to a chip function is purchased, and the method may be executed by a cloud platform-based chip resource management apparatus, where the cloud platform-based chip resource management apparatus may be implemented in a form of hardware and/or software, and the cloud platform-based chip resource management apparatus may be configured in a computer device such as a server.
The cloud platform may be understood as a management platform for providing chip functions to a demanding party (user) by a chip design company. When the demander needs to correspond to the chip, the demander needs to order from the cloud platform to meet the service requirement. Along with the continuous development of chip manufacturing process, the integration degree of the chip is higher and higher, a large amount of calculation, verification and simulation work needs powerful internet resources as support, and the manpower and material resources for constructing the internet resource equipment by enterprises are huge. Therefore, the method becomes an effective way for cost reduction and efficiency improvement of an Integrated Circuit (IC) Design enterprise by calling chip Design software on a cloud platform.
Specifically, referring to fig. 1, the method for managing chip resources based on a cloud platform according to the embodiment of the present invention may specifically include the following steps:
s110, acquiring a plurality of certificates from the cloud platform, and calculating the certificate call frequency and the certificate function score of each certificate.
The multiple certificates can be the certificate types of historical certificates owned by current enterprises in the cloud platform, in the current certificates, each certificate contains a plurality of chip functions, and the chip functions in each certificate are repeated. For example, the chip functions corresponding to certificate a may be a, b, c, and d; the chip functions corresponding to certificate B may be a, d, e, f and g; the corresponding chip functions of certificate C may be a, b, d, g, h, etc. Wherein the chip functions contained in each certificate can be understood as resources in the certificate.
In practical applications, for example, a chip design company has a demand for the chip function a, and when purchasing a certificate related to the chip function a, how to purchase the certificate is the case where the chip function a is included in a plurality of certificates at the same time. In the existing scheme, the purchase condition of the certificate is generally determined according to the historical purchase quantity of the certificate or the experience of a user, but the purchase mode does not consider the condition that the certificate contains the rest chip functions.
In view of this, in the resource management scheme provided in the embodiment of the present invention, in the current step, the purpose of reasonably managing chip function resources included in the certificate is achieved by calculating the certificate call frequency and the certificate function score of each certificate for a plurality of certificates.
Specifically, prior to calculating the certificate invocation frequency and certificate function score for each certificate, the current question first needs to be forwarded toTo a corresponding mathematical description. Assume that there are N certificates, each certificate having K functions, some of which are duplicated, i.e., there are no K x N functions in total. Assume that all different functions are X. For a certain certificate N 0 Suppose it possesses K 0 The chip function corresponding to the current certificate can be recorded as the chip function
Figure BDA0003736603110000071
Further, before calculating the certificate call frequency of each certificate, it is necessary to clarify the call situation of the chip function included in each certificate. Assuming now that there is a different demand l for each chip function, for the current certificate N 0 The demand for the chip function it contains can be recorded as
Figure BDA0003736603110000072
To another certificate N 1 Assume that it possesses K 1 Chip function, the chip function condition corresponding to the current certificate can be recorded as
Figure BDA0003736603110000073
Assuming that there is now a different demand for each function, the current certificate N 1 The requirements of the chip functions it contains can be noted,
Figure BDA0003736603110000081
suppose N 0 And N 1 Some of the functions in (1) are repeated, such as N 11 And N 10 Repeat, the corresponding demand of the repeat function is the same, i.e. | 11 =l 10 This is true.
Before calculating the certificate calling frequency of each certificate, the duplicate removal processing is also required to be carried out on the chip functions with duplicates in all the certificates, so that the certificate calling frequency of each certificate is conveniently calculated and obtained based on the calling condition of the chip functions in each certificate.
Optionally, when performing deduplication processing on all certificates with duplicate chip functions, deduplication may be performed by determining the relative number of calls of each chip function in the current certificate, that is, the certificate with the largest number of calls of the same chip function in different certificates retains the current chip function, and the rest certificates remove the current chip function.
Aiming at the condition that the calling times of the same chip function in a plurality of certificates are the most, the method can adopt a mode of calculating the weight occupied by the current certificate in the plurality of certificates to carry out de-duplication, namely, the current chip function in the relatively important certificate is reserved, and the current chip function in the rest certificates is removed. The specific duplication elimination method for the duplicate chip function is not limited herein, as long as the duplication elimination can be achieved.
After each certificate is deduplicated, the certificate invocation frequency (number) of each certificate can be obtained based on a manner of summing the number of invocations of each chip function in each certificate.
Further, before calculating the certificate function score of each certificate, the chip function score included in each certificate needs to be calculated, so as to obtain the certificate function score of the current certificate based on the chip function score.
Optionally, the method for calculating the score of the chip function included in each certificate may be that, based on the call frequency condition of each chip function, the weight of the current chip function in the current certificate is obtained, so as to score each chip function according to the weight condition of each chip function, and further obtain the score of the certificate function based on the score of each chip function.
S120, obtaining the classification label of each certificate according to the certificate calling frequency and the certificate function score of each certificate.
When the classification label of each certificate is obtained according to the certificate calling frequency and the certificate function score of each certificate, firstly, the certificate calling frequency and the certificate function score of each certificate are analyzed in a plurality of certificates in a historical time period through a clustering algorithm, so that the classification label is marked on each certificate based on an analysis result, and the certificates can be aggregated into a preset category. The classification label is used to indicate the degree of demand (degree of importance) of the certificate.
It should be noted that the above-mentioned historical time period may be a certificate usage of the current enterprise in the past one year, two years or three years, and the duration of the specific historical time period is not limited herein.
When the certificate calling frequency and the certificate function score of each certificate are analyzed, the certificate calling frequency of each certificate in all the certificates is divided into gears, the certificate function score of each certificate in all the certificates is divided into gears, and therefore the gears of the certificate calling frequency and the gears of the certificate function score are classified, and the purpose of aggregating a plurality of certificates into preset categories is achieved.
It should be noted that, when clustering is performed according to a clustering algorithm, the clustering algorithm may be a K-means clustering algorithm, a hierarchical clustering algorithm, or a cluster analysis clustering algorithm, and the selection of a specific clustering algorithm is not limited herein.
S130, managing chip resources in the cloud platform according to the classification label of each certificate.
When chip resources are managed according to the classification label of each certificate, taking the classification label as a number (1, 2, 3, …, 10) as an example, the larger the number is, the more important the resources corresponding to the functional chip contained in the current certificate are, and it can also be understood that the certificate of the current classification label is used most frequently, so that when a certain chip function is required, the certificate can be purchased from important to secondary according to the division condition of the current classification label.
An application scenario, taking the requirement for the chip function a in the example of step S110 as an example, assuming that the classification label of the certificate a is 8, the classification label of the certificate B is 3, and the classification label of the certificate C is 7, the certificate a is purchased preferentially, that is, the usage rate of the rest chip functions B, C, and d included in the certificate a is higher in future requirements, so as to achieve the purpose of effectively managing the chip resources in the certificate.
In another application scenario, when the chip function call volume corresponding to the certificate is insufficient, the embodiment of the present invention may also purchase the certificates in order from important to secondary according to the division of each certificate classification label until the call requirement of the current resource is met.
According to the chip resource management method based on the cloud platform, the classification label of each certificate is obtained by calculating the certificate calling frequency and the certificate function score of each certificate; therefore, chip resources in the cloud platform are managed through the classification label of each certificate, wherein the classification label is used for indicating the requirement degree of the certificate, and the resource represents the chip function contained in the current certificate. According to the technical scheme provided by the embodiment of the invention, the classification labels are divided for the plurality of certificates in a clustering mode, so that the demand degree of the current certificate is determined, and the certificate can be purchased according to the demand degree. The problem of resource waste caused by the fact that certificate purchase is not based in the existing scheme is solved, and the beneficial effect that chip function resources in the certificate can be reasonably managed is achieved.
Fig. 2 is another flow chart of the cloud platform-based chip resource management method according to an embodiment of the present invention, and the relationship between the present embodiment and the foregoing embodiment is further detailed corresponding features of the foregoing embodiment.
As shown in fig. 2, in the present embodiment, it is described as any one of a plurality of certificates, and for any one certificate, the method may include the following steps:
s210, obtaining the calling proportion of each chip function of the certificate from the cloud platform.
The calling proportion of the chip function can be understood as the use condition of the current chip function in the current certificate, namely, the more frequently the chip function is used, the larger the calling proportion is.
An optional embodiment of the resource management scheme provided in the embodiment of the present invention is a resource management scheme for obtaining, for any chip function in a certificate, a call ratio of the chip function of the certificate, including the following steps:
a) And acquiring the calling frequency of the chip functions in all the certificates capable of realizing the chip functions in the historical period.
In order to clarify the use condition of each chip function, the calling frequency of each chip function in the current certificate in the historical time period needs to be acquired, and the current calling frequency represents the calling frequency.
And when the calling frequency of each chip function in the current certificate is acquired, each chip function is different. The historical time period may be a certificate usage of a current enterprise for one, two or three years, and the duration of the specific historical time period is not limited herein.
b) And summing the calling frequencies of the chip functions in all the certificates capable of realizing the chip functions to obtain the total calling frequency of the chip functions.
For the current certificate, the purpose of obtaining the total calling frequency of the chip functions is to facilitate the subsequent calculation of the certificate calling frequency condition of the current certificate through the statistics of the calling frequency of all the chip functions in the current certificate.
Illustratively, assume that the current certificate is N t For m different chip functions in the current certificate, the frequency of invocation of each chip function may be denoted as L 1 ,L 2 ,...L m If the total calling frequency of the chip function is recorded as S, any certificate N is subjected to t Having the expression:
L 1 +L 2 +…+L m =S (1)
c) And obtaining the calling proportion of the chip functions of the certificate according to the calling frequency and the total calling frequency of the chip functions in the certificate.
The calling proportion of the chip functions can be obtained by dividing the calling frequency of the current chip functions by the total calling frequency of the current certificates.
In combination with step b) above, current certificate N is remembered t One chip function of (1) is N zt The corresponding call frequency is l zt The calling proportion of the chip function is recorded as S zt Then, the calling proportion for any chip function has the following expression:
Figure BDA0003736603110000121
s220, obtaining the certificate calling frequency according to the calling proportion of each chip function of the certificate.
After obtaining the calling proportion of each chip function in the current certificate based on the step (c), obtaining the certificate calling frequency of the current certificate by averaging the calling proportions of each chip function of the certificate.
Specifically, in conjunction with step S210, the sum of the call ratios of each chip function is recorded as S Mt Then, the following expression is provided:
S Mt =S 1t +…+S zt +…+S mt (3)
noting that the certificate call frequency of the current certificate is S t Then for any certificate N currently having X different chip functions t Its corresponding certificate invocation frequency S t Has the following expression:
Figure BDA0003736603110000122
and S230, scoring the calling proportion of each chip function of the certificate by using a preset scoring algorithm to obtain a certificate function score.
Based on the obtained calling proportion of the chip functions, the current chip functions are scored, and the importance degree of the current chip functions can be obtained according to the grades.
The scoring algorithm may be a scoring algorithm obtained by a developer based on a study of a convolutional neural network structure (CNN), a Recurrent Neural Network (RNN), and/or a Deep Neural Network (DNN), and a network model used by a specific preset scoring algorithm is not limited herein.
Optionally, in the chip resource management scheme provided in the embodiment of the present invention, a preset scoring algorithm is used to score a call proportion of each chip function of the certificate, so as to obtain a certificate function score, which includes the following steps:
a) And (4) scoring the calling proportion of each chip function of the certificate by using a preset scoring algorithm to obtain the score of each chip function.
For a certain chip function N zt Memory chip functionHas a score of B zt Then, the calling proportion S of each chip function is calculated by using the preset scoring algorithm zt When the scoring is performed, the following rules can be adopted:
if the corresponding calling proportion S zt If the number is less than or equal to 0.25, then record B zt =1;
If 0.25<S zt If the ratio is less than or equal to 0.5, then B zt =2;
If 0.5<S zt Less than or equal to 0.75, then B zt =3;
If 0.75<S zt If the ratio is less than or equal to 1, then B zt =4。
The calling proportions of all chip functions are clustered into a preset number of gears, and a corresponding score value is determined for each gear. The higher the call proportion, the higher the corresponding score value.
Note that, when the calling ratio of each chip function of the certificate is scored, the above-listed score value and scoring value are not limited.
b) And summing the scores of all chip functions to obtain the certificate function score.
And for the current certificate, after the score of each chip function corresponding to all the chip functions is obtained, summing the scores of all the chip functions to obtain the certificate function score of the current certificate. Creditable function scoring as B t
S240, obtaining the classification label of the certificate in the mapping relation table according to the certificate calling frequency and the certificate function score.
The mapping table is obtained by clustering based on the certificate call frequency and the certificate function score for each certificate in the historical time period.
The chip resource management scheme provided by the embodiment of the invention acquires the classification label of the certificate in the mapping relation table according to the certificate calling frequency and the certificate function score, and comprises the following steps:
a) And determining a preset gear according to the certificate calling frequency, determining a preset score according to the certificate function score, wherein a combination formed by one preset gear and one preset score corresponds to the classification label one by one.
The preset gears mean that gear division is carried out according to the obtained certificate calling frequency numerical value, the current gear division can be carried out by taking 0.25 as a gradient, and four preset gears can be obtained. Exemplarily, S t ≤0.25;0.25<S t ≤0.5;0.5<S t Less than or equal to 0.75; and 0.75<S t Less than or equal to 1. The number of gears and the gradient value of the gears are determined according to the certificate calling frequency without limitation.
When the preset score is determined according to the certificate function score, the preset score may be determined by dividing the certificate function score into a median, a mode, or an average according to the already obtained certificate score. Illustratively, the scores are [10, 90 ] as known from the certificate function scores of all certificates]Then B can be substituted t =50 as a preset score; if the mode of the certificate function scores of all the certificates obtained through statistics is 30, B can be used t =30 as a preset score; if the average certificate score of all certificates is calculated to be 40, then B can be assigned t =40 as preset score. The manner in which the predetermined score is determined based on the credential function score, and the specific numerical value of the predetermined score, are not limited herein.
And after the certificate function scores related to the preset gears and the preset scores related to the certificate calling frequency are obtained, combining one preset gear and one preset score according to the relationship of the scores. Illustratively, the formed combination may be S t Not more than 0.25, and B t Less than or equal to 30; or S t Less than or equal to 0.25, and B t > 30, etc. And determines a corresponding classification label for each combination.
The current classification label may be used to indicate how important the certificate corresponding to the current combination is.
b) And determining the current classification label in the mapping relation table according to the combination of the current preset gear and the preset score.
Specifically, based on the certificate calling frequency S obtained in the above step S220 t And the certificate function score B obtained in step S230 t When all certificates are clustered, the obtained classification label is marked as R t The obtained mapping relation table can use the following rulesThe following are shown:
if S t Less than or equal to 0.25 and B t R is less than or equal to 30, then t =1;
If S t Less than or equal to 0.25 and B t If > 30, then R t =2;
If 0.25<S t Less than or equal to 0.5 and B t R is less than or equal to 30, then t =3;
If 0.25<S t Less than or equal to 0.5 and B t If > 30, then R t =4;
If 0.5<S t Less than or equal to 0.75 and B t R is less than or equal to 30, then t =5;
If 0.5<S t Less than or equal to 0.75 and B t If > 30, then R t =6;
If 0.75<S t Less than or equal to 1 and B t R is less than or equal to 30, then t =7;
If 0.75<S t Less than or equal to 1 and B t If > 30, then R t =8。
The larger the value of the classification label is, the largest the demand of the current certificate in all certificates is, namely, the most important certificate.
In the above process, the frequency S is called for the certificate t And certificate function score B t In the cluster division, the classification value of each gear and the label value of the classification label are not limited to the above examples.
And S250, managing chip resources in the cloud platform according to the classification label of each certificate.
According to the classification label of each certificate, the chip resources can be managed in a mode that when the calling amount of the certificate chip function of a certain certificate is insufficient, the certificate containing the classification label with the maximum value in the current chip function is purchased according to the size of the obtained classification label; when the amount of the certificates is enough, but extra funds invest in a batch of certificates, the certificates can be purchased in turn from large to small according to the classification label of each type of certificate, so that the reasonability of certificate purchase is ensured.
The chip resource management scheme provided by the embodiment of the invention is used for all conditions of resource dynamic expansion aiming at the certificate function during chip design, and can purchase according to the priority sequence only by mastering the requirement condition of the current chip function during certificate purchase, thereby achieving the technical effect of reasonable resource distribution on the basis of ensuring the certificate purchase accuracy and performability.
Fig. 3 is a schematic structural diagram of a chip resource management apparatus based on a cloud platform according to an embodiment of the present invention, where the apparatus is adapted to execute the chip resource management method based on the cloud platform according to the embodiment of the present invention. As shown in fig. 3, the apparatus may specifically include: a certificate calculation module 310, a label acquisition module 320, and a resource management module 330, wherein:
the certificate calculation module 310 is configured to obtain a plurality of certificates from the cloud platform, and calculate a certificate call frequency and a certificate function score of each certificate;
a tag obtaining module 320, configured to obtain a classification tag of each certificate according to the certificate call frequency and the certificate function score of each certificate, where the classification tag is used to indicate a requirement degree of a certificate;
and the resource management module 330 is configured to manage chip resources in the cloud platform according to the classification label of each certificate.
The chip resource management device based on the cloud platform provided by the embodiment of the invention obtains the classification label of each certificate by calculating the certificate calling frequency and the certificate function score of each certificate; therefore, chip resources in the cloud platform are managed through the classification label of each certificate, wherein the classification label is used for indicating the requirement degree of the certificate, and the resource represents the chip function contained in the current certificate. According to the technical scheme provided by the embodiment of the invention, the classification labels are divided for the plurality of certificates in a clustering mode, so that the demand degree of the current certificate is determined, and the certificate can be purchased according to the demand degree. The problem of resource waste caused by the fact that certificate purchase is not based in the existing scheme is solved, and the beneficial effect that chip function resources in the certificate can be reasonably managed is achieved.
In one embodiment, the certificate calculation module 310 includes: an obtaining unit, an obtaining unit and a scoring unit, wherein:
the acquisition unit is used for acquiring the calling proportion of each chip function of the certificate;
the acquisition unit is used for acquiring the certificate calling frequency according to the calling proportion of each chip function of the certificate;
and the scoring unit is used for scoring the calling proportion of each chip function of the certificate by using a preset scoring algorithm to obtain the certificate function score.
In an embodiment, the obtaining unit is specifically configured to obtain a calling frequency of the chip function in all certificates capable of implementing the chip function in a historical period; summing the calling frequency of the chip functions in all the certificates capable of realizing the chip functions to obtain the total calling frequency of the chip functions; and obtaining the calling proportion of the chip functions of the certificate according to the calling frequency and the total calling frequency of the chip functions in the certificate.
In an embodiment, the obtaining unit is specifically configured to average a call ratio of each chip function of the certificate, and obtain the certificate call frequency.
In an embodiment, the scoring unit is specifically configured to score a call proportion of each chip function of the certificate by using a preset scoring algorithm, so as to obtain a score of each chip function; and summing the scores of all the chip functions to obtain the certificate function score.
In an embodiment, the tag obtaining module 320 is specifically configured to obtain a classification tag of the certificate in a mapping relationship table according to the certificate invoking frequency and the certificate function score; the mapping relationship table is obtained by clustering based on the certificate invocation frequency and the certificate function score for each certificate within a historical time period.
In an embodiment, the tag obtaining module 320 is specifically configured to determine a preset gear according to the certificate invoking frequency, and determine a preset score according to the certificate function score, where a combination of one preset gear and one preset score corresponds to the classified tags one to one; and determining the current classification label in the mapping relation table according to the combination of the current preset gear and the preset score.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the functional module, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
An embodiment of the present invention further provides an electronic device, where the electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the cloud platform-based chip resource management method according to any embodiment of the present invention.
The embodiment of the present invention further provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are used for enabling a processor to implement the cloud platform-based chip resource management method according to any embodiment of the present invention when executed.
Referring now to FIG. 4, shown is a block diagram of a computer system 500 suitable for use in implementing an electronic device of an embodiment of the present invention. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 4, the computer system 500 includes a Central Processing Unit (CPU) 501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules and/or units described in the embodiments of the present invention may be implemented by software, and may also be implemented by hardware. The described modules and/or units may also be provided in a processor, which may be described as: a processor includes a certificate computation module, a tag acquisition module, and a resource management module. Wherein the names of the modules do not in some way constitute a limitation on the modules themselves.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: acquiring a plurality of certificates, and calculating the certificate calling frequency and the certificate function score of each certificate; obtaining a classification label of each certificate according to the certificate calling frequency and the certificate function score of each certificate, wherein the classification label is used for indicating the demand degree of the certificate; and managing chip resources according to the classification label of each certificate.
According to the technical scheme of the embodiment of the invention, the classification label of each certificate can be obtained by calculating the certificate calling frequency and the certificate function score of each certificate; therefore, chip resources in the cloud platform are managed through the classification label of each certificate, wherein the classification label is used for indicating the requirement degree of the certificate, and the resource represents the chip function contained in the current certificate. According to the technical scheme provided by the embodiment of the invention, the classification labels are divided for the plurality of certificates in a clustering mode, so that the demand degree of the current certificate is determined, and the certificate can be purchased according to the demand degree. The problem of resource waste caused by the fact that certificate purchase is not based in the existing scheme is solved, and the beneficial effect of reasonably managing chip function resources in the certificate is achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A chip resource management method based on a cloud platform is characterized by comprising the following steps:
acquiring a plurality of certificates from a cloud platform, and calculating the certificate calling frequency and the certificate function score of each certificate;
obtaining a classification label of each certificate according to the certificate calling frequency and the certificate function score of each certificate, wherein the classification label is used for indicating the demand degree of the certificate;
and managing chip resources in the cloud platform according to the classification label of each certificate.
2. The method of claim 1, wherein each certificate is used to implement a plurality of chip functions;
for any certificate, the calculating the certificate call frequency and the certificate function score of the certificate comprises:
acquiring the calling proportion of each chip function of the certificate;
acquiring the certificate calling frequency according to the calling proportion of each chip function of the certificate;
and scoring the calling proportion of each chip function of the certificate by using a preset scoring algorithm to obtain the certificate function score.
3. The method of claim 2, wherein for any chip function of the certificate, the obtaining a calling proportion of the chip function of the certificate comprises:
acquiring the calling frequency of the chip functions in all certificates capable of realizing the chip functions in a historical period;
summing the calling frequency of the chip functions in all the certificates capable of realizing the chip functions to obtain the total calling frequency of the chip functions;
and obtaining the calling proportion of the chip functions of the certificate according to the calling frequency and the total calling frequency of the chip functions in the certificate.
4. The method of claim 2, wherein obtaining the certificate invocation frequency according to the invocation proportion of each chip function of the certificate comprises:
and averaging the calling proportion of each chip function of the certificate to obtain the certificate calling frequency.
5. The method of claim 2, wherein scoring a calling proportion of each chip function of the certificate using a preset scoring algorithm to obtain the certificate function score comprises:
scoring the calling proportion of each chip function of the certificate by using a preset scoring algorithm to obtain the score of each chip function;
and summing the scores of all the chip functions to obtain the certificate function score.
6. The method according to claim 1, wherein for any certificate, obtaining a classification label of the certificate according to the certificate invocation frequency and the certificate function score of the certificate comprises:
obtaining a classification label of the certificate in a mapping relation table according to the certificate calling frequency and the certificate function score; the mapping relationship table is obtained by clustering based on the certificate invocation frequency and the certificate function score for each certificate within a historical time period.
7. The method of claim 6, wherein obtaining the classification label of the certificate in a mapping table according to the certificate invocation frequency and the certificate function score comprises:
determining preset gears according to the certificate calling frequency, determining preset values according to the certificate function scores, wherein a combination formed by one preset gear and one preset value corresponds to the classification labels one by one;
and determining the current classification label in the mapping relation table according to the combination of the current preset gear and the preset score.
8. A chip resource management device based on a cloud platform is characterized by comprising:
the certificate calculation module is used for acquiring a plurality of certificates from the cloud platform and calculating the certificate call frequency and the certificate function score of each certificate;
a tag obtaining module, configured to obtain a classification tag of each certificate according to the certificate call frequency and the certificate function score of each certificate, where the classification tag is used to indicate a requirement degree of the certificate;
and the resource management module is used for managing the chip resources in the cloud platform according to the classification label of each certificate.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the cloud platform based chip resource management method of any of claims 1-7.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the cloud platform based chip resource management method according to any one of claims 1 to 7.
CN202210804931.1A 2022-07-08 2022-07-08 Chip resource management method, device, equipment and storage medium based on cloud platform Pending CN115147183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210804931.1A CN115147183A (en) 2022-07-08 2022-07-08 Chip resource management method, device, equipment and storage medium based on cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210804931.1A CN115147183A (en) 2022-07-08 2022-07-08 Chip resource management method, device, equipment and storage medium based on cloud platform

Publications (1)

Publication Number Publication Date
CN115147183A true CN115147183A (en) 2022-10-04

Family

ID=83411576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210804931.1A Pending CN115147183A (en) 2022-07-08 2022-07-08 Chip resource management method, device, equipment and storage medium based on cloud platform

Country Status (1)

Country Link
CN (1) CN115147183A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695039A (en) * 2022-11-13 2023-02-03 济南三泽信息安全测评有限公司 Network security vulnerability detection system and method
CN118363736A (en) * 2024-06-18 2024-07-19 江苏云途半导体有限公司 Low-power-consumption mode chip state switching method and system
CN118363736B (en) * 2024-06-18 2024-10-29 江苏云途半导体有限公司 Low-power-consumption mode chip state switching method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695039A (en) * 2022-11-13 2023-02-03 济南三泽信息安全测评有限公司 Network security vulnerability detection system and method
CN115695039B (en) * 2022-11-13 2023-08-18 济南三泽信息安全测评有限公司 Network security vulnerability detection system and method
CN118363736A (en) * 2024-06-18 2024-07-19 江苏云途半导体有限公司 Low-power-consumption mode chip state switching method and system
CN118363736B (en) * 2024-06-18 2024-10-29 江苏云途半导体有限公司 Low-power-consumption mode chip state switching method and system

Similar Documents

Publication Publication Date Title
CN109634801B (en) Data trend analysis method, system, computer device and readable storage medium
CN109684162B (en) Equipment state prediction method, system, terminal and computer readable storage medium
CN110163474A (en) A kind of method and apparatus of task distribution
CN105550270B (en) Data base query method and device
CN113554307B (en) RFM model-based user grouping method, device and readable medium
CN112699142A (en) Cold and hot data processing method and device, electronic equipment and storage medium
CN114840531B (en) Data model reconstruction method, device, equipment and medium based on blood edge relation
CN112365070A (en) Power load prediction method, device, equipment and readable storage medium
CN112905677B (en) Data processing method and device, service processing system and computer equipment
CN111724185A (en) User maintenance method and device
CN115147183A (en) Chip resource management method, device, equipment and storage medium based on cloud platform
CN110737673B (en) Data processing method and system
CN110930056A (en) Thinking-guidance-graph-based task management method, terminal device and storage medium
CN114416852A (en) Data processing method, device, equipment and medium
CN114003787A (en) Data visualization method based on artificial intelligence and related equipment
CN113094444B (en) Data processing method, data processing device, computer equipment and medium
CN108509259A (en) Obtain the method and air control system in multiparty data source
CN113760176A (en) Data storage method and device
CN109766333A (en) Data processing empty value method, apparatus and terminal device
CN113298120B (en) Fusion model-based user risk prediction method, system and computer equipment
CN109255698B (en) Method for distributing refund amount based on big data and terminal equipment
CN115550259B (en) Flow distribution method based on white list and related equipment
CN110246026A (en) A kind of output combination setting method, device and the terminal device of data transfer
CN111275466A (en) Method and device for early warning of overdue single quantity
CN115600188B (en) Multi-level tenant resource management method, system, terminal and storage medium

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