Abnormal data determination method and device, equipment, storage medium and program product
By performing structured data analysis and abnormal diagnosis of session playback videos of page operation events, the problem of difficulty in analyzing page operation abnormalities in the existing technology is solved, and rapid positioning and handling of abnormalities is achieved, and operation and maintenance efficiency is improved.
Patent Information
- Application Number
- CN202510413190.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-02
- Publication Date
- 2025-07-22
AI Technical Summary
In the prior art, it is difficult to analyze content videos of page operation abnormalities in the application, which makes it difficult for operation and maintenance personnel to quickly locate problems during user operation.
By obtaining the session playback video of page operation events, structured data analysis and generate abnormal diagnosis results, combining multiple detection dimensions for abnormal diagnosis, and generating and sending it to the communication application of the service response object.
It realizes the rapid positioning of page operation abnormalities, improves the efficiency of handling abnormal problems, and simplifies the troubleshooting process of operation and maintenance personnel.
Smart Images

Figure CN120356131A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of data processing, and particularly to a method, apparatus, device, storage medium, and program product for determining abnormal data. Background Art
[0002] Currently, many application programs provide a function for reporting abnormal problems, and operation and maintenance personnel can troubleshoot faults by viewing the reported abnormal problems. Generally, when a page exception occurs, a user or automatically records a page operation video for abnormal reporting. However, it is difficult to analyze the content of this video, resulting in operation and maintenance personnel having difficulty quickly analyzing the abnormal information in the video through technical means to locate problems in the user operation process. Summary of the Invention
[0003] In view of this, the present disclosure provides a method, apparatus, device, storage medium, and program product for determining abnormal data to solve the problem of difficult to locate page operation exceptions.
[0004] In a first aspect, the present disclosure provides a method for determining abnormal data, including: obtaining a session replay video of page operation events generated for a target page; parsing the structured data of the session replay video, performing abnormal diagnosis on the structured data, and generating a first abnormal diagnosis result; and sending the first abnormal diagnosis result and the session replay video to a communication application of a service response object.
[0005] In a second aspect, the present disclosure provides a device for determining abnormal data, including: an obtaining module for obtaining a session replay video of page operation events generated for a target page; a parsing module for parsing the structured data of the session replay video, performing abnormal diagnosis on the structured data, and generating a first abnormal diagnosis result; and an abnormal display module for sending the first abnormal diagnosis result and the session replay video to a communication application of a service response object.
[0006] In a third aspect, the present disclosure provides an electronic device, including: a memory and a processor, which are communicatively connected to each other, and the memory stores computer instructions, and the processor executes the computer instructions to execute the method for determining abnormal data according to the first aspect or any corresponding implementation manner thereof.
[0007] In a fourth aspect, the present disclosure provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to cause a computer to execute the method for determining abnormal data according to the first aspect or any corresponding implementation manner thereof.
[0008] Fifth aspect, the present disclosure provides a computer program product, including computer instructions for causing a computer to execute the method for determining abnormal data according to the first aspect or any corresponding embodiment thereof as described above.
[0009] The method, apparatus, device, storage medium and program product for determining abnormal data provided by the embodiments of the present disclosure obtain a session replay video of page operation events for a target page, parse the session replay video into structured data, and then perform abnormal diagnosis on the structured data to extract abnormal content therefrom to generate corresponding abnormal diagnosis results, thereby realizing the diagnosis of page operation anomalies. By sending the abnormal diagnosis result and the session replay video to a communication application, it is convenient for the service response object to quickly respond to abnormal problems during the page operation process, quickly locate problems in the user operation process by viewing the abnormal diagnosis result, and improve the processing efficiency of abnormal problems. Description of the Drawings
[0010] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the related art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the related art. Obviously, the following drawings are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0011] Figure 1 is a schematic diagram of an application scenario according to an embodiment of the present disclosure;
[0012] Figure 2 is a flowchart of a method for determining abnormal data according to an embodiment of the present disclosure;
[0013] Figure 3 is a schematic diagram of an abnormal diagnosis result according to an embodiment of the present disclosure;
[0014] Figure 4 is a flowchart of another method for determining abnormal data according to an embodiment of the present disclosure;
[0015] Figure 5 is a flowchart of yet another method for determining abnormal data according to an embodiment of the present disclosure;
[0016] Figure 6 is a schematic diagram of abnormal reporting according to an embodiment of the present disclosure;
[0017] Figure 7 is a schematic diagram of sending event information and a screen recording address according to an embodiment of the present disclosure;
[0018] Figure 8It is a block diagram of a device for determining abnormal data according to an embodiment of the present disclosure;
[0019] Figure 9 It is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present disclosure. Detailed implementation manners
[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are some but not all of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
[0021] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0022] For example, when responding to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested by the user will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that executes the operation of the technical solution of the present disclosure according to the prompt message.
[0023] As an optional but non-limiting implementation manner, the manner of sending a prompt message to the user in response to receiving an active request from the user may be, for example, in the form of a pop-up window, and the prompt message may be presented in text in the pop-up window. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0024] It can be understood that the above process of notifying and obtaining the user's authorization is only illustrative and does not limit the implementation manner of the present disclosure. Other manners that meet relevant laws and regulations can also be applied to the implementation manner of the present disclosure.
[0025] It can be understood that the data involved in the technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of the corresponding laws, regulations, and related provisions.
[0026] Traditional videos in the related art cannot be directly used for content analysis. Therefore, it is difficult to quickly analyze abnormal information in the video through technical means to assist in locating problems during the user operation. With the technical solution of session replay, which is a non-traditional screen recording method, the replay content of the user operation exists in a structured form. Thus, abnormal content can be extracted from this structured screen recording information to speed up the problem location for the on-duty personnel.
[0027] As an optional application scenario of the present disclosure, as Figure 1 shown, this application scenario includes an operation node 102 corresponding to a target page 101, a computing node 104 corresponding to a communication application 103, and a service response object 105. In Figure 1 , only a limited number of components and exemplary connection relationships are shown. It should be understood that this is for the purpose of easy illustration and diagramming and is not intended to limit the scope of the present disclosure, and there may be other different components. For example, display components and input components, etc. In an exemplary rather than restrictive manner, the diagnostic result of the target page can be displayed on the display component, and the problem description and problem type, etc. can be adjusted through the input component.
[0028] According to an embodiment of the present disclosure, the user can perform page operations on the target page 101. Correspondingly, the operation node 102 can perform data logging for the page operations. When a page operation exception occurs, the user can trigger an exception report. The operation node 102 can then simulate a page operation event according to the logged information, generate a corresponding session replay video, and send the session replay video to the communication application 103 deployed in the computing node 104.
[0029] When the computing node 104 receives the session replay video, it can perform structured parsing on the session replay video and linearly execute the parsed structured data to perform abnormal diagnosis on the structured data from multiple detection dimensions to obtain corresponding abnormal diagnosis results. At the same time, the abnormal diagnosis results and the session replay video are sent to the communication application 103 for display. The service response object 105 can then perform processing of the abnormal diagnosis through the computing node 104.
[0030] Among them, the operation node and the computing node refer to computing resources or computing capabilities and can be devices with computing capabilities. For example, the operation node and the computing node can be provided with a processor and a memory, etc., and can also be equipped with a dedicated accelerator (such as a graphics processing unit (GPU), etc.). In addition, the operation node and the computing node can store and maintain data.
[0031] Examples of the operation node and the computing node may include a supercomputer, a personal computer, a laptop computer, an in-vehicle computing device, a mobile device (such as a smart phone, a tablet computer, etc.), or a combination including any one or more of the above devices, etc. It should be understood that the operation node and the computing node described herein are merely exemplary and not restrictive. For example, other different types of operation nodes and computing nodes may also be adopted.
[0032] According to an embodiment of the present disclosure, an embodiment of a method for determining abnormal data is provided. It should be noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer-executable instructions. And although the logical order is illustrated in the flowchart, in some cases, the steps shown or described may be executed in a different order than here.
[0033] In this embodiment, a method for determining abnormal data is provided, which can be used in an electronic device such as a computer, a mobile phone, a tablet computer, etc. Figure 2 is a flowchart of the method for determining abnormal data according to an embodiment of the present disclosure, as Figure 2 shown, the process includes the following steps:
[0034] Step S201, obtain a session replay video of the page operation events generated for the target page.
[0035] The target page is an interactive page provided by an application program or an application link of the target application. Corresponding function controls are set on the target page, and the user clicks on each function control to implement the use of the functions of the target application. The page operation event is an interactive operation generated on the target page, such as clicking on a button, a picture, and a link on the target page. The session replay video is a video generated by simulating the page operation events in the page.
[0036] Specifically, when an abnormality occurs in the page operation of the user on the target page, the user can report the abnormality. Correspondingly, the electronic device can respond to the abnormality reporting operation triggered by the user, replay and simulate the page operation events generated by the user within a preset duration (a preset duration, such as 3 minutes), and generate a corresponding session replay video.
[0037] Step S202, parse the structured data of the session replay video, perform abnormal diagnosis on the structured data, and generate a first abnormal diagnosis result.
[0038] The structured data is data generated by structuring the session replay video according to the minimum page information. For example, the minimum page information is cut according to time; the minimum page information is cut according to frames, etc. The first abnormal diagnosis result is used to characterize the abnormality existing in the page operation events generated on the target page, such as interface abnormality, page freeze, etc.
[0039] After obtaining the session replay video, perform structured parsing on the session replay video according to the minimum page information to generate corresponding structured data. Then, extract the page structured data and interface structured data corresponding to the target page from the structured data, and perform corresponding anomaly diagnosis on the page structured data and interface structured data to obtain corresponding anomaly diagnosis results.
[0040] Step S203: Send the first anomaly diagnosis result and the session replay video to the communication application of the service response object.
[0041] The service response object is a technical person who performs response processing for the anomaly diagnosis result; the communication application is an application for the service response object to receive the session replay video. Specifically, there is a communication connection between the communication application and the target page of the target application program. When the user triggers the generation of the session replay video, the target page will send the session replay video to the communication application for display. At the same time, in the communication application, the session replay video and its corresponding first anomaly diagnosis result will be synchronously displayed in the form of a card, as Figure 3 shown, which is convenient for assisting the service response object to quickly locate the problems in the user's page operation process, so as to be able to solve the anomalies generated by the target page targeted.
[0042] The method for determining abnormal data provided in this embodiment realizes the diagnosis of page operation anomalies by obtaining the session replay video of the page operation event for the target page, parsing the structured data of the session replay video, then performing anomaly diagnosis on the structured data, and extracting the abnormal content therefrom to generate corresponding anomaly diagnosis results. By sending the anomaly diagnosis result and the session replay video to the communication application together, it is convenient for the service response object to quickly respond to the anomalies in the page operation process, quickly locate the problems in the user operation process by viewing the anomaly diagnosis result, and improve the processing efficiency of anomaly problems.
[0043] In this embodiment, a method for determining abnormal data is provided, which can be used in electronic devices such as computers, mobile phones, and tablet computers. Figure 4 is a flowchart of the method for determining abnormal data according to an embodiment of the present disclosure, as Figure 4 shown, and this process includes the following steps:
[0044] Step S301: Obtain the session replay video of the page operation event generated for the target page. For details, please refer to the relevant descriptions of the corresponding steps in the above embodiments, and details will not be repeated here.
[0045] Step S302: Parse the structured data of the session replay video, perform anomaly diagnosis on the structured data, and generate the first anomaly diagnosis result.
[0046] Specifically, the above step S302 includes:
[0047] Step S3021, perform video cutting on the session replay video according to a preset cutting method to obtain structured data of the session replay video.
[0048] The preset cutting method is a preset video cutting method. For example, cutting by frame, cutting by time, etc. are not specifically limited here. When performing anomaly diagnosis, the session replay video is cut into multiple minimum page information according to the preset cutting method to obtain structured data composed of multiple minimum page information.
[0049] Step S3022, simulate multiple page interaction behaviors generated on the target page according to the structured data.
[0050] Perform linear execution on each minimum page information in sequence according to the structured data, simulate page frame information and interaction information based on the linear execution results, simulate the target page through the page frame information, and simulate the page interaction behaviors generated by the user on the target page through the interaction information.
[0051] Step S3023, perform anomaly diagnosis on each page interaction behavior in multiple detection dimensions, determine the target page interaction behavior that triggers the anomaly condition, and generate a first anomaly diagnosis result for the target page interaction behavior.
[0052] The detection dimension is a dimension for screening abnormal data for page interaction behaviors; the anomaly condition is a preset condition for determining the existence of an anomaly. For each simulated page interaction behavior, compare it with the anomaly conditions corresponding to each detection dimension respectively to determine whether each page interaction behavior triggers the anomaly condition. Each anomaly condition corresponds to a corresponding anomaly diagnosis result. When it is determined that a page interaction behavior triggers the anomaly condition, determine the page interaction behavior as the target page interaction behavior, and determine the corresponding anomaly diagnosis result in combination with the anomaly condition triggered by the target page interaction behavior.
[0053] In some optional implementation manners, the detection dimension includes at least one of interface error reporting, interface delay, page error reporting, and page freezing. Among them, interface error reporting indicates that the interface status is abnormal and does not return a normal result as expected; interface delay indicates that the interface request has not returned content; page error reporting indicates that page execution error information appears; page freezing indicates that the page freezes during the execution process.
[0054] Correspondingly, the first anomaly diagnosis result includes at least one of an interface anomaly diagnosis result, a delay anomaly diagnosis result, a page anomaly diagnosis result, and a freezing anomaly diagnosis result. Specifically, the above step S3023 includes:
[0055] Step a1: Obtain the first exception condition corresponding to the interface error, the second exception condition corresponding to the interface delay, the third exception condition corresponding to the page error, and the fourth exception condition corresponding to the page freeze.
[0056] The first exception condition is a pre-set condition for determining the existence of an interface error, such as defining the tracking type as "Type A" and the status parameter status!= 200; the second exception condition is a pre-set condition for determining the existence of an interface delay, such as defining the tracking type as "Type A" and the status parameter timeUse being empty; the third exception condition is a pre-set condition for determining the existence of a page error, such as defining the tracking type as "Type B" and the event type as "num"; the fourth exception condition is a pre-set condition for determining the existence of a page freeze, such as defining the tracking type as "Type C" and the event type as "num".
[0057] The first exception condition, the second exception condition, the third exception condition, and the fourth exception condition are pre-configured. When performing exception diagnosis, the corresponding configuration information can be read to obtain the exception conditions corresponding to each detection dimension.
[0058] Step a2: Determine the target page interaction behavior that triggers the first exception condition from multiple page interaction behaviors, and generate an interface exception diagnosis result for the target page interaction behavior.
[0059] Step a3: Determine the target page interaction behavior that triggers the second exception condition from multiple page interaction behaviors, and generate a delay exception diagnosis result for the target page interaction behavior.
[0060] Step a4: Determine the target page interaction behavior that triggers the third exception condition from multiple page interaction behaviors, and generate a page exception diagnosis result for the target page interaction behavior.
[0061] Step a5: Determine the target page interaction behavior that triggers the fourth exception condition from multiple page interaction behaviors, and generate a freeze exception diagnosis result for the target page interaction behavior.
[0062] Obtain interface error data, interface delay data, page error data, and page freeze data from each page interaction behavior, detect whether the interface error data in each page interaction behavior triggers the first exception condition, determine the target page interaction behavior that triggers the first exception condition, and generate a corresponding interface exception diagnosis result for the target page interaction behavior, as Figure 3 shown.
[0063] Meanwhile, detect whether the interface delay data in each page interaction behavior triggers a second abnormal condition, determine the target page interaction behavior that triggers the second abnormal condition, and generate a corresponding delay abnormal diagnosis result for the target page interaction behavior, such as Figure 3 as shown.
[0064] Meanwhile, detect whether the page error data in each page interaction behavior triggers a third abnormal condition, determine the target page interaction behavior that triggers the third abnormal condition, and generate a corresponding page abnormal diagnosis result for the target page interaction behavior, such as Figure 3 as shown.
[0065] Meanwhile, detect whether the page lag data in each page interaction behavior triggers a fourth abnormal condition, determine the target page interaction behavior that triggers the fourth abnormal condition, and generate a corresponding lag abnormal diagnosis result for the target page interaction behavior, such as Figure 3 as shown.
[0066] In the above embodiments, by performing abnormal diagnosis and abnormal screening on the session replay video from multiple detection perspectives, the time for manual abnormal troubleshooting is saved, the efficiency of abnormal troubleshooting is improved, and it is beneficial to accelerate the positioning of the problem attribution.
[0067] In some alternative embodiments, the above method further includes:
[0068] Step b1, obtain the historical abnormal diagnosis results generated for the target page.
[0069] Step b2, compare the similarity between the first abnormal diagnosis result and the historical abnormal diagnosis results to determine the second abnormal diagnosis result similar to the first abnormal diagnosis result.
[0070] Step b3, send the second abnormal diagnosis result to the communication application of the service response object.
[0071] The historical anomaly diagnosis result is the anomaly diagnosis result generated by the operations on the target page within the historical time, and the historical anomaly data corresponding to the historical anomaly diagnosis result is stored in the corresponding vector database. When the first anomaly diagnosis result corresponding to the target page is determined, the current anomaly data corresponding to the first anomaly diagnosis result is stored in the vector database, and the similarity between the current anomaly data corresponding to the first anomaly diagnosis result and the historical anomaly data corresponding to the historical anomaly diagnosis result is calculated to determine the similarity between the current anomaly data and each piece of historical anomaly data. The anomaly diagnosis results corresponding to the historical anomaly data with a similarity exceeding a preset threshold (a preset similarity, such as 90%, 95%, 98%, etc.) are determined as the second anomaly diagnosis results, and the second anomaly diagnosis results are sent to the communication application of the service response object, so that the service response object can intuitively understand the similarity between the first anomaly diagnosis result and the second anomaly diagnosis results, facilitating the determination of whether similar anomalies have occurred on the target page within the historical time.
[0072] In the above embodiment, by comparing the similarity between the first anomaly diagnosis result and the historical anomaly diagnosis results, it is beneficial to attribute each anomaly problem, facilitating subsequent rapid anomaly location, and thus quickly making a decision on the corresponding processing strategy.
[0073] Step S303, send the first anomaly diagnosis result and the session replay video to the communication application of the service response object. For details, please refer to the relevant descriptions of the corresponding steps in the above embodiment, which will not be elaborated here.
[0074] The method for determining anomaly data provided in this embodiment generates corresponding structured data by cutting the session replay video, facilitating the anomaly analysis of multiple detection dimensions for the structured data, and thus being able to speed up the location of page anomaly problems by the service response object.
[0075] In this embodiment, a method for determining anomaly data is provided, which can be used in electronic devices such as computers, mobile phones, and tablets. Figure 5 is a flowchart of the method for determining anomaly data according to an embodiment of the present disclosure, as Figure 5 shown, and this process includes the following steps:
[0076] Step S401, obtain the session replay video of the page operation event generated for the target page.
[0077] Specifically, the above step S401 includes:
[0078] Step S4011, obtain the buried points generated for the page operation event.
[0079] The data logging is used to collect and analyze the behavioral data of the user's page operations on the target page and the response data of the page. Specifically, the data logging may include the clicks and movements generated by the user on the target page, the page skeleton diagram information, the page DOM tree, page error reports, page requests, and other content.
[0080] When the user performs a page operation on the target page, the electronic device can perform data logging on the page operations generated by the user on the target page, perform data logging on the page requests generated by the page operations, and perform data logging on the results of the target page's response to the page operations. At the same time, data logging is performed on the skeleton diagram information and the page DOM tree generated by the target page's response to the page operations.
[0081] Step S4012, play back the session video that generates page operation events on the target page according to the data logging simulation.
[0082] Use the skeleton diagram information and the data logging information of the page DOM tree to simulate the page frame information of the target page, and use the relevant data logging information of the page operation to simulate the interaction behavior generated by the user when initiating a page operation event on the target page. Package the page frame information and the user's interaction behavior into a video to obtain the corresponding session playback video, and simulate the page operation events generated by the user on the target page through this session playback video.
[0083] In some optional embodiments, the above method further includes:
[0084] Step c1, obtain the page operation result corresponding to the page operation event.
[0085] Step c2, when the page operation result indicates an abnormal operation, in response to the recording authorization operation for the page operation event, generate the event information and the screen recording address corresponding to the page operation event according to the recording authorization operation.
[0086] Step c3, send the event information and the screen recording address to the communication application of the service response object.
[0087] The page operation result is the response result generated by the target page in response to the page operation event, and this page operation result includes a normal operation result and an abnormal operation result. Among them, the abnormal operation results include interface error reports generated by abnormal interface states, interface delays generated by the interface requests not returning content all the time, page error reports, and page freezes, etc.
[0088] The event information is the abnormal description information of page operation events, including basic description information (such as problem description, problem area, problem type, problem initiator, etc.) and detailed description information (such as work order details, source, initiation channel, etc.); the screencast address is the address of the session replay video generated by recording the session replay for the page operation event. By triggering this screencast address, the session replay video corresponding to the page operation event can be played.
[0089] When the page operation result indicates an abnormal operation, the user can report the page exception through the exception reporting control set on the target page. For example, Figure 6 As shown, when the user triggers the exception reporting control, the page recording authorization control is displayed on the target page, and the user can trigger this page recording authorization control to authorize the electronic device to collect the buried point information of the page operation event. Correspondingly, the target page can respond to the user's recording authorization operation, obtain the buried point information generated by the user's page operation event on the target page, and use this buried point information to simulate the session replay of the page operation event by the user within a preset time (such as 3 minutes). At the same time, collect the event information of the page operation event, generate a corresponding recording address for the session replay, and send the event information and the screencast address generated for this page operation event to the communication application of the service response object in the form of a card, as Figure 7 shown.
[0090] In the above implementation, by generating the event information and the screencast address corresponding to the page operation event according to the recording authorization operation, and sending the event information and the screencast address to the communication application of the service response object, it is convenient for the service response object to view the complete page operation information, which is beneficial to reproducing the user's page operation situation, thereby enabling rapid problem troubleshooting and problem location.
[0091] In some alternative implementation manners, the above method further includes: if the session replay video is not the original operation video, obtain the historical session video associated with the session replay video.
[0092] The historical session video is the session video recorded before the page operation event; the original operation video is the on-site video when the operation exception occurs. For example, if the user encounters a freeze when clicking on a certain function control on the target page, resulting in the target page not responding all the time, at this time, the user can only refresh the target page to perform a re-operation. When performing the re-operation, the function control has resumed responding. Then, reporting the exception at this time is difficult to show the previous freeze phenomenon, that is, the reported session replay video is not the first scene where the page exception was sent.
[0093] Therefore, it is necessary to perform an original operation detection on the session replay video to determine whether the session replay video is an original operation video. If the session replay video is an original operation video, it can be directly subjected to structured parsing and anomaly diagnosis; if the session replay video is not an original operation video, it is necessary to collect the buried points before the session replay video and simulate the session replay according to the buried points before the session replay video to obtain the historical session video recorded previously, ensuring that the historical session video can bring people to the first scene where the anomaly occurred.
[0094] Of course, the historical session video can be automatically reported to the communication application of the service response object, or can be collected from the session replay video simulated from the full-process buried point information. Here, no specific limitation is made, as long as the historical session video associated with the session replay video can represent the first scene where the page anomaly occurred.
[0095] In the above embodiment, by obtaining the historical session video associated with the session replay video, it is ensured that the service response object can obtain the complete page operation process generated by the user on the target page, further improving the accuracy of problem location.
[0096] Step S402: Parse the structured data of the session replay video, perform anomaly diagnosis on the structured data, and generate a first anomaly diagnosis result. For details, please refer to the relevant descriptions of the corresponding steps in the above embodiments, which will not be elaborated here.
[0097] Step S403: Send the first anomaly diagnosis result and the session replay video to the communication application of the service response object. For details, please refer to the relevant descriptions of the corresponding steps in the above embodiments, which will not be elaborated here.
[0098] Step S404: Obtain the video segment corresponding to the first anomaly diagnosis result in the session replay video.
[0099] As described above, the first anomaly diagnosis result includes anomaly diagnosis results under multiple detection dimensions, and the video segment is the position where each anomaly diagnosis result appears in the session replay video. Specifically, the first anomaly diagnosis result is obtained by performing anomaly diagnosis according to the minimum page information. By analyzing the minimum page information where each anomaly diagnosis result is located, the video segment where each anomaly diagnosis result appears in the session replay video can be determined.
[0100] Step S405: In response to the operation of viewing the details of the first anomaly diagnosis result, jump to the video segment for playback.
[0101] Details viewing controls are set at the positions corresponding to each anomaly diagnosis result in the first anomaly diagnosis result, such as Figure 3As shown. Specifically, the service response object can click on the details view control to trigger the playback of its corresponding abnormal diagnosis result. Correspondingly, the communication application can respond to the details view operation triggered by the service response object for the first abnormal diagnosis result and jump to the video segment corresponding to the first abnormal diagnosis result for playback.
[0102] In the above embodiments, the jump playback of video segments is supported, which is convenient for quickly troubleshooting operation problems during page operations, saving the time for problem troubleshooting, and greatly improving the efficiency of abnormal troubleshooting.
[0103] In some alternative embodiments, the above method further includes:
[0104] Step d1, detecting whether there is abnormal response information for the first abnormal diagnosis result.
[0105] Step d2, if there is no abnormal response information for the first abnormal diagnosis result, then perform abnormal response processing on the first abnormal diagnosis result.
[0106] Step d3, if there is abnormal response information for the first abnormal diagnosis result, then skip the abnormal response processing for the first abnormal diagnosis result.
[0107] The abnormal response information is the information generated by the service response object for the response processing of the first abnormal diagnosis result. Specifically, when the service response object receives the first abnormal diagnosis result through the communication application, it can process the first abnormal diagnosis result, generate corresponding abnormal response information, and mark the processed abnormal diagnosis result.
[0108] When obtaining the first abnormal diagnosis result, it can be detected whether there is corresponding abnormal response information for the first abnormal diagnosis result. If there is no abnormal response information for the first abnormal diagnosis result, then the abnormality generated by the first abnormal diagnosis result for the target page is responded to and processed to determine whether the generation of the abnormality is caused by a user's misoperation or an abnormal page operation, so as to take corresponding abnormal handling measures in a timely manner when an abnormal page operation occurs. If there is abnormal response information for the first abnormal diagnosis result, it means that another service response object has processed the first abnormal diagnosis result. At this time, the abnormal response processing for the first abnormal diagnosis result can be skipped, and the abnormal response processing for other first abnormal diagnosis results can be continued.
[0109] By detecting whether there is abnormal response information for the first abnormal diagnosis result, the repeated processing of the same abnormal diagnosis result is avoided, and the efficiency of abnormal handling is further improved.
[0110] The method for determining abnormal data provided in this embodiment reproduces page operation events through the buried points generated by page operation events, generates corresponding session replay videos, which is convenient for service response objects to understand the real operation conditions of users, is beneficial to accelerating the problem location of service response objects, so as to solve abnormal problems targeted.
[0111] As a specific application embodiment of the present disclosure, when a user has a page operation problem when using the application App, the user can report the problem by binding to the Oncall process tool. Specifically, when initiating the Oncall process, a user authorization prompt box will pop up. After the user authorizes and agrees, the page operation content of the user in the most recent three minutes will be brought into the communication application (such as the Oncall group) of the technical duty personnel. At the same time, the session replay video of the page operation content will be analyzed and abnormally diagnosed to screen out abnormal data in the page operation content, and generate an abnormal diagnosis result corresponding to the abnormal data. The abnormal diagnosis result and the session replay video will be encapsulated into a message card and sent to the Oncall group in the communication application. Further, the abnormal data corresponding to the abnormal diagnosis result is stored in the vector database, compared with the abnormal diagnosis content in other Oncall session replay videos, and the Oncall abnormal diagnosis results with higher similarity are retrieved to speed up problem attribution. By displaying the abnormal diagnosis result and the session replay video in the Oncall group in the communication application, the session replay content can be directly played in the group to improve the convenience of abnormal handling.
[0112] In this embodiment, a device for determining abnormal data is also provided. This device is used to implement the above embodiments and preferred implementation manners, and those that have been described will not be repeated. As used hereinafter, the term "module" can be a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0113] This embodiment provides a device for determining abnormal data, as Figure 8 shown, including:
[0114] An acquisition module 401, configured to acquire a session replay video of a page operation event generated for a target page.
[0115] An analysis module 402, configured to analyze the structured data of the session replay video, perform abnormal diagnosis on the structured data, and generate a first abnormal diagnosis result.
[0116] An abnormal display module 403, configured to send the first abnormal diagnosis result and the session replay video to the communication application of the service response object.
[0117] In some alternative embodiments, the parsing module 402 includes:
[0118] A structuring unit, configured to perform video cutting on the session playback video according to a preset cutting method to obtain structured data of the session playback video.
[0119] An interaction simulation unit, configured to simulate a plurality of page interaction behaviors generated on the target page according to the structured data.
[0120] An anomaly diagnosis unit, configured to perform anomaly diagnosis on each page interaction behavior in a plurality of detection dimensions, determine the target page interaction behavior that triggers the anomaly condition, and generate a first anomaly diagnosis result for the target page interaction behavior.
[0121] In some alternative embodiments, the detection dimensions include at least one of interface error reporting, interface latency, page error reporting, and page lag. Correspondingly, the first anomaly diagnosis result includes at least one of an interface anomaly diagnosis result, a latency anomaly diagnosis result, a page anomaly diagnosis result, and a lag anomaly diagnosis result. Specifically, the above-mentioned anomaly diagnosis unit includes:
[0122] An anomaly condition acquisition subunit, configured to acquire a first anomaly condition corresponding to interface error reporting, a second anomaly condition corresponding to interface latency, a third anomaly condition corresponding to page error reporting, and a fourth anomaly condition corresponding to page lag.
[0123] A first anomaly generation subunit, configured to determine the target page interaction behavior that triggers the first anomaly condition from a plurality of page interaction behaviors, and generate an interface anomaly diagnosis result for the target page interaction behavior.
[0124] A second anomaly generation subunit, configured to determine the target page interaction behavior that triggers the second anomaly condition from a plurality of page interaction behaviors, and generate a latency anomaly diagnosis result for the target page interaction behavior.
[0125] A third anomaly generation subunit, configured to determine the target page interaction behavior that triggers the third anomaly condition from a plurality of page interaction behaviors, and generate a page anomaly diagnosis result for the target page interaction behavior.
[0126] A fourth anomaly generation subunit, configured to determine the target page interaction behavior that triggers the fourth anomaly condition from a plurality of page interaction behaviors, and generate a lag anomaly diagnosis result for the target page interaction behavior.
[0127] In some alternative embodiments, the above-mentioned apparatus further includes:
[0128] A historical diagnosis acquisition module, configured to acquire historical anomaly diagnosis results for the target page.
[0129] A comparison module, configured to compare the similarity between the first abnormal diagnosis result and the historical abnormal diagnosis result, and determine a second abnormal diagnosis result similar to the first abnormal diagnosis result.
[0130] A diagnosis result sending module, configured to send the second abnormal diagnosis result to the communication application of the service response object.
[0131] In some optional embodiments, the obtaining module 401 includes:
[0132] A buried point obtaining unit, configured to obtain the buried points generated for the page operation event.
[0133] A video generating unit, configured to generate a session playback video of the page operation event on the target page according to the buried point simulation.
[0134] In some optional embodiments, the above device further includes:
[0135] An operation result obtaining module, configured to obtain the page operation result corresponding to the page operation event.
[0136] An authorization module, configured to, when the page operation result indicates an operation anomaly, in response to the recording authorization operation for the page operation event, generate the event information and the screen recording address corresponding to the page operation event according to the recording authorization operation.
[0137] An information sending module, configured to send the event information and the screen recording address to the communication application of the service response object.
[0138] In some optional embodiments, the above device further includes:
[0139] A playback module, configured to, if the session playback video is not the original operation video, obtain the historical session video associated with the session playback video.
[0140] In some optional embodiments, the above device further includes:
[0141] A segment obtaining module, configured to obtain the video segment corresponding to the first abnormal diagnosis result in the session playback video.
[0142] A jump module, configured to, in response to the detailed view operation for the first abnormal diagnosis result, jump to the video segment for playback.
[0143] In some optional embodiments, the above device further includes:
[0144] A detection module, configured to detect whether there is abnormal response information for the first abnormal diagnosis result.
[0145] An exception response module, which is configured to perform an exception response process on the first exception diagnosis result if there is no exception response information for the first exception diagnosis result.
[0146] A skip module, which is configured to skip the exception response process for the first exception diagnosis result if there is exception response information for the first exception diagnosis result.
[0147] The further function descriptions of the above modules and units are the same as those in the corresponding embodiments above, and will not be elaborated here.
[0148] The apparatus for determining abnormal data provided by the embodiments of the present disclosure can execute the method for determining abnormal data provided by any embodiment of the present disclosure, and has function modules and beneficial effects corresponding to the execution of the method. By obtaining a session replay video of a page operation event for a target page, parsing the session replay video into structured data, and then performing abnormal diagnosis on the structured data to extract abnormal content therefrom to generate a corresponding abnormal diagnosis result, the diagnosis of page operation abnormalities is realized. By sending the abnormal diagnosis result and the session replay video to a communication application together, it is convenient for the service response object to quickly respond to abnormal problems in the page operation process, quickly locate problems in the user operation process by viewing the abnormal diagnosis result, and improve the processing efficiency of abnormal problems.
[0149] Figure 9 It is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
[0150] Specifically, refer to Figure 9 , which shows a schematic structural diagram of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic device may include a processor (such as a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a memory 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device are also stored. The processor 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0151] Generally, the following devices can be connected to the I / O interface 905: an input device 906 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a memory 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909. The communication device 909 can allow the electronic device to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 9An electronic device having various devices is shown. However, it should be understood that it is not required to implement or have all the shown devices, and alternatively, more or fewer devices may be implemented or had.
[0152] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program codes for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 909, or installed from the memory 908, or installed from the ROM 902. When the computer program is executed by the processor 901, the above functions defined in the method for determining abnormal data of the embodiment of the present disclosure are executed.
[0153] Figure 9 The shown electronic device is merely an example and should not impose any limitation on the functions and the scope of use of the embodiments of the present disclosure.
[0154] The embodiments of the present disclosure also provide a computer-readable storage medium. The method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented as computer code that is originally stored in a remote storage medium or a non-transitory machine-readable storage medium and downloaded through the network and will be stored in a local storage medium, so that the method described herein can be stored as such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the method for determining abnormal data shown in the above embodiments is implemented.
[0155] A part of the present disclosure can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the present disclosure through the operations of the computer. Those skilled in the art should understand that the forms of existence of computer program instructions in a computer-readable medium include but are not limited to source files, executable files, installation package files, etc. Correspondingly, the ways for a computer to execute computer program instructions include but are not limited to: the computer directly executes the instructions, or the computer compiles the instructions and then executes the corresponding compiled program, or the computer reads and executes the instructions, or the computer reads and installs the instructions and then executes the corresponding installed program. Herein, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.
[0156] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for determining abnormal data, characterized in that The method includes: Obtaining a session replay video of a page operation event generated for a target page; Parsing the structured data of the session replay video, performing anomaly diagnosis on the structured data, and generating a first anomaly diagnosis result; Sending the first anomaly diagnosis result and the session replay video to a communication application of a service response object.
2. The method according to claim 1, wherein The parsing the structured data of the session replay video, performing anomaly diagnosis on the structured data, and generating a first anomaly diagnosis result includes: Performing video cutting on the session replay video according to a preset cutting method to obtain the structured data of the session replay video; Simulating a plurality of page interaction behaviors generated on the target page according to the structured data; Performing anomaly diagnosis on each of the page interaction behaviors in a plurality of detection dimensions, determining a target page interaction behavior that triggers an anomaly condition, and generating a first anomaly diagnosis result for the target page interaction behavior.
3. The method according to claim 2, wherein The detection dimensions include at least one of interface error reporting, interface latency, page error reporting, and page lag. The performing anomaly diagnosis on each of the page interaction behaviors in a plurality of detection dimensions, determining a target page interaction behavior that triggers an anomaly condition, and generating a first anomaly diagnosis result for the target page interaction behavior includes: Obtaining a first anomaly condition corresponding to the interface error reporting, a second anomaly condition corresponding to the interface latency, a third anomaly condition corresponding to the page error reporting, and a fourth anomaly condition corresponding to the page lag; Determining a target page interaction behavior that triggers the first anomaly condition from a plurality of the page interaction behaviors, and generating an interface anomaly diagnosis result for the target page interaction behavior; and / or, Determining a target page interaction behavior that triggers the second anomaly condition from a plurality of the page interaction behaviors, and generating a latency anomaly diagnosis result for the target page interaction behavior; and / or, Determining a target page interaction behavior that triggers the third anomaly condition from a plurality of the page interaction behaviors, and generating a page anomaly diagnosis result for the target page interaction behavior; and / or, Determining a target page interaction behavior that triggers the fourth anomaly condition from a plurality of the page interaction behaviors, and generating a lag anomaly diagnosis result for the target page interaction behavior; Wherein, the first anomaly diagnosis result includes at least one of the interface anomaly diagnosis result, the latency anomaly diagnosis result, the page anomaly diagnosis result, and the lag anomaly diagnosis result.
4. The method according to claim 2 or 3, characterized in that It further includes: Obtaining a historical anomaly diagnosis result generated for the target page; Comparing the similarity between the first anomaly diagnosis result and the historical anomaly diagnosis result to determine a second anomaly diagnosis result similar to the first anomaly diagnosis result; Sending the second anomaly diagnosis result to a communication application of the service response object.
5. The method according to claim 1, wherein The obtaining a session replay video of a page operation event generated for a target page includes: Obtaining a data point generated for the page operation event; Simulating a session replay video of the page operation event generated on the target page according to the data point.
6. The method according to claim 5, characterized in that, It further includes: Obtain the page operation result corresponding to the page operation event; When the page operation result indicates an operation exception, in response to the recording authorization operation for the page operation event, generate the event information and the screen recording address corresponding to the page operation event according to the recording authorization operation; Send the event information and the screen recording address to the communication application of the service response object.
7. The method according to claim 5, characterized in that, Further includes: If the session replay video is not the original operation video, obtain the historical session video associated with the session replay video.
8. The method according to claim 1, wherein Further includes: Obtain the video segment corresponding to the first abnormal diagnosis result in the session replay video; In response to the detailed view operation for the first abnormal diagnosis result, jump to play the video segment.
9. The method according to claim 1, wherein Further includes: Detect whether there is abnormal response information for the first abnormal diagnosis result; If there is no abnormal response information for the first abnormal diagnosis result, perform abnormal response processing on the first abnormal diagnosis result; If there is abnormal response information for the first abnormal diagnosis result, skip the abnormal response processing for the first abnormal diagnosis result.
10. An apparatus for determining abnormal data, characterized in that, The device includes: An acquisition module, configured to acquire the session replay video of the page operation event generated for the target page; An analysis module, configured to analyze the structured data of the session replay video, perform abnormal diagnosis on the structured data, and generate a first abnormal diagnosis result; An abnormal display module, configured to send the first abnormal diagnosis result and the session replay video to the communication application of the service response object.
11. An electronic device, characterized in that, Includes: A memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the method for determining abnormal data according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to execute the method for determining abnormal data according to any one of claims 1 to 9.
13. A computer program product, characterized in that, Includes computer instructions for causing a computer to execute the method for determining abnormal data according to any one of claims 1 to 9.
Citation Information
Cited By
Application program backtracking method and device and electronic equipment
CN121116795A
An application backtracking method, device and electronic equipment
CN121116795B