CN114676029A - Software access capability evaluation method, device, system and medium - Google Patents

Software access capability evaluation method, device, system and medium Download PDF

Info

Publication number
CN114676029A
CN114676029A CN202210345804.XA CN202210345804A CN114676029A CN 114676029 A CN114676029 A CN 114676029A CN 202210345804 A CN202210345804 A CN 202210345804A CN 114676029 A CN114676029 A CN 114676029A
Authority
CN
China
Prior art keywords
application program
software
current period
current
rate
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
CN202210345804.XA
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.)
China Travelsky Technology Co Ltd
Original Assignee
China Travelsky 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 China Travelsky Technology Co Ltd filed Critical China Travelsky Technology Co Ltd
Priority to CN202210345804.XA priority Critical patent/CN114676029A/en
Publication of CN114676029A publication Critical patent/CN114676029A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Probability & Statistics with Applications (AREA)
  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a method, a device, a system and a medium for evaluating software access capability, comprising the following steps: respectively calculating total flow, an overtime rate, a failure rate, a change monthly frequency and a daily activity rate generated by all application program interfaces in the current period of each piece of software to be evaluated, taking the total flow, the overtime rate, the failure rate, the change monthly frequency and the daily activity rate as five indexes, respectively ranking the five indexes of each piece of software to obtain respective ranking of the five indexes of each piece of software, adding the respective ranking of the five indexes of each piece of software to obtain a quality score of each piece of software, and obtaining the access capability ranking of each piece of software according to the quality scores. Therefore, the service capability of mutual access between software systems can be better evaluated, and an improvement basis is provided for improving the software quality.

Description

Software access capability evaluation method, device, system and medium
Technical Field
The present application relates to the field of computers, and in particular, to a method, an apparatus, a system, and a medium for evaluating software access capability.
Background
With the development of the internet, software systems have become accessible in various aspects of life, work, learning, and the like. The service quality of the software is also crucial to the user, and is one of the reference factors for selecting the software by the user. Therefore, a plurality of methods for evaluating the service quality of the software emerge, some methods are based on the life cycle of the software, and some methods are based on the development code coverage rate of the software. However, each software system is independent of each other from development, deployment to maintenance. With the development of enterprise business and the prevalence of open cooperative thinking, software systems begin to have the requirement of mutual access business capability.
An Application Programming Interface (API) is an important component of software as a support for mutual access between software systems, and the access capability of the software greatly affects the service quality of the software, so how to evaluate the access capability of the software is a technical problem to be solved in the field.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus, a system, and a medium for evaluating software access capability, which can accurately evaluate the software access capability and provide an improvement basis for improving software quality.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a software access capability evaluation method, including:
respectively calculating total flow, timeout rate, failure rate, change monthly frequency and daily activity rate generated by all application program interfaces in the current period of each software to be evaluated as five indexes;
the timeout rate is equal to the ratio of the timeout flow of all application program interfaces in the current period to the total flow, the failure rate is equal to the ratio of the failed flow of all application program interfaces in the current period to the total flow, the monthly change frequency is equal to the value obtained by dividing the change times of all application program interfaces in the current period by the number of months contained in the current period and then dividing by the number of all application program interfaces, and the daily activity rate is equal to the value obtained by dividing the activity of all application program interfaces in the current period by the number of days in the current period and then dividing by the number of all application program interfaces;
adding one to the activity when each application program interface generates flow every day in the current period, wherein the initial value of the activity is zero, and the value of the activity at the end of the current period is used as the activity of all the application program interfaces in the current period;
ranking the five indexes of each piece of software respectively to obtain the ranking of the five indexes of each piece of software respectively;
and adding the ranks of the five indexes of each software to obtain the quality score of each software, and obtaining the access capability rank of each software according to the quality score.
In a second aspect, an embodiment of the present application provides a software access capability evaluating apparatus, including:
the first calculation unit is used for respectively calculating total flow, timeout rate, fault rate, monthly change frequency and daily activity rate generated by all application program interfaces in the current period of each piece of software to be evaluated as five indexes;
the timeout rate is equal to the ratio of the timeout flow of all application program interfaces in the current period to the total flow, the failure rate is equal to the ratio of the failed flow of all application program interfaces in the current period to the total flow, the monthly change frequency is equal to the value obtained by dividing the change times of all application program interfaces in the current period by the number of months contained in the current period and then dividing by the number of all application program interfaces, and the daily activity rate is equal to the value obtained by dividing the activity of all application program interfaces in the current period by the number of days in the current period and then dividing by the number of all application program interfaces;
adding one to the activity when each application program interface generates flow every day in the current period, wherein the initial value of the activity is zero, and the value of the activity at the end of the current period is used as the activity of all the application program interfaces in the current period;
the first ranking unit is used for ranking the five indexes of each piece of software respectively to obtain the ranking of the five indexes of each piece of software respectively;
and the second ranking unit is used for adding the rankings of the five indexes of each piece of software to serve as the quality score of each piece of software, and obtaining the access capability ranking of each piece of software according to the quality score.
The embodiment of the application provides a method, a device, a system and a medium for evaluating software access capability, which comprises the following steps: respectively calculating total flow, an overtime rate, a failure rate, a change monthly frequency and a daily activity rate generated by all application program interfaces in the current period of each piece of software to be evaluated, taking the total flow, the overtime rate, the failure rate, the change monthly frequency and the daily activity rate as five indexes, respectively ranking the five indexes of each piece of software to obtain respective ranking of the five indexes of each piece of software, adding the respective ranking of the five indexes of each piece of software to obtain a quality score of each piece of software, and obtaining the access capability ranking of each piece of software according to the quality scores. Therefore, the service capability of mutual access between software systems can be better evaluated, and an improvement basis is provided for improving the software quality.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a software access capability evaluation method according to an embodiment of the present application;
fig. 2 shows a schematic diagram of a software access capability evaluation device provided in an embodiment of the present application.
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
As described in the background, with the development of the internet, software systems have become accessible in various aspects of life, work, learning, and the like. The service quality of the software is also crucial to the user, and is one of the reference factors for selecting the software by the user. Therefore, a plurality of methods for evaluating the service quality of the software emerge, some methods are based on the life cycle of the software, and some methods are based on the development code coverage rate of the software. However, each software system is independent of each other from development, deployment to maintenance. With the development of enterprise business and the prevalence of open cooperative thinking, software systems begin to have the requirement of mutual access business capability.
An Application Programming Interface (API) is an important component of software as a support for mutual access between software systems, and the access capability of the software greatly affects the service quality of the software, so how to evaluate the access capability of the software is a technical problem to be solved in the field.
In order to solve the above technical problem, embodiments of the present application provide a method, an apparatus, a system, and a medium for evaluating software access capability, including: respectively calculating total flow, an overtime rate, a failure rate, a change monthly frequency and a daily activity rate generated by all application program interfaces in the current period of each piece of software to be evaluated, taking the total flow, the overtime rate, the failure rate, the change monthly frequency and the daily activity rate as five indexes, respectively ranking the five indexes of each piece of software to obtain respective ranking of the five indexes of each piece of software, adding the respective ranking of the five indexes of each piece of software to obtain a quality score of each piece of software, and obtaining the access capability ranking of each piece of software according to the quality scores. Therefore, the service capability of mutual access between software systems can be better evaluated, and an improvement basis is provided for improving the software quality.
Exemplary method
Referring to fig. 1, a flowchart of a software access capability evaluation method provided in the embodiment of the present application includes:
s101: and respectively calculating the total flow, the timeout rate, the fault rate, the change monthly frequency and the daily activity rate of all application program interfaces in the current period of each piece of software to be evaluated as five indexes.
In the embodiment of the present application, in order to evaluate the overall service quality of software for evaluation, a total flow, an timeout rate, a failure rate, a change monthly frequency, and a daily activity rate generated by all application program interfaces in a current period of each software for evaluation may be respectively calculated as five indexes.
That is, the quality evaluation may be performed by a plurality of software, each of the plurality of software performs evaluation separately, and the total flow generated by all application program interfaces in the current period of each software is denoted as QGeneral assembly
The timeout rate generated by all application program interfaces in each software current period is equal to the ratio of the traffic of all application program interfaces timeout in the current period to the total traffic, that is:
Figure BDA0003580764870000051
wherein, PTime-outTimeout rate, Q, generated for all application program interfaces within the current periodTime-outThe overtime flow of all application program interfaces in the current period.
The failure rate generated by all application program interfaces in each software current period is equal to the ratio of the failed flow rate of all application program interfaces in the current period to the total flow rate, namely:
Figure BDA0003580764870000052
wherein, PFault ofFailure rate, Q, for all application program interfaces in the current cycleFault ofAnd the traffic of all application program interfaces in the current period is failed.
The monthly frequency of the change of all the application program interfaces in the current period of each software is equal to the value obtained by dividing the number of the months contained in the current period by the number of the application program interfaces in the current period, namely:
Figure BDA0003580764870000061
wherein, PChangeChange monthly frequency, N, for all application program interfaces in the current cycleChangeThe number of changes of all application program interfaces in the current period, NMoon cakeFor the number of months, N, contained in the current cycleAPI totalIs the number of application program interfaces.
The daily activity rate of all the application program interfaces in the current period of each software is equal to the value obtained by dividing the activity of all the application program interfaces in the current period by the number of days in the current period and then dividing by the number of all the application program interfaces, namely:
Figure BDA0003580764870000062
wherein, PIs active inDaily activity rate for all application program interfaces in the current period, NActivatingFor the liveness of all application program interfaces in the current cycle, NDay(s) dayThe number of days in the current cycle.
Wherein, the liveness can be calculated by adopting the following method:
and if each application program interface generates flow every day in the current period, adding one to the activity, wherein the initial value of the activity is zero, and the value of the activity at the end of the current period is used as the activity of all the application program interfaces in the current period.
The five indexes are the five indexes which have the most important influence on the software access capability, and the accuracy of evaluation by adopting the five indexes is higher.
S102: and ranking the five indexes of each piece of software respectively to obtain the ranking of the five indexes of each piece of software respectively.
In the embodiment of the application, five indexes of each piece of software to be compared may be ranked respectively, for example, two pieces of software a and B may be compared, and after comparison and calculation, the total flow ranking of a is 1, the timeout rate ranking is 2, the failure rate ranking is 1, the change monthly frequency ranking is 1, and the daily activity ranking is 2; b has a total traffic rank of 2, a timeout rate rank of 1, a failure rate rank of 2, a change monthly frequency rank of 2, and a daily activity rate rank of 1.
Optionally, the software may be scored according to the ranking of each software, and as the overall service quality score of the software, for example, the full score of each index is 20, the top 5% score is 20, the top 6% -10% score is 19, and the top 11% -15% score is 18.
Therefore, the quality of each index can be reflected more visually and accurately, and the judgment by a person skilled in the art is facilitated.
S103: and adding the ranks of the five indexes of each software to obtain the quality score of each software, and obtaining the access capability rank of each software according to the quality scores.
In the embodiment of the application, the respective ranks of the five indexes of each software may be added to serve as the quality scores of each software, and the access capability ranks of each software are obtained according to the quality scores, for example, two pieces of software a and B may be compared, and after comparison and calculation, the total flow rank of a is 1, the timeout rate rank of 2, the failure rate rank of 1, the change monthly frequency rank of 1, and the daily activity rank of 2 are obtained; b has a total traffic rank of 2, a timeout rate rank of 1, a failure rate rank of 2, a change monthly frequency rank of 2, and a daily activity rate rank of 1.
And adding the ranks of the A to obtain the quality score of the A, wherein the quality score of the A is 7, the quality score of the B is 8, and the higher the quality score is, the higher the overall service quality of the software is.
Optionally, if the ranking of each software is scored, the sum of the 5 dimensionality scores of each software is the overall service quality score of the software, and the overall service quality score of the software is 100
It should be noted that the embodiment of the present application does not limit the specific way of ranking the scores of the software.
In a possible implementation manner, the idle rates of all the application program interfaces in the current period of each software to be evaluated can be respectively calculated to serve as a sixth index which serves as a reference and a supplement of the above five indexes.
The idle rate of all the application program interfaces in the current period of each software is equal to the ratio of the number of idle application program interfaces in the current period to the total number of idle application program interfaces in the current period, namely:
Figure BDA0003580764870000071
wherein, PIs idleFor the idle rate of all application program interfaces in the current period, NIs idleThe number of idle application program interfaces in the current period, NTotal number of interfacesThe total number of idle application program interfaces in the current period.
The above six indexes are dynamic indexes for the overall service quality of the software, and in a possible implementation manner, a static index of the overall service quality of the software may be further calculated to evaluate the overall service quality of the software, where the static index includes:
1. software level, the level of software established by the authority.
The total number of the APIs and the number of the APIs with the statistical state of published are marked as NAPI total
3. The software service index is the number of software services currently, namely, the index is increased by one when the number of software services increases by 1 user.
The average complexity of the API, and the total number of fields of all published APIs of the current software is recorded as NTotal number of fieldsThen, the API average complexity calculation method is:
Figure BDA0003580764870000081
where O is the API average complexity, NTotal number of interfacesThe total number of all API interfaces for the current software.
In a possible implementation manner, the daily activity index, the change monthly rate and the stability of the current application program interface in the current period may also be calculated, and the daily activity index, the change monthly rate and the stability are used as the evaluation of the current application program interface after the software overall service quality score is obtained by the software overall service quality module.
The daily activity index of the current application program interface in the current period is equal to the ratio of the activity number of the current application program interface in the current period to the number of days in the current period, namely:
Figure BDA0003580764870000082
wherein, PAPI activityIs the daily activity index, N, of the current application program interface in the current periodAPI livenessIs the active number, N, of the current application program interface in the current periodDay(s)The number of days in the current cycle.
Wherein the current number of application program interface usage times per day>1 degree of activity NAPI livenessAdding 1, NAPIThe initial value of activity is 0.
The monthly rate of change of the current application program interface in the current period is equal to the ratio of the change times of the current application program interface in the current period to the number of months in the current period, namely:
Figure BDA0003580764870000083
wherein, PAPI changesChange month rate, N, for the current API in the previous cycleAPI changesThe number of changes of the current application program interface in the current period, NMoon cakeThe number of months in the current cycle.
The stability of the current application program interface in the current period is equal to the ratio of the fault flow of the current application program interface in the current period to the total flow of the current application program interface in the current period, that is:
Figure BDA0003580764870000091
wherein, PAPI stabilizationFor stability of the current application program interface, QAPI failureFor the current application program interface fault flow in the current cycle, QAPIIs the total flow of the current application program interface in the current period.
And when the daily activity index is greater than the first preset value, the change monthly rate is less than the second preset value and the stability is less than the third preset value, the operation quality of the current application program interface is considered to be higher. I.e. for a single API, the better the stability, the higher the activity index, and the lower the change frequency the higher the quality of operation of that API.
Optionally, the API traffic number, that is, the number of a single API traffic in the current period, and the API timeout rate, that is, the timeout rate of a single API traffic in the current period is Q, may also be calculatedAPI timeoutThen, the API timeout rate calculation method is:
Figure BDA0003580764870000092
wherein, PAPI timeoutIs the API timeout rate.
In a possible implementation manner, the contact ratio, complexity and number of service software of the current application program interface in the current period can be calculated;
the coincidence degree is equal to the ratio of the maximum field number of the current application program interface field and the coincidence of some other application program interface to the total field number of the current application program interface, namely
Figure BDA0003580764870000093
Wherein, PAPI reclosingEqual to the degree of overlap, N, of the current API in the current cycleOverlapped fieldEqual to the maximum number of fields, N, of the previous application interface field coinciding with some other application interfaceField(s)Equal to the total number of fields of the current application program interface.
The complexity of the current application program interface in the current period is the number of fields of the current application program interface, for example, the number of a single API field is 1-50, the complexity is 1 level, the number of fields is 51-100, the complexity is 2 levels, the number of fields is 101-150, the complexity is 3 levels, the number of fields is 151-200, the complexity is 4 levels, the number of fields is greater than 201, and the complexity is 5 levels.
The number of service software pieces of the current application program interface in the current period is calculated in a manner that 1 service software piece is added for each single API, and the number of the service software pieces is added by 1.
The application provides a software access capability assessment method, which comprises the following steps: respectively calculating total flow, an overtime rate, a failure rate, a change monthly frequency and a daily activity rate generated by all application program interfaces in the current period of each piece of software to be evaluated, taking the total flow, the overtime rate, the failure rate, the change monthly frequency and the daily activity rate as five indexes, respectively ranking the five indexes of each piece of software to obtain respective ranks of the five indexes of each piece of software, adding the respective ranks of the five indexes of each piece of software to obtain a quality score of each piece of software, and obtaining an access capability rank of each piece of software according to the quality scores. Therefore, the service capability of mutual access between software systems can be better evaluated, and an improvement basis is provided for improving the software quality.
Most of traditional software quality evaluation methods are based on software life cycles, software code coverage rates and the like, and a software quality evaluation method based on API (application programming interface) hosting service is not provided. The software quality evaluation method based on the API trusteeship service can well evaluate the service capability of mutual access between software systems and provide an improvement basis for improving the software quality. The method has strong operability, effectively evaluates the service quality between the caller and the server, and provides the quality improvement basis of the server through various data of the caller.
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 disclosure. 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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/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 names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Although the operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Exemplary devices
Referring to fig. 2, a software access capability evaluating apparatus provided for the embodiment of the present application includes:
a first calculating unit 201, configured to calculate, as five indexes, total flow, an timeout rate, a failure rate, a change monthly frequency, and a daily activity rate generated by all application program interfaces in a current period of each software to be evaluated;
the timeout rate is equal to the ratio of the timeout flow of all application program interfaces in the current period to the total flow, the failure rate is equal to the ratio of the failed flow of all application program interfaces in the current period to the total flow, the monthly change frequency is equal to the value obtained by dividing the change times of all application program interfaces in the current period by the number of months contained in the current period and then dividing by the number of all application program interfaces, and the daily activity rate is equal to the value obtained by dividing the activity of all application program interfaces in the current period by the number of days in the current period and then dividing by the number of all application program interfaces;
adding one to the activity when each application program interface generates flow every day in the current period, wherein the initial value of the activity is zero, and the value of the activity at the end of the current period is used as the activity of all the application program interfaces in the current period;
a first ranking unit 202, configured to rank the five indexes of each piece of software respectively to obtain respective ranks of the five indexes of each piece of software;
and the second ranking unit 203 is configured to add the rankings of the five indicators of each software to obtain a quality score of each software, and obtain an access capability ranking of each software according to the quality score.
In one possible implementation, the apparatus further includes:
the second calculation unit is used for calculating the daily activity index, the change monthly rate and the stability of the current application program interface in the current period;
the daily activity index is equal to the ratio of the active number of the current application program interface in the current period to the number of days in the current period, the monthly change rate of the current application program interface is equal to the ratio of the changing number of the current application program interface in the current period to the monthly number in the current period, and the stability of the current application program interface is equal to the ratio of the fault flow of the current application program interface in the current period to the total flow of the current application program interface in the current period;
and the evaluation unit is used for considering that the running quality of the current application program interface is higher when the daily activity index is larger than a first preset value, the change monthly rate is smaller than a second preset value and the stability is smaller than a third preset value.
In one possible implementation, the apparatus further includes:
the third calculating unit is used for calculating the contact ratio, the complexity and the number of service software of the current application program interface in the current period;
the contact ratio is equal to the ratio of the maximum number of fields of the current application program interface field which are overlapped with other application program interfaces to the total number of fields of the current application program interface.
In one possible implementation, the apparatus further includes:
the fourth calculation unit is used for respectively calculating the idle rate of all application program interfaces in the current period of each piece of software to be evaluated;
and the idle rate is equal to the ratio of the number of idle application program interfaces in the current period to the total number of idle application program interfaces in the current period.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a system for evaluating software access capability, including:
a memory for storing a computer program;
a processor for implementing the steps of the software access capability evaluation method when executing the computer program.
On the basis of the foregoing embodiments, the present application further provides a computer readable medium, where a computer program is stored on the computer readable medium, and when the computer program is processed and executed, the steps of the software access capability evaluation method are implemented as described above.
It should be noted that the computer readable medium in the present disclosure 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 disclosure, 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 contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of 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: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart.
According to one or more embodiments of the present disclosure, there is provided a software access capability evaluation method, including:
respectively calculating total flow, timeout rate, failure rate, change monthly frequency and daily activity rate generated by all application program interfaces in the current period of each software to be evaluated as five indexes;
the timeout rate is equal to the ratio of the timeout flow of all application program interfaces in the current period to the total flow, the failure rate is equal to the ratio of the failed flow of all application program interfaces in the current period to the total flow, the monthly change frequency is equal to the value obtained by dividing the change times of all application program interfaces in the current period by the number of months included in the current period and then dividing by the number of all application program interfaces, and the daily activity rate is equal to the value obtained by dividing the activity of all application program interfaces in the current period by the number of days in the current period and then dividing by the number of all application program interfaces;
adding one to the activity when each application program interface generates flow every day in the current period, wherein the initial value of the activity is zero, and the value of the activity at the end of the current period is used as the activity of all the application program interfaces in the current period;
ranking the five indexes of each piece of software respectively to obtain the ranking of the five indexes of each piece of software respectively;
and adding the ranks of the five indexes of each software to obtain the quality score of each software, and obtaining the access capability rank of each software according to the quality score.
According to one or more embodiments of the present disclosure, there is provided a software access capability evaluation method, further including:
calculating the daily activity index, the change monthly rate and the stability of the current application program interface in the current period;
the daily activity index is equal to the ratio of the active number of the current application program interface in the current period to the number of days in the current period, the monthly change rate of the current application program interface is equal to the ratio of the changing number of the current application program interface in the current period to the monthly number in the current period, and the stability of the current application program interface is equal to the ratio of the fault flow of the current application program interface in the current period to the total flow of the current application program interface in the current period;
and when the daily activity index is greater than a first preset value, the change monthly rate is less than a second preset value and the stability is less than a third preset value, the operation quality of the current application program interface is considered to be high.
According to one or more embodiments of the present disclosure, there is provided a software access capability evaluation method, further including:
calculating the contact ratio, complexity and the number of service software of the current application program interface in the current period;
the contact ratio is equal to the ratio of the maximum number of fields of the current application program interface field which are overlapped with other application program interfaces to the total number of fields of the current application program interface.
According to one or more embodiments of the present disclosure, there is provided a software access capability evaluation method, further including:
respectively calculating the idle rate of all application program interfaces in the current period of each piece of software to be evaluated;
and the idle rate is equal to the ratio of the number of idle application program interfaces in the current period to the total number of idle application program interfaces in the current period.
According to one or more embodiments of the present disclosure, there is provided a software access capability evaluation apparatus including:
the first calculation unit is used for respectively calculating total flow, timeout rate, fault rate, monthly change frequency and daily activity rate generated by all application program interfaces in the current period of each piece of software to be evaluated as five indexes;
the timeout rate is equal to the ratio of the timeout flow of all application program interfaces in the current period to the total flow, the failure rate is equal to the ratio of the failed flow of all application program interfaces in the current period to the total flow, the monthly change frequency is equal to the value obtained by dividing the change times of all application program interfaces in the current period by the number of months included in the current period and then dividing by the number of all application program interfaces, and the daily activity rate is equal to the value obtained by dividing the activity of all application program interfaces in the current period by the number of days in the current period and then dividing by the number of all application program interfaces;
adding one to the activity when each application program interface generates flow every day in the current period, wherein the initial value of the activity is zero, and the value of the activity at the end of the current period is used as the activity of all the application program interfaces in the current period;
the first ranking unit is used for ranking the five indexes of each piece of software respectively to obtain the ranking of the five indexes of each piece of software respectively;
and the second ranking unit is used for adding the rankings of the five indexes of each software to serve as the quality score of each software, and obtaining the access capability ranking of each software according to the quality score.
According to one or more embodiments of the present disclosure, there is provided a software access capability evaluation apparatus, further including:
the second calculation unit is used for calculating the daily activity index, the change monthly rate and the stability of the current application program interface in the current period;
the daily activity index is equal to the ratio of the active number of the current application program interface in the current period to the number of days in the current period, the monthly change rate of the current application program interface is equal to the ratio of the changing number of the current application program interface in the current period to the monthly number in the current period, and the stability of the current application program interface is equal to the ratio of the fault flow of the current application program interface in the current period to the total flow of the current application program interface in the current period;
and the evaluation unit is used for considering that the running quality of the current application program interface is higher when the daily activity index is larger than a first preset value, the change monthly rate is smaller than a second preset value and the stability is smaller than a third preset value.
According to one or more embodiments of the present disclosure, there is provided a software access capability evaluation apparatus, further including:
the third calculating unit is used for calculating the contact ratio, the complexity and the number of service software of the current application program interface in the current period;
the contact ratio is equal to the ratio of the maximum number of fields of the current application program interface field which are overlapped with other application program interfaces to the total number of fields of the current application program interface.
According to one or more embodiments of the present disclosure, there is provided a software access capability evaluation apparatus, further including:
the fourth calculation unit is used for respectively calculating the idle rate of all application program interfaces in the current period of each piece of software to be evaluated;
and the idle rate is equal to the ratio of the number of idle application program interfaces in the current period to the total number of idle application program interfaces in the current period.
According to one or more embodiments of the present disclosure, there is provided a system for software access capability evaluation, including:
a memory for storing a computer program;
a processor for implementing the steps of the software access capability evaluation method when executing the computer program.
According to one or more embodiments of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, which when processed and executed, implements the steps of the software access capability evaluation method as described above.
The foregoing is merely a preferred embodiment of the present application and, although the present application discloses the foregoing preferred embodiments, the present application is not limited thereto. Those skilled in the art can make numerous possible variations and modifications to the disclosed solution, or modify it to equivalent embodiments, using the methods and techniques disclosed above, without departing from the scope of the claimed solution. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present application still fall within the protection scope of the technical solution of the present application without departing from the content of the technical solution of the present application.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other combinations of features described above or equivalents thereof without departing from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A software access capability assessment method is characterized by comprising the following steps:
respectively calculating total flow, timeout rate, failure rate, change monthly frequency and daily activity rate generated by all application program interfaces in the current period of each software to be evaluated as five indexes;
the timeout rate is equal to the ratio of the timeout flow of all application program interfaces in the current period to the total flow, the failure rate is equal to the ratio of the failed flow of all application program interfaces in the current period to the total flow, the monthly change frequency is equal to the value obtained by dividing the change times of all application program interfaces in the current period by the number of months contained in the current period and then dividing by the number of all application program interfaces, and the daily activity rate is equal to the value obtained by dividing the activity of all application program interfaces in the current period by the number of days in the current period and then dividing by the number of all application program interfaces;
adding one to the activity when each application program interface generates flow every day in the current period, wherein the initial value of the activity is zero, and the value of the activity at the end of the current period is used as the activity of all the application program interfaces in the current period;
ranking the five indexes of each piece of software respectively to obtain the ranking of the five indexes of each piece of software respectively;
and adding the ranks of the five indexes of each software to obtain the quality score of each software, and obtaining the access capability rank of each software according to the quality score.
2. The method of claim 1, further comprising:
calculating the daily activity index, the change monthly rate and the stability of the current application program interface in the current period;
the daily activity index is equal to the ratio of the active number of the current application program interface in the current period to the number of days in the current period, the monthly change rate of the current application program interface is equal to the ratio of the changing number of the current application program interface in the current period to the monthly number in the current period, and the stability of the current application program interface is equal to the ratio of the fault flow of the current application program interface in the current period to the total flow of the current application program interface in the current period;
and when the daily activity index is greater than a first preset value, the change monthly rate is less than a second preset value and the stability is less than a third preset value, the operation quality of the current application program interface is considered to be high.
3. The method of claim 2, further comprising:
calculating the contact ratio, complexity and the number of service software of the current application program interface in the current period;
the contact ratio is equal to the ratio of the maximum number of fields of the current application program interface field which are overlapped with other application program interfaces to the total number of fields of the current application program interface.
4. The method of claim 1, further comprising:
respectively calculating the idle rate of all application program interfaces in the current period of each piece of software to be evaluated;
and the idle rate is equal to the ratio of the number of idle application program interfaces in the current period to the total number of idle application program interfaces in the current period.
5. A software access capability evaluation apparatus, comprising:
the first calculation unit is used for respectively calculating total flow, timeout rate, fault rate, monthly change frequency and daily activity rate generated by all application program interfaces in the current period of each piece of software to be evaluated as five indexes;
the timeout rate is equal to the ratio of the timeout flow of all application program interfaces in the current period to the total flow, the failure rate is equal to the ratio of the failed flow of all application program interfaces in the current period to the total flow, the monthly change frequency is equal to the value obtained by dividing the change times of all application program interfaces in the current period by the number of months included in the current period and then dividing by the number of all application program interfaces, and the daily activity rate is equal to the value obtained by dividing the activity of all application program interfaces in the current period by the number of days in the current period and then dividing by the number of all application program interfaces;
adding one to the activity when each application program interface generates flow every day in the current period, wherein the initial value of the activity is zero, and the value of the activity at the end of the current period is used as the activity of all the application program interfaces in the current period;
the first ranking unit is used for ranking the five indexes of each piece of software respectively to obtain the ranking of the five indexes of each piece of software respectively;
and the second ranking unit is used for adding the rankings of the five indexes of each piece of software to serve as the quality score of each piece of software, and obtaining the access capability ranking of each piece of software according to the quality score.
6. The apparatus of claim 5, further comprising:
the second calculation unit is used for calculating the daily activity index, the change monthly rate and the stability of the current application program interface in the current period;
the daily activity index is equal to the ratio of the active number of the current application program interface in the current period to the number of days in the current period, the monthly change rate of the current application program interface is equal to the ratio of the changing number of the current application program interface in the current period to the monthly number in the current period, and the stability of the current application program interface is equal to the ratio of the fault flow of the current application program interface in the current period to the total flow of the current application program interface in the current period;
and the evaluation unit is used for considering that the running quality of the current application program interface is higher when the daily activity index is larger than a first preset value, the change monthly rate is smaller than a second preset value and the stability is smaller than a third preset value.
7. The apparatus of claim 6, further comprising:
the third calculating unit is used for calculating the contact ratio, the complexity and the number of service software of the current application program interface in the current period;
the contact ratio is equal to the ratio of the maximum field number of the current application program interface field and the other application program interface and the total field number of the current application program interface.
8. The apparatus of claim 5, further comprising:
the fourth calculation unit is used for respectively calculating the idle rate of all application program interfaces in the current period of each piece of software to be evaluated;
and the idle rate is equal to the ratio of the number of idle application program interfaces in the current period to the total number of idle application program interfaces in the current period.
9. A system for software access capability assessment, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the software access capability assessment method according to any of claims 1-4 when executing said computer program.
10. A computer-readable medium, having stored thereon a computer program which, when being processed and executed, carries out the steps of the software access capability assessment method according to any one of claims 1 to 4.
CN202210345804.XA 2022-04-02 2022-04-02 Software access capability evaluation method, device, system and medium Pending CN114676029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210345804.XA CN114676029A (en) 2022-04-02 2022-04-02 Software access capability evaluation method, device, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210345804.XA CN114676029A (en) 2022-04-02 2022-04-02 Software access capability evaluation method, device, system and medium

Publications (1)

Publication Number Publication Date
CN114676029A true CN114676029A (en) 2022-06-28

Family

ID=82075574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210345804.XA Pending CN114676029A (en) 2022-04-02 2022-04-02 Software access capability evaluation method, device, system and medium

Country Status (1)

Country Link
CN (1) CN114676029A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115310856A (en) * 2022-08-26 2022-11-08 数字扁担(浙江)科技有限公司 Application efficiency evaluation system based on big data and evaluation method thereof
CN117076281A (en) * 2023-10-13 2023-11-17 晨达(广州)网络科技有限公司 Software quality assessment method based on deep learning

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115310856A (en) * 2022-08-26 2022-11-08 数字扁担(浙江)科技有限公司 Application efficiency evaluation system based on big data and evaluation method thereof
CN117076281A (en) * 2023-10-13 2023-11-17 晨达(广州)网络科技有限公司 Software quality assessment method based on deep learning

Similar Documents

Publication Publication Date Title
CN114676029A (en) Software access capability evaluation method, device, system and medium
US20080010497A1 (en) Selecting a Logging Method via Metadata
CN109408214A (en) A kind of method for parallel processing of data, device, electronic equipment and readable medium
CN111352800A (en) Big data cluster monitoring method and related equipment
US20120185732A1 (en) Method of measuring and diagnosing misbehaviors of software components and resources
CN107181821A (en) A kind of information push method and device based on SSE specifications
CN111985831A (en) Scheduling method and device of cloud computing resources, computer equipment and storage medium
US10833963B2 (en) Adding a recommended participant to a communication system conversation
CN102968491A (en) Data distributing method and device
US11755954B2 (en) Scheduled federated learning for enhanced search
CN109800085A (en) Detection method, device, storage medium and the electronic equipment of resource distribution
CN109271453A (en) A kind of determination method and apparatus of database volume
CN111382155A (en) Data processing method of data warehouse, electronic equipment and medium
CN108664322A (en) Data processing method and system
US20170357906A1 (en) Processing un-typed triple store data
CN110245166A (en) Verification of data method and device
CN110489392A (en) Data access method, device, system, storage medium and equipment between multi-tenant
CN114217790A (en) Interface scheduling method and device, electronic equipment and medium
US8355922B1 (en) Systems and methods for prioritizing review of items
US20210149746A1 (en) Method, System, Computer Readable Medium, and Device for Scheduling Computational Operation Based on Graph Data
CN113204426A (en) Task processing method of resource pool and related equipment
CN110119364B (en) Method and system for input/output batch submission
CN109815123A (en) Interface testing case script classification method, device, electronic equipment and medium
CN111049988A (en) Intimacy prediction method, system, equipment and storage medium for mobile equipment
CN116383311B (en) Method for real-time fusion search of provider portrait data in building industry

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