Information detection method and device

By obtaining and matching the messages to be detected in the message queue asynchronous threads, the problem of efficiency reduction caused by main thread detection in the prior art is solved, and more efficient lag detection is achieved, reducing the burden on the main thread and improving the overall processing efficiency.

CN112015613BActive Publication Date: 2025-01-07ALIBABA GROUP HOLDING LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201910470363.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-31
Publication Date
2025-01-07
Estimated Expiration
2039-05-31

AI Technical Summary

Technical Problem

The existing information detection methods detect the time difference in message distribution through the main thread, which leads to an increase in the burden on the main thread, reduces the overall processing efficiency, and thus aggravates the jamming phenomenon.

Method used

The asynchronous thread is used to obtain the messages to be detected in the message queue, and after reaching the preset time threshold, it is determined whether the message is processed by setting the identification match. If it is not processed, it is judged to be a processing exception, which reduces the burden on the main thread and improves detection efficiency.

Benefits of technology

Through asynchronous threads, the lag detection will be reduced, the main thread burden will be improved, and the overall processing efficiency will be accurately judged within the preset time to avoid the persistence of lag.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112015613B_ABST
    Figure CN112015613B_ABST
Patent Text Reader

Abstract

The present invention provides an information detection method and device thereof, the method comprising: obtaining a to-be-detected message in a corresponding message queue through an asynchronous thread, and after reaching a preset time threshold, if it is determined that the to-be-detected message has not been processed, determining that the to-be-detected message is processed abnormally. The present invention can effectively reduce the burden of the main thread on the basis of completing information detection, thereby improving the overall processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to an information detection method and a device thereof. Background Art

[0002] Mobile phones, laptops and other electronic devices often experience abnormal information processing during various operations due to various reasons, which in turn leads to lags and other phenomena. For example, the game is not running smoothly, and the screen is stuck when listening to music. The lag caused by abnormal information processing is an important factor affecting the user experience. Therefore, the detection of information processing is particularly important. At present, most of them will detect the time difference before and after the message is distributed through the main thread, and judge whether the information processing abnormality occurs based on whether the time difference has timed out. However, this method will increase the burden on the main thread, thereby reducing the overall processing efficiency and aggravating the lag phenomenon. Summary of the invention

[0003] An object of the present invention is to provide an information detection method and device thereof to solve the problem of reducing the overall processing efficiency in the existing information detection method.

[0004] According to a first aspect of the present invention, there is provided an information detection method, comprising:

[0005] Obtain the message to be detected in the corresponding message queue through an asynchronous thread;

[0006] After reaching a preset time threshold, determining whether the message to be detected is processed;

[0007] If the message to be detected is not processed, it is determined that the processing of the message to be detected is abnormal.

[0008] Furthermore, the method of the present invention further comprises:

[0009] Setting a first identifier on the message to be detected, where the first identifier is used to indicate that the message to be detected is in a waiting for detection state;

[0010] After reaching the preset time threshold, the message to be detected is obtained again, and a second flag is set, where the second flag is used to indicate that the message to be detected is in a waiting for matching state;

[0011] Determining whether the message to be detected is processed includes:

[0012] Matching the message to be detected having the first identifier with the message to be detected having the second identifier to determine whether the specified information of the two is consistent;

[0013] If they are consistent, it is determined that the message to be detected has not been processed; if they are inconsistent, it is determined that the message to be detected has been processed.

[0014] Determining that the processing of the message to be detected is abnormal Further, the method of the present invention further includes:

[0015] If the expected processing time is less than the current time, setting the first identifier for the message to be detected with the second identifier;

[0016] After reaching the preset time threshold, the step of determining whether the message to be detected having the first identifier is processed is performed on the message to be detected.

[0017] Furthermore, the method of the present invention further comprises:

[0018] Create the asynchronous thread and the corresponding message queue;

[0019] The asynchronous thread polls the message queue for messages to be detected.

[0020] Furthermore, the method of the present invention further comprises:

[0021] If it is determined that the message processing exception to be detected is a jamming situation, the jamming information is obtained.

[0022] According to a second aspect of the present invention, there is provided an information detection method, comprising:

[0023] A message acquisition module is used to acquire the to-be-detected message in the corresponding message queue through an asynchronous thread;

[0024] A message determination module, used to determine whether the message to be detected is processed after reaching a preset time threshold;

[0025] The jam detection module is used to determine that the processing of the message to be detected is abnormal when it is determined that the message to be detected has not been processed.

[0026] Furthermore, the message determination module is specifically used for:

[0027] Setting a first identifier on the message to be detected, where the first identifier is used to indicate that the message to be detected is in a waiting for detection state;

[0028] After reaching the preset time threshold, the message to be detected is obtained again, and a second flag is set, where the second flag is used to indicate that the message to be detected is in a waiting for matching state;

[0029] Matching the message to be detected having the first identifier with the message to be detected having the second identifier to determine whether the specified information of the two is consistent;

[0030] If they are consistent, it is determined that the message to be detected has not been processed; if they are inconsistent, it is determined that the message to be detected has been processed.

[0031] Further, the message determination module is specifically used for:

[0032] If the expected processing time is less than the current time, setting the first identifier for the message to be detected with the second identifier;

[0033] After reaching the preset time threshold, it is determined whether the to-be-detected message with the first identifier is processed.

[0034] Furthermore, the device of the present invention further comprises:

[0035] A thread creation module, wherein the thread creation module is specifically used for:

[0036] Create the asynchronous thread and the corresponding message queue;

[0037] The asynchronous thread polls the message queue for messages to be detected.

[0038] Furthermore, the device of the present invention further comprises:

[0039] Information acquisition module, obtains freeze information.

[0040] According to a third aspect of the present invention, there is provided a storage medium storing computer program instructions for executing the method according to the present invention.

[0041] According to a fourth aspect of the present invention, a computing device is provided, comprising: a memory for storing computer program instructions and a processor for executing computer program instructions, wherein when the computer program instructions are executed by the processor, the computing device is triggered to execute the method described in the present invention.

[0042] The present invention provides an information detection method and device, which obtains the to-be-detected message in the corresponding message queue through an asynchronous thread, and after reaching a preset time threshold, if it is determined that the to-be-detected message has not been processed, it is determined that the to-be-detected message processing is abnormal. On the one hand, completing the detection of the jamming situation through the asynchronous thread can reduce the burden of the main thread and improve the overall processing efficiency. On the other hand, judging the processing situation of the to-be-detected message within the preset time threshold can more accurately complete the detection of the abnormal processing of the to-be-detected message. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0044] Figure 1 This is a flow chart of an information detection method according to Embodiment 1 of the present invention;

[0045] Figure 2This is a flow chart of an information detection method according to Embodiment 2 of the present invention;

[0046] Figure 3 This is a flow chart of an information detection method according to Embodiment 3 of the present invention;

[0047] Figure 4 It is a structural schematic diagram of the information detection method according to an embodiment of the present invention.

[0048] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION

[0049] The present invention is further described in detail below in conjunction with the accompanying drawings.

[0050] In a typical configuration of the present invention, the terminal and the equipment of the service network each include one or more processors (CPU), input / output interface, network interface and memory.

[0051] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0052] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be a device that can be computer-readable instructions, data structures, programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0053] Figure 1 FIG. 1 is a flow chart of an information detection method according to Embodiment 1 of the present invention. Figure 1 As shown, the information detection method provided by Embodiment 1 of the present invention includes:

[0054] Step S101, obtaining a message to be detected in a corresponding message queue through an asynchronous thread;

[0055] Specifically, an asynchronous thread and a corresponding message queue may be created first, and the messages in the message queue may be polled by the asynchronous thread. The asynchronous thread may be a UI (User Interface) thread for processing UI messages, or may be other threads for processing other messages. Taking the UI thread as an example, after the UI thread is created, the operating system may create a UI message queue for the UI thread by calling GDI (Graphics Device Interface) and User functions. The UI thread starts a message loop, and records the message through the queue after each polling of the UI message queue, such as queue = Looper.getMainLooper().queue in the Android system. The UI message is taken out of the UI message queue, and then processed accordingly according to the information contained in the UI message. The information contained in the UI message includes header information. When the UI message is processed, the corresponding data in the header information of the UI message will be modified, or a processed flag will be added to indicate that the UI message has been executed. When obtaining the UI message in the corresponding message queue through the UI thread, only the header information of the UI message can be obtained, and the UI message or its header information is added with a first identifier to indicate that the UI message is in a waiting detection state. For example, it can be recorded by last, and last=queue.next in the Android system. The message with the first identifier can enter the waiting detection state as a message to be detected.

[0056] Step S102, after reaching a preset time threshold, determining whether the message to be detected is processed;

[0057] Specifically, a time threshold for determining whether there is a freeze is preset, and the time threshold can be set according to the processing time of the message, or by referring to the ANR threshold for gesture operation set in the Android system as 5s.

[0058] Adding a first identifier to a UI message or its header information can be used as a trigger condition for the timer to start timing. After the timer is started to start timing and reaches a preset time threshold, the message to be detected is obtained again or only the header information of the message to be detected is obtained. The message to be detected obtained again is the same message as the UI message with the first identifier added, and a second identifier is set for the message to be detected obtained again or the header information of the message to be detected. The second identifier is used to indicate that the message to be detected is in a waiting matching state. For example, it can be recorded by current, and the example is that the Android system current=queue.next, and then determine whether the message to be detected is processed according to the header information carried by the message to be detected. The header information of the message to be detected with the first identifier is matched with the header information of the message to be detected with the second identifier, and it is determined whether the header information (i.e., the specified information) of the two is consistent. When the header information of the two is consistent, it means that the message before the message to be detected has not been processed, resulting in the message to be detected not being processed, so the header information has not changed, and the header information of the two is inconsistent, indicating that the message to be detected has not been processed. Conversely, if the preset time threshold is reached and it is determined through matching that the header information of the two is inconsistent, for example, when the message to be detected obtained again has a processed mark added, it means that the message to be detected has been processed, and there is no jamming such as abnormal processing of the message to be detected.

[0059] Step S103: If the message to be detected is not processed, it is determined that the processing of the message to be detected is abnormal.

[0060] Since the preset time threshold is set according to the message processing time, if the message to be detected has not been processed after reaching the preset time threshold, it can be basically determined that the message to be detected is processed abnormally, such as abnormal conditions such as freezing. Then the freezing information can be obtained and sent to the relevant personnel for timely processing, or the corresponding optimization strategy can be further generated based on the freezing information to avoid the freezing process lasting for a long time. Figure 2 The flowchart of the information detection method of the second embodiment of the present invention is shown in FIG. In the information detection method of the jam detection method provided in the second embodiment of the present invention, determining whether the message to be detected is processed may also include:

[0061] Step S1031, record the current time.

[0062] The current time may be the current system clock time or the application running time. In the Android system, for example, the current system clock time t = SystemClock.uptimeMills().

[0063] Step S1032, obtaining the expected processing time carried in the message to be detected.

[0064] Specifically, the expected processing time last.when can be preset in the header information of the timed processing message. After reaching the preset time threshold, the expected processing time carried in the header information of the message to be detected can be obtained. The expected processing time can be obtained through the current.when function in the Android system.

[0065] Step S1033, determine whether the expected processing time is earlier than the current time; if so, determine that the message to be detected is processed abnormally, and execute step S1034; otherwise, execute step S1035.

[0066] If it is determined that the expected processing time is earlier than the current time, that is, last.when < t, it means that the message to be detected has not been processed yet, and it can be determined that there are abnormal situations such as jams in the message to be detected, and step S1034 is executed;

[0067] Step S1034, if it is determined that the abnormal processing of the message to be detected is a jam situation, obtain the jam information.

[0068] After determining that the processing of the message to be detected is abnormal, it will cause a jam phenomenon. Then, the jam information can be obtained, and the corresponding optimization strategy can be generated based on the jam information to avoid the jam process of the target application lasting for a long time. The jam information includes the jam time, the duration of the jam, the user interface information displayed during the jam, the frame loss rate during the jam, the running stage of the jam, the occupancy rate of the terminal hardware resources during the jam, the stack information called during the jam, etc., wherein the jam time is used to indicate the time point of the start and end of the jam, which can be the time displayed by the system clock when the jam occurs, or the running time of the target application when the jam occurs. The jam duration is the time interval between the start time of the jam and the end time of the jam. The user interface information refers to the image obtained by intercepting the user interface. The frame loss rate refers to the ratio between the number of lost frames and the total number of frames. The running stage refers to a period of time when the application runs. The terminal hardware resources refer to the processing capabilities of the hardware in the terminal. Terminal hardware resources may include a central processing unit (CPU), a graphics processing unit (GPU), an input / output unit (I / O), etc. When the terminal hardware resources include only one type, the utilization of the terminal hardware resources can be obtained based on the ratio between the available terminal hardware resources and the total amount of the terminal hardware resources. When the terminal hardware resources include n types of hardware resources, the utilization of the terminal hardware resources can be the maximum value of the utilization of the n types of hardware resources, or it can be the average value of the utilization of the n types of hardware resources. The stack information is the information of the stack called by the target application during the jamming process. After obtaining the jamming information, the above jamming information can be sent to the corresponding personnel for timely processing, or a corresponding optimization strategy can be further generated based on the above jamming information to avoid the jamming process lasting for a long time.

[0069] Step S1035: if the expected processing time is not earlier than the current time, the first identifier is set for the message to be detected with the second identifier, and after reaching the preset time threshold, the above step S102 is executed for the message to be detected with the first identifier.

[0070] If the expected processing time is later than the current time, it means that the processing time of the message to be detected has not yet arrived, which means that the message to be detected is processed normally and there is no jamming. The message to be detected can be reset to the first flag and the timer can be restarted for timing processing. After reaching the preset time threshold, the step of determining whether the message to be detected is processed is continued for the message to be detected with the first flag set, that is, step S102, to complete the next round of information detection. The specific execution steps can refer to the specific method for determining whether the message to be detected is processed in Example 1, which will not be repeated here.

[0071] Figure 3 Schematic diagram of the flow of the information detection method of the third embodiment of the present invention. Figure 3 The information detection method provided in the third embodiment of the present invention is further described by taking the detection of a freeze condition as an example.

[0072] Step S301, creating an asynchronous thread async;

[0073] Step S302, setting a time threshold duration representing a freeze;

[0074] Step S303, obtaining the UI message queue queue;

[0075] Step S304, obtaining the header message last;

[0076] Step S305, waiting for reaching the time threshold Wait (Duration);

[0077] Step S306, obtaining the header message current;

[0078] Step S307, obtaining the current time t;

[0079] Step S308, current=Last&&last.when<t?

[0080] Step S309, obtaining freeze information;

[0081] Step S310, determine last=queue, and execute step S305.

[0082] Specifically, first create an asynchronous thread async and a corresponding message queue, and use the asynchronous thread async to poll messages in the message queue. Take the UI thread as an example. After creating the UI thread, call GDI and User functions to enable the operating system to create a UI message queue for the UI thread. Set the time threshold duration that represents the jamming, and start a message loop by the UI thread. After each polling of the UI message queue, record it through queue, take out the UI message (message to be detected) from the UI message queue, obtain the UI message header information, and add the first identifier last to the UI message header information to enter the waiting detection state. After reaching the preset time threshold Wait (Duration), the UI message is obtained again, and the second identifier current is set for the header information of the UI message obtained again, and the header information of the message to be detected corresponding to last is matched with the header information of the message to be detected corresponding to current to determine whether the header information of the two is consistent. When the header information of the two is consistent, that is, current = Last, it means that the UI message header information may not have been processed yet, then the expected processing time last.when carried in the UI message header information is obtained, and it is determined whether the expected processing time is earlier than the current time (last.when<t)? If current=Last&last.when<t, it means that the expected execution time last.when has been exceeded, but the UI message header information has not been processed yet. It can be determined that there are abnormal processing conditions such as freeze in the UI message, then execute S309 to obtain freeze information and end the process; if the expected processing time is not earlier than the current time, but last=queue, it means that the reason why the UI message header information has not been processed is that the expected execution time last.when has not been reached, then S305 step of waiting for the time threshold Wait(Duration) to be reached can be executed again to complete the next round of freeze detection.

[0083] Figure 4 Schematic diagram of the structure of the information detection device according to an embodiment of the present invention. Figure 4 As shown, the information detection device of the embodiment of the present invention includes: a message acquisition module 41, a message determination module 42 and a freeze detection module 44.

[0084] The message acquisition module 41 is used to acquire the to-be-detected message in the corresponding message queue through an asynchronous thread;

[0085] A message determination module 42, configured to determine whether the message to be detected is processed after reaching a preset time threshold;

[0086] The jam detection module 44 is used to determine that the processing of the message to be detected is abnormal when it is determined that the message to be detected has not been processed.

[0087] In one embodiment of the present invention, the message determination module 42 is specifically used to:

[0088] Setting a first identifier on the message to be detected, where the first identifier is used to indicate that the message to be detected is in a waiting for detection state;

[0089] After reaching the preset time threshold, the message to be detected is obtained again, and a second flag is set, where the second flag is used to indicate that the message to be detected is in a waiting for matching state;

[0090] Matching the message to be detected having the first identifier with the message to be detected having the second identifier to determine whether the specified information of the two is consistent;

[0091] If they are consistent, it is determined that the message to be detected has not been processed; if they are inconsistent, it is determined that the message to be detected has been processed.

[0092] In one embodiment of the present invention, the jam detection module 44 is further used to:

[0093] If it is determined that the message to be detected has not been processed, obtaining an expected processing time carried in the message to be detected;

[0094] Determine whether the expected processing time is earlier than the current time;

[0095] If so, it is determined that the processing of the message to be detected is abnormal.

[0096] In one embodiment of the present invention, the message determination module 42 is specifically used to:

[0097] If the expected processing time is less than the current time, setting the first identifier for the message to be detected with the second identifier;

[0098] After reaching the preset time threshold, it is determined whether the to-be-detected message with the first identifier is processed.

[0099] In one embodiment of the present invention, the apparatus further includes a thread creation module 44, and the thread creation module 44 is specifically used to:

[0100] Create the asynchronous thread and the corresponding message queue;

[0101] The asynchronous thread polls the message queue for messages to be detected.

[0102] In one embodiment of the present invention, the device further includes an information acquisition module 46, and the information acquisition module 46 is specifically used to:

[0103] Get the jam information.

[0104] Embodiments of the present invention Figure 4The device shown is an embodiment of the present invention Figures 1 to 3 The implementation device of the method shown in the figure has the same specific principle as the embodiment of the present invention. Figures 1 to 3 The method shown is the same and will not be repeated here.

[0105] An embodiment of the present invention further provides a storage device, wherein the storage device stores computer program instructions, wherein the computer program instructions according to the present invention Figures 1 to 3 The method shown is executed.

[0106] The embodiment of the present invention further provides a computing device, comprising: a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the computing device is triggered to execute the present invention. Figures 1 to 3 The method shown.

[0107] In addition, some embodiments of the present invention further provide a computer-readable medium having computer program instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement the methods and / or technical solutions of the aforementioned multiple embodiments of the present invention.

[0108] It should be noted that the present invention can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In some embodiments, the software program of the present invention can be executed by a processor to implement the above steps or functions. Similarly, the software program of the present invention (including related data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and the like. In addition, some steps or functions of the present invention can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.

[0109] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

Claims

1. An information detection method, characterized in that: The method comprises: Obtain the message to be detected in the corresponding message queue through an asynchronous thread; After reaching a preset time threshold, determining whether the message to be detected is processed; If the message to be detected is not processed, determining that the processing of the message to be detected is abnormal; The method further includes: setting a first identifier for the message to be detected, the first identifier being used to indicate that the message to be detected is in a waiting detection state; after reaching a preset time threshold, acquiring the message to be detected again and setting a second identifier, the second identifier being used to indicate that the message to be detected is in a waiting matching state; Determining whether the message to be detected is processed includes: matching the message to be detected with a first identifier with the message to be detected with a second identifier to determine whether the specified information of the two is consistent; if they are consistent, determining that the message to be detected has not been processed; if they are inconsistent, determining that the message to be detected has been processed.

2. The method according to claim 1, characterized in that Determining whether the message to be detected is processed includes: Obtaining the expected processing time carried in the message to be detected; Determine whether the expected processing time is earlier than the current time; If so, it is determined that the message to be detected has not been processed.

3. The method according to claim 2, characterized in that The method further comprises: If the expected processing time is less than the current time, setting the first identifier for the message to be detected with the second identifier; After reaching the preset time threshold, the step of determining whether the message to be detected having the first identifier is processed is performed on the message to be detected.

4. The method according to claim 1, characterized in that The method further comprises: Create the asynchronous thread and the corresponding message queue; The asynchronous thread polls the message queue for messages to be detected.

5. The method according to claim 1, characterized in that After determining that the to-be-detected message is processed abnormally, the method further includes: When the processing exception of the message to be detected is that the message to be detected is stuck, the stuck information is obtained.

6. An information detection device, characterized in that: include: A message acquisition module is used to acquire the to-be-detected message in the corresponding message queue through an asynchronous thread; A message determination module, used to determine whether the message to be detected is processed after reaching a preset time threshold; A jam detection module, used for determining that the processing of the message to be detected is abnormal when it is determined that the message to be detected has not been processed; Among them, the message determination module is specifically used to: set a first identifier for the message to be detected, and the first identifier is used to indicate that the message to be detected is in a waiting detection state; after reaching a preset time threshold, obtain the message to be detected again, and set a second identifier, and the second identifier is used to indicate that the message to be detected is in a waiting matching state; match the message to be detected with the first identifier with the message to be detected with the second identifier to determine whether the specified information of the two is consistent; if they are consistent, determine that the message to be detected has not been processed; if they are inconsistent, determine that the message to be detected has been processed.

7. The device according to claim 6, characterized in that The message determination module is also used for: Obtaining the expected processing time carried in the message to be detected; Determine whether the expected processing time is earlier than the current time; If so, it is determined that the message to be detected has not been processed.

8. The device according to claim 7, characterized in that The message determination module is specifically used for: If the expected processing time is less than the current time, setting the first identifier for the message to be detected with the second identifier; After reaching the preset time threshold, it is determined whether the to-be-detected message with the first identifier is processed.

9. The device according to claim 6, characterized in that The device also includes a thread creation module, which is specifically used to: Create the asynchronous thread and the corresponding message queue; The asynchronous thread polls the message queue for messages to be detected.

10. The device according to claim 6, characterized in that The device further includes an information acquisition module, which is specifically used to: When it is determined that the message processing exception to be detected is a jamming situation, jamming information is obtained.

11. A storage medium, characterized in that: The storage medium stores computer program instructions for executing the method according to any one of claims 1 to 5.

12. A computing device, characterized in that: include: A memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the computing device is triggered to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Application program lag problem data obtaining method and device

    CN105589783A

  • Message blocking detection method and device, and computer storage medium

    CN106959899A

  • Message processing method and device, computer terminal and computer-readable storage medium

    CN108363628A