A method for processing maintenance and measurement data and electronic equipment

By generating and saving dimensional measurement data in electronic devices, the problem of difficulty in identifying faults is solved, accurate identification and rapid positioning of faults is achieved, and fault repair efficiency is improved.

CN117724626BActive Publication Date: 2025-01-10HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310843561.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-10
Publication Date
2025-01-10
Estimated Expiration
2043-07-10

AI Technical Summary

Technical Problem

In the prior art, electronic equipment cannot accurately identify the cause of the failure in the event of a failure, which affects the efficiency of fault repair.

Method used

By generating and saving dimensional measurement data in electronic devices, including performance indicator information and operating duration, it is used to quickly locate the cause of the failure when a failure occurs and determine the repair plan.

Benefits of technology

It realizes accurate identification and rapid positioning of electronic equipment faults, improves the efficiency of fault repair, and reduces the use of equipment storage space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117724626B_ABST
    Figure CN117724626B_ABST
Patent Text Reader

Abstract

The present application provides a method for processing measurement data and an electronic device, which relates to the field of big data processing technology and can realize rapid and accurate identification of the cause of a fault when an electronic device fails. The method includes: the electronic device displays a first interface of a game application; the electronic device receives a first operation of a user, and the first operation is used to start a first application. In response to the first operation, the electronic device displays a target interface, and the target interface includes a target interface corresponding to the first interface of the game application and the second interface of the first application. In the process of the electronic device displaying the target interface, the electronic device generates first measurement data, and the first measurement data is used to locate and delimit the fault when a fault occurs in the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of big data processing, and in particular to a method and electronic device for processing maintenance and measurement data. Background Art

[0002] With the rapid development of data technology, electronic devices such as mobile phones, tablets, and laptops are increasingly being used. When electronic devices are in use, they often encounter various faults, such as application freezes, application anomalies, poor performance, high power consumption, severe heating, etc. When an electronic device fails to work properly, you can seek help from professionals through the fault hotline. Professionals will locate and delimit the fault based on the maintenance data fed back by the electronic device to determine a solution to repair the fault.

[0003] In the prior art, the maintenance and measurement data fed back by the electronic equipment cannot identify (or cannot accurately identify) the cause of the fault, which affects the positioning and demarcation of professionals and the determination of the fault repair plan. Summary of the invention

[0004] The embodiments of the present application provide a maintenance data processing method and an electronic device, which can solve the problem in the related art that when an electronic device fails, the cause of the failure cannot be identified (or cannot be accurately identified).

[0005] In order to achieve the above purpose, the embodiment of the present application adopts the following technical solution:

[0006] In a first aspect, a method for processing measurement data is provided, the method being applied in an electronic device, the method comprising: the electronic device displays a first interface of a game application; the electronic device receives a first operation of a user, the first operation being used to start the first application. In response to the first operation, the electronic device displays a target interface, the target interface comprising the first interface of the game application and a target interface corresponding to the second interface of the first application.

[0007] Optionally, the first operation may be a split-screen operation; or, the first operation is a multi-window display operation; or, the first operation includes a split-screen operation and a multi-window display operation. Optionally, the first operation is a pull-down operation, a left swipe operation, a drag operation, etc.

[0008] Optionally, the target interface is a multi-screen display interface; or, the target interface is a multi-window display interface; the target interface is a multi-window display interface and a multi-screen display interface. Optionally, the first application is a video application; or, the first application is a chat application.

[0009] Optionally, the target interface also includes a third interface of the second application.

[0010] In the process of displaying the target interface by the electronic device, the electronic device generates the first dimension measurement data, which at least includes: performance indicator information, the first duration, the application name of the game application, and the application name of the first application. Among them, the performance indicator information is used to reflect the system performance of the electronic device, and the first duration is used to indicate the duration corresponding to the display of the target interface by the electronic device; the first dimension measurement data is used to locate and delimit the fault when a fault occurs in the electronic device.

[0011] Optionally, when the first operation is a split-screen operation, the first duration can be understood as the split-screen duration; when the first operation is a multi-window display operation, the first duration can be understood as the multi-window display duration; when the first operation is a split-screen operation and a multi-window display operation, the first duration includes the split-screen duration and the multi-window display duration.

[0012] Optionally, the first dimension measurement data also includes an application name of the second application.

[0013] In summary, the solution of the present application is adopted. Since the first dimension measurement data is generated by the electronic device in the process of displaying the target interface, and the target interface includes the first interface of the game application and the second interface of the first application; that is, the first dimension measurement data is generated by the electronic device in the process of displaying the first interface of the game application and the second interface of the first application, therefore, the first dimension measurement data is based on the electronic device in the scenario where the game application is started and the dimension measurement data corresponding to the first application is started. Subsequently, when the electronic device fails, especially when the electronic device fails in the split-screen scenario of the game process or in the scenario where multiple applications including the game application are running simultaneously, the first dimension measurement data can be used to quickly and accurately locate and analyze the fault, so as to determine the cause of the fault and determine a solution to repair the fault.

[0014] Optionally, the faults include: poor performance of the electronic device, high power consumption of the electronic device, and severe heating of the electronic device.

[0015] In a possible implementation of the first aspect, the method further includes: the electronic device saves the first dimensional measurement data in the dimensional measurement data set. Subsequently, when the electronic device fails, the first dimensional measurement data saved in the electronic device can be directly used for positioning and delimiting.

[0016] Alternatively, the electronic device sends the first dimension measurement data to the server, so that the server saves the first dimension measurement data in the dimension measurement data set. Later, when the electronic device fails, the first dimension measurement data can be obtained from the server, and the first dimension measurement data can be used for positioning and delimiting. In this implementation, compared with saving the first dimension measurement data in the electronic device, the storage space occupied by the electronic device can be reduced.

[0017] In a possible implementation manner of the first aspect, the method further includes: the electronic device counting a plurality of first dimensional measurement data; and the electronic device generating second dimensional measurement data based on the plurality of first dimensional measurement data.

[0018] The second dimension measurement data at least includes: the application name of the application combination, the first average duration, and user preference information. The application combination includes a game application and an application with the highest display frequency or the longest display duration corresponding to the game application; the first average duration is used to indicate the average duration of multiple first durations corresponding to multiple first dimension measurement data. The second dimension measurement data is used to optimize the system performance of the electronic device.

[0019] Optionally, optimizing the system performance of the electronic device includes: optimizing load performance, optimizing power consumption, optimizing computing speed / computing accuracy, optimizing memory storage capacity, optimizing storage cycle, optimizing data processing rate, etc.

[0020] In a possible implementation of the first aspect, the first operation includes a split-screen operation, and the display screen of the electronic device includes a first display area and a second display area, the first display area is used to display a first interface of the game application, and the second display area is used to display a second interface of the first application.

[0021] Alternatively, the first operation includes a multi-window operation, and the electronic device displays the first interface of the game application in full screen and displays the second interface of the first application in the form of a floating window.

[0022] Optionally, the first display area and the second display area constitute a complete display area, and the complete display area corresponds to the display area of ​​the display screen. Optionally, the first display area and the second display area do not overlap.

[0023] In a possible implementation of the first aspect, the first operation includes a split-screen operation and a multi-window operation, and the first operation is also used to start the second application; the target interface also includes a third interface of the second application. The electronic device displays the first interface of the game application in the first display area, displays the second interface of the first application in the second display area, and displays the third interface of the second application in the form of a floating window.

[0024] In a possible implementation of the first aspect, the first operation is a split-screen operation, and the first duration is a split-screen duration; the electronic device generates first dimension measurement data, including: the electronic device obtains a split-screen event and a scene event of a game application, and calculates the split-screen duration based on the split-screen event and the scene event of the game application; wherein the scene event of the game application includes a game start and a game end; the split-screen event includes a split-screen start and a split-screen end.

[0025] The electronic device obtains performance indicator information, an application name of the game application, and an application name of the first application; the electronic device generates first dimension measurement data according to the split-screen duration, the performance indicator information, the application name of the game application, and the application name of the first application.

[0026] In a possible implementation of the first aspect, the electronic device calculates the split-screen duration based on the split-screen event and the scene event of the game application, including: the electronic device calculates the split-screen duration based on the time sequence of the start of the game, the end of the game, the start of the split-screen, and the end of the split-screen.

[0027] Optionally, the split screen start event occurs before the game start event, and the split screen end event occurs before the game end event. Split screen duration = the time point when the split screen ends - the time point when the game starts.

[0028] Optionally, the split screen start event occurs after the game start event, and the split screen end event occurs before the game end event. Split screen duration = split screen end time point - split screen start time point.

[0029] Optionally, the split screen start event occurs after the game start event, and the split screen end event occurs after the game end event. Split screen duration = game end time point - split screen start time point.

[0030] Optionally, the split screen start event occurs before the first game start event, and the split screen end event occurs after the first game end event. Split screen duration = the time point when the first game ends - the time point when the first game starts.

[0031] Optionally, the split screen start event occurs before the first game start event, and the split screen end event occurs before the second game end event. The split screen duration during the first game = the time point at which the first game ends - the time point at which the first game starts; the split screen duration during the second game = the time point at which the split screen ends - the time point at which the second game starts.

[0032] Optionally, the split screen start event occurs before the first game start event, and the split screen end event occurs after the second game end event. The split screen duration during the first game = the time point at which the first game ends - the time point at which the first game starts; the split screen duration during the second game = the time point at which the first game ends - the time point at which the second game starts.

[0033] Optionally, the split screen start event occurs after the first game start event, and the split screen end event occurs before the second game end event. The split screen duration during the first game = the time point at which the first game ends - the time point at which the split screen starts. The split screen duration during the second game = the time point at which the split screen ends - the time point at which the second game starts.

[0034] Optionally, the split screen start event occurs after the first game start event, and the split screen end event occurs after the second game end event. The split screen duration during the first game = the time point at which the first game ends - the time point at which the split screen starts; the split screen duration during the second game = the time point at which the second game ends - the time point at which the second game starts.

[0035] In a possible implementation of the first aspect, if the split-screen start time and the split-screen end time are after the game starts, the electronic device calculates the split-screen duration.

[0036] That is to say, if the split-screen event (i.e., the start and end of the split-screen) occurs before the game starts, the electronic device does not calculate the split-screen duration. This can effectively reduce the computing load of the electronic device and reduce power consumption.

[0037] In a possible implementation of the first aspect, the electronic device calculates the split-screen duration, including: when the split-screen starts after the game starts, the electronic device uses the split-screen start time as the starting time for calculating the split-screen duration; when the game ends before the split-screen ends, the electronic device uses the game end time as the ending time for calculating the split-screen duration.

[0038] That is to say, since the impact of screen splitting on the user experience is small before or after the game starts, the electronic device only calculates the screen splitting duration during the game, and does not calculate the screen splitting duration if the electronic device splits the screen before or after the game starts. This is conducive to further reducing the computing load of the electronic device, thereby reducing power consumption.

[0039] In a possible implementation of the first aspect, the electronic device calculates the split-screen duration, including: within a first time period, the electronic device obtains multiple split-screen events; wherein the first time period is a time period corresponding to a start of a game to an end of the game; each of the multiple split-screen events includes a split-screen start and a split-screen end; for each split-screen event, the electronic device calculates the split-screen duration.

[0040] Optionally, the first split screen start event occurs before the game start event, and the first split screen end event occurs after the game start event. The second split screen start event occurs after the game start event, and the second split screen end event occurs before the game end event. The first split screen duration = the time point when the first split screen ends - the time point when the game starts; the second split screen duration = the time point when the second split screen ends - the time point when the second split screen starts.

[0041] Optionally, the first split screen start event occurs before the game start event, and the first split screen end event occurs after the game start event. The second split screen start event occurs after the game start event, and the second split screen end event occurs after the game end event. The first split screen duration = the time point at which the first split screen ends - the time point at which the game starts; the second split screen duration = the time point at which the game ends - the time point at which the second split screen starts.

[0042] Optionally, the first split screen start event occurs after the game start event, and the first split screen end event occurs after the game start event. The second split screen start event occurs after the game start event, and the second split screen end event occurs before the game end event. The first split screen duration = the time point when the first split screen ends - the time point when the first split screen starts; the second split screen duration = the time point when the second split screen ends - the time point when the second split screen starts.

[0043] Optionally, the first split screen start event occurs after the game start event, and the first split screen end event occurs before the game end event. The second split screen start event occurs after the game start event, and the second split screen end event occurs after the game end event. The first split screen duration = the time point when the first split screen ends - the time point when the first split screen starts; the second split screen duration = the time point when the second game ends - the time point when the second split screen starts.

[0044] In a possible implementation of the first aspect, the electronic device regards the start of the game as the launch of a game of the game application, and regards the end of the game as the game duration of the game application meeting a preset duration.

[0045] Alternatively, the electronic device starts the game by launching the game of the game application and ends the game by exiting the game of the game application.

[0046] In a possible implementation of the first aspect, the performance indicator information includes one or more of the following information: average frame rate, jitter rate, number of freezes, power consumption, normalized current, shell temperature, volume, screen brightness, and picture quality.

[0047] In a second aspect, an electronic device is provided, which has the function of implementing any one of the methods in the first aspect, and the function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

[0048] According to a third aspect, an electronic device is provided, comprising: a display screen, a memory and one or more processors, wherein the memory is used to store computer execution instructions, and when the electronic device is running, the processor executes the computer execution instructions stored in the memory so that the electronic device executes any one of the methods described in the first aspect above.

[0049] In a fourth aspect, a chip system is provided, which is applied to an electronic device. The chip system includes a processor and an interface, wherein the interface is used to receive instructions and transmit them to at least one processor; at least one processor executes the instructions so that the electronic device executes any one of the methods described in the first aspect.

[0050] In a fifth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is executed on a computer, the computer can execute any of the methods described in the first aspect.

[0051] In a sixth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute any of the methods described in the first aspect.

[0052] Among them, the technical effects brought about by any implementation method in the above-mentioned second to sixth aspects can refer to the technical effects brought about by different implementation methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0054] Figure 2 A schematic diagram of the structure of an outward-folding folding screen provided in an embodiment of the present application;

[0055] Figure 3 A schematic diagram of the structure of an inward-folding folding screen provided in an embodiment of the present application;

[0056] Figure 4A A schematic diagram of an interface for split-screen display of an electronic device provided in an embodiment of the present application;

[0057] Figure 4B A schematic diagram of a multi-window display interface of an electronic device provided in an embodiment of the present application;

[0058] Figure 4C A schematic diagram of an interface for an electronic device that performs split-screen display and multi-window display simultaneously, provided in an embodiment of the present application;

[0059] Figure 5 A flowchart of a method for processing maintenance and measurement data provided in an embodiment of the present application;

[0060] Fig. 6A A schematic diagram of an interface flow of an electronic device entering a split-screen display provided in an embodiment of the present application;

[0061] Figure 6B A schematic diagram of an interface flow of an electronic device entering a multi-window display provided by an embodiment of the present application;

[0062] Figure 6C A schematic diagram of an interface flow of an electronic device changing from split-screen display to multi-window display provided in an embodiment of the present application;

[0063] Figure 7 A flowchart of a method for processing maintenance and measurement data provided in an embodiment of the present application;

[0064] Figure 8 A schematic diagram of a software framework of an electronic device provided in an embodiment of the present application;

[0065] Fig. 9 A schematic diagram of the principle of a method for processing dimensional measurement data provided in an embodiment of the present application;

[0066] Fig.10 A schematic diagram of the principle of calculating the split-screen duration provided in an embodiment of the present application;

[0067] Fig.11 A schematic diagram of another principle for calculating the split-screen duration provided in an embodiment of the present application;

[0068] Fig.12 A schematic diagram of another principle for calculating the split-screen duration provided in an embodiment of the present application;

[0069] Fig.13 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0070] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or. For example, A / B can mean A or B. The “and / or” in this article is merely a way to describe the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0071] The following terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more.

[0072] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0073] In addition, in the embodiments of the present application, directional terms such as "up", "down", "left" and "right" may be defined including but not limited to the orientation relative to the schematic placement of the components in the drawings. It should be understood that these directional terms may be relative concepts, which are used for relative description and clarification, and may change accordingly according to changes in the orientation of the components in the drawings.

[0074] The method for processing maintenance data provided in the embodiment of the present application can be applied to electronic devices such as mobile phones, tablet computers, laptops, handheld computers, personal computers (PCs), cellular phones, personal digital assistants (PDAs), wearable devices (such as smart watches), smart home devices (such as televisions), car computers, game consoles, and augmented reality (AR) / virtual reality (VR) devices.

[0075] Figure 1 A schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application.

[0076] like Figure 1 As shown, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (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, an earphone interface 170D, a sensor module 180, a positioning module 181, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0077] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 100. In other embodiments, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0078] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0079] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0080] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0081] In some embodiments, the processor 110 may include one or more interfaces. It is understood that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0082] The charging management module 140 is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger. While the charging management module 140 charges the battery 142, it can also power the electronic device through the power management module 141.

[0083] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.

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

[0085] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170 (such as the above-mentioned audio conversion module), the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor.

[0086] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and interface audio signals. The speaker 170A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. The microphone 170C, also known as the "microphone", "microphone", is used to convert sound signals into electrical signals. The headphone jack 170D is used to connect wired headphones.

[0087] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, audio, video and other files are stored in the external memory card.

[0088] The internal memory 121 may be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 121. For example, in an embodiment of the present application, the processor 110 may execute the instructions stored in the internal memory 121, and the internal memory 121 may include a program storage area and a data storage area.

[0089] The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0090] The buttons 190 include a power button, a volume button, etc. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc.

[0091] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM card, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0092] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0093] The display screen 194 is used to display images, videos, etc. The 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Mini-LED, Micro-OLED, a quantum dot light-emitting diode (QLED), etc.

[0094] In some embodiments of the present application, the display screen 194 may be a non-folding screen; or, the display screen 194 may also be a folding screen. The non-folding screen is not foldable, and the non-folding screen has only one screen. The folding screen may be folded to form at least two screens. For example, the folding screen may be folded along a folding edge or a folding axis to form a first screen and a second screen, that is, the at least two screens include the first screen and the second screen.

[0095] Generally, the size of a foldable screen after being folded is similar to that of a non-foldable screen, while the size of a foldable screen in an unfolded state is much larger than that of a non-foldable screen. When a user uses an electronic device with a foldable screen (such as a mobile phone), the mobile phone can be more flexible and portable; and when the foldable screen is in an unfolded state, the impact on the user's visual experience due to the size limitation of the non-foldable screen can be reduced.

[0096] The following embodiments take the display screen 194 as a folding screen as an example, and describe the technical solutions of the embodiments of the present application in conjunction with the drawings in the specification.

[0097] The folding screens in the embodiments of the present application can be divided into two categories. One is a folding screen that folds outward (referred to as an outward-folding folding screen), and the other is a folding screen that folds inward (referred to as an inward-folding folding screen). Among them, take the folding screen that can be folded to form a first screen and a second screen as an example. After the outward-folding folding screen is folded, the first screen and the second screen are opposite to each other. After the inward-folding folding screen is folded, the first screen and the second screen are opposite to each other.

[0098] For example, see Figure 2 , which shows a schematic diagram of the product form of an electronic device 100 with an outward folding screen according to an embodiment of the present application. Figure 2 (a) is a schematic diagram of the outward folding screen when it is fully unfolded. The outward folding screen can be folded along the folding edge according to Figure 2 The direction 101a and 101b shown in (a) are folded to form Figure 2 The A screen (i.e., the first screen) and the B screen (i.e., the second screen) shown in (b) of FIG. 1 are shown in FIG. 1 . The outward folding screen can be folded along the folding edge according to Figure 2 The direction 102a and 102b shown in (b) are further folded to form Figure 2 The folded screen is shown in (c) of FIG. Figure 2 As shown in (c), after the folding screen of the electronic device 100 is completely folded, screen A and screen B face each other and are visible to the user.

[0099] It is understandable that, for an electronic device with an outward folding screen, when the folding screen is in a folded state, the interface can be displayed on the first screen or the second screen; when the folding screen is in an unfolded state, the interface can be displayed on the first screen and the second screen. For the introduction of the unfolded state and the folded state of the folding screen, please refer to the description in the following embodiments, which will not be repeated here.

[0100] For another example, please refer to Figure 3 , which shows a schematic diagram of the product form of an electronic device 100 with an inward folding screen provided by an embodiment of the present application. Figure 3 (a) is a schematic diagram of the inward folding screen when it is fully unfolded. The inward folding screen can be folded along the folding edge according to Figure 3 The direction 201a and 201b shown in (a) are folded to form Figure 3 The direction 202a and 202b shown in (b) are further folded to form Figure 3 The folded screen is shown in (c) of FIG. Figure 3 As shown in (c), after the folding screen of the electronic device 100 is completely folded, screen A and screen B are opposite to each other and are invisible to the user. Figure 3 The black line 203 shown in (c) is a line on the contact surface between the A screen and the B screen.

[0101] It should be noted that a display screen may be provided on the back of the first screen or the second screen of the inward folding screen provided in the embodiment of the present application, which may be referred to as a third screen. Figure 3 As shown in (b) in FIG. 1 , a C screen (i.e., the third screen) can be set on the back of the A screen (i.e., the first screen). Figure 3 As shown in (c), after the inner folding screen is completely folded, the C screens face each other and are visible to the user. It can be understood that for an electronic device with such an inner folding screen, when the folding screen is in a folded state, the interface can be displayed on the third screen; when the folding screen is in an unfolded state, the interface can be displayed on the first screen and the second screen.

[0102] Generally speaking, the angle α between the first screen and the second screen of the folding screen (including the inward-folding folding screen and the outward-folding folding screen) ranges from [0°, 180°]. In an embodiment of the present application, if α∈[0°, P], the electronic device can determine that the folding screen is in a folded state; if α∈(P°, 180°], the electronic device can determine that the folding screen is in an unfolded state. Alternatively, if α∈[0°, P), the electronic device can determine that the folding screen is in a folded state; if α∈[P°, 180°], the electronic device can determine that the folding screen is in an unfolded state. Among them, P is a preset angle threshold. P can be determined based on the usage habits of a large number of users using the folding screen; or, P can be set by the user in the electronic device.

[0103] In some embodiments, according to the usage habits of most users, when the angle α between the first screen and the second screen is greater than 90°, the user is more likely to use the first screen and the second screen as a whole (i.e., as a complete display screen). Therefore, the preset angle threshold P in the embodiment of the present application may be greater than 90°. The value range of the preset angle threshold P may be (90°, 180°). For example, the preset angle threshold P may be 100°, 120°, 135°, 140°, 145°, or 150°, etc.

[0104] It should be noted that the at least two screens formed after the folding screen (including the inward-folding folding screen and the outward-folding folding screen) in the embodiment of the present application is folded can be multiple independent screens, or a complete screen with an integrated structure, which is just folded into at least two parts.

[0105] For example, the folding screen may be a flexible folding screen. The flexible folding screen includes a folding edge made of a flexible material. Part or all of the flexible folding screen is made of a flexible material. The at least two screens formed after the flexible folding screen is folded are a complete screen of an integrated structure, but are folded to form at least two parts.

[0106] For another example, the folding screen may be a multi-screen folding screen. The multi-screen folding screen may include multiple (two or more) screens. The multiple screens are multiple separate folding screens. The multiple screens may be connected in sequence through folding axes. Each screen may rotate around the folding axis connected thereto to achieve folding of the multi-screen folding screen.

[0107] in, Figure 2 and Figure 3 In the embodiment of the present application, the folding screen is described by taking the folding screen being a flexible folding screen as an example. In addition, in the subsequent embodiments of the present application, the folding screen is also described by taking the folding screen being a flexible folding screen as an example.

[0108] For ease of understanding, the embodiments of the present application here introduce the terms "split-screen display" and "multi-window display" involved in the embodiments of the present application in conjunction with the accompanying drawings. Among them, "split-screen display" and "multi-window display" refer to an electronic device simultaneously displaying the UI interfaces of at least two applications on a folding screen. For example, an electronic device simultaneously displays the UI interfaces of application A and application B on a folding screen. For another example, an electronic device simultaneously displays the UI interface of application A, the UI interface of application B, and the UI interface of application C on a folding screen.

[0109] In some embodiments of the present application, when an electronic device displays the UI interface of an application (which can be understood as a target interface) in a "split-screen display" manner, the folding screen of the electronic device is divided into two display areas. For example, the folding screen of the electronic device is divided into display area 1 (or first display area) and display area 2 (or second display area). Exemplarily, the electronic device can display the UI interface of application A in display area 1 and the UI interface of application B in display area 2.

[0110] For example, Figure 4A The folding screen of the mobile phone shown in the figure is in the unfolded state, and the interface 200 is displayed in a "split screen display" manner. Figure 4A As shown, the folding screen of the mobile phone includes a display area 1 and a display area 2. The mobile phone displays the interface 201 of application A in the display area 1 and displays the interface 202 of application B in the display area 2. For example, the mobile phone displays the game interface of the game application (ie, application A) in the display area 1 and displays the video interface of the video application (ie, application B) in the display area 2.

[0111] It should be noted that when the electronic device displays interface 201 of application A and interface 202 of application B in a "split-screen display" manner, interface 201 and interface 202 do not overlap, that is, display area 1 and display area 2 constitute a complete display area, which is the entire display area of ​​the folding screen of the electronic device in the unfolded state.

[0112] In other embodiments of the present application, when the electronic device displays the UI interface of the application (which can be understood as the target interface) in a "multi-window display" manner, the electronic device displays the interface of application A in full screen and displays the interface of application B in the form of a floating window.

[0113] For example, Figure 4B The folding screen of the mobile phone shown in the figure is in the unfolded state, and the interface 300 is displayed in a "multi-window display" manner. Figure 4B As shown, the mobile phone displays the interface 301 of application A in full screen, and displays the interface 302 of application C in floating window. For example, the mobile phone displays the game interface of the game application (ie, application A) in full screen, and displays the chat interface of the chat application (ie, application C) in floating window.

[0114] It should be noted that when the electronic device displays interface 301 of application A and interface 302 of application B in a "multi-window display" manner, interface 301 and interface 302 overlap, and interface 302 is displayed on top of interface 301, that is, interface 302 will obstruct part of the display content of interface 301.

[0115] In other embodiments of the present application, the electronic device displays the UI interface of the application in a "split screen display" and "multi-window display" manner. For example, the electronic device displays the UI interface of application A, the UI interface of application B, and the UI interface of application C on the folding screen at the same time.

[0116] Exemplarily, the folding screen of the electronic device is divided into display area 1 and display area 2. The electronic device displays the UI interface of application A in display area 1, displays the UI interface of application B in display area 2, and displays the UI interface of application C in a floating window.

[0117] For example, Figure 4C The folding screen of the mobile phone shown in the figure is in the unfolded state, and the interface 400 is displayed in the form of "split screen display" and "multi-window display". Figure 4C As shown, the folding screen of the mobile phone includes a display area 1 and a display area 2. The mobile phone displays the interface 401 of application A in the display area 1, displays the interface 402 of application B in the display area 2, and displays the interface 403 of application C in the form of a floating window. For example, the mobile phone displays the game interface of the game application (i.e., application A) in the display area 1, displays the video interface of the video application (i.e., application B) in the display area 2, and displays the chat interface of the communication application (i.e., application C) in the form of a floating window.

[0118] It should be noted that in the embodiment of the present application, application A may also be referred to as a game application, application B may also be referred to as a first application, and application C may also be referred to as a second application.

[0119] In the embodiment of the present application, when an electronic device displays an application UI interface in a "split-screen display" manner, the electronic device can be said to be in a "split-screen display state". When an electronic device displays an application UI interface in a "multi-window display" manner, the electronic device can be said to be in a "multi-window display state".

[0120] In the related art, when an electronic device is in a "split screen display state" and / or a "multi-window display state" and is in a game scene, it will cause the electronic device to have poor performance, high power consumption, severe heat generation and other faults, thereby affecting the user experience. Therefore, it is particularly important to perform positioning analysis and display based on the maintenance data fed back by the electronic device.

[0121] The embodiment of the present application provides a method for processing dimensional measurement data, which can enable the electronic device to timely and accurately identify the cause of the fault when performing positioning analysis based on the feedback dimensional measurement data, thereby improving the efficiency of positioning and demarcation. Specifically, when the electronic device is in a "split-screen display state" and / or a "multi-window display state" and the electronic device is in a game scene, the electronic device can generate first dimensional measurement data based on the above scene. Subsequently, professionals can perform positioning analysis based on the first dimensional measurement data to determine the cause of the fault and determine a solution to repair the fault.

[0122] In some embodiments, the electronic device may save the first dimension measurement data in a dimension measurement data set. In other embodiments, the electronic device sends the first dimension measurement data to other external devices (such as a server, an external memory, a database server, etc.). After receiving the first dimension measurement data, the external device saves the first dimension measurement data in the dimension measurement data set.

[0123] The measurement data set records data generated by the electronic device in different scenarios, such as image data recorded when the electronic device is in a shooting scenario, media data recorded when the electronic device is in a video scenario, or voice data recorded when the electronic device is in a call scenario.

[0124] Taking the electronic device sending the first dimension measurement data to the external device, the external device is a server as an example, for example, Figure 5 As shown, the method of an embodiment of the present application may include the following three processes: (I) "the electronic device enters a split-screen display state; and / or, a multi-window display state" process; (II) "the electronic device is in a split-screen display state; and / or, in a multi-window display state, generating first dimensional measurement data" process; (III) "the electronic device sends the first dimensional measurement data to the server" process.

[0125] For ease of understanding, in the following embodiments, the electronic device is a mobile phone. Figure 4A-4C The following examples are described in detail. Figure 5 The three processes shown illustrate the method of the embodiment of the present application.

[0126] (I) “The electronic device enters a split-screen display state; and / or a multi-window display state” process.

[0127] Among them, the electronic device enters a split-screen display state; and / or a multi-window display state” may specifically include the following four situations.

[0128] Case (1):

[0129] When the electronic device is in full-screen display mode, it enters split-screen display mode through preset controls.

[0130] For example, Fig. 6A As shown in (a) of FIG. 1 , the mobile phone displays the first interface 500 of the game application in full screen. In response to the user's pull-down operation, the mobile phone displays Fig. 6A The interface 501 shown in (b) includes a "pull-down bar" 502, and the pull-down bar 502 includes a control 502a, a control 502b, and a control 502c. Among them, the control 502a is used to trigger the mobile phone to enter the full-screen display state, the control 502b is used to trigger the mobile phone to enter the split-screen display state, and the control 502c is used to trigger the mobile phone to enter the multi-window display state.

[0131] In response to the user's operation on control 502b, the mobile phone displays Fig. 6A The interface 503 shown in (c) in FIG. 1 shows that the mobile phone enters the split-screen display state. The interface 503 includes the first interface 500 of the game application and the main interface 504 of the desktop application. In response to the user's operation on the "video application" icon in the main interface 504, the mobile phone displays the following Fig. 6A The interface 505 (i.e. Figure 4A The interface 505 includes a first interface 500 of a game application and a second interface 506 of a video application (which can be understood as a first application). That is, the mobile phone displays the UI interface of the game application and the video interface of the video application in a split-screen display manner.

[0132] Case (2):

[0133] When the electronic device is in full-screen display mode, it enters multi-window display mode through the application icon in the sidebar.

[0134] For example, Figure 6B As shown in (a) of FIG. 1 , the mobile phone displays the first interface 510 of the game application in full screen. In response to the user's left swipe operation, the mobile phone displays Figure 6B The interface 511 shown in (b) of FIG. 5 includes a "sidebar" 512, and the sidebar 512 includes an icon 513 of a video application. In response to the user's operation on the icon 513, the mobile phone displays Figure 6B The interface 514 shown in (c) in FIG. 5 includes a first interface 510 of a game application and a second interface 515 of a communication application (which can be understood as a first application). That is, the mobile phone displays the UI interface of the game application and the chat interface of the communication application in a multi-window display manner.

[0135] Case (3):

[0136] The electronic device enters a multi-window display state in a split-screen display state; or, the electronic device enters a split-screen display state in a multi-window display state.

[0137] For example, Figure 6CAs shown in (a) of FIG. 1 , the mobile phone displays an interface 520 in a "split screen display" manner. The interface 520 includes a first interface 521 of a game application and a second interface 522 of a communication application (which can be understood as a first application). In response to the user's drag operation, as shown in FIG. Figure 6C As shown in (b) of FIG. 5 , the mobile phone displays the first interface 523 of the game application in full screen, and displays the second interface 524 of the communication application in the form of a floating window. Figure 6C As shown, the user presses the second interface 522 of the communication application with a finger, and drags the second interface 522 of the communication application from the top of the folding screen of the mobile phone to the lower right side of the folding screen of the mobile phone.

[0138] For example, Figure 6C As shown in (b) of FIG. 5 , the mobile phone displays an interface 530 in a “multi-window display” manner. The interface 530 includes a first interface 523 of a game application and a second interface 524 of a communication application. In response to the user's drag operation, as shown in FIG. Figure 6C As shown in (a) of FIG. 1 , the mobile phone displays an interface 520 in a "split screen display" manner. The interface 520 includes a first interface 521 of a game application and a second interface 522 of a communication application (which can be understood as a first application). For example, Figure 6C As shown, the user presses the second interface 524 of the communication application with a finger, and drags the second interface 524 of the communication application from the lower right side of the folding screen of the mobile phone to the top of the folding screen of the mobile phone.

[0139] It should be noted that the "pull-down operation", "left slide operation", and "drag operation" described in the embodiments of the present application can be collectively referred to as the first operation. Of course, the first operation can also include other operation modes, which are not listed here one by one.

[0140] Case (4):

[0141] The electronic device performs a multi-window display based on a split-screen display state; or the electronic device performs a split-screen display based on a multi-window display state.

[0142] For example, in combination with the above Fig. 6A and Figure 6B In the scenario shown, in response to the user's "pull down operation", the mobile phone enters the split-screen display state. Then, in response to the user's "left swipe operation", the mobile phone performs multi-window display based on the split-screen display state.

[0143] Alternatively, in response to the user's "left swipe operation", the mobile phone enters a multi-window display state. Then, in response to the user's "pull-down operation", the mobile phone performs split-screen display based on the multi-window display state.

[0144] For example, a mobile phone displays the game interface of a game application in a "split screen display" manner (such as Figure 4C 4 ), and the chat interface of the communication application (which can be understood as the second application) is displayed in the form of a floating window (which can be understood as the third interface, such as interface 403 shown in FIG. 4 ).

[0145] It should be noted that the specific implementation method of situation (4) can refer to the above Fig. 6A and Figure 6B The process shown will not be described in detail here.

[0146] (II) “The electronic device generates first dimension measurement data in a split-screen display state; and / or in a multi-window display state” process.

[0147] Combined with the situation (1) in the above process (I), the mobile phone is Fig. 6A After the operation flow shown enters the split-screen display state, the first dimension measurement data generated by the mobile phone may include: performance indicator information, the first duration, the application name of the game application, and the application name of the first application. It should be understood that when the mobile phone is in the split-screen display state, the first duration can be called the split-screen duration.

[0148] For another example, in combination with the situation (2) in the above process (I), the mobile phone is Figure 6B After the operation flow shown enters the multi-window display state, the first dimension measurement data generated by the mobile phone may include: performance indicator information, the first duration, the application name of the game application, and the application name of the first application. Among them, the first duration is used to indicate the corresponding duration when the mobile phone performs multi-window display. It should be understood that when the mobile phone is in the multi-window display state, the first duration can be called the multi-window display duration.

[0149] For another example, in combination with the situation (3) and the situation (4) in the above process (I), in the scenario where the mobile phone switches from the split-screen display state to the multi-window display state; or, in the scenario where the mobile phone switches from the multi-window display state to the split-screen display state; or, in the scenario where the mobile phone is in the split-screen display state and the multi-window display state at the same time, the first dimension measurement data generated by the mobile phone may include: performance indicator information, the first duration, the application name of the game application, and the application name of the first application. Among them, in any of the above scenarios, the first duration includes the split-screen duration and the multi-window display duration; for example, the split-screen duration is used to indicate the duration corresponding to the split-screen display of the mobile phone, and the multi-window display duration is used to indicate the duration corresponding to the multi-window display of the mobile phone.

[0150] Exemplarily, the performance indicator information is used to reflect the system performance of the mobile phone. For example, the performance indicator information may include one or more of the following information: average frame rate, jitter rate, number of freezes, power consumption, normalized current, housing temperature, volume, screen brightness, and image quality. Of course, the performance indicator information may also include other information, which will not be listed here one by one.

[0151] For ease of understanding, in the following embodiments, taking the mobile phone entering a split-screen display state as an example, the first dimension measurement data in the embodiments of the present application is illustrated.

[0152] It is understandable that the first dimension measurement data is generated by the mobile phone in a scenario where the UI interface of the game application and the UI interface of the first application (such as a video application) are displayed in split screen. That is, when the mobile phone is in a split screen display state and any one of the UI interfaces of at least two applications displayed in the split screen of the mobile phone is a game application, the mobile phone will generate the first dimension measurement data.

[0153] Exemplarily, taking a mobile phone split-screen display of a game application UI interface and a video application UI interface as an example, the first dimension measurement data may be as shown in the following Table 1.

[0154] Table 1

[0155]

[0156] It should be noted that Table 1 is only an example of the first dimension measurement data in the embodiment of the present application, and does not constitute a limitation of the present application. Currently, the first dimension measurement data may also include other information, which will not be listed here.

[0157] In some embodiments, the mobile phone may perform multiple split-screen displays during the game startup and game exit stages. In this case, for each split-screen display, the mobile phone will calculate the split-screen duration and update the first dimension measurement data. Optionally, after the mobile phone performs multiple split-screen displays, the first dimension measurement data includes information corresponding to each split-screen display.

[0158] Taking a mobile phone performing two split-screen displays as an example, illustratively, the first dimension measurement data may be as shown in the following Table 2.

[0159] Table 2

[0160]

[0161] It can be seen from Table 2 above that when the mobile phone performs two split-screen displays, the split-screen duration in the first dimension data includes the first split-screen duration, the second split-screen duration and the total split-screen duration. For example, as shown in Table 2, the split-screen duration corresponding to the first split-screen of the mobile phone (i.e., the first split-screen duration) is M(s), and the split-screen duration corresponding to the second split-screen of the mobile phone (i.e., the second split-screen duration) is N(s). During the game startup and game exit phases, the total split-screen duration of the mobile phone is M+N(s).

[0162] It is understandable that, when the mobile phone performs each split screen display in multiple split screen displays, the performance indicator information in the first dimension measurement data may be the same or different. Table 2 takes the case where the performance indicator information is the same when the mobile phone performs two split screen displays as an example.

[0163] It should be noted that Table 2 is only an example of the first dimension measurement data in the scenario of the mobile phone performing two split-screen displays in the embodiment of the present application, and does not constitute a limitation of the present application. It should be noted that the first dimension measurement data corresponding to the mobile phone performing three or more split-screen displays can refer to the above Table 2, and will not be repeated here.

[0164] (III) “The electronic device sends the first dimension measurement data to the server” process.

[0165] For example, Figure 7 As shown, the mobile phone uploads the generated first dimension measurement data to the server. After the server receives the first dimension measurement data uploaded by the mobile phone, the server saves the first dimension measurement data in the dimension measurement data set. That is, the first dimension measurement data is a part of the dimension measurement data set, and the first dimension measurement data is the relevant information fed back by the mobile phone to the server, and the corresponding split screen display is performed in the game scene. For example, the server can be a database server (data base, DB), or other types of servers, which is not limited in the embodiments of the present application.

[0166] Then, when a mobile phone fails, the user can call a professional through the fault hotline. The professional uses the mobile phone's identity document (ID) and the maintenance data obtained from the server to locate and analyze the fault of the mobile phone and determine a solution to repair the fault.

[0167] To summarize, by adopting the solution of the embodiment of the present application, the mobile phone generates first dimensional measurement data during the process of displaying the first interface of the game application and the second interface of the first application; subsequently, when the mobile phone fails, the fault is located and demarcated through the dimensional measurement data, and the cause of the fault can be located in a timely and accurate manner, thereby improving the efficiency and accuracy of fault location analysis.

[0168] It can be understood that in the embodiment of the present application, the electronic device generates first dimension measurement data each time the game application is started and enters the "split-screen display state" and / or the "multi-window display state".

[0169] In some embodiments, the mobile phone counts multiple first dimension measurement data, and generates second dimension measurement data based on the multiple first dimension measurement data. After the mobile phone generates the second dimension measurement data, the mobile phone can save the second dimension measurement data in the dimension measurement data. Subsequently, the mobile phone can optimize the system performance of the mobile phone through the second dimension measurement data saved in the dimension measurement data. For example, optimize load performance, optimize power consumption, optimize computing speed / computing accuracy, optimize memory storage capacity, optimize storage cycle of storage, optimize data processing rate, etc.

[0170] For example, the mobile phone can count multiple first dimension measurement data according to preset conditions. The preset conditions may include a preset time, or a preset number. For example, the mobile phone counts multiple first dimension measurement data every preset time (such as 7 days, 10 days or 30 days). Or, when the number of first dimension measurement data reaches a preset number, the mobile phone counts multiple first dimension measurement data. Of course, the mobile phone can also count multiple first dimension measurement data based on other preset conditions, and the embodiments of the present application are not limited to this.

[0171] The following example illustrates the specific implementation method of generating second dimension measurement data by a mobile phone.

[0172] Exemplarily, since the mobile phone is in a split-screen display state, the mobile phone displays at least two UI interfaces of applications. For example, the mobile phone displays the UI interface of the game application (i.e., the first interface) and the UI interface of the first application (i.e., the second interface). In this way, the mobile phone can determine the application name of the application combination based on the application name of the game application and the application name of the first application in multiple first-dimensional measurement data, as well as the first duration. Among them, the application combination includes a game application, and an application with the highest display frequency or the longest display duration corresponding to the game application. Among them, the display frequency includes the display frequency and the number of displays. In an embodiment of the present application, the above-mentioned application combination may also be referred to as a TOP application (such as a TOP split-screen application, a TOP multi-window application).

[0173] Taking the case where the mobile phone is in a split-screen display state as an example, illustratively, among the multiple first-dimensional measurement data, the mobile phone split-screen display of game applications and video applications has the longest display duration, then the mobile phone can determine the game applications and video applications as the TOP split-screen applications (i.e., application combination). Alternatively, among the multiple first-dimensional measurement data, the mobile phone split-screen display of game applications and video applications has the most display times / or the highest display frequency, then the mobile phone can determine the game applications and video applications as the TOP split-screen applications.

[0174] As another example, since each of the plurality of first dimension measurement data includes a first duration, the plurality of first dimension measurement data includes a plurality of first durations. On this basis, the mobile phone can calculate a first average duration based on the plurality of first durations. When the mobile phone is in a split-screen display state, the first average duration can also be referred to as a split-screen average duration.

[0175] In another exemplary embodiment, the mobile phone can determine the user preference information based on the multiple first dimension measurement data. The user preference information is used to reflect the user's usage habits. Taking the mobile phone in a split-screen display state as an example, for example, the user preference information can be used to reflect the user's split-screen habit. For example, the user is used to splitting the screen with the communication application during the game.

[0176] The above embodiments mainly introduce three processes of implementing the method of the embodiment of the present application. The following embodiments, in conjunction with the accompanying drawings, introduce in detail the specific implementation of the embodiment of the present application. The methods of the following embodiments can all be implemented in the electronic device 100 having the above hardware structure.

[0177] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.

[0178] Figure 8 1 is a software structure diagram of the electronic device 100 provided in an embodiment of the present application. The layered architecture can divide the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer (referred to as the application layer, application), the application framework layer (referred to as the framework layer, framework), the Android runtime (android runtime) and the system library, and the kernel layer.

[0179] Application layer: can include a series of application packages. For example, Figure 8 The application layer shown may include: common applications, game applications.

[0180] Common applications can be camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, desktop launcher and other applications. Game applications can integrate the software development kit (SDK) of game applications, referred to as game SDK. Among them, game applications can connect / disconnect game services of the basic service framework in the framework layer through the game SDK. After the game application and the game service are connected through the game SDK, the game application can interact with the game service.

[0181] The framework layer provides application programming interface (API) and programming framework for the application layer applications. Figure 8 As shown, the framework layer can provide a basic service framework, a device perception module and a window management module (window manager service, WMS).

[0182] The basic service framework is responsible for managing the game application's setting information (such as frame rate, refresh rate, image quality, resolution, sound effects, etc.) and game application scene information (such as game lobby, game match, game loading, etc.) and other basic capabilities. Figure 8 As shown, the basic service framework includes game services. Among them, the game service is responsible for managing the scene information and setting information of the game application issued by the game application. The device perception module is used to perceive the current game mode of the mobile phone (such as game standard mode, game acceleration mode, etc.).

[0183] The window management module is used to manage window programs. The window management module can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. In the embodiment of the present application, the window management module is also used to generate corresponding input events (such as split-screen events, multi-window display events) according to the user's input operation (such as split-screen display operation, multi-window display operation), and report the input event to the Android runtime.

[0184] Taking split screen display as an example, in the embodiment of the present application, the electronic device can "insert a probe" in the window management module, obtain split screen information according to the split screen display operation input by the user, and generate corresponding split screen events (such as split screen start, split screen end). Among them, the "insertion" technology refers to inserting a probe into the original program code of the window management module, and collecting the split screen information in the program code through the probe.

[0185] For example, the electronic device inserts stubs in the original program code of the following processes (such as process ①-process ⑥) of the window management module. For example, ①: "Split screen application combination creation" process; ②: "Split screen application combination replacement" process; ③: "Left-right split screen / up-down split screen switching" process; ④: "Split screen application combination from screen off-screen to screen on" process; ⑤: "Split screen application combination from background display to foreground display" process; ⑥: "Split screen end" process.

[0186] Subsequently, the window management module uses JLOG communication to send a split-screen event and the application name of the split-screen application combination (such as the application name of the game application and the application name of the first application) to the system library through the Android runtime.

[0187] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

[0188] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0189] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0190] The system library may include multiple functional modules, such as an image synthesis library (surface flinger, SF) and a dimension processing library.

[0191] The image synthesis library includes a layer processing system, and the layer processing system includes layer management and layer synthesis. The layer management is used to perform layer life cycle management, such as layer destruction, process switching, process extinction, etc. Layer synthesis is used for the synthesis of two-dimensional or three-dimensional images. In an embodiment of the present application, the layer processing system is used to determine game events (such as game start, game exit) according to the layer life cycle through interaction with the framework layer.

[0192] The image synthesis library also includes a game processing system. On the one hand, the game processing system interacts with the basic service framework in the framework layer to obtain the scene information of the game application (such as the game lobby, game game, game loading, etc.), and determines the scene corresponding to the game application, and generates corresponding scene events. For example, taking the scene corresponding to the game application as a game scene as an example, the scene event can be called a game event. Game events can include the start of a game and the end of a game.

[0193] On the other hand, the game processing system interacts with the basic service framework in the framework layer to obtain the setting information of the game application (such as frame rate, refresh rate, image quality, resolution, sound effects, etc.), and calculates the performance indicator information in the game scenario based on the setting information.

[0194] For example, Figure 8 As shown, the game processing system includes a scene recognition module and a performance indicator module. The scene recognition module is used to obtain scene information from the basic service framework, determine the scene corresponding to the game application, and generate corresponding scene events. The performance indicator module is used to obtain the setting information of the game application from the basic service framework, and calculate the game performance indicator information based on the setting information.

[0195] The measurement processing library is used to generate the first measurement data or the second measurement data. For example, the measurement processing library obtains the performance indicator information and scene events in the game scene from the game processing system, and obtains the input events (such as split screen events) from the Android runtime. Subsequently, on the one hand, the measurement processing library calculates the first duration based on the scene events and the input events. On the other hand, the measurement processing library generates the first measurement data based on the first duration, the performance indicator information and the application name of the application combination.

[0196] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera area, audio driver, storage driver, sensor driver, etc. For example, Figure 8 As shown, the kernel layer includes display driver, storage driver, and sensor driver.

[0197] In some embodiments, after the dimension measurement processing library generates the first dimension measurement data, it calls the storage driver in the driver layer to send the first dimension measurement data to a server (such as a database server). Subsequently, after receiving the first dimension measurement data, the server saves the first dimension measurement data in a dimension measurement data set. In other embodiments, after the dimension measurement processing library generates the first dimension measurement data, it saves the first dimension measurement data in a memory of the electronic device.

[0198] Taking the electronic device as a mobile phone as an example, in the embodiment of the present application, Figure 8 The software architecture shown in FIG. 1 illustrates a specific method for generating first-dimensional measurement data by a mobile phone. For example, Fig. 9 As shown, the mobile phone can execute the following steps a-c to implement the above-mentioned process of "generating first dimensional measurement data".

[0199] Step a: The mobile phone starts the game application in response to the user's start-up operation, triggering the game application to send the scene information and setting information of the game application to the basic service framework.

[0200] Exemplary, combined Figure 8 and Fig. 9As shown, after the game application is started, it connects to the game server in the basic service framework through the game SDK. When the game application is successfully connected to the game service, the game application can interact with the game service and send the scene information and setting information of the game application to the basic service framework.

[0201] The scene information of the game application is used to indicate the current state of the game application. For example, the scene information of the game application includes: the game application is in the game lobby page, the game application is in the game match state, and the game application is in the game loading state.

[0202] The setting information of the game application is used to indicate the corresponding setting items of the game application during operation. For example, the setting information of the game application includes: one or more of: frame rate, refresh rate, image quality, resolution, and sound.

[0203] Step b: The mobile phone senses the current game mode of the mobile phone through the device sensing module and sends the game mode to the image synthesis library. Correspondingly, the mobile phone receives the game mode through the image synthesis library.

[0204] Exemplarily, the device perception module can perceive the game mode in real time. For example, the device perception module can register to monitor with the system. When the mobile phone receives the user's modification operation through the game assistant, in response to the modification operation, the mobile phone modifies the game mode through the game assistant and writes it to the system's configuration file. The system then notifies the device perception module of the change in the configuration file. Subsequently, the device perception module obtains the game mode from the system's configuration file.

[0205] For example, the game mode may include a standard game mode, an accelerated game mode, and the like.

[0206] Furthermore, after the image synthesis library receives the game mode, on the one hand, the layer processing system in the image synthesis library initializes the game processing system to trigger the game processing system to perform corresponding operations (such as generating scene events and calculating performance indicator information, etc.). On the other hand, the layer processing system in the image synthesis library obtains the current layer and determines that the current layer is the layer of the game application based on the layer package name of the current layer. Further, the layer processing system in the image synthesis library determines the game event based on the layer life cycle. Among them, game events include game start and game exit. For example, the layer processing system in the image synthesis library determines that the game event is game start based on layer creation; for another example, the layer processing system in the image synthesis library determines that the game event is game exit based on layer destruction, process switching, and process extinction.

[0207] Step c: The mobile phone sends the scene information and setting information of the game application to the image synthesis library through the basic service framework. Correspondingly, the mobile phone receives the scene information and setting information of the game application through the image synthesis library.

[0208] It can be understood that in the above step b, after the image synthesis library receives the game mode, the layer processing system in the image synthesis library initializes the game processing system. In this way, after the basic service framework sends the scene information and setting information of the game application to the image synthesis library, the game processing system in the image synthesis library performs corresponding operations.

[0209] For example, the scene recognition module in the game processing system determines the game scene based on the scene information of the game application and generates a corresponding scene event. For example, if the scene recognition module in the game processing system determines that the game scene is a game scene, the scene event generated by the scene recognition module is a game event. For another example, if the scene recognition module in the game processing system determines that the game scene is a game lobby scene, the scene event generated by the scene recognition module is a lobby event.

[0210] For example, the performance indicator module in the game processing system calculates the performance indicator information according to the setting information. It should be noted that the examples of the performance indicator information can refer to the above embodiments, which will not be described one by one here.

[0211] It should be noted that in the embodiments of the present application, there is no specific restriction on the order in which step b and step c are executed. For example, step b and step c can be executed at the same time; or, step b is executed before step c; or, step c is executed before step b.

[0212] Step d: The mobile phone sends scene events, game events and performance index information to the maintenance and testing processing library through the image synthesis library. Correspondingly, the mobile phone receives scene events, game events and performance index information through the maintenance and testing processing library.

[0213] It is understandable that the image synthesis library sends the scene event corresponding to the game application in the current game scene to the maintenance and testing processing library. For example, when the current game scene (i.e., scene information) of the game application is a game scene, the scene event sent by the image synthesis library to the maintenance and testing processing library is the game time. Among them, the game event includes the start of the game and the end of the game.

[0214] The game event is determined by the layer processing system in the image synthesis library based on layer creation, layer destruction, process switching, process extinction, etc. For example, the game event may include game startup and game exit.

[0215] Step e: The mobile phone sends the input event and the application name of the application combination to the maintenance and testing processing library through the window management module. Correspondingly, the mobile phone receives the input event and the application name of the application combination through the maintenance and testing processing library.

[0216] Exemplarily, the input event is an event corresponding to the user's input operation. For example, the input event is a corresponding event generated by the window management module according to the user's input operation. For example, when the user's input operation is a split-screen operation (or split-screen display operation), the corresponding input event generated by the window management module is a split-screen event; wherein the split-screen event includes the start of the split screen and the end of the split screen. For another example, when the user's input operation is a multi-window operation (or multi-window display operation), the corresponding input event generated by the window management module is a multi-window display event. wherein the multi-window display event includes the start of the multi-window display and the end of the multi-window display.

[0217] For example, the application combination may include a game application and a first application. The application names of the application combination are the application name of the game application and the application name of the first application.

[0218] It should be noted that in the embodiment of the present application, there is no specific restriction on the order in which step d and step e are executed. For example, step d and step e can be executed at the same time; or, step d is executed before step e; or, step e is executed before step d.

[0219] Step f: The mobile phone calculates the first duration according to the scene events, game events and input events through the maintenance and testing processing library.

[0220] For example, when the input event is a split screen event, the maintenance test processing library calculates the split screen duration based on the scene event, game event and split screen event. When the input event is a multi-window display event, the maintenance test processing library calculates the multi-window display duration based on the scene event, game event and multi-window display event.

[0221] Step g: The mobile phone generates first dimension measurement data according to the application name, the first duration, and the performance indicator information of the application combination through the dimension measurement processing library.

[0222] After the above step g, the maintenance and measurement processing library records the generated first maintenance and measurement data and sends the first maintenance and measurement data to the server. In some embodiments, after the maintenance and measurement processing library sends the first maintenance and measurement data to the server, the maintenance and measurement processing library clears the first maintenance and measurement data recorded by the maintenance and measurement processing library. In this way, a large amount of first maintenance and measurement data can be avoided from occupying the storage interval of the mobile phone, thereby affecting the system performance (such as storage performance) of the mobile phone.

[0223] In summary, by adopting the solution of the embodiment of the present application, when the mobile phone is in a game scene and the screen is split, the first dimension measurement data is generated by obtaining the application name, first duration, and performance indicator information of the application combination corresponding to the scene. Subsequently, the mobile phone can analyze and locate the fault through the first dimension measurement data, so as to accurately and timely determine the cause of the fault and determine the fault repair plan.

[0224] It should be noted that, in order to further improve the user experience during the game, in some embodiments of the present application, when the game application is in the game scene, the mobile phone calculates the first duration. In this way, the problem of high power consumption caused by frequent calculations of the mobile phone can be further reduced.

[0225] That is to say, when the scene event sent by the mobile phone to the maintenance and measurement processing library through the game processing system in the image synthesis library is a game event, the maintenance and measurement processing library calculates the first duration based on the input event and the game event.

[0226] Taking the above-mentioned electronic device as a mobile phone and the input event as a split-screen event as an example, the implementation method of calculating the split-screen duration by the mobile phone is described by way of example. In some embodiments, the mobile phone can calculate the split-screen duration during the game, that is, the mobile phone calculates the split-screen duration at the start and end of the game. For split-screen events that occur before or after the game, the mobile phone does not calculate the split-screen duration, thereby reducing the problem of high power consumption caused by frequent calculations of the mobile phone. Among them, the split-screen event includes a split-screen start event and a split-screen end event, and the game event includes a game start event and a game end event.

[0227] Exemplarily, the mobile phone can calculate the split-screen duration during the game by the order of the four events: split-screen start, split-screen end, game start, and game end. For example, if the split-screen start event occurs before the game start event, the time point of the game start is used as the starting time for calculating the split-screen duration; correspondingly, if the split-screen start event occurs after the game start event, the time point of the split-screen start is used as the starting time for calculating the split-screen duration. For another example, if the game end event occurs before the split-screen end event, the time point of the game end is used as the end time for calculating the split-screen duration; correspondingly, if the game end event occurs after the split-screen end event, the time point of the split-screen end is used as the end time for calculating the split-screen duration.

[0228] It should be noted that in the embodiment of the present application, if multiple split-screen events occur in a game, the mobile phone needs to calculate the corresponding split-screen duration for each split-screen event.

[0229] The following embodiments illustrate the specific implementation process of calculating the split-screen duration by a mobile phone through three combination methods.

[0230] Combination method (I): Split-screen events occur in the same game.

[0231] Combination 1: The split-screen start event occurs before the game start event, and the split-screen end event occurs before the game end event.

[0232] For example, the sequence of the four events of split screen start, split screen end, game start and game end is as follows: Fig.10As shown in (a), in the above combination 1, the split-screen duration = the time point when the split-screen ends - the time point when the game starts.

[0233] Combination 2: The split-screen start event occurs after the game start event, and the split-screen end event occurs before the game end event.

[0234] For example, the sequence of the four events of split screen start, split screen end, game start and game end is as follows: Fig.10 As shown in (b), in the above combination 2, the split-screen duration = the time point when the split-screen ends - the time point when the split-screen starts.

[0235] Combination 3: The split-screen start event occurs after the game start event, and the split-screen end event occurs after the game end event.

[0236] For example, the sequence of the four events of split screen start, split screen end, game start and game end is as follows: Fig.10 As shown in (c), in the above combination 3, the split-screen duration = the time point when the game ends - the time point when the split-screen starts.

[0237] It should be noted that if the split-screen start event and the split-screen end event both occur before the game start event, the mobile phone does not calculate the split-screen duration.

[0238] Combination (two): The split-screen event occurs in two games.

[0239] It can be understood that in this combination (two), the mobile phone needs to calculate the split-screen duration during the first game and the split-screen duration during the second game.

[0240] Combination 4: The split-screen start event occurs before the first game start event, and the split-screen end event occurs after the first game end event.

[0241] For example, the sequence of the four events of split screen start, split screen end, game start and game end is as follows: Fig.11 As shown in (a), in the above combination 4, the split screen duration = the time point when the first game ends - the time point when the first game starts.

[0242] Combination 5: The split-screen start event occurs before the first game start event, and the split-screen end event occurs before the second game end event.

[0243] For example, the sequence of the four events of split screen start, split screen end, game start and game end is as follows: Fig.11As shown in (b), in the above combination 5, the split-screen duration during the first game = the time point when the first game ends - the time point when the first game starts; the split-screen duration during the second game = the time point when the split-screen ends - the time point when the second game starts.

[0244] Combination 6: The split-screen start event occurs before the first game start event, and the split-screen end event occurs after the second game end event.

[0245] For example, the sequence of the four events of split screen start, split screen end, game start and game end is as follows: Fig.11 As shown in (c), in the above combination 6, the split-screen duration during the first game = the time point at which the first game ends - the time point at which the first game starts; the split-screen duration during the second game = the time point at which the first game ends - the time point at which the second game starts.

[0246] Combination 7: The split-screen start event occurs after the first game start event, and the split-screen end event occurs before the second game end event.

[0247] For example, the sequence of the four events of split screen start, split screen end, game start and game end is as follows: Fig.11 As shown in (d), in the above combination 7, the split screen duration during the first game = the time point when the first game ends - the time point when the split screen starts. The split screen duration during the second game = the time point when the split screen ends - the time point when the second game starts.

[0248] Combination 8: The split-screen start event occurs after the first game start event, and the split-screen end event occurs after the second game end event.

[0249] For example, the sequence of the four events of split screen start, split screen end, game start and game end is as follows: Fig.11 As shown in (e), in the above combination 8, the split-screen duration during the first game = the time point when the first game ends - the time point when the split-screen starts; the split-screen duration during the second game = the time point when the second game ends - the time point when the second game starts.

[0250] Combination method (three): Two split-screen events occur from game startup to game exit.

[0251] It is understandable that in this combination (three), the mobile phone needs to calculate the first split-screen duration and the second split-screen duration.

[0252] Combination 9: The first split-screen start event occurs before the game start event, and the first split-screen end event occurs after the game start event. The second split-screen start event occurs after the game start event, and the second split-screen end event occurs before the game end event.

[0253] For example, the sequence of the four events of split screen start, split screen end, game start and game end is as follows: Fig.12 As shown in (a), in the above combination 9, the duration of the first split-screen = the time point when the first split-screen ends - the time point when the game starts; the duration of the second split-screen = the time point when the second split-screen ends - the time point when the second split-screen starts.

[0254] Combination 10: The first split-screen start event occurs before the game start event, and the first split-screen end event occurs after the game start event. The second split-screen start event occurs after the game start event, and the second split-screen end event occurs after the game end event.

[0255] For example, the sequence of the four events of split screen start, split screen end, game start and game end is as follows: Fig.12 As shown in (b), in the above combination 10, the duration of the first split screen = the time point when the first split screen ends - the time point when the game starts; the duration of the second split screen = the time point when the game ends - the time point when the second split screen starts.

[0256] Combination 11: The first split screen start event occurs after the game start event, and the first split screen end event occurs after the game start event. The second split screen start event occurs after the game start event, and the second split screen end event occurs before the game end event.

[0257] For example, the sequence of the four events of split screen start, split screen end, game start and game end is as follows: Fig.12 As shown in (c), in the above combination 11, the duration of the first split screen = the time point when the first split screen ends - the time point when the first split screen starts; the duration of the second split screen = the time point when the second split screen ends - the time point when the second split screen starts.

[0258] Combination 12: The first split-screen start event occurs after the game start event, and the first split-screen end event occurs before the game end event. The second split-screen start event occurs after the game start event, and the second split-screen end event occurs after the game end event.

[0259] For example, the sequence of the four events of split screen start, split screen end, game start and game end is as follows: Fig.12As shown in (d), in the above combination 12, the duration of the first split-screen = the time point when the first split-screen ends - the time point when the first split-screen starts; the duration of the second split-screen = the time point when the second game ends - the time point when the second split-screen starts.

[0260] It should be noted that if the first split-screen event and the second split-screen event both occur before the game start event, the mobile phone does not calculate the first split-screen duration and the second split-screen duration.

[0261] In actual implementation, since third-party applications do not have a cooperative relationship with mobile phone manufacturers, third-party applications will not send game application scene information to the basic service framework in the framework layer, that is, the basic service framework does not obtain the game application scene information. In this scenario, the game processing system in the image synthesis library cannot generate corresponding scene events, that is, it cannot generate game start events and game end events.

[0262] In some embodiments, the mobile phone may use the game launch of the game application as a game start event, and the game duration of the game application meeting the preset duration as a game end event. Exemplarily, the preset duration can be set according to actual conditions, for example, the preset duration can be 20 minutes, 30 minutes, or other suitable durations, which are not limited in the embodiments of the present application.

[0263] In this embodiment, the game end event is when the game duration of the game application meets the preset duration, which can avoid the high load operation of the mobile phone due to the long game time, thereby affecting the system performance of the mobile phone.

[0264] In other embodiments, the mobile phone may use the game launch of the game application as a match start event, and use the game exit of the game application as a match end event.

[0265] It should be noted that the various combinations in combination mode (I) to combination mode (III) shown in the above embodiments are merely some examples of the embodiments of the present application and do not constitute limitations on the present application.

[0266] In addition, the contents recorded in each embodiment of the present application can explain the technical solutions in other embodiments of the embodiments of the present application. The technical features recorded in each embodiment can also be applied in other embodiments and combined with the technical features in other embodiments to form new solutions. The present application only exemplarily lists several embodiments for illustration, and does not mean that the present application is limited to this.

[0267] It should be noted that in the application examples, any collection and processing of user data shall comply with applicable privacy laws and shall only collect user personal information for legitimate and reasonable purposes. Such data collection / sharing shall only occur with the user's consent or other legal basis prescribed by applicable laws.

[0268] The present application provides an electronic device, which may include: a display screen, a memory, and one or more processors; the memory stores computer program code, which includes computer instructions. When the computer instructions are executed by the processor, the electronic device executes the functions or steps executed in the mobile phone. The structure of the electronic device can refer to the above Figure 1 The structure of the electronic device 100 is shown.

[0269] The present application also provides a chip system for use in electronic devices. Fig.13 As shown, the chip system 1100 includes at least one processor 1101 and at least one interface circuit 1102. The processor 1101 may be Figure 1 The processor 110 is shown. The interface circuit 1102 may be, for example, an interface circuit between the processor 110 and an external memory; or an interface circuit between the processor and the internal memory 121 .

[0270] The processor 1101 and the interface circuit 1102 can be interconnected via lines. For example, the interface circuit 1102 can be used to receive signals from other devices (such as the memory of the electronic device 100). For another example, the interface circuit 1102 can be used to send signals to other devices (such as the processor 1101). Exemplarily, the interface circuit 1102 can read the instructions stored in the memory and send the instructions to the processor 1101. When the instructions are executed by the processor 1101, the electronic device can execute the various functions or steps executed by the mobile phone in the above embodiment. Of course, the chip system can also include other discrete devices, which is not specifically limited in the embodiments of the present application.

[0271] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes each function or step executed by the mobile phone in the above method embodiment.

[0272] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute each function or step executed by the mobile phone in the above method embodiment.

[0273] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules according to the system, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0274] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0275] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0276] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0277] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0278] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A method for processing dimensional measurement data, characterized in that: Applied to electronic equipment, the method comprises: The electronic device displays a first interface of the game application; The electronic device receives a first operation of a user, where the first operation includes a split-screen operation, and the split-screen operation is used to start a first application; In response to the first operation, the electronic device displays a target interface, where the target interface includes a first interface of the game application and a second interface of the first application; During the process of the electronic device displaying the target interface, the electronic device generates first dimensional measurement data, and the first dimensional measurement data at least includes: performance indicator information, split-screen duration, the application name of the game application, and the application name of the first application; wherein the performance indicator information is used to reflect the system performance of the electronic device, the split-screen duration is used to indicate the duration corresponding to the electronic device displaying the target interface, and the split-screen duration is related to the events of split-screen start, split-screen end, game match start, and game match end; the first dimensional measurement data is used to locate and delimit the fault when a fault occurs in the electronic device.

2. The method according to claim 1, characterized in that The method comprises: The electronic device stores the first dimension measurement data in a dimension measurement data set; or, The electronic device sends the first dimension measurement data to a server.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: The electronic device counts a plurality of the first dimension measurement data; The electronic device generates second dimensional measurement data based on multiple first dimensional measurement data; the second dimensional measurement data at least includes: an application name of an application combination, a first average duration, and user preference information; wherein the application combination includes the game application, and an application with the highest display frequency or the longest display duration corresponding to the game application; the first average duration is used to indicate the average duration of multiple split-screen durations corresponding to the multiple first dimensional measurement data; the second dimensional measurement data is used to optimize the system performance of the electronic device.

4. The method according to claim 1 or 2, characterized in that: In the case where the first operation includes the split-screen operation, the display screen of the electronic device includes a first display area and a second display area, the first display area is used to display the first interface of the game application, and the second display area is used to display the second interface of the first application.

5. The method according to claim 4, characterized in that The first operation also includes a multi-window operation, and the multi-window operation is also used to start a second application; the target interface also includes a third interface of the second application; The electronic device displays the first interface of the game application in the first display area, displays the second interface of the first application in the second display area, and displays the third interface of the second application in the form of a floating window.

6. The method according to claim 1, characterized in that The method further comprises: The electronic device calculates the split-screen duration based on the time sequence of the start of the game, the end of the game, the start of the split-screen, and the end of the split-screen.

7. The method according to claim 6, characterized in that The method further comprises: If the split-screen start time and the split-screen end time are after the start of the game, the electronic device calculates the split-screen duration.

8. The method according to claim 7, characterized in that The electronic device calculating the split screen duration includes: The split screen start time is after the game starts, and the electronic device uses the split screen start time as the starting time for calculating the split screen duration; The game ends before the split-screen ends, and the electronic device uses the game end time as the end time for calculating the split-screen duration.

9. The method according to any one of claims 6 to 8, characterized in that: The electronic device calculating the split screen duration includes: In a first time period, the electronic device acquires multiple split-screen events; wherein the first time period is a time period corresponding to the start of the game to the end of the game; each split-screen event in the multiple split-screen events includes the start of the split-screen and the end of the split-screen; For each split-screen event, the electronic device calculates the split-screen duration based on the time sequence of the start of the game, the end of the game, the start of the split-screen, and the end of the split-screen.

10. The method according to any one of claims 6 to 8, characterized in that: The electronic device regards the game start when the game of the game application is started as the start of the game, and regards the game end when the game duration of the game application meets the preset duration; or, The electronic device regards the start of the game of the game application as the start of the game and the end of the game of the game application as the exit of the game.

11. The method according to any one of claims 1, 2, 5 or 6-8, characterized in that: The performance indicator information includes one or more of the following information: average frame rate, jitter rate, number of freezes, power consumption, normalized current, housing temperature, volume, screen brightness, and picture quality.

12. An electronic device, characterized in that: The electronic device comprises: a display screen, memory, and one or more processors; The memory stores computer program code, which includes computer instructions. When the computer instructions are executed by the processor, the electronic device executes the method as claimed in any one of claims 1 to 11.

13. A chip system, characterized in that: Applied to electronic equipment, the chip system comprises: at least one processor and an interface; The interface is used to receive instructions and transmit them to the at least one processor; the at least one processor executes the instructions so that the electronic device executes the method as described in any one of claims 1-11.

14. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method as claimed in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Layer synthesis mode configuration method and electronic equipment

    CN113012263A

  • Window splicing dynamic control method based on window splicing scene, intelligent terminal and storage medium

    CN115185617A