Interaction method and electronic device
By displaying the status information of associated objects on the lock screen or desktop, the problem of cumbersome user operations is solved, enabling quick information retrieval and improving the user experience.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-12-09
- Publication Date
- 2026-07-09
Smart Images

Figure CN2025141160_09072026_PF_FP_ABST
Abstract
Description
An interaction method and an electronic device
[0001] This application claims priority to Chinese Patent Application No. 202411989903.7, filed with the Chinese Patent Office on December 30, 2024, entitled “An Interaction Method and an Electronic Device”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of electronic devices, and more specifically, to an interaction method and an electronic device. Background Technology
[0003] Currently, users can record information they are interested in through various applications, such as health information, exercise information, and device information. Some users also share this information with their friends through these applications. However, viewing this information (such as information that the user is interested in or information shared by other users) involves cumbersome steps, preventing users from quickly obtaining the information they want and thus reducing the user experience. Summary of the Invention
[0004] This application provides an interaction method and an electronic device. When displaying a lock screen or desktop, the electronic device can respond to user operations and display information of interest to the user without launching a specific application, thereby improving the speed at which the user views information and enhancing the user experience.
[0005] In a first aspect, an interactive method is provided, the method comprising: displaying a first interface, wherein the first interface is a lock screen interface or a desktop, the first interface includes a first object, the first object being associated with a second object; and displaying state information of the second object in response to a first operation by a user.
[0006] In this embodiment of the application, when the first interface includes a first object and a user's first operation is detected, the electronic device can display the status information of a second object associated with the first object. The first object may be the same as the second object, or the first object may be different from the second object, which meets the user's operation expectations, improves the speed at which the user views information, and helps to improve the user experience.
[0007] In conjunction with the first aspect, in some implementations of the first aspect, the first operation is an operation performed on the first interface, or a gesture operation, or a voice input operation.
[0008] In conjunction with the first aspect, in some implementations of the first aspect, the first operation is an operation performed on the first object on the first interface.
[0009] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: in response to a user's operation on the state information of the second object, displaying a first card, the first card including the first state information of the second object.
[0010] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: in response to the user's card switching operation, displaying a second card, the second card including second state information of the second object.
[0011] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: displaying identification information of the second object in response to the first operation.
[0012] In conjunction with the first aspect, in some implementations of the first aspect, when the first interface is the desktop, the method further includes: hiding the application icons in the first interface.
[0013] In conjunction with the first aspect, in some implementations of the first aspect, the state information of the second object includes one or more of the following: location information, distance information, motion information, health information, device information, and operation information.
[0014] In conjunction with the first aspect, in some implementations of the first aspect, the first object and the second object are the same.
[0015] In conjunction with the first aspect, in some implementations of the first aspect, the first object is not the same as the second object.
[0016] In conjunction with the first aspect, in some implementations of the first aspect, when the first interface is the lock screen interface, the method further includes: maintaining the lock screen state while displaying the state information of the second object.
[0017] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: displaying an animation effect in response to the first operation in the area corresponding to the first object.
[0018] In conjunction with the first aspect, in some implementations of the first aspect, the response to the first operation to display the state information of the second object includes: in response to the first operation, displaying the state information of the second object on one or more interface elements.
[0019] In conjunction with the first aspect, in some implementations of the first aspect, the one or more interface elements are in the form of capsules.
[0020] In conjunction with the first aspect, in some implementations of the first aspect, the first interface further includes a third object associated with a fourth object, and the method further includes: in response to a second operation, displaying the status information of the fourth object.
[0021] In conjunction with the first aspect, in some implementations of the first aspect, before displaying the first interface, the method further includes: displaying a wallpaper settings interface in response to a user's selection of a first image as wallpaper, wherein the first image includes the first object; identifying the first object using a first interface element and associating the first object with the second object, wherein the first interface element includes identification information of the second object; displaying a status information selection interface in response to an operation on the first interface element; sending a first request message to the electronic device corresponding to the second object in response to a user's selection operation on the status information selection interface, the first request message being used to request the acquisition of status information of the second object; and receiving a first indication message sent by the electronic device corresponding to the second object, the first indication message being used to indicate that the second object has been authorized.
[0022] In conjunction with the first aspect, in some implementations of the first aspect, displaying a wallpaper settings interface in response to a user's selection of a first image as wallpaper includes: displaying the wallpaper settings interface in response to a user's selection of the first image as wallpaper in a gallery interface.
[0023] In conjunction with the first aspect, in some implementations of the first aspect, the use of a first interface element to identify the first object and associate the first object with the second object includes: using the first interface element to identify the first object; in response to an operation performed on the first interface element, displaying an object selection interface, the object selection interface including the identification information of the second object; in response to an operation of selecting the identification information of the second object, associating the first object with the second object, and displaying the identification information of the second object on the first interface element.
[0024] Secondly, an interaction method is provided, the method comprising: displaying a first interface, wherein the first interface is a lock screen interface or a desktop; responding to a first operation of the user, displaying N interface elements on the first interface, wherein the N interface elements are associated with M objects, N≥M≥1 and N and M are integers; and displaying the status information of the M objects on the N interface elements.
[0025] In this embodiment, when the electronic device displays the lock screen or desktop, it can respond to the user's operation and display information that the user is interested in without launching a specific application, thereby improving the speed at which the user views information and enhancing the user experience.
[0026] In conjunction with the second aspect, in some implementations of the second aspect, the N interface elements include a first interface element, the M objects include a first object, the first interface element is associated with the first object, the first area of the first interface includes the first object, and the display of the N interface elements in response to the user's first operation includes: displaying the first interface element in response to the user's operation on the first area.
[0027] In this embodiment of the application, when the first area of the first interface includes the first object and the user's operation on the first area is detected, the electronic device can display the first interface element associated with the first object and display the status information of the first object on the first interface element, which meets the user's operation expectations, improves the speed at which the user views information, and helps to improve the user experience.
[0028] In conjunction with the second aspect, in some implementations of the second aspect, the N interface elements include a first interface element, the M objects include a first object, the first interface element is associated with the first object, the second area of the first interface includes a second object, and the display of the N interface elements in response to the user's first operation includes: displaying the first interface element in response to the user's operation on the second area.
[0029] In conjunction with the second aspect, in some implementations of the second aspect, the first interface element is a control, and the method further includes: in response to a user's operation on the first interface element, displaying a first card, the first card including first state information of the first object.
[0030] In this embodiment of the application, when the electronic device detects the user's operation on the first interface element, it can display more detailed information about the first object in the card, which improves the speed at which the user views the information and helps to improve the user experience.
[0031] In conjunction with the second aspect, in some implementations of the second aspect, the method further includes: in response to the user's card switching operation, displaying a second card, the second card including second state information of the first object.
[0032] In conjunction with the second aspect, in some implementations of the second aspect, the method further includes: displaying the identification information of the M objects on the N interface elements.
[0033] In conjunction with the second aspect, in some implementations of the second aspect, N > 2 and M > 2.
[0034] In conjunction with the second aspect, in some implementations of the second aspect, when the first interface is the desktop, the method further includes: hiding the application icons in the first interface.
[0035] In conjunction with the second aspect, in some implementations of the second aspect, the state information of the M objects includes one or more of the following: location information, distance information, motion information, health information, device information, and operation information.
[0036] Thirdly, an interaction method is provided, comprising: displaying a first interface, wherein the first interface is a lock screen interface or a desktop; responding to a user's first operation, displaying N controls on the first interface, wherein the N controls are associated with M objects, N≥M≥1 and N and M are integers, the N controls include a first control, the M objects include a first object, and the first control is associated with the first object; displaying identification information of the M objects on the N controls; and responding to a user's operation on the first control, displaying a first card, the first card including first state information of the first object.
[0037] In this embodiment, when displaying a lock screen or desktop, the electronic device can display one or more controls in response to user actions. These controls are associated with objects. The electronic device can then display information about the object associated with the control in response to user actions on that control, without needing to launch a specific application. This improves the speed at which users view information and enhances the user experience.
[0038] In conjunction with the third aspect, in some implementations of the third aspect, the method further includes: responding to a user's card switching operation by displaying a second card, the second card including second state information of the first object.
[0039] In conjunction with the third aspect, in some implementations of the third aspect, the first area of the first interface includes a first object, and in response to the user's first operation, displays N controls, including: in response to the user's operation on the first area, displays the first control.
[0040] In conjunction with the third aspect, in some implementations of the third aspect, the second area of the first interface includes a second object, which, in response to the user's first operation, displays N controls, including: in response to the user's operation on the second area, displays a first control.
[0041] Fourthly, an electronic device is provided, comprising one or more processors; one or more memories; the one or more memories storing one or more computer programs, the one or more computer programs including instructions that, when executed by the one or more processors, cause the foregoing aspects or any possible implementation thereof to be performed.
[0042] Fifthly, a computer-readable storage medium is provided, comprising a computer program or instructions that, when executed on a computer, cause the first aspect and any possible implementation of the method of the first aspect to be performed.
[0043] In a sixth aspect, a computer program product is provided, comprising a computer program or instructions that, when executed on a computer, cause the first aspect and any possible implementation of the method of the first aspect to be performed.
[0044] In a seventh aspect, a computer program is provided that, when run on a computer, causes the methods described in the first aspect and any possible implementation thereof to be executed.
[0045] Eighthly, an electronic device according to an embodiment of this application includes modules / units for performing the above aspects or any possible design of the above aspects; these modules / units can be implemented in hardware or by hardware executing corresponding software.
[0046] For the beneficial effects of aspects four through eight, please refer to the beneficial effects of aspects one and two, and they will not be repeated here. Attached Figure Description
[0047] Figure 1 is a schematic diagram of the structure of the electronic device provided in an embodiment of this application.
[0048] Figure 2 is a software structure block diagram of the electronic device provided in an embodiment of this application.
[0049] Figure 3 is a set of GUIs provided in the embodiments of this application.
[0050] Figure 4 shows a set of GUIs provided in an embodiment of this application.
[0051] Figure 5 shows a set of GUIs provided in an embodiment of this application.
[0052] Figure 6 shows a set of GUIs provided in an embodiment of this application.
[0053] Figure 7 shows a set of GUIs provided in an embodiment of this application.
[0054] Figure 8 is a set of GUIs provided in the embodiments of this application.
[0055] Figure 9 is a set of GUIs provided in the embodiments of this application.
[0056] Figure 10 is a set of GUIs provided in the embodiments of this application.
[0057] Figure 11 is a set of GUIs provided in an embodiment of this application.
[0058] Figure 12 is a set of GUIs provided in the embodiments of this application.
[0059] Figure 13 is a set of GUIs provided in the embodiments of this application.
[0060] Figure 14 is a set of GUIs provided in the embodiments of this application.
[0061] Figure 15 shows a set of GUIs provided in an embodiment of this application.
[0062] Figure 16 is a set of GUIs provided in the embodiments of this application.
[0063] Figure 17 is a schematic flowchart of the interaction method provided in an embodiment of this application.
[0064] Figure 18 is a schematic flowchart of the interaction method provided in the embodiments of this application.
[0065] Figure 19 is a schematic flowchart of the interaction method provided in an embodiment of this application.
[0066] Figure 20 is a schematic diagram of the electronic device provided in an embodiment of this application. Detailed Implementation
[0067] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0068] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, “at least one” and “one or more” refer to one, two, or more than two. The term “and / or” is used to describe the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can indicate: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character “ / ” generally indicates that the preceding and following related objects are in an “or” relationship.
[0069] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0070] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or music player, such as a mobile phone, tablet computer, wearable electronic device with wireless communication capabilities (such as a smartwatch), etc. Exemplary embodiments of the portable electronic device include, but are not limited to, carrying... Alternatively, it could be a portable electronic device with another operating system. The aforementioned portable electronic device could also be other portable electronic devices, such as laptops. It should also be understood that in some other embodiments, the aforementioned electronic device may not be a portable electronic device, but rather a desktop computer.
[0071] For example, Figure 1 shows a schematic diagram of the structure of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity 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.
[0072] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0073] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0074] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.
[0075] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0076] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may 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.
[0077] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0078] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0079] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0080] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0081] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0082] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology 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-CDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0083] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. 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 and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0084] 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 LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0085] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0086] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, converting it into an image visible to the naked eye. The ISP can also perform algorithmic optimization on image noise and brightness. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0087] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0088] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0089] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0090] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0091] The external storage 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 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0092] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0093] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0094] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0095] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.
[0096] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.
[0097] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Electronic device 100 may have at least one microphone 170C. In some embodiments, electronic device 100 may have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 100 may also have three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.
[0098] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with a touch operation intensity greater than or equal to a first pressure threshold is applied to the alarm clock application icon, a command to create a new alarm clock is executed.
[0099] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the collected fingerprint characteristics to achieve fingerprint unlocking, app access lock, fingerprint photography, fingerprint call answering, etc. For example, when the phone detects a user's touch operation on the lock screen, the phone can collect the user's fingerprint information through the fingerprint sensor 180H and match the collected fingerprint information with preset fingerprint information in the phone. If the match is successful, the phone can transition from the lock screen to the unlock screen.
[0100] Touch sensor 180K, also known as a "touch panel," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touch screen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.
[0101] Figure 2 is a software structure block diagram of an electronic device 100 according to an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and function. 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 Android runtime and system libraries, and the kernel layer. The application layer may include a series of application packages.
[0102] As shown in Figure 2, the application layer can include camera, settings, third-party applications, etc. Third-party applications can include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc.
[0103] The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer may include some predefined functions.
[0104] As shown in Figure 2, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0105] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, and capture screenshots. The content provider stores and retrieves data, making this data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0106] The view system includes visual controls, such as controls for displaying text, controls for displaying images, and such as the indicator information for displaying the virtual shutter button in the embodiments of this application. The view system can be used to build applications. The display interface can consist of one or more views. For example, a display interface including a text message notification icon can include a view for displaying text and a view for displaying images.
[0107] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).
[0108] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0109] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0110] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0111] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0112] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0113] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0114] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0115] A 2D graphics engine is a graphics engine for 2D drawing.
[0116] In addition, the system library may also include status monitoring service modules, such as a physical status recognition module for analyzing and recognizing user gestures; and a sensor service module for monitoring sensor data uploaded by various sensors at the hardware layer to determine the physical status of the electronic device 100.
[0117] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0118] The hardware layer may include various types of sensors, such as the various sensors shown in Figure 1, including accelerometers, gyroscopes, and touch sensors involved in the embodiments of this application.
[0119] It should be noted that Figure 2 only illustrates one way of dividing the system framework and should not be construed as a specific limitation on the embodiments of this application. In the embodiments of this application, when the electronic device is equipped with different operating systems, different frameworks can be used for different operating systems. It is understood that when different frameworks are adopted, the way the framework layers are divided, the specific naming, and the specific layer in which each of the above modules is located can be different.
[0120] Currently, users can record information they are interested in through various applications, such as health information, exercise information, and device information. Some users also share this information with their friends through these applications. However, to view this information (which could be information they themselves are interested in or information shared by other users), users need to perform the following steps: 1. Unlock the electronic device; 2. Locate the application icon on the desktop; 3. Click the application icon; 4. Locate the specific interface within the application to view the information. In other words, users need to perform at least four steps to obtain the desired information. Furthermore, finding the application on the desktop and locating the specific interface within the application also takes considerable time. Therefore, the current process for obtaining information is cumbersome, hindering quick access to the desired information and negatively impacting the user experience.
[0121] Based on this, this application provides an interaction method that can quickly display the information needed by the user, which helps to improve the user experience. The interaction method provided by this application will be introduced in conjunction with a graphical user interface (GUI) below.
[0122] Figure 3 illustrates a set of GUIs provided in an embodiment of this application.
[0123] As shown in Figure 3(a), the electronic device of user #1 displays interface 301, which is a lock screen interface and may include a lock screen wallpaper. While displaying interface 301, the electronic device detects a long press operation by the user and, in response to this operation, can display the GUI shown in Figure 3(b).
[0124] As shown in Figure 3(b), in response to the pressing operation of user #1, the electronic device can display prompt boxes 302, 303, 304 and 305 on interface 301. Among them, prompt box 302 is associated with user #2, prompt box 303 is associated with user #3, prompt box 304 is associated with pet, and prompt box 305 is associated with vehicle.
[0125] Referring again to Figure 3(b), in order to distinguish different prompt boxes, the electronic device can display the identification information of the object associated with the prompt box in the prompt box. The identification information is used to indicate the object associated with the control. The identification information includes, but is not limited to, the object's type, name, title, image, model, etc.
[0126] Referring again to Figure 3(b), the electronic device can display status information #1 on prompt box 302 to indicate that the distance between user #1 and user #2 is 5.3 km. The positions of user #1 and user #2 can also be understood as the distance between user #1's electronic device and user #2's electronic device. The electronic device can display status information #2 on prompt box 303 to indicate that user #3 is currently driving. The electronic device can display status information #3 on prompt box 304 to indicate that the pet is currently in the bedroom. The electronic device can display status information #4 on prompt box 305 to indicate that the vehicle is located on Keji Road.
[0127] In this application embodiment, the information displayed by the electronic device in the prompt box, excluding the identification information, is called status information. Status information includes, but is not limited to, location information, motion information, health information, device information, distance information, operation information, etc. Among them, location information #1 is used to indicate the location of the object, motion information is used to indicate the motion data of the object, health information is used to indicate the health data of the object, distance information is used to indicate the distance between the object and user #1, device information is used to indicate the relevant parameters of the device, and operation information is used to indicate the operation being performed by the object.
[0128] In some embodiments, the electronic device may also choose not to display the object's identification information in the prompt box. It is understood that since the prompt box is set by user #1, user #1 may remember the object associated with each prompt box; therefore, the electronic device may choose not to display the object's identification information in the prompt box.
[0129] In some embodiments, when an electronic device displays only a prompt box, the identification information of the object associated with that prompt box may not be displayed.
[0130] It should be noted that in the example shown in Figure 3(b), only four prompt boxes are displayed by the electronic device in response to the user's operation. This should not be construed as a specific limitation of this application. In other embodiments, the electronic device may display more or fewer prompt boxes in response to the user's operation. For details, please refer to the following text, which will not be elaborated here.
[0131] It should also be noted that in the examples shown in Figure 3(a) and (b), the electronic device only displays a prompt box in response to the user's long press operation, but it should not be construed as a specific limitation of this application. In other embodiments, the electronic device may also display a prompt box in response to the user's multiple press operations (e.g., double-click operation), swipe operations, etc.
[0132] It should also be noted that the examples shown in Figures 3(a) and (b) only illustrate the display of a prompt box on the lock screen of an electronic device, and should not be construed as a specific limitation of this application. In other embodiments, the electronic device may also display a prompt box on the desktop in response to a user's press operation. The user's press operation on the desktop may be a press operation in a blank area of the desktop (i.e., an area without controls or application icons). Furthermore, when the electronic device displays a prompt box on the desktop in response to a user's press operation, the icons of applications on the desktop may also be hidden.
[0133] It should also be noted that the examples shown in Figures 3(a) and (b) only illustrate that each prompt box is associated with a different object, and should not be construed as a specific limitation of this application. In other embodiments, multiple prompt boxes displayed by the electronic device may be associated with the same object, and different information about the same object may be displayed in different prompt boxes. For example, the electronic device may display two prompt boxes, prompt box #1 and prompt box #2, which are associated with user #2. The electronic device may display the distance between itself and user #2 in prompt box #1, and display user #2's heart rate in prompt box #2.
[0134] In some embodiments, when an electronic device displays multiple notification boxes and the multiple notification boxes are associated with the same object, the electronic device may not display the identification information of the object associated with the notification box.
[0135] It should also be noted that in the examples shown in Figures 3(a) and (b), the prompt box is only associated with an object other than user #1, and should not be construed as a specific limitation of this application. In other embodiments, the prompt box displayed by the electronic device may be associated with user #1. For example, the electronic device may display prompt box #1 and display user #1's heart rate in prompt box #1.
[0136] In this embodiment, when the electronic device displays the lock screen interface, it can respond to the user's operation and display the information that the user is interested in without having to launch a specific application, thereby improving the speed at which the user can view information and enhancing the user experience.
[0137] In some embodiments, the above-mentioned prompt boxes 302, 303, 304 and 305 can be controls, that is, prompt boxes 302, 303, 304 and 305 can also be referred to as controls 302, 303, 304 and 305 respectively.
[0138] When the electronic device detects that user #1 clicks control 302, it can display the GUI shown in Figure 3(c) in response to the operation.
[0139] As shown in Figure 3(c), the electronic device can display card 306 in response to user #1's click on control 302. The electronic device can display user #2's location on the map on card 306, where card 306 can also be referred to as interface 306.
[0140] In some embodiments, when the electronic device detects that a user has clicked on an area outside of card 306, in response to the operation, the electronic device may no longer display card 306, that is, display the GUI shown in Figure 3(a).
[0141] In the example shown in Figure 3(c), the electronic device can display card 306 in a non-full-screen manner, while in other embodiments, the electronic device can also display card 306 in a full-screen manner.
[0142] It should be noted that before obtaining the location of user #2 (i.e., the location of user #2's electronic device), user #1's electronic device had already obtained authorization from user #2, thus enabling it to obtain user #2's location. For details, please refer to the following text, which will not be elaborated here.
[0143] Referring again to Figure 3(c), the electronic device may also display multiple controls on card 306, such as a control for calling user #2, a control for sending information to user #2, and a control for navigating to user #2's location.
[0144] When the electronic device detects that user #1 clicks control 303, it can display the GUI shown in Figure 3(d) in response to the operation.
[0145] As shown in Figure 3(d), the electronic device can display card 307 in response to user #1's click on control 303. The electronic device can display user #3's driving route on card 307.
[0146] Similarly, before obtaining user #3's driving route, user #1's electronic device had already obtained user #3's authorization, thus enabling it to obtain user #3's driving route.
[0147] When the electronic device detects that user #1 clicks control 304, it can display the GUI shown in Figure 3(e) in response to the operation.
[0148] As shown in Figure 3(e), the electronic device can display card 308 in response to user #1's click on control 304. The electronic device can display a map on card 308 and mark the pet's location on the map.
[0149] Understandably, in the example shown in Figure 3(e), the pet is wearing a positioning device, so that electronic devices can obtain the pet's specific location through the positioning device.
[0150] It should be noted that in the example shown in Figure 3(e), the map displayed by the electronic device can be a floor plan of user #1's home. User #1 can upload a floor plan of their home, or the electronic device can draw a floor plan of user #1's home using sensors such as a smart camera, so that the electronic device can determine that the pet is in the bedroom based on the positioning device worn by the pet.
[0151] It should also be noted that the electronic device draws a floor plan of user #1's home using sensors such as a smart camera with user #1's authorization, without leaking user #1's privacy and in compliance with all laws and regulations.
[0152] When the electronic device detects that user #1 clicks control 305, it can display the GUI shown in Figure 3(f) in response to the operation.
[0153] As shown in Figure 3(f), the electronic device can display card 309 in response to user #1's click on control 305. The electronic device can display vehicle location and other information on card 309.
[0154] In some embodiments, the electronic device remains locked while displaying the GUI shown in Figures 3(b)-(f).
[0155] In some embodiments, the prompt boxes 302, 303, 304 and 305 are capsule-shaped.
[0156] It should be noted that in the example shown in Figure 3, the electronic device can display status information in a prompt box. In other embodiments, the electronic device may not display a prompt box, but instead directly display the status information on interface 301. In this embodiment, when the electronic device displays the lock screen interface, it can respond to user operations by displaying controls and showing information of interest to the user on the controls. When the electronic device detects a user clicking a control, it can further display more detailed information through cards without launching a specific application, thus improving the speed at which the user views information and enhancing the user experience.
[0157] In other embodiments, the electronic device may not display the status information shown in Figure 3(b) (such as the distance information of user #2, the status information of user #3, the location information of the pet, and the location information of the vehicle) on the controls 302-305 as described above. Instead, it may display the identification information of the object associated with the control on the controls 302-305, which will be explained below with reference to Figure 4.
[0158] Figure 4 illustrates a set of GUIs provided in an embodiment of this application.
[0159] As shown in Figure 4(a), user #1's electronic device displays interface 401, which is a lock screen interface and may include a lock screen wallpaper. While displaying interface 401, the electronic device detects a long-press operation by the user and, in response to this operation, can display the GUI shown in Figure 4(b).
[0160] As shown in Figure 4(b), in response to the pressing operation of user #1, the electronic device can display controls 402, 403, 404 and 405 on interface 401. Among them, control 402 is associated with user #2, control 403 is associated with user #3, control 404 is associated with pet, and control 405 is associated with vehicle.
[0161] To help user #1 distinguish the objects associated with the controls, the electronic device can display the identification information of the objects associated with the controls on the controls. Continuing to refer to Figure 4(b), the electronic device can display user #2's name "Xiaoming" and user #2's image in control 402, user #3's name "Xiaohua" and user #3's image in control 403, the pet's name "Jin Gang" and the pet's image in control 404, and the vehicle's model "M7" in control 405.
[0162] When the electronic device detects that user #1 clicks control 402, it can display the GUI shown in Figure 4(c) in response to the operation.
[0163] As shown in Figure 4(c), the electronic device can display card 406 in response to user #1's click on control 402. The electronic device can display user #2's location on the map on card 406.
[0164] When the electronic device detects that user #1 clicks control 403, it can display the GUI shown in Figure 4(d) in response to the operation.
[0165] As shown in Figure 4(d), the electronic device can display card 407 in response to user #1's click on control 403. The electronic device can then display user #3's driving route on card 407.
[0166] When the electronic device detects that user #1 clicks control 404, it can display the GUI shown in Figure 4(e) in response to the operation.
[0167] As shown in Figure 4(e), the electronic device can display card 408 in response to user #1's click on control 404. The electronic device can display a map on card 408 and mark the pet's location on the map.
[0168] When the electronic device detects that user #1 clicks control 405, it can display the GUI shown in Figure 4(f) in response to the operation.
[0169] As shown in Figure 4(f), the electronic device can display card 409 in response to the user's click on control 405. The electronic device can display vehicle location information and other information on card 409.
[0170] In this embodiment, when displaying a lock screen interface, the electronic device can respond to user operations by displaying controls associated with objects. When the electronic device detects a user clicking a control, it can display object information via cards without launching a specific application, thus improving the speed at which users view information and enhancing the user experience. In the examples shown in Figures 3 and 4, the lock screen wallpaper of the electronic device does not include identifiable objects. In other embodiments of this application, the lock screen wallpaper includes identifiable objects. The electronic device can use the area corresponding to the identifiable object as a recognition hotspot. When the electronic device detects a user's operation on the recognition hotspot, it can display a prompt box or control in response to the operation. This will be described in detail below with reference to Figures 5-10.
[0171] Figure 5 illustrates another set of GUIs provided in an embodiment of this application.
[0172] As shown in Figure 5(a), user #1's electronic device displays interface 501, which is a lock screen interface. Interface 501 may include an image of user #2, located in area #1 of interface 501. In other words, the lock screen wallpaper of this lock screen interface is the image of user #2. While displaying interface 501, the electronic device detects a long press operation by the user in area #1. In response to this operation, a GUI as shown in Figure 5(b) or (c) may be displayed.
[0173] As shown in Figure 5(b), in response to a user's long press operation in area #1, the electronic device can display a prompt box 502, which is associated with user #2. The electronic device can display status information #1 in the prompt box 502 to indicate that the distance between user #1 and user #2 is 5.3 km.
[0174] As shown in Figure 5(c), in response to the user's long press operation in area #1, the electronic device can display control 503, and the electronic device can display the user's name "Xiaoming" and an image in control 503.
[0175] In some embodiments, the prompt box 502 may be a control.
[0176] It should be understood that the description of the display card for electronic devices in response to the user's click on the prompt box 502 or control 503 can be found above, and will not be repeated here for the sake of brevity.
[0177] In some embodiments, in response to a user's long press operation in area #1, the electronic device may also identify the image of user #2, such as highlighting the edges of the image of user #2 and displaying preset animation effects at the edges of the image of user #2.
[0178] In some embodiments, in response to a long press, the electronic device may also display an animation effect in the area corresponding to the image of user #2.
[0179] For example, an electronic device can display a flowing light animation effect at the edge of user #2's image, or display an animation effect that highlights the edge of user #2's image.
[0180] For example, electronic devices can display an animated effect that highlights the entire image of user #2.
[0181] It should be noted that the detailed instructions on the setup process for identifying user #2 in the electronic device identification interface 501 and displaying the interface elements associated with user #2 are provided below and will not be elaborated here.
[0182] It should also be noted that in the example shown in Figure 5, the user's operation is described as being directed at the object of user #2. In other embodiments of this application, the user's operation may not be directed at the image of user #2. For example, if the user long presses on an area other than the image of user #2, the electronic device may also display the GUI shown in Figure 5.
[0183] It should also be noted that in the example shown in Figure 5, the electronic device displays a prompt box in response to the user's operation, but the embodiments of this application are not limited to this. In other embodiments of this application, the electronic device may display multiple prompt boxes associated with user #2 in response to the user's operation to display the status information of multiple users #2.
[0184] In this embodiment of the application, when the interface displayed by the electronic device includes the image of user #2 and it is detected that user #1 long-presses the area of the image of user #2, the electronic device can display interface elements associated with user #2. User #1 can view the information of user #2 without launching a specific application, which improves the speed at which the user views the information and helps to improve the user experience.
[0185] In the example shown in Figure 5, the interface displayed by the electronic device includes an image of a person. In other embodiments of this application, the interface displayed by the electronic device may also include images of other types of objects, such as images of pets, images of devices, etc.
[0186] Figure 6 illustrates another set of GUIs provided in an embodiment of this application.
[0187] As shown in Figure 6(a), the electronic device of user #1 displays interface 601, which is a lock screen interface. Interface 601 may include an image of a pet, which is located in area #1 of interface 601. While displaying interface 601, the electronic device detects a long press operation by the user in area #1. In response to this operation, the GUI shown in Figure 6(b) or (c) may be displayed.
[0188] As shown in Figure 6(b), in response to a user's long press on area #1, the electronic device can display a prompt box 602 associated with the pet. The electronic device can display status information #1 in the prompt box 602 to indicate that the pet is currently in the bedroom.
[0189] As shown in Figure 6(c), in response to the user's long press operation in area #1, the electronic device can display control 603, in which the electronic device can display the pet's name "King Kong" and an image.
[0190] In some embodiments, the prompt box 602 may be a control.
[0191] It should be understood that the description of the display card for electronic devices in response to the user's click on the prompt box 602 or control 603 can be found above, and will not be repeated here for the sake of brevity.
[0192] It should be noted that the detailed instructions on the setup process for the electronic device to recognize the pet in interface 601 and display the interface elements associated with the pet are provided below and will not be elaborated here.
[0193] In this embodiment of the application, when the interface displayed by the electronic device includes an image of a pet and the system detects that user #1 has long-pressed the area of the pet's image, the electronic device can display interface elements associated with the pet. User #1 can view the pet's information without launching a specific application, which improves the speed at which the user can view the information and helps to enhance the user experience.
[0194] Figure 7 illustrates another set of GUIs provided in the embodiments of this application.
[0195] As shown in Figure 7(a), the electronic device of user #1 displays interface 701, which is a lock screen interface. Interface 701 may include an image of a vehicle, and an image of a pet is located in area #1 of interface 701. While displaying interface 701, the electronic device detects a long press operation by the user in area #1. In response to this operation, the GUI shown in Figure 7(b) or (c) may be displayed.
[0196] As shown in Figure 7(b), in response to a user's long press operation in area #1, the electronic device can display a prompt box 702, which is associated with the vehicle. The electronic device can display status information #1 in the prompt box 702 to indicate that the vehicle's location is on Keji Road.
[0197] As shown in Figure 7(c), in response to the user's long press operation in area #1, the electronic device can display control 703, in which the electronic device can display the vehicle model "M7".
[0198] In some embodiments, the prompt box 702 may be a control.
[0199] It should be understood that the description of the display card for electronic devices in response to the user's click on the prompt box 702 or control 703 can be found above, and will not be repeated here for the sake of brevity.
[0200] It should be noted that the detailed instructions on the setup process for the electronic device to identify the vehicle in the interface 701 and display the interface elements associated with the vehicle are provided below and will not be elaborated here.
[0201] In this embodiment of the application, when the interface displayed by the electronic device includes an image of a vehicle and the system detects that user #1 has long-pressed the area of the vehicle image, the electronic device can display interface elements associated with the vehicle. User #1 can view the vehicle information without launching a specific application, which improves the speed at which the user can view the information and helps to enhance the user experience.
[0202] In the examples shown in Figures 5-7, the objects included in the lock screen wallpaper are real objects, meaning that the information displayed by the electronic device in response to the user's operation is related to the objects included in the lock screen wallpaper. In other embodiments, users may also use virtual objects such as cartoon characters or characters from movies and TV shows as lock screen wallpapers. In these embodiments, the information displayed by the electronic device in response to the user's operation may not be related to the objects included in the lock screen wallpaper, as will be explained below with reference to Figure 8.
[0203] Figure 8 illustrates another set of GUIs provided in an embodiment of this application.
[0204] As shown in Figure 8(a), the electronic device of user #1 displays interface 801, which is a lock screen interface. Interface 801 may include an image of a cartoon object located in area #1 of interface 801. While displaying interface 801, the electronic device detects a long press operation by the user in area #1. In response to this operation, the GUI shown in Figure 8(b) or (c) may be displayed.
[0205] As shown in Figure 8(b), in response to a user's long press operation in area #1, the electronic device can display a prompt box 802, which is associated with user #2. The electronic device can display status information #1 in the prompt box 802 to indicate that the distance between user #1 and user #2 is 5.3 km.
[0206] As shown in Figure 8(c), in response to the user's long press operation in area #1, the electronic device can display control 803, and the electronic device can display the user's name "Xiaoming" and the user's image in control 803.
[0207] In some embodiments, the prompt box 802 may be a control.
[0208] It should be understood that the description of the display card for electronic devices in response to the user's click on the prompt box 802 or control 803 can be found above, and will not be repeated here for the sake of brevity.
[0209] It should be noted that the detailed instructions on the setup process for recognizing cartoon objects in the electronic device interface 801 and displaying interface elements associated with user #2 are provided below and will not be elaborated here.
[0210] In this embodiment of the application, when the interface displayed by the electronic device includes an image of a virtual object and the electronic device detects that user #1 has long-pressed the area of the image of the virtual object, the electronic device can display interface elements associated with user #2. User #1 can view user #2's information without launching a specific application, which improves the speed at which users view information and helps to enhance the user experience.
[0211] In the examples shown in Figures 5-8, taking the display of an object on the lock screen of an electronic device as an example, in some other embodiments of this application, the electronic device can display multiple objects on the lock screen. The electronic device can identify multiple recognition hot zones. When the electronic device detects a user's operation on a certain recognition hot zone, in response to the operation, it can display a prompt box or control related to the recognition hot zone, which will be described below with reference to Figure 9.
[0212] Figure 9 illustrates another set of GUIs provided in an embodiment of this application.
[0213] As shown in Figure 9(a), user #1's electronic device displays interface 901, which is a lock screen interface. Interface 901 can include images of user #2 and user #3. User #2's image is located in area #1 of interface 901, and user #3's image is located in area #2 of interface 901. While displaying interface 901, the electronic device detects a long press operation by the user in area #1. In response to this operation, it can display the GUI shown in Figure 9(b) or (c). While displaying interface 901, the electronic device detects a long press operation by the user in area #2. In response to this operation, it can display the GUI shown in Figure 9(d) or (e).
[0214] As shown in Figure 9(b), in response to a user's long press operation in area #1, the electronic device can display a prompt box 902, which is associated with user #2. The electronic device can display status information #1 in the prompt box 902 to indicate that the distance between user #1 and user #2 is 5.3 km.
[0215] As shown in Figure 9(c), in response to the user's long press operation in area #1, the electronic device can display control 903, and the electronic device can display the user's name "Xiaoming" and the user's image in control 903.
[0216] As shown in Figure 9(d), in response to a user's long press operation in area #2, the electronic device can display a prompt box 904, which is associated with user #3. The electronic device can display status information #2 in the prompt box 904 to indicate to user #3 that the current status is driving.
[0217] As shown in Figure 9(e), in response to the user's long press operation in area #2, the electronic device can display control 905, in which the electronic device can display the name "Xiaohua" of user #3 and the image of user #3.
[0218] In some embodiments, the prompts 902 and 904 may be controls.
[0219] It should be understood that the description of the display card for electronic devices in response to user clicks on prompt box 902, control 903, prompt box 904 and control 905 can be found above, and will not be repeated here for the sake of brevity.
[0220] It should be noted that the specific instructions for setting up the electronic device to identify user #2 in interface 901 and display the interface elements associated with user #2, or to identify user #3 in interface 901 and display the interface elements associated with user #3, are provided below and will not be elaborated here.
[0221] In this embodiment of the application, the interface displayed by the electronic device may include multiple objects. When the electronic device detects that the user operates on the area corresponding to a certain object, the electronic device may display a prompt box or control associated with the object. The user can view the information of the object without launching a specific application, which improves the speed at which the user views the information and helps to improve the user experience.
[0222] In some embodiments, an electronic device may display different information about an object using multiple cards.
[0223] Figure 10 illustrates another set of GUIs provided in an embodiment of this application.
[0224] As shown in Figure 10(a), the electronic device displays card 1001. The electronic device can display the driving route of user #3 on card 1001. The electronic device detects the user's swipe to the left and, in response to the action, can display the GUI shown in Figure 10(b).
[0225] As shown in Figure 10(b), in response to the user's swipe-to-left operation, the electronic device can switch card 1001 to card 1002 and display the user's blood glucose index changes over a week on card 1002.
[0226] In this embodiment of the application, the electronic device can associate multiple pieces of information of user #3, so that user #1 can view multiple pieces of information of user #3 without launching multiple specific applications, thereby improving the speed at which users view information and helping to improve the user experience.
[0227] The previous section introduced how electronic devices can respond to user actions and quickly display information about one or more objects. The following section will describe the specific setup process.
[0228] Figures 11 and 12 illustrate another set of GUIs provided in embodiments of this application.
[0229] As shown in Figure 11(a), user #1's electronic device displays image 1101, which can be an image from a gallery application. The electronic device detects user #1's click on control 1102 and, in response to this action, can display the GUI shown in Figure 11(b).
[0230] As shown in Figure 11(b), in response to user #1 clicking control 1102, the electronic device can display an option box 1103. The electronic device can display multiple controls in the option box 1103, such as control 1104. Upon detecting user #1 clicking control 1104, the electronic device can display the GUI shown in Figure 11(c).
[0231] As shown in Figure 11(c), in response to user #1 clicking control 1104, the electronic device can display option box 1105. The electronic device can display multiple controls in option box 1105, such as control 1106. Upon detecting user #1 clicking control 1106, the electronic device can display the GUI shown in Figure 11(d) in response to this action.
[0232] As shown in Figure 11(d), in response to user #1 clicking control 1106, the electronic device can display an interface 1107 with image 1101 as wallpaper. This interface 1107 can also be called a preview interface (or wallpaper setting interface). The electronic device can display controls 1108 and 1109 on interface 1107. When the electronic device detects user #1 clicking control 1108, it can display the GUI shown in Figure 11(e).
[0233] As shown in Figure 11(e), in response to user #1 clicking control 1108, the electronic device can recognize that image 1101 includes two objects, namely object 1110 and object 1111. The electronic device can use prompt box 1112 (or control 1112) to identify object 1110 and use prompt box 1113 (or control 1113) to identify object 1111.
[0234] In some embodiments, user #1 can set the name and / or image of an object in the gallery application. When the electronic device detects that object 1110 and object 1111 are objects for which user #1 has already set a name and / or image, the electronic device can display the name and / or image of the object in a prompt box.
[0235] In some embodiments, user #1 can set the name and / or image of an object in the address book application. When the electronic device detects that object 1110 and object 1111 are objects for which user #1 has already set a name and / or image, the electronic device can display the object's name and / or image in a prompt box. Furthermore, the electronic device can also associate the prompt box with the object's communication information.
[0236] In some embodiments, the electronic device detects that user #1 clicks on control 1114, and in response to this action, the prompt box 1112 can be deleted.
[0237] In some embodiments, after the electronic device deletes the prompt box 1112, it detects a pressing operation (such as a long press or multiple clicks) by user #1 in the area corresponding to object 1110. In response to the pressing operation, the prompt box 1112 can be redisplayed.
[0238] In some embodiments, the electronic device may change the position of the prompt boxes 1112 and 1113 in response to the user's operation of moving the prompt boxes 1112 and 1113.
[0239] Referring again to Figure 11(e), the electronic device detects that user #1 clicked on the prompt box 1112 and, in response to this action, can display the GUI shown in Figure 11(f).
[0240] As shown in Figure 11(f), in response to user #1 clicking the prompt box 1112, the electronic device can display an option box 1115 (or a status information selection interface). The electronic device can display multiple options in option box 1115, which correspond to information that can be requested from user #2. For example, user #1 selects heart rate, blood pressure, blood sugar, daily steps, calorie consumption, exercise duration, real-time location, and real-time driving route.
[0241] Referring again to Figure 11(f), when the electronic device detects a user's click on control 1116, it can send a request message to user #2's electronic device in response to the action. This request message requests the sharing of user #2's information. After receiving the request message, user #2's electronic device can display the GUI shown in Figure 12(a).
[0242] As shown in Figure 12(a), user #2's electronic device displays a prompt message 1201, prompting user #1 that permission is required. The electronic device detects user #2's click on status information 1201 and, in response to this action, displays the GUI shown in Figure 12(b).
[0243] As shown in Figure 12(b), in response to user #2 clicking on status information 1201, the electronic device can display option box 1202. The electronic device can display the information requested by user #1 in option box 1202.
[0244] As shown in Figures 12(b) and (c), user #2 can cancel some shared information. When the electronic device detects that user #2 clicks control 1203, in response to this operation, it can send an instruction message to user #1's electronic device, indicating that user #2 has agreed to the authorization. After receiving the instruction message, user #1's electronic device can display the GUI shown in Figure 12(d).
[0245] As shown in Figure 12(d), after receiving the instruction information sent by the electronic device of user #2, the electronic device of user #1 can display the instruction information.
[0246] It is understandable that when user #1's electronic device receives the instruction information sent by user #2's electronic device, it can respond to user #1's operation and display user #2's location information.
[0247] It should be noted that in the examples shown in Figures 11 and 12, the lock screen wallpaper includes a person as an example, but this should not be construed as a specific limitation on the embodiments of this application. In other embodiments, when the lock screen wallpaper includes a device and the device is associated with the user's #1 electronic device, the electronic device can also automatically identify the device and display the corresponding identification information of the device on the prompt box.
[0248] Figure 13 illustrates another set of GUIs provided in an embodiment of this application.
[0249] As shown in Figure 13(a), the electronic device of user #1 displays interface 1301, which is a wallpaper setting interface and includes a virtual object 1302. When the electronic device detects that user #1 clicks on control 1303, in response to the operation, it can display the GUI shown in Figure 13(b).
[0250] As shown in Figure 13(b), in response to user #1 clicking control 1303, the electronic device can recognize the virtual object 1302 and display a prompt box 1304 identifying the virtual object 1302. When the electronic device detects user #1 clicking the prompt box 1304, in response to this operation, it can display the GUI shown in Figure 13(c), or it can directly display the GUI shown in Figure 13(d), or it can directly display the GUI shown in Figure 13(e).
[0251] As shown in Figure 13(c), in response to user #1 clicking the prompt box 1304, the electronic device can display an option box 1305, which may include a contact option 1306 and a device option 1307. When the electronic device detects that the user clicks the contact option 1306, in response to this operation, it can display the GUI shown in Figure 13(d). When the electronic device detects that the user clicks the device option 1307, in response to this operation, it can display the GUI shown in Figure 13(e).
[0252] As shown in Figure 13(d), in response to the user clicking the contact option 1306, the electronic device can display an option box 1308 (or an object selection interface). The electronic device can display information for multiple contacts, such as Xiaoming and Xiaohua, in the option box 1308.
[0253] As shown in Figure 13(e), in response to a user clicking device option 1307, the electronic device can display option box 1309 (or object selection interface). The electronic device can display information about multiple devices in option box 1309, such as a location device, tablet computer, or laptop computer.
[0254] When the electronic device detects the user's operation of selecting Xiaoming in the option box 1308, in response to the operation, it can display the GUI shown in Figure 13(f), that is, the electronic device can display the identification information associated with Xiaoming in the prompt box 1304, such as Xiaoming's image and name.
[0255] It is understandable that when the electronic device displays the GUI as shown in Figure 13(f), it detects the user's click on the prompt box 1304. In response to this operation, a GUI similar to that shown in Figure 11(f) can be displayed. For details, please refer to the description of Figure 11. For the sake of brevity, it will not be repeated here.
[0256] It is also understandable that, in the GUI shown in Figure 11, if user #1 has not set the names and / or images of objects 1110 and 1111 in the Gallery application and Contacts application, when the electronic device detects the user's click on control 1108, in response to the operation, it can identify objects 1110 and 1111 and use prompt boxes 1112 and 1113 to identify objects 1110 and 1111 respectively, but will not display the name and / or image of object 1110 in prompt box 1112 and will not display the name and / or image of object 1111 in prompt box 1113. Furthermore, when the electronic device detects the user's click on prompt box 1112 or prompt box 1113, in response to the operation, it can display a GUI similar to that shown in Figure 13(c).
[0257] Figure 14 illustrates another set of GUIs provided in an embodiment of this application.
[0258] As shown in Figure 14(a), user #1's electronic device displays interface 1401, which is a wallpaper setting interface and includes a pet 1402. When the electronic device detects user #1's click on control 1403, in response to the operation, it can display the GUI shown in Figure 14(b).
[0259] As shown in Figure 14(b), in response to user #1 clicking control 1403, the electronic device can recognize pet 1402 and display a prompt box 1404 identifying pet 1402. When the electronic device detects user #1 clicking the prompt box 1404, in response to this operation, it can display the GUI shown in Figure 14(c), or it can directly display the GUI shown in Figure 14(d), or it can directly display the GUI shown in Figure 14(e).
[0260] It should be understood that the description of (c)-(e) in Figure 14 is similar to the description of (c)-(e) in Figure 13, and will not be repeated here for the sake of brevity.
[0261] In the GUI shown in Figures 11-14, the lock screen wallpaper includes recognizable objects; the following section will discuss lock screen wallpapers that do not include recognizable objects.
[0262] Figure 15 shows another set of GUIs provided in an embodiment of this application.
[0263] As shown in Figure 15(a), user #1's electronic device displays interface 1501, which is the wallpaper setting interface. When the electronic device detects user #1's click on control 1502, it can display the GUI shown in Figure 15(b) in response to the operation.
[0264] As shown in Figure 15(b), in response to a user's click on control 1502, the electronic device can display a prompt box 1503 on interface 1501. When the electronic device detects a user's press operation at position #1, in response to that operation, it can display the GUI shown in Figure 15(c).
[0265] As shown in Figure 15(c), the electronic device can display a prompt box 1504 at position #1 in response to the user's press operation at position #1.
[0266] When the electronic device detects that the user clicks on prompt box 1503 or prompt box 1504, in response to the operation, it can display a GUI similar to (c)-(e) in Figure 13. For the sake of simplicity, it will not be described in detail here.
[0267] Figure 16 illustrates another set of GUIs provided in an embodiment of this application.
[0268] As shown in Figure 16(a), the electronic device displays interface 1601, which is a settings interface. The electronic device can display multiple options on interface 1601. When the electronic device detects that the user clicks on option 1602, in response to the operation, it can display the GUI shown in Figure 16(b).
[0269] As shown in Figure 16(b), the electronic device can display interface 1603 in response to the user's click on option 1602. When the electronic device detects the user's click on control 1604, it can display the GUI shown in Figure 16(c) in response to that click.
[0270] As shown in Figure 16(c), the electronic device can display interface 1605 in response to the user clicking option 1604. When the electronic device detects the user clicking control 1606, it can display the GUI shown in Figure 16(d) in response to that action.
[0271] As shown in Figure 16(d), the electronic device can display interface 1607 in response to the user's click on option 1606. When the electronic device detects the user's selection of image 1608, it can display the GUI shown in Figure 16(e) in response to that selection.
[0272] As shown in Figure 16(e), the electronic device can display interface 1609 in response to a user's click on image 1608. When the electronic device detects a user's click on control 1610, it can display the GUI shown in Figure 16(f) in response to that click.
[0273] As shown in Figure 16(f), in response to the user's click on the control 1610, the electronic device can display a prompt box 1611 on the interface 1609.
[0274] The interactive method provided by the embodiments of this application has been introduced above with reference to the GUI. The interactive method provided by the embodiments of this application will be described below with reference to the method flowchart.
[0275] Figure 17 shows a schematic flowchart of the interaction method 1700 provided in an embodiment of this application. The method 1700 can be executed by an electronic device or by a component of the electronic device (e.g., a processor). The following description takes an electronic device as the executing entity. As shown in Figure 17, the method 1700 includes:
[0276] S1710 displays the first interface, which is either the lock screen or the desktop.
[0277] For example, as shown in Figure 3(a), the electronic device can display interface 301, which is a lock screen interface.
[0278] S1720, in response to the user's first operation, displays N interface elements on the first interface, where the N interface elements are associated with M objects, N≥M≥1 and N and M are integers.
[0279] In some embodiments, the first operation may be a pressing operation.
[0280] For example, as shown in Figures 3(a) and (b), in response to a user's pressing operation, the electronic device can display prompt boxes 302, 303, 304 and 305 on interface 301, wherein prompt box 302 is associated with user #2, prompt box 303 is associated with user #3, prompt box 304 is associated with a pet, and prompt box 305 is associated with a vehicle.
[0281] In some embodiments, the first operation may be a sliding operation.
[0282] In some embodiments, the first operation may be an air gesture.
[0283] S1730 displays the status information of M objects on N interface elements.
[0284] For example, as shown in Figure 3(b), the electronic device can display status information #1 on prompt box 302 to indicate that the distance between user #1 and user #2 is 5.3 km. The electronic device can display status information #2 on prompt box 303 to indicate that user #3 is currently driving. The electronic device can display pet status information #3 on prompt box 304 to indicate that the pet is currently in the bedroom. The electronic device can display status information #4 on prompt box 305 to indicate that the vehicle is located on Keji Road.
[0285] In some embodiments, the method 1700 further includes: displaying identification information of M objects on N interface elements.
[0286] For example, as shown in Figure 3(b), the electronic device can display an image of user #2 on prompt 302. The electronic device can display an image of user #3 on prompt 303. The electronic device can display an image of a pet on prompt 304. The electronic device can display an image of a vehicle on prompt 305.
[0287] In some embodiments, when N > 2 and M > 2, the method 1700 further includes: displaying the identification information of M objects on N interface elements.
[0288] In this embodiment, when the electronic device displays the lock screen or desktop, it can respond to the user's operation and display information that the user is interested in without launching a specific application, thereby improving the speed at which the user views information and enhancing the user experience.
[0289] In some embodiments, the N interface elements include a first interface element, the M objects include a first object, the first interface element is associated with the first object, and a first area of the first interface includes the first object. S1720, in response to a first user operation, the N interface elements are displayed on the first interface, including:
[0290] In response to the user's action on the first area, the first interface element is displayed.
[0291] For example, as shown in Figures 5(a) and (b), area #1 of interface 501 includes an image of user #2. In response to a long press operation by the user in area #1, the electronic device can display a prompt box 502 associated with user #2.
[0292] For example, as shown in Figures 6(a) and (b), area #1 of interface 601 includes an image of a pet. In response to a user's long press operation in area #1, the electronic device can display a prompt box 602 associated with the pet.
[0293] For example, as shown in Figures 7(a) and (b), area #1 of interface 701 includes an image of a vehicle. In response to a user's long press operation in area #1, the electronic device can display a prompt box 702 associated with a pet.
[0294] In some embodiments, the N interface elements include a first interface element, the M objects include a first object, the first interface element is associated with the first object, and a second area of the first interface includes a second object. S1720, in response to a first user operation, the N interface elements are displayed on the first interface, including:
[0295] In response to the user's action on the second area, the first interface elements are displayed.
[0296] For example, as shown in Figures 8(a) and (b), area #1 of interface 801 includes an image of a cartoon object. In response to a user's long press operation in area #1, the electronic device can display a prompt box 802 associated with user #2.
[0297] In some embodiments, the first interface element is a control, and the method 1700 further includes:
[0298] In response to a user's action on a first interface element, a first card is displayed, the first card including the first state information of the first object.
[0299] For example, as shown in Figures 3(b) and (c), the electronic device can display card 306 in response to the user's click on control 302, and can display the driving route of user #3 on card 306.
[0300] For example, as shown in Figures 3(b) and (d), the electronic device can display card 307 in response to the user's click on control 303, and the location of user #2 on the map can be displayed on card 307.
[0301] For example, as shown in Figures 3(b) and (e), the electronic device can display card 308 in response to the user's click on control 304, and the location of the pet on the map can be displayed on card 308.
[0302] For example, as shown in Figures 3(b) and (f), the electronic device can display card 309 in response to the user's click on control 305, and the location of the vehicle can be displayed on card 309.
[0303] In some embodiments, the method 1700 further includes:
[0304] In response to the user's card switching operation, a second card is displayed, which includes the second status information of the first object.
[0305] For example, as shown in Figures 10(a) and (b), the electronic device displays card 1001. The electronic device can display user #3's driving route on card 1001. In response to the user's swipe left, the electronic device can switch card 1001 to card 1002, and display user #3's blood sugar level changes over a week on card 1002.
[0306] In some embodiments, when the first interface is a desktop, the method 1700 further includes: hiding application icons on the desktop.
[0307] Figure 18 shows a schematic flowchart of the interaction method 1800 provided in an embodiment of this application. The method 1800 can be executed by an electronic device or by a component of the electronic device (e.g., a processor). The following description takes an electronic device as the executing entity. As shown in Figure 18, the method 1800 includes:
[0308] S1810 displays the first interface, which is either the lock screen or the desktop.
[0309] S1820, in response to the user's first operation, displays N controls on the first interface, wherein the N controls are associated with M objects, N≥M≥1 and N and M are integers, the N controls include the first control, the M objects include the first object, and the first control is associated with the first object.
[0310] S1830 displays the identification information of M objects on N controls.
[0311] For example, as shown in Figures 4(a) and (b), the electronic device displays interface 401, which is a lock screen interface. Interface 401 may include a lock screen wallpaper. While displaying interface 401, the electronic device detects a long-press operation by the user. In response to this operation, it can display controls 402, 403, 404, and 405 on interface 401. Control 402 is associated with user #2, control 403 with user #3, control 404 with a pet, and control 405 with a vehicle. The electronic device can display user #2's name "Xiaoming" and an image of user #2 on control 402, user #3's name "Xiaohua" and an image of user #3 on control 403, the pet's name "Jin Gang" and an image of the pet on control 404, and the vehicle model "M7" on control 405.
[0312] S1840, in response to the user's operation on the first control, a first card is displayed, the first card including first status information of the first object.
[0313] For example, as shown in Figures 4(b) and (c), the electronic device can display card 406 in response to user #1's click on control 402. The electronic device can then display user #2's location on the map on card 406.
[0314] For example, as shown in Figures 4(b) and (d), the electronic device can display card 407 in response to user #1's click on control 403. The electronic device can then display user #3's driving route on card 407.
[0315] For example, as shown in Figures 4(b) and (e), the electronic device can display card 408 in response to user #1's click on control 404. The electronic device can display the pet's location on the map on card 408.
[0316] For example, as shown in Figures 4(b) and (f), the electronic device can display card 409 in response to user #1's click on control 405. The electronic device can display the vehicle's location information on card 409.
[0317] In this embodiment, when displaying a lock screen or desktop, the electronic device can display one or more controls in response to user actions. These controls are associated with objects. The electronic device can then display information about the object associated with the control in response to user actions on that control, without needing to launch a specific application. This improves the speed at which users view information and enhances the user experience.
[0318] In some embodiments, a first area of the first interface includes a first object, S1820, in response to a first operation by the user, displaying N controls, including: in response to the user's operation on the first area, displaying a first control.
[0319] In some embodiments, the second area of the first interface includes a second object, S1820, in response to a first operation by the user, displaying N controls, including: in response to an operation by the user on the second area, displaying a first control.
[0320] In some embodiments, method 1800 further includes: in response to a user's card switching operation, displaying a second card, the second card including second status information of the first object.
[0321] Figure 19 shows a schematic flowchart of the interaction method 1900 provided in an embodiment of this application. The method 1900 can be executed by an electronic device or by a component of the electronic device (e.g., a processor). The following description takes an electronic device as the executing entity. As shown in Figure 19, the method 1900 includes:
[0322] S1910, Display the first interface, wherein the first interface is a lock screen interface or desktop, the first interface includes a first object, and the first object is associated with a second object.
[0323] S1920, in response to the user's first operation, displays the status information of the second object.
[0324] In some embodiments, the first object is the same as the second object.
[0325] For example, as shown in Figures 5(a) and (b), area #1 of interface 501 includes an image of user #2. In response to a long press operation by the user in area #1, the electronic device can display a prompt box 502 and display the status information of user #2 in the prompt box 502.
[0326] In some embodiments, the first object and the second object are not the same.
[0327] For example, as shown in Figures 8(a) and (b), area #1 of interface 801 includes an image of a cartoon object. In response to a user's long press operation in area #1, the electronic device can display a prompt box 802 and display the status information of user #2 in the prompt box 802.
[0328] In some embodiments, the first operation is an operation performed on the first interface, an air gesture operation, or a voice input operation.
[0329] In some embodiments, the first operation is an operation performed on a first object on a first interface.
[0330] In some embodiments, the method 1900 further includes:
[0331] In response to a user's action on the status information of a second object, a first card is displayed, the first card including the first status information of the first object.
[0332] For example, as shown in Figure 5(b) and Figure 3(c), the electronic device can display card 306 in response to the user's click on control 502, and display the location of user #2 on the map on card 306.
[0333] In some embodiments, the method 1900 further includes:
[0334] In response to the user's card switching operation, a second card is displayed, which includes the second status information of the first object.
[0335] For example, as shown in Figures 10(a)-(b), the electronic device displays card 1001. The electronic device can display user #3's driving route on card 1001. The electronic device detects a user swiping left and, in response to this action, can switch card 1001 to card 1002, displaying user #3's weekly blood sugar level changes on card 1002.
[0336] In some embodiments, method 1900 further includes:
[0337] In response to the user's first action, display the identification information of the second object.
[0338] In some embodiments, when the first interface is a desktop, method 1900 further includes:
[0339] Hide the application icons in the first interface.
[0340] In some embodiments, the status information of the second object includes one or more of the following: location information, distance information, motion information, health information, device information, and operation information.
[0341] In some embodiments, when the first interface is a lock screen interface, method 1900 further includes:
[0342] While displaying the status information of the second object, keep the screen locked.
[0343] In some embodiments, method 1900 further includes:
[0344] In response to the first operation, display the animation effect in the area corresponding to the first object.
[0345] In some embodiments, S1920, in response to the first operation, displaying status information of the second object includes:
[0346] In response to the first action, display the state information of the second object on one or more UI elements.
[0347] In some embodiments, the one or more interface elements are capsule-shaped.
[0348] In some embodiments, the first interface further includes a third object, which is associated with the fourth object, and the method 1900 further includes:
[0349] In response to the second operation, the status information of the fourth object is displayed.
[0350] In some embodiments, before displaying the first interface, method 1900 further includes:
[0351] In response to the user selecting a first image as wallpaper, a wallpaper settings interface is displayed, wherein the first image includes a first object.
[0352] A first interface element is used to identify a first object and associate the first object with the second object, wherein the first interface element includes the identification information of the second object.
[0353] In response to an action on the first interface element, a status information selection interface is displayed.
[0354] In response to the user's selection operation on the status information selection interface, a first request message is sent to the electronic device corresponding to the second object. The first request message is used to request the status information of the second object.
[0355] Receive and display first indication information sent by the electronic device corresponding to the second object, the first indication information being used to indicate that the second object has been authorized.
[0356] For example, as shown in Figures 11 and 12, in response to the user's selection of image 1101 as wallpaper, user #1's electronic device can display interface 1107. User #1's electronic device can recognize that image 1101 includes two objects, object 1110 and object 1111. User #1's electronic device can use prompt box 1112 (or control 1112) to identify object 1110 and use prompt box 1113 (or control 1113) to identify object 1111, and display the identification information of object 1110 and object 1111 in prompt boxes 1112 and 1113. In response to user #1 clicking on prompt box 1112, the electronic device can display option box 1115. User #1's electronic device can display multiple options in option box 1115, which correspond to information that can be requested from user #2. When user #1's electronic device detects user clicking control 1116, it can send a request message to user #2's electronic device in response to this action. This request message requests the sharing of user #2's information. Upon receiving this request message, user #2's electronic device displays a prompt message 1201, indicating that user #1 needs permission. When the electronic device detects user #2 clicking status information 1201, it can display an option box 1202 in response to this action. The electronic device can display the information requested by user #1 in the option box 1202. When the electronic device detects user #2 clicking control 1203, it can send an instruction message to user #1's electronic device in response to this action. This instruction message indicates that user #2 has agreed to authorization. Upon receiving this instruction message, user #1's electronic device can display the instruction message.
[0357] In some embodiments, in response to a user selecting a first image as wallpaper, a wallpaper settings interface is displayed, including:
[0358] In response to the user selecting the first image as wallpaper in the gallery interface, the wallpaper settings interface is displayed.
[0359] In some embodiments, using a first interface element to identify a first object and associating the first object with a second object includes:
[0360] Use the first interface element to identify the first object.
[0361] In response to an operation performed on a first interface element, an object selection interface is displayed, which includes the identification information of a second object.
[0362] In response to the operation of selecting the identification information of the second object, the first object is associated with the second object, and the identification information of the second object is displayed on the first interface element.
[0363] For example, as shown in Figure 13, user #1's electronic device displays interface 1301, which is a wallpaper setting interface. This interface 1301 includes a virtual object 1302. When the electronic device detects user #1 clicking control 1303, in response to this operation, it can recognize the virtual object 1302 and display a prompt box 1304 identifying the virtual object 1302. When the electronic device detects user #1 clicking the prompt box 1304, in response to this operation, it can display the GUI shown in Figure 13(c), or it can directly display the GUI shown in Figure 13(d), or it can directly display the GUI shown in Figure 13(e).
[0364] As shown in Figure 13(c), in response to user #1 clicking the prompt box 1304, the electronic device can display an option box 1305, which may include a contact option 1306 and a device option 1307. When the electronic device detects that the user clicks the contact option 1306, in response to this operation, it can display the GUI shown in Figure 13(d). When the electronic device detects that the user clicks the device option 1307, in response to this operation, it can display the GUI shown in Figure 13(e).
[0365] As shown in Figure 13(d), in response to the user clicking the contact option 1306, the electronic device can display an option box 1308. The electronic device can display information about multiple contacts in the option box 1308, such as Xiaoming and Xiaohua.
[0366] As shown in Figure 13(e), the electronic device can display an option box 1309 in response to a user clicking on device option 1307. The electronic device can display information about multiple devices, such as a location device, a tablet computer, and a laptop computer, in option box 1309.
[0367] When the electronic device detects the user's operation of selecting Xiaoming in the option box 1308, in response to the operation, it can display the GUI shown in Figure 13(f), that is, the electronic device can display the identification information associated with Xiaoming in the prompt box 1304, such as Xiaoming's image and name.
[0368] The interactive methods provided in the embodiments of this application have been described in detail above. In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions between the various embodiments are consistent and can be referenced by each other. Technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.
[0369] The foregoing primarily describes the interaction methods provided in the embodiments of this application from the perspective of an electronic device. It is understood that, in order to achieve the above functions, the electronic device includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0370] With the adoption of dividing each function into corresponding functional modules (or units), Figure 20 shows a schematic diagram of the composition of an electronic device 2000 provided in an embodiment of this application. As shown in Figure 20, the electronic device 2000 includes: a display module 2010 and a detection module 202.
[0371] Display module 2010 is used to display the first interface, which is either the desktop or the lock screen.
[0372] The detection module 2020 is used to detect user actions.
[0373] The display module 2010 is also used to respond to the user's first operation by displaying N interface elements on the first interface, wherein the N interface elements are associated with M objects, N≥M≥1 and N and M are integers.
[0374] The display module 2010 is also used to display the status information of M objects on N interface elements.
[0375] In some embodiments, N interface elements include a first interface element, M objects include a first object, the first interface element is associated with the first object, the first area of the first interface includes the first object, and the display module 2010 is specifically used to display the first interface element in response to the user's operation on the first area.
[0376] In some embodiments, N interface elements include a first interface element, M objects include a first object, the first interface element is associated with the first object, the second area of the first interface includes a second object, and the display module 2010 is specifically used to display the first interface element in response to the user's operation on the second area.
[0377] In some embodiments, the first interface element is a control, and the display module 2010 is further configured to display a first card in response to a user's operation on the first interface element, the first card including first state information of the first object.
[0378] In some embodiments, the display module 2010 is further configured to display a second card in response to a user's card switching operation, the second card including second status information of the first object.
[0379] In some embodiments, the display module 2010 is also used to display the identification information of M objects on N interface elements.
[0380] In some embodiments, when the first interface is a desktop, the display module 2010 is also used to hide the application icons on the first interface.
[0381] This application provides a computer program product that, when run on an electronic device, causes the electronic device to execute the technical solutions described in the above embodiments. Its implementation principle and technical effects are similar to those of the related embodiments described above, and will not be repeated here.
[0382] This application provides a readable storage medium containing instructions that, when executed by an electronic device, cause the electronic device to perform the technical solution described in the above embodiments. The implementation principle and technical effects are similar and will not be repeated here.
[0383] This application provides a chip for executing instructions. When the chip is running, it executes the technical solutions described in the above embodiments. Its implementation principle and technical effects are similar and will not be repeated here.
[0384] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of the embodiments of this application.
[0385] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0386] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0387] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0388] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0389] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or parts of the technical solutions, can be embodied in the form of software products. These computer software products are stored in a storage medium and include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0390] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.
Claims
1. An interactive method, characterized in that, The method includes: Display a first interface, wherein the first interface is a lock screen interface or a desktop, and the first interface includes a first object, which is associated with a second object; In response to the first operation, the status information of the second object is displayed.
2. The method according to claim 1, characterized in that, The first operation is an operation performed on the first interface, or an air gesture operation, or a voice input operation.
3. The method according to claim 1, characterized in that, The first operation is an operation performed on the first object on the first interface.
4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: In response to a user's operation on the status information of the second object, a first card is displayed, the first card including the first status information of the second object.
5. The method according to claim 4, characterized in that, The method further includes: In response to the user's card switching operation, a second card is displayed, the second card including the second status information of the second object.
6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: In response to the first operation, the identification information of the second object is displayed.
7. The method according to any one of claims 1 to 5, characterized in that, When the first interface is the desktop, the method further includes: Hide the application icons in the first interface.
8. The method according to any one of claims 1 to 7, characterized in that, The status information of the second object includes one or more of the following: location information, distance information, motion information, health information, device information, and operation information.
9. The method according to any one of claims 1 to 8, characterized in that, The association between the first object and the second object includes the first object and the second object being the same.
10. The method according to any one of claims 1 to 8, characterized in that, The association between the first object and the second object includes situations where the first object and the second object are not the same but have an association relationship.
11. The method according to any one of claims 1 to 10, characterized in that, When the first interface is the lock screen interface, the method further includes: While displaying the status information of the second object, the screen remains locked.
12. The method according to any one of claims 1 to 11, characterized in that, The method further includes: In response to the first operation, an animation effect is displayed in the area corresponding to the first object.
13. The method according to any one of claims 1 to 12, characterized in that, The response to the first operation, displaying the status information of the second object, includes: In response to the first operation, the status information of the second object is displayed on one or more interface elements.
14. The method according to claim 13, characterized in that, The one or more interface elements are capsule-shaped.
15. The method according to any one of claims 1 to 14, characterized in that, The first interface also includes a third object, which is associated with the fourth object. The method further includes: In response to the second operation, the status information of the fourth object is displayed.
16. The method according to any one of claims 1 to 15, characterized in that, Before displaying the first interface, the method further includes: In response to the user's selection of a first image as wallpaper, a wallpaper settings interface is displayed, wherein the first image includes the first object; The first interface element is used to identify the first object and associate the first object with the second object, wherein the first interface element includes the identification information of the second object; In response to an operation on the first interface element, a status information selection interface is displayed; In response to the user's selection operation on the status information selection interface, a first request information is sent to the electronic device corresponding to the second object. The first request information is used to request to obtain the status information of the second object. Receive and display first indication information sent by the electronic device corresponding to the second object, the first indication information being used to indicate that the second object has been authorized.
17. The method according to claim 16, characterized in that, The response to the user selecting a first image as wallpaper, displaying the wallpaper settings interface, includes: In response to the user selecting the first image as wallpaper in the gallery interface, the wallpaper settings interface is displayed.
18. The method according to claim 16 or 17, characterized in that, The step of using a first interface element to identify the first object and associating the first object with the second object includes: The first object is identified using the first interface element; In response to an operation performed on the first interface element, an object selection interface is displayed, the object selection interface including the identification information of the second object; In response to the operation of selecting the identification information of the second object, the first object is associated with the second object, and the identification information of the second object is displayed on the first interface element.
19. An electronic device, characterized in that, It includes one or more processors; one or more memories; said one or more memories storing one or more computer programs, said one or more computer programs including instructions that, when executed by said one or more processors, cause the method of any one of claims 1 to 18 to be performed.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed on a computer, cause the method as described in any one of claims 1 to 18 to be performed.
21. A chip, characterized in that, The chip includes a processor and a communication interface, the communication interface being used to receive signals and transmit the signals to the processor, the processor processing the signals such that the method as described in any one of claims 1 to 18 is executed.
22. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1 to 18.