Log processing method and electronic equipment

By uploading log data from multiple devices to the server for comprehensive analysis, the problem of poor analysis results for interaction quality issues in existing technologies has been solved, achieving more efficient identification and handling of interaction quality issues.

CN121530835APending Publication Date: 2026-02-13HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411105752.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

Existing technologies are ineffective in analyzing device interaction quality issues and cannot effectively utilize log data from multiple devices for accurate analysis.

Method used

By uploading log data from multiple devices to the server, the server can obtain the log data from multiple devices and perform a comprehensive analysis of interaction quality issues.

Benefits of technology

It improves the performance and accuracy of interaction quality problem analysis, enabling the identification and handling of abnormal interactions and enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121530835A_ABST
    Figure CN121530835A_ABST
Patent Text Reader

Abstract

The invention provides a log processing method and electronic device.The method is applied to a system composed of first electronic equipment, second electronic equipment and a first server, and the method comprises the steps that the first electronic equipment and the second electronic equipment conduct first interaction; the first electronic equipment responds to a first trigger condition and sends first log data including log data corresponding to the first interaction to the first server; wherein the first triggering condition is used for triggering to send log data; the second electronic equipment responds to a received first instruction and sends second log data including log data corresponding to the first interaction to the first server; wherein the first instruction is used for indicating the second electronic equipment to send log data. The method is helpful for improving the effect of interaction quality problem analysis at the server side.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic equipment technology, and in particular to a log processing method and an electronic device. Background Technology

[0002] Currently, for interactions between different devices (such as audio and video calls), users can report interaction quality issues on their local device when the interaction quality is poor. After receiving user feedback, the device can report its local log data to the server, so that the server can analyze and identify interaction quality issues and perform subsequent processing based on the log data. However, this solution is not very effective at analyzing interaction quality issues. Summary of the Invention

[0003] This application provides a log processing method and an electronic device to improve the effectiveness of interaction quality problem analysis on the server side.

[0004] In a first aspect, embodiments of this application provide a log processing method applied to a system comprising a first electronic device, a second electronic device, and a first server. The method includes: the first electronic device and the second electronic device performing a first interaction; the first electronic device, in response to a first triggering condition, sending first log data including log data corresponding to the first interaction to the first server; wherein the first triggering condition is used to trigger the sending of log data; the second electronic device, in response to a received first instruction, sending second log data including log data corresponding to the first interaction to the first server; wherein the first instruction is used to instruct the second electronic device to send log data.

[0005] In this method, after the first electronic device and the second electronic device perform a first interaction, they can each upload their own log data to the first server under specific conditions. Therefore, the first server can obtain log data from multiple devices involved in the first interaction, enabling it to perform interaction quality problem analysis on the server side based on the acquired multi-device log data. Compared to schemes that rely solely on log data reported by a single device for interaction quality problem analysis, this method improves analysis performance and accuracy. The above method allows the server to provide richer data for interaction quality problem analysis, thereby improving the performance and effectiveness of the analysis. For example, in scenarios where problem feedback is received through the first electronic device, the analysis can determine the cause of the interaction quality problem from other electronic devices interacting with the first electronic device (e.g., the second electronic device).

[0006] In one possible design, before the second electronic device sends second log data, including log data corresponding to the first interaction, to the first server in response to the received first instruction, the method further includes: the first server determining the second electronic device based on the first log data; and the first server sending the first instruction to the second electronic device.

[0007] This method allows the server to identify other electronic devices that participate in the same interaction as the first electronic device, and then notify these other electronic devices to upload log data to the server, ensuring that the server can obtain log data from multiple devices participating in the same interaction.

[0008] In one possible design, the system further includes a second server; before the second electronic device sends second log data including log data corresponding to the first interaction to the first server in response to the received first instruction, the method further includes: the first electronic device sending a first notification to the second server in response to the first triggering condition; wherein the first notification is used to trigger the second server to determine the second electronic device and instruct the second electronic device to send log data; the second server determines the second electronic device based on the first notification; and the second server sends the first instruction to the second electronic device.

[0009] The above method can be applied to systems containing multiple servers, making it highly practical. Furthermore, different functions can be implemented using different servers, offering high flexibility.

[0010] In one possible design, the first triggering condition includes: the first electronic device receiving a first operation to indicate an interaction anomaly; or, the first electronic device receiving a second operation to indicate the first interaction anomaly; or, the first electronic device detecting that the first interaction meets an anomaly condition; wherein the anomaly condition is used to determine whether the first interaction is abnormal.

[0011] The methods described above allow for triggering the first electronic device to upload log data in various ways, offering high flexibility and practicality. One possible approach is to trigger the upload through user interaction, enabling a response to user-reported interactive issues. Another possible approach involves the first electronic device automatically uploading log data upon detecting abnormal interactions, facilitating timely handling of these issues and ultimately improving the user experience.

[0012] In one possible design, the first triggering condition includes: the first electronic device receiving a second instruction to instruct the sending of log data; wherein the second instruction is sent by the first server after detecting that the first interaction meets an abnormal condition, and the abnormal condition is used to determine whether the first interaction is abnormal.

[0013] In one possible design, the first triggering condition includes: the first electronic device receiving a third instruction to instruct the sending of log data; wherein the third instruction is sent by the second server after detecting that the first interaction meets an abnormal condition, and the abnormal condition is used to determine whether the first interaction is abnormal.

[0014] The above method allows any server to detect abnormal interactions and, upon detection, triggers the electronic devices involved in the abnormal interaction to upload log data. This also ensures that the server can obtain log data from multiple devices participating in the same interaction. Furthermore, it facilitates timely handling of abnormal interactions, thereby aiding in the prompt resolution of issues and improving the subsequent user experience.

[0015] In one possible design, the abnormal conditions include at least one of the following: the success rate of either the first electronic device or the second electronic device sending an interaction request to the other electronic device is less than or equal to a first value; wherein the first value is a preset minimum threshold for the success rate of sending interaction requests; the first interaction is interrupted when neither the first electronic device nor the second electronic device receives an instruction to end the first interaction; and the indicator value used to characterize the interaction quality of the first interaction is less than or equal to a second value; wherein the second value is a preset minimum threshold for the indicator value used to characterize the interaction quality. This method can more accurately identify abnormal interactions and then process them.

[0016] In one possible design, the first interaction is executed through a first application, the first server is the server corresponding to the first application, and the first server is a server used to collect log data.

[0017] In one possible design, the first application is determined by the first server based on the first log data, or the first application is a third operation instruction received by the first electronic device, which can instruct the first application to the first server.

[0018] Based on this method, the first server can determine the first application used to perform the first interaction, and then determine the interaction process performed by the first application based on the first log data, and then determine the first interaction in the interaction process performed by the first application, so as to determine the second electronic device based on the first interaction.

[0019] In one possible design, the first interaction is performed through a first application, the first server is a server used to collect log data, and the second server is a server corresponding to the first application.

[0020] In one possible design, the first application includes an audio / video call application.

[0021] In one possible design, the first interaction is the most recent interaction between the first electronic device and the second electronic device.

[0022] Based on this method, the log data uploaded by the first and second electronic devices corresponds to the log data of their most recent interaction. Combining this method with the above approach enables server-side analysis of interaction quality issues based on recent interactions across multiple devices, better meeting the real-world needs of users for analyzing interaction quality problems. Therefore, this method is highly practical.

[0023] In one possible design, the time period during which the first interaction occurs is determined by the first server / second server based on the first log data; alternatively, the time period during which the first interaction occurs is determined by a fourth operation instruction received by the first electronic device. The first electronic device can indicate the time period during which the first interaction occurs to the first server / second server.

[0024] Based on this method, the first server / second server can determine the time period in which the first interaction occurs, and then determine the first interaction during the interaction process that occurs during that time period, so as to determine the second electronic device based on the first interaction.

[0025] In one possible design, before the second electronic device sends second log data, including log data corresponding to the first interaction, to the first server in response to the received first instruction, the method further includes: the second electronic device displaying a prompt message to the user to confirm whether to allow sending log data; the second electronic device receiving a fifth operation; wherein the fifth operation is used to indicate that sending log data is allowed.

[0026] In this method, after receiving the instruction to send log data, the second electronic device can send the log data only after the user's permission, which helps to improve the user experience.

[0027] In one possible design, before the second electronic device displays a prompt message for the user to confirm whether to allow the sending of log data, the method further includes: the second electronic device displaying a notification interface, the notification interface including information for indicating the first instruction; the second electronic device receiving a sixth operation acting on the notification interface; wherein the sixth operation is for instructing the display of the prompt message.

[0028] This method can promptly and effectively remind users to confirm whether they are allowed to send log data by displaying a notification interface, thereby helping to improve processing efficiency.

[0029] Secondly, embodiments of this application provide a log processing method applied to a server. The method includes: after a first electronic device and a second electronic device perform a first interaction, if the first interaction is detected to meet an abnormal condition, sending a first instruction to the first electronic device; wherein the abnormal condition is used to determine whether the first interaction is abnormal, and the first instruction is used to instruct the first electronic device to send log data; sending a second instruction to the second electronic device; wherein the second instruction is used to instruct the second electronic device to send log data.

[0030] In this method, when the server actively detects anomalies in interactions involving multiple devices, it instructs each device to send log data. Therefore, the server can acquire log data from all participating devices after detecting an abnormal interaction, enabling server-side analysis of interaction quality issues based on this acquired log data. Compared to schemes that rely solely on log data reported by a single participating device for interaction quality analysis, this approach improves both performance and accuracy.

[0031] In one possible design, the method further includes: receiving first log data from the first electronic device, including log data corresponding to the first interaction; and receiving second log data from the second electronic device, including log data corresponding to the first interaction.

[0032] This method allows the server to obtain log data from multiple devices involved in abnormal interactions, thereby providing richer data for analyzing interaction quality issues and improving the performance and effectiveness of such analysis.

[0033] In one possible design, the abnormal conditions include at least one of the following: the success rate of either the first electronic device or the second electronic device sending an interaction request to the other electronic device is less than or equal to a first value; wherein the first value is a preset minimum threshold for the success rate of sending interaction requests; the first interaction is interrupted when neither the first electronic device nor the second electronic device receives an instruction to end the first interaction; and the indicator value used to characterize the interaction quality of the first interaction is less than or equal to a second value; wherein the second value is a preset minimum threshold for the indicator value used to characterize the interaction quality.

[0034] This method can accurately identify abnormal interactions and then process them.

[0035] Thirdly, this application provides an electronic device, the electronic device including a memory and one or more processors; wherein the memory is used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the one or more processors, the electronic device performs the method described in the first aspect or any possible design of the first aspect for application to any device, or performs the method described in the second aspect or any possible design of the second aspect.

[0036] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when run on an electronic device, causes the electronic device to perform the method described in the first aspect or any possible design of the first aspect for use in any device, or to perform the method described in the second aspect or any possible design of the second aspect.

[0037] Fifthly, this application provides a computer program product comprising a computer program or instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect or any possible design of the first aspect for use in any device, or to perform the method described in the second aspect or any possible design of the second aspect.

[0038] Sixthly, this application provides a chip system including a processor and a memory, wherein the memory stores instructions; when the instructions are executed by the processor, they implement the method described in the first aspect or any possible design of the first aspect for application to any device, or implement the method described in the second aspect or any possible design of the second aspect. The chip system may be composed of chips or may include chips and other discrete devices.

[0039] The beneficial effects of the third to sixth aspects mentioned above can be found in the beneficial effects of the first or second aspects mentioned above, and will not be repeated here. Attached Figure Description

[0040] Figure 1 A schematic diagram of the hardware architecture of an electronic device provided in an embodiment of this application;

[0041] Figure 2 A schematic diagram of the software architecture of an electronic device provided in an embodiment of this application;

[0042] Figure 3 This is a schematic diagram of the architecture of a log processing system provided in an embodiment of this application;

[0043] Figure 4 A schematic diagram illustrating a log processing method provided in an embodiment of this application;

[0044] Figure 5 A schematic diagram of an abnormal call selection interface provided in an embodiment of this application;

[0045] Figure 6 A schematic diagram of a prompt interface provided in an embodiment of this application;

[0046] Figure 7 A schematic diagram illustrating a log processing method provided in an embodiment of this application;

[0047] Figure 8 A schematic diagram illustrating a log processing method provided in an embodiment of this application;

[0048] Figure 9 This is a schematic diagram of the architecture of a log processing system provided in an embodiment of this application;

[0049] Figure 10 A schematic diagram illustrating a log processing method provided in an embodiment of this application;

[0050] Figure 11 A schematic diagram illustrating a log processing method provided in an embodiment of this application;

[0051] Figure 12 A schematic diagram illustrating a log processing method provided in an embodiment of this application;

[0052] Figure 13 A schematic diagram illustrating a log processing method provided in an embodiment of this application;

[0053] Figure 14 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0054] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings.

[0055] In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first" and "second" may explicitly or implicitly include one or more of that feature.

[0056] It should be understood that in the embodiments of this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0057] To improve the effectiveness of interaction quality problem analysis for interactions between different electronic devices, embodiments of this application provide a log processing method and an electronic device. In this scheme, different electronic devices participating in the interaction can each report their local log data to the server, enabling the server to provide richer data for interaction quality problem analysis (i.e., log data from multiple electronic devices participating in the interaction), thereby improving the analysis effectiveness based on this data.

[0058] The solutions provided in this application can be applied to electronic devices or servers, or to a system consisting of multiple electronic devices and at least one server. Specific application methods can be found in the descriptions in the following embodiments.

[0059] In some embodiments of this application, the electronic device can be a portable device, such as a mobile phone, tablet computer, wearable device with wireless communication capabilities (e.g., watch, bracelet, etc.), in-vehicle terminal device, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), smart home device (e.g., smart TV, smart speaker, etc.), smart robot, workshop equipment, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, or wireless terminal in smart home, flying equipment (e.g., smart robot, drone, airplane), etc. Wearable devices are portable devices that users can wear directly on their body or integrate into their clothing or accessories.

[0060] In some embodiments of this application, the electronic device may also be a portable terminal device that includes other functions. Exemplary embodiments of the portable terminal device include, but are not limited to, carrying... Alternatively, it could be a portable terminal device with another operating system. The aforementioned portable terminal device could also be other portable terminal devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of this application, the aforementioned electronic device may not be a portable terminal device, but rather a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0061] See below. Figure 1 The structure of the electronic device to which the method provided in the embodiments of this application is applicable will be described.

[0062] like Figure 1As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc.

[0063] The sensor module 180 may include a gyroscope sensor, an accelerometer, a proximity sensor, a fingerprint sensor, a touch sensor, a temperature sensor, a pressure sensor, a distance sensor, a magnetic sensor, an ambient light sensor, a barometric pressure sensor, a bone conduction sensor, etc.

[0064] Understandable, Figure 1 The electronic device 100 shown is merely an example and does not constitute a limitation on the electronic device. The electronic device may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. Figure 1 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0065] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, memory, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.

[0066] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0067] The execution of the log processing method provided in this application embodiment can be controlled by the processor 110 or by calling other components. For example, it can call the processing program of this application embodiment stored in the internal memory 121, or call the processing program of this application embodiment stored in a third-party device through the external memory interface 120 to control the wireless communication module 160 to perform data communication with other devices, thereby improving the intelligence and convenience of the electronic device 100 and enhancing the user experience. The processor 110 may include different devices. For example, when integrating a CPU and a GPU, the CPU and GPU can cooperate to execute the log processing method provided in this application embodiment. For example, some algorithms in the log processing method can be executed by the CPU, and other algorithms can be executed by the GPU to achieve faster processing efficiency.

[0068] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays screens 194, where N is a positive integer greater than 1. Display screen 194 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces (GUIs). For example, display screen 194 can display photos, videos, web pages, or documents, etc.

[0069] In this embodiment of the application, the display screen 194 can be a single flexible display screen, or it can be a splicing display screen composed of two rigid screens and a flexible screen located between the two rigid screens.

[0070] Camera 193 (a front-facing camera or a rear-facing camera, or a single camera that can function as both) is used to capture still images or videos. Typically, camera 193 may include a photosensitive element such as a lens assembly and an image sensor. The lens assembly includes multiple lenses (convex or concave lenses) for collecting light signals reflected from the object being photographed and transmitting these signals to the image sensor. The image sensor generates a raw image of the object being photographed based on the light signals.

[0071] The internal memory 121 can be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The program storage area can store the operating system, application program code (such as the functions corresponding to the scheme in this application), etc. The data storage area can store data created during the use of the electronic device 100.

[0072] The internal memory 121 may also store one or more computer programs corresponding to the algorithm of this application. The one or more computer programs are stored in the internal memory 121 and configured to be executed by one or more processors 110. The one or more computer programs include instructions that can be used to perform the various steps in the following embodiments.

[0073] In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0074] Of course, the algorithm code of the embodiment of this application can also be stored in external memory. In this case, the processor 110 can run the algorithm code of the embodiment of this application stored in external memory through the external memory interface 120.

[0075] A touch sensor, also known as a "touch panel," can be located on the display screen 194. The touch sensor and display screen 194 together form a touch display screen, also called a "touch screen." The touch sensor detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor may also be located on the surface of the electronic device 100, in a different position than the display screen 194.

[0076] For example, the display screen 194 of the electronic device 100 can display a main interface, which includes icons for multiple applications (such as a camera application, a fitness and health application, etc.). For instance, a user can tap the camera application icon on the main interface using a touch sensor, triggering the processor 110 to launch the camera application and open the camera 193. The display screen 194 then displays the camera application's interface, such as the viewfinder.

[0077] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0078] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0079] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device. In this embodiment, the mobile communication module 150 can also be used for information interaction with other devices.

[0080] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.

[0081] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (WiFi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2. In this embodiment, the wireless communication module 160 can be used to establish connections with other electronic devices for data interaction. Alternatively, the wireless communication module 160 can be used to access access point devices, send control commands to other electronic devices, or receive data from other electronic devices.

[0082] In addition, the electronic device 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor, such as music playback and recording. The electronic device 100 can receive input from buttons 190, generating key signal inputs related to user settings and function control. The electronic device 100 can use a motor 191 to generate vibration alerts (such as vibration alerts for incoming calls). The indicator 192 in the electronic device 100 can be an indicator light, used to indicate charging status, battery level changes, messages, missed calls, notifications, etc. The SIM card interface 195 in the electronic device 100 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with the electronic device 100.

[0083] It should be understood that, in practical applications, electronic device 100 may include more than Figure 1 The number of more or fewer components shown is not limited in the embodiments of this application. The illustrated electronic device 100 is merely an example, and the electronic device 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0084] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. A layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. For example, ... Figure 2 As shown, the software architecture can be divided into four layers, from top to bottom: the application layer, the application framework layer (framework, FWK), the runtime and system libraries, and the (Linux) kernel layer.

[0085] The application layer is the top layer of the operating system and includes native operating system applications such as camera, gallery, calendar, Bluetooth, and music, as well as third-party applications. The applications discussed in this application are referred to as apps (APPs), which are software programs capable of performing one or more specific functions. Typically, multiple apps can be installed on an electronic device, such as camera apps and email apps. The apps mentioned below can be system apps pre-installed at the factory or third-party apps downloaded by the user from the network or obtained from other electronic devices during use.

[0086] Of course, for developers, they can write applications and install them into this layer. In one possible implementation, the application can be developed using the Java language, by calling the application programming interface (API) provided by the application framework layer. Developers can then interact with the underlying operating system (such as the kernel layer) through the application framework to develop their own applications.

[0087] In some embodiments of this application, the application layer may include interactive applications, through which electronic devices can interact with other electronic devices. For example, interactive applications may include social applications (e.g., video calling applications), office applications (e.g., conferencing applications), etc., and the specific applications included in the interactive applications are not limited in this application. In one possible solution, the interactive application may also include a problem feedback module. The electronic device can receive user feedback (e.g., interaction quality issues) through the problem feedback module in the interactive application and upload the electronic device's log data to the server, so that the server can perform problem analysis based on the log data uploaded by the electronic device. In another possible solution, the application layer may also include a problem feedback application, through which the electronic device can receive user feedback (e.g., interaction quality issues) and upload the electronic device's log data to the server, so that the server can perform problem analysis based on the log data uploaded by the electronic device.

[0088] The application framework layer provides the API and programming framework for the application layer. It can include predefined functions, such as a window manager, content provider, view system, phone manager, resource manager, and notification manager.

[0089] The window manager is used to manage window programs. The window manager can obtain the screen size, determine if a status bar is present, lock the screen (or display), and capture the screen, among other things.

[0090] Content providers are used to store and retrieve data, and make that data accessible to applications. This data may include files (e.g., documents, videos, images, audio), text, and other information.

[0091] A view system includes visual controls, such as controls that display text, images, documents, and other content. View systems can be used to build applications. An interface in a display window can consist of one or more views. For example, a display interface including a text message notification icon could include a view that displays text and a view that displays images.

[0092] The phone manager provides communication functionality for electronic devices. The notification manager allows applications to display notification information in the status bar; it can be used to convey informative messages and can disappear automatically after a short pause without user interaction.

[0093] The runtime includes the core libraries and the virtual machine. The runtime is responsible for system scheduling and management.

[0094] The system's core library consists of two parts: one part contains the functionalities that the Java language needs to call, and the other part is the system's core library. The application layer and application framework layer run in a virtual machine. Taking Java as an example, the virtual machine executes the Java files in the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0095] The system library can include multiple functional modules. For example: a surface manager, a media library, a 3D graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), and an image processing library. The surface manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of various common audio and video formats, as well as still image files. The media library supports various audio and video encoding formats, such as MPEG4, H.564, MP3, AAC, AMR, JPG, and PNG. The 3D graphics processing library implements 3D graphics drawing, image rendering, compositing, and layer processing. The 2D graphics engine is the drawing engine for 2D graphics.

[0096] The kernel layer provides core system services for the operating system, such as security, memory management, process management, network protocol stack, and driver models, all of which are implemented based on the kernel layer. The kernel layer also serves as an abstraction layer between the hardware and software stacks. This layer contains many drivers related to electronic devices, including: display drivers; keyboard drivers as input devices; Flash drivers for memory-based devices; camera drivers; audio drivers; Bluetooth drivers; and WiFi drivers.

[0097] It is important to understand that the functional services described above are just an example. In practical applications, electronic devices may be divided into more or fewer functional services based on other factors, or the functions of each service may be divided in other ways, or they may not be divided into functional services but work as a whole.

[0098] The solutions provided in the embodiments of this application are described in detail below. The solutions provided in the embodiments of this application can be applied to a system consisting of multiple electronic devices and at least one server. For ease of explanation, the following description uses a scenario where the solutions provided in the embodiments of this application are applied to a system consisting of two electronic devices and one server as an example. The implementation method for scenarios involving a larger number of electronic devices and / or more servers can be implemented with reference to the methods provided in the following embodiments, and will not be listed and described in detail in this application.

[0099] Figure 3 This is a schematic diagram of the architecture of an interactive system provided in an embodiment of this application. Figure 3 As shown, the interactive system may include a first electronic device, a second electronic device, and a server.

[0100] In this interactive system, the first electronic device and the second electronic device can interact. This interaction can be, for example, call-like interaction (e.g., voice call, video call), screen sharing interaction, remote collaboration interaction, etc. This application embodiment does not limit the specific interaction type, form, or method. In the solution provided by this application embodiment, the first and second electronic devices can report their local log data to the server based on received instructions. This allows users (e.g., developers) to analyze the interaction quality issues between the first and second electronic devices on the server side based on the log data. The log data is event record information generated by events triggered during the operation of the electronic device (including applications, processes, services, etc.). The log data allows for the determination of detailed information about the electronic device during operation (e.g., running time, user information, executed business or operations, etc.).

[0101] Optionally, the instruction received by the first electronic device may be an instruction sent by the user or an instruction sent by the server. The instruction received by the second electronic device may be an instruction sent by the first electronic device or an instruction sent by the server.

[0102] In this interactive system, the server must have at least the following function 1:

[0103] Function 1: Processing log data reported by electronic devices.

[0104] Specifically, the server can be used to receive and save log data from the first electronic device and the second electronic device, so as to support the analysis of interaction quality issues between the first electronic device and the second electronic device on the server side based on the log data of the first electronic device and the second electronic device.

[0105] Optionally, the server may also have the following functions 2 and / or 3:

[0106] Function 2: To assist in the interaction between the first electronic device and the second electronic device.

[0107] In some embodiments of this application, the server can be used to establish a connection between a first electronic device and a second electronic device, transmit interactive data between the first electronic device and the second electronic device, etc., thereby assisting in realizing the interaction between the first electronic device and the second electronic device.

[0108] In one example, such as Figure 3 As shown, the first electronic device may include a first application, and the second electronic device may include a second application. The first and second applications can interact with each other. The first and second applications are the same application, and the server can be the server corresponding to that application. For example, the first application could be a social communication application 1 installed on the first electronic device, and the second application could be a social communication application 1 installed on the second electronic device. The server could be the server corresponding to social communication application 1, which can be used to support the interaction between the first and second applications. The first and second applications can also be understood as the same application installed on different electronic devices.

[0109] Function 3: A function to detect interaction quality issues between the first electronic device and the second electronic device.

[0110] In some embodiments of this application, when the server detects a difference in interaction quality between the first electronic device and the second electronic device, it instructs the first and second electronic devices to report log data respectively. This allows for the analysis and identification of interaction quality problems based on the log data reported by the first and second electronic devices. The specific implementation process of this method can be found in the description of Embodiment 2 below, and will not be detailed here.

[0111] It should be understood that the system architecture described above is only an example. In actual applications, some modules or devices can be added or removed from the interactive system, or some modules or devices can be split or merged. No specific restrictions are imposed in this application.

[0112] Example 1

[0113] based on Figure 3 The system architecture shown in this application and the log processing method provided in this embodiment can be referred to. Figure 4 .like Figure 4 As shown, the method may include:

[0114] S401: The first electronic device receives a problem feedback operation; wherein the problem feedback operation is used to indicate a first problem.

[0115] In some embodiments of this application, the first problem is an interaction-related problem. An interaction-related problem can be a problem related to interaction between at least two electronic devices.

[0116] Optionally, before step S401, the first electronic device can interact with other electronic devices (such as the second electronic device described below). In some embodiments of this application, the first electronic device may include a first application, in which a first user account can be logged in. The first electronic device can interact with other devices through the first application. The interaction process between the first electronic device and other devices may be, for example, call-type interaction (such as voice call, video call, etc.), screen sharing-type interaction, remote collaboration-type interaction, etc. The specific interaction type, interaction form, and interaction method are not limited in the embodiments of this application. Optionally, the first electronic device may also include a problem feedback module, through which the first electronic device can receive problem feedback operations and upload log data to the server. The problem feedback module may be a service or functional unit in the first application used for problem feedback, or the problem feedback module may be another application in the first electronic device, different from the first application, used for problem feedback.

[0117] In some embodiments of this application, the problem feedback operation may include the following first user operation:

[0118] 1) Used to indicate the first user action for the first question.

[0119] In some embodiments of this application, the first user operation can be the operation of a user inputting a first question, or the first user operation can be the operation of a user selecting a first question from at least one question provided by a first electronic device. For example, the first user operation can be the operation of a user inputting a first question in the form of text, images, etc., or the first user operation can be the operation of a user inputting a question by voice. This application does not impose any limitations on these embodiments. For example, the first question input by the user could be a problem such as poor call quality, video call stuttering, or unclear phone call audio.

[0120] As an optional implementation, the first electronic device can automatically identify the question type of the first question based on the first question, thereby determining that the first question belongs to the interactive type. For example, the first electronic device can use a set artificial intelligence (AI) model to identify the question type of the first question. As another optional implementation, the question feedback operation may also include the second user operation described below, and the first electronic device can determine that the first question belongs to the interactive type based on the second user operation.

[0121] 2) Used to indicate the second user action that the first question belongs to the interactive type of question.

[0122] The second user action is used to indicate that the question type of the first question is an interactive question. In some embodiments of this application, the second user action may be an action by which the user selects the interactive question type from a plurality of question types displayed on the first electronic device.

[0123] In some embodiments of this application, interactive questions can be further divided into more specific types of questions, such as call-related questions, etc. No specific limitations are imposed in these embodiments. In this scenario, the second user operation can be used to indicate that the first question is a more specific question type, such as a call-related question.

[0124] In some embodiments of this application, the problem feedback operation may further include at least one of the following third user operation, fourth user operation, and fifth user operation:

[0125] 3) Used to indicate a third user operation at a first time point or a first time period, wherein the first time point is used as the time point at which the first problem occurs, and the first time period is used as the time period during which the first problem occurs.

[0126] In some embodiments of this application, the third user operation can be the operation of the user inputting a first time point or a first time period, or the third user operation can be the operation of the user selecting a first time point from at least one time point provided by the first electronic device, or the third user operation can be the operation of the user selecting a first time period from at least one time period provided by the first electronic device.

[0127] 4) Used to indicate the fourth user action of the application corresponding to the first question.

[0128] In some embodiments of this application, the fourth user operation may be an operation in which a user selects a problem application from an application list provided by a first electronic device, wherein the application list may include at least one interactive application. The interactive application may be an application capable of enabling interaction between multiple electronic devices.

[0129] The problematic application is the application where the first problem occurs. Optionally, when the problem feedback module in the first electronic device is a service or functional unit within the first application, the problem feedback operation may not include the fourth user operation, and the problem feedback module in the first electronic device may default to using the first application as the problematic application. When the problem feedback module in the first electronic device is another application different from the first application, the problem feedback operation may include the fourth user operation, and the problem feedback module in the first electronic device may determine the problematic application based on the fourth user operation.

[0130] Based on the above description, in a possible example, taking a social calling application as the first application in the first electronic device and a problem feedback module as a service or functional unit within the first application, the problem feedback operation can include a first user operation, a second user operation, and a third user operation. Specifically, the problem feedback module can respond to a received sixth user operation (e.g., an operation that triggers the problem feedback process, which is not limited in this embodiment) by displaying a problem type selection interface. This interface can include multiple problem types, including call-related problems (belonging to interactive problems). The second user operation can be the user selecting a call-related problem from among the multiple problem types. After displaying the problem type selection interface, the problem feedback module can determine that the first problem belongs to the call-related problem based on the received second user operation and can display a problem input interface in response to the second user operation. The first user operation can be the user entering the first problem in the problem input interface. After displaying the problem input interface, the problem feedback module can respond to the received first user operation by displaying a time input interface. The third user operation can be the user entering a first time point or a first time period in the time input interface. The issue feedback module can receive third-user actions after displaying the time input interface, and determine the time when the first issue occurred based on these actions. In this scenario, the issue feedback module can default to the issue application as the first application.

[0131] 5) The fifth user action used to indicate the abnormal interaction process corresponding to the first problem.

[0132] For ease of description, the abnormal interaction process corresponding to the first problem will be referred to as the abnormal interaction process in the following embodiments of this application.

[0133] In some embodiments of this application, the fifth user operation can be an operation whereby the user selects an abnormal interaction process from the interaction record provided by the first electronic device. The interaction record may include at least one interaction process, from which the user can select the abnormal interaction process corresponding to the first problem. As an optional implementation, the interaction record may include information such as an identifier, the time period in which the interaction process occurred, and the corresponding application for each interaction process. Optionally, after the user selects an abnormal interaction process, the first electronic device may notify the server of the abnormal interaction process, and may also notify the server of information such as the time period in which the abnormal interaction process occurred (which can be the problem time period) and the application corresponding to the abnormal interaction process (which can be the problem application).

[0134] Example 1: In one example, taking the first question as a call-related question, the first electronic device can respond to user actions (such as the second user action mentioned above) and display... Figure 5The abnormal call selection interface is shown below. Figure 5 As shown, the abnormal call selection interface can include calls 1 through 5, where each call corresponds to a call process, each call has corresponding time information (indicating the time period in which the call occurred), and each call can be an option. For example, a user can select one call from calls 1 through 5 as an abnormal call based on the time information corresponding to each call.

[0135] It should be noted that when the problem feedback operation includes multiple operations among the first user operation, the second user operation, the third user operation, the fourth user operation, and the fifth user operation, the order in which the first electronic device receives different operations among the multiple operations can be arbitrary, and no specific restrictions are imposed in the embodiments of this application.

[0136] S402: In response to the problem feedback operation, the first electronic device sends its log data and a first notification to the server; wherein the first notification is used to trigger the server to instruct other electronic devices that have interacted with the first electronic device to send log data to the server.

[0137] Optionally, the first electronic device can send its log data and first notification to the server through the same message, or it can send its log data and first notification to the server through different messages.

[0138] In some embodiments of this application, the log data of the first electronic device may be the log data of the first electronic device during the problematic time period. The problematic time period is used as the time period during which the first problem occurred.

[0139] Based on the specific operations included in the problem feedback process, the method by which the first electronic device determines the problem time period may include any of the following:

[0140] 1) As a first optional implementation, the problem feedback operation may not include the third to fifth user operations. In this scenario, the first electronic device may use the time period of the most recent interaction as the problem time period.

[0141] 2) As a second optional implementation, the problem feedback operation may include a third user operation and a fourth user operation, but does not include a fifth user operation. In this scenario, the first electronic device may take the time period of the most recent interaction process participated in by the first application as the problem time period.

[0142] 3) As a third optional implementation, when the problem feedback operation includes a third operation, the first electronic device can determine the problem time period based on the third operation. In one possible scenario, when the third operation indicates a first time point, the problem time period can be a time period of a first predetermined duration including the first time point. In this case, the first time point can be the start time point of the problem time period, or it can be the end time point of the problem time period, or it can be any time point between the start and end time points of the problem time period. The end time point can also be understood as the end time point. In another possible scenario, when the third operation indicates a first time period, the problem time period can be the first time period itself, or the problem time period can be a time period of a second predetermined duration including the first time period.

[0143] 4) As a fourth optional implementation, when the problem feedback operation includes a fifth operation, the first electronic device may use the time period during which the abnormal interaction process selected by the user occurs as the problem time period.

[0144] Optionally, the first electronic device can send its log data to the server through the problem feedback module.

[0145] In some embodiments of this application, the first notification may also be used to indicate at least one of the following information: a first issue, the issue type of the first issue, a first time point, the application corresponding to the first issue, the time period of the issue, and the abnormal call process corresponding to the first issue.

[0146] S403: In response to the first notification, the server sends a second notification to the second electronic device; wherein the second electronic device is an electronic device that has interacted with the first electronic device, and the second notification is used to notify the second electronic device to send the second electronic device's log data to the server.

[0147] Optionally, the second electronic device can be an electronic device that participated in the same interaction process as the first electronic device when the first problem occurred, or the second electronic device can be an electronic device that participated in the same interaction process as the first electronic device during the problem's time period. The second electronic device may include a second application, which can be the same application as the first application in the first electronic device (e.g., both the first and second applications can be connected apps). A second user account can be logged into the second application. The second electronic device can participate in the same interaction process as the first device through the second application.

[0148] In some embodiments of this application, after receiving a first notification, the server can determine an abnormal interaction process based on the first notification, determine a second electronic device based on the abnormal interaction process, and then send a second notification to the second electronic device. Optionally, the abnormal interaction process can be used as the interaction process participated in by the first electronic device when the first problem occurred, or it can be used as the interaction process participated in by the first electronic device during the problem time period. The second electronic device can be an electronic device other than the first electronic device that participates in the abnormal interaction process.

[0149] In this embodiment, the server can use at least one of the following methods 1 to 4 to determine the abnormal interaction process.

[0150] Method 1: The server can treat the most recent interaction process of the first electronic device as an abnormal interaction process.

[0151] Optionally, the most recent interaction can refer to the interaction process most recently between the start time or end time and the current time. That is, the abnormal interaction process is the interaction process most recently between the start time or end time and the current time.

[0152] Optionally, when the first notification does not indicate multiple pieces of information as described above, or when the first notification only indicates the first problem among the multiple pieces of information, the server may use method 1 to determine the abnormal interaction process.

[0153] Method 2: When the first notification indicates a problem application, the server can treat the interaction process involving the first electronic device through the problem application as an abnormal interaction process.

[0154] Method 3: When the first notification indicates the first time point, the server can regard the interaction process that the first electronic device participated in at the time closest to the first time point as an abnormal interaction process.

[0155] Optionally, the interaction process that is most recently involved in the first time point can refer to the interaction process whose start time point and / or end time point are most recently involved in the first time point, i.e., the abnormal interaction process is the interaction process whose start time point and / or end time point are most recently involved in the first time point.

[0156] Method 4: When the first notification indicates a problem time period, the server can treat the interaction process that the first electronic device participated in during the problem time period as an abnormal interaction process.

[0157] Optionally, the interaction process participated in by the first electronic device during the problem time period may meet the following condition: the time period in which the interaction process occurs is included within the problem time period. Specifically, the time period in which the interaction process occurs is the time period between the start and end times of the interaction process.

[0158] Optionally, if the first electronic device participates in only one interaction process during the problematic time period, the server can designate that single interaction process as an abnormal interaction process. If the first electronic device participates in multiple interaction processes during the problematic time period, the server can select one interaction process from the multiple interactions as an abnormal interaction process. The interaction process selected by the server from the multiple interactions can meet at least one of the following conditions:

[0159] 1) This interaction process is the one whose start time and / or end time is closest to the current time among multiple interactions. That is, the abnormal interaction process can be the most recent interaction process selected among multiple interactions.

[0160] 2) This interaction process is the worst in terms of interaction quality among multiple interactions, or the interaction quality of this interaction process meets the set low quality conditions.

[0161] For example, for each interaction, the server can determine a quality metric value to characterize the interaction quality. This metric value can be positively correlated with the quality of the interaction. When it's necessary to identify abnormal interactions from multiple interactions, the server can select the interaction with the lowest quality metric value as the abnormal interaction. Alternatively, a low-quality condition can be a quality metric value below or equal to a set threshold. The server can then select an interaction with a quality metric value below or equal to the set threshold as the abnormal interaction.

[0162] Optionally, taking a call as an example, the quality index value used to characterize the interaction quality (i.e. call quality) of the call process can be the mean opinion score (MOS).

[0163] In some embodiments of this application, the abnormal interaction process determined by the server may also meet the following conditions: the interaction type of the abnormal interaction process is the same as the question type indicated by the first notification (for example, the abnormal interaction process belongs to the call type interaction process, and the question type indicated by the first notification is the call type question), and / or, the abnormal interaction process is participated in by the first electronic device using the first application.

[0164] Method 5: When the first notification indicates an abnormal interaction process, the server can directly determine the abnormal interaction process based on the first notification.

[0165] In some embodiments of this application, the second notification may also be used to notify at least one of the following: a first point in time, a first time period, a problem time period, an abnormal interaction process, and the time period during which the abnormal interaction process occurred.

[0166] Optionally, before sending the second notification to the second electronic device, the server may first determine that the second user account logged in by the second electronic device during the abnormal interaction process is the same as the user account currently logged in by the second electronic device.

[0167] S404: The second electronic device responds to the second notification by displaying a prompt message; wherein the prompt message is used to prompt the user to confirm whether to send the log data of the second electronic device to the server.

[0168] Optionally, the second electronic device may also include a problem feedback module, which can display prompts and receive user input. The problem feedback module in the second electronic device can be a service or functional unit within the second application, or it can be another application within the second electronic device that is different from the second application.

[0169] In some embodiments of this application, as an optional implementation, after receiving the second notification, the second electronic device can display a prompt message via push notification (e.g., a banner notification), and can display a confirmation interface in response to user actions on the push message (e.g., a click). This confirmation interface may include a prompt message and a first control and a second control. The first control can be used to confirm sending the second electronic device's log data to the server, and the second control can be used to confirm not sending the second electronic device's log data to the server. As an optional implementation, after receiving the second notification, the second electronic device can display the aforementioned confirmation interface. In both of the above implementations, after displaying the confirmation interface, the second electronic device can send its log data to the server in response to a fifth user action on the first control (e.g., clicking the first control). Alternatively, the second electronic device can not send its log data to the server in response to a sixth user action on the second control (e.g., clicking the second control).

[0170] Example 2: In one example, taking an abnormal interaction process as a video call, the second electronic device, upon receiving the second notification, can display it as a banner notification. Figure 6 The notification interface shown may include a first prompt message from a second application (e.g., ...). Figure 6 (See the "Log Upload Request" shown). The second electronic device can respond to the user's tapping of the notification interface and display... Figure 6 The confirmation screen shown. This screen includes a second prompt message (e.g., Figure 6The second electronic device displays the message "Poor video call quality detected. Please confirm whether to allow uploading this device's log data for video call quality analysis?", a first control, and a second control. The first control indicates whether uploading local log data is allowed, while the second control indicates whether uploading local log data is prohibited. The second electronic device can respond to the user's click on either the first or second control by performing corresponding processing.

[0171] In the first possible scenario, step S404 may be followed by step S405:

[0172] S405: In response to the received sixth user operation, the second electronic device sends log data of the second electronic device to the server; wherein the sixth user operation is used to instruct the second electronic device to send log data of the second electronic device to the server.

[0173] Example 3: In one example, based on Example 2 above, the sixth user action could be a user click. Figure 6 The operation of the first control shown.

[0174] In some embodiments of this application, the log data of the second electronic device may include log data of the second electronic device during the period of the problem or the period of the abnormal interaction process.

[0175] Based on the specific information indicated in the second notification, the following situations may exist:

[0176] 1) In the first possible scenario, when the second notification indicates the first time point, the second electronic device can determine the problem time period based on the first time point and send the log data of the second electronic device within the problem time period to the server. The first time point and the problem time period can be referred to in step S402 for details, and will not be repeated here.

[0177] 2) In the second possible scenario, when the second notification indicates the first time period, the second electronic device can determine the problem time period based on the first time period and send the log data of the second electronic device within the problem time period to the server. The explanations for the first time period and the problem time period can be found in step S402, and will not be repeated here.

[0178] 3) In the third possible scenario, when the second notification indicates a problem period, the second electronic device can send log data of the second electronic device during the problem period to the server. The problem period can be referred to the explanation in step S402, and will not be repeated here.

[0179] 4) In the fourth possible scenario, when the second notification indicates an abnormal interaction process or a time period in which the abnormal interaction process occurs, the second electronic device may send log data of the second electronic device during the time period in which the abnormal interaction process occurs to the server.

[0180] Optionally, the second electronic device can send log data of the second electronic device to the server through the problem feedback module.

[0181] Optionally, after step S405, the following step S406 may also be included:

[0182] S406: The server associates the received log data from the first electronic device and the log data from the second electronic device with the first identifier.

[0183] In some embodiments of this application, the server may also store log data of the first electronic device, log data of the second electronic device, and a first identifier. The server may also display the log data of the first electronic device and the log data of the second electronic device in response to a received user operation.

[0184] In the second possible scenario, step S404 may be followed by step S407:

[0185] S407: In response to the received seventh user operation, the second electronic device does not send the second electronic device's log data to the server; wherein the seventh user operation is used to indicate that the second electronic device's log data is not sent to the server.

[0186] Example 4: In one example, based on Example 2 above, the seventh user action could be a user click. Figure 6 The operation of the second control shown.

[0187] Based on the above method, after receiving user feedback on interaction issues, the first electronic device can, on the one hand, upload its own log data to the server, and on the other hand, notify other electronic devices that have interacted with the first electronic device to upload their own log data to the server. This allows the server to obtain log data from multiple electronic devices participating in the same interaction process, and thus perform interaction quality problem analysis based on this data. This method allows the server to provide richer data for interaction quality problem analysis, thereby improving the performance and effectiveness of such analysis. For example, in scenarios where problem feedback is received through the first electronic device, the analysis can determine the cause of the interaction quality problem on the side of other electronic devices that interacted with the first electronic device.

[0188] Example 2

[0189] based on Figure 3The system architecture shown in this application provides another log processing method that can be referred to. Figure 7 .like Figure 7 As shown, the method may include:

[0190] S701: When the first electronic device detects an abnormal interaction process, it sends the log data of the first electronic device and a first notification to the server. The first notification is used to trigger the server to instruct other electronic devices that have interacted with the first electronic device to send log data to the server.

[0191] Optionally, before the first electronic device detects an abnormal interaction process, the first electronic device may interact with other electronic devices. The specific method can refer to step S401 regarding the method for the first electronic device to interact with other electronic devices, and will not be repeated here. In some embodiments of this application, the abnormal interaction process detected by the first electronic device may be an interaction process that the first electronic device has participated in and that meets set conditions. Optionally, the set conditions may include at least one of the following:

[0192] 1) The call completion rate of the first electronic device during the interaction process is lower than or equal to the set call completion rate threshold.

[0193] Call connection rate can also be understood as call success rate. The call connection rate can be defined as the ratio of the number of devices that successfully receive an interaction request after one electronic device initiates such a request to at least one other electronic device, to the total number of at least one other electronic device. Here, at least one other electronic device must also be one of the electronic devices participating in the interaction process.

[0194] Taking a call as an example, if the first electronic device sends a call request to all four other electronic devices, but only one of the four electronic devices successfully receives the call request, then the call completion rate for this call process is 25%.

[0195] 2) There is a situation where the interaction is interrupted abnormally.

[0196] An abnormal interruption can occur when an electronic device participating in the interaction process does not receive a user instruction to terminate the interaction. For example, if a call is being conducted between a first electronic device and a second electronic device, and neither the first nor the second electronic device receives an instruction to terminate the call, but the call between the first and second electronic devices is suddenly interrupted, this would be considered an abnormal interruption.

[0197] 3) The quality index value used to characterize the interaction process is lower than the set quality threshold (used as the minimum threshold for quality index value).

[0198] Optionally, taking a call as an example, the quality index value used to characterize the interaction quality (i.e. call quality) of the call process can be the mean opinion score (MOS).

[0199] In some embodiments of this application, when the first electronic device detects an abnormal interaction process, it can automatically identify the specific problem (such as poor interaction quality), specific problem type (or specific interaction type), problem time point or problem time period (i.e., the time period during which the abnormal interaction process occurs), problem application (i.e., the application in the first electronic device used to execute the abnormal interaction process) and other relevant information based on log data.

[0200] The specific implementation method for the first electronic device to send its log data and first notification to the server can be referred to the relevant method for the first electronic device to send its log data and first notification to the server described in step S402 above, and will not be repeated here.

[0201] S702: In response to the first notification, the server sends a second notification to the second electronic device; wherein the second electronic device is an electronic device that has interacted with the first electronic device, and the second notification is used to notify the second electronic device to send the second electronic device's log data to the server.

[0202] S703: The second electronic device responds to the second notification by displaying a prompt message; wherein the prompt message is used to prompt the user to confirm whether to send the log data of the second electronic device to the server.

[0203] Steps S702 to S703 can be implemented by referring to the aforementioned steps S403 to S404, and will not be repeated here.

[0204] In the first possible scenario, step S703 may be followed by step S704:

[0205] S704: In response to the received first user operation, the second electronic device sends log data of the second electronic device to the server; wherein the first user operation is used to instruct the second electronic device to send log data of the second electronic device to the server.

[0206] Step S704 can be implemented by referring to the aforementioned step S405, and will not be repeated here. The server processing method after step S704 can be implemented by referring to the aforementioned step S406, and will not be repeated here.

[0207] In the second possible scenario, step S703 may be followed by step S705:

[0208] S705: In response to the received second user operation, the second electronic device does not send its log data to the server; wherein the second user operation is used to instruct that the log data of the second electronic device is not sent to the server.

[0209] Step S705 can be implemented by referring to the aforementioned step S407, and will not be repeated here.

[0210] Example 3

[0211] based on Figure 3 The system architecture shown, taking a scenario where a server assists in the interaction process between a first electronic device and a second electronic device as an example, provides another log processing method that can be referred to in this application embodiment. Figure 8 .like Figure 8 As shown, the method may include:

[0212] S801: When the server detects an abnormal interaction process, it sends a first notification to the first electronic device involved in the abnormal interaction process; wherein, the first notification is used to notify the first electronic device to send the log data of the first electronic device to the server.

[0213] In some embodiments of this application, the server can perform anomaly detection on the interaction process between different electronic devices based on relevant information about the interaction between them, in order to determine whether an abnormal interaction process exists. Optionally, the abnormal interaction process can be an interaction process that meets set conditions, and the set conditions can include at least one of the following:

[0214] 1) The call rate is lower than or equal to the set call rate threshold.

[0215] For details regarding the call-through rate, please refer to the explanation of the call-through rate in step S701; it will not be elaborated upon here.

[0216] Taking a call as an example, if electronic device 1 sends call requests to other electronic devices 2 through 5, but only electronic devices 2 and 4 successfully receive the call requests, then the call completion rate for this call process is 50%. Electronic device 1 can send call requests to other electronic devices through the server.

[0217] 2) There is a situation where the interaction is interrupted abnormally.

[0218] For information on abnormal interruptions, please refer to the explanation of abnormal interruptions in step S701, which will not be elaborated here.

[0219] 3) The quality index value used to characterize the interaction process is lower than the set quality threshold (used as the minimum threshold for quality index value).

[0220] Optionally, taking a call as an example, the quality index value used to characterize the interaction quality (i.e. call quality) of the call process can be MOS.

[0221] In some embodiments of this application, the first notification may also be used to indicate at least one of the following: an abnormal interaction process (i.e., an interaction process in which the first electronic device participates), and the time period during which the abnormal interaction process occurs.

[0222] Optionally, before sending the first notification to the first electronic device, the server may also determine that the first user account logged in by the first electronic device during the abnormal interaction process is the same as the user account currently logged in by the first electronic device.

[0223] S802: When the server detects an abnormal interaction process, it sends a second notification to the second electronic device involved in the abnormal interaction process; wherein, the second notification is used to notify the second electronic device to send the second electronic device's log data to the server.

[0224] In some embodiments of this application, the second notification may also be used to indicate at least one of the following: an abnormal interaction process (i.e., an interaction process in which the first electronic device participates), and the time period during which the abnormal interaction process occurs.

[0225] Optionally, before sending the second notification to the second electronic device, the server may first determine that the second user account logged in by the second electronic device during the abnormal interaction process is the same as the user account currently logged in by the second electronic device.

[0226] It should be noted that the execution order of steps S802 and S801 can be arbitrary, and no restriction is imposed in this embodiment.

[0227] S803: The first electronic device responds to the first notification by sending the log data of the first electronic device to the server.

[0228] In some embodiments of this application, the log data of the first electronic device may include log data of the first electronic device during the period of the problem or the period of the abnormal interaction process.

[0229] Based on the specific information indicated in the first notification, the following situations may exist:

[0230] 1) In the first possible scenario, when the first notification indicates the time period during which the abnormal interaction occurred, the first electronic device may send log data of the first electronic device during the time period during which the abnormal interaction occurred to the server.

[0231] 2) In the second possible scenario, when the first notification indicates an abnormal interaction process, if the first electronic device can determine the time period during which the abnormal interaction process occurred, then the first electronic device can send log data of the first electronic device during the time period during which the abnormal interaction process occurred to the server. If the first electronic device cannot determine the time period during which the abnormal interaction process occurred, then the first electronic device can send log data of the first electronic device during the time period during which the most recent interaction process it participated in occurred to the server, or the first electronic device can obtain the time period during which the abnormal interaction process occurred from the server before sending the log data of the first electronic device during the time period during which the abnormal interaction process occurred to the server.

[0232] 3) In the third possible case, when the first notification does not indicate the abnormal interaction process or the time period in which the abnormal interaction process occurred, the first electronic device may send the server the log data of the first electronic device during the time period in which the most recent interaction process occurred, or the first electronic device may obtain the time period in which the abnormal interaction process occurred from the server and then send the log data of the first electronic device during the time period in which the abnormal interaction process occurred to the server.

[0233] In some embodiments of this application, as an optional implementation, after receiving a first notification, the first electronic device can display a prompt message via push notification (e.g., a banner notification), and can display a confirmation interface in response to user actions on the push message (e.g., a click). This confirmation interface may include a prompt message and a first control and a second control. The first control can be used to confirm sending the first electronic device's log data to the server, and the second control can be used to confirm not sending the first electronic device's log data to the server. As an optional implementation, the first electronic device can display the aforementioned confirmation interface after receiving the first notification. In both of the above embodiments, after displaying the confirmation interface, the first electronic device can send its log data to the server in response to user actions on the first control (e.g., clicking the first control).

[0234] It should be noted that step S803 is executed after step S801, but the execution order of step S803 and step S802 can be arbitrary, and no restriction is imposed in this embodiment.

[0235] S804: The second electronic device responds to the second notification by sending the log data of the second electronic device to the server.

[0236] The implementation method of step S804 is similar to that of step S803, and can be implemented by referring to the method of step S803. Alternatively, step S804 can be implemented by referring to the methods of steps S404 to S405, which will not be described in detail here.

[0237] It should be noted that step S804 is executed after step S802, but the execution order of step S804 and step S803 can be arbitrary, and no restriction is imposed in this embodiment.

[0238] Optionally, after step S804, the following step S805 may also be included:

[0239] S805: The server associates the received log data from the first electronic device and the log data from the second electronic device with the first identifier.

[0240] Regarding step S805, please refer to the aforementioned step S406, which will not be repeated here.

[0241] Based on the above method, when the server detects an abnormal interaction, it can notify the electronic devices involved in the abnormal interaction to upload log data to the server. This allows the server to obtain log data from multiple electronic devices related to the abnormal interaction, and subsequently, it can analyze the interaction quality issues based on this log data. This method enables the server to obtain richer data for interaction quality issue analysis in a timely manner, thereby improving the performance and effectiveness of the analysis.

[0242] It should be understood that the implementation processes provided in the above embodiments are merely illustrative examples of the applicable method processes in the embodiments of this application. The execution order of each step in each embodiment can be adjusted according to actual needs, and other steps can be added or some steps can be removed. The execution order between steps that are not temporally related in each embodiment can be arbitrary, and this application does not impose any restrictions on this.

[0243] The solutions provided in the above embodiments are illustrated using a single server as an example. However, it should be understood that the functions of the server described in the solutions provided in the above embodiments can also be implemented on multiple servers. In the scenario where the functions of the server are implemented on multiple servers, the number of multiple servers is not specifically limited in this application embodiment.

[0244] In one example, the server functionality described in the above embodiments can be implemented on two servers. These two servers can be an interaction server (also called a social server or social communication server) that assists in the interaction process between electronic devices and performs anomaly detection during the interaction process, and a log server that receives and processes log data from electronic devices. Based on this solution, Figure 3 The architecture of the interactive system shown can evolve into Figure 9The system architecture is shown below. Figure 9 As shown, the interactive system includes at least a first electronic device, a second electronic device, an interaction server, and a log server. Of course, the interactive system may also include a greater number of electronic devices, which will not be listed here.

[0245] exist Figure 9 In the system architecture shown, the first electronic device can be referred to Figure 3 The first electronic device described in the corresponding method, and the second electronic device can be referred to in the following text. Figure 3 The second electronic device described in the corresponding method will not be detailed here.

[0246] exist Figure 9 In the system architecture shown, the interaction server can have Figure 3 This corresponds to functions 2 and 3 described in the corresponding method. The log server can have... Figure 3 This corresponds to function 1 described in the method. Optionally, in this scenario, the interaction server can be the server corresponding to the first application and the second application, the problem feedback module in the first electronic device and the second electronic device can be an independent application, and the log server can be the server corresponding to that application.

[0247] In one example, based on Figure 9 The system architecture shown in this application and the first possible log processing method provided in this embodiment can be referred to. Figure 10 .like Figure 10 As shown, the method may include:

[0248] S1001: In response to the abnormal triggering condition, the first electronic device sends the log data of the first electronic device to the log server.

[0249] The exception triggering condition can be any of the following:

[0250] 1) The first electronic device receives a problem feedback operation indicating the first problem. For details, please refer to the description of step S401 above, which will not be repeated here.

[0251] 2) The first electronic device detects an abnormal interaction process. For details, please refer to the description of step S701 above, which will not be repeated here.

[0252] The specific implementation method for the first electronic device to send its log data to the log server can be referred to the relevant method for the first electronic device to send its log data to the server as described in step S402 above, and will not be repeated here.

[0253] S1002: In response to an abnormal triggering condition, the first electronic device sends a first notification to the interaction server; wherein, the first notification is used to trigger the interaction server to instruct other electronic devices that have interacted with the first electronic device to send log data to the log server.

[0254] The specific implementation method for the first electronic device to send the first notification to the interactive server can be referred to the relevant method for the first electronic device to send the first notification to the server described in step S402 above, and will not be repeated here.

[0255] S1003: In response to the first notification, the interaction server sends a second notification to the second electronic device; wherein the second electronic device is an electronic device that has interacted with the first electronic device, and the second notification is used to notify the second electronic device to send the log data of the second electronic device to the log server.

[0256] Step S1003 can be implemented by referring to the method described in step S403 above, and will not be described in detail here.

[0257] S1004: In response to the second notification, the second electronic device sends the log data of the second electronic device to the log server.

[0258] Step S1004 can be implemented by referring to the method described in steps S404 to S405 above, and will not be described in detail here.

[0259] S1005: The log server associates the received log data from the first electronic device and the log data from the second electronic device with the first identifier.

[0260] Step S1005 can be implemented by referring to the method described in step S406 above, and will not be described in detail here.

[0261] In another example, based on Figure 9 The system architecture shown in this application, and the second possible log processing method provided in this embodiment, can be referred to. Figure 11 .like Figure 11 As shown, the method may include:

[0262] S1101: When the interaction server detects an abnormal interaction process, it sends a first notification to the first electronic device participating in the abnormal interaction process; wherein, the first notification is used to notify the first electronic device to send the log data of the first electronic device to the log server.

[0263] Step S1101 can be implemented by referring to the method described in step S801 above, and will not be described in detail here.

[0264] S1102: When the interaction server detects an abnormal interaction process, it sends a second notification to the second electronic device that participated in the abnormal interaction process; wherein, the second notification is used to notify the second electronic device to send the log data of the second electronic device to the log server.

[0265] Step S1102 can be implemented by referring to the method described in step S802 above, and will not be described in detail here.

[0266] S1103: In response to the first notification, the first electronic device sends its log data to the log server.

[0267] Step S1103 can be implemented by referring to the method described in step S803 above, and will not be described in detail here.

[0268] S1104: In response to the second notification, the second electronic device sends the log data of the second electronic device to the log server.

[0269] Step S1104 can be implemented by referring to the method described in step S804 above, and will not be described in detail here.

[0270] S1105: The log server associates the received log data from the first electronic device and the log data from the second electronic device with the first identifier.

[0271] Step S1105 can be implemented by referring to the method described in step S805 above, and will not be described in detail here.

[0272] It is necessary to understand that Figure 9 The system architecture shown is only an example. In actual applications, some modules or devices can be added or removed from the interactive system, or some modules or devices can be split or merged. No specific restrictions are imposed in this application.

[0273] It should be noted that the application scenarios provided in the above embodiments are merely illustrative examples of the applicable scenarios of the embodiments of this application, and do not limit the applicable scenarios of the solutions of this application. Some methods or the same technical concepts provided in any of the above embodiments can also be applied in other embodiments or other scenarios, or can be combined with the methods provided in other embodiments. Specifically, they can be applied in combination with specific embodiments or specific scenarios, and will not be listed and described one by one in this application.

[0274] Based on the above embodiments and the same technical concept, this application also provides a log processing method, which can be applied to a system composed of a first electronic device, a second electronic device, and a first server, such as... Figure 12 As shown, the method may include:

[0275] S1201: The first electronic device and the second electronic device perform a first interaction.

[0276] The first interaction can be performed through a first application. For the method of the first electronic device and the second electronic device performing the first interaction through the first application, please refer to [reference needed]. Figure 3 The method for the first electronic device to interact with the second electronic device described in the corresponding content, or the method for the first electronic device to interact with other electronic devices described in step S401, will not be described in detail here.

[0277] For example, the first application may include audio and video calling applications, office applications, remote control applications, etc.

[0278] In some embodiments of this application, the first interaction may be the most recent interaction between the first electronic device and the second electronic device.

[0279] S1202: In response to a first triggering condition, the first electronic device sends first log data, including log data corresponding to the first interaction, to the first server; wherein, the first triggering condition is used to trigger the sending of log data.

[0280] In the first possible solution, the first server can be the server corresponding to the first application, and the first server can be a server used to collect log data. In one example, the above system can be... Figure 3 In the system shown, the first electronic device, the second electronic device, and the first server can be respectively Figure 3 The system shown includes a first electronic device, a second electronic device, and a server.

[0281] In some embodiments of this application, before step S1203, the following method may be included: a first server determines a second electronic device based on first log data; the first server sends a first instruction to the second electronic device. Optionally, the first electronic device may, in response to a first triggering condition, send a first notification to the first server to trigger the first server to determine the second electronic device and send the first instruction to the second electronic device. In this scheme, the first application may be a third operation instruction received by the first electronic device. Alternatively, after the first electronic device sends the first log data to the first server, the first server may determine the first application based on the first log data. In this scheme, the time period in which the first interaction occurs may be a fourth operation instruction received by the first electronic device. Alternatively, after the first electronic device sends the first log data to the first server, the first server may determine the time period in which the first interaction occurs based on the first log data. Optionally, the first notification may also be used to indicate the time period in which the first interaction occurs and / or the first application used to perform the first interaction. The first instruction may also be used to indicate the time period in which the first interaction occurs, so that the second electronic device reports second log data containing log data within that time period.

[0282] For example, the first instruction can be referred to the second notification described in step S403. The above method can be implemented by referring to the method described in steps S402 to S403 above, in which the first electronic device sends the first notification to the server and the server responds to the first notification. It will not be described in detail here.

[0283] In a second possible solution, the system may further include a second server. The first server is used to collect and manage log data, and the second server may be the server corresponding to the first application. In one example, the system may be... Figure 9 In the system shown, the first electronic device, the second electronic device, and the first server can be respectively Figure 9 The system shown includes a first electronic device, a second electronic device, a log server, and an interaction server.

[0284] In some embodiments of this application, prior to step S1203, the following method may be included: a first electronic device, in response to a first triggering condition, sends a first notification to a second server; wherein the first notification is used to trigger the second server to determine the second electronic device and instruct the second electronic device to send log data; the second server determines the second electronic device based on the first notification; the second server sends a first instruction to the second electronic device. In this scheme, the first application may be a third operation instruction received by the first electronic device, or it may be automatically identified by the first electronic device. In this scheme, the time period in which the first interaction occurs may be a fourth operation instruction received by the first electronic device, or it may be automatically identified by the first electronic device. The first server may identify the time period in which the first interaction occurs based on the first log data. Optionally, the first notification may also be used to indicate the time period in which the first interaction occurs and / or the first application used to perform the first interaction. The first instruction may also be used to indicate the time period in which the first interaction occurs, so that the second electronic device reports second log data containing log data within that time period.

[0285] For example, the first instruction can be referred to the second notification described in step S1003. The above method can be implemented by referring to the method described in steps S1002 to S1003 above, in which the first electronic device sends the first notification to the interactive server and the interactive server responds to the first notification. It will not be described in detail here.

[0286] In some embodiments of this application, the first triggering condition described above may be that the first electronic device receives a triggering instruction (e.g., the first operation, second operation, or second instruction described below), or it may be that the first electronic device detects an interaction anomaly. For example, the first triggering condition described above may include any of the following:

[0287] 1) The first electronic device receives a first operation to indicate an interaction anomaly.

[0288] The first electronic device can respond to the first operation and automatically identify the abnormal interaction as the first interaction. The method for the first electronic device to automatically identify abnormal interactions can refer to the method for detecting abnormal interactions described in step S701 above, and will not be detailed here.

[0289] For example, the first operation may include at least the first user operation described in step S401, and may also include at least one of the second to fourth user operations described in step S401.

[0290] 2) The first electronic device receives a second operation to indicate a first interaction anomaly.

[0291] For example, the first operation may include the fifth user operation described in step S401.

[0292] In one example, taking the scenario described in Example 1 above as an example, when the first interaction is Figure 5 When calling call 5 as shown, the second operation can be the user selecting call 5.

[0293] 3) The first electronic device detects that the first interaction meets the abnormal conditions; wherein, the abnormal conditions are used to determine whether the first interaction is abnormal.

[0294] In one example, the first interaction can be the abnormal interaction process described in step S701 above, and the abnormal condition can be the set condition described in step S701 above.

[0295] 4) The first electronic device receives an instruction to send log data.

[0296] In one possible scenario, based on the first possible solution described above, the instruction may be sent by the first server after detecting that the first interaction meets an abnormal condition. The abnormal condition is used to determine whether the first interaction is abnormal. The method by which the first server detects that the first interaction meets the abnormal condition can be implemented by referring to the method for server detection of abnormal interactions described in step S801 above, and will not be detailed here.

[0297] In another possible scenario, based on the second possible solution described above, the instruction can be sent by the second server after detecting that the first interaction meets an abnormal condition. The abnormal condition is used to determine whether the first interaction is abnormal. The method by which the second server detects that the first interaction meets the abnormal condition can be implemented by referring to the method for detecting abnormal interactions by the interaction server described in step S1101 above, and will not be detailed here.

[0298] In some embodiments of this application, the above-mentioned abnormal conditions may include at least one of the following:

[0299] 1) The success rate of either the first electronic device or the second electronic device sending an interaction request to the other electronic device is less than or equal to a first value; wherein the first value is a preset minimum threshold for the success rate of sending an interaction request.

[0300] 2) The first interaction is interrupted if neither the first electronic device nor the second electronic device receives an instruction to end the first interaction.

[0301] 3) The indicator value used to characterize the interaction quality of the first interaction is less than or equal to the second value; wherein the second value is a preset minimum threshold value for the indicator value used to characterize the interaction quality.

[0302] In some embodiments of this application, after the second electronic device receives the first instruction, but before sending the second log data, including the log data corresponding to the first interaction, to the first server in response to the received first instruction, the second electronic device may prompt the user to confirm permission to send the log data. As an optional implementation, the second electronic device may display a prompt message to prompt the user to confirm whether permission to send the log data is granted, and receive a fifth operation indicating permission to send the log data. For example, the prompt message displayed by the second electronic device may be... Figure 6 The confirmation screen shown indicates that the fifth step can be for the user to click... Figure 6 The operation of the first control shown is illustrated. Optionally, before the second electronic device displays a prompt message asking the user to confirm whether to allow sending log data, the second electronic device may first display a notification interface, and then display the prompt message in response to a sixth operation acting on the notification interface. The sixth operation is used to instruct the display of the prompt message. Optionally, the notification interface may include information indicating the first instruction. For example, the notification interface displayed by the second electronic device may be... Figure 6 In the notification interface shown, the sixth action can be a user clicking... Figure 6 The operation of the notification interface is shown in the figure.

[0303] S1203: In response to the received first instruction, the second electronic device sends second log data, including log data corresponding to the first interaction, to the first server; wherein, the first instruction is used to instruct the second electronic device to send the log data.

[0304] In some embodiments of this application, after receiving the first log data and the second log data, the first server can associate the first log data and the second log data with the same identifier and save them. The first log data and the second log data can be used to analyze the cause of the first interaction anomaly and improve the accuracy of the analysis.

[0305] The specific steps performed by each device in the above method can be found in the relevant descriptions in the foregoing embodiments, and will not be repeated here.

[0306] Based on the above embodiments and the same technical concept, this application also provides a log processing method, which can be applied to a server, such as... Figure 13 As shown, the method may include:

[0307] S1301: After the first electronic device and the second electronic device perform a first interaction, if the server detects that the first interaction meets the abnormal conditions, it sends a first instruction to the first electronic device; wherein, the abnormal conditions are used to determine whether the first interaction is abnormal, and the first instruction is used to instruct the first electronic device to send log data.

[0308] S1302: The server sends a second instruction to the second electronic device; wherein the second instruction is used to instruct the second electronic device to send log data.

[0309] Regarding the first interaction, please refer to Figure 8 The abnormal interaction process described in the corresponding method can be found in the following section regarding abnormal conditions. Figure 8 The setting conditions described in the corresponding method, or you can refer to... Figure 12 For the abnormal conditions described in the corresponding method, please refer to the first instruction. Figure 8 The first notification described in the corresponding method, and the second instruction can be referred to [reference needed]. Figure 8 The second notification described in the corresponding method will not be detailed here. Steps S1301 to S1302 can be implemented by referring to the aforementioned steps S801 to S802, and will not be detailed here.

[0310] It should be noted that after the server detects that the first interaction meets the abnormal conditions, the execution order of the server sending the first instruction to the first electronic device and the server sending the second instruction to the second electronic device can be arbitrary, and no restriction is imposed in this application embodiment.

[0311] In some embodiments of this application, after step S1301, the method may further include: the server receiving first log data from the first electronic device, including log data corresponding to the first interaction. After step S1302, the method may further include: the server receiving second log data from the second electronic device, including log data corresponding to the first interaction. After receiving the first log data and the second log data, the server can associate the first log data and the second log data with the same identifier and save them. The first log data and the second log data can be used to analyze the cause of the first interaction anomaly and improve the accuracy of the analysis.

[0312] The specific steps performed by the server in the above method can be found in the description of the server execution method in the foregoing embodiments, and will not be repeated here.

[0313] Based on the above embodiments and the same technical concept, this application also provides an electronic device for implementing the log processing method provided in this application for any device. Figure 14 As shown, electronic device 1400 may include: memory 1401, one or more processors 1402, and one or more computer programs (not shown). These devices may be coupled via one or more communication buses 1403. Optionally, electronic device 1400 may also include a display screen 1404.

[0314] The memory 1401 stores one or more computer programs (code), and the one or more computer programs include computer instructions; one or more processors 1402 call the computer instructions stored in the memory 1401, causing the electronic device 1400 to execute the log processing method for any device provided in the embodiments of this application.

[0315] In a specific implementation, memory 1401 may include high-speed random access memory and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. Memory 1401 may store an operating system (hereinafter referred to as the system), such as embedded operating systems like Android, iOS, Windows, or Linux. Memory 1401 can be used to store implementation programs of the embodiments of this application. Memory 1401 may also store network communication programs, which can be used to communicate with one or more additional devices, one or more user devices, or one or more network devices.

[0316] One or more processors 1402 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs according to the present application.

[0317] Display screen 1404 is used to display application interfaces and other related user interfaces.

[0318] It should be noted that, Figure 14 This is merely one implementation of the electronic device 1400 provided in this application embodiment. In practical applications, the electronic device 1400 may include more or fewer components, as detailed in the following references. Figure 2 The specific structure and description shown are not limited here.

[0319] Based on the above embodiments and the same technical concept, this application also provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the method applied to any device provided in the above embodiments.

[0320] Based on the above embodiments and the same technical concept, this application also provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer causes the computer to perform the method provided in the above embodiments for application to any device.

[0321] Based on the above embodiments and the same technical concept, this application also provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer causes the computer to perform the method provided in the above embodiments for application to any device.

[0322] The methods provided in this application can be implemented, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, they can be implemented, in whole or in part, in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of the present invention is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. Computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. A computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that integrates one or more available media. Available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs (DVDs), or semiconductor media (e.g., SSDs), etc.

[0323] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A log processing method, applied to a system consisting of a first electronic device, a second electronic device, and a first server, characterized in that, The method includes: The first electronic device and the second electronic device perform a first interaction; In response to a first triggering condition, the first electronic device sends first log data, including log data corresponding to the first interaction, to the first server; wherein, the first triggering condition is used to trigger the sending of log data; In response to the received first instruction, the second electronic device sends second log data, including log data corresponding to the first interaction, to the first server; wherein, the first instruction is used to instruct the second electronic device to send the log data.

2. The method as described in claim 1, characterized in that, Before the second electronic device sends second log data, including log data corresponding to the first interaction, to the first server in response to the received first instruction, the method further includes: The first server determines the second electronic device based on the first log data; The first server sends the first instruction to the second electronic device.

3. The method as described in claim 1, characterized in that, The system further includes a second server; before the second electronic device sends second log data, including log data corresponding to the first interaction, to the first server in response to the received first instruction, the method further includes: In response to the first triggering condition, the first electronic device sends a first notification to the second server; wherein, the first notification is used to trigger the second server to identify the second electronic device and instruct the second electronic device to send log data; The second server determines the second electronic device based on the first notification; The second server sends the first instruction to the second electronic device.

4. The method according to any one of claims 1 to 3, characterized in that, The first triggering condition includes: The first electronic device receives a first operation indicating an interaction anomaly; or The first electronic device receives a second operation indicating the first interaction anomaly; or The first electronic device detects that the first interaction meets an abnormal condition; wherein, the abnormal condition is used to determine whether the first interaction is abnormal.

5. The method as described in claim 1 or 2, characterized in that, The first triggering condition includes: the first electronic device receiving a second instruction to instruct the sending of log data; wherein the second instruction is sent by the first server after detecting that the first interaction meets the abnormal conditions, and the abnormal conditions are used to determine whether the first interaction is abnormal.

6. The method as described in claim 3 or 4, characterized in that, The first triggering condition includes: the first electronic device receiving a third instruction to instruct the sending of log data; wherein the third instruction is sent by the second server after detecting that the first interaction meets the abnormal conditions, and the abnormal conditions are used to determine whether the first interaction is abnormal.

7. The method according to any one of claims 4 to 6, characterized in that, The abnormal condition includes at least one of the following: The success rate of either the first electronic device or the second electronic device sending an interaction request to the other electronic device is less than or equal to a first value; wherein the first value is a preset minimum threshold for the success rate of sending an interaction request. The first interaction is interrupted if neither the first electronic device nor the second electronic device receives an instruction to end the first interaction; The indicator value used to characterize the interaction quality of the first interaction is less than or equal to a second value; wherein the second value is a preset minimum threshold value for the indicator value used to characterize the interaction quality.

8. The method according to any one of claims 1, 2 and 5, characterized in that, The first interaction is executed through the first application, the first server is the server corresponding to the first application, and the first server is a server used to collect log data.

9. The method as described in claim 8, characterized in that, The first application is determined by the first server based on the first log data, or the first application is a third operation instruction received by the first electronic device.

10. The method according to any one of claims 3, 4 and 6, characterized in that, The first interaction is executed through the first application, the first server is a server used to collect log data, and the second server is the server corresponding to the first application.

11. The method according to any one of claims 8 to 10, characterized in that, The first application includes audio and video calling applications.

12. The method according to any one of claims 1 to 11, characterized in that, The first interaction is the most recent interaction between the first electronic device and the second electronic device.

13. The method according to any one of claims 1 to 12, characterized in that, The time period during which the first interaction occurs is determined by the first server based on the first log data, or the time period during which the first interaction occurs is the fourth operation instruction received by the first electronic device.

14. The method according to any one of claims 1 to 13, characterized in that, Before the second electronic device sends second log data, including log data corresponding to the first interaction, to the first server in response to the received first instruction, the method further includes: The second electronic device displays a prompt message asking the user to confirm whether permission is allowed to send log data; The second electronic device receives a fifth operation; wherein the fifth operation is used to indicate permission to send log data.

15. A log processing method, applied to a server, characterized in that, The method includes: After the first electronic device and the second electronic device perform a first interaction, if the first interaction is detected to meet an abnormal condition, a first instruction is sent to the first electronic device; wherein, the abnormal condition is used to determine whether the first interaction is abnormal, and the first instruction is used to instruct the first electronic device to send log data. Send a second instruction to the second electronic device; wherein the second instruction is used to instruct the second electronic device to send log data.

16. The method as described in claim 15, characterized in that, The method further includes: Receive first log data from the first electronic device, including log data corresponding to the first interaction; Receive second log data from the second electronic device, including log data corresponding to the first interaction.

17. The method as described in claim 15 or 16, characterized in that, The abnormal condition includes at least one of the following: The success rate of either the first electronic device or the second electronic device sending an interaction request to the other electronic device is less than or equal to a first value; wherein the first value is a preset minimum threshold for the success rate of sending an interaction request. The first interaction is interrupted if neither the first electronic device nor the second electronic device receives an instruction to end the first interaction; The indicator value used to characterize the interaction quality of the first interaction is less than or equal to a second value; wherein the second value is a preset minimum threshold value for the indicator value used to characterize the interaction quality.

18. An electronic device, characterized in that, The electronic device includes a memory and one or more processors; The memory is used to store computer program code, which includes computer instructions; when the computer instructions are executed by the one or more processors, the electronic device performs the method as described in any one of claims 15 to 17.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on an electronic device, causes the electronic device to perform the method as described in any one of claims 15 to 17.

20. A computer program product, characterized in that, The computer program product includes a computer program or instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 15 to 17.