Prompting method and electronic equipment
By presenting animation effects and intelligent interaction prompts on the display screen of electronic devices, the problem of difficulty in finding hardware interaction locations is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202510311733.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-07-18
AI Technical Summary
It is difficult for users to quickly and accurately find the hardware interaction location on electronic devices, resulting in poor user experience.
The hardware interaction location is prompted by presenting vivid animation effects on the display screen, and combined with artificial intelligence technology to provide intelligent interaction prompts in different scenarios to avoid unnecessary frequent prompts.
It improves the efficiency and accuracy of users finding hardware interaction locations, reduces unnecessary prompt interference, and improves user experience.
Smart Images

Figure CN120343140A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of terminals, and in particular, to a prompting method and an electronic device. Background Art
[0002] With the rapid development of terminal technology, there are more and more types and forms of electronic devices. Intelligent electronic devices such as mobile phones, tablet computers, watches, and bracelets are widely used by users.
[0003] For different electronic devices, the interactive positions corresponding to their hardware (such as hardware like earpieces, microphones, etc.) on the electronic device usually vary. It is difficult for users to clearly remember these positions. Or, since a certain hardware is set at an unconventional position on the electronic device, it may be difficult for users to find this position. Or, due to the incorrect direction in which the user holds the electronic device, it may also cause the user to not quickly find the interactive position where the target hardware is located, and so on. This will bring a poor user experience to users.
[0004] Therefore, how to prompt users in a timely and effective manner to quickly find the interactive position where the hardware is located is an urgent problem to be solved. Summary of the Invention
[0005] Embodiments of this application provide a prompting method and an electronic device. The electronic device can present a vivid animation effect on the interface to prompt users in a timely and effective manner to quickly find the interactive position where the hardware is located, improving the user experience.
[0006] In a first aspect, embodiments of this application provide a prompting method. The electronic device includes a display screen and a first hardware module. The method includes: the electronic device detects that a first scenario is triggered; the electronic device presents a first dynamic effect at a first position on the display screen, where the first position is a position close to the first hardware module, and the first hardware module is a hardware module for human-computer interaction in the first scenario.
[0007] Among them, the above first hardware module can be a hardware module for human-computer interaction on the electronic device (such as an earpiece, a microphone, a physical button, a speaker, a USB interface, a SIM card interface, etc.).
[0008] Among them, the above first scenario can be a scenario in which the first hardware module is used. For example, if the first hardware module includes hardware modules for audio input / output such as an earpiece, a speaker, and a microphone, then the first scenario can be a scenario of audio input / output (such as an incoming call / outgoing call scenario, a music playing scenario, etc.); or, for example, if the first hardware module includes physical buttons (such as volume buttons, power buttons), then the first scenario can be a scenario where physical buttons need to be operated (such as a scenario for adjusting the volume, a scenario for turning on / off the electronic device, a shooting scenario, etc.); and so on.
[0009] Among them, the above first dynamic effect can be any type of dynamic effect, and the embodiments of the present application do not limit this.
[0010] By implementing the method provided in the first aspect, the electronic device can prompt the user of the interaction position of the hardware by presenting a vivid and vivid animation effect on the interface, avoiding a rigid prompting method, and the guiding effect of the animation effect can coincide with the prompting effect of the physical world, which is easy for the user to understand, and can achieve the effect of guiding the user to correctly hold the electronic device. Moreover, when the user actually uses a certain hardware, the electronic device will provide relevant prompts about the interaction position where the hardware is located to help the user quickly and effectively find the interaction position where the hardware is located, avoiding untimely prompts.
[0011] In a possible implementation manner, the first scenario includes an audio output scenario, and the first hardware module includes a receiver.
[0012] Among them, the above audio output scenario can be a call incoming scenario, a call outgoing scenario, a voice / video call scenario, etc., which require audio output.
[0013] In this way, in the audio output scenario, the interaction position where the receiver is located can be prompted by presenting a corresponding dynamic effect, so that the user can quickly and efficiently find the receiver and hear the output audio more clearly.
[0014] In a possible implementation manner, the electronic device presents the first dynamic effect at the first position on the display screen, specifically including: when the first condition is met, the electronic device starts to present the first dynamic effect at the first position on the display screen; among them, the first condition includes one or more of the following: the start of audio output, the direction in which the user holds the electronic device is inconsistent with the first preset direction, and the distance between the receiver and the user's ear is greater than the first preset distance.
[0015] Among them, the above first preset direction can be the direction in which the user correctly holds the electronic device.
[0016] That is to say, in the audio output scenario, the conditions for triggering the electronic device to start presenting the dynamic effect can include multiple types, so that the dynamic effect can be started when the corresponding conditions are met, avoiding frequent disturbances to the user caused by excessive prompts.
[0017] In a possible implementation, the method further includes: when the second condition is satisfied, the electronic device stops presenting the first animation effect at a first position on the display screen; wherein, the second condition includes one or more of the following: the audio output ends, the presentation duration of the first animation effect reaches a first preset duration, it is detected that the user triggers an operation to stop presenting the first animation effect on the electronic device, the direction in which the user holds the electronic device switches to a first preset direction, and the distance between the earpiece and the user's ear is less than a second preset distance.
[0018] That is to say, in an audio output scenario, the electronic device can also automatically / stop presenting the animation effect manually by the user. The conditions for triggering the electronic device to stop presenting the animation effect can include various ones, so that the presentation of the animation effect can be stopped when the corresponding conditions are met, avoiding frequent disturbances to the user caused by excessive prompts.
[0019] In a possible implementation, the first scenario includes an audio input scenario, and the first hardware module includes a microphone.
[0020] Among them, the above audio input scenario can be a recording scenario, an incoming call scenario, an outgoing call scenario, a voice / video call scenario, etc., which are scenarios that require audio input.
[0021] In this way, in an audio input scenario, the corresponding animation effect can be presented to prompt the interaction position where the microphone is located, so that the user can quickly and efficiently find the microphone and output the audio with higher quality.
[0022] In a possible implementation, the electronic device presents the first animation effect at a first position on the display screen, specifically including: when the third condition is satisfied, the electronic device starts presenting the first animation effect at a first position on the display screen; wherein, the third condition includes one or more of the following: the audio input starts, the direction in which the user holds the electronic device is inconsistent with the second preset direction, and the distance between the microphone and the user's mouth is greater than a third preset distance.
[0023] Among them, the above second preset direction can be the direction in which the user correctly holds the electronic device.
[0024] That is to say, in an audio input scenario, the conditions for triggering the electronic device to start presenting the animation effect can include various ones, so that the presentation of the animation effect can start when the corresponding conditions are met, avoiding frequent disturbances to the user caused by excessive prompts.
[0025] In a possible implementation, the method further includes: when a fourth condition is satisfied, the electronic device stops presenting a first animation effect at a first position on the display screen; wherein, the fourth condition includes one or more of the following: the audio input ends, the presentation duration of the first animation effect reaches a second preset duration, it is detected that the user triggers an operation to stop presenting the first animation effect on the electronic device, the direction in which the user holds the electronic device switches to a second preset direction, and the distance between the microphone and the user's mouth is less than a fourth preset distance.
[0026] That is to say, in an audio input scenario, the electronic device can also automatically / stop presenting the animation effect manually by the user. The conditions for triggering the electronic device to stop presenting the animation effect can include multiple types. In this way, the presentation of the animation effect can be stopped when the corresponding conditions are met, avoiding frequent interruptions to the user caused by excessive prompts.
[0027] In a possible implementation, the human-computer interaction function of the first hardware module in a first scenario is a first function. Before the electronic device presents a first animation effect at a first position on the display screen, the method further includes: the electronic device detects that the frequency of the user using the first function is less than a first preset frequency; and / or, the electronic device detects that the error rate of the user using the first function is greater than a first preset error rate.
[0028] Wherein, the frequency of the user using the first function being less than the first preset frequency can be understood as the user not using the first function, or the user using the first function a small number of times; the error rate of the user using the first function being greater than the first preset error rate can be understood as the user making mistakes in using the first function a relatively large number of times or not yet learning to use the first function.
[0029] That is to say, the electronic device can combine artificial intelligence (AI) technology to determine that only when the above two conditions are met, the electronic device will present the corresponding animation effect, providing intelligent interaction prompts to the user and avoiding frequent interruptions to the user caused by excessive prompts.
[0030] In a possible implementation, the first scenario is a shooting scenario. The first hardware module has different human-computer interaction functions in different scenarios, and the first hardware module is used to adjust the zoom ratio in the shooting scenario.
[0031] In a possible implementation, the first hardware module includes a volume button and a power button.
[0032] It is easy to understand that some hardware modules may have different human-computer interaction functions in different scenarios. For example, the volume button is usually used to adjust the volume, but in some special cases, such as the shooting scenario, it can also be used to adjust the zoom ratio; another example is that the power button is usually used to turn on / off the electronic device, but in some special cases, such as the shooting scenario, it can also be used to adjust the zoom ratio; and so on. In this case, the electronic device can present corresponding dynamic effects to prompt users of the special functions of some hardware modules in some special scenarios.
[0033] In a possible implementation, the electronic device presents a first dynamic effect at a first position on the display screen, specifically including: when the fifth condition is met, the electronic device starts to present the first dynamic effect at the first position on the display screen; where the fifth condition includes one or more of the following: shooting starts, the direction in which the user holds the electronic device is inconsistent with the third preset direction, and it is detected that the user performs a zoom operation on the shooting interface.
[0034] Among them, the above-mentioned third preset direction can be the direction in which the user correctly holds the electronic device.
[0035] That is to say, in the shooting scenario, the conditions for triggering the electronic device to start presenting the dynamic effect can include multiple types, so that the dynamic effect can be started when the corresponding conditions are met, avoiding excessive prompts from disturbing the user frequently.
[0036] In a possible implementation, the method further includes: when the sixth condition is met, the electronic device stops presenting the first dynamic effect at the first position on the display screen; where the sixth condition includes one or more of the following: shooting ends, the presentation duration of the first dynamic effect reaches the third preset duration, it is detected that the user triggers an operation to stop presenting the first dynamic effect on the electronic device, the direction in which the user holds the electronic device switches to the third preset direction, and it is detected that the user performs a zoom operation on the first hardware module.
[0037] That is to say, in the shooting scenario, the electronic device can also stop presenting the dynamic effect automatically / through the user's manual operation. The conditions for triggering the electronic device to stop presenting the dynamic effect can include multiple types, so that the dynamic effect can be stopped when the corresponding conditions are met, avoiding excessive prompts from disturbing the user frequently.
[0038] In a possible implementation, the first dynamic effect includes a dynamic effect simulating a sound wave effect.
[0039] In this way, the effect of the sound wave can be visualized. Especially for some sound-related scenarios (such as audio input / output scenarios), a more vivid visual experience can be provided to the user.
[0040] It can be easily seen that by perfectly combining the interface interaction design effect, the physical environment real effect, the hint mechanism, and the interaction position where the hardware is located, instead of using rigid texts, pictures, etc. for hinting, but integrating the hint into the interface display effect, vivid hints can be given to users, which is more likely to attract users and can achieve the effect of guiding users to hold the electronic device correctly.
[0041] In a possible implementation manner, the electronic device is a foldable electronic device, and the display screen includes a first screen and a second screen, where: when the electronic device is in the first form, the first dynamic effect is presented on the first screen; when the electronic device is in the second form, the first dynamic effect is presented on the second screen.
[0042] Among them, the above-mentioned first form may be an unfolded state, and the first screen may be an inner screen; the second form may be a folded state, and the second screen may be an outer screen.
[0043] That is to say, the hint method in the embodiments of the present application is applicable to electronic devices in various forms, such as foldable electronic devices and non-foldable electronic devices.
[0044] In a second aspect, an embodiment of the present application provides a chip system, including: a processor, the processor is coupled to a memory, and the memory is used to store programs or instructions. When the programs or instructions are executed by the processor, the chip system executes the method described in any possible implementation manner of the first aspect above.
[0045] In a third aspect, an embodiment of the present application provides an electronic device, which includes one or more processors and one or more memories; wherein, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the method described in any possible implementation manner of the first aspect above.
[0046] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program, and the computer program includes program instructions. When the program instructions run on an electronic device, the electronic device executes the method described in any possible implementation manner of the first aspect above.
[0047] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer, the computer executes the method described in any possible implementation manner of the first aspect above. Description of the Drawings
[0048] Figure 1It is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
[0049] Figures 2A - 2C It is a schematic diagram of the product form of a foldable screen electronic device provided by an embodiment of the present application;
[0050] Figure 2D It is a foldable screen electronic device provided by an embodiment of the present application when in Figure 2C The front view of the bottom folding edge when in the fully folded state shown;
[0051] Figure 3 It is a schematic diagram of a user holding a foldable screen electronic device provided by an embodiment of the present application;
[0052] Figures 4A - 4B It is a schematic diagram of a user interface involved when a group of prompts for the interaction position of the hardware are provided by an embodiment of the present application;
[0053] Figures 5A - 5E It is a schematic diagram of a user interface involved when a group of prompts for the interaction position of the earpiece are provided by an embodiment of the present application;
[0054] Figures 6A - 6D It is a schematic diagram of a user interface involved when a group of prompts for the interaction position of the microphone are provided by an embodiment of the present application;
[0055] Figures 7A - 7D It is a schematic diagram of a user interface involved when a group of prompts for the new kinetic energy related to the hardware are provided by an embodiment of the present application;
[0056] Figures 8A - 8D It is a schematic diagram of another group of user interfaces involved when prompts for the interaction position of the earpiece are provided by an embodiment of the present application;
[0057] Figures 9A - 9E It is a schematic diagram of a user interface involved when setting the prompt timing and the specific way of the prompt provided by an embodiment of the present application;
[0058] Figure 10 It is a schematic flowchart of a prompt method provided by an embodiment of the present application;
[0059] Figure 11 It is a schematic diagram of the software architecture of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0060] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may mean A or B; "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B may mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality of" means two or more than two.
[0061] It should be understood that the terms "first", "second", etc. in the specification, claims and drawings of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or devices.
[0062] Referring to "embodiment" in the present application means that the specific features, structures or characteristics described in combination with the embodiment may be included in at least one embodiment of the present application. The appearance of this phrase in various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described in the present application may be combined with other embodiments.
[0063] The term "user interface (UI)" in the following embodiments of the present application is a media interface for interaction and information exchange between an application or an operating system and a user, and it realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is source code written in a specific computer language such as Java, Extensible Markup Language (XML), etc. The interface source code is parsed and rendered on an electronic device and finally presented as content recognizable by the user. The common manifestation form of the user interface is the graphical user interface (GUI), which refers to the user interface related to computer operations displayed in a graphical manner. It can be visible interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. displayed on the display screen of an electronic device.
[0064] First, the following introduces a schematic structural diagram of an electronic device provided in an embodiment of the present application.
[0065] Figure 1 Exemplarily shown is the structure of an electronic device provided in an embodiment of the present application.
[0066] As Figure 1 shown, the electronic device may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0067] It can be understood that the structure schematically shown in the embodiment of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0068] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0069] Among them, the controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
[0070] A memory can also be set in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can save the 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 said memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0071] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0072] The I2C interface is a two-way synchronous serial bus, including a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 can include multiple groups of I2C buses. The processor 110 can be respectively coupled to the touch sensor 180K, charger, flashlight, camera 193, etc. through different I2C bus interfaces. For example: the processor 110 can be coupled to the touch sensor 180K through the I2C interface, enabling the processor 110 to communicate with the touch sensor 180K through the I2C bus interface to implement the touch function of the electronic device.
[0073] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple groups of I2S buses. The processor 110 can be coupled to the audio module 170 through the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface to implement the function of answering calls through a Bluetooth headset.
[0074] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface to implement the shooting function of the electronic device. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device.
[0075] The GPIO interface can be configured through software. The GPIO interface can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0076] The USB interface 130 is an interface that conforms to the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device, and can also be used to transfer data between the electronic device and peripheral devices. It can also be used to connect a headset to play audio through the headset. This interface can also be used to connect other terminal devices, such as AR devices, etc.
[0077] It can be understood that the interface connection relationships between the modules illustrated in the embodiments of this application are only illustrative descriptions and do not constitute a structural limitation on the electronic device. In other embodiments of this application, the electronic device can also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0078] The charging management module 140 is used to receive a charging input from a charger. The charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive the charging input from the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive the wireless charging input through the wireless charging coil of the electronic device. While charging the battery 142, the charging management module 140 can also supply power to the electronic device through the power management module 141.
[0079] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as the battery capacity, the number of battery cycles, and the battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.
[0080] The wireless communication function of the electronic device can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.
[0081] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0082] The mobile communication module 150 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the electronic device. The mobile communication module 150 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 can be disposed in the same device.
[0083] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate 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. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modulation and demodulation processor may be an independent device. In other embodiments, the modulation and demodulation processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
[0084] The wireless communication module 160 may provide solutions for wireless communications applied to the electronic device, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive the signal to be transmitted from the processor 110, perform frequency modulation and amplification on it, and convert it into electromagnetic waves through the antenna 2 for radiation.
[0085] In some embodiments, antenna 1 of the electronic device is coupled to the mobile communication module 150, and antenna 2 is coupled to the wireless communication module 160, enabling the electronic device to communicate with the network and other devices through wireless communication technologies. The wireless communication technologies may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), Beidou Navigation Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS).
[0086] The electronic device implements the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change the display information.
[0087] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include one or N display screens 194, where N is a positive integer greater than 1.
[0088] The electronic device can implement the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.
[0089] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.
[0090] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store the operating system and application programs required for at least one function (such as the sound playback function, the image playback function, etc.). The data storage area can store the data created during the use of the electronic device (such as audio data, phone book, etc.). In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0091] The electronic device can implement the audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc.
[0092] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110.
[0093] The speaker 170A, also referred to as a "loudspeaker", is used to convert an audio electrical signal into a sound signal. The electronic device can listen to music or a hands-free call through the speaker 170A.
[0094] The receiver 170B, also referred to as an "earpiece", is used to convert an audio electrical signal into a sound signal. When the electronic device answers a call or a voice message, the voice can be listened to by bringing the receiver 170B close to the human ear.
[0095] The microphone 170C, also referred to as a "microphone" or "transmitter", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak by bringing the mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device can be provided with at least one microphone 170C. In some other embodiments, the electronic device can be provided with two microphones 170C, which can not only collect sound signals but also implement a noise reduction function. In some other embodiments, the electronic device can also be provided with three, four or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and implement a function such as directional recording.
[0096] The headphone jack 170D is used to connect a wired headphone. The headphone jack 170D can be a USB interface 130, or a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0097] The pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor may include at least two parallel plates having conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: When a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, the instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
[0098] The touch sensor 180K, also referred to as the "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also referred to as the "touch display screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In some other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device, at a different position from the display screen 194.
[0099] The button 190 includes a power-on button (or power button), a volume button (or volume button), etc. The button 190 can be a mechanical button (or physical button). It can also be a touch button. The electronic device can receive button inputs and generate key signal inputs related to the user settings and function control of the electronic device.
[0100] The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration prompts and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. Touch operations acting on different areas of the display screen 194 can also correspond to different vibration feedback effects for the motor 191. Different application scenarios (such as: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0101] The indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, or can also be used to indicate messages, missed calls, notifications, etc.
[0102] The SIM card interface 195 is used to connect the SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation from the electronic device. The electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device interacts with the network through the SIM card to implement functions such as calls and data communication. In some embodiments, the electronic device uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
[0103] It should be understood that Figure 1 the illustrated electronic device is only an example, and the electronic device can have more or fewer components than those Figure 11 shown, can combine two or more components, or can have different component configurations. Figure 11 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0104] The prompting method provided by the embodiments of the present application can be applied to various types of electronic devices, such as mobile phones, tablet computers, personal computers, personal digital assistants, wearable devices (such as watches, bracelets), etc., and can also be applied to various forms of electronic devices, such as foldable screen electronic devices (such as two-fold electronic devices, three-fold electronic devices, etc.), non-foldable screen electronic devices. The embodiments of the present application do not limit the specific types and forms of the electronic devices.
[0105] A foldable screen electronic device (which can also be called a foldable electronic device or a foldable screen device) refers to an electronic device whose display screen can be folded. The foldable display screen in the foldable screen electronic device can be a single-piece flexible display screen, or can be a spliced display screen composed of multiple flexible display screens based on a hinge or a rotating shaft located between the two flexible display screens, or can be a spliced display screen composed of multiple rigid screens and a hinge or a rotating shaft located between the two rigid screens, etc. The embodiments of the present application do not limit this.
[0106] Next, in combination with Figures 2A - 2CExemplarily introduce a two-fold electronic device related to the present application.
[0107] Refer to Figure 2A , the electronic device can be folded along the folding edges in the horizontal direction of the folding screen in sequence to form Figure 2B , Figure 2C the folding screen shown. It should be noted that in the embodiments of the present application, a display screen can also be provided on the back of the A screen and the B screen (which can also be called the inner screen), and can be called the C screen. For example, as Figure 2C shown, a C screen (which can also be called the outer screen) can be provided on the back of the A screen, and this C screen can be on the same side as the rear camera on the electronic device.
[0108] In some examples, the included angle α between the A screen and the B screen is the folding angle of the folding screen. The value range of the included angle α between the above-mentioned A screen and the B screen can be [0°, 180°]. Among them, if α ∈ [0°, P1], the electronic device can determine that the folding screen is in the fully folded state; if α ∈ (P1, P2), the electronic device can determine that the folding screen is in the semi-folded state; if α ∈ [P2, 180°], the electronic device can determine that the folding screen is in the fully unfolded state. Among them, 0° < P1 < P2 < 180°. P1 and P2 can be preset angle thresholds. P1 and P2 can be determined according to the usage habits of a large number of users using the folding screen; or, P1 and P2 can be set by the user in the electronic device 100.
[0109] In some examples, the electronic device can switch the display area when the opening and closing state changes. When the electronic device is in the Figure 2C shown folded state, the electronic device can use the C screen for display. When it is detected that the opening and closing state of the electronic device changes from the Figure 2C shown folded state to the Figure 2A shown unfolded state, the electronic device can switch the screen used for display. For example, the electronic device can turn off the C screen and use the folding screen (i.e., the A screen and the B screen) for display. Conversely, when it is detected that the opening and closing state of the electronic device changes from the Figure 2A shown unfolded state to the Figure 2C shown folded state, the electronic device can switch the screen used for display. For example, the electronic device can turn off the A screen and the B screen and use the C screen for display.
[0110] In some examples, since the C screen and the folding screen of the electronic device are independent screens, the electronic device can independently control the C screen and the folding screen. In the folded state, in response to an event for triggering the power-on of the screen, the electronic device can power on the C screen and light up the C screen. The events for triggering the power-on of the screen in the folded state can include: an event that the power button is pressed, an event that the C screen is touched or clicked, a fingerprint unlocking event, and so on. In the unfolded state, in response to an event for triggering the power-on of the screen, the electronic device can power on the A screen and the B screen and light up the A screen and the B screen. The events for triggering the power-on of the screen in the unfolded state can include: an event that the power button is pressed, an event that the folding screen is touched or clicked, a fingerprint unlocking event, and so on. When the screen for display needs to be switched from the C screen to the A screen and the B screen (for example, when the electronic device changes from the folded state to the unfolded state) while the C screen is in the powered-on state, the electronic device can power off the C screen (the C screen goes out) and power on the A screen and the B screen. When the screen for display needs to be switched from the A screen and the B screen to the C screen (for example, when the electronic device changes from the unfolded state to the folded state) while the A screen and the B screen are in the powered-on state, the electronic device can power off the A screen and the B screen (the folding screen goes out) and power on the C screen.
[0111] It should be noted that the embodiments of the present application do not limit the interaction positions where each hardware is set on the electronic device (that is, the positions on the electronic device where the hardware is used to interact with the user).
[0112] In some examples, for the outer screen, the interaction position where the earpiece is located can be, for example, Figure 2A the position shown, and the interaction position where the microphone is located (or the interaction position where the sound pickup hole is located) can be, for example, Figure 2B the position shown; for the inner screen, the interaction position where the earpiece is located can be, for example, Figure 2C the position shown, and the interaction position where the microphone is located can be, for example, Figure 2D the position shown. Figure 2D For the electronic device in Figure 2C the fully folded form shown, it is a front view at the bottom folding edge; the interaction positions where the speaker is located and the USB interface is located can be, for example, Figure 2B the positions shown; the interaction positions where the volume button and the power button are located can be, for example, Figure 2A the positions shown.
[0113] In other examples, the outer screen and the inner screen of the electronic device can also share the same hardware, such as sharing the same earpiece and microphone. In a possible setting manner, the interaction position where the earpiece is located can be set at the center position at the top of the inner screen of the electronic device.
[0114] Below, taking the above Figures 2A - 2CTaking the electronic device shown as an example, the prompting method provided by the embodiments of the present application will be described in detail.
[0115] Generally, there are various directions in which a user holds an electronic device. In the embodiments of the present application, the electronic device may default that a certain preset direction is the direction in which the user correctly holds the electronic device (i.e., the correct holding direction). When the user holds the electronic device in this preset direction, the top of the electronic device can face the sky and the bottom can face the ground. Among them, the top of the electronic device is usually provided with a receiver, a front camera, etc., and the bottom of the electronic device is usually provided with a microphone, a USB interface, etc. For example, Figure 2A and Figure 2C The figure shown may be the electronic device in the correct holding direction.
[0116] Refer to Figure 3 , Figure 3 For Figures 2A - 2C the figure shown is a scenario where the user holds the electronic device when the electronic device is in a fully folded state. Figure 3 The direction in which the user holds the electronic device shown in the figure can be considered the correct holding direction. It is easy to see that since the electronic device is small in size in the fully folded state and the outer screen is square, the small square screen can be rotated in four directions relatively easily. Therefore, there is a three-fourths probability that the user holds the electronic device in an incorrect direction. That is to say, the probability that the user holds the electronic device in an incorrect direction is relatively large. In this way, it is very likely that the user cannot quickly find the interaction position where the target hardware is located. In addition, Figure 3 the interaction position where the receiver of the electronic device shown in the figure is located is not set at the conventional center position on the electronic device, which may cause the user not to easily find this position. This will bring a poor user experience to the user.
[0117] To solve the above problems, some solutions are to promote and teach the user through means such as interface prompts, getting started guides, and media operations, to guide the user to correctly hold the electronic device, so as to help the user quickly and effectively find the interaction position where the hardware is located.
[0118] Taking the interface prompt as an example, the electronic device can display relevant text prompts on the boot wizard process or the interface provided by a certain application program to prompt the user of the interaction position where the hardware is located. Among them, the boot wizard can also be called out-of-experience (OOBE), and the boot wizard process can be triggered by the user's first configuration of the electronic device, the electronic device's over-the-air (OTA) upgrade, the electronic device's factory reset, etc.
[0119] Refer to Figure 4ADuring the OOBE process, the electronic device can provide relevant text prompts to remind the user of the interactive position of the hardware. For example, the electronic device can display the prompt "Runway-shaped opening position in the upper left, the sound is clearer and louder when close to the earpiece" to remind the user that the interactive position of the earpiece is at the runway-shaped opening position in the upper left of the electronic device.
[0120] See also Figure 4B The electronic device may also display relevant text prompts on the interface provided by the application to prompt the user of the interactive location of the hardware. For example, the electronic device may display a text box on the interface provided by the call application, and the text box may point to the interactive location of the receiver. The text box may also include prompts, such as "It is clearer to answer here", so as to prompt the user of the interactive location of the receiver.
[0121] It is easy to see that the disadvantages of the above solutions are that, on the one hand, the electronic device cannot provide real-time prompts to the user. Figure 4B In the scenario shown, the electronic device may only display relevant text prompts when the user opens the phone interface to remind the user of the interactive position of the receiver. However, in the incoming / outgoing call scenario, when the user actually answers the call, the electronic device may no longer display relevant text prompts to remind the user of the interactive position of the receiver. In this way, the user will still forget the interactive position of the receiver and will not be able to find the corresponding position quickly and effectively. On the other hand, the electronic device only reminds the user of the interactive position of the hardware through text and pictures. The prompt method is relatively blunt and cannot leave a deep impression on the user. It may cause the user to find it difficult to remember and the prompt efficiency is low.
[0122] Based on the above problems, an embodiment of the present application provides a prompt method, in which the electronic device can prompt the user of the interactive position of the hardware by presenting vivid animation effects (referred to as animation effects) on the interface, avoiding a blunt prompt method, and the guiding role of the animation effect can be consistent with the prompting role of the physical world, which is easy for the user to understand, and can achieve the role of guiding the user to hold the electronic device correctly. Moreover, when the user actually uses a certain hardware, the electronic device will provide the user with relevant prompts of the interactive position of the hardware, helping the user to quickly and effectively find the interactive position of the hardware, avoiding inappropriate prompts; in addition, the electronic device can combine artificial intelligence (AI) technology to provide users with hardware-related intelligent interaction prompts in different scenarios, avoiding excessive prompts that cause frequent disturbances to the user.
[0123] The prompt method provided in the embodiments of the present application is described below in combination with different scenarios.
[0124] Scenario 1: Call scenario, indicating the interaction position where the earpiece is located
[0125] The "call scenario" can refer to the scenario of answering an incoming call / dialing an outgoing call through a call application, or it can refer to the scenario of making a voice call / video call through a network social application. Here, the scenario of answering an incoming call is taken as an example for illustration.
[0126] Refer to Figures 5A - 5E , taking the display of the outer screen of the electronic device as an example, the interaction position where the earpiece is located (i.e., the position where the sound outlet hole of the earpiece is located) is at the upper left corner of the electronic device. In the case of answering an incoming call, the electronic device can present a corresponding dynamic effect on the call interface near the interaction position where the earpiece is located (for example Figures 5A - 5E at the upper left edge position of the display screen shown), such as Figures 5A - 5D the rippling dynamic effect shown exemplarily. Figures 5A - 5E The picture shown is several frames intercepted during the entire process from the start to the end of the presentation of the rippling dynamic effect. It is easy to understand that Figure 5A , Figure 5B , Figure 5C , Figure 5D the pictures shown are any four frames among the multiple frames sequentially displayed by the electronic device during the presentation of the dynamic effect, Figure 5E the picture shown is the picture after the dynamic effect disappears.
[0127] Since the rippling dynamic effect can simulate the diffusion effect of sound waves, therefore, presenting the rippling dynamic effect by the electronic device can visualize the effect of sound waves. In this way, by perfectly combining the interface interaction design effect, the real effect of the physical environment, the prompting mechanism, and the interaction position where the hardware is located, instead of using rigid text, pictures, etc. for prompting, but integrating the prompting into the interface display effect, it can give users a vivid and vivid prompt, is more likely to attract users, and can achieve the effect of guiding users to hold the electronic device correctly. In addition, compared with prompting methods such as OOBE, playing machine skills, in-app operation guides, marketing operations, etc., prompting when the user actually uses a certain hardware can not only save manpower and material resources, avoid bringing too much disturbance to the user, but also avoid the problem that the user forgets after reading the prompt, and improve the prompting efficiency.
[0128] It is easy to understand that the above is only illustrated by taking the dynamic effect in the form of ripples as an example, and it is not limited to this. It can also be other styles of dynamic effects. The embodiments of the present application do not limit the display style of the dynamic effect.
[0129] In some embodiments, during the entire call process, the electronic device can periodically present a dynamic effect on the call interface. In this way, it can give users a more effective prompt and avoid the problem of ineffective prompting caused by the short presentation duration of the dynamic effect and the user not noticing.
[0130] In some other embodiments, during the entire call process, the electronic device may start presenting an animation effect when detecting that a preset condition A is met. The preset condition A may include, but is not limited to: the start of a call (or the start of audio output), detecting that the user is holding the electronic device incorrectly, determining that the user has not found the interaction position where the hardware is located (for example, detecting that the user's ear is far from the interaction position where the earpiece is located).
[0131] In some other embodiments, during the entire call process, the electronic device may stop presenting the animation effect when detecting that a preset condition B is met. The preset condition B may include, but is not limited to: the end of a call (or the end of audio output), reaching the preset duration for presenting the animation effect, detecting a user operation for indicating to stop presenting the animation effect (such as a click operation, etc.), detecting that the user switches from holding the electronic device incorrectly to holding it correctly, determining that the user has found the interaction position where the hardware indicated by the animation effect is located (for example, detecting that the user's ear is close to the interaction position where the earpiece is located).
[0132] Scenario 2: Voice input scenario, prompting the interaction position where the microphone is located
[0133] The "voice input scenario" (or audio input scenario) may refer to scenarios that require voice input, such as recording, inputting a voice message, making a call, etc. Here, the recording scenario is taken as an example for illustration.
[0134] Refer to Figures 6A - 6D , also taking the outer screen of the electronic device as an example, the interaction position where the microphone is located (i.e., the sound collection location of the microphone) is at the bottom of the electronic device. In the case where the recording has started, the electronic device may present a corresponding animation effect on the display screen near the interaction position where the microphone is located (for example, Figures 6A - 6D at the lower edge position of the display screen shown), such as Figures 6A - 6C the exemplary rippling animation effect. Figures 6A - 6D The picture shown is several frames intercepted during the entire process from the start to the end of the presentation of the rippling animation effect. It is easy to understand that Figure 6A , Figure 6B , Figure 6C the pictures shown are any three frames among the multiple frames sequentially displayed by the electronic device during the presentation of the animation effect, Figure 6D the picture shown is the picture after the animation effect disappears.
[0135] It is easy to understand that the above is only an example for illustration with the rippling style animation effect, and it is not limited thereto. It can also be other styles of animation effects. The embodiments of the present application do not limit the display style of the animation effect.
[0136] It can be easily seen that in the above Scenario 2, the beneficial effects of the electronic device presenting dynamic effects are similar to those in the aforementioned Scenario 1. When the user performs voice input through the electronic device, the electronic device can provide corresponding dynamic effects (such as ripple dynamic effects) at the interaction position where the microphone is located, which can more vividly guide the user to hold the electronic device correctly and help the user quickly and effectively find the interaction position where the microphone is located.
[0137] In some embodiments, throughout the entire recording process, the electronic device can periodically present dynamic effects on the recording interface. In this way, it can more effectively prompt the user and avoid the problem of ineffective prompting caused by the short presentation duration of the dynamic effects and the user not noticing.
[0138] In other embodiments, throughout the entire recording process, the electronic device can start presenting dynamic effects when it detects that a preset condition C is met. Herein, the preset condition C may include but is not limited to: the start of recording (or the start of audio input), detecting that the user is holding the electronic device incorrectly, determining that the user has not found the interaction position where the hardware is located (such as detecting that the user's mouth is far from the interaction position where the microphone is located).
[0139] In other embodiments, throughout the entire recording process, the electronic device can stop presenting dynamic effects when it detects that a preset condition D is met. Herein, the preset condition D may include but is not limited to: the stop of recording (or the end of audio input), reaching the preset duration of presenting the dynamic effects, detecting a user operation for instructing to stop presenting the dynamic effects (such as a click operation, etc.), detecting that the user switches from holding the electronic device incorrectly to holding it correctly, determining that the user has found the interaction position where the hardware indicated by the dynamic effects is located (such as detecting that the user's mouth is close to the interaction position where the microphone is located).
[0140] In practical applications, in the aforementioned call scenario, audio input and audio output are usually involved simultaneously. Therefore, the electronic device can also present corresponding dynamic effects according to the specific situation. For example, when detecting that the local user performs audio input, corresponding dynamic effects can be presented at the interaction position on the display screen close to where the microphone is located; when detecting that the remote user performs audio output, corresponding dynamic effects can be presented at the interaction position on the display screen close to where the earpiece is located.
[0141] Scenario 3: Function application scenarios related to physical buttons (such as volume buttons, power buttons, etc.), prompting the interaction positions where the physical buttons are located
[0142] There are many functional application scenarios related to physical buttons. For example, in the music playback scenario, when it is detected that the volume needs to be increased / decreased, the electronic device can present corresponding dynamic effects on the current interface at the interaction position near the volume button on the display screen to prompt the user of the interaction position where the volume button is located, facilitating the user to quickly and effectively find the volume button to adjust the volume; another example is that when it is detected that the device needs to be shut down, the electronic device can present corresponding dynamic effects on the current interface at the interaction position near the power button on the display screen to prompt the user of the interaction position where the power button is located, facilitating the user to quickly and effectively find the power button to perform the shutdown operation; and so on.
[0143] In practical applications, after the electronic device updates its software version, some new functions related to a certain hardware (such as a physical button) may be launched. In this case, the electronic device can present corresponding dynamic effects on the current interface at the interaction position near the hardware on the display screen to prompt the user to try using the new functions related to the hardware. The following is an example.
[0144] Taking the shooting scenario as an example, assume that the electronic device launches a new function that allows the user to adjust the focal length by sliding a physical button (such as the volume button or the power button) up and down, thereby achieving zooming. Then, the electronic device can present corresponding dynamic effects on the current shooting interface at the interaction position near the physical button on the display screen to prompt the user of the interaction position where the physical button is located and prompt the user to try sliding the physical button up and down to adjust the focal length. It is easy to understand that adjusting the focal length by sliding a physical button up and down and adjusting the focal length by operating on the focus point / zoom bar on the shooting interface have the same display effect on the shooting interface, but the ways of adjusting the focal length are different.
[0145] In some embodiments, throughout the shooting process, the electronic device can periodically present dynamic effects on the shooting interface. In this way, more effective prompts can be given to the user to avoid the problem of ineffective prompts caused by the short presentation duration of the dynamic effects and the user not noticing.
[0146] In other embodiments, throughout the shooting process, the electronic device can start presenting dynamic effects when it detects that a preset condition E is met. The preset condition E may include, but is not limited to: the start of shooting, the first entry into the shooting interface after the new function is launched, detecting the user's zoom operation on the shooting interface, detecting that the user is holding the electronic device incorrectly, detecting that the user has used the new function but the usage frequency is less than the preset frequency.
[0147] In some other embodiments, during the entire process of shooting, the electronic device may stop presenting the dynamic effect when it detects that a preset condition F is met. The preset condition F may include, but is not limited to: shooting completion, reaching a preset duration for presenting the dynamic effect, detecting a user operation for instructing to stop presenting the dynamic effect (such as a click operation, etc.), detecting that the user switches from an incorrect grip of the electronic device to a correct grip, determining that the user has learned to correctly use a new function (such as detecting that the user adjusts the focal length by sliding the physical button up and down).
[0148] Taking the example of adjusting the focal length by sliding the volume button up and down, the following will be described in conjunction with Figures 7A - 7D for illustration.
[0149] Exemplarily, referring to Figure 7A , when the electronic device detects that the user performs a zoom operation on the shooting interface (such as the user clicks the wide-angle focus point operation), in response to this operation, referring to Figure 7B , the electronic device can switch the zoom ratio from 1X to wide angle, and the image captured by the wide-angle camera can be displayed in the preview frame of the shooting interface. In addition, the electronic device can also present a corresponding dynamic effect on the shooting interface at the interactive position near the volume button on the display screen (such as Figures 7B - 7D the left edge position of the display screen shown), such as Figures 7B - 7D the rippling dynamic effect shown exemplarily. It is easy to understand that Figure 7B , Figure 7C , Figure 7D the pictures shown are any three frames among the multiple frames sequentially displayed by the electronic device during the process of presenting the dynamic effect.
[0150] It is easy to understand that the above is only described by taking the dynamic effect in the form of ripples as an example, and it is not limited to this. It can also be other styles of dynamic effects. The embodiments of the present application do not limit the display style of the dynamic effect.
[0151] Continuing to refer to Figures 7B - 7D , since the above dynamic effect is used to prompt the interactive position where the volume button is located, it may not be able to be used to prompt what the new function of the specific upper and lower lines of the volume button is. Therefore, in some embodiments, the electronic device can superimpose new prompt information on the basis of the above dynamic effect to prompt what the new function of the specific upper and lower lines of the volume button is. The form of this prompt information is not limited and can be a dynamic effect, text, graphics, etc. For example, Figures 7B - 7D the shown shrink / enlarge arrows can be used to prompt adjusting the focal length by operating the volume button to achieve zooming.
[0152] It should be noted that the dynamic effects presented in the embodiments of the present application can also change according to the scene. For example, in the audio input / output scene, since sound is involved, dynamic effects similar to the sound wave effect can be presented. Another example is in the shooting scene, when used for prompting the zoom function, since zooming will magnify / minimize the screen, dynamic effects with magnifying / minimizing effects can be presented.
[0153] It should be noted that the above Scenario 1, Scenario 2, and Scenario 3 are all described with the outer screen of the electronic device as an example to illustrate the prompting method provided by the embodiments of the present application, and should not constitute a limitation to the present application.
[0154] In some other embodiments of the present application, the electronic device can also use the prompting method provided by the embodiments of the present application to present corresponding dynamic effects on the inner screen, so as to help the user quickly and effectively find the interaction position of the hardware on the inner screen, and play a role in guiding the user to hold the electronic device correctly. The following takes the scenario of answering an incoming call and prompting the interaction position of the earpiece as an example for description.
[0155] Refer to Figures 8A - 8D , it can be seen that the electronic device is in a fully unfolded form, with the inner screen for display. The interaction position of the earpiece is located in the upper right of the electronic device. In the case of answering an incoming call, the electronic device can present corresponding dynamic effects on the call interface at the position of the display screen close to the interaction position of the earpiece (for example Figures 8A - 8D at the upper right edge position of the display screen shown), such as Figures 8A - 8C the rippling dynamic effect shown exemplarily. Figures 8A - 8D The picture shown is several frames intercepted during the entire process from the start to the end of the presentation of the rippling dynamic effect. It is easy to understand that Figure 8A , Figure 8B , Figure 8C the pictures shown are any three frames among the multiple frames sequentially displayed by the electronic device during the presentation of the dynamic effect, Figure 8D and the picture shown is the picture after the dynamic effect disappears.
[0156] It should be noted that the prompting method provided by the embodiments of the present application can be adapted to various scenarios, and is not limited to the above-mentioned several examples of sound-related scenarios and shooting-related scenarios.
[0157] Exemplarily, when it is detected that the user holds the electronic device incorrectly, the electronic device can execute the prompting method provided by the embodiments of the present application.
[0158] Exemplarily, when it is detected that the user fails to find the interaction position of the target hardware, the electronic device can execute the prompting method provided by the embodiments of the present application.
[0159] Exemplarily, when it is detected that a certain hardware is required in the current scenario, the electronic device can execute the prompting method provided in the embodiments of the present application to prompt the user of the interaction position where the hardware is located. Among them, the above-mentioned hardware is not limited to the earpiece, microphone, power button, and volume button exemplified above, and can also be other hardware. For example, when it is detected that the battery power of the current electronic device is too low, it means that the USB interface needs to be used to charge the electronic device. Then, the electronic device can present a corresponding animation effect on the current interface at the interaction position near the USB interface on the display screen to prompt the user of the interaction position where the USB interface is located; for another example, when it is detected that the SIM card of the current electronic device has a fault, it means that the SIM card interface needs to be used to take out the SIM card to solve the fault. Then, the electronic device can present a corresponding animation effect on the current interface at the interaction position near the SIM card interface on the display screen to prompt the user of the interaction position where the SIM card interface is located; for yet another example, when it is detected that the user plays audio through the speaker, then the electronic device can present a corresponding animation effect on the current interface at the interaction position near the speaker on the display screen to prompt the user of the interaction position where the speaker is located, so that the user can hear the audio more clearly; and so on.
[0160] In the embodiments of the present application, the electronic device can automatically set the prompting timing and the specific prompting method, and / or the electronic device can support the user to manually set the prompting timing and the specific prompting method in the settings application. The embodiments of the present application do not limit the specific setting method. The following will combine Figures 9A - 9E to exemplarily illustrate a setting method.
[0161] Refer to Figure 9A , Figure 9A The user interface shown is a user interface provided by the settings application on the electronic device. This user interface may include multiple setting options (such as auxiliary function setting options, etc.). The electronic device can detect the user's operation (such as a click operation) on the auxiliary function setting option. In response to this operation, the electronic device can display Figure 9B An exemplary user interface. This user interface may include options corresponding to multiple auxiliary functions (such as an animation effect prompting option, etc.). The electronic device can detect the user's operation (such as a click operation) on the animation effect prompting option. In response to this operation, the electronic device can display Figure 9C An exemplary user interface. This user interface may include a prompting setting option and an AI prompting switch option.
[0162] The prompting setting option can be used to support the user to set the prompting for the interaction positions where multiple hardware devices are located.
[0163] Exemplarily, continue to refer to Figure 9C, the electronic device can detect the user's operation on the hint setting option (such as a click operation). In response to this operation, the electronic device can display Figure 9D An exemplary user interface, which may include multiple hardware location hint setting options (such as earpiece location hint setting option, microphone location hint setting option, speaker location hint setting option, volume button location / function hint setting option, power button location / function hint setting option, USB interface location hint setting option, SIM card interface location hint setting option, etc.). Taking the hint setting for the interaction location where the earpiece is located as an example, the electronic device can detect the user's operation on the earpiece location hint setting option (such as a click operation). In response to this operation, the electronic device can display Figure 9E An exemplary user interface, which may include an earpiece location hint switch option and one or more animation effect switch options; among them, the above earpiece location hint switch option can be used to support the user to trigger the electronic device to turn on / off the earpiece location hint function through a click operation. It is easy to understand that when the earpiece location hint switch option is in the on state, the electronic device can prompt the user of the interaction location where the earpiece is located by executing the hint method provided in the embodiments of the present application. When the earpiece location hint switch option is in the off state, the electronic device will not prompt the user of the interaction location where the earpiece is located by executing the hint method provided in the embodiments of the present application; among them, one or more animation effect switch options can be used to support the user to select different animation effects (such as ripple animation effect, dynamic A, animation effect B, etc.) for hinting. For example, when the ripple animation effect is in the on state, it means that the animation effect used for the earpiece location hint is the ripple animation effect. When the ripple animation effect is in the off state, the electronic device can support the user to select other animation effects for hinting the interaction location where the earpiece is located.
[0164] In some embodiments, the animation effects can be classified and displayed by theme. Each theme can include one or more different animation effects, and can support the user to independently select one of them for hinting.
[0165] In other embodiments, the animation effects can be classified and displayed in cute pet images (such as kitten images, puppy images, etc.). Each pet image can include one or more different expressions / actions, and can support the user to independently select one of them for hinting.
[0166] It can be understood that the above setting process is described by taking the hint setting for the interaction location where the earpiece is located as an example. The process of hint setting for other hardware is similar and will not be elaborated here.
[0167] The AI hint switch option can be used to support the user to select whether the electronic device needs to dynamically identify the necessity and frequency of hinting in combination with AI technology.
[0168] When the AI prompt switch option is turned on, the electronic device can combine AI technology to learn and statistically analyze the user's existing operations. If the accuracy rate of the user's existing operations exceeds a certain preset threshold, the electronic device can stop executing the prompt method provided in the embodiments of the present application, that is, it will no longer continue to prompt. If the accuracy rate of the user's existing operations is lower than a certain preset threshold, or the user has not yet experienced new hardware-related functions launched due to software version updates, the electronic device can continue to prompt by executing the prompt method provided in the embodiments of the present application. Among them, the above "user's existing operations" may include, but are not limited to: operations of the user experiencing new hardware-related functions that have been launched, operations of the user holding the electronic device, and the user being able to effectively find a certain hardware within a preset duration when it is needed.
[0169] That is to say, by combining AI technology, the electronic device can effectively control the trigger mechanism and frequency of the prompt, avoiding unnecessary interference to the user.
[0170] Next, a possible internal implementation method corresponding to the prompt method provided in the embodiments of the present application will be introduced.
[0171] The electronic device may store a mapping relationship table, which may include the corresponding relationship among "scenario, the hardware used for human-computer interaction in the scenario, and the positional relationship between the interaction position of the hardware and the display screen". Table 1 below is an exemplary mapping relationship table. Specifically, when a certain scenario is detected to be triggered, the electronic device can determine which hardware(s) used for human-computer interaction in the scenario based on this mapping relationship table, and determine the positional relationship between the interaction position of the hardware and the display screen, so as to further determine at which position on the display screen the corresponding dynamic effect needs to be presented.
[0172] It should be noted that the above implementation method is only an example and should not constitute a limitation to the present application. In some other embodiments of the present application, there may also be other implementation methods.
[0173]
[0174] Table 1
[0175] Figure 10 Exemplarily shows the specific process of a prompt method provided in the embodiments of the present application.
[0176] As Figure 10 shown, this method can be applied to an electronic device, which includes a display screen and a first hardware module. The following details the specific steps of this method:
[0177] S1001. The electronic device detects that the first scenario is triggered.
[0178] S1002. The electronic device presents a first motion effect at a first position on the display screen, where the first position is a position close to a first hardware module, and the first hardware module is a hardware module used for human-computer interaction in a first scenario.
[0179] Among them, the above-mentioned first hardware module can be a hardware module used for human-computer interaction on an electronic device (such as an earpiece, a microphone, a physical button, a speaker, a USB interface, a SIM card interface, etc.).
[0180] Among them, the above-mentioned first scenario may be a scenario in which the first hardware module is used. For example, the first hardware module includes hardware modules such as an earpiece, a speaker, and a microphone for audio input / output, then the first scenario may be an audio input / output scenario (such as an incoming / outgoing call scenario, a music playback scenario, etc.); for another example, the first hardware module includes physical buttons (such as a volume button, a power button), then the first scenario may be a scenario that requires operating physical buttons (such as a scenario for adjusting the volume, a scenario for turning on / off an electronic device, a shooting scenario, etc.); and so on.
[0181] Among them, the above-mentioned first animation effect can be any type of animation effect, and the embodiment of the present application is not limited to this.
[0182] By implementing the above-mentioned prompt method, the electronic device can prompt the user of the interactive position of the hardware by presenting vivid animation effects on the interface, avoiding a blunt prompt method, and the guiding role of the animation effect can be consistent with the prompt role of the physical world, which is easy for the user to understand and can guide the user to hold the electronic device correctly. Moreover, when the user actually uses a certain hardware, the electronic device will provide the user with relevant prompts of the interactive position of the hardware, helping the user to quickly and effectively find the interactive position of the hardware, avoiding inappropriate prompts.
[0183] In a possible implementation, the first scenario includes an audio output scenario, and the first hardware module includes a receiver.
[0184] Among them, the above-mentioned audio output scenarios can be scenarios that require audio output, such as incoming call scenarios, outgoing call scenarios, voice / video call scenarios, etc.
[0185] In this way, in the audio output scenario, the interactive position of the receiver can be prompted by presenting the corresponding animation, so that the user can quickly and efficiently find the receiver and hear the output audio more clearly.
[0186] In a possible implementation, the electronic device presents a first animation effect at a first position on the display screen. Specifically, it includes: when the first condition is met, the electronic device starts to present the first animation effect at the first position on the display screen; where the first condition includes one or more of the following: the start of audio output, the direction in which the user holds the electronic device is inconsistent with the first preset direction, and the distance between the earpiece and the user's ear is greater than the first preset distance.
[0187] Among them, the above-mentioned first preset direction may be the direction in which the user correctly holds the electronic device.
[0188] That is to say, in the audio output scenario, the conditions for triggering the electronic device to start presenting the animation effect can include multiple types. In this way, the animation effect can be started when the corresponding conditions are met, avoiding frequent disturbances to the user caused by excessive prompts.
[0189] In a possible implementation, the method further includes: when the second condition is met, the electronic device stops presenting the first animation effect at the first position on the display screen; where the second condition includes one or more of the following: the end of audio output, the presentation duration of the first animation effect reaches the first preset duration, detecting an operation by the user to trigger the electronic device to stop presenting the first animation effect, the direction in which the user holds the electronic device switches to the first preset direction, and the distance between the earpiece and the user's ear is less than the second preset distance.
[0190] That is to say, in the audio output scenario, the electronic device can also automatically / stop presenting the animation effect manually by the user. The conditions for triggering the electronic device to stop presenting the animation effect can include multiple types. In this way, the animation effect can be stopped when the corresponding conditions are met, avoiding frequent disturbances to the user caused by excessive prompts.
[0191] In a possible implementation, the first scenario includes an audio input scenario, and the first hardware module includes a microphone.
[0192] Among them, the above-mentioned audio input scenario can be a recording scenario, an incoming call scenario, an outgoing call scenario, a voice / video call scenario, etc., which are scenarios that require audio input.
[0193] In this way, in the audio input scenario, the corresponding animation effect can be presented to prompt the interaction position where the microphone is located, so that the user can quickly and efficiently find the microphone and output the audio with higher quality.
[0194] In a possible implementation, the electronic device presents a first dynamic effect at a first position on the display screen, specifically including: when the third condition is met, the electronic device starts to present the first dynamic effect at the first position on the display screen; wherein, the third condition includes one or more of the following: the audio input starts, the direction in which the user holds the electronic device is inconsistent with the second preset direction, and the distance between the microphone and the user's mouth is greater than the third preset distance.
[0195] Wherein, the above-mentioned second preset direction may be the direction in which the user correctly holds the electronic device.
[0196] That is to say, in the audio input scenario, the conditions for triggering the electronic device to start presenting the dynamic effect can include multiple types, so that the dynamic effect can be started when the corresponding conditions are met, avoiding frequent disturbances to the user caused by excessive prompts.
[0197] In a possible implementation, the method further includes: when the fourth condition is met, the electronic device stops presenting the first dynamic effect at the first position on the display screen; wherein, the fourth condition includes one or more of the following: the audio input ends, the presentation duration of the first dynamic effect reaches the second preset duration, it is detected that the user triggers an operation to stop presenting the first dynamic effect on the electronic device, the direction in which the user holds the electronic device switches to the second preset direction, and the distance between the microphone and the user's mouth is less than the fourth preset distance.
[0198] That is to say, in the audio input scenario, the electronic device can also automatically / stop presenting the dynamic effect manually by the user. The conditions for triggering the electronic device to stop presenting the dynamic effect can include multiple types, so that the dynamic effect can be stopped when the corresponding conditions are met, avoiding frequent disturbances to the user caused by excessive prompts.
[0199] In a possible implementation, the human-computer interaction function of the first hardware module in the first scenario is the first function. Before the electronic device presents the first dynamic effect at the first position on the display screen, the method further includes: the electronic device detects that the frequency of the user using the first function is less than the first preset frequency; and / or, the electronic device detects that the error rate of the user using the first function is greater than the first preset error rate.
[0200] Wherein, the above-mentioned frequency of the user using the first function being less than the first preset frequency can be understood as the user not using the first function, or the user using the first function a small number of times; the above-mentioned error rate of the user using the first function being greater than the first preset error rate can be understood as the user making mistakes in using the first function a large number of times or not having learned to use the first function yet.
[0201] That is to say, the electronic device can combine artificial intelligence (AI) technology to determine that only when the above two conditions are met, the electronic device will present corresponding dynamic effects to provide users with intelligent interaction prompts, avoiding frequent interruptions caused by excessive prompts to users.
[0202] In a possible implementation, the first scenario is a shooting scenario. The first hardware module has different human-computer interaction functions in different scenarios. The first hardware module is used to adjust the zoom ratio in the shooting scenario.
[0203] In a possible implementation, the first hardware module includes a volume button and a power button.
[0204] It is easy to understand that some hardware modules will have different human-computer interaction functions in different scenarios. For example, the volume button is usually used to adjust the volume, but in some special cases, such as the shooting scenario, it can also be used to adjust the zoom ratio; another example is that the power button is usually used to turn on / off the electronic device, but in some special cases, such as the shooting scenario, it can also be used to adjust the zoom ratio; and so on. In this case, the electronic device can present corresponding dynamic effects to prompt users of the special functions of some hardware modules in some special scenarios.
[0205] In a possible implementation, the electronic device presents a first dynamic effect at a first position on the display screen, specifically including: when the fifth condition is met, the electronic device starts to present the first dynamic effect at the first position on the display screen; where the fifth condition includes one or more of the following: shooting starts, the direction in which the user holds the electronic device is inconsistent with the third preset direction, and it is detected that the user performs a zoom operation on the shooting interface.
[0206] Among them, the above third preset direction can be the direction in which the user correctly holds the electronic device.
[0207] That is to say, in the shooting scenario, the conditions for triggering the electronic device to start presenting dynamic effects can include multiple types. In this way, the dynamic effects can be started only when the corresponding conditions are met, avoiding frequent interruptions caused by excessive prompts to users.
[0208] In a possible implementation, the method further includes: when the sixth condition is met, the electronic device stops presenting the first dynamic effect at the first position on the display screen; where the sixth condition includes one or more of the following: shooting ends, the presentation duration of the first dynamic effect reaches the third preset duration, it is detected that the user triggers an operation to stop presenting the first dynamic effect on the electronic device, the direction in which the user holds the electronic device switches to the third preset direction, and it is detected that the user performs a zoom operation on the first hardware module.
[0209] That is to say, in a shooting scenario, the electronic device can also automatically / stop presenting the dynamic effect manually by the user. The conditions for triggering the electronic device to stop presenting the dynamic effect can include various types. In this way, the dynamic effect can be stopped when the corresponding conditions are met, avoiding frequent interruptions to the user caused by excessive prompts.
[0210] In a possible implementation manner, the first dynamic effect includes a dynamic effect simulating a sound wave effect.
[0211] In this way, the effect of the sound wave can be visualized. Especially for some sound-related scenarios (such as audio input / output scenarios), a more vivid visual experience can be provided to the user.
[0212] It is easy to see that by perfectly combining the interface interaction design effect, the physical environment real effect, the prompt mechanism, and the interaction position where the hardware is located, instead of using rigid texts, pictures, etc. for prompting, but integrating the prompt into the interface display effect, a vivid prompt can be given to the user, which is easier to attract the user and can play a role in guiding the user to hold the electronic device correctly.
[0213] In a possible implementation manner, the electronic device is a foldable electronic device, and the display screen includes a first screen and a second screen, where: when the electronic device is in the first form, the first dynamic effect is presented on the first screen; when the electronic device is in the second form, the first dynamic effect is presented on the second screen.
[0214] Among them, the above-mentioned first form may be an unfolded state, and the first screen may be an inner screen; the second form may be a folded state, and the second screen may be an outer screen.
[0215] That is to say, the prompt method of the embodiments of the present application is applicable to electronic devices in various forms, such as foldable electronic devices and non-foldable electronic devices.
[0216] Next, a software structure of an electronic device provided by the embodiments of the present application is described.
[0217] Figure 11 Exemplarily shows a software structure of an electronic device provided in the embodiments of the present application.
[0218] As Figure 11 shown, the software system of the electronic device may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present application, the Android system with a layered architecture is taken as an example to exemplarily illustrate the software structure of the electronic device.
[0219] The layered architecture divides software into several layers, and each layer has clear roles and divisions of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the system libraries, and the kernel layer.
[0220] The application layer may include a series of application packages.
[0221] As Figure 11 shown, the application layer may include applications such as the camera, gallery, calendar, call, map, settings, WLAN, Bluetooth, music, video, short message, etc.
[0222] In the embodiments of the present application, the settings application can be used to set the prompting timing, specific prompting manner, etc. of the electronic device during the execution of the prompting method provided by the present application. The specific setting process can refer to the relevant content in the foregoing embodiments and will not be elaborated here.
[0223] It should be noted that the name of the settings application is only a term used in the embodiments of the present application, and its meaning has been recorded in the embodiments of the present application. Its name does not constitute any limitation to the embodiments of the present application.
[0224] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.
[0225] As Figure 11 shown, the application framework layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, etc.
[0226] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0227] The content provider is used to store and obtain data, and make this data accessible to applications. The data may include videos, images, audio, dialed and answered calls, browsing history and bookmarks, phone books, etc.
[0228] The view system includes visible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a short message notification icon may include a view for displaying text and a view for displaying pictures.
[0229] The phone manager is used to provide the communication functions of the electronic device. For example, the management of call status (including answering, hanging up, etc.).
[0230] The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, and so on.
[0231] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is completed, message prompts, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as the notification of a background-running application, or a notification that appears in the form of a dialogue window on the screen. For example, it prompts text information in the status bar, emits a prompt sound, the electronic device vibrates, the indicator light flashes, etc.
[0232] The core library consists of two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core library of Android.
[0233] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as the management of object life cycles, stack management, thread management, security and exception management, and garbage collection.
[0234] The system library can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing library (e.g., OpenGL ES), 2D (two-dimensional) graphics engine (e.g., SGL), etc.
[0235] The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
[0236] The media library supports the playback and recording of various common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0237] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.
[0238] The 2D graphics engine is the drawing engine for 2D drawing.
[0239] The kernel layer is the layer between the hardware and the software. The kernel layer includes at least a display driver, a camera driver, a Bluetooth driver, and a sensor driver.
[0240] An embodiment of the present application provides a chip system, including: a processor, the processor is coupled to a memory, and the memory is used to store programs or instructions. When the programs or instructions are executed by the processor, the chip system implements the methods in any of the above method embodiments.
[0241] Optionally, the processor in the chip system can be one or more. The processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented by software, the processor can be a general-purpose processor that implements by reading software code stored in the memory.
[0242] Optionally, the memory in the chip system can also be one or more. The memory can be integrated with the processor or separately arranged from the processor, and the embodiments of the present application do not limit this. Exemplarily, the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip or separately arranged on different chips. The embodiments of the present application do not specifically limit the type of the memory and the setting manner of the memory and the processor.
[0243] Exemplarily, the chip system can be a field programmable gate array (FPGA), can be an application specific integrated circuit (ASIC), can also be a system on chip (SoC), can also be a central processing unit (CPU), can also be a network processor (NP), can also be a digital signal processing circuit (DSP), can also be a microcontroller unit (MCU), can also be a programmable logic device (PLD) or other integrated chips.
[0244] It should be understood that each step in the above method embodiments can be completed by the integrated logic circuit in the hardware of the processor or by instructions in software form. The method steps disclosed in combination with the embodiments of the present application can be directly implemented by the execution of the hardware processor, or can be implemented by the combination of the hardware and software modules in the processor.
[0245] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in this application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state disk (SSD)), etc.
[0246] Those of ordinary skill in the art can understand that all or part of the processes in the above method embodiments can be completed by computer programs instructing relevant hardware. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The aforementioned storage medium includes various media that can store program codes, such as ROM or random access memory RAM, magnetic disks, or optical discs.
[0247] The above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or perform equivalent replacements for some of the technical features. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A prompting method, characterized in that, The electronic device includes a display screen and a first hardware module, and the method includes: The electronic device detects that a first scenario is triggered; The electronic device presents a first animation effect at a first position on the display screen, where the first position is a position close to the first hardware module, and the first hardware module is a hardware module for human-computer interaction in the first scenario.
2. The method according to claim 1, wherein The first scenario includes an audio output scenario, and the first hardware module includes a receiver.
3. The method according to claim 2, wherein The electronic device presents the first animation effect at the first position on the display screen, which specifically includes: When a first condition is met, the electronic device starts to present the first animation effect at the first position on the display screen; Among them, the first condition includes one or more of the following: audio output starts, the direction in which the user holds the electronic device is inconsistent with a first preset direction, the distance between the receiver and the user's ear is greater than a first preset distance.
4. The method according to claim 3, characterized in that The method further includes: When a second condition is met, the electronic device stops presenting the first animation effect at the first position on the display screen; Among them, the second condition includes one or more of the following: audio output ends, the presentation duration of the first animation effect reaches a first preset duration, it is detected that the user triggers an operation to stop presenting the first animation effect on the electronic device, the direction in which the user holds the electronic device switches to the first preset direction, the distance between the receiver and the user's ear is less than a second preset distance.
5. The method according to any one of claims 1-4, characterized in that, The first scenario includes an audio input scenario, and the first hardware module includes a microphone.
6. The method according to claim 5, characterized in that, The electronic device presents the first animation effect at the first position on the display screen, which specifically includes: When a third condition is met, the electronic device starts to present the first animation effect at the first position on the display screen; Among them, the third condition includes one or more of the following: audio input starts, the direction in which the user holds the electronic device is inconsistent with a second preset direction, the distance between the microphone and the user's mouth is greater than a third preset distance.
7. The method according to claim 6, wherein The method further includes: When a fourth condition is met, the electronic device stops presenting the first animation effect at the first position on the display screen; Among them, the fourth condition includes one or more of the following: audio input ends, the presentation duration of the first animation effect reaches a second preset duration, it is detected that the user triggers an operation to stop presenting the first animation effect on the electronic device, the direction in which the user holds the electronic device switches to the second preset direction, the distance between the microphone and the user's mouth is less than a fourth preset distance.
8. The method according to any one of claims 1-7, characterized in that, The human-computer interaction function of the first hardware module in the first scenario is a first function. Before the electronic device presents the first animation effect at the first position on the display screen, the method further includes: The electronic device detects that the frequency of the user using the first function is less than a first preset frequency; And / or, The electronic device detects that the error rate of the user using the first function is greater than a first preset error rate.
9. The method according to claim 8, characterized in that, The first scenario is a shooting scenario. The first hardware module has different human-computer interaction functions in different scenarios, and the first hardware module is used to adjust the zoom ratio in the shooting scenario.
10. The method according to claim 9, wherein The first hardware module includes a volume button and a power button.
11. The method according to claim 9 or 10, characterized in that, The electronic device presents the first dynamic effect at a first position on the display screen, specifically including: When the fifth condition is met, the electronic device starts to present the first dynamic effect at the first position on the display screen; Among them, the fifth condition includes one or more of the following: shooting starts, the direction in which the user holds the electronic device is inconsistent with the third preset direction, and it is detected that the user performs a zoom operation on the shooting interface.
12. The method according to claim 11, wherein The method further includes: When the sixth condition is met, the electronic device stops presenting the first dynamic effect at the first position on the display screen; Among them, the sixth condition includes one or more of the following: shooting ends, the presentation duration of the first dynamic effect reaches the third preset duration, it is detected that the user triggers an operation to stop presenting the first dynamic effect on the electronic device, the direction in which the user holds the electronic device switches to the third preset direction, and it is detected that the user performs a zoom operation on the first hardware module.
13. The method according to any one of claims 1 to 12, characterized in that, The first dynamic effect includes a dynamic effect simulating a sound wave effect.
14. The method according to any one of claims 1 to 13, characterized in that, The electronic device is a foldable electronic device, and the display screen includes a first screen and a second screen, where: When the electronic device is in the first form, the first dynamic effect is presented on the first screen; When the electronic device is in the second form, the first dynamic effect is presented on the second screen.
15. An electronic device, characterized in that, The electronic device includes one or more processors and one or more memories; among them, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code. The computer program code includes computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the method according to any one of claims 1-14.
16. A computer storage medium, characterized in that, The computer storage medium stores a computer program, and the computer program includes program instructions. When the program instructions run on the electronic device, the electronic device executes the method according to any one of claims 1-14.
17. A computer program product, when the computer program product runs on a computer, the computer executes the method according to any one of claims 1-14.