[go: up one dir, main page]

CN110471803A - A physical hardware operation method, electronic equipment, storage medium and chip - Google Patents

A physical hardware operation method, electronic equipment, storage medium and chip Download PDF

Info

Publication number
CN110471803A
CN110471803A CN201910605294.3A CN201910605294A CN110471803A CN 110471803 A CN110471803 A CN 110471803A CN 201910605294 A CN201910605294 A CN 201910605294A CN 110471803 A CN110471803 A CN 110471803A
Authority
CN
China
Prior art keywords
physical hardware
interface
electronic device
detection
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910605294.3A
Other languages
Chinese (zh)
Other versions
CN110471803B (en
Inventor
杨楚琳
蒋喆西
谢鲁冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910605294.3A priority Critical patent/CN110471803B/en
Publication of CN110471803A publication Critical patent/CN110471803A/en
Application granted granted Critical
Publication of CN110471803B publication Critical patent/CN110471803B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请提供一种物理硬件操作方法、电子设备、存储介质及芯片,其中方法包括接收用户的第一操作,响应于第一操作显示第一界面,第一界面包括物理硬件的可视化图形,可视化图形与电子设备中的物理硬件一一对应;接收用户在第一界面的第二操作,第二操作用于启动被操作的可视化图形对应的物理硬件;响应于第二操作,显示第二界面,第二界面显示被操作的物理硬件的执行状态信息。通过将真实的物理硬件用可视化的图形显示在第一界面,从而可使得用户很容易辨别出物理硬件的可视化图形,当用户需要对某个或某几个物理硬件进行操作时,可以快速的确定出物理硬件对应的可视化图形,从而可提高用户对物理硬件操作的效率。

The present application provides a method for operating physical hardware, electronic equipment, a storage medium, and a chip, wherein the method includes receiving a first operation from a user, and displaying a first interface in response to the first operation, the first interface includes visual graphics of physical hardware, and the visual graphics One-to-one correspondence with the physical hardware in the electronic device; receiving the second operation of the user on the first interface, the second operation is used to start the physical hardware corresponding to the operated visual graphics; in response to the second operation, display the second interface, the second The second interface displays the execution status information of the physical hardware being operated. By displaying the real physical hardware with visual graphics on the first interface, the user can easily identify the visual graphics of the physical hardware. When the user needs to operate one or several physical hardware, it can be quickly determined. Visual graphics corresponding to physical hardware can be produced, thereby improving the efficiency of users' operations on physical hardware.

Description

一种物理硬件操作方法、电子设备、存储介质及芯片A physical hardware operation method, electronic equipment, storage medium and chip

技术领域technical field

本申请涉及硬件操作技术领域,尤其涉及一种物理硬件操作方法、电子设备、存储介质及芯片。The present application relates to the technical field of hardware operation, and in particular to a physical hardware operation method, electronic equipment, storage media and chips.

背景技术Background technique

随着电子设备的普及和发展,电子设备已成为日常生活中重要的一部分。为了满足用户繁杂的业务需求,电子设备提供的功能越来越多,其中,部分功能需要通过物理硬件来实现,例如拍照、看视频、听音频等。With the popularization and development of electronic equipment, electronic equipment has become an important part of daily life. In order to meet the complex business needs of users, electronic devices provide more and more functions, some of which need to be realized by physical hardware, such as taking pictures, watching videos, listening to audio, and so on.

当用户对这些物理硬件进行操作时,用户并不能感知到电子设备在对这些物理硬件的操作。以对物理硬件的检测为例说明。对物理硬件的检测是电子设备自带的一项功能,目前,对物理硬件的检测包括以下过程:第一步,用户在如图1a所示的界面上点击开始检测,跳转至如图1b所示的界面,用户从列表中选择需要检测的物理硬件、如图1b所示,选择WLAN、蓝牙、重力感应、距离感应和光线感应的物理硬件,之后跳转至如图1c所示的界面,之后电子设备开始对选择的物理硬件进行检测,但是在该检测过程中,用户不能获知各个物理硬件的检测情况。而且,列表中有些硬件的名称比较术语,用户不容易理解名称对应的具体物理硬件是什么。When the user operates the physical hardware, the user cannot perceive that the electronic device is operating the physical hardware. Take the detection of physical hardware as an example. The detection of physical hardware is a built-in function of electronic equipment. At present, the detection of physical hardware includes the following process: the first step, the user clicks on the interface shown in Figure 1a to start detection, and jumps to the interface shown in Figure 1b In the interface shown, the user selects the physical hardware to be detected from the list, as shown in Figure 1b, selects the physical hardware of WLAN, Bluetooth, gravity sensing, distance sensing and light sensing, and then jumps to the interface shown in Figure 1c , and then the electronic device starts to detect the selected physical hardware, but during the detection process, the user cannot know the detection status of each physical hardware. Moreover, the names of some hardware in the list compare terms, and it is not easy for users to understand what specific physical hardware the names correspond to.

发明内容Contents of the invention

本申请提供一种物理硬件操作方法、电子设备、存储介质及芯片,用于提高用户对物理硬件操作的效率。The present application provides a method for operating physical hardware, electronic equipment, a storage medium, and a chip, which are used to improve the user's efficiency in operating physical hardware.

第一方面,本申请提供一种物理硬件操作方法,该方法可应用于电子设备。该方法包括接收用户的第一操作,响应于第一操作显示第一界面,第一界面包括物理硬件的可视化图形,可视化图形与电子设备中的物理硬件一一对应;接收用户在第一界面的第二操作,第二操作用于启动被操作的可视化图形对应的物理硬件;响应于第二操作,显示第二界面,第二界面显示被操作的物理硬件的执行状态信息。In a first aspect, the present application provides a physical hardware operation method, which can be applied to electronic equipment. The method includes receiving a first operation of a user, and displaying a first interface in response to the first operation, the first interface includes visual graphics of physical hardware, and the visual graphics correspond to physical hardware in the electronic device; The second operation, the second operation is used to start the physical hardware corresponding to the operated visualization graph; in response to the second operation, a second interface is displayed, and the second interface displays the execution status information of the operated physical hardware.

基于该方案,通过将真实的物理硬件用可视化的图形显示在第一界面,从而可使得用户很容易辨别出物理硬件的可视化图形,当用户需要对某个或某几个物理硬件进行操作时,可以快速的确定出物理硬件对应的可视化图形,从而可提高用户对物理硬件操作的效率。Based on this solution, by displaying the real physical hardware with visual graphics on the first interface, the user can easily identify the visual graphics of the physical hardware. When the user needs to operate one or several physical hardware, The visual graphics corresponding to the physical hardware can be quickly determined, thereby improving the efficiency of the user's operation of the physical hardware.

在一种可能的实现方式中,物理硬件的可视化图形在第一界面的位置可与物理硬件在电子设备中的位置相同。In a possible implementation manner, the position of the visualized graphic of the physical hardware on the first interface may be the same as the position of the physical hardware in the electronic device.

如下分情形详细介绍用户在第一界面进行第二操作的后,显示的第二界面。The second interface displayed after the user performs the second operation on the first interface will be described in detail as follows.

情形1,第二操作为检测物理硬件操作。In case 1, the second operation is to detect physical hardware operations.

在该情形1中,该物理硬件检测操作用于启动被操作的可视化图形对应的物理硬件的检测。具体可以是:响应于物理硬件检测操作,显示物理硬件检测的界面,物理硬件检测的界面包括被检测的物理硬件的检测信息。通过上述情形1对物理硬件的检测方式,可排查出有故障的物理硬件。而且,通过将物理硬件用可视化的图形与电子设备中真实的物理硬件关联起来,可使得用户很容易辨别出物理硬件的可视化图形。In this case 1, the physical hardware detection operation is used to start the detection of the physical hardware corresponding to the visualized graphic being operated. Specifically, it may be: in response to the physical hardware detection operation, displaying a physical hardware detection interface, where the physical hardware detection interface includes detection information of the detected physical hardware. Through the detection method of the physical hardware in the above scenario 1, the faulty physical hardware can be found out. Moreover, by associating the visualized graph of the physical hardware with the real physical hardware in the electronic device, the user can easily identify the visualized graph of the physical hardware.

示例性地,检测信息包括当前正在进行检测的物理硬件、以及正在进行检测的物理硬件的检测进度。Exemplarily, the detection information includes the physical hardware currently being detected and the detection progress of the physical hardware being detected.

为了能提高检测的效率,第一界面还包括一键全检操作项,一键全检操作项用于启动电子设备上的全部可视化图形对应的物理硬件的检测。In order to improve detection efficiency, the first interface further includes a one-key full-check operation item, which is used to start the detection of physical hardware corresponding to all visual graphics on the electronic device.

情形2,第二操作为物理硬件详情查看操作。In case 2, the second operation is to check the physical hardware details.

在该情形2中,该物理硬件详情查看操作用于启动被操作的可视化图形对应的物理硬件的详情查看。具体可为:响应于物理硬件详情查看操作,显示物理硬件详情界面,物理硬件详情界面包括被查看的物理硬件的关联信息。其中,关联信息包括购买链接、使用说明、维修网点、功能介绍、推荐的关联内容中的任一项或任多项。如此,通过上述物理硬件详情查看,用户可以高效的获取到各个物理硬件的关联信息。In the case 2, the operation of checking the details of the physical hardware is used to start checking the details of the physical hardware corresponding to the visualized graphic being operated. Specifically, it may be: in response to an operation of viewing physical hardware details, displaying a physical hardware details interface, where the physical hardware details interface includes associated information of the checked physical hardware. Wherein, the associated information includes any one or more items of purchase links, instructions for use, repair outlets, function introductions, and recommended associated content. In this way, through the detailed view of the above physical hardware, the user can efficiently obtain the associated information of each physical hardware.

情形3,第二操作为物理硬件运行过程中电流的流向查看操作。In case 3, the second operation is to check the flow of current during the running of the physical hardware.

在该情形3中,第二操作为物理硬件运行过程中电流的流向查看操作,物理硬件运行过程中电流的流向查看操作作用于启动被操作的可视化图形对应的物理硬件的电流的流向的显示;具体可为:响应于物理硬件运行过程中电流的流向查看操作,显示物理硬件运行过程中电流的流向查看的界面,物理硬件运行过程中电流的流向查看的界面包括被操作的物理硬件的电流的可视化流向。如此,用户可以在等待被操作物理硬件加载过程中,可以感知到电子设备中该物理硬件在后台的运行进程,有助于缓减用户等待的焦虑情绪。In this case 3, the second operation is the operation of checking the flow of current during the operation of the physical hardware, and the operation of checking the flow of current during the operation of the physical hardware is used to start the display of the flow of the current of the physical hardware corresponding to the visualized graphic being operated; Specifically, it can be: in response to the operation of viewing the current flow during the operation of the physical hardware, an interface for viewing the current flow during the operation of the physical hardware is displayed, and the interface for viewing the current flow during the operation of the physical hardware includes the current of the operated physical hardware Visualize flow. In this way, the user can perceive the running process of the physical hardware in the electronic device in the background while waiting for the physical hardware to be operated to load, which helps to alleviate the user's anxiety of waiting.

在一种可能的实现方式中,可以在电子设备的显示屏上提供入口控件,入口控件可用于接收用户的第一操作。In a possible implementation manner, an entry control may be provided on a display screen of the electronic device, and the entry control may be used to receive a user's first operation.

第二方面,本申请提供一种电子设备,该电子设备包括显示屏,一个或多个处理器,一个或多个存储器,以及一个或多个计算机程序,其中一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令,当指令被电子设备执行时,使得电子设备执行上述第一方面或第一方面的任意可能的实现方式中的方法。In a second aspect, the present application provides an electronic device, which includes a display screen, one or more processors, one or more memories, and one or more computer programs, wherein the one or more computer programs are stored in In the memory, one or more computer programs include instructions, and when the instructions are executed by the electronic device, the electronic device executes the method in the above first aspect or any possible implementation manner of the first aspect.

第三方面,本申请还提供一种装置,该装置包括执行上述第一方面或第一方面的任意可能的实现方式中的方法的模块/单元。这些模块/单元可以通过硬件实现,也可以通过硬件执行相应的软件实现。In a third aspect, the present application further provides an apparatus, which includes a module/unit for performing the method in the first aspect or any possible implementation manner of the first aspect. These modules/units can be realized by hardware, and can also be realized by executing corresponding software by hardware.

第四方面,本申请还提供一种计算机可读存储介质,计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得电子设备执行上述第一方面或第一方面的任意可能的实现方式中的方法。In the fourth aspect, the present application also provides a computer-readable storage medium, the computer-readable storage medium includes a computer program, and when the computer program is run on the electronic device, the electronic device is made to execute the above-mentioned first aspect or any possibility of the first aspect. method in the implementation of .

第五方面,本申请实施例还提供一种包含计算机程序产品,当计算机程序产品在终端上运行时,使得电子设备执行上述第一方面或第一方面的任意可能的实现方式中的方法。In the fifth aspect, the embodiment of the present application further provides a computer program product that, when the computer program product is run on a terminal, causes the electronic device to execute the method in the above first aspect or any possible implementation manner of the first aspect.

附图说明Description of drawings

图1a为现有技术中的一种用户界面的示意图;Fig. 1a is a schematic diagram of a user interface in the prior art;

图1b为现有技术中的另一种用户界面的示意图;Fig. 1b is a schematic diagram of another user interface in the prior art;

图1c为现有技术中的又一种用户界面的示意图;Fig. 1c is a schematic diagram of another user interface in the prior art;

图1d为本申请提供的一种电子设备的结构示意图;Figure 1d is a schematic structural diagram of an electronic device provided by the present application;

图2为本申请提供的一种用户界面的示意图;FIG. 2 is a schematic diagram of a user interface provided by the present application;

图3a为本申请提供的另一种用户界面的示意图;Figure 3a is a schematic diagram of another user interface provided by the present application;

图3b为本申请提供的另一种用户界面的示意图;Figure 3b is a schematic diagram of another user interface provided by the present application;

图3c为本申请提供的又一种用户界面的示意图;Fig. 3c is a schematic diagram of another user interface provided by the present application;

图4a为本申请提供的一种第一界面的示意图;Fig. 4a is a schematic diagram of a first interface provided by the present application;

图4b为本申请提供的另一种第一界面的示意图;Fig. 4b is a schematic diagram of another first interface provided by the present application;

图4c为本申请提供的又一种第一界面的结构示意图;Fig. 4c is a schematic structural diagram of another first interface provided by the present application;

图5a为本申请提供的一种物理硬件检测的界面的示意图;FIG. 5a is a schematic diagram of an interface for physical hardware detection provided by the present application;

图5b为本申请提供的另一种物理硬件检测的界面的示意图;Fig. 5b is a schematic diagram of another physical hardware detection interface provided by the present application;

图5c为本申请提供的又一种物理硬件检测的界面的示意图;Fig. 5c is a schematic diagram of another physical hardware detection interface provided by the present application;

图6a为本申请提供的一种物理硬件详情查看的界面示意图;FIG. 6a is a schematic view of an interface for viewing physical hardware details provided by the present application;

图6b为本申请提供的另一种物理硬件详情查看的界面的示意图;FIG. 6b is a schematic diagram of another interface for viewing physical hardware details provided by the present application;

图7为本申请提供的一种物理硬件运行过程中电流的流向的示意图;FIG. 7 is a schematic diagram of the flow of current during the operation of a physical hardware provided by the present application;

图8为本申请提供的一种物理硬件操作方法的方法流程示意图;FIG. 8 is a schematic flow chart of a physical hardware operation method provided by the present application;

图9为本申请提供的一种电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device provided by the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms "first" and "second" are used for description purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features . Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features.

以下介绍电子设备、用于这样的电子设备的图形用户界面(graphical userinterface,GUI)、和用于使用这样的电子设备的实施例。在本申请一些实施例中,电子设备可以是便携式设备,诸如终端设备、平板电脑、具备无线通讯功能的可穿戴设备(如智能手表)等。便携式设备的示例性实施例包括但不限于搭载或者其它操作系统。上述便携式设备也可以是其它便携式设备,只要能够对电子设备上的物理硬件进行检测(即能够运行本申请实施例提供的物理硬件的检测的代码)即可。还应当理解的是,在本申请其他一些实施例中,上述电子设备也可以不是便携式设备,而是能够实现对电子设备上的物理硬件进行检测的台式计算机。An electronic device, a graphical user interface (GUI) for such an electronic device, and embodiments for using such an electronic device are described below. In some embodiments of the present application, the electronic device may be a portable device, such as a terminal device, a tablet computer, a wearable device (such as a smart watch) with a wireless communication function, and the like. Exemplary embodiments of portable devices include, but are not limited to or other operating systems. The aforementioned portable device may also be other portable devices, as long as the physical hardware on the electronic device can be detected (that is, the code for detecting the physical hardware provided by the embodiment of the present application can be run). It should also be understood that, in some other embodiments of the present application, the electronic device may not be a portable device, but a desktop computer capable of detecting physical hardware on the electronic device.

示例性地,如图1d所示,下面以电子设备100为例对实施例进行具体说明。Exemplarily, as shown in FIG. 1d , the following uses the electronic device 100 as an example to describe the embodiment in detail.

电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块151,无线通信模块152,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括陀螺仪传感器180A,加速度传感器180B,指纹传感器180H,温度传感器180J,触摸传感器180K(当然,电子设备100还可以包括其它传感器,比如压力传感器、加速度传感器、陀螺仪传感器、环境光传感器、骨传导传感器等,图中未示出)。The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2 , mobile communication module 151, wireless communication module 152, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and A subscriber identification module (subscriber identification module, SIM) card interface 195 and the like. The sensor module 180 may include a gyroscope sensor 180A, an acceleration sensor 180B, a fingerprint sensor 180H, a temperature sensor 180J, and a touch sensor 180K (of course, the electronic device 100 may also include other sensors, such as pressure sensors, acceleration sensors, gyroscope sensors, environmental light sensor, bone conduction sensor, etc., not shown in the figure).

可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.

其中,处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。Wherein, the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. Wherein, the controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.

在一些实施例中,处理器110中还可以设置存储器,用于存储指令和数据。示例性地,处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。In some embodiments, a memory may also be provided in the processor 110 for storing instructions and data. Exemplarily, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.

显示屏(也称为显示器)194用于显示图像,视频等。例如,可以显示由用户输入的信息或提供给用户的信息以及显示电子设备100的各种菜单等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organiclight-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flexlight-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。示例性地,电子设备100可以通过GPU、显示屏194、以及应用处理器等实现显示功能。在本申请中,显示屏194可以显示物理硬件检测过程的界面。A display screen (also referred to as a display) 194 is used to display images, video, and the like. For example, it is possible to display information input by the user or information provided to the user, display various menus of the electronic device 100, and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode). diode, AMOLED), flexible light-emitting diode (flexlight-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1. Exemplarily, the electronic device 100 may implement a display function through a GPU, a display screen 194, an application processor, and the like. In this application, the display screen 194 may display the interface of the physical hardware detection process.

摄像头193(前置摄像头或者后置摄像头,亦称为前摄或者后摄)用于捕获静态图像或视频。通常,摄像头193可以包括感光元件比如镜头组和图像传感器,其中,镜头组包括多个透镜(凸透镜或凹透镜),用于采集待拍摄物体反射的光信号,并将采集的光信号传递给图像传感器。图像传感器根据光信号生成待拍摄物体的原始图像。图像传感器可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementarymetal-oxide-semiconductor,CMOS)光电晶体管。图像传感器把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。The camera 193 (front camera or rear camera, also called front camera or rear camera) is used to capture still images or videos. Generally, the camera 193 may include a photosensitive element such as a lens group and an image sensor, wherein the lens group includes a plurality of lenses (convex lens or concave lens), which are used to collect light signals reflected by objects to be photographed, and transmit the collected light signals to the image sensor . The image sensor generates an original image of the object to be photographed according to the light signal. The image sensor may be a charge coupled device (charge coupled device, CCD) or a complementary metal-oxide-semiconductor (complementary metal-oxide-semiconductor, CMOS) phototransistor. The image sensor converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP for conversion into a digital image signal.

内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,应用程序(比如相机应用,微信应用等)的代码等。存储数据区可存储电子设备100使用过程中所创建的数据(比如相机应用采集的图像、视频等)等。The internal memory 121 may be used to store one or more computer programs including instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 . The internal memory 121 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store codes of operating systems and application programs (such as camera applications, WeChat applications, etc.). The storage data area can store data created during use of the electronic device 100 (such as images and videos collected by a camera application) and the like.

此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件,闪存器件,通用闪存存储器(universal flashstorage,UFS)等。在一些实施例中,处理器110可以通过运行存储在内部存储器121的指令,和/或存储在设置于处理器110中的存储器的指令,来使得电子设备100执行本申请实施例中所提供的物理硬件的检测方法,以及其他功能应用及数据处理。In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, universal flash storage (universal flash storage, UFS) and the like. In some embodiments, the processor 110 may execute the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor 110, so that the electronic device 100 executes the instructions provided in the embodiments of the present application. The detection method of physical hardware, and other functional applications and data processing.

当然,本申请实施例提供的物理硬件的检测方法的代码还可以存储在外部存储器中。这种情况下,处理器110可以通过外部存储器接口120运行存储在外部存储器中的物理硬件的检测方法的代码,实现对电子设备上的物理硬件的检测。Certainly, the code of the method for detecting physical hardware provided in the embodiment of the present application may also be stored in an external memory. In this case, the processor 110 may execute the code of the method for detecting physical hardware stored in the external memory through the external memory interface 120, so as to realize the detection of the physical hardware on the electronic device.

外部存储器接口120可以用于连接外部存储卡(例如,Micro SD卡),实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将图像、音乐、视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card (for example, a Micro SD card), so as to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving images, music, videos and other files in external memory card.

下面介绍传感器模块180的功能。The function of the sensor module 180 will be described below.

陀螺仪传感器180A,可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180A确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。即陀螺仪传感器180A可以用于检测电子设备100当前的运动状态,比如抖动还是静止。陀螺仪传感器180A可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180A检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180A还可以用于导航、体感游戏场景。陀螺仪传感器180A可以将检测到的运动状态信息(比如角速度)发送给处理器110。处理器110基于运动状态信息确定当前是手持状态还是脚架状态(比如,角速度不为0时,说明电子设备100处于手持状态)。The gyro sensor 180A can be used to determine the motion posture of the electronic device 100 . In some embodiments, the angular velocity of the electronic device 100 about three axes (ie, x, y and z axes) may be determined by the gyro sensor 180A. That is, the gyro sensor 180A can be used to detect the current motion state of the electronic device 100 , such as shaking or stillness. The gyro sensor 180A can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180A detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180A can also be used for navigation and somatosensory game scenes. The gyro sensor 180A may send detected motion state information (such as angular velocity) to the processor 110 . The processor 110 determines whether it is currently in a hand-held state or a tripod state based on the motion state information (for example, when the angular velocity is not 0, it means that the electronic device 100 is in a hand-held state).

加速度传感器180B可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。加速度传感器180B还可以用于识别电子设备100的姿态,应用于横竖屏切换、计步器等应用。The acceleration sensor 180B can detect the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. The acceleration sensor 180B can also be used to identify the posture of the electronic device 100, and is applied to applications such as horizontal and vertical screen switching, pedometer, and the like.

压力传感器180C用于感受压力信号,可以将压力信号转换成电信号。示例的,压力传感器180C可以设置于显示屏194。其中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。The pressure sensor 180C is used to sense the pressure signal and convert the pressure signal into an electrical signal. For example, the pressure sensor 180C may be disposed on the display screen 194 . Wherein, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions.

指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to application locks, take pictures with fingerprints, answer incoming calls with fingerprints, and the like.

触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also known as "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation 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 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .

示例性的,电子设备100的显示屏194显示主界面,主界面中包括多个应用(比如相机应用、微信应用等)的图标。用户通过触摸传感器180K点击主界面中相机应用的图标,触发处理器110启动相机应用,打开摄像头193。Exemplarily, the display screen 194 of the electronic device 100 displays a main interface, and the main interface 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 180K, triggering the processor 110 to start the camera application, and turning on the camera 193 .

电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块151,无线通信模块152,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 151, the wireless communication module 152, the modem processor and the baseband processor.

天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.

移动通信模块151可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块151可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块151可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块151还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块151的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块151的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 151 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 . The mobile communication module 151 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 151 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 151 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves and radiate them through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 151 may be set in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 151 and at least part of the modules of the processor 110 may be set in the same device.

调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块151或其他功能模块设置在同一个器件中。A modem processor may include a modulator and a demodulator. Wherein, the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is passed to the application processor after being processed by the baseband processor. The application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent of the processor 110, and be set in the same device as the mobile communication module 151 or other functional modules.

无线通信模块152可以提供应用在电子设备100上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块152可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块152经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块152还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 152 can provide wireless local area network (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system, etc. applied on the electronic device 100. (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 152 may be one or more devices integrating at least one communication processing module. The wireless communication module 152 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 152 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.

在一些实施例中,电子设备100的天线1和移动通信模块151耦合,天线2和无线通信模块152耦合,使得电子设备100可以与其他设备通信。In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 151, and the antenna 2 is coupled to the wireless communication module 152, so that the electronic device 100 can communicate with other devices.

按键190可以包括开机键、音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。例如,电子设备100包括上音量键和下音量键,其中,上音量键和下音量键均为机械按键,上音量键用于控制电子设备增大音量,下音量键用于控制电子设备减小音量。The keys 190 may include a power key, a volume key, and the like. The key 190 may be a mechanical key. It can also be a touch button. The electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 . For example, the electronic device 100 includes an up volume key and a down volume key, wherein both the up volume key and the down volume key are mechanical keys, the up volume key is used to control the electronic device to increase the volume, and the down volume key is used to control the electronic device to decrease the volume. volume.

电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。电子设备100可以接收按键190输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。电子设备100可以利用马达191产生振动提示(比如来电振动提示)。电子设备100中的指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。电子设备100中的SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。The electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc. The electronic device 100 may receive an input of the key 190 and generate a key signal input related to user setting and function control of the electronic device 100 . The electronic device 100 can use the motor 191 to generate a vibration prompt (such as a vibration prompt for an incoming call). The indicator 192 in the electronic device 100 can be an indicator light, which can be used to indicate the charging status, the change of the battery capacity, and can also be used to indicate messages, missed calls, notifications and the like. The SIM card interface 195 in the electronic device 100 is used for connecting a SIM card. The SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .

SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或K个SIM卡接口195,K为大于1的正整数。SIM卡接口195可以支持Nano SIM卡、Micro SIM卡、SIM卡等。同一个SIM卡接口195可以同时插入多张卡。多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used for connecting a SIM card. The SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 . The electronic device 100 can support 1 or K SIM card interfaces 195, where K is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of multiple cards may be the same or different. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calling and data communication. In some embodiments, the electronic device 100 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .

USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口、Micro USB接口、USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。示例的,耳机接口170D可以为USB接口130。该接口还可以用于连接其他电子设备,例如虚增强显示(augmented reality,AR)设备等。The USB interface 130 is an interface conforming to the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100 , and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through them. Exemplarily, the earphone interface 170D may be the USB interface 130 . The interface can also be used to connect other electronic devices, such as a virtual augmented display (augmented reality, AR) device and the like.

充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备100供电。The charging management module 140 is configured to receive a charging input from a charger. Wherein, the charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 is charging the battery 142 , it can also supply power to the electronic device 100 through the power management module 141 .

电源管理模块141用于连接电池142、充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块141的输入,为处理器110、内部存储器121、外部存储器接口120、显示屏194、摄像头193等供电。电源管理模块141还可以用于监测电池容量、电池循环次数、电池健康状态(漏电、阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives the input of the battery 142 and/or the charging management module 141, and provides power for the processor 110, the internal memory 121, the external memory interface 120, the display screen 194, the camera 193, and the like. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be disposed in the processor 110 . In some other embodiments, the power management module 141 and the charging management module 140 may also be set in the same device.

本申请中电子设备100可通过显示屏194来显示图形用户界面的。以下将图形用户界面简称为用户界面或界面。具体的,用户界面可以为主界面、负一屏或者某一应用的用户界面等。以下以电子设备100以手机为例,例如,主界面可以为如图2所示的用户界面200。如2图所示,用户界面200可以包括状态栏201、时间和天气Widget202、可隐藏的导航栏203,还有多个应用图标例如硬件检测图标204等。需要说明的是,图2中所示的硬件检测图标204仅为一个示例,本申请实施例中硬件检测图标204还可以为其它形式的图标,对此不作限定。示例的,状态栏201可以包括运营商的名称(如中国移动)、移动网络(例如4G)、时间和剩余电量。在本申请的其它一些实施例中,状态栏201还可以包括蓝牙图标、Wi-Fi图标、信号强度图标、屏幕锁定图标、外接设备图标等中的一个或多个。导航栏203可以包括后退按钮(back button),亦称为返回按钮、主屏幕键按钮(home button)和历史任务查看按钮(menubutton)。可以理解的是,在其他一些实施例中,用户界面200还可以包括Dock栏。Dock栏中可以包括常用的应用图标,例如电话图标、短消息图标、邮件图标和天气图标等。需要说明的是,用户可以根据自身的需求设置Dock栏中常用的应用图标。In this application, the electronic device 100 may display a graphical user interface through the display screen 194 . Hereinafter, the graphical user interface is simply referred to as user interface or interface. Specifically, the user interface may be a main interface, a negative screen, or a user interface of a certain application. In the following, the electronic device 100 is taken as an example of a mobile phone. For example, the main interface may be the user interface 200 shown in FIG. 2 . As shown in FIG. 2 , the user interface 200 may include a status bar 201 , a time and weather Widget 202 , a hideable navigation bar 203 , and multiple application icons such as a hardware detection icon 204 and the like. It should be noted that the hardware detection icon 204 shown in FIG. 2 is only an example, and the hardware detection icon 204 in the embodiment of the present application may also be icons in other forms, which is not limited thereto. Exemplarily, the status column 201 may include the name of the operator (such as China Mobile), mobile network (such as 4G), time and remaining power. In some other embodiments of the present application, the status bar 201 may further include one or more of a Bluetooth icon, a Wi-Fi icon, a signal strength icon, a screen lock icon, an external device icon, and the like. The navigation bar 203 may include a back button (back button), also known as a back button, a home button (home button) and a historical task viewing button (menubutton). It can be understood that, in some other embodiments, the user interface 200 may also include a Dock bar. The Dock bar may include commonly used application icons, such as a phone icon, a short message icon, an email icon, and a weather icon. It should be noted that the user can set the commonly used application icons in the Dock according to his own needs.

在其他一些实施例中,如图2所示,电子设备100可以包括主屏幕键205。其中,主屏幕键205可以是实体按键或实体按钮,也可以是虚拟按键或虚拟按钮。主屏幕键205用于根据用户的操作,将显示屏194上显示的某一应用的用户界面或者负一屏等用户界面返回到主界面,这样可以方便用户随时查看主界面,并对主界面上的控件(例如图标等)进行操作。上述操作具体可以是用户按下主屏幕键205。在本申请其他一些实施例中,主屏幕键205还可以集成指纹传感器180H,这样用户可以在按下主屏幕键205的时候,电子设备100可以进行指纹采集,进而对用户身份进行确认。在另一些实施例中,电子设备100也可以不包括主屏幕键205。In some other embodiments, as shown in FIG. 2 , the electronic device 100 may include a home screen key 205 . Wherein, the home screen key 205 may be a physical key or a physical button, or a virtual key or virtual button. The main screen key 205 is used to return the user interface of a certain application displayed on the display screen 194 or a user interface such as negative one screen to the main interface according to the user's operation, so that the user can view the main interface at any time conveniently, and view the main interface on the main interface. Controls (such as icons, etc.) to operate. The above operation may specifically be that the user presses the home screen key 205 . In some other embodiments of the present application, the home screen key 205 can also be integrated with the fingerprint sensor 180H, so that when the user presses the home screen key 205, the electronic device 100 can collect fingerprints to confirm the user's identity. In some other embodiments, the electronic device 100 may also not include the home screen key 205 .

其中,本申请中的电子设备100可以响应于用户对某一应用图标的触摸操作,并在显示屏194上显示该应用的用户界面。示例性地,本申请中的电子设备100可以基于下列方式响应于用户对某一应用图标的操作:电子设备100的触摸传感器180K当检测到用户的手指(或触控笔等)针对某一应用图标的触摸操作后,上报给处理器110,使得处理器110响应于上述触摸操作,启动该应用,并在显示屏194上显示该应用的用户界面。Wherein, the electronic device 100 in this application may respond to the user's touch operation on a certain application icon, and display the user interface of the application on the display screen 194 . Exemplarily, the electronic device 100 in this application may respond to the user's operation on a certain application icon based on the following manner: when the touch sensor 180K of the electronic device 100 detects that the user's finger (or stylus, etc.) After the icon is touched, it is reported to the processor 110 , so that the processor 110 responds to the touch operation, starts the application, and displays the user interface of the application on the display screen 194 .

以下结合上述图1d所示的电子设备和图2所示的用户界面,对本申请提供的物理硬件的操作方法进行详细说明。The operation method of the physical hardware provided by the present application will be described in detail below in conjunction with the electronic device shown in FIG. 1d and the user interface shown in FIG. 2 .

本申请中,电子设备中的物理硬件包括但不限于图1d所示的处理器110,外部存储器接口120,内部存储器121,USB接口130,电池142,天线1,天线2,移动通信模块151,无线通信模块152,扬声器170A,受话器170B,麦克风170C,耳机接口170D,陀螺仪传感器180A,加速度传感器180B,指纹传感器180H,温度传感器180J,触摸传感器180K,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identificationmodule,SIM)卡接口195等。In this application, the physical hardware in the electronic device includes, but is not limited to, the processor 110 shown in FIG. Wireless communication module 152, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, gyroscope sensor 180A, acceleration sensor 180B, fingerprint sensor 180H, temperature sensor 180J, touch sensor 180K, button 190, motor 191, indicator 192, camera 193, a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195, and the like.

另外,对电子设备上的物理硬件操作包括但不限于:使用物理硬件(也称为运行物理硬件),检测物理硬件,物理硬件详情查看,物理硬件运行过程中电流的流向查看等。In addition, operations on physical hardware on electronic devices include, but are not limited to: using physical hardware (also known as running physical hardware), detecting physical hardware, viewing physical hardware details, and viewing current flow during physical hardware operation.

本申请中,对物理硬件的多种操作,可以通过集成于某一个应用来实现,或者通过某一应用集成有多种物理硬件操作功能实现。示例性地,可以将检测物理硬件操作、物理硬件详情查看操作、以及物理硬件运行过程中电流的流向查看操作均集成于一个应用上;或者集成于某一个具有检测物理硬件、物理硬件详情查看以及物理硬件运行过程中电流的流向查看功能的应用。当然,上述三种操作的组合仅是示例性地,也可以是其中任两种组合在一起,或者也可以是上述三种操作中的任一种或任两种或任三种与其它操作的组合,本申请对此不做限定。当将检测物理硬件操作、物理硬件详情查看操作、以及物理硬件运行过程中电流的流向查看操作,集成于一个应用时,也可以理解为,为检测物理硬件操作、物理硬件详情查看操作、以及物理硬件运行过程中电流的流向查看操作提供了一个统一的入口。In this application, multiple operations on physical hardware may be implemented by being integrated in a certain application, or implemented by integrating multiple physical hardware operation functions in an application. Exemplarily, the operation of detecting physical hardware, checking the details of physical hardware, and checking the flow of current during the operation of the physical hardware can be integrated into one application; The application of the current flow viewing function during the operation of physical hardware. Of course, the combination of the above three operations is only exemplary, and any two of them may be combined together, or any one of the above three operations or any two or any three of them may be combined with other operations. combination, this application does not limit it. When the operation of detecting physical hardware operation, viewing operation of physical hardware details, and viewing operation of current flow during the operation of physical hardware are integrated into one application, it can also be understood as, for detecting physical hardware operation, viewing operation of physical hardware details, and physical The flow of current during hardware operation provides a unified entry for viewing operations.

可以理解的是,也可以对物理硬件的每种操作,通过某一应用实现、或者通过某一应用集成有相应物理硬件操作功能实现。示例性地,针对物理硬件检测,可以是通过某一应用实现,如图2所示的,可以通过单独的硬件检测图标204所对应的单独的应用实现对物理硬件的检测;或者通过集成有物理硬件检测功能的某一应用实现,即该应用可以为具有对物理硬件检测功能,还可以具体其它的功能。本申请对单独用于物理硬件检测的应用的名称不作限定,图2仅是一种示例性说明。也可以理解为,为物理硬件的每种操作提供了一个入口。It can be understood that each operation of the physical hardware may also be implemented by an application, or by an application integrated with a corresponding physical hardware operation function. Exemplarily, for physical hardware detection, it may be implemented through a certain application, as shown in FIG. A certain application realization of the hardware detection function, that is, the application may have the function of detecting physical hardware, and may also specify other functions. The present application does not limit the name of the application used solely for physical hardware detection, and FIG. 2 is only an exemplary illustration. It can also be understood that an entry is provided for each operation of physical hardware.

示例性地,提供的入口可以是悬浮窗,或者也可以是一个应用的图标,或者也可以是提示框,或者也可以是提示信息,提示信息可以指示出从该入口可以进入的界面,以及可以提示用户如何操作进入入口,例如,“下拉这里,进入对物理硬件操作的界面”,或者,“下拉这里,可为手机做检测”,或者“左滑,进入对物理硬件操作的界面”,或者“双击,进入对物理硬件操作的界面”,等等。Exemplarily, the provided entry may be a floating window, or an application icon, or a prompt box, or prompt information, the prompt information may indicate the interface that can be entered from the entrance, and may Prompt the user how to operate the entry, for example, "Pull down here to enter the interface for operating physical hardware", or "Pull down here to detect the mobile phone", or "Swipe left to enter the interface for operating physical hardware", or "Double-click to enter the interface for operating physical hardware", and so on.

需要说明的是,本申请中,电子设备100还可以通过其它方式进入入口的界面。例如,电子设备100可以在黑屏、屏幕锁定或者在显示屏194显示某一用户界面(例如主界面、负一屏、或者其它应用的用户界面等)的情况下,响应于用户的操作(例如,上滑、下滑、上拉、下拉、单击、连续两次敲击显示屏194等)、或者语音指令等操作,启动进入入口的界面,并在显示屏194上显示进入入口的第一界面。需要说明的是,本申请对电子设备100进入入口的方式不作限定。It should be noted that, in this application, the electronic device 100 may also enter the portal interface through other methods. For example, the electronic device 100 may respond to the user's operation (for example, Operations such as sliding up, sliding down, pulling up, pulling down, clicking, tapping the display screen 194 twice in a row, etc.), or voice commands, start the interface for entering the entrance, and display the first interface for entering the entrance on the display screen 194 . It should be noted that, the present application does not limit the manner in which the electronic device 100 enters the entrance.

如图3a所示,为本申请提供的另一种用户面界面300a。该用户界面300a可以是在用户界面200上增加物理硬件操作的入口控件,通过对该入口控件进行第一操作,可进入第一界面。在一些实施例中,该入口处也可包括提示信息,提示信息可提示用户操作的方式和对应进入的界面,如图3b所示,入口可以是“下拉这里,可为手机做检测”。结合上述图1d所示的电子设备,一种可能实现方式为,当用户在提示信息处下拉后,触摸传感器180K检测到对统一入口的下拉操作后,向处理器110上报对统一入口的触摸操作,使得处理器110响应于上述下拉操作,启动该统一入口对应的应用,并在显示屏194上显示进入入口后的界面,在该实施例中,下拉操作即为第一操作,进入入口后的界面即为第一界面。或者,如图3c所示,“上滑这里,可查看物理硬件详情”。同样地,结合上述图1d所示的电子设备,一种可能实现方式为,当用户在提示信息处上滑后,触摸传感器180K检测到对统一入口的上滑操作后,向处理器110上报对统一入口的触摸操作,使得处理器110响应于上述上滑操作,启动该统一入口对应的应用,并在显示屏194上显示进入入口后的界面,在该实施例中,上滑操作即为第一操作,进入入口后的界面即为第一界面。As shown in FIG. 3a, it is another user interface 300a provided by this application. The user interface 300a may be an entry control added with physical hardware operations on the user interface 200, and the first interface can be entered by performing a first operation on the entry control. In some embodiments, the entry can also include prompt information, which can remind the user of the operation method and the corresponding entry interface, as shown in Figure 3b, the entry can be "pull down here, you can check the mobile phone". In combination with the electronic device shown in FIG. 1d above, one possible implementation is that after the user pulls down on the prompt information, the touch sensor 180K detects the pull-down operation on the unified entrance, and reports the touch operation on the unified entrance to the processor 110 , so that the processor 110 starts the application corresponding to the unified entry in response to the above-mentioned pull-down operation, and displays the interface after entering the entry on the display screen 194. In this embodiment, the pull-down operation is the first operation, and the interface after entering the entry The interface is the first interface. Or, as shown in Figure 3c, "Swipe up here to view the details of the physical hardware". Similarly, in combination with the above-mentioned electronic device shown in FIG. 1d , a possible implementation manner is that after the user slides up at the prompt information, the touch sensor 180K detects the slide-up operation on the unified entrance, and reports to the processor 110 that the The touch operation of the unified entrance makes the processor 110 respond to the above-mentioned sliding operation, start the application corresponding to the unified entrance, and display the interface after entering the entrance on the display screen 194. In this embodiment, the sliding operation is the first One operation, the interface after entering the entrance is the first interface.

如图4a所示,为本申请提供的一种第一界面的示意图。第一界面400a中包括物理硬件的可视化图形,图4a所示的第一界面400a具体可包括前摄的可视化图形、耳机的可视化图形、扬声器的可视化图形、麦克风的可视化图形、后摄的可视化图形、听筒的可视化图形、SIM卡的可视化图形、主芯片的可视化图形、蓝牙的可视化图形、电池的可视化图形和全球定位系统(global positioning system,GPS)的可视化图形。其中,第一界面400a包括的物理硬件的可视化图形也可以是其它形状,本申请对物理硬件的可视化图形的形状不做具体限定。As shown in FIG. 4a, it is a schematic diagram of a first interface provided by the present application. The first interface 400a includes visual graphics of physical hardware. The first interface 400a shown in FIG. , the visualized graphics of the handset, the visualized graphics of the SIM card, the visualized graphics of the main chip, the visualized graphics of Bluetooth, the visualized graphics of the battery and the visualized graphics of the global positioning system (GPS). Wherein, the visualized graphics of physical hardware included in the first interface 400a may also be in other shapes, and the present application does not specifically limit the shape of the visualized graphics of physical hardware.

需要说明的是,第一界面中的物理硬件的可视化图形与电子设备内部的物理硬件一一对应。进一步地,第一界面的物理硬件的可视化图形与电子设备中的物理硬件的位置相同。基于图4a所示的第一界面400a中包括的物理硬件的可视化图形,说明该电子设备中也包括前摄、耳机、扬声器、麦克风、后摄、听筒、SIM卡、主芯片、蓝牙、电池和GPS这些物理硬件。这些物理硬件在电子设备中的位置关系与这些物理硬件的可视化图形在第一界面中的位置关系相同。或者也可以理解为,第一界面的物理硬件的可视化图形与电子设备内部的电路板上对应的电路一一匹配。It should be noted that, the visualized graphics of the physical hardware in the first interface correspond to the physical hardware inside the electronic device one by one. Further, the visualized graphic of the physical hardware on the first interface is at the same location as the physical hardware in the electronic device. Based on the visualized graph of the physical hardware included in the first interface 400a shown in FIG. GPS these physical hardware. The positional relationship of the physical hardware in the electronic device is the same as the positional relationship of the visualized graphics of the physical hardware in the first interface. Or it can also be understood that the visualized graphics of the physical hardware on the first interface match the corresponding circuits on the circuit board inside the electronic device one by one.

应理解,第一界面包括的物理硬件的可视化图形与电子设备的型号相关。也就是说,不同型号的电子设备,第一界面包括的物理硬件的可视化图形可能不同。例如,不同型号的电子设备的第一界面包括的可视化图形对应的物理硬件的种类是不同的;在比如,不同型号的电子设备的第一界面包括的可视化图形对应的物理硬件的种类是相同的,但可视化图形之间的位置关系是不同的。It should be understood that the visualized graph of physical hardware included in the first interface is related to the model of the electronic device. That is to say, for different types of electronic devices, the visualized graphics of physical hardware included in the first interface may be different. For example, the types of physical hardware corresponding to the visual graphics included in the first interfaces of different types of electronic equipment are different; for example, the types of physical hardware corresponding to the visual graphics included in the first interfaces of different types of electronic equipment are the same , but the positional relationship between the visualized graphs is different.

在一种可能的实现方式中,可以通过对图3a所示的统一入口的不同操作,实现进入第一界面可以进行不同的物理硬件操作。例如,基于图3b所示的入口,下拉后显示的第一界面为可实现检测物理硬件操作的界面,基于此,第一界面中还可以包括提示框,该提示框可提示用户在第一界面可执行的操作,如图4b所示,可在提示框中可显示“点击任意模块单项检查”。再比如,基于图3c所示的入口,上滑后显示的第一界面为可实现物理硬件详情查看操作的界面,同样地,第一界面中也可以包括提示框,该提示框可提示用户在第一界面可执行的操作,具体地,提示框中可显示“单击相关模块可查看详情”,如图4c所示。In a possible implementation manner, different physical hardware operations can be performed when entering the first interface through different operations on the unified entry shown in FIG. 3a. For example, based on the entry shown in Figure 3b, the first interface displayed after being pulled down is an interface that can detect physical hardware operations. Executable operations, as shown in Figure 4b, can display "click any module to check a single item" in the prompt box. For another example, based on the entry shown in Figure 3c, the first interface displayed after sliding up is an interface that can realize the operation of viewing physical hardware details. Similarly, the first interface may also include a prompt box, which can prompt the user to select The operations that can be performed on the first interface, specifically, "click the relevant module to view details" can be displayed in the prompt box, as shown in Figure 4c.

在另一种可能的实现方式中,进入统一入口后的第一界面均相同,例如均为图4a所示的界面,可通过对第一界面中可视化图形的不同操作实现检测物理硬件、物理硬件详情查看、物理硬件运行过程中电流的流向查看等的功能。也就是说,检测物理硬件操作,物理硬件详情查看操作,物理硬件运行过程中电流的流向查看操作,对应的操作不同。例如,检测物理硬件操作可为单击,物理硬件详情查看操作可为双击,物理硬件运行过程中电流的流向查看操作可为上滑。In another possible implementation, the first interface after entering the unified entrance is the same, for example, the interface shown in Figure 4a, and the detection of physical hardware, physical hardware Functions such as detailed view, current flow view during physical hardware operation, etc. That is to say, the corresponding operations are different for detecting physical hardware operations, viewing physical hardware details, and viewing current flow during physical hardware operation. For example, the operation of detecting physical hardware may be a single click, the operation of viewing the details of the physical hardware may be double-clicking, and the operation of viewing the current flow during the operation of the physical hardware may be a swipe up.

当用户在第一界面执行第二操作时,可在显示屏194上显示第二界面。当用户在第一界面执行不同的操作,显示屏194上显示的第二界面也不同。第二操作可为如上述所列举的检测物理硬件操作,物理硬件详情查看操作,物理硬件运行过程中电流的流向查看操作等。也可以理解为,第二操作可以为检测物理硬件操作,也可以为物理硬件详情查看操作,或者也可以为物理硬件运行过程中电流的流向查看操作。When the user performs the second operation on the first interface, the second interface may be displayed on the display screen 194 . When the user performs different operations on the first interface, the second interface displayed on the display screen 194 is also different. The second operation may be the operation of detecting the physical hardware, the operation of checking the details of the physical hardware, the operation of checking the flow of the current during the operation of the physical hardware, etc. as listed above. It can also be understood that the second operation may be an operation of detecting physical hardware, an operation of checking details of physical hardware, or an operation of checking current flow during the running process of physical hardware.

如下分情形详细介绍用户在第一界面进行第二操作的后,显示的第二界面。The second interface displayed after the user performs the second operation on the first interface will be described in detail as follows.

情形1,第二操作为检测物理硬件操作。In case 1, the second operation is to detect physical hardware operations.

在该情形1下,又可分如下三种情形。In this case 1, it can be divided into the following three cases.

情形1.1,对一个物理硬件进行检测。In case 1.1, a piece of physical hardware is detected.

当检测到用户对第一界面(如图4a或图4b)中的一个可视化图形进行物理硬件检测操作时,响应于该物理硬件检测操作,显示第二界面,即物理硬件检测界面。在该情形1下,第二界面中可包括检测信息,其中,检测信息包括但不限于:当前正在进行检测的物理硬件和检测进度。该第二界面上的检测进度可以实时更新的,也可以是经预设周期更新一次。如下以对电池进行检测为例,如图5a所示,为本申请提供的一种物理硬件检测的界面。当检测到用户对第一界面中的电池的可视化图形的物理硬件检测操作时,响应于该电池检测操作,显示如图5a所示的电池检测界面500a,该电池检测界面500a可以显示出当前是在对电池进行检测,且当前对电池的检测进度是20%。When it is detected that the user performs a physical hardware detection operation on a visual graphic in the first interface (such as FIG. 4a or FIG. 4b ), in response to the physical hardware detection operation, a second interface, that is, the physical hardware detection interface is displayed. In this case 1, the second interface may include detection information, where the detection information includes but not limited to: physical hardware currently being detected and detection progress. The detection progress on the second interface may be updated in real time, or once in a preset period. Taking the detection of a battery as an example, as shown in FIG. 5 a , it is a physical hardware detection interface provided by the present application. When the user's physical hardware detection operation on the visual graphics of the battery in the first interface is detected, in response to the battery detection operation, a battery detection interface 500a as shown in FIG. The battery is being tested, and the current progress of the battery test is 20%.

本申请中,在物理硬件检测界面显示当前正在检测的物理硬件方式有:包含有检测进度提示框(如20%)的即是当前正在进行检测的物理硬件,或者也可以是在包含有检测进度的提示框的物理硬件的可视化图形的区域显示“正在检测”等类似的字样,或者也可以用带颜色的光带将正在检测的物理硬件对应的可视化图形圈出,或者也可以在正在检测的物理硬件对应的可视化图像中做特殊的标记,例如,在正在检测的可视化图形中出现一个“方框”、或者“原点”等,或者也可以是带颜色的光带圈出正在检测的物理硬件、与检测进度提示框(如“正在检测”)的组合(如图5a所示),或者也可以是带颜色的光带圈出正在检测的物理硬件与特殊标记的组合等,本申请对显示当前正在检测的物理硬件的具体形式不做限定,只要可以实现指出当前正在进行检测的物理硬件的方式均可以。In this application, the ways to display the physical hardware currently being detected on the physical hardware detection interface include: the physical hardware that is currently being detected is the one that contains the detection progress prompt box (such as 20%), or it can also include the detection progress The area of the visual graphics of the physical hardware in the prompt box displays "detecting" and similar words, or the visual graphics corresponding to the physical hardware being detected can be circled with a colored light band, or the visual graphics corresponding to the physical hardware being detected can also be displayed in the Make special marks in the visual image corresponding to the physical hardware, for example, a "box" or "origin" appears in the visual graph being detected, or a colored light band can circle the physical hardware being detected , and the combination of the detection progress prompt box (such as "detecting") (as shown in Figure 5a), or it can also be a combination of colored light bands circled by the physical hardware being detected and special marks. The specific form of the physical hardware currently being detected is not limited, as long as the manner of pointing out the physical hardware currently being detected can be realized.

针对情形1.1,仅是以对电池的检测为例说明的,对其它物理硬件进行检测的第二界面与对电池进行检测的第二界面类似,可参见上述图5a的介绍,此处不再一一赘述。For case 1.1, it is only illustrated by taking the detection of the battery as an example. The second interface for detecting other physical hardware is similar to the second interface for detecting the battery. Please refer to the introduction in Figure 5a above, which will not be repeated here. A repeat.

情形1.2,对多个物理硬件进行检测。Scenario 1.2, detection of multiple physical hardware.

当检测到用户对第一界面(如图4a或图4b)中的多个物理硬件的可视化图形进行物理硬件检测操作时,响应于该多个物理硬件检测操作,显示物理硬件检测界面,即第二界面。以对电池、前摄和麦克风检测为例,如图5b所示,为本申请提供的另一种物理硬件检测界面。该物理硬件检测界面500b可以显示出当前正在对电池、前摄和麦克风进行检测,且前摄的检测进度为21%,麦克风的检测进度为33%,电池的检测进度为40%。该物理硬件检测界面500b中,显示当前正在进行检测的物理硬件的方式可参见上述在物理硬件检测界面显示当前正在检测的物理硬件方式的介绍,此处不再赘述,图5b是以带颜色的光带圈出正在检测的物理硬件与检测进度的组合方式显示的,其中,检测进度的提示框中不提示正在检测。When it is detected that the user performs physical hardware detection operations on the visual graphics of multiple physical hardwares in the first interface (as shown in Figure 4a or Figure 4b), in response to the multiple physical hardware detection operations, the physical hardware detection interface is displayed, i.e. the first Second interface. Taking battery, proactive and microphone detection as an example, as shown in FIG. 5b, it is another physical hardware detection interface provided by this application. The physical hardware detection interface 500b can display that the battery, proactive and microphone are being detected, and the detection progress of the proactive is 21%, the detection progress of the microphone is 33%, and the detection progress of the battery is 40%. In the physical hardware detection interface 500b, the method of displaying the physical hardware currently being detected can refer to the above-mentioned introduction of the method of displaying the physical hardware currently being detected on the physical hardware detection interface. The light band circles the combination of the physical hardware being detected and the detection progress, and the prompt box of the detection progress does not indicate that the detection is in progress.

情形1.3,一次对全部的物理硬件进行检测。In case 1.3, all physical hardware is detected at one time.

为了能提高检测的效率,在第一界面中还可包括一键全检操作项,如图4a所示,一键全检操作项用于启动电子设备上的全部可视化图形对应的物理硬件的检测。In order to improve the efficiency of detection, the first interface may also include a one-key full-check operation item, as shown in Figure 4a, the one-key full-check operation item is used to start the detection of physical hardware corresponding to all visual graphics on the electronic device .

当检测到用户对第一界面中该一键全检操作项进行操作后,电子设备可对第一界面中的全部可视化图形对应的物理硬件进行检测。如图5c所示,为本申请提供的又一种物理硬件检测界面。该物理硬件检测界面500c可以显示出当前正在对全部的物理硬件进行检测,且可以显示出每个物理硬件当前的检测进度。After detecting that the user operates the one-key all-inspection operation item in the first interface, the electronic device may detect physical hardware corresponding to all the visual graphics in the first interface. As shown in FIG. 5c, it is another physical hardware detection interface provided by this application. The physical hardware detection interface 500c may display that all physical hardware is currently being detected, and may display the current detection progress of each physical hardware.

进一步,本申请中,当检测出某物理硬件出现故障时,可对该故障的物理硬件对应的可视化图形进一步操作,获取该故障的物理硬件的维修方法、维修网点等信息。Furthermore, in this application, when a certain physical hardware is detected to be faulty, the visualized graphics corresponding to the faulty physical hardware can be further operated to obtain information such as the repair method and maintenance network of the faulty physical hardware.

通过上述情形1对物理硬件的检测方式,可排查出有故障的物理硬件。而且,通过将物理硬件用可视化的图形与电子设备中真实的物理硬件关联起来,可使得用户很容易辨别出物理硬件的可视化图形。Through the detection method of the physical hardware in the above scenario 1, the faulty physical hardware can be found out. Moreover, by associating the visualized graph of the physical hardware with the real physical hardware in the electronic device, the user can easily identify the visualized graph of the physical hardware.

情形2,第二操作为物理硬件详情查看操作。In case 2, the second operation is to check the physical hardware details.

当检测到用户对第一界面(如图4a或图4c)中的某一可视化图形进行物理硬件详情查看操作后,响应于物理硬件详情查看操作,显示物理硬件详情查看界面,即第二界面,物理硬件详情查看界面可包括被查看的物理硬件的关联信息,关联信息包括但不限于购买链接、使用说明、维修网点、功能介绍、推荐的关联内容、宣传介绍中的任一种或任多种的组合。如表1所示,为本申请示例性示出一些物理硬件及对应的关联信息的说明。When it is detected that the user checks the details of the physical hardware on a certain visual graphic in the first interface (as shown in Figure 4a or 4c), in response to the operation of checking the details of the physical hardware, the interface for checking the details of the physical hardware is displayed, that is, the second interface, The interface for viewing physical hardware details can include related information of the physical hardware being viewed. Related information includes but is not limited to any one or more of purchase links, instructions for use, repair outlets, function introductions, recommended related content, and promotional introductions. The combination. As shown in Table 1, it exemplifies some physical hardware and descriptions of corresponding associated information for this application.

表1物理硬件及对应的关联信息。Table 1 Physical hardware and corresponding associated information.

物理硬件physical hardware 关联信息Associated information Type-C接口Type-C interface Type-C数据线购买链接、价格Type-C data cable purchase link, price 耳机,受话筒earphone, microphone 购买链接、音乐推荐Purchase link, music recommendation 扬声器speaker 购买渠道the way of buying 麦克风microphone 购买链接、k歌软件推荐Purchase link, karaoke software recommendation 摄像头Camera 宣传介绍、使用说明、拍摄技巧推荐Publicity introduction, user instructions, shooting skills recommendation 蓝牙Bluetooth 室内定位、周边信息推荐Indoor positioning, surrounding information recommendation Wifi模块WiFi module 周边wifi搜索、一键快速连接Surrounding wifi search, one-key quick connection SIM卡SIM card 购买链接、套餐推荐Purchase link, package recommendation 电池Battery 购买链接、电池容量、电池的损耗Purchase link, battery capacity, battery loss GPSGPS 当前定位、周边信息推荐Current location, surrounding information recommendation

需要说明的是,关联信息可以以视频的形式呈现,或者以音频的形式呈现,或者以图片的形式呈现,或者以文件的形式呈现,或者也可以以链接的形式呈现,本申请对关联信息的呈现方式不做具体的限定。It should be noted that the associated information may be presented in the form of video, or in the form of audio, or in the form of pictures, or in the form of files, or in the form of links. The presentation method is not specifically limited.

如图6a所示,以前摄为例,为本申请提供的一种物理硬件详情查看的界面。当检测到用户在第一界面(如图4a或图4c)对前摄的可视化图形执行前摄详情查看操作后,可显示如图6a所示的查看前摄详情的界面。该查看前摄详情的界面600a包括针对前摄推荐的关联内容,例如“了解更多P30摄像技巧”;还可包括宣传介绍,例如前摄的结构构造,具体可为“P30超长焦距摄像头”。图6a中分别以前摄的拍摄技巧推荐以视频的方式呈现,前摄的宣传介绍以图片的形式呈现为例。可以理解的是,查看前摄详情的界面还可以包括其他的关联信息,例如,前摄的购买链接、维修网点等,图6a仅是一种示例。As shown in FIG. 6a , taking proactive as an example, it is an interface for viewing physical hardware details provided by this application. When it is detected that the user performs a proactive detail view operation on the proactive visualized graphic on the first interface (as shown in FIG. 4a or FIG. 4c ), an interface for viewing proactive details as shown in FIG. 6a may be displayed. The interface 600a for viewing the details of the proactive camera includes related content recommended for the proactive camera, such as "Learn more about P30 camera skills"; it can also include promotional introductions, such as the structural structure of the proactive camera, specifically "P30 ultra-long focal length camera" . In Figure 6a, the proactive shooting skill recommendation is presented in the form of video, and the proactive promotion introduction is presented in the form of pictures as an example. It can be understood that the interface for viewing proactive details may also include other related information, for example, proactive purchase links, maintenance outlets, etc., and FIG. 6a is just an example.

如图6b所示,以Type-C接口为例,为本申请提供的另一种物理硬件详情查看的界面。当检测到用户在第一界面对Type-C接口的可视化图形的查看物理硬详情操作后,可显示如图6b所示的Type-C接口的详情界面。该Type-C接口的详情界面可包括Type-C接口的宣传介绍、推荐的关联内容为Type-C数据线的详细信息,例如购买渠道、价格等。As shown in FIG. 6b , taking the Type-C interface as an example, it is another interface for viewing physical hardware details provided by this application. When it is detected that the user has checked the physical hardware details of the visual graphics of the Type-C interface on the first interface, the detailed interface of the Type-C interface as shown in Figure 6b may be displayed. The detailed interface of the Type-C interface may include a publicity introduction of the Type-C interface, and the recommended associated content is detailed information of the Type-C data cable, such as purchase channels, prices, and the like.

通过上述物理硬件详情查看,用户可以高效的获取到各个物理硬件的关联信息。By checking the physical hardware details above, users can efficiently obtain the associated information of each physical hardware.

情形3,第二操作为物理硬件运行过程中电流的流向查看操作。In case 3, the second operation is to check the flow of current during the running of the physical hardware.

当检测到用户对第一界面(如图4a)中某一可视化图形的物理硬件运行过程中电流的流向查看操作后,响应于该操作,显示物理硬件电流的流向的界面,物理硬件电流的流向的界面包括被操作的物理硬件运行过程中电流的可视化流向,其中,电流的可视化流向是指从物理硬件启动到物理硬件完成相应功能的过程中,电流的流向以可视化的方式显示在显示屏上。也就是说,电子设备的后台运行的过程为:某物理硬件接收用户的第二操作,信息输入至主芯片(例如麒麟芯片),主芯片进行处理,输出信息,将信息转化为可视化信息(例如可视化电流)。When it is detected that the user checks the current flow of the physical hardware in the first interface (as shown in Figure 4a), in response to the operation, the interface that displays the physical hardware current flow, the physical hardware current flow The interface includes the visual flow of the current during the operation of the physical hardware being operated. The visual flow of the current refers to the process from the start of the physical hardware to the completion of the corresponding function of the physical hardware. The flow of the current is displayed on the display screen in a visual way . That is to say, the process of the background operation of the electronic device is: a physical hardware receives the second operation of the user, the information is input to the main chip (such as the Kirin chip), the main chip performs processing, outputs the information, and converts the information into visual information (such as to visualize the current flow).

在一种可能的实现方式中,在物理硬件电流的流向的界面中动态的显示电流从第一个被触发的物理硬件流向最后一个被触发的物理硬件。也就是说,在物理硬件电流的流向的界面中渐变的显示出电流从第一个被触发的物理硬件的可视化图形,流向第二个物理硬件的可视化图形,从第二个物理硬件的可视化图形再流向第三个物理硬件的可视化图形,从第三个物理硬件的可视化图形再流向第四个物理硬件的可视化图形,依次类推,直至流向最后一个物理硬件的可视化图形。In a possible implementation manner, the current flow from the first triggered physical hardware to the last triggered physical hardware is dynamically displayed in the interface of the physical hardware current flow. That is to say, in the interface of the flow direction of physical hardware current, the current is gradually displayed from the visualized graph of the first triggered physical hardware, to the visualized graph of the second physical hardware, and from the visualized graph of the second physical hardware Then flow to the visualization graph of the third physical hardware, flow from the visualization graph of the third physical hardware to the visualization graph of the fourth physical hardware, and so on, until the visualization graph of the last physical hardware flows.

为了更清楚的显示电流的流向,在电流到达每个物理硬件的时候,可以用带颜色的光带将对应的物理硬件的可视化图形圈出,以表示电流的流入了该物理硬件。进一步,还可以在物理硬件电流的流向的界面中显示提示信息,该提示信息可以提示用户电子设备后台当前正在运行的物理硬件,即当前电流的流向的物理硬件。In order to show the flow direction of the current more clearly, when the current reaches each physical hardware, the visual graph of the corresponding physical hardware can be circled with a colored light band to indicate that the current flows into the physical hardware. Further, prompt information may also be displayed on the interface of the current flow of the physical hardware, and the prompt information may remind the user of the physical hardware currently running in the background of the electronic device, that is, the physical hardware of the current current flow.

以查看后摄使用过程中电流的流向为例,如图7所示(即图7中的A至图7中的D),为本申请提供的一种物理硬件运行过程电流的流向的界面变化过程示意图。图7中的A为检测到用户在第一界面(如图4a)对后摄的可视化图形执行查看后摄使用过程中电流的流向操作后,将后摄的可视化图形用带颜色的光带(虚线所示)圈出,并在700a所示的界面中显示“处理开始-开始拍照”的提示信息;之后电流从后摄流向主芯片,此时,主芯片的可视化图形用带颜色的光带圈出(如图7中的B所示),并在700b所示的界面中显示“正在处理-麒麟芯片”的提示信息;之后电流从主芯片流向电池,此时,电池的可视化图形被光带圈出(参见图7中的C),并在700c所示的界面中显示“正在处理-电源”的提示信息;之后电流从电池流向后摄,电流的流向了后摄的可视化图形(参见图7中的D),并在700d所示的界面中显示“正在处理-摄像头”的提示信息。电流再次流回后摄后,实现了后摄的拍照功能。Taking the flow of current in the process of checking the backshot as an example, as shown in Figure 7 (that is, A in Figure 7 to D in Figure 7), this application provides an interface change of the flow of current in the process of physical hardware operation Schematic diagram of the process. A in FIG. 7 is after detecting that the user performs an operation of checking the flow of current on the post-camera visual graphic during the post-camera use process on the first interface (as shown in FIG. Shown by the dotted line) circled, and in the interface shown in 700a, the prompt information of "start processing - start taking pictures" is displayed; after that, the current flows from the rear camera to the main chip, and at this time, the visualized graphics of the main chip use colored light strips Circled (as shown in B in Figure 7), and in the interface shown in 700b, display the prompt information of " being processed-Kirin chip "; Afterwards, electric current flows from main chip to battery, and at this moment, the visual graph of battery is illuminated The band is circled (see C in FIG. 7 ), and the prompt information of "processing-power supply" is displayed in the interface shown in 700c; after that, the current flows from the battery to the rear camera, and the current flows to the visual graph of the rear camera (see D) in FIG. 7 , and a prompt message of "Processing-Camera" is displayed in the interface shown in 700d. After the current flows back to the rear camera again, the camera function of the rear camera is realized.

需要说明的是,当用户同时触发了两个可视化图形的查看物理硬件运行过程电流的流向操作时,可以用不同颜色的区分两个物理硬件的可视化电流的流向。另外,本申请中电流的流行是根据电路板的运行原理实现的。也可理解为,电流是沿着预先设计好的路线进行流动的。It should be noted that when the user simultaneously triggers the operation of viewing the flow of current in the running process of the physical hardware for two visualized graphics, different colors can be used to distinguish the flow of the visualized current of the two physical hardware. In addition, the current flow in this application is realized according to the operation principle of the circuit board. It can also be understood that the current flows along a pre-designed route.

通过上述情形3对物理硬件运行过程中电流的流向的查看,用户可以在等待被操作物理硬件加载过程中,可以感知到电子设备中该物理硬件在后台的运行进程,有助于缓减用户等待的焦虑情绪。Through the observation of the current flow during the operation of the physical hardware in the above scenario 3, the user can perceive the running process of the physical hardware in the electronic device in the background while waiting for the physical hardware to be operated to load, which helps to slow down the user's waiting anxiety.

基于上述内容,如图8所示,为本申请提供的一种物理硬件操作方法。该方法可适用于上述图1d所示的或类似图1d所示的电子设备。以下实施例以该方法应用于手机为例。如图8所示,该方法包括以下步骤:Based on the above content, as shown in FIG. 8 , it is a physical hardware operation method provided by this application. This method can be applied to the electronic device shown in the above-mentioned FIG. 1d or similar to that shown in FIG. 1d. The following embodiments take the method applied to mobile phones as an example. As shown in Figure 8, the method includes the following steps:

步骤801,手机接收用户的第一操作,响应于第一操作显示第一界面。Step 801, the mobile phone receives a first operation from a user, and displays a first interface in response to the first operation.

在一些实施例中,可以是手机有入口的界面,以图3a为例,第一操作即是进入入口的操作。具体入口可以是图3b所示的情形,也可以是如图3c所示的情形,或者也可以是其它任意可能的情形,本申请对入口的形式不做具体限定。In some embodiments, the mobile phone may have an interface with an entry. Taking FIG. 3a as an example, the first operation is to enter the entry. The specific entry may be the situation shown in Figure 3b, or the situation shown in Figure 3c, or any other possible situation, and the application does not specifically limit the form of the entry.

在一些实施例中,以图3a为例,在第一界面触发第一操作后,可显示的第一界面如图4a所示。也可以显示如图4b所示的第一界面、或者如图4c所示的第一界面。In some embodiments, taking FIG. 3a as an example, after the first operation is triggered on the first interface, the displayable first interface is as shown in FIG. 4a. The first interface as shown in FIG. 4b or the first interface as shown in FIG. 4c may also be displayed.

若第一界面如图3b所示,在第一界面触发第一操作后,可以显示如图4b所示的第一界面。若第一界面如图3c所示,在第一界面触发第一操作后,可以显示如图4c所示的第一界面。当然,如图3a所示的第一界面,在第一界面触发第一操作后,也可显示的第一界面如图4a所示。If the first interface is as shown in FIG. 3b, after the first operation is triggered on the first interface, the first interface as shown in FIG. 4b may be displayed. If the first interface is as shown in FIG. 3c, after the first operation is triggered on the first interface, the first interface as shown in FIG. 4c may be displayed. Certainly, the first interface shown in FIG. 3a can also be displayed after the first operation is triggered on the first interface, as shown in FIG. 4a.

进一步可选地,第一界面还包括一键全检操作项,所述一键全检操作项用于启动所述电子设备上的全部可视化图形对应的物理硬件的检测。Further optionally, the first interface further includes a one-key all-inspection operation item, and the one-key all-inspection operation item is used to start detection of physical hardware corresponding to all visual graphics on the electronic device.

步骤802,手机接收用户在第一界面的第二操作,第二操作用于启动被操作的可视化图形对应的物理硬件。In step 802, the mobile phone receives a second operation of the user on the first interface, and the second operation is used to start the physical hardware corresponding to the operated visual graphic.

其中,第二操作可为如上述所列举的,物理硬件详情查看操作,物理硬件运行过程中电流的流向查看操作等。也可以理解为,第二操作可以为检测物理硬件操作,也可以为物理硬件详情查看操作,或者也可以为物理硬件运行过程中电流的流向查看操作。Wherein, the second operation may be as listed above, the operation of checking the details of the physical hardware, the operation of checking the flow of current during the running process of the physical hardware, and the like. It can also be understood that the second operation may be an operation of detecting physical hardware, an operation of checking details of physical hardware, or an operation of checking current flow during the running process of physical hardware.

步骤803,响应于第二操作,显示第二界面,第二界面用于显示被操作的物理硬件的执行状态信息。Step 803, in response to the second operation, display a second interface, the second interface is used to display the execution status information of the operated physical hardware.

在一些实施例中,若第二操作是检测物理硬件操作,响应于所述物理硬件检测操作,显示物理硬件检测的界面,所述物理硬件检测的界面包括被检测的物理硬件的检测信息,例如,当前正在进行检测的物理硬件、以及所述正在进行检测的物理硬件的检测进度。关于第二操作是检测物理硬件操作时,显示的第二界面,具体可以参见上述情形1的介绍。若第二操作是物理硬件详情查看操作,响应于所述物理硬件详情查看操作,显示物理硬件详情界面,所述物理硬件详情界面包括被查看的物理硬件的关联信息;其中,所述关联信息包括购买链接、使用说明、维修网点、功能介绍、推荐的关联内容中的任一项或任多项的组合。关于第二操作是物理硬件详情查看操作时,显示的第二界面,具体可以参见上述情形2的介绍。若第二操作是物理硬件运行过程中电流的流向查看操作,响应于所述物理硬件运行过程中电流的流向查看操作,显示物理硬件运行过程中电流的流向查看的界面,所述物理硬件运行过程中电流的流向查看的界面包括被操作的物理硬件的电流的可视化流向。关于第二操作是物理硬件运行过程中电流的流向查看操作时,显示的第二界面,具体可以参见上述情形3的介绍。In some embodiments, if the second operation is to detect a physical hardware operation, in response to the physical hardware detection operation, a physical hardware detection interface is displayed, and the physical hardware detection interface includes detection information of the detected physical hardware, for example , the physical hardware currently being detected, and the detection progress of the physical hardware being detected. For the second interface displayed when the second operation is to detect physical hardware operations, please refer to the introduction of the above-mentioned scenario 1 for details. If the second operation is an operation of viewing physical hardware details, in response to the operation of viewing physical hardware details, a physical hardware details interface is displayed, and the physical hardware details interface includes associated information of the viewed physical hardware; wherein the associated information includes Any one or a combination of any of the purchase links, instructions for use, repair outlets, function introductions, and recommended related content. For details on the second interface displayed when the second operation is to view physical hardware details, please refer to the introduction of the above-mentioned scenario 2. If the second operation is an operation of checking the flow of current during the running of the physical hardware, in response to the checking of the flow of current during the running of the physical hardware, an interface for checking the flow of current during the running of the physical hardware is displayed, and the running process of the physical hardware is The interface for viewing the flow of current in the medium includes the visual flow of the current of the physical hardware being operated. Regarding the second interface that is displayed when the second operation is to view the current flow during the operation of the physical hardware, please refer to the introduction of the above-mentioned scenario 3 for details.

上述本申请提供的实施例中,从电子设备作为执行主体的角度对本申请实施例提供的方法进行了介绍。为了实现上述本申请实施例提供的方法中的各功能,电子设备可以包括硬件结构和/或软件模块,以硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各功能。上述各功能中的某个功能以硬件结构、软件模块、还是硬件结构加软件模块的方式来执行,取决于技术方案的特定应用和设计约束条件。In the above-mentioned embodiments provided in the present application, the method provided in the embodiments of the present application is introduced from the perspective of an electronic device serving as an execution subject. In order to realize the various functions in the method provided by the above embodiments of the present application, the electronic device may include a hardware structure and/or a software module, and realize the above-mentioned functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above-mentioned functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.

基于上述内容和相同的构思,如图9所示为本申请提供的一种电子设备900。示例的,电子设备900包括触摸屏901,其中,该触摸屏901包括触控面板907和显示屏908;一个或多个处理器902;存储器903;一个或多个应用程序(未示出);以及一个或多个计算机程序904,传感器905、上述各器件可以通过一个或多个通信总线906连接。其中该一个或多个计算机程序904被存储在上述存储器903中并被配置为被该一个或多个处理器902执行,该一个或多个计算机程序904包括指令,上述指令可以用于执行如图8相应实施例中的各个步骤,相关特征可以参照上文,此处不再赘述。更为具体的电子设备结构和描述可以参照图1d的描述。Based on the above content and the same idea, an electronic device 900 provided by this application is shown in FIG. 9 . Exemplarily, the electronic device 900 includes a touch screen 901, wherein the touch screen 901 includes a touch panel 907 and a display screen 908; one or more processors 902; memory 903; one or more application programs (not shown); Or multiple computer programs 904 , sensors 905 , and the above-mentioned devices can be connected through one or more communication buses 906 . Wherein the one or more computer programs 904 are stored in the above-mentioned memory 903 and are configured to be executed by the one or more processors 902, the one or more computer programs 904 include instructions, and the above-mentioned instructions can be used to execute 8 For each step in the corresponding embodiment, the relevant features can refer to the above, and will not be repeated here. For a more specific structure and description of the electronic device, reference may be made to the description in FIG. 1d.

本申请实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的触摸屏的显示方法。The embodiment of the present application also provides a computer storage medium, the computer storage medium stores computer instructions, and when the computer instructions are run on the electronic device, the electronic device executes the above-mentioned related method steps to realize the display of the touch screen in the above-mentioned embodiment method.

本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的触摸屏的显示方法。An embodiment of the present application also provides a computer program product, which, when running on a computer, causes the computer to execute the above related steps, so as to implement the touch screen display method in the above embodiment.

另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的触摸屏的显示方法。In addition, an embodiment of the present application also provides a device, which may specifically be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer-executable instructions, and when the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the display methods of the touch screen in the above method embodiments.

其中,本申请实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Wherein, the electronic device, computer storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding method provided above, therefore, the beneficial effects it can achieve can refer to the corresponding method provided above. The beneficial effects of the method will not be repeated here.

通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be assigned by different Completion of functional modules means that the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其他的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or It may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component shown as a unit may be one physical unit or multiple physical units, which may be located in one place or distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If an integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods in various embodiments of the present application. The above-mentioned storage medium includes: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk, and other various media that can store program codes.

以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only the specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application, and should covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (18)

1.一种物理硬件操作方法,应用于电子设备,其特征在于,包括:1. A physical hardware operation method applied to electronic equipment, characterized in that, comprising: 接收用户的第一操作,响应于所述第一操作显示第一界面,所述第一界面包括物理硬件的可视化图形,所述可视化图形与电子设备中的物理硬件一一对应;receiving a first user operation, and displaying a first interface in response to the first operation, where the first interface includes a visualized graphic of physical hardware, and the visualized graphic corresponds to the physical hardware in the electronic device; 接收用户在所述第一界面的第二操作,所述第二操作用于启动被操作的可视化图形对应的物理硬件;receiving a second operation by the user on the first interface, where the second operation is used to start the physical hardware corresponding to the operated visual graphic; 响应于所述第二操作,显示第二界面,所述第二界面显示被操作的物理硬件的执行状态信息。In response to the second operation, a second interface is displayed, and the second interface displays execution status information of the operated physical hardware. 2.如权利要求1所述的方法,其特征在于,所述可视化图形在所述第一界面的位置与所述物理硬件在所述电子设备中的位置相同。2. The method according to claim 1, wherein the position of the visualized graphic on the first interface is the same as the position of the physical hardware in the electronic device. 3.如权利要求1或2所述的方法,其特征在于,所述第二操作为物理硬件检测操作,所述物理硬件检测操作用于启动被操作的可视化图形对应的物理硬件的检测;3. The method according to claim 1 or 2, wherein the second operation is a physical hardware detection operation, and the physical hardware detection operation is used to start the detection of the physical hardware corresponding to the operated visual graphic; 所述响应于所述第二操作,显示第二界面,包括:The displaying a second interface in response to the second operation includes: 响应于所述物理硬件检测操作,显示物理硬件检测的界面,所述物理硬件检测的界面包括被检测的物理硬件的检测信息。In response to the physical hardware detection operation, a physical hardware detection interface is displayed, and the physical hardware detection interface includes detection information of the detected physical hardware. 4.如权利要求3所述的方法,其特征在于,所述检测信息包括当前正在进行检测的物理硬件、以及所述正在进行检测的物理硬件的检测进度。4. The method according to claim 3, wherein the detection information includes physical hardware currently being detected and a detection progress of the physical hardware being detected. 5.如权利要求3或4所述的方法,其特征在于,所述第一界面还包括一键全检操作项,所述一键全检操作项用于启动所述电子设备上的全部可视化图形对应的物理硬件的检测。5. The method according to claim 3 or 4, wherein the first interface further includes a one-key full-check operation item, and the one-key full-check operation item is used to start all visual displays on the electronic device The detection of the physical hardware corresponding to the graphics. 6.如权利要求1或2所述的方法,其特征在于,所述第二操作为物理硬件运行过程中电流的流向查看操作,所述物理硬件运行过程中电流的流向查看操作作用于启动被操作的可视化图形对应的物理硬件的电流的流向的显示;6. The method according to claim 1 or 2, wherein the second operation is an operation of checking the flow of current during the running of the physical hardware, and the checking of the flow of current during the running of the physical hardware is used to start the The display of the current flow of the physical hardware corresponding to the visual graphics of the operation; 所述响应于所述第二操作,显示第二界面,包括:The displaying a second interface in response to the second operation includes: 响应于所述物理硬件运行过程中电流的流向查看操作,显示物理硬件运行过程中电流的流向查看的界面,所述物理硬件运行过程中电流的流向查看的界面包括被操作的物理硬件的电流的可视化流向。In response to the operation of viewing the flow of current during the operation of the physical hardware, an interface for viewing the flow of current during the operation of the physical hardware is displayed, and the interface for viewing the flow of current during the operation of the physical hardware includes the current of the operated physical hardware Visualize flow. 7.如权利要求1或2所述的方法,其特征在于,所述第二操作为物理硬件详情查看操作;7. The method according to claim 1 or 2, wherein the second operation is an operation of checking physical hardware details; 所述响应于所述第二操作,显示第二界面,包括:The displaying a second interface in response to the second operation includes: 响应于所述物理硬件详情查看操作,显示物理硬件详情界面,所述物理硬件详情界面包括被查看的物理硬件的关联信息;In response to the operation of checking the physical hardware details, displaying a physical hardware details interface, the physical hardware details interface including associated information of the checked physical hardware; 其中,所述关联信息包括以下内容中的任一项或任多项:Wherein, the associated information includes any one or more of the following: 购买链接、使用说明、维修网点、功能介绍、推荐的关联内容。Links to purchase, instructions for use, repair outlets, function introductions, and recommended related content. 8.如权利要求1至7任一项所述的方法,其特征在于,所述方法还包括:8. The method according to any one of claims 1 to 7, further comprising: 在显示屏提供入口控件,所述入口控件用于接收用户的所述第一操作。An entry control is provided on the display screen, and the entry control is used to receive the first operation of the user. 9.一种电子设备,其特征在于,包括:显示屏,一个或多个处理器,一个或多个存储器,以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述电子设备执行时,使得所述电子设备执行以下步骤:9. An electronic device, comprising: a display screen, one or more processors, one or more memory devices, and one or more computer programs, wherein the one or more computer programs are stored in the In the memory, the one or more computer programs include instructions that, when executed by the electronic device, cause the electronic device to perform the following steps: 接收用户的第一操作,响应于所述第一操作显示第一界面,所述第一界面包括物理硬件的可视化图形,所述可视化图形与电子设备中的物理硬件一一对应;receiving a first user operation, and displaying a first interface in response to the first operation, where the first interface includes a visualized graphic of physical hardware, and the visualized graphic corresponds to the physical hardware in the electronic device; 接收用户在所述第一界面的第二操作,所述第二操作用于启动被操作的可视化图形对应的物理硬件;receiving a second operation by the user on the first interface, where the second operation is used to start the physical hardware corresponding to the operated visual graphic; 响应于所述第二操作,显示第二界面,所述第二界面显示被操作的物理硬件的执行状态信息。In response to the second operation, a second interface is displayed, and the second interface displays execution status information of the operated physical hardware. 10.如权利要求9所述的电子设备,其特征在于,所述可视化图形在所述第一界面的位置与所述物理硬件在所述电子设备中的位置相同。10. The electronic device according to claim 9, wherein the position of the visualized graphic on the first interface is the same as the position of the physical hardware in the electronic device. 11.如权利要求9或10所述的电子设备,其特征在于,所述第二操作为物理硬件检测操作,所述物理硬件检测操作用于启动被操作的可视化图形对应的物理硬件的检测;11. The electronic device according to claim 9 or 10, wherein the second operation is a physical hardware detection operation, and the physical hardware detection operation is used to start the detection of the physical hardware corresponding to the operated visual graphic; 当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备响应于所述第二操作,显示第二界面,具体执行:When the one or more computer programs stored in the memory are executed by the processor, the electronic device is made to display a second interface in response to the second operation, and specifically execute: 响应于所述物理硬件检测操作,显示物理硬件检测的界面,所述物理硬件检测的界面包括被检测的物理硬件的检测信息。In response to the physical hardware detection operation, a physical hardware detection interface is displayed, and the physical hardware detection interface includes detection information of the detected physical hardware. 12.如权利要求11所述的电子设备,其特征在于,所述检测信息包括当前正在进行检测的物理硬件、以及所述正在进行检测的物理硬件的检测进度。12 . The electronic device according to claim 11 , wherein the detection information includes physical hardware currently being detected and a detection progress of the physical hardware being detected. 13 . 13.如权利要求11或12所述的电子设备,其特征在于,所述第一界面还包括一键全检操作项,所述一键全检操作项用于启动所述电子设备上的全部可视化图形对应的物理硬件的检测。13. The electronic device according to claim 11 or 12, wherein the first interface further includes a one-key all-inspection operation item, and the one-key all-inspection operation item is used to start all The detection of the physical hardware corresponding to the visualization graph. 14.如权利要求9或10所述的电子设备,其特征在于,所述第二操作为物理硬件运行过程中电流的流向查看操作,所述物理硬件运行过程中电流的流向查看操作作用于启动被操作的可视化图形对应的物理硬件的电流的流向的显示;14. The electronic device according to claim 9 or 10, characterized in that, the second operation is an operation of checking the flow of current during the operation of the physical hardware, and the operation of checking the flow of current during the operation of the physical hardware is used to start The display of the current flow of the physical hardware corresponding to the visualized graph being operated; 当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备响应于所述第二操作,显示第二界面,具体执行:When the one or more computer programs stored in the memory are executed by the processor, the electronic device is made to display a second interface in response to the second operation, and specifically execute: 响应于所述物理硬件运行过程中电流的流向查看操作,显示物理硬件运行过程中电流的流向查看的界面,所述物理硬件运行过程中电流的流向查看的界面包括被操作的物理硬件的电流的可视化流向。In response to the operation of viewing the flow of current during the operation of the physical hardware, an interface for viewing the flow of current during the operation of the physical hardware is displayed, and the interface for viewing the flow of current during the operation of the physical hardware includes the current of the operated physical hardware Visualize flow. 15.如权利要求9或10所述的电子设备,其特征在于,所述第二操作为物理硬件详情查看操作;15. The electronic device according to claim 9 or 10, wherein the second operation is an operation of viewing physical hardware details; 当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备响应于所述第二操作,显示第二界面,具体执行:When the one or more computer programs stored in the memory are executed by the processor, the electronic device is made to display a second interface in response to the second operation, and specifically execute: 响应于所述物理硬件详情查看操作,显示物理硬件详情界面,所述物理硬件详情界面包括被查看的物理硬件的关联信息;In response to the operation of checking the physical hardware details, displaying a physical hardware details interface, the physical hardware details interface including associated information of the checked physical hardware; 其中,所述关联信息包括以下内容中的任一项或任多项:Wherein, the associated information includes any one or more of the following: 购买链接、使用说明、维修网点、功能介绍、推荐的关联内容。Links to purchase, instructions for use, repair outlets, function introductions, and recommended related content. 16.如权利要求9至15任一项所述的电子设备,其特征在于,当所述存储器存储的一个或多个计算机程序被所述处理器执行时,使得所述电子设备还执行以下步骤:16. The electronic device according to any one of claims 9 to 15, wherein when one or more computer programs stored in the memory are executed by the processor, the electronic device further performs the following steps : 在显示屏提供入口控件,所述入口控件用于接收用户的所述第一操作。An entry control is provided on the display screen, and the entry control is used to receive the first operation of the user. 17.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机程序,当计算机程序在电子设备上运行时,使得所述电子设备执行如权利要求1至8任一项所述的物理硬件操作方法。17. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a computer program, and when the computer program is run on an electronic device, the electronic device is made to execute any one of claims 1 to 8. The physical hardware operation method described. 18.一种芯片,其特征在于,所述芯片与存储器耦合,用于执行所述存储器中存储的计算机程序,以执行如权利要求1至8任一项所述的物理硬件操作方法。18. A chip, characterized in that the chip is coupled with a memory for executing a computer program stored in the memory to execute the physical hardware operation method according to any one of claims 1 to 8.
CN201910605294.3A 2019-07-05 2019-07-05 Physical hardware operation method, electronic equipment, storage medium and chip Active CN110471803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910605294.3A CN110471803B (en) 2019-07-05 2019-07-05 Physical hardware operation method, electronic equipment, storage medium and chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910605294.3A CN110471803B (en) 2019-07-05 2019-07-05 Physical hardware operation method, electronic equipment, storage medium and chip

Publications (2)

Publication Number Publication Date
CN110471803A true CN110471803A (en) 2019-11-19
CN110471803B CN110471803B (en) 2021-01-29

Family

ID=68506808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910605294.3A Active CN110471803B (en) 2019-07-05 2019-07-05 Physical hardware operation method, electronic equipment, storage medium and chip

Country Status (1)

Country Link
CN (1) CN110471803B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116737515A (en) * 2023-05-10 2023-09-12 珠海妙存科技有限公司 Flash memory parameter visualization method, system and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214133A (en) * 2011-07-22 2011-10-12 苏州工业园区七星电子有限公司 System for quickly diagnosing and testing computer hardware
CN105183485A (en) * 2015-09-29 2015-12-23 许继集团有限公司 Visual software and hardware collaborative development method
CN106919485A (en) * 2017-03-09 2017-07-04 郑州云海信息技术有限公司 A kind of system based on configuration hardware testing instrument on server
CN107239373A (en) * 2017-05-23 2017-10-10 许继集团有限公司 A kind of emulation mode and system of embedded relay protection device
US20170300817A1 (en) * 2016-04-18 2017-10-19 D-Wave Systems Inc. Systems and methods for embedding problems into an analog processor
CN107976630A (en) * 2016-10-23 2018-05-01 重庆邮电大学 A kind of battery assembly system intelligent measurement platform
CN108594746A (en) * 2018-03-21 2018-09-28 珠海优特电力科技股份有限公司 Visual programming control system and method, apparatus
CN109445414A (en) * 2018-10-29 2019-03-08 大连多维互动数字科技有限公司 State information processing method of hardware equipment
CN109460322A (en) * 2018-11-14 2019-03-12 西安瑞蓝创软件科技有限公司 The standby switching drilling system of calamity based on flow scheduling engine technique and method
CN109656785A (en) * 2018-12-26 2019-04-19 安徽典典科技发展有限责任公司 The monitoring and display methods of software and hardware facilities operating status
CN109783112A (en) * 2017-11-13 2019-05-21 深圳市创客工场科技有限公司 The exchange method of virtual environment and physical hardware, device and storage medium
US20190188103A1 (en) * 2017-12-14 2019-06-20 Microsoft Technology Licensing, Llc In-band monitor in system management mode context for improved cloud platform availability

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214133A (en) * 2011-07-22 2011-10-12 苏州工业园区七星电子有限公司 System for quickly diagnosing and testing computer hardware
CN105183485A (en) * 2015-09-29 2015-12-23 许继集团有限公司 Visual software and hardware collaborative development method
US20170300817A1 (en) * 2016-04-18 2017-10-19 D-Wave Systems Inc. Systems and methods for embedding problems into an analog processor
CN107976630A (en) * 2016-10-23 2018-05-01 重庆邮电大学 A kind of battery assembly system intelligent measurement platform
CN106919485A (en) * 2017-03-09 2017-07-04 郑州云海信息技术有限公司 A kind of system based on configuration hardware testing instrument on server
CN107239373A (en) * 2017-05-23 2017-10-10 许继集团有限公司 A kind of emulation mode and system of embedded relay protection device
CN109783112A (en) * 2017-11-13 2019-05-21 深圳市创客工场科技有限公司 The exchange method of virtual environment and physical hardware, device and storage medium
US20190188103A1 (en) * 2017-12-14 2019-06-20 Microsoft Technology Licensing, Llc In-band monitor in system management mode context for improved cloud platform availability
CN108594746A (en) * 2018-03-21 2018-09-28 珠海优特电力科技股份有限公司 Visual programming control system and method, apparatus
CN109445414A (en) * 2018-10-29 2019-03-08 大连多维互动数字科技有限公司 State information processing method of hardware equipment
CN109460322A (en) * 2018-11-14 2019-03-12 西安瑞蓝创软件科技有限公司 The standby switching drilling system of calamity based on flow scheduling engine technique and method
CN109656785A (en) * 2018-12-26 2019-04-19 安徽典典科技发展有限责任公司 The monitoring and display methods of software and hardware facilities operating status

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
宫晓华: "PXA272硬件平台的可视化测试软件的设计", 《万方数据知识服务平台》 *
张斌: "嵌入式软件目标平台硬件与行为可视化建模技术", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116737515A (en) * 2023-05-10 2023-09-12 珠海妙存科技有限公司 Flash memory parameter visualization method, system and storage medium
CN116737515B (en) * 2023-05-10 2024-02-23 珠海妙存科技有限公司 Flash memory parameter visualization method, system and storage medium

Also Published As

Publication number Publication date
CN110471803B (en) 2021-01-29

Similar Documents

Publication Publication Date Title
US10176783B2 (en) Interactive wearable and portable smart devices
WO2021213120A1 (en) Screen projection method and apparatus, and electronic device
CN108833753B (en) Image acquisition and application method, terminal and computer-readable storage medium
CN112751954B (en) Operation prompting method and electronic equipment
CN111669459A (en) Keyboard display method, electronic device and computer-readable storage medium
CN110288689B (en) Method and device for rendering electronic map
CN109922356B (en) Video recommendation method and device and computer-readable storage medium
CN113204298A (en) Method and device for displaying release progress, electronic equipment and storage medium
CN112130788A (en) A content sharing method and device thereof
CN111897465B (en) Popup display method, device, equipment and storage medium
WO2022028290A1 (en) Method for interaction between devices based on pointing operation, and electronic device
CN113076051A (en) Slave control terminal synchronization method, device, terminal and storage medium
CN116027886A (en) Display method and electronic device of a folding screen
CN111083039B (en) Message unread mark processing method and device, storage medium and terminal
CN111580892A (en) Method, device, terminal and storage medium for calling service component
CN110764808B (en) Client upgrade detection method, device and computer readable storage medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN110324791B (en) Networking method and device, computer equipment and storage medium
CN109033473B (en) Picture sharing method and device and computer readable storage medium
CN110471803A (en) A physical hardware operation method, electronic equipment, storage medium and chip
CN110286839B (en) Message sending method, device, terminal and storage medium
CN113495770A (en) Method, device, terminal and storage medium for displaying application page
CN111008083A (en) Page communication method and device, electronic equipment and storage medium
CN109857536B (en) Multi-task display method, system, mobile terminal and storage medium
CN112202966B (en) Communication information notification method and device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant