Fault detection method and electronic terminal

By directly starting the fault detection interface on the first interface displayed on the electronic terminal, the problem of unlocking and increasing privacy leakage and maintenance costs in the existing technology is solved, and a more efficient and secure fault detection process is achieved.

CN114371963BActive Publication Date: 2024-10-11HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202011099073.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-14
Publication Date
2024-10-11
Estimated Expiration
2040-10-14

AI Technical Summary

Technical Problem

In the existing technology, electronic terminals need to be unlocked during fault detection, which increases the risk of privacy leakage and increases maintenance costs.

Method used

When the electronic terminal displays the first interface, the fault detection interface is directly displayed, and the fault detection application is started through user input without unlocking, reducing the probability of privacy leakage and improving maintenance efficiency.

Benefits of technology

It realizes fault detection without entering the unlock password, reduces the risk of privacy leakage, and improves maintenance efficiency and data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114371963B_ABST
    Figure CN114371963B_ABST
Patent Text Reader

Abstract

The present application relates to a fault detection method and an electronic terminal. The fault detection method receives a first user input for performing fault detection on the electronic terminal when the electronic terminal displays a first interface; starts a fault detection application in response to the first user input; and displays a fault detection interface of the fault detection application. By adopting the present application, the electronic terminal can start the fault detection application and display the fault detection interface by using the first user input when the electronic terminal displays the first interface, thereby reducing the probability of privacy leakage and improving maintenance efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a fault detection method and an electronic terminal. Background Art

[0002] In daily life, you may encounter situations where electronic terminals such as mobile phones malfunction and become unusable. At this time, many users will choose to send the malfunctioning electronic terminals to maintenance outlets for inspection and repair. During this period, in order to protect user privacy, users usually set their respective electronic terminals to maintenance mode. In maintenance mode, data related to personal data can be encrypted and isolated, thereby protecting personal data from being viewed during maintenance. However, in related technologies, maintenance personnel need to set the electronic terminal to maintenance mode by touching the relevant controls on the electronic terminal when the user's device is unlocked. Therefore, the user is required to provide the maintenance personnel with a lock screen password, which not only increases the probability of privacy leakage, but also increases the maintenance cost of the maintenance personnel. Summary of the invention

[0003] In view of this, a fault detection method and an electronic terminal are proposed, which can enable the electronic terminal to directly display a fault detection interface when the electronic terminal displays a first interface, thereby reducing the probability of privacy leakage and improving maintenance efficiency.

[0004] In a first aspect, an embodiment of the present application provides a fault detection method, which includes receiving a first user input for performing fault detection on an electronic terminal when the electronic terminal displays a first interface; starting a fault detection application in response to the first user input; and displaying a fault detection interface of the fault detection application.

[0005] The fault detection method is a method executed on an electronic terminal. When the electronic terminal displays a first interface, the fault detection interface can be directly displayed after receiving a first user input, which can reduce the communication cost with maintenance personnel and thus improve maintenance efficiency.

[0006] According to the first aspect, in a first possible implementation manner of the first aspect, the first interface includes a lock screen interface of the electronic terminal in a lock screen state or an application interface presented by the electronic terminal during execution of an application program.

[0007] That is to say, the fault detection method can directly use the first user input to display the fault detection interface of the electronic terminal when the electronic terminal is in a locked state, and the fault detection interface can be entered without unlocking the electronic terminal, thereby reducing the probability of privacy leakage. Alternatively, when the user is using the electronic terminal, the application interface presented during the execution of the application by the electronic terminal is directly replaced with the fault detection interface, which improves the maintenance efficiency compared to the existing method of entering the maintenance interface through multiple steps of user input.

[0008] According to the first aspect, or any implementation of the first aspect above, in a second possible implementation of the fault detection method, when the electronic terminal displays a first interface, a first user input for performing fault detection on the electronic terminal is received, including: when it is detected that the universal serial bus interface of the electronic terminal is connected, receiving a first user input of pressing the volume up button and the power button at the same time to meet a preset time period.

[0009] That is to say, by connecting the universal serial bus interface of the electronic terminal to the data cable, long pressing the volume up button and the power button at the same time, the electronic terminal can directly start the fault detection application and display the fault detection interface. The above provides a preferred implementation of the first user input.

[0010] According to the first aspect, or any implementation manner of the first aspect above, in a third possible implementation manner of the fault detection method, after starting the fault detection application and displaying the fault detection interface of the fault detection application, it also includes: displaying a list of secure network connection hotspots that are verified to be secure among the searched network connection hotspots; receiving a second user input, wherein the second user input includes selecting a first network connection hotspot from the list of network connection hotspots and entering a connection password for the first network connection hotspot; and in response to the second user input, accessing the first network connection hotspot.

[0011] That is to say, the fault detection method can screen connectable network connection hotspots and display trusted network connection hotspots on the electronic terminal for user selection, thereby further ensuring the security of network connections and improving data security during fault detection.

[0012] According to the third possible implementation method of the first aspect, according to the fourth possible implementation method of the first aspect, after accessing the first network connection hotspot, it also includes: obtaining a detection configuration file for the electronic terminal from a detection server corresponding to the electronic terminal; using the detection configuration file, determining that the electronic terminal supports the fault detection.

[0013] That is, the electronic terminal may determine whether the electronic terminal supports the fault detection according to the detection configuration file obtained from the detection server, thereby better meeting the requirements for fault detection in different regions.

[0014] According to the fourth possible implementation method of the first aspect, according to the fifth possible implementation method of the first aspect, after determining that the electronic terminal supports fault detection, it also includes: displaying a diagnostic analysis interface for indicating the input of verification information for the fault detection; receiving the verification information input by the user in the diagnostic analysis interface; and sending the verification information to the detection server.

[0015] That is to say, the user needs to enter verification information on the diagnostic analysis interface and send the verification information to the detection server before executing the subsequent fault detection steps. The verification information ensures that only authorized users can perform fault detection on the electronic terminal, ensuring the professionalism and security of fault detection.

[0016] According to the fifth possible implementation manner of the first aspect, according to the sixth possible implementation manner of the first aspect, after the verification information is sent to the detection server, it also includes: when the verification information is verified by the detection server using preset verification information, obtaining at least one detection item of the fault detection from the detection server, wherein the at least one detection item is selected by the user on the detection item generation interface, and wherein the detection item generation interface also includes a control for guiding the user to set the preset verification information.

[0017] That is to say, when the user can set at least one detection item and verification information on the detection server, the electronic terminal obtains the at least one detection item from the detection server, so that the user can customize the detection item and set verification information for the electronic terminal on the detection server.

[0018] According to the sixth possible implementation method of the first aspect, according to the seventh possible implementation method of the first aspect, after obtaining the list of detection items for the fault detection from the detection server when the verification information is verified by the detection server using the preset verification information, it also includes: using the detection configuration file to screen the at least one detection item to determine the final detection item that the electronic terminal can execute.

[0019] That is, after acquiring the at least one detection item, the electronic terminal may use the detection configuration file to screen the at least one detection item and determine the detection item suitable for the electronic terminal, thereby improving detection efficiency.

[0020] According to the seventh possible implementation method of the first aspect, according to the eighth possible implementation method of the first aspect, after determining the final detection item that the electronic terminal can execute, it also includes: referring to the final detection item, performing detection on the electronic terminal to obtain the detection result; sending the detection result to the detection server.

[0021] That is, the electronic terminal may send the detection result performed with reference to the final detection item to the detection server to complete the fault detection of the electronic terminal.

[0022] According to the fourth and more possible implementations of the first aspect, in a ninth possible implementation of the first aspect, the detection configuration file includes an area supporting the fault detection, a type of electronic terminal, and detection items.

[0023] That is to say, whether the electronic terminal supports the fault detection can be determined based on the area supporting the fault detection in the configuration file and the type of electronic terminal supporting the fault detection, and the detection items supported by the electronic terminal can be determined based on the detection items, thereby effectively controlling the area and detection items of the fault detection, making fault detection safer and more reliable.

[0024] According to the first aspect, or any implementation of the first aspect above, after sending the detection result to the detection server, the method further includes: deleting detection data related to the fault detection.

[0025] That is, by deleting the detection data, the storage space of the electronic terminal can be saved and fault detection can be made safer.

[0026] In a second aspect, an embodiment of the present application provides a fault detection method, the method comprising determining a detection configuration file of an electronic terminal that directly performs fault detection without inputting an unlock password; and sending the detection configuration file to the electronic terminal.

[0027] That is to say, the fault detection method can send the detection configuration file of the electronic terminal to the electronic terminal, so that the electronic terminal can perform fault detection according to the detection configuration file. It can not only use the various components of the electronic terminal to realize self-detection of fault detection, but also determine the appropriate detection items according to the detection configuration file.

[0028] According to the second aspect, in a first possible implementation manner of the fault detection method, the detection configuration file includes an area supporting fault detection on the electronic terminal, a type of the electronic terminal, and a detection item.

[0029] That is to say, whether the electronic terminal supports the fault detection can be determined based on the area supporting the fault detection in the configuration file and the type of electronic terminal supporting the fault detection, and the detection items supported by the electronic terminal can be determined based on the detection items, thereby effectively controlling the area and detection items of the fault detection, making fault detection safer and more reliable.

[0030] According to the second aspect or the first possible implementation of the second aspect, in the second possible implementation of the second aspect, after the detection configuration file is sent to the electronic terminal, it also includes: when displaying the detection item generation interface, receiving at least one detection item selected by the user on the detection item generation interface and preset verification information set by the user for the fault detection.

[0031] That is to say, the user can select at least one detection item and set preset verification information on the detection item generation interface, so that the user can see the set detection items more intuitively, and by setting the preset verification information, the person who sets the detection item is controlled, effectively preventing irrelevant personnel from arbitrarily performing fault detection on the electronic terminal.

[0032] According to the second possible implementation method of the second aspect, in the third possible implementation method of the second aspect, after receiving at least one detection item selected by the user on the detection item generation interface and the verification information set by the user for the fault detection, it also includes: using the preset verification information to perform verification on the verification information received from the electronic terminal and entered by the user on the electronic terminal; after the verification is passed, sending the at least one detection item to the electronic terminal.

[0033] That is to say, the fault detection method sends the at least one detection item to the electronic terminal only after the verification is passed, thereby ensuring the safety and effectiveness of the fault detection.

[0034] According to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, after sending the at least one detection item to the electronic terminal, it also includes: receiving a detection result for the fault detection from the electronic terminal.

[0035] In this way, the user can directly see the test results from the interface of the electronic terminal, thereby improving the user experience.

[0036] In the third aspect, an embodiment of the present application provides an electronic terminal, which can execute the fault detection method of the above-mentioned first aspect or one or several possible implementation methods of the first aspect and the above-mentioned second aspect or one or several possible implementation methods of the second aspect.

[0037] In a fourth aspect, an embodiment of the present application provides a non-volatile computer-readable storage medium having computer program instructions stored thereon, wherein when the computer program instructions are executed by a processor, the fault detection method of the first aspect or one or more of the multiple possible implementations of the first aspect and the fault detection method of the second aspect or one or more of the multiple possible implementations of the second aspect are implemented. .

[0038] In a fourth aspect, an embodiment of the present application provides a computer program product, comprising a computer-readable code, or a non-volatile computer-readable storage medium carrying a computer-readable code. When the computer-readable code is executed in an electronic device, a processor in the electronic device executes the fault detection method of the above-mentioned first aspect or one or several of the multiple possible implementations of the first aspect and the above-mentioned second aspect or one or several of the multiple possible implementations of the second aspect.

[0039] These and other aspects of the present application will become more apparent from the following description of the embodiment(s). BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the present application and, together with the description, serve to explain the principles of the present application.

[0041] Figure 1a A schematic diagram showing a user interface of an electronic terminal performing fault detection in the prior art;

[0042] Figure 1b A schematic diagram showing another user interface for an electronic terminal to perform fault detection in the prior art;

[0043] Figure 1c A schematic diagram showing another user interface for an electronic terminal to perform fault detection in the prior art;

[0044] Figure 2 A schematic diagram showing the structure of a terminal device according to an embodiment of the present application is shown;

[0045] Figure 3 A software structure block diagram of a terminal device according to an embodiment of the present application is shown;

[0046] Figure 4 A schematic diagram showing a method of performing fault detection using an electronic terminal according to an embodiment of the present application is shown;

[0047] Figure 5 A schematic diagram showing an electronic terminal and a detection server jointly performing fault detection according to an embodiment of the present application;

[0048] Figure 6 A flowchart showing the steps of a fault detection method performed by an electronic terminal side according to an embodiment of the present application is shown;

[0049] Figure 7 A flowchart showing the steps of a fault detection method performed by a detection server according to an embodiment of the present application;

[0050] Figure 8 A diagram showing a first user input performed on an electronic terminal according to an embodiment of the present application;

[0051] Figure 9a A diagram showing a user interface of an electronic terminal during fault detection according to an embodiment of the present application;

[0052] Figure 9b A diagram showing another user interface of an electronic terminal during fault detection according to an embodiment of the present application;

[0053] Fig.9c A diagram showing another user interface of an electronic terminal during fault detection according to an embodiment of the present application;

[0054] Fig.10 A diagram showing a user interface of a detection server during fault detection according to an embodiment of the present application;

[0055] Fig.11 A block diagram of an electronic terminal according to an embodiment of the present application is shown;

[0056] Fig.12 A block diagram of an electronic terminal according to another embodiment of the present application is shown. DETAILED DESCRIPTION

[0057] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0058] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0059] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.

[0060] The electronic terminal described in the present application may include, for example, mobile phones, tablet computers, wearable devices (e.g., watches, bracelets, smart helmets, etc.), vehicle-mounted devices, smart home devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc. Some embodiments of the present application take mobile phones as an example, and it is understandable that these embodiments may also be applied to other types of mobile terminals.

[0061] The application (application, app) involved in this application, which can be referred to as application, is a software program that can realize one or more specific functions. Usually, multiple applications can be installed in a mobile terminal, for example, sports applications, music applications, dictionary applications, etc. It can be understood that the application can be an application installed when the mobile terminal leaves the factory, or it can be an application downloaded from the Internet or obtained from other electronic devices by the user during the use of the mobile terminal. Third-party applications generally refer to applications developed by non-mobile terminal manufacturers. For example, for Huawei mobile phones, third-party applications can be applications developed by developers other than Huawei.

[0062] The users involved in this application may include the owner of the electronic terminal or the maintenance personnel who perform fault detection on the electronic terminal, etc. For the convenience of description below, the owner of the electronic terminal or the person who sends the electronic terminal to the service outlet is collectively referred to as a user, and the maintenance personnel who perform fault detection on the electronic terminal is collectively referred to as a detection user.

[0063] For security, privacy or aesthetic considerations, a mobile phone can be set to a lock screen. Only after unlocking the set lock screen can the functions of the mobile terminal be used normally. Otherwise, only some functions can be used. Figure 1a As shown in , when a lock screen password is set, when the phone screen is turned on, an unlock interface will be displayed on the phone screen. The user needs to enter the unlock password to unlock before entering the phone's main interface / application interface for normal operations.

[0064] Electronic terminals can set up a variety of lock screen methods, which can generally be divided into system lock screens and third-party lock screens. The system lock screen is a lock screen provided by the mobile terminal system itself, and the third-party lock screen is a lock screen provided by a third-party application installed on the mobile terminal. Among them, the system lock screen can include a secure lock screen and a non-secure lock screen. The so-called secure lock screen can be a pattern lock screen, a digital lock screen, a gesture lock screen, a fingerprint lock screen, a face lock screen, a voiceprint unlocking, or a mixed password lock screen (such as a combination of numbers and letters), which has the ability to verify the identity of the user. Usually, only users who know the password (authorized users) can unlock it; the non-secure lock screen is generally set up for non-security reasons such as aesthetics. It does not have the ability to verify the identity of the user, and unauthorized users can also unlock it. For example, a magazine lock screen is a common non-secure lock screen. It presents a wallpaper like a magazine cover on the mobile phone screen. Each user, including authorized users and unauthorized users, can unlock the non-secure lock screen according to the unlock prompt. In this case, the unlocking method is generally relatively simple, such as clicking the screen, sliding your finger (it can be left swipe, right swipe, up swipe, down swipe, diagonal swipe, etc.). Users can set different lock screen methods and their combinations according to their own needs. For example, users can set a secure lock screen, a non-secure lock screen, and a third-party lock screen at the same time, or set a secure lock screen and a third-party lock screen, or set a non-secure lock screen and a third-party lock screen, or only set a third-party lock screen.

[0065] In scenarios where fault detection is required, users need to Figure 1a Enter the unlock password of the mobile phone on the lock screen interface shown to unlock the mobile phone, and then start the maintenance mode by touching the relevant application on the user interface of the mobile phone. Figure 1b As shown, the user can touch the "Service" control on the user interface, and after entering the user interface corresponding to "Service", start the fault detection application in the mobile phone by selecting the control indicating fault detection on the user interface. Figure 1c On the interface shown, touch “Open” displayed on the interface to put the phone into “Maintenance Mode”.

[0066] In maintenance mode, the private data in the phone will be isolated, including photo albums, emails, memos, address books, payment applications, chat applications and other related data, to maximize the protection of user privacy from being leaked. In implementation, the above-mentioned private data can be encrypted using a security algorithm to achieve full isolation of private data.

[0067] However, the above-mentioned repair mode requires users to send or mail their phones directly to the fault detection network, and the detection users at the network will perform fault detection. Therefore, users are required to provide the lock screen password to the detection users, but this situation will greatly increase the possibility of leakage. Based on the above considerations, some users will restore their phones to factory settings to clear private data and then send the phone to the detection network, which will lead to irreversible loss of this part of private data, requiring users to back up data in advance, and some paid applications also require users to pay to download again.

[0068] In order to solve the above technical problems, the present application provides a fault detection method. The fault detection method of the embodiment of the present application can enable the electronic terminal to directly start the fault detection application and display the fault detection interface on the electronic terminal without entering an unlock password, thereby reducing the probability of privacy leakage and improving maintenance efficiency.

[0069] The electronic terminal involved in this application may refer to a device with a wireless connection function, and the wireless connection function means that it can be connected to other terminal devices through wireless connection methods such as WIFI and Bluetooth. The terminal device of this application may also have the function of communicating through wired connection. The electronic terminal of this application may be a touch screen or a non-touch screen, and the terminal device can be controlled by clicking or sliding on the display screen with a finger or a stylus.

[0070] Figure 2 The following is a schematic diagram showing the structure of a terminal device according to an embodiment of the present application. Taking a mobile phone as an example, Figure 2 A schematic structural diagram of a mobile phone 200 is shown.

[0071] The mobile phone 200 may include a processor 210, an external memory interface 220, an internal memory 221, a USB interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 251, a wireless communication module 252, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a SIM card interface 295, etc. The sensor module 280 may include a gyroscope sensor 280A, an acceleration sensor 280B, a proximity light sensor 280G, a fingerprint sensor 280H, and a touch sensor 280K (of course, the mobile phone 200 may also include other sensors, such as a temperature sensor, a pressure sensor, a distance sensor, a magnetic sensor, an ambient light sensor, an air pressure sensor, a bone conduction sensor, etc., which are not shown in the figure).

[0072] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile phone 200. In other embodiments of the present application, the mobile phone 200 may include more or fewer components than shown in the figure, or combine some components, or split 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.

[0073] The processor 210 may include one or more processing units, for example: the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural network processor (Neural-network Processing Unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. Among them, the controller can be the nerve center and command center of the mobile phone 200. The controller can generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.

[0074] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 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 210, and thus improves the efficiency of the system.

[0075] The processor 210 can run the fault detection method provided in the embodiment of the present application, so as to directly start the fault detection application without entering the unlock password. The processor 210 can include different devices. For example, when the CPU and GPU are integrated, the CPU and GPU can cooperate to execute the fault detection method provided in the embodiment of the present application. For example, part of the algorithm in the fault detection method is executed by the CPU, and the other part of the algorithm is executed by the GPU to obtain faster processing efficiency.

[0076] The display screen 294 is used to display images, videos, etc. The display screen 294 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), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone 200 may include 1 or N display screens 294, where N is a positive integer greater than 1. The display screen 294 can be used to display information input by a user or information provided to a user and various graphical user interfaces (GUI). For example, the display 294 can display photos, videos, web pages, or files, etc. For another example, the display 294 can display a graphical user interface. Among them, the graphical user interface includes a status bar, a hidden navigation bar, a time and weather widget, and application icons, such as a browser icon. The status bar includes the operator name (such as China Mobile), the mobile network (such as 4G), the time, and the remaining power. The navigation bar includes a back key icon, a home key icon, and a forward key icon. In addition, it can be understood that in some embodiments, the status bar may also include a Bluetooth icon, a Wi-Fi icon, an external device icon, etc. It can also be understood that in other embodiments, the graphical user interface may also include a Dock bar, and the Dock bar may include commonly used application icons, etc. When the processor 210 detects a touch event of a user's finger (or a stylus, etc.) for a certain application icon, in response to the touch event, the user interface of the application corresponding to the application icon is opened, and the user interface of the application is displayed on the display 294.

[0077] In the embodiment of the present application, the display screen 294 may be an integrated flexible display screen, or a spliced ​​display screen consisting of two rigid screens and a flexible screen located between the two rigid screens.

[0078] After the processor 210 runs the fault detection method provided in the embodiment of the present application, the terminal device can establish a connection with other terminal devices through antenna 1, antenna 2 or USB interface, and transmit data according to the fault detection method provided in the embodiment of the present application and control the display screen 294 to display the corresponding graphical user interface.

[0079] The camera 293 (a front camera or a rear camera, or one camera can be used as both a front camera and a rear camera) is used to capture still images or videos. Generally, the camera 293 may include a photosensitive element such as a lens group and an image sensor, wherein the lens group includes a plurality of lenses (convex lenses or concave lenses) for collecting light signals reflected by the object to be photographed and transmitting the collected light signals to the image sensor. The image sensor generates an original image of the object to be photographed based on the light signal.

[0080] The internal memory 221 can be used to store computer executable program codes, which include instructions. The processor 210 executes various functional applications and data processing of the mobile phone 200 by running the instructions stored in the internal memory 221. The internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area may store codes of operating systems, applications (such as camera applications, WeChat applications, etc.), etc. The data storage area may store data created during the use of the mobile phone 200 (such as images, videos, etc. collected by the camera application), etc.

[0081] The internal memory 221 may also store one or more computer programs 1310 corresponding to the fault detection method provided in the embodiment of the present application. The one or more computer programs 1304 are stored in the above-mentioned memory 221 and are configured to be executed by the one or more processors 210. The one or more computer programs 1310 include instructions, and the above-mentioned instructions can be used to execute such as Figures 3 to 8 , Figure 9a — Fig.9c or Fig.10 In the respective steps of the corresponding embodiment, the computer program 1310 may include a first receiving module 61, a first starting module 62, and a first display module 63. The first receiving module 61 is used to receive a first user input for performing fault detection on the electronic terminal when the electronic terminal displays a first interface; the first starting module 62 is used to start a fault detection application in response to the first user input; and the first display module 63 is used to display a fault detection interface of the fault detection application.

[0082] In addition, the internal memory 221 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.

[0083] Of course, the code of the fault detection method provided in the embodiment of the present application can also be stored in an external memory. In this case, the processor 210 can run the code of the fault detection method stored in the external memory through the external memory interface 220.

[0084] The functions of the sensor module 280 are described below.

[0085] The gyroscope sensor 280A can be used to determine the motion posture of the mobile phone 200. In some embodiments, the angular velocity of the mobile phone 200 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 280A. That is, the gyroscope sensor 280A can be used to detect the current motion state of the mobile phone 200, such as shaking or stillness.

[0086] When the display screen in the embodiment of the present application is a foldable screen, the gyroscope sensor 280A can be used to detect the folding or unfolding operation acting on the display screen 294. The gyroscope sensor 280A can report the detected folding operation or unfolding operation as an event to the processor 210 to determine the folded state or unfolded state of the display screen 294.

[0087] The acceleration sensor 280B can detect the magnitude of the acceleration of the mobile phone 200 in all directions (generally three axes). That is, the gyroscope sensor 280A can be used to detect the current motion state of the mobile phone 200, such as shaking or stillness. When the display screen in the embodiment of the present application is a foldable screen, the acceleration sensor 280B can be used to detect the folding or unfolding operation acting on the display screen 294. The acceleration sensor 280B can report the detected folding operation or unfolding operation as an event to the processor 210 to determine the folding state or unfolding state of the display screen 294.

[0088] The proximity light sensor 280G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The mobile phone emits infrared light outward through the light emitting diode. The mobile phone uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the mobile phone. When insufficient reflected light is detected, the mobile phone can determine that there is no object near the mobile phone. When the display screen in the embodiment of the present application is a foldable screen, the proximity light sensor 280G can be set on the first screen of the foldable display screen 294, and the proximity light sensor 280G can detect the size of the folding angle or unfolding angle between the first screen and the second screen based on the optical path difference of the infrared signal.

[0089] The gyroscope sensor 280A (or the acceleration sensor 280B) can send the detected motion state information (such as angular velocity) to the processor 210. The processor 210 determines whether the current state is handheld or tripod based on the motion state information (for example, when the angular velocity is not 0, it means that the mobile phone 200 is in the handheld state).

[0090] The fingerprint sensor 280H is used to collect fingerprints. The mobile phone 200 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0091] The touch sensor 280K is also called a "touch panel". The touch sensor 280K can be set on the display screen 294, and the touch sensor 280K and the display screen 294 form a touch screen, also called a "touch screen". The touch sensor 280K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 294. In other embodiments, the touch sensor 280K can also be set on the surface of the mobile phone 200, which is different from the position of the display screen 294.

[0092] Exemplarily, the display screen 294 of the mobile phone 200 displays a main interface, which includes icons of multiple applications (such as a camera application, a WeChat application, etc.). The user clicks the icon of the camera application in the main interface through the touch sensor 280K, triggering the processor 210 to start the camera application and turn on the camera 293. The display screen 294 displays the interface of the camera application, such as a viewfinder interface.

[0093] The wireless communication function of the mobile phone 200 can be realized through the antenna 1, the antenna 2, the mobile communication module 251, the wireless communication module 252, the modem processor and the baseband processor.

[0094] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in mobile phone 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0095] The mobile communication module 251 can provide a solution for wireless communication including 2G / 3G / 4G / 5G applied on the mobile phone 200. The mobile communication module 251 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 251 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 251 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 251 can be set in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 251 can be set in the same device as at least some of the modules of the processor 210. In an embodiment of the present application, the mobile communication module 251 can also be used to interact with other terminal devices for information. For example, the mobile communication module 251 can obtain a detection configuration file from the detection server after accessing a trusted WIFI hotspot.

[0096] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through a display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be set in the same device as the mobile communication module 251 or other functional modules.

[0097] The wireless communication module 252 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (WIFI) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the mobile phone 200. The wireless communication module 252 can be one or more devices integrating at least one communication processing module. The wireless communication module 252 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 210. The wireless communication module 252 can also receive the signal to be sent from the processor 210, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2. In an embodiment of the present application, the wireless communication module 252 is used to transmit data between other terminal devices under the control of the processor 210. For example, when the processor 210 runs the fault detection method provided in the embodiment of the present application, the processor can control the wireless communication module 252 to obtain a detection configuration file from the detection server and send verification information to the detection server. It can also receive the detection items sent to the electronic terminal by the detection server after determining that the verification is passed based on the above verification information, and then control the display screen 294 to display the detection process, so as to provide the user with intuitive visual feedback and enhance the user experience.

[0098] In addition, the mobile phone 200 can realize audio functions through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone interface 270D, and the application processor, etc. For example, music playing, recording, etc. In addition, the audio module 270 may also include a volume control key for adjusting the size of the audio output. The mobile phone 200 can receive the key 290 input and generate key signal input related to the user settings and function control of the mobile phone 200.

[0099] According to an exemplary embodiment of the present application, the mobile phone can receive or detect the user's operation of the volume control key through the button 290. In addition, the mobile phone can also receive or detect the user's operation of the power button through the button 290, so as to turn the mobile phone on or off. In addition, the button 290 can also receive the vibration prompt (such as the incoming call vibration prompt) generated by the mobile phone 200 using the motor 291. The indicator 292 in the mobile phone 200 can be an indicator light, which can be used to indicate the charging status, power changes, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 295 in the mobile phone 200 is used to connect the SIM card. The SIM card can be inserted into the SIM card interface 295, or pulled out from the SIM card interface 295, to achieve contact and separation with the mobile phone 200.

[0100] It should be understood that in actual applications, the mobile phone 200 may include Figure 2 The embodiments of the present application are not limited to the more or fewer components shown. The illustrated mobile phone 200 is only an example, and the mobile phone 200 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0101] The software system of the terminal device can 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 terminal device.

[0102] Figure 3 It is a software structure block diagram of the terminal device of an embodiment of the present application.

[0103] The layered architecture divides the software into several layers, each with clear roles 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: the application layer (i.e., APP layer), the application framework layer (i.e., Framework layer), the Android runtime and system library, and the kernel layer.

[0104] The application layer can include a series of application packages. Figure 3 As shown, the application package may include applications such as phone, camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

[0105] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0106] like Figure 3 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0107] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0108] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0109] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0110] The phone manager is used to provide communication functions for terminal devices, such as the management of call status (including answering, hanging up, etc.).

[0111] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0112] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the terminal device vibrates, the indicator light flashes, etc.

[0113] In general, the Framework layer provides developers with a complete access to the API framework used by the application. Specifically, the Framework layer provides a large number of APIs for developing applications, and by calling the corresponding APIs, you can construct an APP that meets relevant business needs.

[0114] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0115] 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.

[0116] 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.

[0117] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0118] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0119] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0120] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing. The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0121] For example, a fault detection application is installed in the application layer of the mobile phone 100. When the mobile phone 100 detects a trigger operation in which a user clicks on the icon of the fault detection application on the desktop, the fault detection application is triggered to call the corresponding API in the Framework layer to generate an action event (ActionEvent), which indicates that the icon of the fault detection application has been clicked. In addition, the Framework layer can generate one or more target tasks to process the action event, such as starting the relevant components of the fault detection application to display the home page content.

[0122] Figure 4 A scenario diagram showing fault detection performed using an electronic terminal according to an embodiment of the present application is shown.

[0123] like Figure 4As shown, if the user needs to perform fault detection or repair detection on the mobile phone, he can take the mobile phone to a convenient mobile phone repair outlet, or mail the mobile phone to a reliable mobile phone repair outlet. It should be noted that the fault detection or repair detection mentioned here does not indicate that the user's mobile phone must have a fault or must be repaired. There may also be a situation where the user wants to know the current operating status of the mobile phone, so he takes the mobile phone to a mobile phone repair outlet.

[0124] It should be noted that the fault detection mode or repair detection mode mentioned in the relevant technology needs to be performed by inspection personnel at mobile phone repair outlets. Ordinary users do not have the authority to perform fault detection or repair inspection on mobile phones. The mobile phone repair outlets mentioned here refer to repair outlets authorized by the mobile phone manufacturers or repair outlets directly operated by the mobile phone manufacturers.

[0125] like Figure 4 As shown, after receiving the mobile phone, the inspector should first determine whether the user of the mobile phone has signed the maintenance privacy agreement. If not, the user can be guided to fill in the maintenance privacy agreement online or in writing. Subsequently, the inspecting user can directly start the fault detection application of the mobile phone through the fault detection method of this application, and can see that the mobile phone displays the fault detection interface of the fault detection application. During this period, the inspecting user can also use Figure 4 The electronic terminal connected to the detection server shown in the figure displays and selects the verification information and detection items to be set for the mobile phone.

[0126] It should be noted that Figure 4 The detection server shown in the figure can indicate a single server or a server group connected together according to a specific connection rule, and the server group can include a physical server or a virtual server. An electronic terminal connected to the detection server can display an interface generated using the WebUI, which is convenient for detection personnel to operate various controls on the interface.

[0127] The following will refer to Figure 5 Describe the specific process in detail. Figure 5 A schematic diagram showing an electronic terminal and a detection server jointly performing fault detection according to an embodiment of the present application is shown.

[0128] exist Figure 5 The user 510 shown in the figure indicates the detection user who performs fault detection on the mobile phone. At this time, the mobile phone 520 shows the first interface, that is, the mobile phone 520 is in the running state, wherein the first interface can be a lock screen interface, for example, the first interface can be as follows Figure 1aIn this state, the user 510 cannot perform operations on the application in the mobile phone 520. Alternatively, the first interface may be an application interface presented during the execution of various application programs by the mobile phone 520, for example, it may be a product interface for the user 510 to purchase a product, or a page for the user 510 to view various mobile phone parameters in the mobile phone 510.

[0129] When the mobile phone 520 displays the first interface, the user 510 can execute the first user input, and after receiving the first user input, the mobile phone 520 can start the fault detection application in the mobile phone and display the fault detection page. In other words, no matter what interface is displayed by the mobile phone 520, the mobile phone 520 can directly call the framework layer in the mobile phone to start the existing fault detection application without entering the unlock password.

[0130] In an implementation, the first user input may be Figure 8 As shown, that is, when the universal serial bus (USB) interface of the mobile phone is connected, a first user input of pressing the volume up button and the power button at the same time to meet the preset time period is received. Preferably, the preset time period can be 6 seconds. It should be noted that the first user input is an action preset by the developer. In order to ensure that the user 510 can use the first user input to perform fault detection operations on various mobile phones, the first user input is fixedly set by the developer to the same action.

[0131] Then, the Framework layer monitors the first user input using the key 290, starts the fault detection application and displays the fault detection interface corresponding to the fault detection application. Figure 9a As shown, the mobile phone can display a fault detection page, and under the guidance of the control on the fault detection page, touch the control indicating entering the detection mode, so that the mobile phone can display the following Figure 9b As shown, a communication connection hotspot can be provided to users for network connection.

[0132] In implementation, the fault detection application can search for WIFI hotspots and provide the user with the safe WIFI hotspots verified as safe in the searched WIFI hotspot list. As an example, the service set identifier (ie, SSID) can be displayed as a WIFI with a specific name (e.g., HuaweiService) in the WIFI hotspot list and provided to the user.

[0133] like Figure 5As shown, the user can enter a second user input, including selecting a WIFI hotspot and entering a password corresponding to the selected WIFI hotspot. The mobile phone accesses the WIFI hotspot after receiving the correct password. Subsequently, the mobile phone establishes a communication connection with the detection server corresponding to the mobile phone. In implementation, each mobile phone determines a detection server that matches it according to the home (production area) of the mobile phone. Generally speaking, the detection server can determine the detection server of each mobile phone according to the continent where the home of each mobile phone is located.

[0134] For example, when the location of the mobile phone 520 is China, the detection server of the mobile phone 520 may be a detection server corresponding to Asia. In implementation, the location of the mobile phone 520 may be determined by the mobile phone 520 automatically reporting or searching the location from the mobile phone 520, and then the detection server corresponding to the mobile phone 520 may be determined.

[0135] In implementation, the detection configuration file set by the detection server 530 is a file suitable for various types of mobile phones, and the detection configuration file can be adjusted according to the location of each mobile phone in accordance with local / national requirements for fault detection. In other words, the detection configuration file is a configuration file dynamically adjusted and generated by the detection server.

[0136] As an example, the detection profile may include an area supporting the fault detection, a type of electronic terminal, and a detection item, wherein an area supporting the fault detection refers to an area where the fault detection can be performed according to a local detection policy. Figure 5 As shown, the mobile phone 520 will receive the detection configuration file from the detection server 530. The mobile phone 520 can determine whether the area of ​​the mobile phone is included in the area of ​​the fault detection, thereby determining whether the mobile phone 520 supports this fault detection. It has been mentioned above that the detection server 530 can only obtain the location of the mobile phone 520, but the location is usually based on the country or even the continent, and each continent or even different regions of each country may have opposite results as to whether fault detection is supported. Therefore, after receiving the detection configuration file, the mobile phone 520 needs to determine whether the mobile phone 520 supports detection based on the areas that support fault detection in the detection configuration file. If the mobile phone 520 does not support the fault detection, exit the process.

[0137] Taking the mobile phone 520 as an example, the type of the electronic terminal supporting the fault detection may be the model of the mobile phone. Different mobile phone models have different hardware configurations. For example, some mobile phone models include dual SIM cards, while some mobile phone models are single SIM cards. Therefore, the detection server 530 may determine whether the detection terminal supports the fault detection and the detection items supporting the fault detection according to the type of the electronic terminal.

[0138] Taking mobile phone 520 as an example, the detection items mentioned in the detection configuration file refer to the detection items executable for mobile phone 520. The detection items here are detection items executable for various mobile phones but not necessarily applicable to mobile phone 520, including battery detection, screen detection, performance detection, etc. The following will be described with reference to the specific steps of determining the detection items.

[0139] After determining that the mobile phone 510 supports fault detection, the user 510 can use the detection server 530 to generate preset verification information for the fault detection and at least one detection item that is expected to be performed, wherein the preset verification information is to ensure that the user performing the fault detection is an authorized user, that is, to ensure that the user 510 is a detection user who has the authority to perform fault detection on the mobile phone 510.

[0140] The preset verification information may be a verification code composed of numbers, letters, punctuation marks, etc. In implementation, in order to facilitate the operation 510, the processing performed by the detection server may be visualized and presented to the user 510 using WebUI technology. Fig.10 The interface shown is exactly the interface generated by the detection server using the WebUI technology. On this interface, the user 510 can pre-set the verification information and select the detection items that are expected to be performed on the mobile phone 510.

[0141] Then, the mobile phone 520 may display Fig.9c As shown, that is, the user 510 is prompted to enter the verification information for this fault detection, and then the user can enter the verification information at the relevant position on the interface, and the mobile phone 520 sends the verification information to the detection server 530 after receiving the verification information. Figure 5 As shown, the detection server 530 can verify the verification information using the preset verification information, and after the verification is passed, send at least one detection item set by the user to the mobile phone 520. If the verification fails, the user is prompted to enter the correct verification information until the verification is passed.

[0142] After receiving at least one detection item, the mobile phone 520 can use the detection items in the detection configuration file to filter the at least one detection item, and after filtering, generate a final detection item. As an example, each detection item in the detection configuration file is set for all mobile phones, and when the user 510 selects at least one detection item, he does not consider whether the detection item can be detected on the mobile phone 520, but only considers the detection item that is expected to be detected.

[0143] Therefore, after at least one detection item is sent to the mobile phone 520, the mobile phone 520 screens these detection items. As an example, the mobile phone 520 can screen these detection items according to the detection configuration file. Specifically, the mobile phone 520 can obtain information related to these detection items, including the hardware configuration of the mobile phone 510, software installation information, etc., and then use this information to screen these detection items, filter out the detection items that do not meet the fault detection, and determine the final detection items. As an example, the mobile phone 520 can obtain the model of the mobile phone 520, and determine the list of detection items supported by the model of the mobile phone 520 according to the model of the mobile phone 520, and use the list of detection items to screen at least one detection item to determine the final detection item of the mobile phone 520.

[0144] During implementation, if it is determined that all detection items do not support detection, the process is exited.

[0145] Subsequently, the fault detection application in the mobile phone 520 may perform fault detection on the mobile phone 520 according to the final detection items, and send the detection result of the fault detection to the detection server.

[0146] In implementation, after the mobile phone 520 completes the detection, the detection result can be sent to the detection server. Subsequently, the mobile phone 520 can be controlled to exit the fault detection page, disconnect the connected WIFI hotspot and delete the detection data related to this fault detection.

[0147] In order to better describe the exemplary embodiments of the present application, the steps performed by each of the electronic terminal side and the detection server side will be described in detail below.

[0148] Figure 6 A flowchart of the steps of a fault detection method executed by an electronic terminal side according to an embodiment of the present application is shown.

[0149] like Figure 6 As shown, in step S610, when the electronic terminal displays the first interface, a first user input for performing fault detection on the electronic terminal is received. Specifically, it includes: when it is detected that the universal serial bus interface of the electronic terminal is connected, a first user input of pressing the volume up button and the power button at the same time for a preset time period is received.

[0150] In step S620 , in response to the first user input, a fault detection application is started.

[0151] In step S630, a fault detection interface of the fault detection application is displayed.

[0152] Optionally, the first interface includes a lock screen interface of the electronic terminal in a lock screen state or an application interface presented by the electronic terminal during execution of an application program.

[0153] Optionally, after displaying the fault detection interface of the fault detection application, the method further includes: displaying a list of secure network connection hotspots that are verified to be secure among the searched network connection hotspots; receiving a second user input, wherein the second user input includes selecting a first network connection hotspot from the list of network connection hotspots and entering a connection password for the first network connection hotspot; and in response to the second user input, accessing the first network connection hotspot.

[0154] Optionally, after accessing the first network connection hotspot, the method further includes: acquiring a detection configuration file for the electronic terminal from a detection server corresponding to the electronic terminal; and determining, using the detection configuration file, whether the electronic terminal supports the fault detection.

[0155] Optionally, after determining that the electronic terminal supports fault detection, the method further includes: displaying a diagnostic analysis interface for indicating input of verification information for the fault detection; receiving the verification information input by the user in the diagnostic analysis interface; and sending the verification information to the detection server.

[0156] Optionally, after sending the verification information to the detection server, the method further includes: when the verification information is verified by the detection server using preset verification information, obtaining at least one detection item of the fault detection from the detection server, wherein the at least one detection item is selected by the user on the detection item generation interface, and wherein the detection item generation interface also includes a control for guiding the user to set the preset verification information.

[0157] Optionally, when the verification information is verified by the detection server using the preset verification information, after obtaining at least one detection item of the fault detection from the detection server, the method also includes: using the detection configuration file to screen the at least one detection item to determine the final detection item that the electronic terminal can execute.

[0158] Optionally, after determining the final detection items that the electronic terminal can perform, the method further includes: referring to the final detection items, performing detection on the electronic terminal to obtain detection results; and sending the detection results to the detection server.

[0159] Optionally, the detection configuration file includes an area supporting the fault detection, a type of electronic terminal, and detection items.

[0160] Figure 7 A flowchart of the steps of a fault detection method performed by a detection server according to an embodiment of the present application is shown.

[0161] like Figure 7In step S710, a detection configuration file of the electronic terminal for directly performing fault detection without inputting an unlock password is determined.

[0162] In step S720, the detection configuration file is sent to the electronic terminal.

[0163] Optionally, the detection configuration file includes an area supporting fault detection on the electronic terminal, a type of the electronic terminal, and detection items.

[0164] Optionally, after sending the detection configuration file to the electronic terminal, the method further includes: when displaying a detection item generation interface, receiving at least one detection item selected by a user on the detection item generation interface and preset verification information set by the user for the fault detection.

[0165] Optionally, the method, after receiving at least one detection item selected by the user on the detection item generation interface and verification information set by the user for the fault detection when displaying the detection item generation interface, further includes: using the preset verification information to verify the verification information received from the electronic terminal and entered by the user on the electronic terminal; after the verification is passed, sending the at least one detection item to the electronic terminal.

[0166] Optionally, after the verification is passed and after the at least one detection item is sent to the electronic terminal, the method further includes: receiving a detection result for the fault detection from the electronic terminal.

[0167] It is understandable that, in order to realize the above functions, the above-mentioned terminals etc. include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present application.

[0168] The embodiment of the present application can divide the functional modules of the above-mentioned terminal etc. according to the above-mentioned method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0169] In the case of dividing each functional module into corresponding functional modules, Fig.11 A possible structural schematic diagram of the electronic terminal involved in the above-mentioned embodiment is shown, and the electronic device includes: a first receiving module 1101, a first starting module 1102 and a first display module 1103, wherein the first receiving module 1101 is used to receive a first user input for performing fault detection on the electronic terminal when the electronic terminal displays a first interface; the first starting module 1102 is used to start a fault detection application in response to the first user input; and the first display module 1103 is used to display a fault detection interface of the fault detection application.

[0170] Optionally, the first interface includes a lock screen interface of the electronic terminal in a lock screen state and / or an application interface presented by the electronic terminal during execution of an application program.

[0171] Optionally, the first receiving module 1101 is specifically configured to receive a first user input of simultaneously pressing a volume up button and a power button for a preset time period when it is detected that the universal serial bus interface of the electronic terminal is connected.

[0172] Optionally, the electronic terminal also includes a network display module, a second receiving module and a hotspot access module, the network display module is used to display a list of secure network connection hotspots that are verified to be secure among the searched network connection hotspots; the second receiving module is used to receive a second user input, wherein the second user input includes selecting a first network connection hotspot from the network connection hotspot list and entering a connection password for the first network connection hotspot; the access module is used to access the first network connection hotspot in response to the second user input.

[0173] Optionally, the electronic terminal further includes a detection configuration file acquisition module and a support module, wherein the detection configuration file acquisition module acquires a detection configuration file for the electronic terminal from a detection server corresponding to the electronic terminal; the support module is used to use the detection configuration file to determine whether the electronic terminal supports the fault detection.

[0174] Optionally, the electronic terminal also includes a diagnostic analysis interface display module, a verification information receiving module and a verification information sending module, wherein the diagnostic analysis interface display module is used to display a diagnostic analysis interface for indicating the input of verification information for the fault detection; the verification information receiving module is used to receive the verification information input by the user in the diagnostic analysis interface; and the verification information sending module is used to send the verification information to the detection server.

[0175] Optionally, the electronic terminal also includes a detection item acquisition module, which is used to obtain at least one detection item of the fault detection from the detection server when the verification information is verified by the detection server using preset verification information, wherein the at least one detection item is selected by the user on the detection item generation interface, and the detection item generation interface also includes a control for guiding the user to set the preset verification information.

[0176] Optionally, the electronic terminal further comprises a final detection item determination module, and the final detection item determination module is used to screen the at least one detection item by using the detection configuration file to determine a final detection item that can be executed by the electronic terminal.

[0177] Optionally, the electronic terminal further includes a detection result acquisition module and a detection result sending module, wherein the detection result acquisition module is used to refer to the final detection item, perform detection on the electronic terminal, and obtain the detection result; the detection result sending module is used to send the detection result to the detection server.

[0178] Optionally, the detection configuration file includes an area supporting the fault detection, a type of electronic terminal, and detection items.

[0179] Similarly, Fig.12 FIG. 1 is a block diagram of an electronic terminal according to another embodiment of the present application. In implementation, Fig.12 The electronic terminals shown are Fig.11 The electronic terminal in the detection server performs communication transmission.

[0180] The electronic terminal includes a detection profile determining module 1201 and a detection profile sending module 1202, wherein the detection profile determining module 1201 is used to determine a detection profile of the electronic terminal that directly performs fault detection without inputting an unlock password; the detection profile sending module 1202 is used to send the detection profile to the electronic terminal.

[0181] Optionally, the detection configuration file includes an area supporting fault detection on the electronic terminal, a type of the electronic terminal, and detection items.

[0182] The electronic terminal further comprises an information receiving module, wherein the information receiving module is used to receive at least one detection item selected by a user on the detection item generation interface and preset verification information set by the user for the fault detection.

[0183] The electronic terminal also includes a verification module and a detection item sending module, wherein the verification module is used to use the preset verification information to perform verification on the verification information received from the electronic terminal and input by the user on the electronic terminal; the detection item sending module is used to send the at least one detection item to the electronic terminal after the verification is passed.

[0184] The electronic terminal further comprises a detection result receiving module, which is used to receive a detection result for the fault detection from the electronic terminal.

[0185] An embodiment of the present application provides an electronic terminal, comprising: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to implement the above method when executing the instructions.

[0186] An embodiment of the present application provides a non-volatile computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the above method is implemented.

[0187] An embodiment of the present application provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.

[0188] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disc (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing.

[0189] The computer-readable program instructions or codes described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0190] The computer program instructions for performing the operation of the present application may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, by utilizing the state information of computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), the electronic circuit can execute the computer-readable program instructions to implement various aspects of the present application.

[0191] Various aspects of the present application are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0192] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0193] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0194] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the device, system, method and computer program product according to multiple embodiments of the present application. In this regard, each square frame in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the square frame can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square frames can actually be executed substantially in parallel, and they can also be executed in reverse order sometimes, depending on the functions involved.

[0195] It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by hardware (such as a circuit or ASIC (Application Specific Integrated Circuit)) that performs the corresponding function or action, or can be implemented by a combination of hardware and software, such as firmware.

[0196] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0197] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A fault detection method, characterized in that: include: In a state where the electronic terminal displays a first interface, receiving a first user input for performing fault detection on the electronic terminal, wherein the first interface at least includes a lock screen interface of the electronic terminal in a lock screen state; In response to a first user input, launching a fault detection application; Displaying a fault detection interface of the fault detection application, wherein the fault detection application is used to monitor device faults without reading personal data; After accessing the first network connection hotspot, obtaining a detection configuration file for the electronic terminal from a detection server corresponding to the electronic terminal, wherein the detection configuration file is a configuration file dynamically adjusted and generated by the detection server; Using the detection configuration file, it is determined that the electronic terminal supports the fault detection.

2. The method according to claim 1, characterized in that The first interface also includes an application interface presented by the electronic terminal during the execution of an application program.

3. The method according to claim 1, characterized in that In a state where the electronic terminal displays a first interface, receiving a first user input for performing fault detection on the electronic terminal includes: When it is detected that the universal serial bus interface of the electronic terminal is connected, a first user input of pressing a volume up button and a power button simultaneously for a preset time period is received.

4. The method according to any one of claims 1 to 3, characterized in that: After displaying the fault detection interface of the fault detection application, the method further includes: Display a list of secure network connection hotspots that are verified to be secure among the searched network connection hotspots; Receiving a second user input, wherein the second user input includes selecting a first network connection hotspot from the network connection hotspot list and inputting a connection password for the first network connection hotspot; In response to the second user input, the first network connection hotspot is accessed.

5. The method according to claim 1, characterized in that After determining that the electronic terminal supports fault detection, the method further includes: Displaying a diagnostic analysis interface for instructing input of verification information for the fault detection; Receiving the verification information input by the user in the diagnostic analysis interface; The verification information is sent to the detection server.

6. The method according to claim 5, characterized in that After sending the verification information to the detection server, the method further includes: When the verification information is verified by the detection server using preset verification information, at least one detection item of the fault detection is obtained from the detection server, wherein the at least one detection item is selected by the user on the detection item generation interface, and the detection item generation interface also includes a control for guiding the user to set the preset verification information.

7. The method according to claim 6, characterized in that In a case where the verification information is verified by the detection server using the preset verification information, after obtaining at least one detection item of the fault detection from the detection server, the method further includes: The at least one detection item is screened using the detection configuration file to determine a final detection item that can be executed by the electronic terminal.

8. The method according to claim 7, characterized in that After determining the final detection item that the electronic terminal can perform, the method further includes: Referring to the final detection item, performing detection on the electronic terminal to obtain a detection result; The detection result is sent to the detection server.

9. The method according to any one of claims 1, 5 to 8, characterized in that: The detection configuration file includes an area supporting the fault detection, a type of electronic terminal, and detection items.

10. A fault detection method, characterized in that: include: Determine a detection profile for an electronic terminal that directly performs fault detection without entering an unlock password; The detection configuration file is sent to the electronic terminal, and the electronic terminal is used to receive a first user input for performing fault detection on the electronic terminal when a first interface is displayed, wherein the first interface at least includes a lock screen interface of the electronic terminal in a lock screen state; in response to the first user input, a fault detection application is started; a fault detection interface of the fault detection application is displayed, and the fault detection application is used to monitor device faults without reading personal data; after accessing a first network connection hotspot, a detection configuration file for the electronic terminal is obtained from a detection server corresponding to the electronic terminal, and the detection configuration file is a configuration file dynamically adjusted and generated by the detection server; using the detection configuration file, it is determined that the electronic terminal supports the fault detection.

11. The method according to claim 10, characterized in that The detection configuration file includes an area supporting fault detection on the electronic terminal, a type of the electronic terminal, and detection items.

12. The method according to claim 10 or 11, characterized in that After sending the detection configuration file to the electronic terminal, the method further includes: When the detection item generation interface is displayed, at least one detection item selected by a user on the detection item generation interface and preset verification information set by the user for the fault detection are received.

13. The method according to claim 12, characterized in that In the case of displaying the detection item generation interface, after receiving at least one detection item selected by the user on the detection item generation interface and verification information set by the user for the fault detection, the method further includes: Using the preset verification information, verifying the verification information received from the electronic terminal and input by the user on the electronic terminal; After the verification is passed, the at least one detection item is sent to the electronic terminal.

14. The method according to claim 13, characterized in that After the verification is passed, after the at least one detection item is sent to the electronic terminal, the method further includes: A detection result for the fault detection is received from the electronic terminal.

15. An electronic terminal, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the method of any one of claims 1-9 or the method of any one of claims 10-14 when executing the instructions.

16. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method described in any one of claims 1 to 9 is implemented, or the method described in any one of claims 10 to 14 is implemented.

Citation Information

Cited By

  • Fault detection method and electronic terminal

    WO2022078095A1