A software access capability evaluation method, device, system and medium

By calculating the key indicators of the software application program interface and evaluating the access capability of the software system, the problem of difficulty in evaluating the software access capability in the existing technology is solved, and the quality of the software is improved.

CN114676029BActive Publication Date: 2024-09-13TRAVELSKY TECHNOLOGY LIMITED
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210345804.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-02
Publication Date
2024-09-13
Estimated Expiration
2042-04-02

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively evaluate the access capabilities between software systems and affects the quality of software services.

Method used

By calculating the five indicators of total traffic, timeout rate, failure rate, monthly frequency of changes, and daily activity rate of the application interface in the current cycle of the software, ranking and quality score evaluation are performed to evaluate the software's access capabilities.

Benefits of technology

It achieves an accurate assessment of mutual access business capabilities between software systems, improves software quality, and provides companies with a basis for improvement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114676029B
    Figure CN114676029B
Patent Text Reader

Abstract

The present application provides a method, device, system and medium for evaluating software access capability, including: calculating the total traffic, timeout rate, failure rate, monthly change frequency and daily activity rate generated by all application program interfaces in the current cycle of each software to be evaluated as five indicators, ranking the five indicators of each software to obtain the ranking of the five indicators of each software, adding the ranking of the five indicators of each software as the quality score of each software, and obtaining the ranking of the access capability of each software according to the quality score. In this way, the business capability of mutual access between software systems can be better evaluated, providing an improvement basis for improving software quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a method, device, system and medium for evaluating software access capability. Background Art

[0002] With the development of the Internet, software systems have become accessible in all aspects of life, work, and study. The service quality of software is also crucial to users, and it is one of the reference factors for users to choose software. Therefore, many methods for evaluating software service quality have emerged, some based on the software life cycle, and some based on the software development code coverage. However, each software system is independent of each other from development, deployment to maintenance. With the expansion of corporate business and the prevalence of open and cooperative thinking, there is a need for software systems to access each other's business capabilities.

[0003] API (Application Programming Interface) is an important component of software as the basis for mutual access between software systems. The access capability of software greatly affects the service quality of software. Therefore, how to evaluate the access capability of software is a technical problem that needs to be solved in this field. Summary of the invention

[0004] In view of this, the purpose of this application is to provide a software access capability assessment method, device, system and medium, which can accurately assess the access capability of the software and provide an improvement basis for improving the software quality.

[0005] To achieve the above purpose, this application has the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides a method for evaluating software access capability, including:

[0007] The total traffic, timeout rate, failure rate, monthly change frequency, and daily activity rate generated by all application program interfaces in the current cycle of each software being evaluated are calculated as five indicators;

[0008] Among them, the timeout rate is equal to the ratio of the traffic of all application interfaces timed out in the current cycle to the total traffic, the failure rate is equal to the ratio of the traffic of all application interfaces that failed in the current cycle to the total traffic, the monthly change frequency is equal to the number of changes of all application interfaces in the current cycle divided by the number of months included in the current cycle and then divided by the number of all application interfaces, and the daily activity rate is equal to the activity of all application interfaces in the current cycle divided by the number of days in the current cycle and then divided by the number of all application interfaces.

[0009] Wherein, if each application program interface generates traffic every day in the current period, the activity is increased by one, 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 application program interfaces in the current period;

[0010] Ranking the five indicators of each software respectively to obtain the rankings of the five indicators of each software respectively;

[0011] The rankings of the five indicators of each software are added together as the quality score of each software, and the access capability ranking of each software is obtained according to the quality score.

[0012] In a second aspect, an embodiment of the present application provides a software access capability evaluation device, including:

[0013] The first calculation unit is used to calculate the total traffic, timeout rate, failure rate, monthly change frequency and daily activity rate generated by all application program interfaces in the current cycle of each software being evaluated as five indicators;

[0014] Among them, the timeout rate is equal to the ratio of the traffic of all application interfaces timed out in the current cycle to the total traffic, the failure rate is equal to the ratio of the traffic of all application interfaces that failed in the current cycle to the total traffic, the monthly change frequency is equal to the number of changes of all application interfaces in the current cycle divided by the number of months included in the current cycle and then divided by the number of all application interfaces, and the daily activity rate is equal to the activity of all application interfaces in the current cycle divided by the number of days in the current cycle and then divided by the number of all application interfaces.

[0015] Wherein, if each application program interface generates traffic every day in the current period, the activity is increased by one, 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 application program interfaces in the current period;

[0016] A first ranking unit, used for ranking the five indicators of each software respectively to obtain the ranking of the five indicators of each software respectively;

[0017] The second ranking unit is used to add up the rankings of the five indicators of each software as the quality score of each software, and obtain the access capability ranking of each software according to the quality score.

[0018] The embodiment of the present application provides a method, device, system and medium for evaluating software access capability, including: calculating the total traffic, timeout rate, failure rate, monthly change frequency and daily activity rate generated by all application program interfaces in the current cycle of each software to be evaluated as five indicators, ranking the five indicators of each software to obtain the ranking of the five indicators of each software, adding the ranking of the five indicators of each software as the quality score of each software, and obtaining the ranking of the access capability of each software according to the quality score. In this way, the business capability of mutual access between software systems can be better evaluated, providing an improvement basis for improving software quality.

[0019] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 A flowchart of a software access capability evaluation method provided by an embodiment of the present application is shown;

[0022] Figure 2 A schematic diagram of a software access capability evaluation device provided in an embodiment of the present application is shown.

[0023] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale. DETAILED DESCRIPTION

[0024] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0025] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "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". The relevant definitions of other terms will be given in the following description.

[0026] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0027] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0028] As described in the background technology, with the development of the Internet, software systems have become within reach in all aspects of life, work, study, etc. The service quality of software is also crucial to users, as one of the reference factors for users to choose software. Therefore, many methods for evaluating software service quality have emerged, some based on the software life cycle, and some based on the software development code coverage. However, each software system is independent of each other from development, deployment to maintenance. With the expansion of corporate business and the prevalence of open and cooperative thinking, there is a need for mutual access to business capabilities between software systems.

[0029] API (Application Programming Interface) is an important component of software as the basis for mutual access between software systems. The access capability of software greatly affects the service quality of software. Therefore, how to evaluate the access capability of software is a technical problem that needs to be solved in this field.

[0030] In order to solve the above technical problems, the embodiments of the present application provide a method, device, system and medium for evaluating software access capabilities, including: respectively calculating the total traffic, timeout rate, failure rate, monthly change frequency and daily activity rate generated by all application program interfaces in the current cycle of each software to be evaluated as five indicators, ranking the five indicators of each software to obtain the ranking of the five indicators of each software, adding the rankings of the five indicators of each software as the quality score of each software, and obtaining the ranking of the access capabilities of each software according to the quality score. In this way, the business capabilities of mutual access between software systems can be better evaluated, providing an improvement basis for improving software quality.

[0031] Exemplary Methods

[0032] See also Figure 1 As shown, it is a flowchart of a software access capability evaluation method provided in an embodiment of the present application, including:

[0033] S101: Calculate the total traffic, timeout rate, failure rate, monthly change frequency, and daily activity rate generated by all application program interfaces in the current cycle of each software being evaluated as five indicators.

[0034] In an embodiment of the present application, in order to evaluate the overall service quality of the software being evaluated, the total traffic, timeout rate, failure rate, monthly change frequency and daily activity rate generated by all application program interfaces in the current cycle of each software being evaluated can be calculated separately as five indicators.

[0035] That is, the quality assessment can be conducted on multiple software, and each of the multiple software is evaluated separately. The total traffic generated by all application program interfaces of each software in the current cycle is recorded as Q 总 .

[0036] The timeout rate of all application program interfaces in the current cycle of each software is equal to the ratio of the traffic of all application program interface timeouts in the current cycle to the total traffic, that is:

[0037]

[0038] Among them, P 超时 is the timeout rate of all application interfaces in the current period, Q 超时 The amount of traffic that has timed out for all application interfaces in the current period.

[0039] The failure rate of all application interfaces in the current cycle of each software is equal to the ratio of the traffic of all application interfaces that fail in the current cycle to the total traffic, that is:

[0040]

[0041] Among them, P 故障 is the failure rate of all application interfaces in the current cycle, Q 故障 It is the traffic volume of all application interfaces that have failed in the current cycle.

[0042] The monthly frequency of changes to all application interfaces in the current cycle of each software is equal to the number of changes to all application interfaces in the current cycle divided by the number of months in the current cycle and then divided by the number of application interfaces, that is:

[0043]

[0044] Among them, P 变更 is the monthly frequency of changes to all application program interfaces in the current cycle, N 变更 N is the number of changes to all application program interfaces in the current cycle. 月 is the number of months in the current cycle, N API总数 The number of application program interfaces.

[0045] The daily activity rate of all application interfaces in the current cycle of each software is equal to the value obtained by dividing the activity of all application interfaces in the current cycle by the number of days in the current cycle and then dividing by the number of all application interfaces, that is:

[0046]

[0047] Among them, P 活跃 is the daily activity rate of all application program interfaces in the current period, N 活跃 is the activity of all application program interfaces in the current cycle, N 日 The number of days in the current cycle.

[0048] Among them, the activity can be calculated in the following way:

[0049] If each application interface generates traffic every day during the current period, the activity will increase by one. The initial value of the activity is zero. The activity value at the end of the current period is used as the activity of all application interfaces in the current period.

[0050] The above five indicators are the five most important indicators that affect software access capabilities, and the accuracy of evaluation using the above five indicators is relatively high.

[0051] S102: Ranking the five indicators of each software respectively to obtain the ranking of the five indicators of each software respectively.

[0052] In an embodiment of the present application, the five indicators of each software being compared can be ranked separately. For example, two software A and B can be compared. After comparison and calculation, the total traffic ranking of A is 1, the timeout rate ranking is 2, the failure rate ranking is 1, the monthly frequency of change ranking is 1, and the daily activity rate ranking is 2; the total traffic ranking of B is 2, the timeout rate ranking is 1, the failure rate ranking is 2, the monthly frequency of change ranking is 2, and the daily activity rate ranking is 1.

[0053] Optionally, the software may be scored based on its ranking as the overall service quality score of the software, for example, the full score for each indicator is 20 points, the top 5% gets 20 points, the top 6%-10% gets 19 points, and the top 11%-15% gets 18 points.

[0054] This can more intuitively and accurately reflect the quality of each indicator, making it easier for technicians in this field to make judgments.

[0055] S103: The rankings of the five indicators of each software are added together as the quality score of each software, and the access capability ranking of each software is obtained according to the quality score.

[0056] In an embodiment of the present application, the rankings of the five indicators of each software can be added together as the quality score of each software, and the access capability ranking of each software can be obtained based on the quality score. For example, two software A and B can be compared. After comparison and calculation, the total traffic ranking of A is 1, the timeout rate ranking is 2, the failure rate ranking is 1, the monthly frequency of change ranking is 1, and the daily activity rate ranking is 2; the total traffic ranking of B is 2, the timeout rate ranking is 1, the failure rate ranking is 2, the monthly frequency of change ranking is 2, and the daily activity rate ranking is 1.

[0057] Adding up the rankings of A, we get a quality score of 7 for A and 8 for B. The higher the quality score, the higher the overall service quality of the software.

[0058] Optionally, if the ranking of each software is scored, the sum of the five dimensions of each software is the overall service quality score of the software, and the full score of the overall service quality of the software is 100 points.

[0059] It should be noted that the embodiments of the present application do not limit the specific method of scoring and ranking the software.

[0060] In a possible implementation, the idle rates of all application program interfaces of each software being evaluated in the current cycle may be calculated separately as a sixth indicator, serving as a reference and supplement to the above five indicators.

[0061] The idle rate of all application program interfaces in the current cycle of each software is equal to the ratio of the number of idle application program interfaces in the current cycle to the total number of idle application program interfaces in the current cycle, that is:

[0062]

[0063] Among them, P 闲置 is the idle rate of all application program interfaces in the current cycle, N 闲置 is the number of idle application program interfaces in the current cycle, N 接口总数 The total number of idle application program interfaces in the current cycle.

[0064] The above six indicators are dynamic indicators for the overall service quality of the software. In a possible implementation, static indicators of the overall service quality of the software can also be calculated to evaluate the overall service quality of the software. The static indicators include:

[0065] 1. Software level: the software level set by an authoritative organization.

[0066] 2. Total number of APIs, the statistical status is the number of published APIs, recorded as N API总数 .

[0067] 3. Software service index: the number of current software service software. That is, the index increases by one for every additional user of the software.

[0068] 4. Average complexity of API. The total number of fields of all published APIs of the current software is recorded as N 字段总数 , then the calculation method of API average complexity is:

[0069]

[0070] Among them, O is the average complexity of API, N 接口总数 The total number of all API interfaces of the current software.

[0071] In one possible implementation, the daily activity index, monthly change rate and stability of the current application interface within the current period can also be calculated as an evaluation of the current application interface after the overall software service quality score is obtained through the overall software service quality module.

[0072] The daily activity index of the current application interface in the current cycle is equal to the ratio of the number of active applications in the current cycle to the number of days in the current cycle, that is:

[0073]

[0074] Among them, P API活跃 is the daily activity index of the current application interface in the current period, N API活跃 N is the number of active APIs in the current cycle. 日 The number of days in the current cycle.

[0075] Among them, if the number of times the current application interface is used per day is greater than 1, the activity level is N API活跃 Add 1, N API The initial value of active is 0.

[0076] The monthly rate of change of the current application program interface in the current cycle is equal to the ratio of the number of changes of the current application program interface in the current cycle to the number of months in the current cycle, that is:

[0077]

[0078] Among them, P API变更 is the monthly rate of change of the current application program interface in the previous period, N API变更N is the number of changes to the current application interface in the current cycle. 月 The number of months in the current cycle.

[0079] The stability of the current application interface in the current cycle is equal to the ratio of the fault flow of the current application interface in the current cycle to the total flow of the current application interface in the current cycle, that is:

[0080]

[0081] Among them, P API稳定 For the stability of the current application program interface, Q API故障 is the fault flow of the current application interface in the current cycle, Q API It is the total traffic of the current application interface in the current period.

[0082] When the daily activity index is greater than the first preset value, the monthly change 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 high. That is, for a single API, the better the stability, the higher the activity index, and the lower the change frequency, the higher the operation quality of the API.

[0083] Optionally, you can also calculate the API traffic number, that is, the single API traffic number in the current cycle, and the API timeout rate, that is, the single API timeout traffic in the current cycle is Q API超时 , then the API timeout rate is calculated as:

[0084]

[0085] Among them, P API超时 The API timeout rate.

[0086] In a possible implementation, the overlap, complexity and number of service software of the current application program interface in the current cycle may also be calculated;

[0087] The overlap degree is equal to the ratio of the maximum number of fields that overlap between the current application interface field and another application interface field to the total number of fields in the current application interface, that is,

[0088]

[0089] Among them, P API重合 Equal to the overlap of the current application interface in the current cycle, N 重合字段 Equal to the maximum number of fields that overlap between the previous API field and another API field, N 字段 Equal to the total number of fields in the current application interface.

[0090] The complexity of the current application program interface in the current cycle is the number of fields of the current application program interface. For example, if the number of fields of a single API is 1-50, the complexity is set to level 1; if the number of fields is 51-100, the complexity is set to level 2; if the number of fields is 101-150, the complexity is set to level 3; if the number of fields is 151-200, the complexity is set to level 4; if the number of fields is greater than 201, the complexity is set to level 5.

[0091] The number of service software for the current application program interface in the current period is calculated as follows: for every additional service software for a single API, the number of service software increases by 1.

[0092] The present application provides a method for evaluating software access capabilities, including: calculating the total traffic, timeout rate, failure rate, monthly change frequency and daily activity rate generated by all application program interfaces in the current cycle of each software being evaluated as five indicators, ranking the five indicators of each software to obtain the ranking of the five indicators of each software, adding the rankings of the five indicators of each software as the quality score of each software, and obtaining the ranking of the access capabilities of each software according to the quality score. In this way, the business capabilities of mutual access between software systems can be better evaluated, providing an improvement basis for improving software quality.

[0093] Traditional software quality assessment methods are mostly based on software life cycle, software code coverage, etc., and no software quality assessment method based on API hosting services has been proposed. The software quality assessment method based on API hosting services proposed in the present invention can well evaluate the business capabilities of mutual access between software systems and provide an improvement basis for improving software quality. In addition, the method is highly operational, effectively evaluates the service quality between the caller and the service provider, and provides the service provider with a basis for improving quality through various data of the caller.

[0094] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0095] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0096] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.

[0097] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0098] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving 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 may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0099] Exemplary Devices

[0100] See also Figure 2 As shown, a software access capability evaluation device provided in an embodiment of the present application includes:

[0101] The first calculation unit 201 is used to calculate the total traffic, timeout rate, failure rate, monthly change frequency and daily activity rate generated by all application program interfaces in the current cycle of each software to be evaluated as five indicators;

[0102] Among them, the timeout rate is equal to the ratio of the traffic of all application interfaces timed out in the current cycle to the total traffic, the failure rate is equal to the ratio of the traffic of all application interfaces that failed in the current cycle to the total traffic, the monthly change frequency is equal to the number of changes of all application interfaces in the current cycle divided by the number of months included in the current cycle and then divided by the number of all application interfaces, and the daily activity rate is equal to the activity of all application interfaces in the current cycle divided by the number of days in the current cycle and then divided by the number of all application interfaces.

[0103] Wherein, if each application program interface generates traffic every day in the current period, the activity is increased by one, 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 application program interfaces in the current period;

[0104] A first ranking unit 202, configured to rank the five indicators of each software respectively to obtain the ranking of the five indicators of each software respectively;

[0105] The second ranking unit 203 is used to add up the rankings of the five indicators of each software as a quality score of each software, and obtain the access capability ranking of each software according to the quality score.

[0106] In a possible implementation manner, the device further includes:

[0107] A second calculation unit, used to calculate the daily activity index, monthly change rate and stability of the current application program interface in the current period;

[0108] The daily activity index is equal to the ratio of the number of active applications in the current cycle to the number of days in the current cycle, the monthly change rate of the current application interface is equal to the ratio of the number of changes of the current application interface in the current cycle to the number of months in the current cycle, and the stability of the current application interface is equal to the ratio of the fault flow of the current application interface in the current cycle to the total flow of the current application interface in the current cycle;

[0109] An evaluation unit is used to determine that the operation quality of the current application program interface is high when the daily activity index is greater than a first preset value, the monthly rate of change is less than a second preset value, and the stability is less than a third preset value.

[0110] In a possible implementation manner, the device further includes:

[0111] A third calculation unit, used to calculate the overlap, complexity and number of service software of the current application program interface in the current period;

[0112] The overlap degree is equal to the ratio of the maximum number of fields that overlap between the current application program interface field and another application program interface field and the total number of fields of the current application program interface.

[0113] In a possible implementation manner, the device further includes:

[0114] The fourth calculation unit is used to calculate the idle rate of all application program interfaces of each software to be evaluated in the current cycle respectively;

[0115] The idle rate is equal to the ratio of the number of idle application program interfaces in the current cycle to the total number of idle application program interfaces in the current cycle.

[0116] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0117] The functions described above herein 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 chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0118] Based on the above embodiment, the embodiment of the present application further provides a system for evaluating software access capability, including:

[0119] Memory for storing computer programs;

[0120] A processor is used to implement the steps of the above-mentioned software access capability evaluation method when executing the computer program.

[0121] On the basis of the above-mentioned embodiments, the embodiments of the present application further provide a computer-readable medium, on which a computer program is stored, and when the computer program is processed and executed, the steps of the above-mentioned software access capability evaluation method are implemented.

[0122] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0123] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0124] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart.

[0125] According to one or more embodiments of the present disclosure, a method for evaluating software access capability is provided, including:

[0126] The total traffic, timeout rate, failure rate, monthly change frequency, and daily activity rate generated by all application program interfaces in the current cycle of each software being evaluated are calculated as five indicators;

[0127] Among them, the timeout rate is equal to the ratio of the traffic of all application interfaces timed out in the current cycle to the total traffic, the failure rate is equal to the ratio of the traffic of all application interfaces that failed in the current cycle to the total traffic, the monthly change frequency is equal to the number of changes of all application interfaces in the current cycle divided by the number of months included in the current cycle and then divided by the number of all application interfaces, and the daily activity rate is equal to the activity of all application interfaces in the current cycle divided by the number of days in the current cycle and then divided by the number of all application interfaces.

[0128] Wherein, if each application program interface generates traffic every day in the current period, the activity is increased by one, 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 application program interfaces in the current period;

[0129] Ranking the five indicators of each software respectively to obtain the rankings of the five indicators of each software respectively;

[0130] The rankings of the five indicators of each software are added together as the quality score of each software, and the access capability ranking of each software is obtained according to the quality score.

[0131] According to one or more embodiments of the present disclosure, a method for evaluating software access capability is provided, further comprising:

[0132] Calculate the daily activity index, monthly rate of change and stability of the current application program interface during the current period;

[0133] The daily activity index is equal to the ratio of the number of active applications in the current cycle to the number of days in the current cycle, the monthly change rate of the current application interface is equal to the ratio of the number of changes of the current application interface in the current cycle to the number of months in the current cycle, and the stability of the current application interface is equal to the ratio of the fault flow of the current application interface in the current cycle to the total flow of the current application interface in the current cycle;

[0134] When the daily activity index is greater than a first preset value, the monthly rate of change is less than a second preset value, and the stability is less than a third preset value, it is considered that the running quality of the current application program interface is high.

[0135] According to one or more embodiments of the present disclosure, a method for evaluating software access capability is provided, further comprising:

[0136] Calculating the overlap, complexity and number of service software of the current application program interface in the current period;

[0137] The overlap degree is equal to the ratio of the maximum number of fields that overlap between the current application program interface field and another application program interface field and the total number of fields of the current application program interface.

[0138] According to one or more embodiments of the present disclosure, a method for evaluating software access capability is provided, further comprising:

[0139] Calculate the idle rate of all application program interfaces in the current cycle of each software being evaluated;

[0140] The idle rate is equal to the ratio of the number of idle application program interfaces in the current cycle to the total number of idle application program interfaces in the current cycle.

[0141] According to one or more embodiments of the present disclosure, a software access capability evaluation device is provided, comprising:

[0142] The first calculation unit is used to calculate the total traffic, timeout rate, failure rate, monthly change frequency and daily activity rate generated by all application program interfaces in the current cycle of each software being evaluated as five indicators;

[0143] Among them, the timeout rate is equal to the ratio of the traffic of all application interfaces timed out in the current cycle to the total traffic, the failure rate is equal to the ratio of the traffic of all application interfaces that failed in the current cycle to the total traffic, the monthly change frequency is equal to the number of changes of all application interfaces in the current cycle divided by the number of months included in the current cycle and then divided by the number of all application interfaces, and the daily activity rate is equal to the activity of all application interfaces in the current cycle divided by the number of days in the current cycle and then divided by the number of all application interfaces.

[0144] Wherein, if each application program interface generates traffic every day in the current period, the activity is increased by one, 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 application program interfaces in the current period;

[0145] A first ranking unit, used for ranking the five indicators of each software respectively to obtain the ranking of the five indicators of each software respectively;

[0146] The second ranking unit is used to add up the rankings of the five indicators of each software as the quality score of each software, and obtain the access capability ranking of each software according to the quality score.

[0147] According to one or more embodiments of the present disclosure, a software access capability evaluation device is provided, further comprising:

[0148] A second calculation unit, used to calculate the daily activity index, monthly change rate and stability of the current application program interface in the current period;

[0149] The daily activity index is equal to the ratio of the number of active applications in the current cycle to the number of days in the current cycle, the monthly change rate of the current application interface is equal to the ratio of the number of changes of the current application interface in the current cycle to the number of months in the current cycle, and the stability of the current application interface is equal to the ratio of the fault flow of the current application interface in the current cycle to the total flow of the current application interface in the current cycle;

[0150] An evaluation unit is used to determine that the operation quality of the current application program interface is high when the daily activity index is greater than a first preset value, the monthly rate of change is less than a second preset value, and the stability is less than a third preset value.

[0151] According to one or more embodiments of the present disclosure, a software access capability evaluation device is provided, further comprising:

[0152] A third calculation unit, used to calculate the overlap, complexity and number of service software of the current application program interface in the current period;

[0153] The overlap degree is equal to the ratio of the maximum number of fields that overlap between the current application program interface field and another application program interface field and the total number of fields of the current application program interface.

[0154] According to one or more embodiments of the present disclosure, a software access capability evaluation device is provided, further comprising:

[0155] The fourth calculation unit is used to calculate the idle rate of all application program interfaces of each software to be evaluated in the current cycle respectively;

[0156] The idle rate is equal to the ratio of the number of idle application program interfaces in the current cycle to the total number of idle application program interfaces in the current cycle.

[0157] According to one or more embodiments of the present disclosure, a system for evaluating software access capability is provided, including:

[0158] Memory for storing computer programs;

[0159] A processor is used to implement the steps of the above-mentioned software access capability evaluation method when executing the computer program.

[0160] According to one or more embodiments of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, and when the computer program is processed and executed, the steps of the software access capability evaluation method as described above are implemented.

[0161] The above is only a preferred implementation of the present application. Although the present application has been disclosed as a preferred embodiment, it is not intended to limit the present application. Any technician familiar with the art can use the above disclosed methods and technical contents to make many possible changes and modifications to the technical solution of the present application without departing from the scope of the technical solution of the present application, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application still falls within the scope of protection of the technical solution of the present application.

[0162] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

[0163] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.

[0164] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

Claims

1. A method for evaluating software access capability, characterized in that: include: The total traffic, timeout rate, failure rate, monthly change frequency, and daily activity rate generated by all application program interfaces in the current cycle of each software being evaluated are calculated as five indicators; Among them, the timeout rate is equal to the ratio of the traffic of all application interfaces timed out in the current cycle to the total traffic, the failure rate is equal to the ratio of the traffic of all application interfaces that failed in the current cycle to the total traffic, the monthly change frequency is equal to the number of changes of all application interfaces in the current cycle divided by the number of months included in the current cycle and then divided by the number of all application interfaces, and the daily activity rate is equal to the activity of all application interfaces in the current cycle divided by the number of days in the current cycle and then divided by the number of all application interfaces. Wherein, if each application program interface generates traffic every day in the current period, the activity is increased by one, 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 application program interfaces in the current period; Ranking the five indicators of each software respectively to obtain the rankings of the five indicators of each software respectively; The rankings of the five indicators of each software are added together as the quality score of each software, and the access capability ranking of each software is obtained according to the quality score.

2. The method according to claim 1, characterized in that The method further comprises: Calculate the daily activity index, monthly rate of change and stability of the current application program interface during the current period; The daily activity index is equal to the ratio of the number of active applications in the current cycle to the number of days in the current cycle, the monthly change rate of the current application interface is equal to the ratio of the number of changes of the current application interface in the current cycle to the number of months in the current cycle, and the stability of the current application interface is equal to the ratio of the fault flow of the current application interface in the current cycle to the total flow of the current application interface in the current cycle; When the daily activity index is greater than a first preset value, the monthly rate of change is less than a second preset value, and the stability is less than a third preset value, it is considered that the running quality of the current application program interface is high.

3. The method according to claim 2, characterized in that The method further comprises: Calculating the overlap, complexity and number of service software of the current application program interface in the current period; The overlap degree is equal to the ratio of the maximum number of fields that overlap between the current application program interface field and another application program interface field and the total number of fields of the current application program interface.

4. The method according to claim 1, characterized in that: The method further comprises: Calculate the idle rate of all application program interfaces of each software under evaluation in the current cycle respectively; The idle rate is equal to the ratio of the number of idle application program interfaces in the current cycle to the total number of idle application program interfaces in the current cycle.

5. A software access capability evaluation device, characterized in that: include: The first calculation unit is used to calculate the total traffic, timeout rate, failure rate, monthly change frequency and daily activity rate generated by all application program interfaces in the current cycle of each software being evaluated as five indicators; Among them, the timeout rate is equal to the ratio of the traffic of all application interfaces timed out in the current cycle to the total traffic, the failure rate is equal to the ratio of the traffic of all application interfaces that failed in the current cycle to the total traffic, the monthly change frequency is equal to the number of changes of all application interfaces in the current cycle divided by the number of months included in the current cycle and then divided by the number of all application interfaces, and the daily activity rate is equal to the activity of all application interfaces in the current cycle divided by the number of days in the current cycle and then divided by the number of all application interfaces. Wherein, if each application program interface generates traffic every day in the current period, the activity is increased by one, 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 application program interfaces in the current period; A first ranking unit, used for ranking the five indicators of each software respectively to obtain the ranking of the five indicators of each software respectively; The second ranking unit is used to add up the rankings of the five indicators of each software as the quality score of each software, and obtain the access capability ranking of each software according to the quality score.

6. The device according to claim 5, characterized in that The device also includes: A second calculation unit, used to calculate the daily activity index, monthly change rate and stability of the current application program interface in the current period; The daily activity index is equal to the ratio of the number of active applications in the current cycle to the number of days in the current cycle, the monthly change rate of the current application interface is equal to the ratio of the number of changes of the current application interface in the current cycle to the number of months in the current cycle, and the stability of the current application interface is equal to the ratio of the fault flow of the current application interface in the current cycle to the total flow of the current application interface in the current cycle; An evaluation unit is used to determine that the operation quality of the current application program interface is high when the daily activity index is greater than a first preset value, the monthly rate of change is less than a second preset value, and the stability is less than a third preset value.

7. The device according to claim 6, characterized in that The device also includes: A third calculation unit, used to calculate the overlap, complexity and number of service software of the current application program interface in the current period; The overlap degree is equal to the ratio of the maximum number of fields that overlap between the current application program interface field and another application program interface field and the total number of fields of the current application program interface.

8. The device according to claim 5, characterized in that The device also includes: The fourth calculation unit is used to calculate the idle rate of all application program interfaces of each software to be evaluated in the current cycle respectively; The idle rate is equal to the ratio of the number of idle application program interfaces in the current cycle to the total number of idle application program interfaces in the current cycle.

9. A system for evaluating software access capability, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the software access capability evaluation method as described in any one of claims 1 to 4 when executing the computer program.

10. A computer-readable medium, characterized in that The computer-readable medium stores a computer program, which, when executed, implements the steps of the software access capability evaluation method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Methods and systems for aggregated multi-application behavioral analysis of mobile device behaviors

    CN106716382A

  • Application program evaluation method and device based on big data, medium and electronic equipment

    CN109960650A

  • Layered stochastic anonymization of data

    CN112005255A

  • Software quality evaluation method and device

    CN113342634A

  • System for automating calculation of a comprehensibility score for a software program

    US9436446B1