CN117616420A - Operating system performance detection method and device, electronic equipment and storage medium - Google Patents

Operating system performance detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117616420A
CN117616420A CN202280004597.XA CN202280004597A CN117616420A CN 117616420 A CN117616420 A CN 117616420A CN 202280004597 A CN202280004597 A CN 202280004597A CN 117616420 A CN117616420 A CN 117616420A
Authority
CN
China
Prior art keywords
remote control
operating system
target
image
control event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202280004597.XA
Other languages
Chinese (zh)
Inventor
常文欣
崔亮
任伟博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Publication of CN117616420A publication Critical patent/CN117616420A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/02Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]

Abstract

The disclosure provides an operating system performance detection method, an operating system performance detection device, electronic equipment and a storage medium, wherein the method comprises the following steps: determining a remote control event to be executed, wherein the remote control event to be executed comprises: the method comprises the steps of randomly controlling events and appointed remote control events, enabling the appointed remote control events to correspond to marked operation information, obtaining actual operation information generated by an operating system when executing remote control events to be executed, and determining performance information of the operating system according to the marked operation information and the actual operation information. According to the method and the device for detecting the performance of the operating system, the performance of the operating system can be detected by combining the random remote control event and the appointed remote control event, the performance detection efficiency of the operating system is effectively improved, and the accuracy and the robustness of the performance detection of the operating system are effectively improved.

Description

Operating system performance detection method and device, electronic equipment and storage medium Technical Field
The disclosure relates to the field of computer technology, and in particular, to a method and a device for detecting performance of an operating system, electronic equipment and a storage medium.
Background
Electronic devices often carry operating systems to implement support for application layer and user layer functions. The performance of the operating system can have a significant impact on the use experience of the electronic device. In the current operating system of an electronic device, when an application program is accessed, an access anomaly may occur, and the anomaly needs to be identified to realize the detection of the stability of the operating system of the electronic device, and in the related art, a random event mode is generally adopted to detect the stability of the operating system.
In this way, the targeted performance detection of the operating system cannot be realized, so that the detection efficiency is low and the reliability of the detection result is low.
Disclosure of Invention
The present disclosure aims to solve, at least to some extent, one of the technical problems in the related art.
Therefore, an object of the present disclosure is to provide a method, an apparatus, an electronic device, and a storage medium for detecting performance of an operating system, which can combine a random remote control event and a specified remote control event to detect performance of the operating system, so as to effectively improve efficiency of detecting performance of the operating system, and effectively improve accuracy and robustness of detecting performance of the operating system.
An operating system performance detection method provided by an embodiment of a first aspect of the present disclosure includes: determining a remote control event to be executed, wherein the remote control event to be executed comprises: the remote control system comprises a random remote control event and a specified remote control event, wherein the specified remote control event corresponds to marking operation information; acquiring actual running information generated by the operating system executing the remote control event to be executed; and determining the performance information of the operating system according to the labeling operation information and the actual operation information.
In one embodiment, the determining that a remote control event is to be performed includes: determining a target configuration proportion according to the performance detection requirement; selecting a first number of marked remote control events as the specified remote control events; generating a second number of random remote control events according to the target configuration proportion; and taking the first number of specified remote control events and the second number of random remote control events as the remote control events to be executed.
In one embodiment, the first number of tagged remote control events have a specified order of execution therebetween; before the obtaining the actual running information generated by the operating system executing the remote control event to be executed, the method further comprises the following steps: controlling the operating system to execute the specified remote control event based on the specified execution order; and controlling the operating system to randomly execute the random remote control event.
In one embodiment, the selecting the first number of tagged remote control events as the specified remote control event includes: selecting the first number of marked remote control events from a remote control event set as the specified remote control event, wherein the remote control event set comprises: the remote control system comprises a plurality of remote control event labeling, wherein the remote control event labeling corresponds to labeling operation information, and the labeling operation information indicates that the performance of the operating system when the remote control event labeling is executed does not accord with a performance index.
In one embodiment, the obtaining the actual running information generated by the operating system executing the remote control event to be executed includes: acquiring target running information of a target application triggered when the operating system executes the remote control event to be executed; and taking the target operation information as the actual operation information.
In one embodiment, the target operation information includes: triggering a target operation image when the target application is executed, wherein the marking operation information comprises: and triggering the annotation operation image when the annotation is applied.
In one embodiment, the determining the performance information of the operating system according to the labeling operation information and the actual operation information includes: acquiring the annotation image characteristics of the annotation application in the annotation operation image; performing image detection on the target running image to obtain target image characteristics of the target application; and determining the performance information of the operating system according to the marked image characteristics and the target image characteristics.
In one embodiment, the labeling operation information further includes: marking performance information corresponding to the marking operation image; wherein the determining performance information of the operating system according to the tagged image feature and the target image feature includes: and if the marked image features are the same as the target image features, taking the marked performance information as the performance information of the operating system.
In one embodiment, the target operation information further includes: triggering system operation information when the target application is triggered; wherein, the determining the performance information of the operating system according to the labeling image feature and the target image feature further includes: and if the marked image characteristic and the target image characteristic are different, determining the performance information of the operating system by combining the target image characteristic and the system running information.
In one embodiment, the performing image detection on the target running image to obtain a target image feature of the target application includes: inputting the target running image into a pre-trained image feature recognition model to obtain target image features of the target application output by the image feature recognition model; and training an initial artificial intelligent model according to the annotation running image and the annotation image characteristics when the annotation is triggered to be applied in advance until the artificial intelligent model converges, and taking the artificial intelligent model obtained through training as the image characteristic recognition model.
According to the operating system performance detection method provided by the embodiment of the first aspect of the present disclosure, a remote control event to be executed is determined, where the remote control event to be executed includes: the method comprises the steps of acquiring actual operation information generated by an operating system executing a remote control event to be executed according to marking operation information and the actual operation information, determining performance information of the operating system, detecting the performance of the operating system by combining the random remote control event and the specified remote control event, effectively improving the performance detection efficiency of the operating system, and effectively improving the accuracy and the robustness of the performance detection of the operating system.
An operating system performance detection apparatus according to an embodiment of a second aspect of the present disclosure includes: the first determining module is configured to determine a remote control event to be executed, where the remote control event to be executed includes: the remote control system comprises a random remote control event and a specified remote control event, wherein the specified remote control event corresponds to marking operation information; the acquisition module is used for acquiring actual running information generated by the operating system executing the remote control event to be executed; and the second determining module is used for determining the performance information of the operating system according to the marked operation information and the actual operation information.
In one embodiment, the first determining module is specifically configured to: determining a target configuration proportion according to the performance detection requirement; selecting a first number of marked remote control events as the specified remote control events; generating a second number of random remote control events according to the target configuration proportion; and taking the first number of specified remote control events and the second number of random remote control events as the remote control events to be executed.
In one embodiment, the first number of tagged remote control events have a specified order of execution therebetween; wherein the apparatus further comprises: the first execution module is used for controlling the operating system to execute the specified remote control event based on the specified execution sequence before the actual running information generated by the operating system executing the remote control event to be executed is acquired; and the second execution module is used for controlling the operating system to randomly execute the random remote control event.
In one embodiment, the first determining module is further configured to: selecting the first number of marked remote control events from a remote control event set as the specified remote control event, wherein the remote control event set comprises: the remote control system comprises a plurality of remote control event labeling, wherein the remote control event labeling corresponds to labeling operation information, and the labeling operation information indicates that the performance of the operating system when the remote control event labeling is executed does not accord with a performance index.
In one embodiment, the obtaining module is specifically configured to: acquiring target running information of a target application triggered when the operating system executes the remote control event to be executed; and taking the target operation information as the actual operation information.
In one embodiment, the target operation information includes: triggering a target operation image when the target application is executed, wherein the marking operation information comprises: and triggering the annotation operation image when the annotation is applied.
In one embodiment, the second determining module includes: the obtaining sub-module is used for obtaining the annotation image characteristics of the annotation application in the annotation operation image; the detection sub-module is used for carrying out image detection on the target running image to obtain target image characteristics of the target application; and the determining submodule is used for determining the performance information of the operating system according to the marked image characteristics and the target image characteristics.
In one embodiment, the labeling operation information further includes: marking performance information corresponding to the marking operation image; wherein, the determining submodule is specifically configured to: and if the marked image features are the same as the target image features, taking the marked performance information as the performance information of the operating system.
In one embodiment, the target operation information further includes: triggering system operation information when the target application is triggered; wherein the determining submodule is further configured to: and if the marked image characteristic and the target image characteristic are different, determining the performance information of the operating system by combining the target image characteristic and the system running information.
In one embodiment, the detection sub-module is specifically configured to: inputting the target running image into a pre-trained image feature recognition model to obtain target image features of the target application output by the image feature recognition model; and training an initial artificial intelligent model according to the annotation running image and the annotation image characteristics when the annotation is triggered to be applied in advance until the artificial intelligent model converges, and taking the artificial intelligent model obtained through training as the image characteristic recognition model.
According to the operating system performance detection device provided by the embodiment of the second aspect of the disclosure, a remote control event to be executed is determined, wherein the remote control event to be executed comprises: the method comprises the steps of acquiring actual operation information generated by an operating system executing a remote control event to be executed according to marking operation information and the actual operation information, determining performance information of the operating system, detecting the performance of the operating system by combining the random remote control event and the specified remote control event, effectively improving the performance detection efficiency of the operating system, and effectively improving the accuracy and the robustness of the performance detection of the operating system.
An embodiment of a third aspect of the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor executes the program to implement an operating system performance detection method as set forth in an embodiment of the first aspect of the present disclosure.
An embodiment of a fourth aspect of the present disclosure proposes a non-transitory computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements an operating system performance detection method as proposed by an embodiment of the first aspect of the present disclosure.
Embodiments of a fifth aspect of the present disclosure propose a computer program product, which when executed by a processor, performs an operating system performance detection method as proposed by embodiments of the first aspect of the present disclosure.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background of the present disclosure, the following description will explain the drawings that are required to be used in the embodiments or the background of the present disclosure.
FIG. 1 is a flow chart of a method for detecting performance of an operating system according to an embodiment of the disclosure;
FIG. 2 is a flow chart of a method for operating system performance detection according to another embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating a method for operating system performance detection according to another embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating an operating system performance detection apparatus according to an embodiment of the disclosure;
FIG. 5 is a schematic diagram of an operating system performance detection apparatus according to another embodiment of the disclosure;
fig. 6 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Fig. 1 is a flowchart of an operating system performance detection method according to an embodiment of the disclosure.
It should be noted that, the execution body of the operating system performance detection method in this embodiment is an operating system performance detection device, and the device may be implemented in a software and/or hardware manner, and the device may be configured in an electronic device, where the electronic device may include, but is not limited to, a terminal, a server, and the like.
For example, the terminal may be a television set top box, a television bar, etc., and the operating system is configured in the television set top box and the television bar, so that the performance of the operating system in the television set top box and the television bar can be effectively tested based on the operating system performance detection method in the embodiment of the disclosure, which is not limited.
As shown in fig. 1, the operating system performance detection method includes:
s101: determining a remote control event to be executed, wherein the remote control event to be executed comprises: the method comprises the steps of randomly controlling events and appointed remote control events, wherein the appointed remote control events correspond to marked running information.
The remote control event may be, for example, a click event, a trigger event of clicking an application program, a component, or the like in the operating system, such as a click event of clicking an application program a in the operating system, a jump event of corresponding jump occurring in response to the click event, or a call event of the application program a calling the application program B in response to the click event, where the remote control event may be identified and executed by the operating system to provide various operating system functions, and is not limited thereto.
The remote control event to be executed refers to a remote control event for testing to be executed in an operating system for detecting performance of the operating system, and the remote control event to be executed includes: the random remote control event refers to a test remote control event which is randomly triggered by the system and is used for detecting the performance of the operating system, the designated remote control event refers to a preset test remote control event which is used for detecting the performance of the operating system, and the designated remote control event can be, for example, a test remote control event which is used for detecting an application program in the operating system in a targeted manner.
In the embodiment of the disclosure, the operation information of the corresponding annotation of the specified remote control event can be preconfigured.
The labeling operation information may be related operation information generated after the operating system executes the remote control event, and the related operation information may be operation result information generated when the operating system executes the specified remote control event.
For example, when the operating system is a television stick operating system, the remote control event to be executed may be a click call of the simulated television remote controller to an application program in the television stick operating system, the random remote control event may be a random click call of the application program a in the television stick operating system, the specified remote control event may be a click of a preset application program B to be click-called, an event list including a plurality of remote control test events may be set, the test event is selected from the list as the specified test event, and the running result information of the application program generated after the click call of the application program may be used as the label running information corresponding to the specified remote control event.
In some embodiments, the specified remote control event may be a remote control event determined by a pre-test and possibly generating setting result information, and the corresponding setting result information may be, for example, information indicating that an application program is incompatible with an operating system, or may be, for example, information indicating that the application program may affect stable running of the operating system, and then the setting result information may be used as labeling running information.
That is, when a specified remote control event is preconfigured, the phenomenon that performance is poor is represented when an operating system in the electronic device executes the specified remote control event, and at the moment, the determination range of the remote control event for performance detection can be effectively shortened, so that when the performance detection is carried out on the operating system based on the remote control event, a key remote control event can be effectively hit, the performance detection efficiency is improved, and meanwhile, the performance detection effect is effectively improved.
In the embodiment of the disclosure, when a remote control event to be executed is determined, a random remote control event and a specified remote control event can be respectively determined, a program identifier of an application program in an operating system can be obtained, a remote control program simulation remote controller is called in the operating system, the application program is clicked randomly according to the program identifier of the application program to determine the random remote control event, when the specified remote control event is determined, a test event list running on the system and running result information corresponding to the test event in the list can be obtained from a database, the test event is selected from the test event list to serve as the specified remote control event, and the running result information corresponding to the selected test event is used as labeling running information corresponding to the specified remote control event.
S102: and acquiring actual running information generated by the operating system executing the remote control event to be executed.
The actual operation information refers to actual operation result information generated when the operating system executes the remote control event to be executed, and the actual operation information may describe an operation condition of the remote control event to be executed, for example, whether the remote control event to be executed is abnormal in the execution process, and when the remote control event to be executed is abnormal in the execution process, the actual operation information may also be information such as blue screen, black screen, etc. in the operation process, or may also be operation result information in any other possible form, which is not limited.
After the random remote control event and the specified remote control event are respectively determined as the remote control event to be executed, the embodiment of the disclosure may acquire actual running information generated by the operating system executing the remote control event to be executed.
In the embodiment of the disclosure, when acquiring actual running information generated by an operating system executing a remote control event to be executed, the operating system may be controlled to execute a random remote control event and a specified remote control event respectively, applications corresponding to the random remote control event and the specified remote control event in the operating system may be clicked and called respectively, and actual running result information when accessing the corresponding applications may be acquired, when accessing the applications, a screenshot process may be performed on an application access interface, and image recognition processing may be performed on the acquired application access interface, so as to acquire running result information of whether the application is successfully entered, and the acquired running result information of the application may be used as actual running information generated by the operating system executing the remote control event to be executed.
S103: and determining the performance information of the operating system according to the labeling operation information and the actual operation information.
The performance information of the operating system refers to data information related to performance when the operating system accesses, loads, starts and calls an application program or a built-in component thereof.
For example, the performance information of the operating system may be frequency data information of an abnormal phenomenon when the operating system accesses the application program, running rate information when the operating system accesses the application program, or any other data information that may describe the performance of the operating system, which is not limited.
After the actual operation information generated by the operating system executing the remote control event to be executed is obtained, the embodiment of the disclosure can determine the performance information of the operating system according to the marked operation information and the actual operation information.
In the embodiment of the disclosure, when marking operation information and actual operation information, performance information of an operating system is determined, analysis processing can be performed on the marking operation information and the actual operation information to obtain an access operation result when the operating system accesses an application program, access failure probability when the operating system accesses the application program is calculated according to access failure times in the access operation result, operation performance of the operating system is evaluated according to the access failure probability to obtain an access stability score value of the operating system, and the obtained access stability score value is used as performance information of the operating system.
In other embodiments, when determining the performance information of the operating system according to the labeling operation information and the actual operation information, the processing resource occupation information and the memory unit occupation information of the central processing unit of the operating system when the operating system executes the remote control event to be executed may also be obtained, the processing resource occupation information and the memory unit occupation information of the central processing unit are combined, the access stability score value of the operating system is calculated according to the labeling operation information and the actual operation information, and the access stability score value obtained by calculation is used as the performance information of the operating system.
In this embodiment, the remote control event to be executed is determined, where the remote control event to be executed includes: the method comprises the steps of acquiring actual operation information generated by an operating system executing a remote control event to be executed according to marking operation information and the actual operation information, determining performance information of the operating system, detecting the performance of the operating system by combining the random remote control event and the specified remote control event, effectively improving the performance detection efficiency of the operating system, and effectively improving the accuracy and the robustness of the performance detection of the operating system.
Fig. 2 is a flowchart of an operating system performance detection method according to another embodiment of the disclosure.
As shown in fig. 2, the operating system performance detection method includes:
s201: and determining a target configuration proportion according to the performance detection requirement.
The performance detection requirement refers to a targeted detection requirement when performing performance detection on an operating system, where the performance detection requirement may be set, for example, to perform performance detection on a portion of key applications specified in the operating system, and correspondingly, the key applications may be applications that may cause performance failure at a high probability when the operating system clicks to call the applications in the electronic device.
The target configuration proportion refers to a configuration proportion of random remote control events and specified remote control events in remote control events to be executed, the target configuration proportion can be determined according to performance detection requirements, for example, the specified remote control events with the proportion of 20% can be configured, the random remote control events with the proportion of 80% can be configured, and the method is not limited to the above.
In the embodiment of the disclosure, when determining the target configuration proportion according to the performance detection requirement, the performance detection requirement may be analyzed and processed to obtain an application program to be subjected to targeted detection when performing performance detection on the operating system, a configuration duty ratio of a specified remote control event in the remote control event to be executed is determined according to the application program to be subjected to targeted detection, and then a duty ratio of a random remote control event in the remote control event to be executed is determined according to the configuration duty ratio of the specified remote control event in the remote control event to be executed, so as to obtain the configuration proportion of the random remote control event and the specified remote control event in the remote control event to be executed, and the configuration proportion is used as the target configuration proportion.
S202: and selecting the first number of marked remote control events as specified remote control events.
The remote control event is a test remote control event which is operated in the operating system in advance, the corresponding annotation operation information of the annotation remote control event can be pre-selected and configured, and the annotation operation information represents the operation result information corresponding to the annotation remote control event.
The first number of marked remote control events has a designated execution order, and the designated execution order may be, for example, an application program corresponding to the marked remote control events is clicked and invoked according to the designated execution order.
In the embodiment of the disclosure, when a first number of labeling remote control events are selected as specified remote control events, a plurality of testing remote control events can be operated on an operating system in advance to obtain operation result information corresponding to the testing remote control events, a plurality of testing events with abnormal operation in the testing remote control events are selected as the labeling remote control events, the abnormal operation result information corresponding to the testing remote control events is configured, then the first number of labeling remote control events can be selected from the labeling remote control events as the specified remote control events, and accordingly, the execution order of the first number of labeling remote control events is configured, and the execution order is used as the specified execution order among the first number of labeling remote control events.
Optionally, in some embodiments, when the first number of marked remote control events is selected as the specified remote control event, the first number of marked remote control events may be selected from a remote control event set as the specified remote control event, where the remote control event set includes: the plurality of marked remote control events, the marked remote control events correspond to marked running information, the marked running information indicates that the performance of the operating system is not in accordance with the performance index when the marked remote control events are executed, and the marked remote control events which are not in accordance with the performance index are selected as designated remote control events to perform performance detection on the operating system, so that the remote control event determination range of the performance detection can be effectively shortened, the performance detection efficiency is effectively improved, the targeted re-detection of the remote control events which are not in accordance with the performance index is realized, the application programs corresponding to the remote control events which are not in accordance with the performance index in the system can be accurately positioned, the performance detection effect of the operating system is effectively improved, and the performance detection accuracy of the operating system is improved.
The performance index can indicate that the remote control event can be successfully operated when the operating system executes the remote control event, and no abnormal phenomenon occurs in the operation process of the remote control event.
The remote control event set is a test event set comprising a plurality of marked remote control events, marked remote control events in the remote control event set correspond to marked running information, and the marked running information indicates that the performance of an operating system when the marked remote control events are executed does not accord with performance indexes.
In the embodiment of the disclosure, when a first number of labeling remote control events are selected as designated remote control events, a plurality of testing remote control events can be run on an operating system in advance to obtain running result information corresponding to the testing remote control events, the running result information of the testing remote control events is analyzed and processed, a plurality of testing remote control events with abnormal running in the testing remote control events are selected as the labeling remote control events, the labeling remote control events form a remote control event set, the running result information corresponding to the labeling remote control events is configured as labeling running information, the labeling running information indicates that the performance of the operating system when the labeling remote control events are executed is not in accordance with the performance index, and then the first number of labeling remote control events can be selected from the remote control event set as the designated remote control events.
S203: and generating a second number of random remote control events according to the target configuration proportion.
In the embodiment of the disclosure, after the first number of marked remote control events are selected as the specified remote control events, a second number of random remote control events may be generated according to the target configuration proportion.
In the embodiment of the disclosure, when the second number of random remote control events is generated according to the target configuration proportion, the corresponding second number can be calculated according to the first number and the target configuration proportion, the corresponding number of test events are randomly generated on the operating system according to the second number, and the generated corresponding number of test events are used as the second number of random remote control events.
S204: the first number of specified remote control events and the second number of random remote control events are used as remote control events to be executed.
In the embodiment of the disclosure, a first number of marked remote control events are selected as specified remote control events, after a second number of random remote control events are generated according to a target configuration proportion, the first number of specified remote control events and the second number of random remote control events are used as remote control events to be executed, then an operating system can be controlled to execute the specified remote control events based on a specified execution sequence, the operating system is controlled to execute the random remote control events randomly, and the following steps are specifically visible.
S205: the control operating system executes the specified remoting events based on the specified execution order.
In the embodiment of the disclosure, when the control operating system executes the specified remote control event based on the specified execution order, the control operating system may sequentially run the specified remote control events according to the specified execution order of the specified remote control events, and may sequentially access the application programs corresponding to the specified remote control events according to the specified execution order.
For example, the operating system may be controlled to first click on the application program a in the operating system and then to click on the application program B in the operating system based on the specified execution order, and the application program B calls other application programs in the operating system in response to the click event, which is not limited.
S206: the control operating system randomly executes the random remote control event.
In the embodiment of the disclosure, when the operating system is controlled to randomly execute the random remote control event, the operating system can be controlled to simulate the remote controller to randomly click on an application program in the operating system so as to control the operating system to randomly click on the application program corresponding to the random remote control event, for example, the application program A, the application program B and other application programs in the operating system can be randomly clicked, so that the operating system is controlled to randomly execute the random remote control event.
S207: and acquiring target running information of the target application triggered when the operating system executes the remote control event to be executed.
The target application refers to an application program clicked and invoked when the operating system executes the current remote control event to be executed.
The target operation information refers to operation result information of an application program accessed by the operating system when executing a remote control event to be executed, and the target operation information may be, for example, operation interface image information when operating the target application, which is not limited.
According to the embodiment of the disclosure, when the operating system is controlled to execute the specified remote control event based on the specified execution sequence and the operating system is controlled to randomly execute the random remote control event, the target running information of the target application triggered when the operating system executes the remote control event to be executed can be obtained.
In the embodiment of the disclosure, when acquiring the target running information of the target application triggered when the operating system executes the remote control event to be executed, when the operating system is controlled to execute the specified remote control event and the random remote control event respectively, the screenshot processing is performed on the system interface of the target application corresponding to the specified remote control event and the random remote control event, so as to acquire the running interface image when the operating system runs the corresponding target application, and the running interface image is used as the target running information of the target application triggered when the operating system executes the remote control event to be executed.
In other embodiments, when acquiring the target running information of the target application triggered when the operating system executes the remote control event to be executed, the starting loading rate of the target application may be acquired when the operating system executes the target application triggered when the remote control event to be executed, and the starting loading rate of the target application and the access interface image when the operating system accesses the target application are used together as the target running information of the target application triggered when the operating system executes the remote control event to be executed, or any other possible method may be adopted to acquire the target running information of the target application triggered when the operating system executes the remote control event to be executed, which is not limited.
S208: and taking the target operation information as actual operation information.
After the target operation information of the target application triggered when the operating system executes the remote control event to be executed is obtained, the embodiment of the disclosure can take the target operation information as actual operation information, and then can jointly mark the operation information and the actual operation information to determine the performance information of the operating system.
Optionally, in some embodiments, the target operation information includes: the target operation image when triggering the target application, the marking operation information comprises: the method comprises the steps that when the annotation application is triggered, the annotation operation image can be obtained as target operation information, the annotation operation image is obtained as annotation operation information, and as the annotation operation information and the actual operation information can be used for determining the performance information of the operating system, the performance information of the operating system can be determined through simple extraction of image features, the data calculated amount of performance detection of the operating system is effectively reduced, and the performance detection efficiency of the operating system is effectively improved.
The target operation image is an operation interface screenshot image of a target application operated by the operating system when the operating system executes a remote control event to be executed.
The marking application refers to an application program accessed by the pre-control operating system, and the marking application can be an application program with abnormal operation in the operation process.
The marking operation image refers to an operation interface screenshot image of a specified application program, which is obtained when the operation system is controlled in advance to access the specified application program, and the marking operation image can be an operation interface screenshot image describing abnormal operation information when the marking application is operated.
In the embodiment of the disclosure, when acquiring the target running information of the target application triggered when the operating system executes the remote control event to be executed, the target running image when the target application is triggered can be acquired, the target running image is taken as the target running information, the target running information is taken as the actual running information, and the labeling running image when the labeling application is triggered is acquired as the labeling running information.
S209: and determining the performance information of the operating system according to the labeling operation information and the actual operation information.
Optionally, in some embodiments, when determining performance information of the operating system according to the labeling operation information and the actual operation information, a labeling image feature of a labeling application in the labeling operation image may be obtained, image detection is performed on the target operation image to obtain a target image feature of the target application, and the performance information of the operating system is determined according to the labeling image feature and the target image feature.
The labeling image features refer to data features obtained by extracting image features of a labeling operation image in advance, and the labeling operation image and the labeling image features which are obtained in advance are stored in a database.
The target image features refer to image data features obtained by performing image detection processing on a target running image, and the target image features can be used for representing image content of the target running image, wherein the image content can be, for example, successful execution of a target application or abnormal running of a black screen, a blue screen and the like in the running process of the target application.
In the embodiment of the disclosure, when determining performance information of an operating system according to labeling operation information and actual operation information, labeling image features corresponding to the labeling operation images can be obtained from a database, image detection processing is performed on target operation images, the target operation images can be input into an image feature extraction model, image feature detection is performed on the target operation images by using the image feature extraction model, so that image features output by the image feature extraction model are obtained, the image features are used as target image features of target applications, and then the labeling image features and the target image features can be combined to determine the performance information of the operating system.
According to the embodiment of the disclosure, when the performance information of the operating system can be determined according to the marked image features and the target image features, the frequency information of the operating system abnormal operation can be analyzed according to the marked image features and the target image features and used as the performance information of the operating system, or the number of events of the operating system abnormal operation in the corresponding remote control events to be executed can be determined according to the marked image features and the target image features, the ratio of the number of events to the total number of the remote control events to be executed can be calculated, so that the probability value of the operating system abnormal operation occurrence can be obtained, and the probability value and the frequency information of the operating system abnormal operation occurrence can be used as the performance information of the operating system.
In this embodiment, the remote control event to be executed is determined, where the remote control event to be executed includes: the method comprises the steps of acquiring actual operation information generated by an operating system executing remote control events to be executed according to marking operation information and the actual operation information, determining performance information of the operating system, detecting the performance of the operating system by combining the random remote control events and the specified remote control events, effectively improving performance detection efficiency of the operating system, effectively improving accuracy and robustness of performance detection of the operating system, and selecting a first number of marking remote control events from a remote control event set as the specified remote control events, wherein the remote control event set comprises: the remote control system comprises a plurality of remote control event labels, the remote control event labels correspond to the operation information labels, the operation information labels indicate that the performance of an operating system is not in accordance with the performance index when the remote control event labels are executed, the remote control event labels which are not in accordance with the performance index are selected as the designated remote control event labels to detect the performance of the operating system, so that the determination range of the remote control event labels for performance detection can be effectively shortened, the performance detection efficiency is effectively improved, the targeted re-detection of the remote control event labels which are not in accordance with the performance index is realized, the application program labels corresponding to the remote control event labels which are not in accordance with the performance index in the system can be accurately positioned, the performance detection effect of the operating system is effectively improved, the performance detection accuracy of the operating system is improved, the image detection of the target operation image is carried out by acquiring the characteristic labels of the application labels, the performance information of the operating system is determined according to the characteristic labels of the image labels, the performance information of the operating system is obtained by pre-identification, the characteristic labels of the operating image labels are accordingly reduced, the data processing amount when the performance detection is carried out on the operating system is carried out, the abnormal operation of the operating system is effectively improved, the performance detection efficiency of the operating system is effectively improved, the abnormal operation can be effectively realized, and the abnormal operation detection can be effectively realized.
Fig. 3 is a flowchart illustrating a method for detecting operating system performance according to another embodiment of the present disclosure.
As shown in fig. 3, the operating system performance detection method includes:
s301: determining a remote control event to be executed, wherein the remote control event to be executed comprises: the method comprises the steps of randomly controlling events and appointed remote control events, wherein the appointed remote control events correspond to marked running information.
The labeling operation information further comprises: and marking performance information corresponding to the marking operation image, wherein the marking performance information can be used for describing a corresponding system performance state when the operating system executes a corresponding remote control event to be executed.
For example, the labeling performance information corresponding to the labeling running image may be running rate information of the central processing unit of the operating system when the remote control event to be executed corresponding to the labeling running image is running, occupancy rate information of the memory storage unit of the operating system, or may be application start loading rate information when the operating system executes the corresponding labeling application corresponding to the labeling running image, which is not limited.
In the embodiment of the disclosure, an operating system can be controlled in advance to access a labeling application, a screenshot process is performed on an access operation interface to obtain a labeling operation image, feature recognition extraction process is performed on the labeling operation image to obtain the labeling image features corresponding to the labeling operation image, when the operating system accesses the labeling application, operation rate information of a central processing unit of the operating system is obtained, memory occupation information of the operating system is obtained, the operation rate information and the memory occupation information of the central processing unit of the operating system are used as labeling performance information, and the labeling operation image, the labeling image features and the corresponding labeling performance information are correspondingly stored in a database.
S302: and acquiring target running information of the target application triggered when the operating system executes the remote control event to be executed.
Wherein the target operation information further includes: the system operation information when the target application is triggered can be operation rate information of a central processing unit of the operating system and occupation information of a memory storage unit when the target application is triggered.
When acquiring the target running information of the target application triggered when the operating system executes the remote control event to be executed, the embodiment of the disclosure can also acquire the running rate information of the operating system central processing unit and the occupation information of the memory storage unit when the target application is triggered, and take the running rate information of the operating system central processing unit and the occupation information of the memory storage unit as the system running information when the target application is triggered.
S303: and taking the target operation information as actual operation information.
S304: and obtaining the marked image characteristics of the marked application in the marked running image.
The descriptions of S303-S304 may be exemplified by the above embodiments, and are not repeated herein.
S305: and inputting the target running image into the pre-trained image feature recognition model to obtain target image features of the target application output by the image feature recognition model.
The method comprises the steps of training an initial artificial intelligent model in advance according to a labeling running image and labeling image characteristics when the labeling application is triggered until the artificial intelligent model converges, taking the artificial intelligent model obtained through training as an image characteristic recognition model, and performing characteristic recognition extraction processing on a target running image by the characteristic recognition model.
In the embodiment of the disclosure, when image detection is performed on a target running image to obtain target image features of a target application, an artificial intelligent model for extracting image features can be built in advance, the labeling running image and the labeling image features when the labeling application is triggered are obtained, the labeling running image and the labeling image features when the labeling application is triggered are input into an initial artificial intelligent model, the initial artificial intelligent model is trained according to the labeling running image and the labeling image features, model parameters are iteratively updated until the artificial intelligent model converges, the converged artificial intelligent model is used as an image feature recognition model, then the target running image can be input into the image feature recognition model, feature recognition extraction is performed on the target running image by using the image feature recognition model to obtain image features output by the image feature recognition model, and the image features output by the image feature recognition are used as the target image features of the target application.
In this embodiment, the target running image is input into the pre-trained image feature recognition model to obtain the target image feature of the target application output by the image feature recognition model, so that the image feature recognition model can be utilized to perform feature recognition processing on the target running image, so as to extract more accurate target image features to perform operating system performance detection, and thus the accuracy of operating system stability detection can be assisted to be improved.
S306: and if the marked image features are the same as the target image features, the marked performance information is used as the performance information of the operating system.
In the embodiment of the disclosure, after the labeling image features of the labeling application are obtained from the labeling running image and the target running image is input into the pre-trained image feature recognition model to obtain the target image features of the target application output by the image feature recognition model, feature comparison processing can be performed on the labeling image features and the target image features, and if the labeling image features and the target image features are the same, the labeling performance information is used as the performance information of the operating system.
S307: if the annotated image features and the target image features are not the same, the performance information of the operating system is determined in combination with the target image features and the system running information.
In the embodiment of the disclosure, feature comparison processing can be performed on the marked image features and the target image features, and if the marked image features and the target image features are different, the performance information of the operating system is determined by combining the target image features and the system running information.
In the embodiment of the disclosure, when the performance information of the operating system is determined by combining the target image feature and the system running information, the corresponding target application access result can be analyzed according to the target image feature, when the operating system is combined to access the corresponding target application, the processing resource occupation information and the memory unit occupation information of the central processing unit of the operating system are combined, the stability operation performance of the operating system is evaluated, so that an access stability score value of the operating system is obtained, and the obtained access stability score value is used as the performance information of the operating system, so that when the marked image feature and the target image feature are different, the performance information of the operating system is determined by combining the target image feature and the system running information.
In this embodiment, the remote control event to be executed is determined, where the remote control event to be executed includes: the method comprises the steps of acquiring actual operation information generated by an operating system executing a remote control event to be executed according to random remote control events and specified remote control events, determining performance information of the operating system according to the marking operation information and the actual operation information, detecting the performance of the operating system by combining the random remote control events and the specified remote control events, effectively improving the performance detection efficiency of the operating system, effectively improving the accuracy and the robustness of the performance detection of the operating system, and inputting a target operation image into a pre-trained image feature recognition model to obtain target image features of target application output by the image feature recognition model, so that the image feature recognition model can be utilized to perform feature recognition processing on the target operation image to extract more accurate target image features for performing the performance detection of the operating system, and further improving the accuracy of the stability detection of the operating system in an auxiliary mode.
Fig. 4 is a schematic structural diagram of an operating system performance detecting device according to an embodiment of the disclosure.
As shown in fig. 4, the operating system performance detecting apparatus 40 includes:
a first determining module 401, configured to determine a remote control event to be performed, where the remote control event to be performed includes: random remote control events and appointed remote control events, wherein the appointed remote control events correspond to the marked running information;
an obtaining module 402, configured to obtain actual running information generated by the operating system executing the remote control event to be executed; and
a second determining module 403, configured to determine performance information of the operating system according to the marked running information and the actual running information.
In some embodiments of the present disclosure, the first determining module 401 is specifically configured to:
determining a target configuration proportion according to the performance detection requirement;
selecting a first number of marked remote control events as specified remote control events;
generating a second number of random remote control events according to the target configuration proportion; and
the first number of specified remote control events and the second number of random remote control events are used as remote control events to be executed.
In some embodiments of the present disclosure, as shown in fig. 5, fig. 5 is a schematic structural diagram of an operating system performance detecting apparatus according to another embodiment of the present disclosure, where a first number indicates that a specified execution order is provided between remote control events;
Wherein, still include:
a first execution module 404, configured to control the operating system to execute the specified remote control event based on the specified execution order before obtaining actual running information generated by the operating system executing the remote control event to be executed;
a second execution module 405, configured to control the operating system to randomly execute a random remote control event.
In some embodiments of the present disclosure, the first determining module 401 is further configured to:
selecting a first number of marked remote control events from a remote control event set as specified remote control events, wherein the remote control event set comprises: and the plurality of marked remote control events correspond to marked operation information, and the marked operation information indicates that the performance of the operating system when the marked remote control events are executed does not accord with the performance index.
In some embodiments of the present disclosure, the obtaining module 402 is specifically configured to:
acquiring target running information of a target application triggered when an operating system executes a remote control event to be executed;
and taking the target operation information as actual operation information.
In some embodiments of the present disclosure, wherein the target operation information includes: the target operation image when triggering the target application, the marking operation information comprises: and triggering the annotation operation image when the annotation is applied.
In some embodiments of the present disclosure, wherein the second determining module 403 includes:
an obtaining submodule 4031, configured to obtain a feature of a labeling image that labels an application in a running image;
a detection submodule 4032, configured to perform image detection on the target running image to obtain a target image feature of the target application;
a determination submodule 4033 is configured to determine performance information of the operating system according to the tagged image feature and the target image feature.
In some embodiments of the present disclosure, annotating the operational information further includes: marking performance information corresponding to the marking operation image;
wherein, confirm submodule 4033 specifically is used for:
and if the marked image features are the same as the target image features, the marked performance information is used as the performance information of the operating system.
In some embodiments of the present disclosure, the target operation information further includes: triggering system operation information when a target application is executed;
wherein the determining submodule 4033 is further configured to:
if the annotated image features and the target image features are not the same, the performance information of the operating system is determined in combination with the target image features and the system running information.
In some embodiments of the present disclosure, the detection submodule 4032 is specifically configured to:
Inputting the target running image into a pre-trained image feature recognition model to obtain target image features of target application output by the image feature recognition model;
and training an initial artificial intelligent model according to the annotation running image and the annotation image characteristics when the annotation application is triggered in advance until the artificial intelligent model converges, and taking the artificial intelligent model obtained by training as an image characteristic recognition model.
Corresponding to the operating system performance detection method provided by the embodiments of fig. 1 to 3, the present disclosure further provides an operating system performance detection device, and since the operating system performance detection device provided by the embodiments of the present disclosure corresponds to the operating system performance detection method provided by the embodiments of fig. 1 to 3, the implementation of the operating system performance detection method is also applicable to the operating system performance detection device provided by the embodiments of the present disclosure, which is not described in detail in the embodiments of the present disclosure.
In this embodiment, the remote control event to be executed is determined, where the remote control event to be executed includes: the method comprises the steps of acquiring actual operation information generated by an operating system executing a remote control event to be executed according to marking operation information and the actual operation information, determining performance information of the operating system, detecting the performance of the operating system by combining the random remote control event and the specified remote control event, effectively improving the performance detection efficiency of the operating system, and effectively improving the accuracy and the robustness of the performance detection of the operating system.
In order to achieve the above embodiments, the present disclosure further proposes an electronic device including: the system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the method for detecting the performance of the operating system according to the previous embodiment of the disclosure.
In order to implement the above-described embodiments, the present disclosure also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements an operating system performance detection method as proposed in the foregoing embodiments of the present disclosure.
To achieve the above embodiments, the present disclosure also proposes a computer program product which, when executed by an instruction processor in the computer program product, performs an operating system performance detection method as proposed in the foregoing embodiments of the present disclosure.
Fig. 6 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure. The electronic device 12 shown in fig. 6 is merely an example and should not be construed as limiting the functionality and scope of use of the disclosed embodiments.
As shown in fig. 6, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry Standard architecture (Industry Standard Architecture; hereinafter ISA) bus, micro channel architecture (Micro Channel Architecture; hereinafter MAC) bus, enhanced ISA bus, video electronics standards Association (Video Electronics Standards Association; hereinafter VESA) local bus, and peripheral component interconnect (Peripheral Component Interconnection; hereinafter PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory; hereinafter: RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard disk drive").
Although not shown in fig. 6, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a compact disk read only memory (Compact Disc Read Only Memory; hereinafter CD-ROM), digital versatile read only optical disk (Digital Video Disc Read Only Memory; hereinafter DVD-ROM), or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the various embodiments of the disclosure.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods in the embodiments described in this disclosure.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks, such as a local area network (Local Area Network; hereinafter: LAN), a wide area network (Wide Area Network; hereinafter: WAN) and/or a public network, such as the Internet, via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 over the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the operating system performance detection method mentioned in the foregoing embodiment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
It should be noted that in the description of the present disclosure, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present disclosure, unless otherwise indicated, the meaning of "a plurality" is two or more.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present disclosure in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
Furthermore, each functional unit in the embodiments of the present disclosure may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means 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 disclosure. 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.
Although embodiments of the present disclosure have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the present disclosure, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the present disclosure.

Claims (22)

  1. An operating system performance detection method, comprising:
    determining a remote control event to be executed, wherein the remote control event to be executed comprises: the remote control system comprises a random remote control event and a specified remote control event, wherein the specified remote control event corresponds to marking operation information;
    Acquiring actual running information generated by the operating system executing the remote control event to be executed; and
    and determining the performance information of the operating system according to the labeling operation information and the actual operation information.
  2. The method of claim 1, wherein the determining that a remote control event is to be performed comprises:
    determining a target configuration proportion according to the performance detection requirement;
    selecting a first number of marked remote control events as the specified remote control events;
    generating a second number of random remote control events according to the target configuration proportion; and
    and taking the first number of specified remote control events and the second number of random remote control events as the remote control events to be executed.
  3. The method of claim 2, wherein the first number of tagged remote control events have a specified order of execution therebetween;
    before the obtaining the actual running information generated by the operating system executing the remote control event to be executed, the method further comprises the following steps:
    controlling the operating system to execute the specified remote control event based on the specified execution order;
    and controlling the operating system to randomly execute the random remote control event.
  4. The method of claim 2, wherein the selecting the first number of tagged remote control events as the specified remote control event comprises:
    Selecting the first number of marked remote control events from a remote control event set as the specified remote control event, wherein the remote control event set comprises: the remote control system comprises a plurality of remote control event labeling, wherein the remote control event labeling corresponds to labeling operation information, and the labeling operation information indicates that the performance of the operating system when the remote control event labeling is executed does not accord with a performance index.
  5. The method of claim 1, wherein the obtaining actual operational information generated by the operating system executing the remote control event to be executed comprises:
    acquiring target running information of a target application triggered when the operating system executes the remote control event to be executed;
    and taking the target operation information as the actual operation information.
  6. The method of claim 5, wherein the target operational information comprises: triggering a target operation image when the target application is executed, wherein the marking operation information comprises: and triggering the annotation operation image when the annotation is applied.
  7. The method of claim 6, wherein said determining performance information of the operating system based on the noted operating information and the actual operating information comprises:
    Acquiring the annotation image characteristics of the annotation application in the annotation operation image;
    performing image detection on the target running image to obtain target image characteristics of the target application;
    and determining the performance information of the operating system according to the marked image characteristics and the target image characteristics.
  8. The method of claim 7, wherein the labeling operation information further comprises: marking performance information corresponding to the marking operation image;
    wherein the determining performance information of the operating system according to the tagged image feature and the target image feature includes:
    and if the marked image features are the same as the target image features, taking the marked performance information as the performance information of the operating system.
  9. The method of claim 7, wherein the target operational information further comprises: triggering system operation information when the target application is triggered;
    wherein, the determining the performance information of the operating system according to the labeling image feature and the target image feature further includes:
    and if the marked image characteristic and the target image characteristic are different, determining the performance information of the operating system by combining the target image characteristic and the system running information.
  10. The method of claim 7, wherein the performing image detection on the target running image to obtain a target image feature of the target application comprises:
    inputting the target running image into a pre-trained image feature recognition model to obtain target image features of the target application output by the image feature recognition model;
    and training an initial artificial intelligent model according to the annotation running image and the annotation image characteristics when the annotation is triggered to be applied in advance until the artificial intelligent model converges, and taking the artificial intelligent model obtained through training as the image characteristic recognition model.
  11. An operating system performance detection apparatus, comprising:
    the first determining module is configured to determine a remote control event to be executed, where the remote control event to be executed includes: the remote control system comprises a random remote control event and a specified remote control event, wherein the specified remote control event corresponds to marking operation information;
    the acquisition module is used for acquiring actual running information generated by the operating system executing the remote control event to be executed; and
    and the second determining module is used for determining the performance information of the operating system according to the marked operation information and the actual operation information.
  12. The apparatus of claim 11, wherein the first determining module is specifically configured to:
    determining a target configuration proportion according to the performance detection requirement;
    selecting a first number of marked remote control events as the specified remote control events;
    generating a second number of random remote control events according to the target configuration proportion; and
    and taking the first number of specified remote control events and the second number of random remote control events as the remote control events to be executed.
  13. The apparatus of claim 12, wherein the first number of tagged remote control events have a specified order of execution therebetween;
    wherein the apparatus further comprises:
    the first execution module is used for controlling the operating system to execute the specified remote control event based on the specified execution sequence before the actual running information generated by the operating system executing the remote control event to be executed is acquired;
    and the second execution module is used for controlling the operating system to randomly execute the random remote control event.
  14. The apparatus of claim 12, wherein the first determination module is further for:
    selecting the first number of marked remote control events from a remote control event set as the specified remote control event, wherein the remote control event set comprises: the remote control system comprises a plurality of remote control event labeling, wherein the remote control event labeling corresponds to labeling operation information, and the labeling operation information indicates that the performance of the operating system when the remote control event labeling is executed does not accord with a performance index.
  15. The apparatus of claim 11, wherein the obtaining module is specifically configured to:
    acquiring target running information of a target application triggered when the operating system executes the remote control event to be executed;
    and taking the target operation information as the actual operation information.
  16. The apparatus of claim 15, wherein the target operational information comprises: triggering a target operation image when the target application is executed, wherein the marking operation information comprises: and triggering the annotation operation image when the annotation is applied.
  17. The apparatus of claim 16, wherein the second determination module comprises:
    the obtaining sub-module is used for obtaining the annotation image characteristics of the annotation application in the annotation operation image;
    the detection sub-module is used for carrying out image detection on the target running image to obtain target image characteristics of the target application;
    and the determining submodule is used for determining the performance information of the operating system according to the marked image characteristics and the target image characteristics.
  18. The apparatus of claim 17, wherein the labeling operation information further comprises: marking performance information corresponding to the marking operation image;
    Wherein, the determining submodule is specifically configured to:
    and if the marked image features are the same as the target image features, taking the marked performance information as the performance information of the operating system.
  19. The apparatus of claim 17, wherein the target operational information further comprises: triggering system operation information when the target application is triggered;
    wherein the determining submodule is further configured to:
    and if the marked image characteristic and the target image characteristic are different, determining the performance information of the operating system by combining the target image characteristic and the system running information.
  20. The apparatus of claim 17, wherein the detection sub-module is specifically configured to:
    inputting the target running image into a pre-trained image feature recognition model to obtain target image features of the target application output by the image feature recognition model;
    and training an initial artificial intelligent model according to the annotation running image and the annotation image characteristics when the annotation is triggered to be applied in advance until the artificial intelligent model converges, and taking the artificial intelligent model obtained through training as the image characteristic recognition model.
  21. An electronic device, comprising:
    at least one processor; and
    a memory communicatively coupled to the at least one processor; wherein,
    the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the operating system performance detection method of any one of claims 1-10.
  22. A non-transitory computer readable storage medium storing computer instructions, wherein the computer instructions are for causing the computer to perform the operating system performance detection method of any one of claims 1-10.
CN202280004597.XA 2022-05-19 2022-05-19 Operating system performance detection method and device, electronic equipment and storage medium Pending CN117616420A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/093978 WO2023221066A1 (en) 2022-05-19 2022-05-19 Operating system performance detection method and apparatus, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN117616420A true CN117616420A (en) 2024-02-27

Family

ID=88834322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202280004597.XA Pending CN117616420A (en) 2022-05-19 2022-05-19 Operating system performance detection method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN117616420A (en)
WO (1) WO2023221066A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6016554A (en) * 1997-07-28 2000-01-18 Advanced Micro Devices, Inc. Method for event-related functional testing of a microprocessor
US7962797B2 (en) * 2009-03-20 2011-06-14 Microsoft Corporation Automated health model generation and refinement
US10102108B2 (en) * 2015-01-15 2018-10-16 Mobilize.Net Corporation Injected instrumentation application monitoring and management
CN110413383B (en) * 2019-01-07 2023-09-05 腾讯科技(深圳)有限公司 Event processing method, device, terminal and storage medium
CN111708670B (en) * 2020-06-10 2023-05-09 中国第一汽车股份有限公司 Method and device for determining task time parameters in real-time operation system and vehicle
US20220094703A1 (en) * 2020-09-23 2022-03-24 Open Text Holdings, Inc. Endpoint security systems and methods with telemetry filters for event log monitoring

Also Published As

Publication number Publication date
WO2023221066A1 (en) 2023-11-23

Similar Documents

Publication Publication Date Title
CN108073519B (en) Test case generation method and device
CN109086203B (en) Page detection method and device
EP2780820B1 (en) Measuring web page rendering time
US20150293898A1 (en) Method and apparatus for word detection in application program
CN108874665A (en) A kind of test result method of calibration, device, equipment and medium
CN112559341A (en) Picture testing method, device, equipment and storage medium
CN112732576A (en) Automatic testing method, device and equipment based on user interface
CN111414309A (en) Automatic test method of application program, computer equipment and storage medium
CN110248235B (en) Software teaching method, device, terminal equipment and medium
WO2012027886A1 (en) Platform specific application test
CN117616420A (en) Operating system performance detection method and device, electronic equipment and storage medium
CN116431468A (en) Test method, test device, test processing equipment and storage medium
CN111258875A (en) Interface test method and system, electronic device and storage medium
CN112905435B (en) Workload assessment method, device, equipment and storage medium based on big data
CN108984380A (en) A kind of server test method, device and medium based on linux system
CN109165151A (en) The evaluation method and device of computer based image conversion interface alternation operation
CN114639056A (en) Live content identification method and device, computer equipment and storage medium
US10901726B2 (en) Intelligent visual regression system
CN110968519A (en) Game testing method, device, server and storage medium
CN110688602A (en) Method, device and system for testing webpage loading speed
CN114677691B (en) Text recognition method, device, electronic equipment and storage medium
CN110399243B (en) Blue screen reason determining method, system, computer readable medium and electronic device
CN114168468B (en) Software testing system and control method thereof
CN116433082B (en) Evaluation report generation method and device, electronic equipment and storage medium
CN117851230A (en) Interface testing method, device, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination