CN115952085B - Middleware system supporting rapid test development - Google Patents

Middleware system supporting rapid test development Download PDF

Info

Publication number
CN115952085B
CN115952085B CN202211616389.3A CN202211616389A CN115952085B CN 115952085 B CN115952085 B CN 115952085B CN 202211616389 A CN202211616389 A CN 202211616389A CN 115952085 B CN115952085 B CN 115952085B
Authority
CN
China
Prior art keywords
test
value
interface
data
module
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.)
Active
Application number
CN202211616389.3A
Other languages
Chinese (zh)
Other versions
CN115952085A (en
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.)
Guangzhou Aipu Information Technology Co ltd
Original Assignee
Guangzhou Aipu Information 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 Guangzhou Aipu Information Technology Co ltd filed Critical Guangzhou Aipu Information Technology Co ltd
Priority to CN202211616389.3A priority Critical patent/CN115952085B/en
Publication of CN115952085A publication Critical patent/CN115952085A/en
Application granted granted Critical
Publication of CN115952085B publication Critical patent/CN115952085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application belongs to the field of software development, relates to a data analysis technology, and is used for solving the problem that the software development efficiency is low because the existing middleware system cannot debug an SDK to an optimal running state, in particular to a middleware system for quickly developing software, which comprises an interface test module, an operation analysis module, an update monitoring module and a storage module, wherein the interface test module, the operation analysis module and the update monitoring module are all in communication connection with the storage module, the interface test module is also in communication connection with the operation analysis module, and the interface test module is used for carrying out software interface test analysis on the middleware system; the application can test and analyze the software interface of the middleware system, monitor and feed back the running state of each software interface through the test coefficient, and detect the application suitability of each software interface through the test value and the fluctuation value, thereby debugging the software interface of the SDK to the optimal running state.

Description

Middleware system supporting rapid test development
Technical Field
The application belongs to the field of software development, relates to a data analysis technology, and particularly relates to a middleware system for rapidly developing software.
Background
A software development kit is a collection of development tools used by software engineers to create application software for a particular software package, software framework, hardware platform, operating system, etc., and generally an SDK, i.e., an SDK used to develop applications under a Windows platform, facilitates the creation of applications by means of compilers, debuggers, software frameworks, etc. It may simply provide some files of application programming interface APIs for a programming language, but may also include complex hardware that can communicate with an embedded system.
The existing middleware system for rapidly developing software does not have the functions of performing interface test, operation scene analysis and the like on the SDK, and further cannot debug the SDK to an optimal operation state, so that the problems of low software development efficiency, high downtime probability and high packet loss rate are caused. The application provides a solution to the technical problem.
Disclosure of Invention
The application aims to provide a middleware system for rapidly developing software, which is used for solving the problem that the software development efficiency is low because the existing middleware system cannot debug an SDK to an optimal running state;
the technical problems to be solved by the application are as follows: how to provide a middleware system for rapidly developing software capable of debugging an SDK to an optimal running state.
The aim of the application can be achieved by the following technical scheme:
the middleware system for rapidly developing the software comprises an interface test module, an operation analysis module, an updating monitoring module and a storage module, wherein the interface test module, the operation analysis module and the updating monitoring module are all in communication connection with the storage module, and the interface test module is also in communication connection with the operation analysis module;
the interface test module is used for carrying out software interface test analysis on the middleware system: marking a software interface as a test object i, wherein i=1, 2, …, n and n are positive integers, acquiring specification data GGi, response data XYi and null data KZi of the test object i, and performing numerical calculation on the specification data GGi, the response data XYi and the null data KZi of the test object i to obtain a test coefficient CSI of the test object i; summing test coefficients CSI of a test object i to obtain a test value, establishing a test set of the test coefficients CSI of the test object i, performing variance calculation on the test set to obtain a fluctuation value, obtaining a test threshold and a fluctuation threshold through a storage module, comparing the test value and the fluctuation value with the test threshold and the fluctuation threshold respectively, and judging whether a software interface test result is qualified or not through a comparison result;
the operation analysis module is used for performing operation test analysis on the interface: establishing an operation environment set through an SDK operation scene; performing operation test on the SDK with qualified software interface test results under the element environment of the operation environment set to obtain a plurality of groups of operation data, wherein each group of operation data comprises downtime data DJ, overtime data CS and invalid data WX, and performing numerical calculation on the downtime data DJ, the overtime data CS and the invalid data WX to obtain an operation coefficient YX of the element environment; establishing an operation set of operation coefficients YX corresponding to the six groups of operation data, performing variance calculation on the operation set to obtain a stability coefficient, acquiring a stability threshold value through a storage module, comparing the stability coefficient with the stability threshold value, and judging whether the stability of the operation test meets the requirement or not through a comparison result;
the update monitoring module is used for periodically carrying out update monitoring analysis on the connection interface developed by the software.
As a preferred embodiment of the present application, the procedure for acquiring the specification data GGi of the test object i includes: the method comprises the steps of acquiring the SDK quantity and the specification standard of a test object, marking the average value of the maximum value and the minimum value of the specification standard as the standard quantity, marking the absolute value of the difference value between the SDK quantity and the standard quantity of the test object as specification data GGi, and acquiring response data XYi and null value data KZi of the test object i, wherein the acquisition process comprises the following steps: and carrying out transmission test on the test object i, obtaining the sending times of response requests and the number of response requests of the test object i in the transmission test process, marking the absolute value of the difference value between the sending times of the response requests and the response request quantity as response data XYi, and checking null data KZi as the times of checking the necessary transmission field as null value in the transmission test process.
As a preferred embodiment of the present application, the specific process of comparing the test value and the fluctuation value with the test threshold and the fluctuation threshold respectively includes: if the test value is smaller than the test threshold value and the fluctuation value is smaller than the fluctuation threshold value, judging that the test result of the software interface is qualified, and sending a test qualified signal to an operation analysis module by the interface test module; otherwise, judging the software interface test result as unqualified, and sending the unqualified test signal to the mobile phone terminal of the manager by the interface test module.
As a preferred embodiment of the present application, the process for obtaining the downtime data DJ in the operation data includes: marking the downtime times of the operation process of the SDK in the corresponding element environment as downtime data DJ; the acquiring process of the timeout data CS in the operation data includes: acquiring response timeout times XC and timeout total duration CZ of the SDK in the running process under the corresponding element environment, and obtaining timeout data CS through a formula CS=β1XC+β2XCZ, wherein β1 and β2 are proportionality coefficients, and β1 is more than β2 is more than 1; the acquisition process of invalid data WX in the operation data comprises the following steps: and acquiring the non-response times of the SDK in the running process under the corresponding element environment and marking the non-response times as invalid data WS.
As a preferred embodiment of the present application, the specific process of comparing the stability factor with the stability threshold value includes: if the stability coefficient is smaller than the stability threshold, judging that the running test stability of the interface meets the requirement, sending a stable qualified signal to a mobile phone terminal of a manager by the running analysis module, marking an element environment with the minimum running coefficient value as a recommended environment, matching the recommended environment with the SDK, and sending the recommended environment with the SDK to the storage module for storage; if the stability coefficient is greater than or equal to the stability threshold, judging that the running test stability of the interface does not meet the requirement, and sending a stability disqualification signal to the mobile phone terminal of the manager by the running analysis module.
As a preferred embodiment of the application, the specific process of periodically carrying out update monitoring analysis on the connection interface of the software development by the update monitoring module comprises the following steps: setting a monitoring period, respectively acquiring the number values of the connection interfaces at the beginning and the end of the monitoring period, comparing, and if the number values of the connection interfaces at the beginning and the end of the monitoring period are consistent, not performing updating analysis; if the quantity values of the connection interfaces at the beginning and the end of the monitoring period are inconsistent, updating analysis is carried out.
As a preferred embodiment of the present application, the specific process of updating analysis includes: the method comprises the steps of carrying out software interface test analysis at the end of a monitoring period to obtain a test value and a fluctuation value, marking the absolute value of the difference value between the test value at the end of the monitoring period and the test value at the beginning of the monitoring period as a measurement value CF, marking the absolute value of the difference value between the fluctuation value at the end of the monitoring period and the fluctuation value at the beginning of the monitoring period as a fluctuation value BF, carrying out numerical calculation on the measurement value CF and the fluctuation value BF to obtain an update coefficient GX, obtaining an update threshold GXmax through a storage module, and comparing the update coefficient GX with the update threshold GXmax: if the update coefficient GX is smaller than the update threshold GXmax, judging that the influence of the interface update on the software development efficiency meets the requirement, and marking the label value of the variable interface as stable; if the update coefficient GX is larger than or equal to the update threshold GX, judging that the influence of the interface update on the software development efficiency does not meet the requirement, and marking the tag value of the change interface as fluctuation; and sending the tag value of the change interface to a storage module for storage, wherein the change interface comprises a new interface and a deletion interface.
As a preferred embodiment of the application, the running method of the middleware system for rapidly developing the software comprises the following steps:
step one: and performing software interface test analysis on the middleware system: marking the software interface as a plurality of test objects, acquiring specification data, response data and null data of the test objects, performing numerical calculation to obtain a test value and a fluctuation value, and judging whether the test result of the software interface is qualified or not according to the numerical values of the test value and the fluctuation value;
step two: performing operation test analysis on the interface: establishing an operation environment set through an SDK operation scene, performing operation test on the SDK with a qualified software interface test result under the element environment of the operation environment set to obtain six groups of operation data and operation coefficients of the operation data, performing numerical calculation on the operation coefficients to obtain stability coefficients, and judging whether the operation test stability of the interface meets the requirement or not through the numerical value of the stability coefficients;
step three: and periodically updating, monitoring and analyzing the connection interface of the software development: setting a monitoring period, respectively acquiring the number value of the connection interfaces at the beginning and the end of the monitoring period, comparing the number value, and carrying out updating analysis necessity judgment through the comparison result.
The application has the following beneficial effects:
1. the interface test module can be used for carrying out software interface test analysis on the middleware system, monitoring and feeding back the running state of each software interface through the test coefficient, and detecting the application suitability of each software interface through the test value and the fluctuation value, so that the software interface of the SDK is debugged to the optimal running state, and the software development efficiency is improved;
2. the operation analysis module can perform operation test analysis on interfaces, the scene of the operation environment set is built, data support is provided for multi-scene operation of the SDK, the SDK is operated under a plurality of element environments to obtain a plurality of groups of operation coefficients, so that operation differences in the operation scenes are fed back, meanwhile, optimal operation environment screening is performed, stability is monitored, and meanwhile, the optimal operation scenes are obtained through screening; the connection interface of the software development can be updated, monitored and analyzed regularly through the update monitoring module, the update state is monitored through the interface quantity value, the update analysis is carried out when the monitoring period is finished, and meanwhile, the label value of the update interface is marked, so that the adaptation degree of the interface and the software development is fed back, and meanwhile, the interface compatibility of the SDK can be detected.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a system block diagram of a first embodiment of the present application; fig. 2 is a flowchart of a method according to a second embodiment of the application.
Detailed Description
The technical solutions of the present application will be clearly and completely described in connection with the embodiments, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Example 1
As shown in FIG. 1, the middleware system for rapidly developing software comprises an interface test module, an operation analysis module, an update monitoring module and a storage module, wherein the interface test module, the operation analysis module and the update monitoring module are all in communication connection with the storage module, and the interface test module is also in communication connection with the operation analysis module.
The interface test module is used for carrying out software interface test analysis on the middleware system: marking the software interface as a test object i, i=1, 2, …, n, n is a positive integer, and acquiring specification data GGi, response data XYi and null data KZi of the test object i, where the acquiring procedure of the specification data GGi of the test object i includes: the method comprises the steps of acquiring the SDK quantity and the specification standard of a test object, marking the average value of the maximum value and the minimum value of the specification standard as the standard quantity, marking the absolute value of the difference value between the SDK quantity and the standard quantity of the test object as specification data GGi, and acquiring response data XYi and null value data KZi of the test object i, wherein the acquisition process comprises the following steps: the method comprises the steps of performing transmission test on a test object i, obtaining the sending times of response requests and the number of response requests of the test object i in the transmission test process, marking the absolute value of the difference value between the sending times of the response requests and the response request quantity as response data XYi, wherein null data KZi is the times of checking a necessary transmission field as a null value in the transmission test process, obtaining a test coefficient CSI of the test object i through a formula of CSI=α1xGGi+α2xYi+α3 xKZi, wherein the test coefficient is a numerical value reflecting the test state of the test object when the test object performs software interface test, and the smaller the numerical value of the test coefficient is, the better the test state of the corresponding test object when the test object performs software interface test; wherein, alpha 1, alpha 2 and alpha 3 are all proportional coefficients, and alpha 1 > alpha 2 > alpha 3 > 1; summing test coefficients CSI of a test object i, averaging to obtain a test value, establishing a test set by the test coefficients CSI of the test object i, calculating variance of the test set to obtain a fluctuation value, obtaining a test threshold and a fluctuation threshold by a storage module, and comparing the test value and the fluctuation value with the test threshold and the fluctuation threshold respectively: if the test value is smaller than the test threshold value and the fluctuation value is smaller than the fluctuation threshold value, judging that the test result of the software interface is qualified, and sending a test qualified signal to an operation analysis module by the interface test module; otherwise, judging that the software interface test result is unqualified, and sending a test unqualified signal to a mobile phone terminal of a manager by the interface test module; and performing software interface test analysis on the middleware system, monitoring and feeding back the running state of each software interface through test coefficients, and detecting the application suitability of each software interface through test values and fluctuation values, so that the software interface of the SDK is debugged to the optimal running state, and the software development efficiency is improved.
The operation analysis module is used for performing operation test analysis on the interface: establishing an operation environment set through the SDK operation scene, wherein elements of the operation environment set comprise: android environment, colorOS environment, WIFI environment, networking environment and weak network environment; performing operation test on the SDK with qualified software interface test result under the element environment of the operation environment set to obtain six groups of operation data, wherein each group of operation data comprises downtime data DJ, overtime data CS and invalid data WX, and the acquisition process of the downtime data DJ in the operation data comprises the following steps: marking the downtime times of the operation process of the SDK in the corresponding element environment as downtime data DJ; the acquiring process of the timeout data CS in the operation data includes: acquiring response timeout times XC and timeout total duration CZ of the SDK in the running process under the corresponding element environment, and obtaining timeout data CS through a formula CS=β1XC+β2XCZ, wherein β1 and β2 are proportionality coefficients, and β1 is more than β2 is more than 1; the acquisition process of invalid data WX in the operation data comprises the following steps: acquiring non-response times of the SDK in the operation process under the corresponding element environment, marking the non-response times as invalid data WS, and obtaining an operation coefficient YX of the element environment through a formula YX=γ1DJ+γ2CS+γ3WS, wherein the operation coefficient is a numerical value reflecting the degree of the operation state of the SDK under the element environment, and the smaller the numerical value of the operation coefficient is, the better the operation state of the SDK under the corresponding element environment is indicated; wherein, gamma 1, gamma 2 and gamma 3 are all proportional coefficients, and gamma 1 > gamma 2 > gamma 3 > 1; an operation set is established according to the operation coefficients YX corresponding to the six groups of operation data, variance calculation is carried out on the operation set to obtain a stability coefficient, a stability threshold value is obtained through a storage module, and the stability coefficient is compared with the stability threshold value: if the stability coefficient is smaller than the stability threshold, judging that the running test stability of the interface meets the requirement, sending a stable qualified signal to a mobile phone terminal of a manager by the running analysis module, marking an element environment with the minimum running coefficient value as a recommended environment, matching the recommended environment with the SDK, and sending the recommended environment with the SDK to the storage module for storage; if the stability coefficient is greater than or equal to the stability threshold, judging that the running test stability of the interface does not meet the requirement, and sending a stability disqualification signal to a mobile phone terminal of a manager by the running analysis module; and performing operation test analysis on the interface, setting up a scene of an operation environment set, providing data support for multi-scene operation of the SDK, and operating the SDK under a plurality of element environments to obtain a plurality of groups of operation coefficients, so as to feed back operation differences in the operation scenes, and simultaneously, screening an optimal operation environment, monitoring stability and screening to obtain the optimal operation scene.
The update monitoring module is used for periodically carrying out update monitoring analysis on the connection interface of the software development: setting a monitoring period, respectively acquiring the number values of the connection interfaces at the beginning and the end of the monitoring period, comparing, and if the number values of the connection interfaces at the beginning and the end of the monitoring period are consistent, not performing updating analysis; if the quantity values of the connection interfaces at the beginning and the end of the monitoring period are inconsistent, updating analysis is carried out: the method comprises the steps of performing software interface test analysis at the end of a monitoring period to obtain a test value and a fluctuation value, marking the absolute value of the difference value between the test value at the end of the monitoring period and the test value at the beginning of the monitoring period as a measurement value CF, marking the absolute value of the difference value between the fluctuation value at the end of the monitoring period and the fluctuation value at the beginning of the monitoring period as a fluctuation value BF, obtaining an update coefficient GX through a formula GX=t1+t2×BF, obtaining an update threshold GXmax through a storage module, and comparing the update coefficient GX with the update threshold GXmax: if the update coefficient GX is smaller than the update threshold GXmax, judging that the influence of the interface update on the software development efficiency meets the requirement, and marking the label value of the variable interface as stable; if the update coefficient GX is larger than or equal to the update threshold GX, judging that the influence of the interface update on the software development efficiency does not meet the requirement, and marking the tag value of the change interface as fluctuation; the label value of the change interface is sent to a storage module for storage, and the change interface comprises a new interface and a deletion interface; the connection interface of the software development is updated, monitored and analyzed, the update state is monitored through the interface quantity value, the update analysis is carried out when the monitoring period is finished, and meanwhile, the label value of the update interface is marked, so that the adaptation degree of the interface and the software development is fed back, and meanwhile, the interface compatibility of the SDK can be detected.
Example two
As shown in fig. 2, a middleware system operation method for rapidly developing software includes the following steps:
step one: and performing software interface test analysis on the middleware system: marking the software interface as a plurality of test objects, acquiring specification data, response data and null data of the test objects, performing numerical calculation to obtain a test value and a fluctuation value, and judging whether the test result of the software interface is qualified or not according to the numerical values of the test value and the fluctuation value;
step two: performing operation test analysis on the interface: establishing an operation environment set through an SDK operation scene, performing operation test on the SDK with a qualified software interface test result under the element environment of the operation environment set to obtain six groups of operation data and operation coefficients of the operation data, performing numerical calculation on the operation coefficients to obtain stability coefficients, and judging whether the operation test stability of the interface meets the requirement or not through the numerical value of the stability coefficients;
step three: and periodically updating, monitoring and analyzing the connection interface of the software development: setting a monitoring period, respectively acquiring the number value of the connection interfaces at the beginning and the end of the monitoring period, comparing the number value, and carrying out updating analysis necessity judgment through the comparison result.
And when the middleware system for rapidly developing the software works, the software interface test analysis is carried out on the middleware system: marking the software interfaces as a plurality of test objects, acquiring specification data, response data and null data of the test objects, performing numerical calculation to obtain test values and fluctuation values, and detecting application suitability among the software interfaces according to the numerical values of the test values and the fluctuation values, so that the software interfaces of the SDK are debugged to an optimal running state, and the software development efficiency is improved; performing operation test analysis on the interface: an operation environment set is established through the SDK operation scene, the operation test of the SDK with the qualified software interface test result is carried out under the element environment of the operation environment set to obtain six groups of operation data and the operation coefficient of the operation data, the operation coefficient is calculated to obtain a stable coefficient, whether the operation test stability of the interface meets the requirement or not is judged through the value of the stable coefficient, the operation difference in the operation scene is fed back, the optimal operation environment screening is carried out, the stability is monitored, and the optimal operation scene is screened to obtain.
The foregoing is merely illustrative of the structures of this application and various modifications, additions and substitutions for those skilled in the art can be made to the described embodiments without departing from the scope of the application or from the scope of the application as defined in the accompanying claims.
The formulas are all formulas obtained by collecting a large amount of data for software simulation and selecting a formula close to a true value, and coefficients in the formulas are set by a person skilled in the art according to actual conditions; such as: the formula csi=α1×ggi+α2×xi+α3×kzi; collecting a plurality of groups of sample data by a person skilled in the art and setting a corresponding test coefficient for each group of sample data; substituting the set test coefficient and the acquired sample data into a formula, forming a ternary one-time equation set by any three formulas, screening the calculated coefficient, and taking an average value to obtain values of alpha 1, alpha 2 and alpha 3 of 5.68, 3.47 and 2.15 respectively;
the size of the coefficient is a specific numerical value obtained by quantizing each parameter, so that the subsequent comparison is convenient, and the size of the coefficient depends on the number of sample data and the corresponding test coefficient is preliminarily set for each group of sample data by a person skilled in the art; as long as the proportional relation between the parameter and the quantized value is not affected, for example, the test coefficient is directly proportional to the value of the response data.
In the description of the present specification, the descriptions of the terms "one embodiment," "example," "specific example," and the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The preferred embodiments of the application disclosed above are intended only to assist in the explanation of the application. The preferred embodiments are not intended to be exhaustive or to limit the application to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and the full scope and equivalents thereof.

Claims (3)

1. The middleware system supporting rapid test development is characterized by comprising an interface test module, an operation analysis module, an updating monitoring module and a storage module, wherein the interface test module, the operation analysis module and the updating monitoring module are all in communication connection with the storage module, and the interface test module is also in communication connection with the operation analysis module;
the interface test module is used for carrying out software interface test analysis on the middleware system: marking a software interface as a test object i, wherein i=1, 2, …, n and n are positive integers, acquiring specification data GGi, response data XYi and null data KZi of the test object i, and performing numerical calculation on the specification data GGi, the response data XYi and the null data KZi of the test object i to obtain a test coefficient CSI of the test object i; summing test coefficients CSI of a test object i to obtain a test value, establishing a test set of the test coefficients CSI of the test object i, performing variance calculation on the test set to obtain a fluctuation value, obtaining a test threshold and a fluctuation threshold through a storage module, comparing the test value and the fluctuation value with the test threshold and the fluctuation threshold respectively, and judging whether a software interface test result is qualified or not through a comparison result;
the operation analysis module is used for performing operation test analysis on the interface: establishing an operation environment set through an SDK operation scene; performing operation test on the SDK with qualified software interface test results under the element environment of the operation environment set to obtain a plurality of groups of operation data, wherein each group of operation data comprises downtime data DJ, overtime data CS and invalid data WX, and performing numerical calculation on the downtime data DJ, the overtime data CS and the invalid data WX to obtain an operation coefficient YX of the element environment; establishing an operation set of operation coefficients YX corresponding to the six groups of operation data, performing variance calculation on the operation set to obtain a stability coefficient, acquiring a stability threshold value through a storage module, comparing the stability coefficient with the stability threshold value, and judging whether the stability of the operation test meets the requirement or not through a comparison result;
the update monitoring module is used for periodically carrying out update monitoring analysis on a connection interface developed by software;
the process of acquiring the specification data GGi of the test object i includes: the method comprises the steps of acquiring the SDK quantity and the specification standard of a test object, marking the average value of the maximum value and the minimum value of the specification standard as the standard quantity, marking the absolute value of the difference value between the SDK quantity and the standard quantity of the test object as specification data GGi, and acquiring response data XYi and null value data KZi of the test object i, wherein the acquisition process comprises the following steps: performing transmission test on the test object i, obtaining the sending times of response requests and the number of response requests of the test object i in the transmission test process, marking the absolute value of the difference value between the sending times of the response requests and the response request quantity as response data XYi, and checking null value data KZi as the times of checking null value of a necessary transmission field in the transmission test process;
the specific process for comparing the test value and the fluctuation value with the test threshold value and the fluctuation threshold value respectively comprises the following steps: if the test value is smaller than the test threshold value and the fluctuation value is smaller than the fluctuation threshold value, judging that the test result of the software interface is qualified, and sending a test qualified signal to an operation analysis module by the interface test module; otherwise, judging that the software interface test result is unqualified, and sending a test unqualified signal to a mobile phone terminal of a manager by the interface test module;
the calculation formula of the test coefficient CSi of the test object i is csi=α1ggi+α2xyi+α3kzi, wherein α1, α2 and α3 are all proportional coefficients, and α1 > α2 > α3 > 1;
the obtaining process of the downtime data DJ in the operation data comprises the following steps: marking the downtime times of the operation process of the SDK in the corresponding element environment as downtime data DJ; the acquiring process of the timeout data CS in the operation data includes: acquiring response timeout times XC and timeout total duration CZ of the SDK in the running process under the corresponding element environment, and obtaining timeout data CS through a formula CS=β1XC+β2XCZ, wherein β1 and β2 are proportionality coefficients, and β1 is more than β2 is more than 1; the acquisition process of invalid data WX in the operation data comprises the following steps: acquiring non-response times of the SDK in the running process under the corresponding element environment and marking the non-response times as invalid data WS;
the calculation formula of the operation coefficient YX of the element environment is YX=γ1DJ+γ2CS+γ3WS, wherein γ1, γ2 and γ3 are proportionality coefficients, and γ1 > γ2 > γ3 > 1;
the specific process of the update monitoring module for periodically carrying out update monitoring analysis on the connection interface of the software development comprises the following steps: setting a monitoring period, respectively acquiring the number values of the connection interfaces at the beginning and the end of the monitoring period, comparing, and if the number values of the connection interfaces at the beginning and the end of the monitoring period are consistent, not performing updating analysis; if the quantity values of the connection interfaces at the beginning and the end of the monitoring period are inconsistent, updating analysis is carried out;
the specific process of updating analysis comprises the following steps: the method comprises the steps of carrying out software interface test analysis at the end of a monitoring period to obtain a test value and a fluctuation value, marking the absolute value of the difference value between the test value at the end of the monitoring period and the test value at the beginning of the monitoring period as a measurement value CF, marking the absolute value of the difference value between the fluctuation value at the end of the monitoring period and the fluctuation value at the beginning of the monitoring period as a fluctuation value BF, carrying out numerical calculation on the measurement value CF and the fluctuation value BF to obtain an update coefficient GX, obtaining an update threshold GXmax through a storage module, and comparing the update coefficient GX with the update threshold GXmax: if the update coefficient GX is smaller than the update threshold GXmax, judging that the influence of the interface update on the software development efficiency meets the requirement, and marking the label value of the variable interface as stable; if the update coefficient GX is larger than or equal to the update threshold GX, judging that the influence of the interface update on the software development efficiency does not meet the requirement, and marking the tag value of the change interface as fluctuation; the label value of the change interface is sent to a storage module for storage, and the change interface comprises a new interface and a deletion interface;
the calculation formula of the update coefficient GX is gx=t1×cf+t2×bf.
2. The middleware system supporting rapid development according to claim 1, wherein the specific process of comparing the stability factor with the stability threshold comprises: if the stability coefficient is smaller than the stability threshold, judging that the running test stability of the interface meets the requirement, sending a stable qualified signal to a mobile phone terminal of a manager by the running analysis module, marking an element environment with the minimum running coefficient value as a recommended environment, matching the recommended environment with the SDK, and sending the recommended environment with the SDK to the storage module for storage; if the stability coefficient is greater than or equal to the stability threshold, judging that the running test stability of the interface does not meet the requirement, and sending a stability disqualification signal to the mobile phone terminal of the manager by the running analysis module.
3. A middleware system supporting rapid test development according to any one of claims 1-2, characterized in that the method of operation of the middleware system comprises the steps of:
step one: and performing software interface test analysis on the middleware system: marking the software interface as a plurality of test objects, acquiring specification data, response data and null data of the test objects, performing numerical calculation to obtain a test value and a fluctuation value, and judging whether the test result of the software interface is qualified or not according to the numerical values of the test value and the fluctuation value;
step two: performing operation test analysis on the interface: establishing an operation environment set through an SDK operation scene, performing operation test on the SDK with a qualified software interface test result under the element environment of the operation environment set to obtain six groups of operation data and operation coefficients of the operation data, performing numerical calculation on the operation coefficients to obtain stability coefficients, and judging whether the operation test stability of the interface meets the requirement or not through the numerical value of the stability coefficients;
step three: and periodically updating, monitoring and analyzing the connection interface of the software development: setting a monitoring period, respectively acquiring the number value of the connection interfaces at the beginning and the end of the monitoring period, comparing the number value, and carrying out updating analysis necessity judgment through the comparison result.
CN202211616389.3A 2022-12-15 2022-12-15 Middleware system supporting rapid test development Active CN115952085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211616389.3A CN115952085B (en) 2022-12-15 2022-12-15 Middleware system supporting rapid test development

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211616389.3A CN115952085B (en) 2022-12-15 2022-12-15 Middleware system supporting rapid test development

Publications (2)

Publication Number Publication Date
CN115952085A CN115952085A (en) 2023-04-11
CN115952085B true CN115952085B (en) 2023-08-22

Family

ID=87297531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211616389.3A Active CN115952085B (en) 2022-12-15 2022-12-15 Middleware system supporting rapid test development

Country Status (1)

Country Link
CN (1) CN115952085B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010034548A1 (en) * 2008-09-25 2010-04-01 Siemens Aktiengesellschaft Test module and method for testing an o/r imaging middleware
CN104380349A (en) * 2013-04-15 2015-02-25 弗莱克斯电子有限责任公司 Vehicle intruder alert detection and indication
CN105939373A (en) * 2016-01-29 2016-09-14 杭州迪普科技有限公司 Method and device for deleting invalid ARP table items
WO2017212496A2 (en) * 2016-06-08 2017-12-14 Veriversion Labs Ltd. Methods and systems of software testing, distribution, installation and deployment
CN112612472A (en) * 2020-12-11 2021-04-06 北京旷视科技有限公司 Embedded model SDK development method and development platform
CN113419946A (en) * 2021-05-31 2021-09-21 西南电子技术研究所(中国电子科技集团公司第十研究所) Ice interface test case and test script automatic generation method
CN113535582A (en) * 2021-07-30 2021-10-22 平安普惠企业管理有限公司 Interface testing method, device, equipment and computer readable storage medium
CN113624380A (en) * 2021-07-01 2021-11-09 南方电网调峰调频发电有限公司检修试验分公司 Isolator contact clamp force test system
CN114238021A (en) * 2021-12-20 2022-03-25 中国平安财产保险股份有限公司 SDK interface positioning method, device, equipment and computer storage medium
CN114665611A (en) * 2022-05-25 2022-06-24 融科能源系统(广东)有限公司 Power distribution cabinet operation intelligent monitoring management system based on data analysis
CN114911209A (en) * 2022-07-18 2022-08-16 巨野恒丰果蔬有限公司 Garlic processing wastewater treatment management system based on data analysis
CN115248772A (en) * 2021-04-28 2022-10-28 北京字跳网络技术有限公司 Interface testing method and device for software middleware
CN115330952A (en) * 2022-08-31 2022-11-11 广东粤通路桥工程有限公司 BIM-based road compaction synchronous monitoring and feedback control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11645293B2 (en) * 2018-12-11 2023-05-09 EXFO Solutions SAS Anomaly detection in big data time series analysis

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010034548A1 (en) * 2008-09-25 2010-04-01 Siemens Aktiengesellschaft Test module and method for testing an o/r imaging middleware
CN104380349A (en) * 2013-04-15 2015-02-25 弗莱克斯电子有限责任公司 Vehicle intruder alert detection and indication
CN105939373A (en) * 2016-01-29 2016-09-14 杭州迪普科技有限公司 Method and device for deleting invalid ARP table items
WO2017212496A2 (en) * 2016-06-08 2017-12-14 Veriversion Labs Ltd. Methods and systems of software testing, distribution, installation and deployment
CN112612472A (en) * 2020-12-11 2021-04-06 北京旷视科技有限公司 Embedded model SDK development method and development platform
CN115248772A (en) * 2021-04-28 2022-10-28 北京字跳网络技术有限公司 Interface testing method and device for software middleware
CN113419946A (en) * 2021-05-31 2021-09-21 西南电子技术研究所(中国电子科技集团公司第十研究所) Ice interface test case and test script automatic generation method
CN113624380A (en) * 2021-07-01 2021-11-09 南方电网调峰调频发电有限公司检修试验分公司 Isolator contact clamp force test system
CN113535582A (en) * 2021-07-30 2021-10-22 平安普惠企业管理有限公司 Interface testing method, device, equipment and computer readable storage medium
CN114238021A (en) * 2021-12-20 2022-03-25 中国平安财产保险股份有限公司 SDK interface positioning method, device, equipment and computer storage medium
CN114665611A (en) * 2022-05-25 2022-06-24 融科能源系统(广东)有限公司 Power distribution cabinet operation intelligent monitoring management system based on data analysis
CN114911209A (en) * 2022-07-18 2022-08-16 巨野恒丰果蔬有限公司 Garlic processing wastewater treatment management system based on data analysis
CN115330952A (en) * 2022-08-31 2022-11-11 广东粤通路桥工程有限公司 BIM-based road compaction synchronous monitoring and feedback control system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
测试用例自动生成方法的现状及研究;马亮;张刚;;现代电子技术(第06期);全文 *

Also Published As

Publication number Publication date
CN115952085A (en) 2023-04-11

Similar Documents

Publication Publication Date Title
CN107341098B (en) Software performance testing method, platform, equipment and storage medium
CN106874187B (en) Code coverage rate collection method and device
WO2017000424A1 (en) Protocol detection method and apparatus
Bento et al. Automated analysis of distributed tracing: Challenges and research directions
CN107957940B (en) Test log processing method, system and terminal
CN111756582A (en) Service chain monitoring method based on NFV log alarm
CN111639002B (en) Sleep power consumption testing method, system, computer equipment and storage medium
CN103760394A (en) Automatic processing method and device for measured data of oscilloscope
CN116954624B (en) Compiling method based on software development kit, software development system and server
CN114691521A (en) Software testing platform based on artificial intelligence
CN115952085B (en) Middleware system supporting rapid test development
CN112650656A (en) Performance monitoring method, device, equipment, server and storage medium
CN112148591A (en) Office software compatibility test system and method
CN115248782B (en) Automatic testing method and device and computer equipment
CN113238901B (en) Multi-device automatic testing method and device, storage medium and computer device
CN110780630A (en) Protocol library docking execution system suitable for Internet of things and working method
CN108153655B (en) Method for detecting drawing call quantity of virtual reality software and storage medium
CN112882915B (en) Object binding-based monitoring measuring point misconnection automatic detection method
CN110971483B (en) Pressure testing method and device and computer system
CN113609015A (en) Automatic test framework based on Bash Shell
CN115599621A (en) Micro-service abnormity diagnosis method, device, equipment and storage medium
CN109861789B (en) Assembly line telemetering data batch processing system suitable for slow-recording and fast-sending
CN103217942B (en) Retrieval of measurement values, diagnosis information or device parameters
CN113204332A (en) Intelligent household equipment control program generation system and method
CN112579429A (en) Problem positioning method and device

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
GR01 Patent grant
GR01 Patent grant