CN115268713A - Thread identification method and device, storage medium and electronic equipment - Google Patents

Thread identification method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115268713A
CN115268713A CN202210864128.7A CN202210864128A CN115268713A CN 115268713 A CN115268713 A CN 115268713A CN 202210864128 A CN202210864128 A CN 202210864128A CN 115268713 A CN115268713 A CN 115268713A
Authority
CN
China
Prior art keywords
thread
correlation
threads
application
determining
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
CN202210864128.7A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210864128.7A priority Critical patent/CN115268713A/en
Publication of CN115268713A publication Critical patent/CN115268713A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a thread identification method, a thread identification device, a storage medium and electronic equipment. The method comprises the following steps: acquiring thread state information of a plurality of threads of an application to be identified in the interface drawing process of the application and drawing duration information of the interface; determining a first correlation degree of the thread state of each thread and the drawing time of the interface according to the thread state information of each thread and the drawing time information of the interface; and determining the thread corresponding to the first correlation degree which is greater than or equal to the first preset correlation degree as the key thread of the application to be identified. The method and the device can identify the key thread of the application to be identified.

Description

Thread identification method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and an apparatus for thread identification, a storage medium, and an electronic device.
Background
In a modern operating system, the multi-thread running of applications is gradually normalized, and as the number of threads running simultaneously increases, the threads mutually preempt resources. In order to improve the running efficiency of the application, important threads influencing the running of the application need to be identified.
Disclosure of Invention
The embodiment of the application provides a thread identification method, a thread identification device, a storage medium and electronic equipment, which can identify a key thread of an application to be identified.
In a first aspect, an embodiment of the present application provides a thread identification method, including:
acquiring thread state information of a plurality of threads of an application to be identified in an interface drawing process of the application and drawing duration information of the interface;
determining a first correlation degree between the thread state of each thread and the drawing time of the interface according to the thread state information and the drawing time information of each thread;
and determining the thread corresponding to the first correlation degree which is greater than or equal to the first preset correlation degree as the key thread of the application to be identified.
In a second aspect, an embodiment of the present application provides a thread identifying apparatus, including:
the information acquisition module is used for acquiring thread state information of a plurality of threads of the application to be identified in the interface drawing process and drawing time length information of the interface;
a correlation determining module, configured to determine a first correlation between the thread state of each thread and the drawing duration of the interface according to the thread state information and the drawing duration information of each thread;
and the thread determining module is used for determining a thread corresponding to a first correlation degree which is greater than or equal to a first preset correlation degree as a key thread of the application to be identified.
In a third aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer program is enabled to execute the thread identification method provided in the embodiment of the present application.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the processor is configured to execute the thread identification method provided in the embodiment of the present application by calling a computer program stored in the memory.
In the embodiment of the application, a first correlation degree between the thread state of each thread and the drawing time of the interface is determined according to the thread state information and the drawing time information of each thread; and determining the thread corresponding to the first correlation degree which is greater than or equal to the first preset correlation degree as the key thread of the application to be identified, and identifying important threads of the application to be identified, such as the key thread.
Drawings
The technical solutions and advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.
Fig. 1 is a schematic flowchart of a thread identification method according to an embodiment of the present application.
Fig. 2 is a first schematic diagram of an important thread chain according to an embodiment of the present disclosure.
Fig. 3 is a second schematic diagram of an important thread chain according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a thread recognition apparatus according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a first electronic device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a second electronic device according to an embodiment of the present application.
Detailed Description
It should be noted that the terms "first" and "second", etc. in this application are used to distinguish different objects, and are not used to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules recited, but rather, some embodiments include additional steps or modules not recited, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The embodiment of the application provides a thread identification method, a thread identification device, a storage medium and an electronic device, wherein an execution main body of the thread identification method can be the thread identification device provided by the embodiment of the application or the electronic device integrated with the thread identification device, and the thread identification device can be realized in a hardware or software mode. The electronic device may be a device with data processing capability and configured with a processor, such as a smart phone, a tablet computer, a palm computer, and a notebook computer.
Referring to fig. 1, fig. 1 is a schematic flowchart of a thread identification method according to an embodiment of the present disclosure, where the flowchart may include:
in 101, thread state information of a plurality of threads of an application to be identified in an interface drawing process and drawing duration information of the interface are obtained.
The application to be identified is the application which needs to identify whether the thread of the application is an important thread. An application to be identified. The application to be identified may comprise any application running in the electronic device. The application to be identified may also comprise any application running in the foreground. The application to be identified may also include a preset type of application running in the foreground, such as a game application with high requirements on frame rate and touch sensitivity. Important threads include, among other things, a critical thread, an associated thread associated with the critical thread, and an associated thread associated with the associated thread.
The running application is a process, the process comprises a plurality of threads, and the threads are basic scheduling units in the process. When the application runs, the corresponding system resource is called by the corresponding thread to perform rendering of the corresponding interface of the application, that is, rendering of the display content of the interface of the application, that is, rendering of each frame of the display content of the application, at a corresponding frame rate, for example, 30 frames per second, 60 frames per second, or 90 frames per second.
The thread state information of the thread in the application interface drawing process is the running state information of the thread in the application interface drawing process, and comprises running duration (running duration) information, (waiting duration running duration), sleeping duration (sleep duration) information, running frequency information and the like.
For example, assuming that the thread state of each thread of the application to be identified in the interface drawing process includes running duration information, and running frequency information, the electronic device may obtain the running duration information, and running frequency information of the multiple threads of the application to be identified in the drawing process of each frame of display content of the application to be identified in a certain running time period, for example, the running time period of the application to be identified in the time period from 10 minutes to 20 minutes of running, and the drawing duration information of each frame of display content.
For example, running duration information of a certain thread of an application to be identified in a drawing process of a certain frame of display content of the application to be identified may be 3 milliseconds, running duration information may be 2 milliseconds, running times information may be 3 times, and drawing duration information of the frame of display content may be 20 milliseconds.
At 102, a first correlation degree between the thread state of each thread and the drawing time of the interface is determined according to the thread state information of each thread and the drawing time information of the interface.
For example, after obtaining the thread state information of each thread and the drawing time information of the interface, the electronic device determines a first correlation degree between the thread state of each thread and the drawing time information of the interface according to the thread state information of each thread and the drawing time information of the interface, so that the key thread of the application to be identified can be determined based on the first correlation degree between the thread state of each thread and the drawing time information of the interface.
In 103, a thread corresponding to a first correlation degree greater than or equal to a first preset correlation degree is determined as a key thread of the application to be identified.
The first preset correlation degree can be set by a user or determined by the electronic device based on a certain rule.
For example, assuming that a first correlation between the thread state of the thread T1 and the drawing time of the interface is greater than or equal to a first preset correlation, the electronic device determines the thread T1 as a key thread of the application to be identified.
For another example, assuming that both the first correlation between the thread state of the thread T2 and the drawing time of the interface and the first correlation between the thread state of the thread T3 and the drawing time of the interface are greater than or equal to the first preset correlation, the electronic device determines the threads T2 and T3 as the key threads of the application to be identified.
In the embodiment, a first correlation degree between the thread state of each thread and the drawing time of the interface is determined according to the thread state information and the drawing time information of each thread; and determining the thread corresponding to the first correlation degree which is greater than or equal to the first preset correlation degree as the key thread of the application to be identified, and identifying important threads of the application to be identified, such as the key thread.
In an optional embodiment, determining, according to the thread state information of each thread and the drawing time information of the interface, a first correlation between the thread state of each thread and the drawing time of the interface may include:
(1) Fitting the thread state information of each thread with the drawing time length information of the interface to obtain a correlation function of the thread state of each thread and the drawing time length of the interface;
(2) And determining a first correlation degree of the thread state of each thread and the drawing time length of the interface according to the correlation coefficient in the correlation function.
For example, it is assumed that the thread state information of the thread includes running duration information, waiting duration information, and running time information, and the electronic device fits the normalized running duration information, waiting duration information, and running time information of each thread with the drawing duration information of the interface to obtain a correlation function between the thread state of each thread and the drawing duration information of the interface. The correlation function may be as shown in equation (1).
Y=a1X1+a2X2+a3X3+a4X4+……+an-1Xn-1+anXn (1)
Wherein Y represents the drawing time length of the interface, and X1To XnIndicating running duration, wait duration and running times of each threadNumber a, a1To anRepresenting the correlation coefficient of the correlation function.
Wherein the correlation coefficient is between-1 and 1. The closer the correlation coefficient is to-1 or 1, the higher the first correlation degree is, and the closer the correlation coefficient is to 0, the lower the first correlation degree is. In this embodiment, the electronic device may use an absolute value of the correlation coefficient as the first correlation degree, or may use a percentage of the correlation coefficient as the first correlation degree. For example, when the correlation coefficient is-0.9, the first degree of correlation may be 0.9 or 90%.
For example, assuming that it is required to determine a critical thread of an application to be identified within a certain period of operation time, and the electronic device draws 100 frames of display contents in the period of operation time, the multiple threads of the application to be identified include a thread T1, a thread T2, and a thread T3, the electronic device may fit running duration information of the thread T1, running times information of the thread T1, running duration information of the thread T2, running duration information of the linear T2, running times information of the thread T2, running duration information of the thread T3, running times information of the linear T3, and drawing duration information of each frame of display contents to obtain running duration X of the thread T11Run length X of thread T12The number of times of operation X of the thread T13Running duration X of thread T24Linear T2 runnable length X5Number of runs X of thread T26Running duration X of thread T37Linear T3 running duration X8Number of runs X of thread T39And the drawing time length Y of the interface. Assuming that the correlation function is:
Y=0.1X1-0.9X2+0.6X3-0.9X4+0X5+0.9X6+0.14X7-0.2X8+0.23X9
the electronic device may determine that a first degree of correlation d11 between the running duration of the thread T1 and the drawing duration of the interface is 10%, a first degree of correlation d12 between the running duration of the thread T1 and the drawing duration is 90%, a first degree of correlation d13 between the number of operations of the thread T1 and the drawing duration is 60%, a first degree of correlation d21 between the running duration of the thread T2 and the drawing duration is 90%, a first degree of correlation d22 between the running duration of the thread T2 and the drawing duration is 0%, a first degree of correlation d23 between the number of operations of the thread T2 and the drawing duration is 90%, a first degree of correlation d31 between the running duration of the thread T3 and the drawing duration is 14%, a first degree of correlation d32 between the running duration of the thread T1 and the drawing duration is 20%, and a first degree of correlation d33 between the number of operations of the thread T1 and the drawing duration is 23%.
In an optional embodiment, before determining, as the key thread of the application to be identified, a thread corresponding to a first correlation greater than or equal to a first preset correlation, the method may further include:
(1) Sorting the first relevance according to the magnitude sequence of the first relevance;
(2) Determining the difference value of the sorted adjacent pairwise first correlation degree combinations;
(3) And determining the larger first correlation degree in the combination with the largest difference value as a first preset correlation degree.
For example, assuming that the first correlations are d11, d12, d13, d21, d22, d23, d31, d32 and d33 respectively, the order of the first correlations from large to small is: d12, d21, d23, d13, d33, d32, d31, d11, d22, it is known that the difference v11 between the combinations d12 and d21 is 0%, the difference v12 between the combinations d21 and d23 is 0%, the difference v13 between the combinations d23 and d13 is 30%, the difference v14 between the combinations d13 and d33 is 37%, the difference v15 between the combinations d33 and d32 is 3%, the difference v16 between the combinations d32 and d31 is 6%, the difference v17 between the combinations d31 and d11 is 4%, and the difference v18 between the combinations d11 and d22 is 10%, and it is known that the difference v14 is the largest, and therefore, the electronic device can determine the first correlation d13 as the first preset correlation, i.e., the first preset correlation is 60%.
For another example, assuming that the first correlations are d11, d12, d13, d21, d22, d23, d31, d32, and d33, respectively, the order of the first correlations from small to large is: d22, d11, d31, d32, d33, d13, d23, d21, d12, it is known that the difference v21 between the combinations d22 and d11 is 10%, the difference v22 between the combinations d11 and d31 is 4%, the difference v23 between the combinations d31 and d32 is 6%, the difference v24 between the combinations d32 and d33 is 3%, the difference v25 between the combinations d33 and d13 is 37%, the difference v26 between the combinations d13 and d23 is 30%, the difference v27 between the combinations d23 and d21 is 0%, the difference v28 between the combinations d21 and d12 is 0%, and it is known that the difference v25 is the largest, and therefore, the electronic device can determine the first correlation d13 as the first preset correlation, i.e., the first preset correlation is 60%.
In an optional embodiment, after determining, as the key thread of the application to be identified, the thread corresponding to the first correlation greater than or equal to the first preset correlation, the method may further include:
(1) Acquiring dormancy and waiting duration information of a key thread in an interface drawing process;
(2) Determining a second degree of correlation between the thread states of other threads and the dormancy and waiting time of the key thread according to the thread state information and the dormancy and waiting time information of other threads except the key thread in the multiple threads;
(3) And determining other threads corresponding to the second correlation degree which is greater than or equal to the second preset correlation degree as the associated threads associated with the key threads.
The second preset correlation degree can be set by a user or set by the electronic device based on a certain rule.
The dormancy and waiting time length information of the key thread in the drawing process of the application interface is determined according to the runnable time length information of the key thread in the drawing process of the application interface and the sleep time length information of the key thread in the drawing process of the application interface.
For example, assuming that the runnable time length information of the key thread in the drawing process of a certain frame of display content of the application to be identified is 2 milliseconds, and the sleep time length information is 3 millimeters, the sleep and wait time length information of the key thread in the drawing process of a certain frame of display content of the application to be identified is 5 milliseconds.
It should be noted that, for the definitions of other threads than the critical thread in the plurality of threads, the following example may be referred to.
For example, it is assumed that the plurality of threads include threads T1, T2, T3, and T4, where the critical threads are threads T1 and T2, the other threads except for the critical thread T1 are threads T2, T3, and T4, and the other threads except for the critical thread T2 are threads T1, T3, and T4.
In this embodiment, after obtaining the thread state information of the other threads than the key thread in the multiple threads and the dormancy and waiting duration information of the key thread, the electronic device determines a second correlation degree between the thread states of the other threads and the dormancy and waiting duration information of the key thread according to the thread state information of the other threads except the key thread in the multiple threads and the dormancy and waiting duration information of the key thread, and then determines the other threads corresponding to the second correlation degree greater than or equal to the second preset correlation degree as the correlation threads associated with the key thread.
In an alternative embodiment, determining the second degree of correlation between the thread states of the other threads and the sleep and wait durations of the critical thread according to the thread state information and the sleep and wait durations of the other threads except the critical thread in the multiple threads may include:
(1) Fitting the thread state information of other threads with the dormancy and waiting time of the key thread to obtain other related functions of the thread state of each thread and the dormancy and waiting time of the key thread;
(2) And determining a second degree of correlation between the thread states of the other threads and the sleep and waiting time of the key thread according to the correlation coefficients in the other correlation functions.
For example, assuming that the thread state information of the thread includes running duration information, waiting duration information, and running time information, the electronic device fits the normalized running duration information, waiting duration information, and running time information of the other threads with the sleep and waiting duration information of the key thread to obtain other related functions of the thread states of the other threads and the sleep and waiting durations of the key thread. The other correlation function may be as shown in equation (2).
N=b1M1+b2M2+b3M3+b4M4+……+bn-1Mn-1+bnMn (2)
Where N represents the dormancy and wait duration of the critical thread, M1To MnIndicating running duration, wait duration and run times of each other thread, a1To anRepresenting the correlation coefficients of other correlation functions.
Wherein the correlation coefficients of the other correlation functions are between-1 and 1. The closer the correlation coefficient of the other correlation function is to-1 or 1, the higher the second correlation degree is, and the closer the correlation coefficient of the other correlation function is to 0, the lower the second correlation degree is. In this embodiment, the electronic device may use an absolute value of the correlation coefficient of the other correlation function as the second correlation degree, and may also use a percentage of the correlation coefficient of the other correlation function as the second correlation degree. For example, when the correlation coefficient of the other correlation function is-0.9, the second degree of correlation may be 0.9 or 90%.
For example, assuming that the multiple threads include threads T1, T2, T3, and T4, the key threads to be identified and applied in a certain period of operation time are the thread T1 and the thread T2, and the electronic device draws 100 frames of display contents in the period of operation time, the electronic device may fit running duration information of the thread T2, running times information of the thread T2, running duration information of the thread T3, running duration information of the linear T3, running times information of the thread T3, running duration information of the thread T4, running duration information of the linear T4, sleep and wait information of the thread T1 in the drawing process of each frame of display contents in 100 frames of display contents to obtain running duration information of the thread T21Run length M of thread T22Running times M of thread T23Running duration M of thread T34Length M of run of linear T35Running times M of thread T36Running duration M of thread T47Length M of run of linear T48Number of runs M of thread T49Other functions related to the sleep and wait durations N of the critical thread T1. Assume that the other correlation function is:
N=0.7M1+0.9M2+0.6M3+0.1M4+0.1M5+0.1M6+0.2M7+0.21M8+0.13M9
the electronic device may determine that the second correlation d211 between the running duration of the thread T2 and the sleep and wait duration of the critical thread T1 is 70%, the second correlation d212 between the running duration of the thread T2 and the sleep and wait duration of the critical thread T1 is 90%, the second correlation d213 between the running number of the thread T2 and the sleep and wait duration of the critical thread T1 is 60%, the second correlation d311 between the running duration of the thread T3 and the sleep and wait duration of the critical thread T1 is 10%, the second correlation d312 between the running duration of the thread T3 and the sleep and wait duration of the critical thread T1 is 10%, the second correlation d313 between the running number of the thread T3 and the sleep and wait duration of the critical thread T1 is 10%, the second correlation d411 between the running duration of the thread T4 and the sleep and wait duration of the critical thread T1 is 20%, the second correlation d412 between the running number of the running duration of the running number of the thread T4 and the sleep and wait duration of the critical thread T1 is 21%, and the second correlation d413 between the running number of the critical thread T1 and wait duration of the critical thread T1.
It is understood that the electronic device may determine the running duration, and the second degree of correlation between the running times and the sleeping and waiting duration of the key thread T2 of the other threads T1, T3, and T4 in the same manner as the determination of the running duration, and the second degree of correlation between the running times and the sleeping and waiting duration of the key thread T1 of the other threads T2, T3, and T4 described above, and therefore, the detailed description thereof is omitted here.
In an optional embodiment, before determining, as the key thread of the application to be identified, the thread corresponding to the second correlation greater than or equal to the second preset correlation, the method may further include:
(1) Sorting the second correlation degrees according to the magnitude sequence of the second correlation degrees;
(2) Determining the difference value of the second correlation degree combination of every two adjacent sorted second correlation degrees;
(3) And determining the larger second correlation degree in the combination with the largest difference value as a second preset correlation degree.
For example, assuming that the second correlation degrees are d311, d312, d313, d411, d412, d413, d511, d512 and d513 respectively, the order of the second correlation degrees from large to small is: d312, d311, d313, d512, d511, d513, d411, d412, and d413, it is known that the difference v31 between the combinations d312 and d311 is 20%, the difference v32 between the combinations d311 and d313 is 10%, the difference v33 between the combinations d313 and d512 is 39%, the difference v34 between the combinations d512 and d511 is 1%, the difference v35 between the combinations d511 and d513 is 7%, the difference v36 between the combinations d513 and d411 is 3%, the difference v37 between the combinations d411 and d412 is 0%, and the difference v38 between the combinations d412 and d413 is 0%, and it is known that the difference v33 is the largest, and therefore, the electronic device can determine the second correlation d313 as the second preset correlation, i.e., the second preset correlation is 60%.
For another example, assuming that the second correlation degrees are d311, d312, d313, d411, d412, d413, d511, d512 and d513 respectively, the order of the second correlation degrees from large to small is: d413, d412, d411, d513, d511, d512, d313, d311, d312, it is known that the difference v41 between the combinations d413 and d412 is 0%, the difference v42 between the combinations d412 and d411 is 0%, the difference v43 between the combinations d411 and d4513 is 3%, the difference v44 between the combinations d513 and d511 is 7%, the difference v45 between the combinations d511 and d512 is 1%, the difference v46 between the combinations d512 and d313 is 39%, the difference v47 between the combinations d313 and d311 is 10%, the difference v48 between the combinations d311 and d312 is 20%, and it is known that the difference v46 is the largest, and therefore the electronic device can determine the second correlation d313 as the second preset correlation, i.e., the second preset correlation is 60%.
In an optional embodiment, after determining, as the associated thread associated with the key thread, the other thread corresponding to the second correlation greater than or equal to the second preset correlation, the method may further include:
and determining the associated thread associated with the associated thread until a preset stop condition is met.
In this embodiment, the electronic device may determine the associated thread associated with the associated thread in the same manner as the determination of the associated thread associated with the key thread described above until a preset stop condition is satisfied. The preset stop condition may include determining that the number of associated threads reaches a preset number or determining that a new associated thread is not determined.
For example, assuming that the electronic device determines the key thread T1 through steps 101 to 103, determines the associated threads T2 and T3 associated with the key thread T1 through the step of determining the associated threads associated with the key thread, determines the associated threads T4 and T5 associated with the associated thread T2 and the associated threads T6 and T7 associated with the associated thread T3 through the same step as the step of determining the associated threads associated with the key thread, and assuming that the preset stop condition includes that the number of times of the associated threads reaches a preset number of times, and the preset number of times is 2 times, the electronic device may obtain the important thread chain as shown in fig. 2; assuming that the preset stop condition includes that a new associated thread cannot be determined, the electronic device may continue to determine associated threads respectively associated with the associated threads T4, T5, T6, and T7 according to the same steps as the steps of determining the associated threads associated with the key threads described above, assuming that the electronic device determines that the associated threads associated with the associated thread T4 are T8 and T9, the associated threads associated with the associated thread T6 are T10 and T11, and the key threads associated with the associated threads T5, T7, T8, T9, T10, and T11 cannot be determined, the electronic device may obtain an important thread chain as shown in fig. 3.
In an optional embodiment, before obtaining thread state information of multiple threads of the application to be identified in an interface drawing process of the application to be identified and drawing duration information of the interface, the method may further include:
the background runs a number of other applications.
It can be understood that most electronic devices can support normal operation of a single application, that is, when most electronic devices operate a single application, resources are generally not mutually preempted between threads of the application, and therefore, in this embodiment, the electronic devices can operate a plurality of other applications in the background, so that the number of threads which operate simultaneously with threads of the application to be identified is increased, and thus the problem of resource preemption easily occurs between threads, and further, a key thread of the application to be identified is better identified.
In an optional embodiment, before the background runs a plurality of other applications, the method may further include:
determining a plurality of other applications from the applications except the application to be identified according to the system resource requirements of the applications;
background running a number of other applications may include:
the determined plurality of other applications are run in the background.
It can be understood that most of the electronic devices can simultaneously support normal operation of multiple applications with low system resource requirements, that is, when most of the electronic devices operate multiple applications with low system resource requirements, resources are generally not preempted between threads of the applications, and therefore, in this embodiment, the electronic devices can determine multiple other applications from the applications other than the application to be identified according to the system resource requirements of the applications.
For example, the electronic device may determine, as a plurality of other applications, a plurality of applications with the highest system resource requirements among the installed applications in the electronic device, and execute the determined plurality of other applications in the background.
For another example, the electronic device may determine, as the plurality of other applications, a plurality of applications in which the system resource demand of the application exceeds the preset system resource demand among installed applications in the electronic device, and execute the determined plurality of other applications in the background.
In an optional embodiment, the thread identification method may further include:
and determining the thread with the same thread identification as the application identification of the application to be identified in the multiple threads as a key thread of the application to be identified.
In this embodiment, considering that the thread states of some threads in the application to be identified are not related to the interface drawing time, the threads are not identified as key threads through the foregoing method, but if the threads fail to obtain system resources in time, problems such as low touch sensitivity and image jitter at a sliding view angle may also exist. For example, if the touch response thread in the application, such as a game application, fails to obtain system resources in time, there may be problems, such as low touch sensitivity and image jitter when the view angle is slid, and the thread identifier (thread id) of the touch response thread in the application, such as a game application, is the application identifier (process id) of the game application.
In an optional embodiment, the thread identification method may further include:
and determining the threads related to touch control in the multiple threads as key threads of the application to be identified.
For example, if the application, such as a thread related to touch in a game application, fails to obtain system resources in time, there may also be problems such as low touch sensitivity and jittering images at a sliding view angle, and the application, such as a thread related to touch in a game application, is an InputReader thread in a systemServer and an InputDispatcher thread in a systemServer, and the electronic device may determine the InputReader thread and the InputDispatcher thread as key threads of the application to be identified.
In an optional embodiment, the thread identification method may further include:
(1) Determining a calling thread for calling a vibration function;
(2) And if the plurality of threads comprise the calling thread, determining the calling thread as a key thread of the application to be identified.
For example, some vibration scenes may exist in an application, such as a game application, when the application runs, a vibration function of a system needs to be called to complete a part of vibration effect, and if a corresponding thread of the application vibration cannot call the vibration function of the system in time, a problem that the vibration effect does not correspond to display contents of an interface may exist.
In some embodiments, considering that the Thread identifier created by game engines commonly used at present, such as Unity and Unreal, is fixed and has a distinct naming feature in a specific game application, the Thread identifier may be directly identified by using a white list, for example, popular MOBA game xx uses Unity engine, and a Thread with the Thread identifier "Worker Thread" is a work Thread created by a main Thread and a rendering Thread, so that when there is a Thread with the Thread identifier "Worker Thread" in a plurality of threads of an application to be identified, the electronic device may determine the Thread as a key Thread.
Applications using the wwise audio solution all have a thread with a thread identification of "native thread", which is an audio-related thread, and thus, when there is a thread with a thread identification of "native thread" among a plurality of threads of the application to be recognized, the electronic device may determine the thread as a critical thread.
The electronic device may also determine a rendering thread of the game-like application as a critical thread. The rendering thread of the game application has a distinctive feature, for example, in an Android system, the thread identifier of the rendering thread can be acquired from a libgui library during a queue buffer, so that the electronic device determines the thread corresponding to the thread identifier as a key thread.
The electronic equipment manufacturer and the game company perform combined optimization, so that the game application of the game company is accessed to the SDK of the manufacturer, the known key thread information of the game is sent to the electronic equipment, and the electronic equipment can accurately acquire the thread identification of the part of key threads, thereby determining the part of key threads.
Considering that some applications have high requirements on the delay, in the kernel, the electronic device may detect some behaviors of the thread, count whether the network data packet is sent to the thread of the application to be identified, and determine the thread as a key thread of the application to be identified if the network data packet is sent to the thread of the application to be identified.
In an optional embodiment, the thread identification method may further include:
(1) Determining the distribution priority of each thread in a plurality of threads;
(2) And performing resource allocation for the plurality of threads according to the allocation priority.
For example, the allocation priority of the key thread in the multiple threads may be higher than the allocation priority of the associated thread associated with the key thread in the multiple threads, the allocation priority of the associated thread associated with the key thread in the multiple threads may be higher than the allocation priority of the associated thread associated with the associated thread in the multiple threads, and the allocation priority of the associated thread associated with the associated thread in the multiple threads may be higher than the allocation priority of the common thread in the multiple threads, assuming that the multiple threads include the key thread T1, the associated thread T2 associated with the key thread T1, the associated thread T3 associated with the associated thread T2, the associated thread T4 associated with the associated thread, and the common thread T5, the electronic device may allocate resources to the thread T1, allocate resources to the thread T2, allocate resources to the thread T3, allocate resources to the thread T4, and allocate resources to the thread T5.
For another example, the allocation priority of the key thread in the multiple threads, the allocation priority of the associated thread associated with the key thread in the multiple threads, and the allocation priority of the associated thread associated with the associated thread in the multiple threads may be the same and higher than the allocation priority of the normal thread, assuming that the multiple threads include the key thread T1, the associated thread T2 associated with the key thread T1, the associated thread T3 associated with the associated thread T2, the associated thread T4 associated with the associated thread, and the normal thread T5, the electronic device may first perform resource allocation for the threads T1, T2, T3, T4, and T5 (the threads T1, T2, T3, T4, and T5 may be allocated by applying for resource allocation first among themselves), and then perform resource allocation for the thread T5.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a thread recognition device according to an embodiment of the present disclosure. The thread identifying apparatus 200 includes: an information acquisition module 201, a relevancy determination module 202 and a thread determination module 203.
The information obtaining module 201 is configured to obtain thread state information of multiple threads of the application to be identified in an interface drawing process of the multiple threads, and drawing duration information of the interface.
The correlation determining module 202 is configured to determine a first correlation between the thread state of each thread and the drawing time of the interface according to the thread state information and the drawing time information of each thread.
The thread determining module 203 is configured to determine a thread corresponding to a first correlation greater than or equal to the first preset correlation as a key thread of the application to be identified.
In an optional embodiment, the information obtaining module 201 may be configured to: acquiring dormancy and waiting duration information of a key thread in an interface drawing process;
a relevance determination module 202, which may be configured to: determining a second degree of correlation between the thread states of other threads and the dormancy and waiting time of the key thread according to the thread state information and the dormancy and waiting time information of other threads except the key thread in the multiple threads;
a thread determination module 203, operable to: and determining other threads corresponding to the second correlation degree which is greater than or equal to the second preset correlation degree as the associated threads associated with the key threads.
In an alternative embodiment, the thread determining module 203 may be configured to: and determining the associated thread associated with the associated thread until a preset stop condition is met.
In an optional embodiment, the predetermined stop condition includes determining that the number of associated threads reaches a predetermined number or that no new associated thread is determined.
In an alternative embodiment, the correlation determination module 202 may be configured to: fitting the thread state information of each thread with the drawing time length information of the interface to obtain a correlation function of the thread state of each thread and the drawing time length of the interface; and determining a first correlation degree of the thread state of each thread and the drawing time length of the interface according to the correlation coefficient in the correlation function.
In an optional embodiment, the correlation determination module 202 may be configured to: sorting the first relevance according to the magnitude sequence of the first relevance; determining the difference value of the sorted adjacent pairwise first correlation degree combinations; and determining the larger first correlation degree in the combination with the largest difference value as a first preset correlation degree.
In an optional embodiment, the thread identifying apparatus 200 may further include an application execution module, and the application execution module may be configured to: the background runs a number of other applications.
In an optional embodiment, the application execution module may be configured to: determining a plurality of other applications from the applications except the application to be identified according to the system resource requirements of the applications; the determined plurality of other applications are run in the background.
In an alternative embodiment, the thread determining module 203 may be configured to: and determining the thread with the same thread identification as the application identification of the application to be identified in the multiple threads as a key thread of the application to be identified.
In an alternative embodiment, the thread determining module 203 may be configured to: determining a calling thread for calling a vibration function; and if the plurality of threads comprise the calling thread, determining the calling thread as a key thread of the application to be identified.
In an optional embodiment, the thread identifying apparatus 200 may further include a resource allocation module, and the resource allocation module may be configured to: determining the distribution priority of each thread in a plurality of threads; and performing resource allocation for the plurality of threads according to the allocation priority.
The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is caused to execute the thread identification method provided in the embodiment.
The embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the processor is used to execute the thread identification method provided in this embodiment by calling a computer program stored in the memory.
For example, the electronic device may be a mobile terminal such as a tablet computer or a smart phone. Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
The electronic device 300 may include a processor 301, a memory 302, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The processor 301 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 302 and calling the data stored in the memory 302, thereby performing overall monitoring of the electronic device.
The memory 302 may be used to store applications and data. The memory 302 stores applications containing executable code. The application programs may constitute various functional modules. The processor 301 executes various functional applications and data processing by running an application program stored in the memory 302.
In this embodiment, the processor 301 in the electronic device loads the executable code corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 runs the application programs stored in the memory 302, thereby implementing the following processes:
acquiring thread state information of a plurality of threads of an application to be identified in the interface drawing process of the application and drawing duration information of the interface;
determining a first correlation degree of the thread state of each thread and the drawing time of the interface according to the thread state information of each thread and the drawing time information of the interface;
and determining the thread corresponding to the first correlation degree which is greater than or equal to the first preset correlation degree as the key thread of the application to be identified.
Referring to fig. 6, the electronic device 300 may include a processor 301, a memory 302, an input unit 303, an output unit 304, and the like.
The processor 301 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 302 and calling data stored in the memory 302, thereby integrally monitoring the electronic device.
The memory 302 may be used to store applications and data. The memory 302 stores applications containing executable code. The application programs may constitute various functional modules. The processor 301 executes various functional applications and data processing by running an application program stored in the memory 302.
The input unit 303 may be used to receive input numbers, character information, or user characteristic information, such as a fingerprint, and generate a keyboard, mouse, joystick, optical, or trackball signal input related to user setting and function control.
The output unit 304 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The output unit may include a display screen, and the display screen may include a display area.
In this embodiment, the processor 301 in the electronic device loads the executable code corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 runs the application programs stored in the memory 302, thereby implementing the following processes:
acquiring thread state information of a plurality of threads of an application to be identified in the interface drawing process of the application and drawing duration information of the interface;
determining a first correlation degree of the thread state of each thread and the drawing time of the interface according to the thread state information of each thread and the drawing time information of the interface;
and determining the thread corresponding to the first correlation degree which is greater than or equal to the first preset correlation degree as a key thread of the application to be identified.
In an optional embodiment, after the processor 301 determines, as a key thread of the application to be identified, a thread corresponding to a first correlation greater than or equal to a first preset correlation, the processor may further perform: acquiring dormancy and waiting duration information of a key thread in an interface drawing process; determining a second degree of correlation between the thread states of other threads and the dormancy and waiting time of the key thread according to the thread state information and the dormancy and waiting time information of other threads except the key thread in the multiple threads; and determining other threads corresponding to the second correlation degree which is greater than or equal to the second preset correlation degree as the associated threads associated with the key threads.
In an optional embodiment, after the processor 301 determines, as the associated thread associated with the key thread, the other thread corresponding to the second correlation greater than or equal to the second preset correlation, the following steps may be further performed: and determining the associated thread associated with the associated thread until a preset stop condition is met.
In an optional embodiment, the predetermined stop condition includes determining that the number of associated threads reaches a predetermined number or that no new associated thread is determined.
In an optional embodiment, when the processor 301 determines the first correlation between the thread state of each thread and the drawing time of the interface according to the thread state information of each thread and the drawing time information of the interface, it may perform: fitting the thread state information of each thread with the drawing time length information of the interface to obtain a correlation function of the thread state of each thread and the drawing time length of the interface; and determining a first degree of correlation between the thread state of each thread and the drawing time of the interface according to the correlation coefficient in the correlation function.
In an optional embodiment, before the processor 301 determines a thread corresponding to a first correlation greater than or equal to a first preset correlation as a key thread of the application to be identified, the processor may further perform: sorting the first relevance according to the magnitude sequence of the first relevance; determining the difference value of the first correlation degree combination of every two adjacent sorted first correlation degrees; and determining the larger first correlation degree in the combination with the largest difference value as a first preset correlation degree.
In an optional embodiment, before the processor 301 obtains the thread state information of the multiple threads of the application to be identified in the interface drawing process and the drawing duration information of the interface, the following may be further performed: the background runs a number of other applications.
In an alternative embodiment, before the processor 301 executes a plurality of other applications in the background, it may further execute: determining a plurality of other applications from the applications except the application to be identified according to the system resource requirements of the applications; when the processor 301 executes a plurality of other applications in the background, it may perform: the determined plurality of other applications are run in the background.
In an alternative embodiment, the processor 301 may further perform: and determining the threads with the thread identifications identical to the application identifications of the applications to be identified in the multiple threads as the key threads of the applications to be identified.
In an alternative embodiment, the processor 301 may further perform: determining a calling thread for calling a vibration function; and if the plurality of threads comprise the calling thread, determining the calling thread as a key thread of the application to be identified.
In an alternative embodiment, the processor 301 may further perform: determining the distribution priority of each thread in a plurality of threads; and performing resource allocation for the plurality of threads according to the allocation priority.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the thread identification method, and are not described herein again.
The thread identification device provided in the embodiment of the present application and the thread identification method in the above embodiment belong to the same concept, and any method provided in the embodiment of the thread identification method can be run on the thread identification device, and the specific implementation process thereof is described in detail in the embodiment of the thread identification method, and is not described herein again.
It should be noted that, for the thread identification method in the embodiment of the present application, it can be understood by those skilled in the art that all or part of the processes for implementing the thread identification method in the embodiment of the present application can be implemented by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory, and executed by at least one processor, and during the execution, the processes of the embodiment of the thread identification method can be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the thread recognition apparatus according to the embodiment of the present application, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk or an optical disk.
The above detailed description is provided for a thread identification method, a thread identification device, a storage medium, and an electronic device according to embodiments of the present application, and a specific example is applied in the detailed description to explain the principles and implementations of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (14)

1. A method for identifying a thread, comprising:
acquiring thread state information of a plurality of threads of an application to be identified in an interface drawing process of the application and drawing duration information of the interface;
determining a first correlation degree between the thread state of each thread and the drawing time of the interface according to the thread state information of each thread and the drawing time information of the interface;
and determining the thread corresponding to the first correlation degree which is greater than or equal to the first preset correlation degree as the key thread of the application to be identified.
2. The method according to claim 1, wherein after determining the thread corresponding to the first correlation greater than or equal to the first preset correlation as the key thread of the application to be identified, the method further comprises:
acquiring dormancy and waiting duration information of the key thread in the interface drawing process;
determining a second degree of correlation between the thread states of other threads and the dormancy and waiting time of the key thread according to the thread state information and the dormancy and waiting time information of other threads except the key thread in the plurality of threads;
and determining other threads corresponding to the second correlation degree which is greater than or equal to the second preset correlation degree as the associated threads associated with the key threads.
3. The method according to claim 2, wherein after determining other threads corresponding to a second correlation degree greater than or equal to a second preset correlation degree as associated threads associated with the key thread, the method further comprises:
and determining the associated thread associated with the associated thread until a preset stop condition is met.
4. The thread identification method according to claim 3, wherein the predetermined stop condition comprises determining that the number of associated threads reaches a predetermined number or that no new associated thread is determined.
5. The method according to claim 1, wherein the determining a first correlation between the thread state of each thread and the rendering duration of the interface according to the thread state information of each thread and the rendering duration information of the interface comprises:
fitting the thread state information of each thread with the drawing duration information of the interface to obtain a correlation function of the thread state of each thread and the drawing duration of the interface;
and determining a first degree of correlation between the thread state of each thread and the drawing time length of the interface according to the correlation coefficient in the correlation function.
6. The method according to claim 1, wherein before determining the thread corresponding to the first correlation degree greater than or equal to the first preset correlation degree as the critical thread of the application to be identified, the method further comprises:
sorting the first correlation degrees according to the magnitude sequence of the first correlation degrees;
determining the difference value of the first correlation degree combination of every two adjacent sorted first correlation degrees;
and determining the larger first correlation degree in the combination with the maximum difference value as the first preset correlation degree.
7. The thread identification method according to claim 1, wherein before acquiring the thread state information of the plurality of threads of the application to be identified in the interface drawing process and the drawing duration information of the interface, the method further comprises:
the background runs a number of other applications.
8. The thread identification method of claim 7, wherein before the background runs the plurality of other applications, further comprising:
determining a plurality of other applications from the applications except the application to be identified according to the system resource requirements of the applications;
the background runs a plurality of other applications including:
the determined plurality of other applications are run in the background.
9. The method of any of claims 1 to 8, further comprising:
determining a thread with the same thread identification as the application identification of the application to be identified in the plurality of threads as a key thread of the application to be identified.
10. The method of any of claims 1 to 8, further comprising:
determining a calling thread for calling a vibration function;
and if the plurality of threads comprise the calling thread, determining the calling thread as a key thread of the application to be identified.
11. The method according to any one of claims 1 to 8, wherein the method further comprises:
determining an assigned priority for each of the plurality of threads;
and performing resource allocation on the plurality of threads according to the allocation priority.
12. A thread identifying device, comprising:
the information acquisition module is used for acquiring thread state information of a plurality of threads of the application to be identified in the interface drawing process and drawing time length information of the interface;
a correlation determining module, configured to determine a first correlation between the thread state of each thread and the drawing duration of the interface according to the thread state information and the drawing duration information of each thread;
and the thread determining module is used for determining a thread corresponding to a first correlation degree which is greater than or equal to the first preset correlation degree as a key thread of the application to be identified.
13. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the thread identification method of any one of claims 1 to 11.
14. An electronic device, characterized in that the electronic device comprises a processor and a memory, wherein a computer program is stored in the memory, and the processor is configured to execute the thread recognition method according to any one of claims 1 to 11 by calling the computer program stored in the memory.
CN202210864128.7A 2022-07-20 2022-07-20 Thread identification method and device, storage medium and electronic equipment Pending CN115268713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210864128.7A CN115268713A (en) 2022-07-20 2022-07-20 Thread identification method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210864128.7A CN115268713A (en) 2022-07-20 2022-07-20 Thread identification method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115268713A true CN115268713A (en) 2022-11-01

Family

ID=83768498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210864128.7A Pending CN115268713A (en) 2022-07-20 2022-07-20 Thread identification method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115268713A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489228A (en) * 2019-07-16 2019-11-22 华为技术有限公司 A kind of method and electronic equipment of scheduling of resource
CN111338838A (en) * 2020-03-23 2020-06-26 Oppo广东移动通信有限公司 Method for controlling frequency of central processing unit and related device
CN113342505A (en) * 2021-07-02 2021-09-03 Oppo广东移动通信有限公司 Thread identification method, thread identification device, storage medium and electronic equipment
US20220092008A1 (en) * 2020-09-23 2022-03-24 EMC IP Holding Company LLC Managing input/output-critical tasks and background tasks within a computer device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489228A (en) * 2019-07-16 2019-11-22 华为技术有限公司 A kind of method and electronic equipment of scheduling of resource
CN111338838A (en) * 2020-03-23 2020-06-26 Oppo广东移动通信有限公司 Method for controlling frequency of central processing unit and related device
US20220092008A1 (en) * 2020-09-23 2022-03-24 EMC IP Holding Company LLC Managing input/output-critical tasks and background tasks within a computer device
CN113342505A (en) * 2021-07-02 2021-09-03 Oppo广东移动通信有限公司 Thread identification method, thread identification device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
EP2885707B1 (en) Latency sensitive software interrupt and thread scheduling
US9201703B2 (en) Sharing kernel services among kernels
CN113835895B (en) Thread and/or virtual machine scheduling for cores with different capabilities
CN107506240B (en) Background application program control method and device, storage medium and electronic equipment
US20150135186A1 (en) Computer system, method and computer-readable storage medium for tasks scheduling
US20090300637A1 (en) Scheduler instances in a process
CN111831410A (en) Task processing method and device, storage medium and electronic equipment
US11275618B2 (en) Method, device and medium for allocating resource based on type of PCI device
US20080195785A1 (en) Interrupt Control
CN116582438B (en) Virtualized video encoding and decoding system and method, electronic equipment and storage medium
CN111831414A (en) Thread migration method and device, storage medium and electronic equipment
CN107977275B (en) Task processing method based on message queue and related equipment
CN111813521A (en) Thread scheduling method and device, storage medium and electronic equipment
US20150100964A1 (en) Apparatus and method for managing migration of tasks between cores based on scheduling policy
CN111831411A (en) Task processing method and device, storage medium and electronic equipment
US10884781B2 (en) Method and apparatus for a virtual machine
CN111813520A (en) Thread scheduling method and device, storage medium and electronic equipment
CN111831432B (en) IO request scheduling method and device, storage medium and electronic equipment
CN115268713A (en) Thread identification method and device, storage medium and electronic equipment
CN113495780A (en) Task scheduling method and device, storage medium and electronic equipment
CN111831436A (en) Scheduling method and device of IO (input/output) request, storage medium and electronic equipment
CN111382141A (en) Master-slave architecture configuration method, device, equipment and computer readable storage medium
CN111831438A (en) Resource allocation method, device, storage medium and electronic equipment
CN112988355B (en) Program task scheduling method and device, terminal equipment and readable storage medium
CN114911538A (en) Starting method of running system and computing equipment

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