Carton detection method, device, storage medium and apparatus
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-25
- Publication Date
- 2026-08-11
AI Technical Summary
[0004]本发明的主要目的在于提供一种卡顿检测方法、设备、存储介质及装置,旨在解决现有技术中应用在运行过程中如果出现卡顿,需要用户人工收集卡顿信息,并将卡顿信息上报给企业开发人员,从而导致问题反馈效率低,不利于问题的快速排查的技术问题
[0057] This invention discloses a method for recording an operation video of the application and collecting target information of the application when application lag is detected. The operation video and target information are then sent to the detection terminal corresponding to the application, and the lag detection results fed back by the detection terminal based on the operation video and target information are received. Because this invention automatically records the operation video of the application, collects the target information of the application, and sends the operation video and target information to the detection terminal corresponding to the application when application lag is detected, it can improve the efficiency of problem feedback and enhance the user experience.
Smart Images

Figure CN115665003B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet technology, and in particular to a method, device, storage medium and apparatus for detecting lag. Background Technology
[0002] Currently, if an application (such as a browser) experiences lag during operation, users need to manually collect lag information and report it to the enterprise developers, resulting in low efficiency in problem feedback and hindering rapid troubleshooting.
[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main objective of this invention is to provide a method, device, storage medium, and apparatus for detecting stuttering, aiming to solve the technical problem in the prior art where, if stuttering occurs during operation, users need to manually collect stuttering information and report it to enterprise developers, resulting in low problem feedback efficiency and hindering rapid problem troubleshooting.
[0005] To achieve the above objectives, the present invention provides a stuttering detection method, which includes the following steps:
[0006] When an application lag is detected, the operation video corresponding to the application is recorded, and the target information of the application is collected.
[0007] The operation video and the target information are sent to the detection terminal corresponding to the application.
[0008] The system receives the stuttering detection results from the detection terminal based on the operation video and the target information.
[0009] Optionally, the step of recording the operation video of the application and collecting the target information of the application when application lag is detected includes:
[0010] When application lag is detected, check whether the user has enabled the lag feedback function;
[0011] When the user enables the lag feedback function, record the corresponding operation video of the application;
[0012] Collect the target information of the application.
[0013] Optionally, the step of recording the operation video corresponding to the application when the user enables the lag feedback function includes:
[0014] When the user enables the lag feedback function, obtain the current terminal information;
[0015] Record the operation video corresponding to the application based on the current terminal information.
[0016] Optionally, the step of recording the operation video corresponding to the application based on the current terminal information includes:
[0017] Obtain the permission information of the application;
[0018] Record the operation video corresponding to the application based on the current terminal information and the permission information.
[0019] Optionally, the step of recording the operation video corresponding to the application based on the current terminal information and the permission information includes:
[0020] Obtain the user information of the user;
[0021] Record the operation video corresponding to the application based on the current terminal information, the permission information, and the user information.
[0022] Optionally, after the step of recording the operation video corresponding to the application when the user enables the lag feedback function, the method further includes:
[0023] If recording fails, the video will be re-recorded after a preset interval.
[0024] A prompt message is generated if recording fails again.
[0025] Optionally, the step of sending the operation video and the target information to the detection terminal corresponding to the application includes:
[0026] The operation video and the target information are encrypted respectively;
[0027] The encrypted operation video and target information are sent to the detection terminal corresponding to the application.
[0028] Optionally, the step of encrypting the operation video and the target information respectively includes:
[0029] Obtain the video format of the operation video, and encrypt the operation video according to the video format;
[0030] Obtain the privacy level of the target information, and encrypt the target information according to the privacy level.
[0031] Optionally, after the step of receiving the stuttering detection result fed back by the detection terminal based on the operation video and the target information, the method further includes:
[0032] Based on the lag detection results, the optimized configuration information for the application is generated;
[0033] Configure the application according to the optimized configuration information.
[0034] Optionally, the step of generating optimized configuration information for the application based on the lag detection results includes:
[0035] Based on the lag detection results, determine the lag type and cause;
[0036] Optimization configuration information for the application is generated based on the type and cause of the lag.
[0037] Optionally, the target information includes at least one of user data, memory dump files, and process information.
[0038] In addition, to achieve the above objectives, the present invention also proposes a stuttering detection device, which includes a memory, a processor, and a stuttering detection program stored in the memory and executable on the processor. The stuttering detection program is configured to implement the stuttering detection method described above.
[0039] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing a stuttering detection program, which, when executed by a processor, implements the stuttering detection method as described above.
[0040] In addition, to achieve the above objectives, the present invention also proposes a stuttering detection device, which includes: a recording module, a sending module, and a receiving module;
[0041] The recording module is used to record the operation video of the application when an application lag is detected, and to collect the target information of the application.
[0042] The sending module is used to send the operation video and the target information to the detection terminal corresponding to the application;
[0043] The receiving module is used to receive the stuttering detection results fed back by the detection terminal based on the operation video and the target information.
[0044] Optionally, the recording module is further configured to detect whether the user has enabled the lag feedback function when an application lag is detected.
[0045] The recording module is also used to record the operation video of the application when the user enables the lag feedback function;
[0046] The recording module is also used to collect target information of the application.
[0047] Optionally, the recording module is further configured to obtain current terminal information when the user enables the lag feedback function;
[0048] The recording module is also used to record operation videos corresponding to the application based on the current terminal information.
[0049] Optionally, the recording module is further configured to obtain permission information of the application;
[0050] The recording module is also used to record operation videos corresponding to the application based on the current terminal information and the permission information.
[0051] Optionally, the recording module is further configured to acquire the user's user information;
[0052] The recording module is also used to record operation videos corresponding to the application based on the current terminal information, the permission information, and the user information.
[0053] Optionally, the recording module is further configured to re-record the video after a preset time interval when recording fails;
[0054] The recording module is also used to generate a prompt message when recording fails again.
[0055] Optionally, the sending module is further configured to encrypt the operation video and the target information respectively;
[0056] The sending module is also used to send the encrypted operation video and target information to the detection terminal corresponding to the application.
[0057] This invention discloses a method for recording an operation video of the application and collecting target information of the application when application lag is detected. The operation video and target information are then sent to the detection terminal corresponding to the application, and the lag detection results fed back by the detection terminal based on the operation video and target information are received. Because this invention automatically records the operation video of the application, collects the target information of the application, and sends the operation video and target information to the detection terminal corresponding to the application when application lag is detected, it can improve the efficiency of problem feedback and enhance the user experience. Attached Figure Description
[0058] Figure 1 This is a schematic diagram of the hardware runtime environment lag detection device involved in the embodiments of the present invention;
[0059] Figure 2 This is a flowchart illustrating the first embodiment of the stuttering detection method of the present invention;
[0060] Figure 3 This is a flowchart illustrating the second embodiment of the stuttering detection method of the present invention;
[0061] Figure 4 This is a flowchart illustrating the third embodiment of the stuttering detection method of the present invention;
[0062] Figure 5 This is a structural block diagram of the first embodiment of the stuttering detection device of the present invention.
[0063] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0064] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0065] Reference Figure 1 , Figure 1 This is a schematic diagram of the hardware runtime environment lag detection device involved in the embodiment of the present invention.
[0066] like Figure 1 As shown, the stuttering detection device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen, and optionally, it may also include a standard wired interface or a wireless interface. In this invention, the wired interface of the user interface 1003 may be a USB interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a non-volatile memory (NVM), such as a disk storage device. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0067] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the stuttering detection device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0068] like Figure 1 As shown, the memory 1005, which is identified as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a lag detection program.
[0069] exist Figure 1 In the lag detection device shown, the network interface 1004 is mainly used to connect to the backend server and communicate with the backend server; the user interface 1003 is mainly used to connect to the user equipment; the lag detection device calls the lag detection program stored in the memory 1005 through the processor 1001 and executes the lag detection method provided in the embodiment of the present invention.
[0070] Based on the above hardware structure, an embodiment of the stuttering detection method of the present invention is proposed.
[0071] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the stuttering detection method of the present invention, which presents the first embodiment of the stuttering detection method of the present invention.
[0072] In the first embodiment, the stuttering detection method includes the following steps:
[0073] Step S10: When an application freeze is detected, record the operation video corresponding to the application and collect the target information of the application.
[0074] It should be understood that the execution subject of the method in this embodiment can be a lag detection device with data processing, network communication and program running functions, such as a terminal device with a browser, or other electronic devices that can achieve the same or similar functions. This embodiment does not limit this.
[0075] It's understandable that detecting application lag can be done through a pre-set script, which can be pre-configured (e.g., a Systrace script); or it can be triggered by receiving user feedback. For example, users can provide feedback through their browser's feedback tool.
[0076] It should be understood that, in order to ensure the recording effect, the operation video corresponding to the application can be recorded by obtaining the current terminal information and recording the operation video corresponding to the application based on the current terminal information.
[0077] It should be noted that the current terminal information may include the terminal device's configuration information and configuration usage information. The configuration information may include information such as the Central Processing Unit (CPU) model, the Graphics Processing Unit (GPU) model, and the memory size. The configuration usage information may include information such as CPU usage, GPU usage, and memory usage.
[0078] It is understandable that recording operation videos corresponding to the application based on the current terminal information can involve determining the recording resolution and number of frames based on the current terminal information, and then recording operation videos corresponding to the application based on the recording resolution and number of frames.
[0079] It should be noted that the target information includes at least one of user data, memory dump files, and process information. The user data can be anonymized user data, and the memory dump file can be a .dmp file.
[0080] Step S20: Send the operation video and the target information to the detection terminal corresponding to the application.
[0081] It should be noted that the testing terminal can be the terminal of the application's developer.
[0082] It should be understood that, in order to avoid information leakage, in this embodiment, the operation video and target information can be encrypted separately before being sent to the detection terminal corresponding to the application.
[0083] Step S30: Receive the stuttering detection results fed back by the detection terminal based on the operation video and the target information.
[0084] Understandably, after receiving the operation video and target information, the detection terminal can analyze the operation video and target information, generate a stuttering detection result based on the analysis results, and send the stuttering detection result to the terminal device.
[0085] In the first embodiment, when application lag is detected, the operation video corresponding to the application is recorded, and the target information of the application is collected. The operation video and target information are sent to the detection terminal corresponding to the application, and the lag detection result fed back by the detection terminal based on the operation video and target information is received. Since this embodiment automatically records the operation video corresponding to the application, collects the target information of the application, and sends the operation video and target information to the detection terminal corresponding to the application when application lag is detected, the problem feedback efficiency can be improved and the user experience can be enhanced.
[0086] Reference Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the stuttering detection method of the present invention, based on the above. Figure 2 The first embodiment shown presents a second embodiment of the stuttering detection method of the present invention.
[0087] In the second embodiment, step S10 includes:
[0088] Step S101: When an application lag is detected, check whether the user has enabled the lag feedback function.
[0089] It should be understood that, in order to avoid infringing on user privacy and improve user experience, this embodiment will also detect whether the user has enabled the lag feedback function before recording the operation video corresponding to the application.
[0090] In practice, for example, users can enable the lag feedback function by opening the browser's feedback tool.
[0091] Step S102: When the user enables the lag feedback function, record the operation video corresponding to the application.
[0092] It's understandable that when a user enables the lag feedback feature, it means the user has allowed video recording. Therefore, it's possible to record videos of the application's operation.
[0093] Furthermore, to ensure recording quality, step S102 includes:
[0094] When the user enables the lag feedback function, obtain the current terminal information;
[0095] Record the operation video corresponding to the application based on the current terminal information.
[0096] It should be understood that, in order to ensure the recording effect, this embodiment will also obtain the current terminal information and record the operation video corresponding to the application based on the current terminal information.
[0097] It should be noted that the current terminal information may include the terminal device's configuration information and configuration usage information. The configuration information may include information such as the Central Processing Unit (CPU) model, the Graphics Processing Unit (GPU) model, and the memory size. The configuration usage information may include information such as CPU usage, GPU usage, and memory usage.
[0098] It is understandable that recording operation videos corresponding to the application based on the current terminal information can involve determining the recording resolution and number of frames based on the current terminal information, and then recording operation videos corresponding to the application based on the recording resolution and number of frames.
[0099] Furthermore, to protect user privacy, the step of recording the operation video corresponding to the application based on the current terminal information includes:
[0100] Obtain the permission information of the application;
[0101] Record the operation video corresponding to the application based on the current terminal information and the permission information.
[0102] It should be understood that, in order to protect user privacy, this embodiment also records the operation video of the application based on the application's permission information.
[0103] It should be noted that permission information may include recording mode and other information. Recording mode may include normal mode, privacy mode and prohibited mode.
[0104] Understandably, in normal recording mode, the operation video of the application is recorded normally based on the current terminal information; in privacy recording mode, the operation video of the application is recorded based on the current terminal information, and the operation video is privacy-enhanced, which may include blurring privacy information in the operation video; in prohibited recording mode, the operation video of the application is prohibited.
[0105] Furthermore, to meet the user's actual recording needs, the step of recording the operation video corresponding to the application based on the current terminal information and the permission information includes:
[0106] Obtain the user information of the user;
[0107] Record the operation video corresponding to the application based on the current terminal information, the permission information, and the user information.
[0108] It should be understood that, in order to meet the actual recording needs of users, this embodiment also obtains user information and records operation videos corresponding to the application based on the user information.
[0109] It should be noted that user information may include user name, user type, and user preferences.
[0110] Furthermore, to avoid recording failure, after step S102, the following steps are also included:
[0111] If recording fails, the video will be re-recorded after a preset interval.
[0112] A prompt message is generated if recording fails again.
[0113] It is understandable that in practical applications, recording may fail due to current CPU usage, GPU usage, or memory usage. Therefore, to overcome the above-mentioned shortcomings, in this embodiment, when recording fails, the video recording is restarted after a preset interval.
[0114] It should be noted that the preset time can be set in advance. In this embodiment, 10 seconds is used as an example for explanation.
[0115] It should be understood that if recording fails again, it indicates that the failure may not be due to system performance issues. Therefore, in this embodiment, a prompt message is generated upon repeated recording failures. This prompt message can be preset.
[0116] Step S103: Collect the target information of the application.
[0117] It should be noted that the target information includes at least one of user data, memory dump files, and process information.
[0118] In the second embodiment, when application lag is detected, it is disclosed that the system detects whether the user has enabled the lag feedback function. If the user has enabled the lag feedback function, the system records the operation video of the application and collects the target information of the application. Since this embodiment detects whether the user has enabled the lag feedback function before recording the operation video of the application, it can protect user privacy and improve security.
[0119] In the second embodiment, step S20 includes:
[0120] Step S201: Encrypt the operation video and the target information respectively.
[0121] It should be understood that, in order to avoid information leakage, in this embodiment, the operation video and target information are encrypted before being sent to the detection terminal corresponding to the application.
[0122] It is understandable that encrypting the operation video and target information separately can be done based on a preset encryption model. This preset encryption model can be set in advance.
[0123] Furthermore, to improve the encryption effect, step S201 includes:
[0124] Obtain the video format of the operation video, and encrypt the operation video according to the video format;
[0125] Obtain the privacy level of the target information, and encrypt the target information according to the privacy level.
[0126] It should be understood that, in order to improve the video encryption effect, this embodiment will also encrypt the operation video based on the video format of the operation video.
[0127] Understandably, encrypting the operation video based on its format involves looking up the corresponding encryption method for the video format in a preset video encryption table, and then encrypting the operation video according to that method. This preset video encryption table includes a mapping between video formats and encryption methods, which can be pre-defined.
[0128] It should be understood that, in order to improve the information encryption effect, this embodiment will also encrypt the target information based on the privacy level of the target information.
[0129] Understandably, encrypting target information based on privacy levels can involve looking up the corresponding encryption method in a preset encryption table and then encrypting the target information according to that method. This preset encryption table includes a mapping between target information and encryption methods, which can be pre-defined.
[0130] Step S202: Send the encrypted operation video and target information to the detection terminal corresponding to the application.
[0131] It should be noted that the testing terminal can be the terminal of the application's developer.
[0132] Understandably, in order to avoid information leakage, in this embodiment, the encrypted operation video and target information are sent to the detection terminal corresponding to the application.
[0133] In the second embodiment, the operation video and target information are encrypted separately, and the encrypted operation video and target information are sent to the detection terminal corresponding to the application. Since the operation video and target information are encrypted separately before being sent to the detection terminal corresponding to the application, information leakage can be avoided.
[0134] Reference Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the stuttering detection method of the present invention. Based on the above embodiments, a third embodiment of the stuttering detection method of the present invention is proposed.
[0135] In the third embodiment, after step S30, the method further includes:
[0136] Step S40: Generate optimized configuration information for the application based on the lag detection results.
[0137] It should be understood that, in order to resolve application lag and improve user experience, this embodiment can also generate optimized configuration information for the application based on the lag detection results, and configure the application based on the optimized configuration information.
[0138] It is understandable that generating optimized configuration information for an application based on lag detection results could involve looking up the corresponding optimized configuration information in a preset configuration table and using that optimized configuration information as the application's optimized configuration information. The preset configuration table includes a mapping between lag detection results and optimized configuration information, and this mapping can be pre-set.
[0139] Furthermore, to improve the optimization effect, step S40 includes:
[0140] Based on the lag detection results, determine the lag type and cause;
[0141] Optimization configuration information for the application is generated based on the type and cause of the lag.
[0142] It should be understood that, in order to improve the optimization effect, in this embodiment, the type and cause of lag are first determined based on the lag detection results, and then the application's optimization configuration information is generated based on the lag type and cause.
[0143] Step S50: Configure the application according to the optimized configuration information.
[0144] It is understandable that configuring an application based on optimized configuration information can mean configuring various settings of the application based on optimized configuration information.
[0145] In the third embodiment, optimized configuration information for the application is generated based on the lag detection results, and the application is configured according to the optimized configuration information. Since this embodiment generates optimized configuration information for the application based on the lag detection results and configures the application based on the optimized configuration information, it can solve the application lag problem and improve the user experience.
[0146] Furthermore, this embodiment of the invention also proposes a storage medium storing a stuttering detection program, which, when executed by a processor, implements the stuttering detection method described above.
[0147] In addition, refer to Figure 5 The present invention also proposes a stuttering detection device, which includes: a recording module 10, a sending module 20 and a receiving module 30;
[0148] The recording module 10 is used to record the operation video of the application when an application lag is detected, and to collect the target information of the application.
[0149] It's understandable that detecting application lag can be done through a pre-set script, which can be pre-configured (e.g., a Systrace script); or it can be triggered by receiving user feedback. For example, users can provide feedback through their browser's feedback tool.
[0150] It should be understood that, in order to ensure the recording effect, the operation video corresponding to the application can be recorded by obtaining the current terminal information and recording the operation video corresponding to the application based on the current terminal information.
[0151] It should be noted that the current terminal information may include the terminal device's configuration information and configuration usage information. The configuration information may include information such as the Central Processing Unit (CPU) model, the Graphics Processing Unit (GPU) model, and the memory size. The configuration usage information may include information such as CPU usage, GPU usage, and memory usage.
[0152] It is understandable that recording operation videos corresponding to the application based on the current terminal information can involve determining the recording resolution and number of frames based on the current terminal information, and then recording operation videos corresponding to the application based on the recording resolution and number of frames.
[0153] It should be noted that the target information includes at least one of user data, memory dump files, and process information. The user data can be anonymized user data, and the memory dump file can be a .dmp file.
[0154] The sending module 20 is used to send the operation video and the target information to the detection terminal corresponding to the application.
[0155] It should be noted that the testing terminal can be the terminal of the application's developer.
[0156] It should be understood that, in order to avoid information leakage, in this embodiment, the operation video and target information can be encrypted separately before being sent to the detection terminal corresponding to the application.
[0157] The receiving module 30 is used to receive the stuttering detection results fed back by the detection terminal based on the operation video and the target information.
[0158] Understandably, after receiving the operation video and target information, the detection terminal can analyze the operation video and target information, generate a stuttering detection result based on the analysis results, and send the stuttering detection result to the terminal device.
[0159] In this embodiment, when application lag is detected, the operation video corresponding to the application is recorded, and the target information of the application is collected. The operation video and target information are then sent to the detection terminal corresponding to the application, and the lag detection result fed back by the detection terminal based on the operation video and target information is received. Since this embodiment automatically records the operation video corresponding to the application, collects the target information of the application, and sends the operation video and target information to the detection terminal corresponding to the application when application lag is detected, the efficiency of problem feedback can be improved and the user experience can be enhanced.
[0160] Other embodiments or specific implementations of the stuttering detection device described in this invention can be found in the above-described method embodiments, and will not be repeated here.
[0161] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0162] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0163] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as a read-only memory image (ROM) / random access memory (RAM), magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0164] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method of detecting a card jam, the method comprising: in, The lag detection method is applied to terminal devices equipped with a browser, and the lag detection method includes the following steps: When an application lag is detected, the operation video corresponding to the application is recorded, and the target information of the application is collected. The target information includes at least one of user data, memory dump file and process information. The user data is anonymized user data, and the memory dump file is a .dmp file. The operation video and the target information are sent to the detection terminal corresponding to the application. The system receives stuttering detection results from the detection terminal based on the operation video and the target information, wherein the stuttering detection results are used to determine the stuttering type and the cause of the stuttering. Specifically, before recording the operation video corresponding to the application, the permission information of the application is obtained, and the permission information includes the recording mode; the corresponding operation is performed according to the recording mode: normal recording in normal mode, recording in privacy mode and blurring the privacy information in the operation video, and prohibiting recording in prohibited mode; When recording the operation video corresponding to the application, the recording resolution and the number of recording frames are determined according to the current terminal information, and the operation video corresponding to the application is recorded based on the recording resolution and the number of recording frames. The current terminal information includes the configuration information and configuration usage information of the terminal device.
2. The card toner detection method of claim 1, wherein, The step of recording the operation video of the application and collecting the target information of the application when an application lag is detected includes: When application lag is detected, check whether the user has enabled the lag feedback function; When the user enables the lag feedback function, record the corresponding operation video of the application; Collect the target information of the application.
3. The stuttering detection method as described in claim 2, characterized in that, The step of recording the operation video of the application when the user enables the lag feedback function includes: When the user enables the lag feedback function, obtain the current terminal information; Record the operation video corresponding to the application based on the current terminal information.
4. The stuttering detection method as described in claim 3, characterized in that, The step of recording the operation video corresponding to the application based on the current terminal information includes: Obtain the permission information of the application; Record the operation video corresponding to the application based on the current terminal information and the permission information.
5. The stuttering detection method as described in claim 4, characterized in that, The step of recording the operation video corresponding to the application based on the current terminal information and the permission information includes: Obtain the user information of the user; Record the operation video corresponding to the application based on the current terminal information, the permission information, and the user information.
6. The stuttering detection method as described in claim 2, characterized in that, After the step of recording the operation video of the application when the user enables the lag feedback function, the method further includes: If recording fails, the video will be re-recorded after a preset interval. A prompt message is generated if recording fails again.
7. The stuttering detection method according to any one of claims 1 to 6, characterized in that, The step of sending the operation video and the target information to the detection terminal corresponding to the application includes: The operation video and the target information are encrypted respectively; The encrypted operation video and target information are sent to the detection terminal corresponding to the application.
8. The stuttering detection method as described in claim 7, characterized in that, The steps of encrypting the operation video and the target information respectively include: Obtain the video format of the operation video, and encrypt the operation video according to the video format; Obtain the privacy level of the target information, and encrypt the target information according to the privacy level.
9. The stuttering detection method according to any one of claims 1 to 6, characterized in that, After the step of receiving the stuttering detection result fed back by the detection terminal based on the operation video and the target information, the method further includes: Based on the lag detection results, the optimized configuration information for the application is generated; Configure the application according to the optimized configuration information.
10. The stuttering detection method as described in claim 9, characterized in that, The step of generating optimized configuration information for the application based on the lag detection results includes: Based on the lag detection results, determine the lag type and cause; Optimization configuration information for the application is generated based on the type and cause of the lag.
11. A stuttering detection device, characterized in that, The stuttering detection device includes: a memory, a processor, and a stuttering detection program stored in the memory and executable on the processor. When the stuttering detection program is executed by the processor, it implements the stuttering detection method as described in any one of claims 1 to 10.
12. A storage medium, characterized in that, The storage medium stores a stuttering detection program, which, when executed by the processor, implements the stuttering detection method as described in any one of claims 1 to 10.
13. A lag detection device, wherein, The lag detection device is applied to a terminal device equipped with a browser, characterized in that the lag detection device includes: a recording module, a sending module, and a receiving module; The recording module is used to record the operation video of the application when an application lag is detected, and to collect the target information of the application. The target information includes at least one of user data, memory dump file and process information. The user data is anonymized user data and the memory dump file is a .dmp file. The sending module is used to send the operation video and the target information to the detection terminal corresponding to the application; The receiving module is used to receive the stuttering detection results fed back by the detection terminal based on the operation video and the target information, wherein the stuttering detection results are used to determine the stuttering type and the stuttering cause; Specifically, before recording the operation video corresponding to the application, the permission information of the application is obtained, and the permission information includes the recording mode; the corresponding operation is performed according to the recording mode: normal recording in normal mode, recording in privacy mode and blurring the privacy information in the operation video, and prohibiting recording in prohibited mode; When recording the operation video corresponding to the application, the recording resolution and the number of recording frames are determined according to the current terminal information, and the operation video corresponding to the application is recorded based on the recording resolution and the number of recording frames. The current terminal information includes the configuration information and configuration usage information of the terminal device.
14. The stuttering detection device as described in claim 13, characterized in that, The recording module is also used to detect whether the user has enabled the lag feedback function when an application lag is detected. The recording module is also used to record the operation video of the application when the user enables the lag feedback function; The recording module is also used to collect target information of the application.
15. The stuttering detection device as described in claim 14, characterized in that, The recording module is also used to obtain current terminal information when the user enables the lag feedback function; The recording module is also used to record operation videos corresponding to the application based on the current terminal information.
16. The stuttering detection device as described in claim 15, characterized in that, The recording module is also used to obtain the permission information of the application; The recording module is also used to record operation videos corresponding to the application based on the current terminal information and the permission information.
17. The stuttering detection device as described in claim 16, characterized in that, The recording module is also used to obtain the user's user information; The recording module is also used to record operation videos corresponding to the application based on the current terminal information, the permission information, and the user information.
18. The stuttering detection device as described in claim 14, characterized in that, The recording module is also used to re-record the video after a preset time interval when the recording fails; The recording module is also used to generate a prompt message when recording fails again.
19. The stuttering detection device as described in any one of claims 13 to 18, characterized in that, The sending module is also used to encrypt the operation video and the target information respectively; The sending module is also used to send the encrypted operation video and target information to the detection terminal corresponding to the application.
Citation Information
Patent Citations
Lag identification method, lag identification device and computing equipment
CN105913088A
Application not responding positioning system and method
CN106681913A