Widget display method and electronic device
Patent Information
- Application Number
- KR1020237026445
- Authority / Receiving Office
- KR · KR
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-01-18
- Filing Date
- 2022-01-05
- Publication Date
- 2026-08-03
- Estimated Expiration
- 2042-01-05
Smart Images

Figure 112023085207832-PCT00011_ABST
Abstract
Description
Technology Field
[0001] This application claims priority to Chinese Patent Application No. 202110063910.4, filed with the Chinese Intellectual Property Office on January 18, 2021, titled "Widget display method and electronic device," the contents of which are incorporated herein in their entirety by reference.
[0002] The present application relates to the field of electronic devices, and more specifically to a widget display method and an electronic device. Background Technology
[0003] A mobile phone is used as an example. Widgets can effectively utilize the spatial position of the touchscreen by enriching the home screen of a mobile phone and providing information that the user needs. For example, a user can add a music widget to the home screen of a mobile phone and use the music widget on the home screen to control music playback, pause music, play the previous song, play the next song, etc. A user can also add a calendar widget to the home screen when they want to know calendar information. However, since the user must manually add widgets to the home screen every time, the task is tedious and complicated, and the user experience is poor. The technology forming the background of this application is disclosed in U.S. Patent Application Publication US 2014 / 0039787 A, U.S. Patent Application Publication US 2011 / 0185283 A, Chinese Patent Application Publication CN 105117105 A, and Chinese Patent Application Publication CN 112162675 A.
[0004] The present application provides a widget display method and an electronic device to improve the user experience.
[0005] According to a first aspect, a method for displaying a widget applied to an electronic device is provided. The method comprises: displaying a first widget having a first size in a first area of a first page of a home screen; simultaneously displaying a widget of the first application and a reduced-size first widget in the first area in response to detecting that a task in progress exists in the first application, wherein the widget of the first application displays a first content, and the widget of the first application has a second size, and the second size is smaller than the first size -; and adjusting the size of the widget of the first application from the second size to the first size in response to the fact that the electronic device satisfies a preset condition, wherein the widget of the first application and having the first size displays a second content, and the second content is larger than the first content, and the second content includes the first content -.
[0006] When the electronic device detects that the above ongoing task exists in the first application, the device may automatically display the widget of the first application on the home screen of the device and may display the widget in the area on the graphic interface where the first application is displayed. This implements the automatic addition of the widget, and the position of the first display may also be reused. The screen space of the electronic device is limited. By reusing the position of the first widget, the home screen can be kept clean and tidy, the widget does not need to be added to a new position, and information requested by the user and having a higher priority can be provided to the user.
[0007] The electronic device can detect a change in scenario and adjust the size of the widget and / or the content displayed by the widget and / or the layout of the content displayed by the widget, thereby providing more information to the user, facilitating interaction with the user, and improving the user experience.
[0008] Referring to the first aspect above, in some possible embodiments of the first aspect, where the first application is a scheduling application, the method of detecting that a task in progress exists in the first application is one or a combination of the following methods: a method of determining that the time difference between the system time of the electronic device and the time of the scheduling content is less than a first time threshold by identifying the scheduling content in the scheduling application; or a method of determining that the distance difference between the geographical location of the electronic device and the geographical location of the scheduling content is less than a first distance threshold by identifying the scheduling content in the scheduling application.
[0009] Referring to the first aspect above, in some possible embodiments of the first aspect, the preset condition is one or a combination of the following conditions: a condition determining that the time difference between the system time of the electronic device and the time of the schedule content is less than a second time threshold, wherein the second time threshold is less than the first time threshold; or a condition determining that the distance difference between the geographical location of the electronic device and the geographical location of the schedule content is less than a second distance threshold, wherein the second distance threshold is less than the first distance threshold.
[0010] Referring to the first aspect above, in some possible embodiments of the first aspect, when the widget of the first application and the first widget reduced in size are displayed simultaneously, the method further comprises: the step of detecting a pinch gesture—wherein a first touch point of the pinch gesture contacts the widget of the first application, and a second touch point of the pinch gesture contacts the first widget—; and the step of combining the first widget and the widget of the first application into a first composite widget for displaying in the first area in response to the pinch gesture.
[0011] Users can perform functional fusion of different widgets using composite widgets. When a widget meets the trigger conditions for displaying on the home screen, the home screen displays the composite widget, and the user does not need to manually trigger the creation of other widgets. Electronic devices can intelligently push widgets to the user based on user interactions (widget pinching and combining), making this more intelligent.
[0012] Referring to the first aspect above, in some possible embodiments of the first aspect, when the widget of the first application and the first widget reduced in size are displayed simultaneously, the method further comprises: detecting that a task in progress is present in the media application; stopping the display of the first widget; and simultaneously displaying the widget of the first application and the widget of the media application in the first area.
[0013] After it is detected that a media application is playing in the background, a widget generated by the media application is displayed on the home screen, and the user can directly interact with the application's widget.
[0014] Referring to the first aspect above, in some possible embodiments of the first aspect, the method further comprises: detecting that the system time of the electronic device exceeds the end time of the schedule content; stopping the display of the first application and the widget having the first size; and displaying the first widget having the first size in the first area.
[0015] The electronic device can stop displaying the schedule widget based on the end time of the schedule and display other widgets on the home screen. The widgets displayed on the home screen can be intelligently changed according to user requirements, thereby enhancing the user experience by providing content that the user is more interested in.
[0016] Referring to the first aspect above, in some possible implementation of the first aspect, the step of detecting that the ongoing task exists in the scheduling application is specifically the step of detecting that the ongoing task exists in the scheduling application by using a broadcast receiver component in the scheduling application.
[0017] Referring to the first aspect above, in some possible embodiment of the first aspect, the step of detecting that the ongoing task exists in the first application is specifically: the step of detecting that the ongoing task exists in the first application on another electronic device where the same user account is logged on; or the step of detecting that the ongoing task exists in the first application on the other electronic device after the electronic device is paired with the other electronic device.
[0018] Users can create application widgets on multiple devices to continue working in different locations. An electronic device can receive ongoing tasks from an application on another electronic device and display the application widget on the home screen. Since users can interact with the application across different electronic devices, the user experience is enhanced.
[0019] Referring to the first aspect above, in some possible embodiments of the first aspect, the first page is the home page of the home screen; or the first widget is a time weather widget or a calendar widget; or both of the 4G signal identifier and the 5G signal identifier are displayed on the notification bar of the screen; or the first area is above the first page; or the first widget is transparent or semi-transparent; or the first application is a calendar application, a memo application, or a reminder application; or the first application is an audio application or a video application; or the ongoing task is music playback, and the first content is a song title, artist, play / pause control, next song playback control, and previous song playback control, and the second content is the song title, the artist, the play / pause control, the next song playback control, the previous song playback control, favorites control, and playback mode switching control; Or the above-mentioned ongoing task is a travel task, and the first content is the departure time, train number, departure station, and arrival station, and the second content is the departure time, arrival time, train number, departure station, arrival station, and seat number; or the above-mentioned ongoing task is an express delivery task, and the first content is the pickup location and pickup time, and the second content is the pickup location, pickup time, and pickup code; or the above-mentioned ongoing task is a movie task, and the first content is and the movie screening time, and the second content is the theater location, the movie screening time, and seat number; or the above-mentioned ongoing task is a meeting task, and the first content is and the meeting location, and the second content is the meeting time, the meeting location, and the meeting list.
[0020] When the electronic device detects that the above ongoing task exists in the first application, the device may automatically display the widget of the first application on the home screen of the device and may display the widget in the area on the graphic interface where the time and weather widget is displayed. This implements the automatic addition of the widget, and the location of the time and weather widget can also be reused. The electronic device has many places to display and view the time, and while a weather widget is displayed on the home screen, in most cases, the user does not use the weather widget. Therefore, by using the technical solution of the present embodiment, the location of the weather and time widget can be reused to display the widget of the application containing the above ongoing task. The screen space of the electronic device is limited. By reusing the location of the time and weather widget, the home screen can be kept clean and tidy, the widget does not need to be added to a new location, and information requested by the user and having a higher priority can be provided to the user.
[0021] According to a second aspect, an electronic device comprising a display, memory, and one or more processors is provided. The memory comprises instructions, and when the instructions are executed by the one or more processors, the electronic device is able to perform a widget display method according to the first aspect and a possible embodiment of the first aspect.
[0022] According to a third aspect, a computer storage medium containing computer instructions is provided. When said computer instructions are executed on an electronic device, said electronic device is able to perform a widget display method according to any one possible embodiment of the aforementioned aspects.
[0023] According to a fourth aspect, a computer program product is provided. When the computer program product is executed on an electronic device, the electronic device is able to perform a widget display method according to any one possible embodiment of the aforementioned aspects. Brief explanation of the drawing
[0024] FIG. 1 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. FIG. 2 is a block diagram of the software structure of an electronic device according to an embodiment of the present application. FIGS. 3a to 18a and FIG. 18b are schematic diagrams of a group of graphic user interfaces according to an embodiment of the present application. FIGS. 19 to 26a and FIG. 26b are schematic diagrams of different groups of graphic user interfaces according to embodiments of the present application. FIGS. 27 to 35a and FIG. 35b are schematic diagrams of different groups of graphic user interfaces according to embodiments of the present application. FIGS. 36a and FIGS. 36b through 45 are schematic diagrams of different groups of graphic user interfaces according to embodiments of the present application. FIG. 46 is a schematic flowchart of a widget display method according to an embodiment of the present application. Specific details for implementing the invention
[0025] The following describes the technical solution of the embodiments of the present application with reference to the attached drawings. In the description of the embodiments of the present application, " / " means "or" unless otherwise specified. For example, A / B may represent A or B. In this specification, the term "and / or" is merely a combination relationship to describe associated objects and indicates that three relationships may exist. For example, A and / or B may represent the following three cases: the case where only A exists, the case where both A and B exist, and the case where only B exists. Additionally, in the description of the embodiments of the present application, "plural" means two or more.
[0026] Terms such as "First" and "Second" mentioned below are for illustrative purposes only and should not be understood as indicating or implying relative importance or the quantity of the technical features described. Accordingly, the features limited to "First" or "Second" may explicitly or implicitly include one or more features. In the description of the embodiments, "plural" means two or more unless specifically noted otherwise.
[0027] The terms used in this specification to describe technical solutions are used merely to describe specific embodiments and are not intended to limit the application.
[0028] Figure 1 is a schematic diagram of the structure of an electronic device (100).
[0029] The electronic device (100) may include at least one of a mobile phone, a foldable electronic device, a tablet computer, a home screen computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device, or a smart city device. The specific type of the electronic device (100) is not particularly limited in this embodiment of the application. The widget display method provided in the embodiments of the application may be applied to the electronic device (100).
[0030] The electronic device (100) may include a processor (110), an external memory interface (120), an internal memory (121), a universal serial bus (USB) port (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 headset jack (170D), a sensor module, a button (190), a motor (191), an indicator (192), a camera module (193), a display (194), a subscriber identification module (SIM) card interface (195), etc. The sensor module may include a pressure sensor (not shown in the drawing), a gyroscope sensor (180B), a barometric pressure sensor (not shown in the drawing), a magnetic sensor (not shown in the drawing), an accelerometer sensor (180E), a distance sensor (180F), an optical proximity sensor (180G), a fingerprint sensor (180H), a temperature sensor (not shown in the drawing), a touch sensor (180K), an ambient light sensor (180L), a bone conduction sensor (180M), etc.
[0031] It can be understood that the structure illustrated in this embodiment of the application does not constitute any specific limitation to the electronic device (100). In other embodiments of the application, the electronic device (100) may include more or fewer components than illustrated, combine some components, split some components, or have a different arrangement of components (for example, the electronic device (100) may include a Lightning interface instead of a USB port (130). The components illustrated in the drawings may be implemented in hardware, software, or a combination of software and hardware.
[0032] The processor (110) may include one or more processing units. For example, the processor (110) may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent components or integrated into one or more processors.
[0033] The processor (110) can generate an operation control signal based on a command operation code and a time sequence signal to complete the control of command fetching and command execution.
[0034] Memory may be further placed in the processor (110) and configured to store instructions and data. In some embodiments, the memory of the processor (110) may be a cache. The memory may store instructions or data that the processor (110) has used or frequently uses. When the processor (110) needs to use instructions or data, the processor (110) may retrieve instructions or data directly from the memory. This avoids repetitive access, reduces the waiting time of the processor (110), and improves system efficiency.
[0035] In some embodiments, the processor (110) may include one or more interfaces. The 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 identification module (SIM) interface, a universal serial bus (USB) port, etc. The processor (110) may be connected to a module such as a touch sensor, an audio module, a wireless communication module, a display, and a camera through at least one of the aforementioned interfaces.
[0036] It should be understood that the interface connection relationships between the modules illustrated in this embodiment of the application are merely illustrative examples and do not constitute limitations on the structure of the electronic device (100). In some other embodiments of the application, the electronic device (100) may alternatively use an interface connection method different from the above-described embodiment, or may use a combination of multiple interface connection methods.
[0037] The USB port (130) is a port according to USB standard specifications and can be configured to be connected to an electronic device (100) and peripheral devices. Specifically, the USB port (130) may be a mini USB port, a micro USB port, a USB Type-C port, etc. The USB port (130) may be configured to be connected to a charger so that the charger can charge the electronic device (100), and may be configured to be connected to another electronic device to enable data transfer between the electronic device (100) and the other device. Alternatively, the USB port (130) may be configured to be connected to a headset to output audio stored in the electronic device through the headset. Alternatively, the port may be configured to be connected to another electronic device, such as a VR device. In some embodiments, the standard specifications of the universal serial bus may be USB1.x, USB2.0, USB3.x, and USB4.
[0038] The charging management module (140) is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module (140) may receive a charging input from a wired charger via a USB port (130). In some embodiments of wireless charging, the charging management module (140) may receive a wireless charging input using a wireless charging coil of the electronic device (100). The charging management module (140) may power the electronic device using a power management module (141) while charging the battery (142).
[0039] The power management module (141) is configured to be connected to the battery (142), the charge management module (140), and the processor (110). The power management module (141) receives input from the battery (142) and / or the charge management module (140) to supply power to the processor (110), internal memory (121), display (194), camera module (193), wireless communication module (160), etc. The power management module (141) may be further configured to monitor parameters such as battery capacity, battery cycle count, and battery health status (electrical leakage or impedance). In some other embodiments, the power management module (141) may alternatively be placed in the processor (110). In some other embodiments, the power management module (141) and the charge management module (140) may alternatively be placed in the same device.
[0040] The wireless communication function of the electronic device (100) can be implemented using antenna 1, antenna 2, mobile communication module (150), wireless communication module (160), modem processor, baseband processor, etc.
[0041] Antenna 1 and Antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna of the electronic device (100) may be configured to cover one or more communication frequency bands. To improve antenna utilization, different antennas may be additionally multiplexed. For example, Antenna 1 may be multiplexed as a diversity antenna for a wireless short-range network. In some other embodiments, the antennas may be used in combination with a tuning switch.
[0042] The mobile communication module (150) may provide a wireless communication solution applicable to the electronic device (100), including 2G / 3G / 4G / 5G, etc. The mobile communication module (150) may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module (150) may receive electromagnetic waves using antenna 1, perform processing such as filtering or amplification on the received electromagnetic waves, and transmit the electromagnetic waves to a modem processor for demodulation. The mobile communication module (150) may further amplify the modulated signal in the modem processor and convert the signal into an electromagnetic wave using radiating antenna 1. In some embodiments, at least some functional modules of the mobile communication module (150) may be placed in the processor (110). In some embodiments, at least some functional modules of the mobile communication module (150) may be placed in the same device as at least some modules of the processor (110).
[0043] The modem processor may include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator is configured to demodulate a received electromagnetic signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the low-frequency baseband signal obtained through demodulation to a baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to an application processor. The application processor may output an acoustic signal using an audio device (not limited to a speaker (170A), a receiver (170B), etc.) or display an image or video using a display (194). In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor (110) and is placed in the same device as the mobile communication module (150) or other function module.
[0044] A wireless communication module (160) provides a wireless communication solution applicable to an electronic device (100), including a wireless local area network (WLAN) (e.g., a wireless fidelity (Wi-Fi) network), Bluetooth (BT), Bluetooth low energy (BLE), ultra-wideband (UWB), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC) technology, infrared (IR) technology, etc. The wireless communication module (160) may be one or more components integrating at least one communication processor module. The wireless communication module (160) receives electromagnetic waves through an antenna 2, processes the electromagnetic wave signal by frequency modulation and filtering, and transmits the processed signal to a processor (110). The wireless communication module (160) can also receive a signal to be transmitted from the processor (110), frequency modulate and amplify the signal, and convert the signal into an electromagnetic wave through the radiating antenna 2.
[0045] In some embodiments, in an electronic device (100), antenna 1 and a mobile communication module (150) are combined, and antenna 2 and a wireless communication module (160) are combined, so that the electronic device (100) can communicate with a network and other devices using wireless communication technology. Wireless communication technology may include a global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, IR technology, etc. GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a BeiDou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite-based augmentation system (SBAS).
[0046] The electronic device (100) implements a display function using a GPU, a display (194), an application processor, etc. The GPU is a microprocessor for image processing and is connected to the display (194) and the application processor. The GPU is configured to perform mathematical and geometric calculations and render images. The processor (110) may include one or more GPUs that execute program instructions to generate or change display information.
[0047] The display (194) is configured to display images, videos, etc. The display (194) includes a display panel. The display panel may 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 mini-LED, a micro-LED, a micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device (100) may include one or more displays (194).
[0048] The electronic device (100) can implement a shooting function using a camera module (193), an ISP, a video codec, a GPU, a display (194), an application processor (AP), a neural network processing unit (NPU), etc.
[0049] The camera module (193) may be configured to collect color image data and depth data of the captured object. The ISP may be configured to process the color image data collected by the camera module (193). For example, during shooting, the shutter opens and light is transmitted through the lens to the photosensitive element of the camera. The optical signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, converting the electrical signal into a visible image. The ISP may further perform algorithmic optimization for noise, brightness, and color of the image. The ISP may further optimize parameters such as exposure and color temperature of the shooting scenario. In some embodiments, the ISP may be placed in the camera module (193).
[0050] In some embodiments, the camera module (193) may include a color camera module and a 3D sensing module.
[0051] In some embodiments, the camera photosensitive element of the color camera module may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) photoelectric transistor. The photosensitive element converts an optical signal into an electrical signal, then transmits the electrical signal to an ISP to convert the electrical signal 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 an image signal in a standard format, such as RGB or YUV.
[0052] In some embodiments, the 3D sensing module may be a time of flight (TOF) 3D sensing module or a structured light 3D sensing module. Structured light 3D sensing is an active depth sensing technology, and basic components of the structured light 3D sensing module include an infrared transmitter, an IR camera module, etc. The operating principle of the structured light 3D sensing module is to first transmit a light spot of a specific pattern to a target, then receive the coding (light coding) of the pattern light spot on the target surface, compare the similarities and differences between the light spot and the originally projected light spot, and calculate the 3D coordinates of the target according to the principles of trigonometry. The 3D coordinates include the distance between the electronic device (100) and the target being photographed. TOF 3D sensing may be an active depth sensing technology. Basic components of the TOF 3D sensing module include an infrared transmitter, an IR camera module, etc. The operating principle of the TOF 3D sensing module is to acquire a 3D depth-of-field image by calculating the distance (i.e., depth) between the TOF 3D sensing module and the captured object using infrared refraction time.
[0053] Structured light 3D sensing modules can be further applied to fields such as face recognition, somatic game consoles, and industrial machine vision sensing. TOF 3D sensing modules can be further applied to fields such as game consoles, augmented reality (AR) / virtual reality (VR).
[0054] In some other embodiments, the camera module (193) may include two or more additional cameras. The two or more cameras may include color cameras, and the color cameras may be configured to collect color image data of the captured object. The two or more cameras may collect depth data of the captured object using stereo vision technology. Stereo vision technology is based on the parallax principle of the human eye. After capturing the same object from different angles using two or more cameras under a natural light source, calculations such as triangulation are performed to obtain distance information, i.e., depth information, between the electronic device (100) and the captured object.
[0055] In some embodiments, the electronic device (100) may include one or more camera modules (193). Specifically, the electronic device (100) may include one front camera module (193) and one rear camera module (193). The front camera module (193) may be configured to collect color image data and depth data of a photographer facing a display (194), and the rear camera module may be configured to collect color image data and depth data of a photographed object (such as a character or landscape) facing the photographer.
[0056] In some embodiments, the CPU, GPU, or NPU of the processor (110) may process color image data and depth data collected by the camera module (193). In some embodiments, the NPU may determine the skeletal points of the captured character by identifying the color image data collected by the camera module (193) (specifically, a color camera module) using a neural network algorithm based on a skeletal point identification technique such as a Convolutional Neural Network (CNN) algorithm. The CPU or GPU may also determine the skeletal points of the captured character based on the color image data by executing a neural network algorithm. In some embodiments, the CPU, GPU, or NPU may be further configured to determine the body shape of a character captured based on depth data collected by a camera module (193) (which may be a 3D sensing module) and identified skeletal points (e.g., body proportions of body parts between skeletal points and degree of fatness and thinness), further determine body beautification parameters for the captured character, and finally process the captured image of the character based on the body beautification parameters so that the body shape of the character captured in the captured image is beautified. In the embodiments below, a method for performing body shape processing on an image of a character captured based on color image data and depth data collected by the camera module (193) is described in detail. Further details are not described herein.
[0057] A digital signal processor is configured to process digital signals and can additionally process other digital signals. For example, if an electronic device (100) selects a frequency, the digital signal processor is configured to perform a Fourier transform on frequency energy, etc.
[0058] A video codec is configured to compress or decompress digital video. An electronic device (100) may support one or more video codecs. In this way, the electronic device (100) may play or record video in multiple coding formats, such as, for example, Moving Picture Experts Group (MPEG)-1, MPEG-2, MPEG-3, and MPEG-4.
[0059] The NPU is a neural network (NN) computing processor that can rapidly process input information and continuously perform self-learning by referring to the structure of a biological neural network, for example, the transmission mode between human brain neurons. Using the NPU, applications such as intelligent perception of an electronic device (100), such as image recognition, face recognition, speech recognition, and text understanding, can be implemented.
[0060] The external memory interface (120) can be used to connect to an external storage card, for example, a micro SD card, to expand the storage capacity of the electronic device (100). The external storage card communicates with the processor (110) through the external memory interface (120) to implement a data storage function. For example, files such as music and videos can be stored on the external storage card, or files such as music and videos can be transferred from the electronic device to the external storage card.
[0061] The internal memory (121) may be configured to store computer-executable program code. The executable program code includes instructions. The internal memory (121) may include a program storage area and a data storage area. The program storage area may store an operating system, an application required for at least one function (e.g., a sound playback function and an image playback function), etc. The data storage area may store data generated during use of the electronic device (100) (e.g., audio data, an address book, etc.). Additionally, the internal memory (121) may include high-speed random access memory and may further include non-volatile memory, e.g., at least one magnetic disk storage device, a flash storage device, universal flash storage (UFS), etc. The processor (110) may execute instructions stored in the internal memory (121) and / or instructions stored in memory embedded in the processor to perform various functional methods and data processing of the electronic device (100).
[0062] The electronic device (100) can implement audio functions such as music playback or recording using an audio module (170), a speaker (170A), a receiver (170B), a microphone (170C), a headset jack (170D), an application processor, etc.
[0063] The audio module (170) is configured to convert digital audio information into an analog audio signal for output and is also configured to convert an analog audio input into a digital audio signal. The audio module (170) may be further configured to code and decode audio signals. In some embodiments, the audio module (170) may be placed in the processor (110), or some functional modules of the audio module (170) may be placed in the processor (110).
[0064] A speaker (170A), also referred to as a "horn," is configured to convert audio electrical signals into acoustic signals. The electronic device (100) can use the speaker (170A) to listen to music or output voice signals for hands-free calls.
[0065] A receiver (170B), also referred to as an "earpiece," is configured to convert audio electrical signals into acoustic signals. When using the electronic device (100) to answer a phone call or receive voice information, the receiver (170B) can be held close to a person's ear to hear the voice.
[0066] A microphone (170C), also referred to as a "mike" or "mic," is configured to convert an acoustic signal into an electrical signal. When making a phone call or transmitting voice information, a user can input a sound signal into the microphone (170C) by making a sound near the microphone (170C) through their mouth. At least one microphone (170C) may be placed in the electronic device (100). In some other embodiments, two microphones (170C) may be placed in the electronic device (100) to collect sound signals and further implement noise reduction functions. In some other embodiments, three, four, or more microphones (170C) may be alternatively placed in the electronic device (100) to collect sound signals, reduce noise, further identify sound sources, implement directional recording functions, etc.
[0067] The headset jack (170D) is configured to be connected to a wired headset. The headset jack (170D) may be a USB port (130) and may be a 3.5mm open mobile terminal platform (OMTP) standard interface or a Cellular Telecommunications Industry Association of USA (CTIA) standard interface.
[0068] The pressure sensor (180A) is configured to detect a pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor (180A) may be placed on the display (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 made of a conductive material. When force is applied to the pressure sensor (180A), the capacitance between the electrodes changes. The electronic device (100) can determine the pressure intensity based on the change in capacitance. When a touch operation is performed on the display (194), the electronic device (100) can use the pressure sensor (180A) to detect the intensity of the touch operation. The electronic device (100) may also calculate the touch location based on the detection signal of the pressure sensor (180A). In some embodiments, touch operations performed at the same touch location but having different touch operation intensities may correspond to different action commands. For example, when a touch operation is performed on a message application icon with a touch intensity less than a first pressure threshold, a command to view an SMS message is executed. When a touch operation is performed on a message application icon with a touch intensity greater than or equal to the first pressure threshold, an instruction to create a new SMS message is executed.
[0069] The gyro sensor (180B) may be configured to determine the motion posture of the electronic device (100). In some embodiments, the gyro sensor (180B) may be used to determine the angular velocity around the three axes (i.e., x, y, and z axes) of the electronic device (100). The gyro sensor (180B) may be configured to implement image stabilization during shooting. For example, when the shutter is pressed, the gyro sensor (180B) detects the angle of shaking of the electronic device (100), obtains the distance that the lens module needs to correct through an angle-based calculation, and controls the reverse motion of the lens to offset the shaking of the electronic device (100) to implement hand shake correction. The gyro sensor (180B) may be further used in navigation and physical game scenarios.
[0070] The pressure sensor (180C) is configured to measure atmospheric pressure. In some embodiments, the electronic device (100) calculates the altitude based on the value of atmospheric pressure measured by the pressure sensor (180C) to assist in positioning and navigation.
[0071] The magnetic sensor (180D) includes a Hall sensor. The electronic device (100) can detect the opening and closing of the flip cover using the magnetic sensor (180D). If the electronic device is a foldable electronic device, the magnetic sensor (180D) may be configured to detect the folding or unfolding of the electronic device, or the folding angle. In some embodiments, if the electronic device (100) is a clamshell phone, the electronic device (100) may detect the opening and closing of the flip cover based on the magnetic sensor (180D) and further set functions such as automatic screen unlocking of the flip cover based on the detected opening and closing state of the flip cover.
[0072] The acceleration sensor (180E) can detect acceleration in various directions (usually three axes) of the electronic device (100) and can detect the magnitude and direction of gravity when the electronic device (100) is stationary. The acceleration sensor (180E) may be further configured to identify the orientation of the electronic device and is used in applications such as switching between landscape and portrait modes or as a pedometer.
[0073] The distance sensor (180F) is configured to measure distance. The electronic device (100) can measure distance using an infrared method or a laser method. In some embodiments, in a shooting scenario, the electronic device (100) can measure distance through the distance sensor (180F) to enable quick focusing.
[0074] The optical proximity sensor (180G) may include, for example, a light-emitting diode (LED) and an optical detector, for example, a photodiode. The light-emitting diode may be an infrared light-emitting diode. The electronic device (100) emits infrared light using the light-emitting diode. The electronic device (100) detects infrared reflected light from surrounding objects using the photodiode. If the intensity of the detected reflected light is above a threshold, it can be determined that there is an object around the electronic device (100). If the intensity of the detected reflected light is below the threshold, the electronic device (100) can determine that there is no object around the electronic device (100). The electronic device (100) can automatically turn off the screen for power saving by detecting via the optical proximity sensor (180G) that the user holds the electronic device (100) close to their ear for a call. The optical proximity sensor (180G) can be used to automatically perform screen unlocking or locking in Smart Cover mode or Pocket mode.
[0075] The ambient light sensor (180L) may be configured to detect ambient light brightness. The electronic device (100) may adaptively adjust the brightness of the display (194) based on the detected ambient light brightness. The ambient light sensor (180L) may also be configured to automatically adjust the white balance during shooting. The ambient light sensor (180L) may also work in conjunction with an optical proximity sensor (180G) to detect whether the electronic device (100) is blocked. For example, the electronic device is in a pocket. If the electronic device is detected to be obscured or placed in a pocket, some functions (e.g., touch functions) may be disabled to prevent accidental operation.
[0076] The fingerprint sensor (180H) is configured to collect fingerprints. The electronic device (100) can use the features of the collected fingerprints to implement fingerprint-based screen unlocking, application lock access, fingerprint-based shooting, fingerprint-based phone answering, etc.
[0077] A temperature sensor (180J) is configured to detect temperature. In some embodiments, the electronic device (100) executes a temperature processing policy based on the temperature detected by the temperature sensor (180J). For example, if the temperature detected by the temperature sensor (180J) exceeds a threshold, the electronic device (100) can implement thermal protection by reducing the power consumption of the electronic device by degrading the performance of the processor. In some other embodiments, if the temperature detected by the temperature sensor (180J) is lower than another threshold, the electronic device (100) heats the battery (142). In other embodiments, if the temperature is lower than yet another threshold, the electronic device (100) can boost the output voltage of the battery (142).
[0078] The touch sensor (180K) is also referred to as a "touch device." The touch sensor (180K) may be placed on a display (194), and the touch sensor (180K) and the display (194) form a touchscreen, which is also referred to as a "touchscreen." The touch sensor (180K) is configured to detect touch operations performed on or near the touch sensor (180K). The touch sensor may transmit the detected touch operation to an application processor to determine the type of touch event. Visual output related to the touch operation may be provided using the display (194). In some other embodiments, the touch sensor (180K) may be placed on the surface of the electronic device (100) at a location different from the display (194).
[0079] The bone conduction sensor (180M) can acquire vibration signals. In some embodiments, the bone conduction sensor (180M) can acquire vibration signals from the vibrating bone of the human vocal cord area. The bone conduction sensor (180M) can also receive blood pressure pulse signals by contacting a biological pulse. In some embodiments, the bone conduction sensor (180M) can also be placed in a headset to acquire a bone conduction headset. The audio module (170) can implement a voice function by parsing a voice signal based on the vibration signal of the vibrating bone of the vocal cord area acquired by the bone conduction sensor (180M). The application processor can implement a heart rate detection function by parsing heart rate information based on the blood pressure pulse signal acquired by the bone conduction sensor (180M).
[0080] The button (190) may include a power button, a volume button, etc. The button (190) may be a mechanical button or a touch button. The electronic device (100) may receive key input and generate key signal inputs related to user settings and function control of the electronic device (100).
[0081] The motor (191) can generate vibration notifications. The motor (191) can be configured to provide incoming vibration notifications or to provide touch vibration feedback. For example, touch operations performed on different applications (e.g., shooting and audio playback) may correspond to different vibration feedback effects. The motor (191) may also correspond to different vibration feedback effects for touch operations performed on different areas of the display (194). Different application scenarios (e.g., time notifications, receiving information, alarm clocks, and games) may also correspond to different vibration feedback effects. Touch vibration feedback effects may be further customized.
[0082] The indicator (192) may be an indicator lamp and may be configured to display a charge status and power change, or may be configured to display a message, missed call, notification, etc.
[0083] The SIM card interface (195) is configured to be connected to a SIM card. The SIM card can be inserted into or removed from the SIM card interface (195) to enable contact or separation with the electronic device (100). The electronic device (100) may support one or more SIM card interfaces. The SIM card interface (195) may support a nano-SIM card, a micro-SIM card, a SIM card, etc. Multiple cards may be inserted into the same SIM card interface (195) simultaneously. The multiple cards may be of the same type or different types. The SIM card interface (195) may be compatible with different types of SIM cards. The SIM card interface (195) may also be compatible with an external storage card. The electronic device (100) interacts with a network through the SIM card to enable functions such as conversation and data communication. In some embodiments, the electronic device (100) may use an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device (100) and cannot be separated from the electronic device (100).
[0084] The software system of the electronic device (100) may use a layered architecture, an event-based architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. The software system of the electronic device (100) may be an Android system, a Linux system, a Windows system, a HarmonyOS system, an iOS system, etc.
[0085] In an embodiment of the present application, an Android system having a layered architecture is used as an example to explain the software structure of an electronic device (100).
[0086] FIG. 2 is a block diagram of the software structure of an electronic device (100) according to an embodiment of the present application. In a layered architecture, the software is divided into several layers, and each layer has a clear role and task. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into five layers: from top to bottom, the application layer, the application framework layer, the Android runtime and system libraries, the hardware abstraction layer, and the kernel layer.
[0087] The application layer may include a series of application packages.
[0088] As shown in FIG. 2, the application package may include applications such as music, calendar, message, memo, Meetime, browser, video, mail, Bluetooth, and map.
[0089] In this embodiment of the present application, for a media application (e.g., a music application or a video application illustrated in FIG. 2), the electronic device (100) can detect that an ongoing task exists in the media application (e.g., a music application or a video application) of the electronic device (100) and can display a media widget on the home screen.
[0090] In some embodiments, the electronic device (100) may further detect a change in scenario (e.g., a change in the system time or geographical location of the electronic device (100)) to adjust the size of the widget displayed on the media home screen and / or the content displayed by the media widget and / or the layout of the content displayed by the media widget.
[0091] In the Android operating system, an Android application can be composed of one or more of the following components.
[0092] In some embodiments, an activity may be referred to as an "activity." An activity is an interface for interaction between the system and the user, and may be a user interface (displayed to the user) on a single screen. For example, an email application may have an activity for displaying a new email list, an activity for composing an email, and an activity for reading emails. Each activity exists independently of the others. Additionally, other applications may initiate all activities (provided the email application allows other applications to initiate activities). For example, a camera application may be in the email application and initiate an activity to compose a new email so that the user can share photos. This activity helps complete important interactions between the system and the application. To ensure that the system continues to run the process hosting the activity, the system may use the activity to track the content the user is currently interested in (e.g., content displayed on the screen).
[0093] In some embodiments, a service may be referred to as a "service." A service is an application component capable of running tasks in the background for extended periods without providing an interface. A service may be initiated by other application components (e.g., activities), and the service continues to run in the background even if the user switches to another application. For example, if the user is using an email application, the service may play music in the background or retrieve data over a network, but does not block interaction between the user and the email application (e.g., the email composition activity).
[0094] Services can be classified into foreground services and background services. If a service exists within an application but is visible to the user during execution, that service is a foreground service. For example, in the case of a music application, since music playback is a service that the user can directly perceive, the music application notifies the system by sending a notification to the user indicating that the application is expected to appear in the foreground (to prevent it from closing in the background). In this case, the system understands that it must spare no effort to keep the service process running, as the disappearance of the service process would be unpleasant for the user.
[0095] In some embodiments, the broadcast receiver may be referred to as a "broadcast receiver." Using the broadcast receiver component allows the system to deliver events to applications, enabling applications to respond to broadcast notifications within the system's scope. Because the broadcast receiver is another clearly defined application item, the system may also deliver broadcasts to applications that are not currently running. For example, the system may send a broadcast, and if an application receives the broadcast, the application may notify the user of an upcoming event by issuing a notification using the notification manager (the notification manager of the application framework layer shown in FIG. 2). It should be understood that broadcasts can be initiated by the system. For example, the system may send a broadcast notifying that the screen is off, the battery is low, or a photo has been taken. Broadcasts may also be initiated by applications. For example, if a user expects to enter an interface for composing an email upon receiving an SMS message, the user may send a broadcast event using a messaging application. Upon receiving the broadcast, the email application's broadcast receiver triggers the creation of an activity for composing an email. You should understand that while broadcast receivers are not displayed in the user interface, they generate status bar notifications when broadcast events occur and can remind the user using the notification manager.
[0096] In some embodiments, a content provider may be referred to as a "content provider." A content provider can store and read data among multiple applications and may correspond to a database. In the case of Application A, which includes a content provider, other applications may use the content provider to query or modify data of Application A (provided the content provider allows other applications to use the content provider to query or modify data of Application A). For example, a contacts application includes a content provider that manages contact information. Accordingly, any application with appropriate permissions may query, read, and write information related to contacts.
[0097] It must be understood that the initiation of activities or interactions between activities are implemented using messages. For example, starting an activity or another activity from one activity can be triggered by sending an Internet message.
[0098] It is important to understand that in the Android system, an application acts like a container and can contain multiple activities, services, or broadcast receivers. Activities, services, and broadcast receivers are independent of one another. Interactions between activities, services, and broadcast receivers can be triggered by intent messages.
[0099] The application framework layer provides Application Programming Interfaces (APIs) and a programming framework for applications at the application layer. The application framework layer includes several predefined functions.
[0100] As illustrated in FIG. 2, the application framework layer may include a window manager, content provider, view system, resource manager, notification manager, activity manager, input manager, etc.
[0101] The window manager provides the Window Manager Service (WMS), which can be used for window management, window animation management, and surface management, as well as as a transition point for the input system.
[0102] The content provider stores and retrieves data and is configured to allow applications to access the data. The data may include video, images, audio, outgoing and incoming calls, browsing history and bookmarks, address books, etc.
[0103] A view system includes visualized controls, such as controls that display text and controls that display images. A view system can be configured to organize an application. A display interface may include one or more views. For example, a display interface containing a message notification icon may include a text display view and an image display view.
[0104] In this embodiment of the application, a widget displayed on the home screen of an electronic device (100) may include one or more views, and the widget may include a view that displays text and a view that displays a photo. For example, a music widget includes a view that displays lyrics and a view that displays a photo of a singer.
[0105] The resource manager provides various resources for the application, such as localized strings, icons, images, layout files, and video files.
[0106] The notification manager can be configured to allow applications to display notification information on the status bar and to deliver notification messages. The notification manager may pause briefly without user interaction and then disappear automatically. For example, the notification manager is configured to notify of download completion, message notifications, etc. Alternatively, the notification manager may be a notification appearing in the form of a graph or scrollbar text on the system's top status bar, a notification from an application running in the background, or a notification appearing on the display in the form of a dialog box. For example, text information may be displayed on the status bar, a notification sound may be played, an electronic device may vibrate, or an indicator lamp may blink.
[0107] The activity manager can provide an Activity Manager Service (AMS) that can be used for starting, switching, and scheduling system components (e.g., activities, services, content providers, broadcast receivers), and for managing and scheduling application processes.
[0108] The input manager can provide an Input Manager Service (IMS) that can be used to manage system inputs, such as touchscreen input, key input, and sensor input. The IMS acquires events from input device nodes and assigns them to the appropriate window through interaction with the WMS.
[0109] The Android runtime includes core libraries and the Android runtime itself. The Android runtime is responsible for converting source code into machine code. The Android runtime primarily includes AOT (Ahead of Time) compilation technology and JIT (Just In Time) compilation technology.
[0110] The core library is primarily used to provide the functionality of basic Java libraries, such as the basic data structures library, mathematics library, I / O library, tools library, database, and network library. The core library provides APIs that enable users to develop Android applications.
[0111] Native C / C libraries may include multiple functional modules such as a surface manager, a media framework, libc, OpenGL ES, SQLite, and Webkit.
[0112] The surface manager is configured to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media framework supports the playback and recording of audio and video in multiple commonly used formats, static image files, etc. The media library supports multiple audio and video coding formats, such as, for example, MPEG-4, H.264, MP3, AAC, AMR, JPG, and PNG. OpenGL ES provides drawing and manipulation of 2D and 3D graphics in applications. SQLite provides a lightweight relational database for applications of the electronic device (100).
[0113] The hardware abstraction layer runs in user space, encapsulates drivers at the kernel layer, and provides a call interface to the upper layer.
[0114] The kernel layer is the layer between hardware and software. The kernel layer includes at least display drivers, camera drivers, audio drivers, Bluetooth drivers, and sensor drivers.
[0115] The following describes an example of the operation process of the software and hardware of the electronic device (100) with reference to a capture shooting scenario.
[0116] When the touch sensor (180K) receives a touch operation, the corresponding hardware interrupt is transmitted to the kernel layer. The kernel layer processes the touch operation as an original input event (including information such as the touch coordinates and timestamp of the touch operation). The original input event is stored in the kernel layer. The application framework layer obtains the original input event from the kernel layer and identifies the control corresponding to the input event. For example, the touch operation is a single-tap touch operation, and the control corresponding to the single-tap operation is the control of the camera application icon. The camera application calls the interface of the application framework layer to open the camera application, then calls the kernel layer to activate the camera driver, and uses the camera module (193) to capture a still image or video.
[0117] Before describing the technical solution means of the embodiments of the present application, the nouns of the embodiments of the present application will be described first.
[0118] The following uses Android as an example to explain the concepts of foreground and background applications.
[0119] Foreground application: The application's interface is currently visible to the user and can interact with the user.
[0120] Background application: The application does not have an interface to interact with the user.
[0121] The user opens a music application, and the electronic device (100) presents the interface of the music application. In this case, the music application belongs to the foreground application, but in this case, the music application has no ongoing tasks. When the user plays audio, plays video, downloads audio, or downloads video in the interface of the music application, the music application has ongoing tasks in the foreground (for example, in a specific implementation of the Android system, the music application calls or creates an activity). When the user stops playing audio, stops playing video, or stops the download operation in the interface of the music application, the electronic device (100) considers that there are no ongoing tasks in the music application.
[0122] When a user switches from the interface of a music application to another graphical user interface of an electronic device (100), and the music application is still playing audio, downloading audio, or downloading video, the electronic device (100) considers that the music application has a task in progress in the background (e.g., in a specific implementation of an Android system, music calls or creates a background task).
[0123] When a user switches from the interface of a music application to another graphical user interface of an electronic device (100), and the music application is still playing audio, downloading audio, or downloading video, but the electronic device (100) displays a notification card of the music application, the electronic device (100) considers that the music application has a task in progress in the foreground (e.g., in a specific implementation of the Android system, music calls or creates a foreground task).
[0124] When the device detects a user's predefined gesture action, the device switches from the interface of the music application to another graphical user interface of the electronic device, the music application does not play audio or have a download task in the background, and the music application does not have a task that is continuously performed in the background.
[0125] In the case of a media application, the "ongoing task" may be the "ongoing task of the foreground application" or the "ongoing task of the background application" of the electronic device.
[0126] It should be understood that "an ongoing task of the foreground application" here means that the foreground application has visible activity. For example, if a user opens the music application from the interface of the music application and plays audio, plays video, downloads audio, or downloads video, and the screen of the electronic device currently displays the interface of the music application, the music application has an ongoing task in the foreground. It should be understood that "an ongoing task of the background" here refers to a task currently being performed continuously in the background (for example, this may be a service component of a media application, and the service component runs continuously in the background). For example, if a user switches from the interface of the music application to another graphical user interface of the electronic device (100) and the music application plays audio, downloads audio, or downloads video in the background, the music application has an ongoing task in the background. When the user stops audio playback, stops video playback, or stops a download task in the interface of the music application, the device detects the user's predefined gesture action, the device switches from the interface of the music application to another graphical user interface of the electronic device, and the music application does not play audio or have a download task in the background, and the music application does not have a task that is continuously performed in the background.
[0127] In some embodiments, "tasks in progress" may be tasks that the user has not completed. For example, the user may perform a slide task on the electronic device (100). In this case, if the user exits without closing the application associated with the slide, the slide task that the user has not completed is a "task in progress."
[0128] In some embodiments, the “task in progress” may alternatively be a schedule, and the schedule includes time information and / or geographic location information. For example, if a user adds the schedule “Shopping, Time: September 1, 2020, Location: Beijing Shopping Mall” to a calendar application, the schedule added by the user may be the “task in progress.” In some other embodiments, the electronic device (100) detects that a travel task exists in the schedule application of the electronic device (100) (e.g., calendar, memo, reminder, email, and message), and the electronic device (100) detects that the geographic location of the electronic device (100) is close to the departure station or that the system time of the electronic device (100) is close to the departure time. In this case, the electronic device (100) may determine the travel task as the “task in progress.”
[0129] Widget: The widget of the embodiments of the present application may be a micro-application view embedded in another application (e.g., a home screen, a messaging application, or an email application) and receiving periodic updates. For example, the widget may be an application widget displayed on the home screen. In some embodiments, the widget may alternatively be a card displayed on the leftmost screen. In some embodiments, the widget may be a notification card of the lock screen interface.
[0130] An application widget on the home screen is used as an example. Users can customize the home screen using the application widget. Additionally, users can enter the application associated with the application widget by tapping it, and can move or resize the widget.
[0131] Application widgets may include message widgets, control widgets, and hybrid widgets.
[0132] A message widget can provide different content to the user by periodically updating the displayed messages. For example, a weather widget can update weather information over time. For example, in an embodiment of the present application, a schedule widget can provide messages to the user, and as the scenario (e.g., the system time of an electronic device or a geographical location) changes, the schedule widget can display more messages.
[0133] A control widget may provide controls that a user can operate to implement control of an application associated with the widget. For example, a music widget described in an embodiment of the present application includes a play / pause control, and a user can play / pause music by tapping the control.
[0134] A hybrid widget can have the functions of both a message widget and a control widget. For example, the music widget of an embodiment of the present application may include control and dynamically displayed lyrics.
[0135] It should be understood that the widgets of the embodiments of this application may additionally be referred to as small components, small tools, or cards. The specific names of the widgets are not limited in this application.
[0136] FIGS. 3a through 18a and FIG. 18b illustrate a set of exemplary graphical user interfaces (GUI) in which an electronic device (100) detects that an ongoing task exists in a media application (e.g., a music application or a video application) of the electronic device (100) and displays a media widget on the home screen.
[0137] FIG. 3a is an exemplary graphical user interface (3000) displayed on a display (194) on an electronic device (100). In some embodiments, the graphical user interface (3000) may be referred to as a lock screen interface. The graphical user interface (3000) may include one or a combination of the following elements.
[0138] Application Widget (304-0): In some embodiments, the application widget (304-0) may be positioned above the screen. It should be understood that "above" is an area larger than 1 / 2 of the screen height. In some embodiments, the content displayed by the application widget (304-0) may include one or a combination of time information, weather information, or location information. In some embodiments, the application widget (304-0) may include at least one location and time information and weather information corresponding to the location. For example, the application widget (304-0) may include time information for Beijing, weather information for Beijing, time information for London, and weather information for London. In some embodiments, the application widget (304-0) may include two application widgets (e.g., a music widget and a time and weather widget displayed simultaneously). It should be understood that the size (including width and height) of the application widget (304-0) is not particularly limited in this embodiment of the application. In some embodiments, the size of the application widget (304-0) may be small. It should be understood that in this embodiment of the application, "small size" may mean that the width of the widget does not reach the maximum width of the widget that can be displayed on the home screen of the electronic device (100). In some embodiments, the application widget (304-0) is a time weather widget or a calendar widget. It should be understood that in some embodiments, the time weather widget may alternatively be referred to as a weather application widget.
[0139] Icon (315): The icon (315) is a fingerprint recognition icon. In some embodiments, the icon (315) may switch between a transparent display and an opaque display.
[0140] Icon (316): Icon (316) is a camera icon. Users can quickly access the camera application interface by pressing the camera icon.
[0141] System status bar (302): The system status bar (302) may include a battery level indicator, a time indicator (e.g., 8:00 as illustrated in the drawing), and a signal strength indicator for the user's wireless communication (e.g., 4G and 5G). It should be understood that in some embodiments, the content displayed on the system status bar (302) is not limited thereto. For example, the system status bar (302) may additionally display a Bluetooth indicator, an alarm clock indicator, etc. It should be understood that the placement location of the content displayed on the system status bar (302) is not limited in this embodiment. For example, in some embodiments, the location of the time indicator may be in the middle.
[0142] It should be understood that the display position and quantity of elements included in the graphical user interface (3000) are not specifically limited in this embodiment of the application.
[0143] It should be understood that in some embodiments, the graphical user interface (3000) may include more elements.
[0144] In some embodiments, the GUI (3000) may further include a lock screen background (not shown in the drawing). In some embodiments, the lock screen background displayed on the GUI (3000) may be different each time the screen is turned off (e.g., each time the home button is activated).
[0145] FIG. 3b illustrates an exemplary graphical user interface (3001-2) displayed on a display (194) on an electronic device (100). It should be understood that the exemplary graphical user interface (3001-2) may be referred to as a home screen, and that the name of the graphical user interface (3001-2) is not particularly limited in this embodiment of the application. In some embodiments, the graphical user interface (3001-2) may be the home page of the home screen (home screen). When a predefined gesture (e.g., sliding up from the bottom of the screen) is detected on another page of the home screen, the electronic device may quickly switch to the home page of the home screen. It should be understood that in this embodiment of the application, the name "home page of the home screen" is used as an example for illustrative purposes and does not imply any specific limitation to the name of the exemplary graphical user interface (3001-2). In some embodiments, the exemplary graphical user interface (3001-2) may include one or a combination of the following elements:
[0146] Status bar (302): For a description of the status bar (302), refer to the description of the status bar in FIG. 3a. Further details are not described here.
[0147] Dock bar (favorites tray) (308): The dock bar (308) may include application icons such as Camera, Contacts, Phone, and Messages. In some embodiments, the user may manually change the application icons displayed on the dock bar (308).
[0148] Home screen page mark (310): The home screen page mark (310) indicates the number of pages included in the home screen and is used to locate the current page. For example, in the GUI (3001-2) illustrated in FIG. 3b, the home screen page mark (310) indicates that the electronic device (100) includes at least two home screen pages. In some embodiments, the leftmost screen may also be referred to as the home screen page. After detecting a page switching command, the electronic device may switch between different home screen pages (for example, as illustrated in FIG. 4a and FIG. 4b, the electronic device (100) detects a predefined gesture (3091) left slide input, and the electronic device (100) switches from the home page of the home screen to the home screen page GUI (3001-1) for display). In some embodiments, the user may adjust the display order of the home page of the home screen and other home screen pages (for example, adjust the display order of the GUI (3001-2) and the GUI (3001-1)).
[0149] Application icon (306): The application icon (306) may include at least one application icon. The application icon (306) may include at least one or a combination of "HUAWEI Video" (3061), "Health" (3062), "Weather" (3063), "Music" (3064), "AI Life", "Settings", "Recorder", "Vmall", "Camera", "Contacts", "Phone", and "Messages" applications. In some embodiments, the application icons displayed by the application icon (306) may differ. For example, the number of application icons may increase or decrease, and the types of icons may also differ.
[0150] Application Widget (304-1): For the description of the application widget (304-1), refer to the description of the application widget (304-0) in the embodiment of FIG. 3a. Further details are not described herein. It should be noted that the application widget (304-1) may additionally be any widget that the user manually adds to the home screen of the electronic device (100). For example, in some embodiments, the first application widget (304-1) may be a time weather widget or a calendar widget.
[0151] It should be understood that in some embodiments, different terms or names may exist for the status bar (302), widget (304-1), application icon (306), favorites tray (308), and home screen page mark (310). In some embodiments, the application icon (306) may be referred to as an application shortcut, etc. The terms used in this embodiment are merely examples.
[0152] It should be further understood that the display positions of elements within the graphical user interface (3001-2) are examples and may be arranged differently in some other embodiments. It should also be understood that there may be more types of elements in the graphical user interface (3001-2).
[0153] According to the investigation, the widget (304-1) at the location exists from the time of delivery and startup of the electronic device (100), and the user will not delete the widget. However, the widget occupies a large portion of the screen and wastes screen space. Therefore, according to the technical solution provided in this application, by using the area of the widget to intelligently display other widgets, more useful information can be provided to the user and the usability of the home screen can be increased.
[0154] In some embodiments, the electronic device (100) displays an application widget (304-1) on the home screen. It should be understood that the application widget (304-1) may be a time weather widget, a calendar widget, or other application widget. The electronic device (100) may detect an ongoing task in the media application of the electronic device (100) (e.g., a music application or a video application) and display a media widget on the home screen. In some embodiments, the media widget may be displayed on the home screen in the same area where the application widget (304-1) was displayed. In some embodiments, the same area may be on the home page of the home screen.
[0155] The following explains the process of creating media widgets using a music application as an example to provide a general overview.
[0156] The application widget (304-1) displayed on the home screen is a time weather widget (304-1) (see FIG. 3b). It should be understood that in some embodiments, the application widget (304-1) may alternatively be a widget described in the embodiments of FIG. 19 through 24a through 24c, a schedule widget described in the embodiments of FIG. 27 through 35a and FIG. 35b, or an instant messaging application widget described in the embodiments of FIG. 36a and FIG. 36b through 45.
[0157] It should be understood that in this embodiment of the application, the music application may alternatively be replaced with other media applications (e.g., HUAWEI Video, Tencent Video, YOUTUBE, Spotify, iTunes, Himalaya FM, NetEase Cloud Music, and QQ Music). It should be understood that the media application includes applications whose primary function is video playback and / or whose primary function is audio playback. The specific name of the media application is not limited in this embodiment of the application.
[0158] After the electronic device (100) detects a command to activate a music application, the electronic device (100) responds to the command, and the music application is activated. For example, after the electronic device (100) detects a gesture of tapping with a finger of a user (not shown in the drawings to match the scale) on a music application icon button (3064) on a GUI (3001-2) displayed on the home screen in FIGS. 5a and 5b, the electronic device (100) responds to the gesture, and a music application interface (3002) is displayed on the display of the electronic device (100). In some embodiments, the location of the music application icon button (3064) may be in a folder (not shown in the drawings) on the home screen page. In some embodiments, the method of activating the music application by the user may alternatively be stylus tapping, voice control, floating control, etc. In the GUI (3002), the music application interface may include a song title "TV" (312-2), a singer photo (312-1), a singer "Tom Lee" (312-3), a portion of lyrics (312-4), controls (312-5), etc. In some embodiments, the content displayed in the music application interface (3002) is not limited thereto and may further include a lyricist, an album name, an arranger, etc.
[0159] After detecting that the music playback control is activated (e.g., the user taps the music playback control as shown in FIGS. 6a and 6b), the electronic device (100) displays an interface in which music is being played.
[0160] When there is a song playing in the music application, the electronic device (100) detects a predefined gesture input (e.g., a slide gesture from bottom to top of the screen) and then switches from the displayed music application interface GUI (3002) to the home screen. It should be understood that the function of the “slide gesture from bottom to top of the screen” action is to cause the electronic device (100) to switch to the home screen of the electronic device (100). It should be noted that the gesture action causing the electronic device to return to the home screen of the electronic device is not limited to a slide from bottom to top of the screen. The gesture action may be the user tapping the home button (not shown in the drawing) or the user tapping the return button (not shown in the drawing). This is not particularly limited to the present embodiment of the application.
[0161] Optionally, after the electronic device (100) switches from the displayed music application interface GUI (3002) to the home screen, the home screen may simultaneously display a music widget (314-2) and a widget (304-2) (a reduced-size application widget (304-1)).
[0162] For example, the home screen may display a graphical user interface (3003-2), as illustrated in FIGS. 7a and 7b. The graphical user interface (3003-2) may include a music widget (314-2) and a time weather widget (304-2). The electronic device (100) may display the music widget (314-2) and the time weather widget (304-2) in an area on the home screen where the time weather widget (304-1) is displayed. Optionally, the music widget (314-2) and the time weather widget (304-2) have the same size. In some embodiments, the sizes of the music widget (314-2) and the time weather widget (304-2) may differ. In some embodiments, the time weather widget (304-2) may display less content than the time weather widget (304-1). In some embodiments, the content (314-2) displayed by the music widget may include the widget name "Music", the song title "TV", the singer "Tom Lee", and action controls. In some embodiments, the content (314-2) displayed by the music widget may further include lyrics, an album name, etc. It should be understood that the positional layout of the content (314-2) displayed by the music widget is an example.
[0163] When the electronic device (100) detects that an ongoing task exists in a media application, the electronic device (100) can automatically display the application's widget in the area where the widget (304-1) is displayed on the home screen of the electronic device (100). This enables the automatic addition of the widget, and the position of the widget (304-1) can also be reused. The screen space of the electronic device is limited. By reusing the position of another widget, the home screen can be kept clean and tidy, the widget does not need to be added to a new position, and more information can be provided to the user.
[0164] It should be understood that the order in which widgets are stored in the graphical user interface (3003-2) is for illustrative purposes only. In some embodiments, the music widget (314-2) is displayed to the left of the time weather widget (304-2) as a higher priority widget. In some embodiments, the electronic device may place the higher priority widget to the right. In some embodiments, the arrangement of the music widget (314-2) and the time weather widget (304-2) may be vertical (not shown in the drawings).
[0165] Optionally, the electronic device (100) detects that a task in progress is present in the music application, and the electronic device (100) displays only the music widget (314-2) in the area on the home screen where the time weather widget (304-1) is displayed, as illustrated in FIGS. 8a and 8b. The music widget (314-2) may have a smaller size than the time weather widget (304-1). In some embodiments, the electronic device (100) may display other widgets (e.g., a common service widget, which may include scan controls, ride code controls, or payment code controls, and the user may quickly enter the application interface by tapping the scan controls, ride code controls, or payment code controls) while displaying the music widget (314-2) on the home screen, as illustrated in FIGS. 10a and 10b. It should be understood that the location layout of the content (314-2) displayed by the music widget is an example.
[0166] Optionally, the electronic device (100) detects that a task in progress is present in the music application, and the electronic device (100) replaces the displayed music widget (314-1) on the graphical user interface (3003) in the same area where the time weather widget (304-1) is displayed. The music widget (314-1) has the same size as the time weather widget (304-1). For example, the electronic device (100) may display the GUI illustrated in FIGS. 9a and 9b. The content (314-1) displayed by the music widget may include the widget name "Music", the song title "TV", the singer "Tom Lee", and gesture controls. In some embodiments, the content (314-1) displayed by the music widget may further include content such as lyrics and album names. In some embodiments, the music widget (314-1) may display more or equal content than the music widget (314-2) in FIGS. 7a and 7b or FIGS. 8a and 8b. It should be understood that the position layout of the content (314-2) displayed by the music widget is an example.
[0167] When the electronic device (100) detects that an ongoing task exists in a media application, it can automatically display the media widget on the home screen of the device and display the widget in the area on the graphic interface where the time and weather widget is displayed. This implements the automatic addition of widgets, and the location of the time and weather widget can also be reused. The electronic device has many places to display and view the time, and while a weather widget is displayed on the home screen, in most cases, the user does not use the weather widget. Therefore, by using the technical solution of the present embodiment, the location of the weather and time widget can be reused to display widgets of the application containing the ongoing task. The screen space of the electronic device is limited. By reusing the location of the time and weather widget, the home screen can be kept clean and tidy, widgets do not need to be added to new locations, and information that is requested by the user and has a higher priority can be provided to the user.
[0168] In some embodiments, the electronic device (100) may detect a predefined gesture input and change the order of widgets displayed on the home screen. It should be understood that the widgets may include all widgets described in the embodiments of the present application. For example, the widgets may include the inter-device widgets described in the embodiments of FIGS. 19 through 25a and FIGS. 25b, the schedule widgets described in the embodiments of FIGS. 27 through 35a and FIGS. 35b, and the instant messaging application widgets described in the embodiments of FIGS. 36a and FIGS. 36b through FIGS. 45. For example, as illustrated in FIGS. 11a through 11c, the electronic device (100) detects a gesture action in which a user presses the music widget with their finger and drags the music widget to the right, and then adjusts the display order of the time weather widget and the music widget. In some embodiments, the order relates to priority. Changing the placement order of the widgets implies changing the priority of the widgets.
[0169] In some embodiments, the electronic device (100) may detect a predefined gesture input and resize a widget displayed on the home screen and / or the content displayed by the widget. It should be understood that the widget may include all widgets described in the embodiments of the present application. For example, the widget may include the inter-device widget described in the embodiments of FIGS. 19 through 25a and FIGS. 25b, the schedule widget described in the embodiments of FIGS. 27 through 35a and FIGS. 35b, and the instant messaging application widget described in the embodiments of FIGS. 36a and FIGS. 36b through FIGS. 45. In some embodiments, the electronic device (100) may detect a predefined gesture input and change the layout of the content displayed by the widget.
[0170] For example, as illustrated in FIGS. 12a and 12b, the electronic device (100) detects that a user's finger touches and holds the edge of the music widget (314-2), and the music widget (314-2) becomes editable. After the electronic device (100) detects a gesture action by the user dragging the widget to the right while touching the right edge of the widget, the electronic device (100) switches to and displays a graphical user interface (3003-1). Compared to the music widget (314-2) in the graphical user interface (3003-2), the graphical user interface (3003-1) does not display the widget (3003-2) but displays only the music widget. The size of the displayed music widget (314-1) is enlarged. In some embodiments, the width of the music widget (314-1) displayed in the graphical user interface (3003-1) is the maximum width of the widget that the electronic device (100) can display on the home screen. In some embodiments, the enlarged widget may display more content. For example, compared to the music widget (314-2), the content displayed by the enlarged widget (314-1) may include more of the lyrics. In some embodiments, compared to the music widget (314-2), the layout of the content displayed by the music widget (314-1) (including, but not limited to, widget name, song title, artist, and motion control) may differ. After detecting a predefined gesture input (e.g., a gesture of dragging the widget to the left while touching the right edge of the widget), the electronic device (100) must understand that the size of the widget may be reduced. For example, in FIGS. 12a and 12b, after detecting a predefined gesture input (e.g., a gesture of dragging the widget to the left while touching the right edge of the widget (314-1)), the electronic device (100) reduces the size of the widget (314-1), and, for example, the reduced-size widget (314-1) may look like widget (314-2).
[0171] After detecting a user's predefined gesture, the electronic device (100) adjusts the size of the widget displayed on the home screen so that the limited space on the screen can be used efficiently, the user can view and interact with different widgets, and the interaction efficiency is improved.
[0172] In some embodiments, the electronic device (100) may further detect a change in scenario to adjust the size of the widget displayed on the media home screen and / or the content displayed by the media widget and / or the layout of the content displayed by the media widget.
[0173] In some embodiments, the media widget may have a time tag and / or a geographic location tag. The time tag and / or geographic location tag may be added manually by the user or generated by the electronic device (100) based on the user's usage habits regarding the media application. For example, if the user frequently listens to music before going to bed at 22:00 pm, the electronic device (100) may collect statistics on the time and frequency with which the user uses the music application and add a time tag to the music application. The time tag is 22:00 pm. For example, if the user frequently listens to music at home, the electronic device may collect statistics on the geographic location and frequency with which the user uses the music application and add a geographic location tag to the music application. The geographic location tag is home.
[0174] If the electronic device (100) detects that the difference between the electronic device's system time and the time tag "22:00" is less than a preset value of time threshold, and / or if the electronic device (100) detects that the difference between the device's geographic location and the geographic location tag "home" is less than a preset value of distance threshold, the electronic device (100) adjusts the size of the music widget on the home screen and / or the content displayed by the music widget. In some embodiments, the electronic device (100) may enlarge the size of the music widget. In some embodiments, the content displayed by the enlarged music widget may be increased. For example, as illustrated in FIGS. 13a and 13b, the electronic device (100) displays the music widget (314-2) on the home screen, and the electronic device (100) detects a change in time and / or geographic location and switches to a GUI (3003-1) display. Compared to the widget (314-2) displayed in the GUI (3003-2), the content added to be displayed in the music widget (314-1) displayed in the GUI (3003-1) may include the words “I like watching TV”, action controls (e.g., shuffle or favorite button), etc.
[0175] In some embodiments, the electronic device (100) may use an ambient light sensor to additionally detect the brightness of the ambient light and determine a scenario change, thereby automatically adjusting the size of the media widget and / or the content displayed by the media widget and / or the layout of the content displayed by the media widget. For example, if a user enters a dark environment from a bright place, and the widget is still small, the user cannot see the text provided by the widget. Therefore, to meet user requirements, the size of the widget may be automatically adjusted to be larger, and the displayed font may be enlarged. Optionally, the displayed controls may also be enlarged. By detecting a scenario change and adjusting the size of the media widget and / or the content displayed by the media widget and / or the layout of the content displayed by the media widget, the electronic device (100) may provide more information to the user, facilitate interaction with the user, and improve the user experience.
[0176] In some embodiments, the electronic device (100) detects a scenario change (e.g., the electronic device (100) determines a scenario change by detecting that the user determines that the scenario changes by detecting that the time difference between the system time of the electronic device (100) and the scenario time is greater than a time threshold of a preset value, and / or that the distance difference between the geographical location of the electronic device (100) and the geographical location of the scenario is greater than a distance threshold of a preset value), and can adjust the size of the media widget and / or the content displayed by the media widget, and / or the layout of the content displayed by the media widget. After detecting the user's scenario change again, the electronic device (100) can restore the media widget to the display method prior to the state adjustment. The state adjustment includes adjusting the size of the media widget and / or the content displayed by the media widget, and / or the layout of the content displayed by the media widget.
[0177] In some embodiments, a music widget (314-1) is displayed on the home screen of the electronic device (100), the width of the music widget (314-1) is approximately equal to the width of the screen, and the lyrics of the song currently playing are displayed on the music widget (314-1). When the electronic device (100) switches to displaying another page on the home screen or enters another application interface, the electronic device (100) displays the music widget (314-1) in a floating widget state, and the widget is transparent and displays only the lyrics as shown in FIG. 15a and FIG. 15b. Optionally, after the electronic device (100) detects a predefined gesture (e.g., a single-tap) on the widget, the widget is displayed in a translucent state, and the widget displays a motion control.
[0178] In some embodiments, after the electronic device (100) detects a predefined gesture entered by the user (e.g., activating pause control in a widget, sliding a widget, or activating delete control in a widget), the electronic device (100) stops displaying the media widget on the home screen and displays the application widget (304-1).
[0179] For example, as illustrated in FIGS. 16a and 16b, a music widget (314-1) is displayed on the home screen of the electronic device (100). After the electronic device (100) detects that the user taps the pause button of the music widget, the electronic device (100) switches to displaying the GUI (3002-1) and stops displaying the music widget. The widget displayed on the home screen of the electronic device (100) is a time weather widget (304-1).
[0180] The electronic device (100) detects that the user performs a predefined action on a media widget (e.g., tapping a pause control, tapping a delete control, or a slide gesture), and the electronic device (100) stops displaying the media widget on the home screen and displays another widget in the limited screen space to facilitate interaction between the user and the other widget.
[0181] In some embodiments, at least two application widgets are displayed on the home screen of the electronic device (100). For example, as illustrated in FIGS. 17a and 17b, the GUI (5001) includes a first application widget and a second application widget. In some embodiments, it should be understood that the first application widget may alternatively be one of a time weather widget, a slide widget, an instant messaging application widget, or a schedule widget. The slide widget may be obtained according to the technical solution described in the embodiments of FIGS. 19 through 25a and FIGS. 25b, the message widget may be obtained according to the technical solution described in the embodiments of FIGS. 36a and FIGS. 36b through 45, and the schedule widget may be obtained according to the technical solution described in FIGS. 27 through 35a and FIGS. 35b. Regarding the description of the second application widget, the contents of the first application widget may be cited. Details are not described herein.
[0182] Optionally, the electronic device (100) may detect that an ongoing task exists in the media application of the electronic device (100) (e.g., a music application or a video application) and may display a media widget and a first application widget on the home screen. For example, the electronic device may display the widget with the highest priority on the left. The newly created media widget has the highest priority and is placed on the far left. As illustrated in FIG. 17a and FIG. 17b, the second application widget is no longer displayed because it has the lowest priority.
[0183] For example, as illustrated in FIGS. 18a and 18b, a schedule widget (502-2) and a time weather widget (304-2) are displayed on the home screen of the electronic device (100). The electronic device (100) detects that there is a task in progress in the music application and displays a music widget (314-2) and a schedule widget (502-2) on the home screen, with the music widget (314-2) positioned to the left of the schedule widget (502-2).
[0184] Optionally, the electronic device (100) can detect that an ongoing task exists in the media application (e.g., music application or video application) of the electronic device (100), and can display a media widget and a second application widget on the home screen.
[0185] The above-described embodiments describe technical solutions for displaying widgets on a home screen. In some embodiments, the electronic device (100) may additionally display widgets on a lock screen interface using the technical solutions described in the above-described embodiments. It should be understood that widgets include all widgets described in the embodiments of the present application. For example, widgets may include inter-device widgets described in the embodiments of FIGS. 19 through 25a and FIGS. 25b, schedule widgets described in the embodiments of FIGS. 27 through 35a and FIGS. 35b, and instant messaging application widgets described in the embodiments of FIGS. 36a and FIGS. 36b through FIGS. 45.
[0186] For example, as illustrated in FIG. 14a and FIG. 14b, the electronic device (100) displays a GUI (3003-1), and after detecting a screen lock command entered by the user, the electronic device (100) switches to displaying a lock screen interface GUI (3004). The lock screen interface GUI (3004) displays a music widget (314-1) in the same area where the time weather widget (314-0) is displayed. After detecting a screen unlock command entered by the user, the electronic device (100) may switch to displaying a lock screen interface GUI (3003-1). In some embodiments, if the widgets displayed on the lock screen interface (3004) do not contain time information, the electronic device (100) may display time information on the task bar (302).
[0187] Widgets displayed on the lock screen interface improve the user experience by allowing users to interact with the widgets without unlocking the screen.
[0188] In some embodiments, the electronic device (100) may detect that an ongoing task exists in the media application of the electronic device (100) (e.g., a music application or a video application) and may display a media widget on a lock screen page. Regarding the display method of the media widget and the mode and beneficial effect of the media widget interacting with the user on the lock screen page (e.g., after the user taps a pause control, the display of the music widget is stopped and the display of the time and weather widget is switched), the display method of the media widget on the home screen may be cited. Further details are not described herein.
[0189] FIGS. 19 through 25a and FIG. 25b illustrate a group of exemplary graphical user interfaces for creating application widgets across devices.
[0190] For a task in progress in an application on another electronic device, the user "leaves" the other electronic device in the middle, and the electronic device (100) displays an application widget related to the application.
[0191] It should be understood that applications on other electronic devices may include office applications, and office applications may include word processing applications (e.g., Microsoft Office Word, Microsoft Office Powerpoint, Microsoft Office Excel, and PDF Reader), image processing applications, online meeting applications, browser applications, and email applications.
[0192] In some embodiments, the electronic device (100) displays an application widget (304-1) on the home screen.
[0193] It should be understood that the application widget (304-1) may alternatively be a media widget as described in the embodiments of FIGS. 3a through 18a and FIGS. 18b, a schedule widget as described in the embodiments of FIGS. 27 through 35a and FIGS. 35b, or an instant messaging application widget as described in the embodiments of FIGS. 36a and FIGS. 36b through FIGS. 45.
[0194] The electronic device (100) can receive "in progress tasks" existing in the application from another electronic device and can display the application's widget on the home screen. In some embodiments, the application's widget may be on the home screen and displayed in the same area where the application widget (304-1) was displayed. In some embodiments, the same area may be on the home page of the home screen.
[0195] The following is used as an example for explanation in which the electronic device (102) is used as another electronic device, and a task in progress exists in the slide application of the electronic device (102).
[0196] It should be understood that in some embodiments, the electronic device (102) may be an electronic device such as a mobile phone, tablet computer, wearable device, vehicle-mounted device, augmented reality (AR) device / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA).
[0197] In some embodiments, when the electronic device (102) detects that a task in progress is present in the slide application and detects that the user is "floating," the electronic device (102) may upload the "task in progress" to a cloud server device (180), as illustrated in FIG. 20a and FIG. 20b. The electronic device (102) may upload the task in progress to the cloud server device (180) using a cellular network or a wireless local area network (WLAN).
[0198] The method of detecting and determining that a user is "leaving" the electronic device (102) may be that a sensor of the electronic device (102) detects that the user is moving away from the electronic device (102), or that the electronic device (102) detects that the time during which the user does not operate the electronic device (102) is greater than a preset time value, etc. In some embodiments, the electronic device (102) detecting and determining that the user is leaving the device (102) may alternatively be that the user minimizes the window of an application displayed by the electronic device (102). As illustrated in FIG. 19, after the user taps the minimize button (402) of the GUI (4001), the user returns to the home screen of the electronic device (102), and the electronic device (102) also determines that the user is "leaving" the electronic device (102). In some embodiments, the electronic device (102) may additionally determine that the user is "leaving" the electronic device (102) when the screen of the electronic device (100) is locked. The specific method of determination is not limited to this embodiment.
[0199] In some embodiments, the electronic device (102) may alternatively upload a task to a cloud server by detecting a user's predefined input action on the electronic device (102). For example, in FIGS. 21a and 21b, a slide being modified by the user is displayed on the electronic device (102), and the ongoing task of the slide application is "Research report". After the electronic device (102) detects that the user taps the PowerPoint icon in the slide application interface, the electronic device (102) displays a window. The window may include options such as "Push to electronic device (100)", "Push to electronic device (103)", "Push to electronic device (104)", and "Close window". In some embodiments, the GUI (4001) may display a control or icon for "Push to electronic device," and it should be understood that after detecting that the control or icon is activated, the electronic device (102) may display options such as "Push to electronic device (100)," "Push to electronic device (103)," and "Push to electronic device (104)." The electronic device (102) detects that the user taps the option "Push to electronic device (100)," and the electronic device (102) may upload the upload slide task "Research report" to a cloud server using a cellular network or a wireless local area network (WLAN). For example, a newly processed task in the slide application is "Research report," and the electronic device (102) may transmit the task "Research report" to a cloud server device (180).
[0200] After the electronic device (100) detects that the account logged on to the electronic device (100) by the user and the account logged on to the electronic device (102) are the same account, as illustrated in FIG. 20a and FIG. 20b, the cloud server device (180) pushes the ongoing task to the electronic device (100), and the application widget (404-2) related to the application is displayed on the home screen of the electronic device (100).
[0201] In some embodiments, the electronic device (102) displays an application interface of an application (e.g., an email application interface or a browser application interface). After the electronic device (100) completes pairing with the electronic device (102), the electronic device (102) pushes an ongoing task to the electronic device (100) (e.g., pairing via Bluetooth or data transfer via Wi-Fi Direct connection). As illustrated in FIGS. 20a and 20b, the application widget is displayed on the home screen of the electronic device (100).
[0202] In some embodiments, a cloud server device (180) or an electronic device (102) pushes a task to the electronic device (100). The task file may be very large, and the current network connection status of the electronic device (100) may be weak. Therefore, before receiving a task in progress, the electronic device (100) may ask the user for consent to receive the task. After detecting a predefined action entered by the user (e.g., tapping the control "Yes"), the electronic device (100) receives the task in progress and displays an application widget related to the task in progress on the home screen.
[0203] The electronic device (100) displays an application widget (304-1) on the home screen, the electronic device (100) receives a task in progress from the server to the electronic device (102), and the electronic device (100) displays an application widget on the home screen. Regarding the method of displaying the widget, the contents of FIGS. 7a and 7b through FIGS. 9a and 9b may be referenced. Details are not described herein.
[0204] The electronic device (100) can receive ongoing tasks from applications on other electronic devices and display widgets of the applications on the home screen. The user can interact with applications between different electronic devices, thereby improving the user experience.
[0205] The widget (304-1) of the embodiments of FIGS. 19 to 21a and FIGS. 21b is a time weather widget. It should be understood that the widget (304-1) may alternatively be any widget described in the embodiments. For example, the widget (304-1) may be the widget described in the embodiments of FIGS. 3a to 18a and FIG. 18b.
[0206] For example, as illustrated in FIGS. 22a and 22b, the application widget (304-1) displayed on the home screen of the electronic device (100) is a music widget. The electronic device (100) receives a task in progress from the server to the electronic device (102), and the electronic device (100) simultaneously displays a reduced-size music widget (314-2) and a PPT application widget (404-2).
[0207] In some embodiments, the electronic device detects that a task exists in an office application, and if the task of the office application is not completed, the user returns to the home screen, and the electronic device may display a widget of the application on the home screen. Regarding the method of displaying the widget, reference may be made to the contents of FIGS. 7a and 7b through FIGS. 9a and 9b. Details are not described herein. For example, the user edits a document on the PPT (PowerPoint) application on the electronic device (100), and after the user taps the home button to return to the home screen, the electronic device (100) displays a PPT application widget on the home screen.
[0208] The electronic device (100) can receive ongoing tasks existing in an application of another electronic device, display widgets of the application on the home screen, and display widgets in an area on the home screen where the time and weather widget is displayed. This implements automatic addition of widgets, and the position of the time and weather widget can also be reused. The screen space of the electronic device is limited. By reusing the position of the time and weather widget, the home page of the home screen can be kept clean and tidy, widgets do not need to be added to new positions, and information requested by the user can be provided to the user.
[0209] In some embodiments, at least two application widgets are displayed on the home screen of the electronic device (100). For example, a first application widget and a second application widget may be included. In some embodiments, it should be understood that the first application widget may alternatively be one of a time weather widget, a music widget, an instant messaging application widget, or a schedule widget. The music widget may be obtained according to the technical solution described in the embodiments of FIGS. 3a through 18a and FIGS. 18b, the message widget may be obtained according to the technical solution described in the embodiments of FIGS. 36a and FIGS. 36b through 45, and the schedule widget may be obtained according to the technical solution described in FIGS. 27 through 35a and FIGS. 35b. Regarding the description of the second application widget, the contents of the first application widget may be cited. Details are not described herein.
[0210] The electronic device (100) can receive ongoing tasks existing in an application of another electronic device and can display a widget of the application on the home screen. Optionally, regarding the way the electronic device (100) displays the widget of the application, the contents of the embodiments of FIGS. 17a and 17b through 18a and 18b may be referenced.
[0211] For example, as illustrated in FIGS. 23a and 23b, a music widget (314-2) (which may be referred to as the first application widget) and a time weather widget (304-2) (which may be referred to as the second application widget) are displayed on the home screen of the electronic device (100). The electronic device (100) receives a task in progress from a slide application of another electronic device, and the electronic device (100) displays a slide widget (404-2) and a music widget (314-2) (which may be referred to as the first application widget) on the home screen. And, the slide widget (404-2) is positioned to the left of the music widget (314-2).
[0212] In some embodiments, the electronic device (100) may detect a predefined gesture input (e.g., left-right sliding or up-down sliding) and display different widgets. For example, as illustrated in FIGS. 24a through 24c, the electronic device (100) displays a slide widget (404-2) and a music widget (314-2). The electronic device (100) may detect that the user's finger slides to the left on a widget (e.g., the slide widget (404-2)) and switch to displaying a GUI (4005). The GUI (4005) displays part of the slide widget (404-2), the music widget (314-2), and part of the time and weather widget (304-2). The electronic device (100) may detect that the user's finger continues to slide to the left on a widget (e.g., the music widget (314-2)) and switch to displaying a GUI (3003-2). The electronic device (100) displays a music widget (314-2) and a time weather widget (304-2) on the home screen. It should be understood that the time weather widget (304-2) may be newly pushed by the system or may run in the background but not be displayed.
[0213] In some embodiments, as illustrated in FIG. 25a and FIG. 25b, the electronic device (100) displays a slide application widget (404-1). After the electronic device (100) detects a predefined gesture input (e.g., a finger tapping the slide widget), the electronic device (100) switches to displaying an application interface GUI (4003) of an application associated with the application widget. In some embodiments, after the electronic device (100) detects that the operating area of the predefined gesture input (e.g., a finger tapping the slide widget) is different, the application interface GUI (4003) that the electronic device (100) switches to display may be different.
[0214] In some embodiments, the electronic device (100) can detect a predefined gesture input and change the order of widgets displayed on the home screen. Regarding the change of the order of widgets displayed on the home screen, the contents of FIGS. 11a through 11c may be referenced. Details are not described herein.
[0215] In some embodiments, the electronic device (100) receives a task in progress from an office application on another electronic device, and the electronic device (100) displays an office application widget on the home screen. The electronic device (100) may further detect a change in scenario and adjust the size of the office application widget and / or the content displayed by the office application widget and / or the layout of the content displayed by the office application widget, as illustrated in FIG. 26a and FIG. 26b.
[0216] For example, an office application widget may have a scenario time and / or a scenario geographic location. The scenario time and / or scenario geographic location may be manually added by the user or generated by the electronic device (100) based on the user's usage habits for the office application. For example, if the user frequently handles unfinished work at home at 20:00 pm, or if the user frequently turns on the electronic device to handle unfinished work on the subway during commuting hours at 17:00 pm after work, the electronic device may, after collecting statistics, determine that the scenario time of the slide widget is 20:00 pm and / or 17:00 pm, and the scenario geographic location of the application widget is home or a specific subway station.
[0217] If the electronic device (100) detects that the difference between the electronic device's system time and the scenario time is less than a time threshold of a preset value, and / or if the electronic device (100) detects that the distance difference between the device's geographic location and the scenario geographic location is less than a distance threshold of a preset value, the electronic device (100) adjusts the size of the office application widget on the home screen and / or the content of the office application widget and / or the layout of the content displayed by the office application widget.
[0218] In some embodiments, the electronic device (100) can automatically adjust the size of the application widget and / or the content displayed by the application widget and / or the layout of the content displayed by the application widget by using an ambient light sensor to further detect the brightness of the ambient light and determining a scenario change.
[0219] The electronic device (100) detects a change in scenario and adjusts the size of the office application widget and / or the content displayed by the office application widget and / or the layout of the content displayed by the office application widget. For its beneficial effects, the relevant details of the embodiments of FIGS. 3a through 18a and FIG. 18b may be cited.
[0220] FIGS. 27 through 35a and FIGS. 35b illustrate a group of exemplary graphical user interfaces in which an electronic device (100) creates a widget by identifying schedule content and detecting that a task in progress exists in the schedule of the electronic device (100) based on the system time and / or geographical location of the electronic device (100).
[0221] In some embodiments, the electronic device (100) displays the application widget (304-1) shown in FIG. 3a on the home screen.
[0222] It should be understood that the application widget (304-1) may alternatively be a media widget as described in the embodiments of FIGS. 3a through 18a and FIGS. 18b, an application widget as described in the embodiments of FIGS. 19 through 25a and FIGS. 25b, or an instant messaging application widget as described in the embodiments of FIGS. 36a and FIGS. 36b through FIGS. 45.
[0223] The electronic device (100) can generate a schedule widget to display on the home screen by identifying schedule content and detecting that a task in progress exists in the electronic device (100)'s schedule based on the electronic device (100)'s system time and / or geographic location. In some embodiments, the schedule widget may be displayed on the home screen page and in the same area where the application widget (304-1) was displayed. In some embodiments, the home screen page may be on the home page of the home screen.
[0224] It should be understood that schedule content may be manually added by the user, or that the electronic device (100) may automatically identify schedule content from a schedule application (e.g., an application such as a message, email, memo, or reminder) and add the schedule content to the user's schedule (e.g., a schedule in a calendar application).
[0225] For example, the electronic device (100) can automatically identify that content regarding a ticket journey (including, but not limited to, departure station, arrival station, departure time, arrival time, passenger information, ticket gate, etc.) exists in a message application. The electronic device (100) must understand that, using an SMS message template, it can identify which SMS message is related to the journey and can add the content of the ticket journey to a schedule.
[0226] For example, the electronic device (100) can detect that express delivery content (including but not limited to delivery company information, geographical location of express delivery pickup locker, pickup code, pickup time, etc.) exists in a message application, and the electronic device (100) can add the express delivery content to a schedule.
[0227] FIG. 27 illustrates an exemplary graphical user interface (5000) of a message application of an electronic device (100). The SMS message content includes travel information of the ticket, and the SMS message content includes the departure date, train number, seat number, departure station, and departure time. It should be understood that the SMS message content may include more information, such as the arrival station, arrival time, and passenger name. In some embodiments, the SMS message content may alternatively be movie information (e.g., movie release times and the geographical location of the theater), or shopping mall information (e.g., the location of the mall and the time the user is expected to go shopping).
[0228] The electronic device (100) can determine that a task in progress exists in the schedule content by identifying the schedule content and determining that the difference between the system time of the electronic device (100) and the time of the schedule content is less than a time threshold, and / or the distance between the geographical location of the electronic device (100) and the geographical location of the schedule content is less than a distance threshold.
[0229] For example, the electronic device (100) can detect the current geographic location information of the electronic device (100) using one or more of the positioning methods such as GPS positioning, Wi-Fi positioning, and base station positioning, and then calculate the geographic location information of the departure location of the journey and the current geographic location information of the user. If the electronic device (100) detects that the distance between the user's current geographic location and the geographic location of the departure station of the travel schedule content is less than (or less than or equal to) a distance threshold of a preset value D1, the electronic device (100) determines that the ticket journey of the schedule application is a task in progress and displays the schedule widget on the home page of the home screen. In some embodiments, the electronic device (100) further detects that the difference between the system time of the electronic device (100) and the departure time of the ticket journey of the schedule content is less than a time threshold of a preset value T1, and the electronic device (100) determines that the ticket journey of the schedule application is a task in progress and displays the schedule widget related to the schedule application on the home page of the home screen.
[0230] For example, the electronic device (100) can identify a ticket journey in the schedule content. The electronic device (100) detects that the difference between the system time of the electronic device (100) and the departure time of the schedule content is less than or equal to a time threshold, and the electronic device (100) displays a schedule widget related to the schedule content on the home screen.
[0231] As illustrated in FIGS. 28a and 28b, when the electronic device (100) detects that ticket journey information is present in the schedule content of the electronic device (100), the electronic device (100) identifies the ticket journey information (e.g., passenger, departure station, arrival station, departure time, and arrival time) in the schedule and determines that the difference between the system time of the electronic device (100) 08:00 am and the train's departure time 08:26 am is less than a time threshold, and / or the distance between the current geographical location of the electronic device (100) and the geographical location of the train's departure station Beijing in the schedule content is less than a distance threshold. In this case, the ticket journey in the schedule content is determined to be a task in progress, and the electronic device (100) displays a schedule widget (502-2) and a time weather widget (304-2) on the home page of the home screen.
[0232] Regarding a method of generating a schedule widget to be displayed on the home screen by an electronic device (100) displaying an application widget (304-1) on the home screen and identifying schedule content and detecting that a task in progress exists in the schedule of the electronic device (100) based on the system time and / or geographical location of the electronic device (100), the relevant description in FIGS. 7a and 7b through FIGS. 9a and 9b may be cited.
[0233] In some embodiments, the electronic device (100) may display a plurality of schedule widgets simultaneously (e.g., a plurality of ticket journey information may exist simultaneously in a schedule application). In some embodiments, a plurality of schedule widgets may be stacked for display.
[0234] In some embodiments, the electronic device (100) may switch from displaying a widget (304-1) on the home screen to simultaneously displaying a schedule widget (502-2) and a common service widget (503-2), and the common service widget (503-2) may include controls such as a ride code, scan, or payment code, as illustrated in FIG. 29a and FIG. 29b. It should be understood that the common service widget is merely an exemplary name and does not imply any limitation on the name of the common service widget. The user must take a subway or bus on the way to the station. Therefore, to meet the user's requirements in various scenarios, various widgets are intelligently pushed to the user.
[0235] In some embodiments, the electronic device (100) may additionally display a music widget while displaying a schedule widget on the home screen. As illustrated in FIGS. 30a and 30b, the music widget may be automatically pushed by the electronic device (100) after collecting statistics on the user's music listening frequency at the station. Alternatively, the music widget may be automatically pushed by the electronic device after the user associates the music widget with the schedule widget. In this case, the music widget is in a paused state, and it should be understood that this is different from the music widget described in the embodiments of FIGS. 3a through 18a and FIG. 18b.
[0236] Since there is a requirement for the user to listen to music on their way to the train station, the music widget is displayed while the schedule widget is displayed. If the user wishes to listen to music, they can tap the controls of the music widget to play the music.
[0237] The electronic device (100) can improve the user experience by displaying a schedule widget on the home screen and displaying other widgets, thereby intelligently providing different information to the user according to the associated scenario.
[0238] In some embodiments, the electronic device (100) can detect the input of a predefined gesture (e.g., pinching, in which two points of the pinching each contact different widgets), and the electronic device (100) responds by combining the two widgets into a composite widget.
[0239] For example, as illustrated in the GUI (5001) of FIGS. 31a and 31b, the electronic device (100) displays a schedule widget (502-2) and a music widget (314-2). When the electronic device detects a user's predefined gesture, the electronic device (100) responds by displaying the GUI (5003) illustrated in FIGS. 31a and 31b, and the electronic device displays a composite widget (502-3). It should be understood that the content displayed by the composite widget (502-3) may include the content displayed by the schedule widget (502-2) and the music widget (314). It should be further understood that the composite widget may display more or less content for the schedule widget than the schedule widget (502-2). It should also be understood that the composite widget (502-3) may display more or less content for the music widget than the music widget (314-2).
[0240] In some embodiments, the electronic device (100) detects a predefined command input (e.g., a pinching gesture), and the electronic device (100) may combine three or more widgets into a composite widget. The number of widgets used in the combination is not particularly limited in this embodiment of the application.
[0241] When the electronic device (100) detects that a task in progress exists in an application related to any widget of the composite widget, the electronic device can display the composite widget on the home page of the home screen.
[0242] For example, the user pinches the music widget and the schedule widget into the composite widget. If the electronic device detects that a task in progress exists in the music application, the electronic device (100) displays the composite widget on the home page of the home screen. Alternatively, if the electronic device (100) detects that a task in progress exists in the schedule, the electronic device (100) displays the composite widget on the home page of the home screen.
[0243] After the user combines two widgets into a single composite widget, when the user subsequently enters the same scenario, the composite widget appears automatically, and the user does not need to manually switch to display the two separate widgets on the display (194), thereby improving the user experience (for example, since the travel information of the ticket is in the user's schedule and the user expects to listen to music at the station, therefore, the user combines the music widget and the schedule widget into a composite widget at the station, and when the user subsequently enters the station scenario, the electronic device (100) automatically displays the composite widget, wherein the widget content includes the schedule widget content and the music widget content).
[0244] In some embodiments, the electronic device (100) may detect a predefined gesture input and adjust the size of the widget and / or the content displayed by the widget. Descriptions related to the electronic device (100) detecting a predefined gesture input and adjusting the size of the widget and the content displayed by the widget may be referenced in FIG. 12a and FIG. 12b. Further details are not described herein.
[0245] In some embodiments, the electronic device (100) displays a schedule widget on the home screen. The electronic device (100) can detect a change in the scenario and adjust the schedule widget. For example, the electronic device (100) can adjust the size of the schedule widget and / or adjust the content displayed by the schedule widget.
[0246] For example, if the electronic device (100) detects that the distance between the current geographical location of the electronic device (100) and the geographical location of the departure station in the schedule content is less than (or less than or equal to) a distance threshold of a preset value D2—where D2 is less than D1—and / or if the electronic device (100) detects that the difference between the system time of the device and the departure time of the schedule content is less than a time threshold of a preset value T2—where T2 is less than T1—the electronic device (100) adjusts the size of the schedule widget and / or adjusts the content displayed by the schedule widget.
[0247] For example, as illustrated in FIG. 32, the user is 200 meters away from the train station, and the user's electronic device displays a schedule widget (502-2) (e.g., the schedule widget (502-2) in FIG. 28a and FIG. 28b), and the difference between the system time of the electronic device (100) and the departure time (e.g., 8:26 am as shown in the schedule widget (502-2)) is 11 minutes. If the electronic device (100) detects that the difference between the time departure time of the electronic device (100) is less than a preset value (e.g., the preset value may be set to 11 minutes or a specific value less than or equal to 11 minutes), and / or if the electronic device detects that the difference between the geographical location information of the electronic device (100) and the geographical location of the departure station is less than a preset value (e.g., the preset value may be set to 200 meters or a specific value less than or equal to 200 meters), the electronic device switches to displaying the GUI (5001) on the home screen, as illustrated in FIG. 33a and FIG. 33b. The content displayed by the schedule widget (502-2) shown in the GUI (5001) includes the scheduling theme "Ticket", the train number "High-speed Railway G80", the departure station "Beijing Train Station", and the arrival station "Shanghai Train Station", and the electronic device (100) switches to the GUI (5002). The widget displayed on the GUI (5002) is a schedule widget (502-1). The schedule widget (502-1) is larger than the widget (502-2), and the content displayed by the schedule widget (502-1) may be increased compared to the widget (502-2). In some embodiments, the added information may include passenger names, seat number information, ticket gate information, etc. In some embodiments, the content added to the display may further include a map thumbnail of the current location of the electronic device (100).The map thumbnail can display nearby services at the current location of the electronic device (100), and the nearby services may include information such as food, parking, check-in rooms, and hotels, as shown in FIG. 34a and FIG. 34b.
[0248] For example, a schedule widget is displayed on the home screen of an electronic device (100). The schedule widget contains express delivery information, and the express delivery information includes the name of the express delivery company, the location of the express delivery (or the location of the express delivery pickup locker), and the express delivery pickup time. The message content that the user is concerned about is some time before the user arrives at the express delivery pickup location. Therefore, not much information about the express delivery is displayed in the schedule widget. When the user is about to arrive at the express delivery pickup location, the user needs to know the pickup code and obtain more information. If the user's electronic device (100) detects that the difference in distance between the geographical location of the electronic device (100) and the location of the express delivery pickup locker is less than a distance threshold, the electronic device (100) expands the schedule widget to display more content, and the newly added content may include the express delivery pickup code, etc.
[0249] In some embodiments, a composite widget is displayed on the home screen of the electronic device (100), and the composite widget is obtained by combining a schedule widget, e.g., FIG. 35a and FIG. 35b. When the electronic device (100) detects that the distance between the current geographic location of the electronic device (100) and the geographic location of the departure station of the journey is less than (or less than or equal to) a distance threshold of a preset value D2—where D2 is less than D1—and / or when the electronic device (100) detects that the difference between the system time of the electronic device (100) and the departure time of the ticket journey is less than a time threshold of a preset value T2—where T2 is less than T1—the electronic device (100) switches to displaying a schedule widget with adjusted size and / or content on the home screen.
[0250] In some embodiments, when the electronic device (100) detects that the system time of the user's electronic device (100) has passed a specific point in time of the schedule content, the electronic device (100) stops displaying the schedule widget.
[0251] For example, the departure time for a ticket travel task in the schedule is 8:26 am. If the electronic device (100) detects that the system time of the electronic device (100) is greater than or equal to the departure time, the electronic device (100) stops displaying the schedule widget. In some embodiments, specific points in time of the schedule content additionally include movie screening times, meeting end times, etc.
[0252] In some embodiments, at least two application widgets are displayed on the home screen of the electronic device (100). The electronic device may generate a schedule widget to be displayed on the home screen by identifying schedule content and detecting whether a task in progress exists in the electronic device's schedule based on the electronic device's system time and / or geographical location. Regarding the manner in which the schedule widget is displayed on the home screen, the manner in which the media widget is displayed in FIGS. 17a and 17b to FIGS. 18a and 18b may be referenced.
[0253] In some embodiments, the electronic device may generate a schedule widget to be displayed on a lock screen page by identifying schedule content and detecting whether a task in progress exists in the electronic device's schedule based on the electronic device's system time and / or geographical location. Regarding the display method and beneficial effects of displaying the schedule widget on the lock screen page, the display method of the schedule widget on the home screen may be cited. Further details are not described herein.
[0254] In some embodiments, after the user's electronic device (100) is connected to a vehicle-mounted device (e.g., via Bluetooth), the vehicle-mounted device may display the schedule widgets illustrated in FIGS. 27 through 35a and FIGS. 35b (including the schedule widget for express delivery content and the schedule widget for ticket travel tasks) displayed on the electronic device (100).
[0255] FIGS. 36a and FIGS. 36b through 45 illustrate a group of exemplary graphical user interfaces in which an electronic device (100) can display an instant messaging application widget on the home screen after detecting a user's predefined gesture in an instant messaging application interface.
[0256] In some embodiments, the electronic device (100) displays an application widget (304-1) on a home screen page, and the relevant content of FIGS. 27 through 35a and FIGS. 35b may be referenced with respect to the application widget (304-1).
[0257] It should be noted that the application widget (304-1) may alternatively be a media widget described in the embodiments of FIGS. 3a through 18a and FIGS. 18b, a schedule widget described in the embodiments of FIGS. 27 through 35a and FIGS. 35b, or an application widget described in the embodiments of FIGS. 19 through 25a and FIGS. 25b.
[0258] The electronic device (100) may display an instant messaging application widget on a home screen page after detecting a user's predefined gesture input on an instant messaging application interface. The instant messaging application interface may include a chat window page (including a chat window with a single contact and a group chat window). In some embodiments, the instant messaging application widget may be on the home screen and displayed in the same area where the application widget (304-1) was displayed. In some embodiments, the home screen may be on the home page of the home screen.
[0259] The following uses a message application as an example for explanation.
[0260] It should be understood that in this embodiment of the application, the message application may alternatively be replaced with other instant messaging applications (e.g., WeChat, QQ, Meetime, WhatsApp, Messenger, Line, and iMessage).
[0261] As illustrated in FIGS. 36a and 36b, the GUI (3001-2) illustrated in FIG. 3b is displayed on the electronic device (100), and the time weather widget (304-1) is displayed on the home screen. In some embodiments, after the electronic device (100) detects the user's message application icon, the electronic device (100) displays the application interface GUI (6001) of the message application illustrated in FIGS. 36a and 36b. It should be understood that the content displayed on the GUI (6001) may include a status bar (302), a message display window (602), a message reply window (604), etc. It should also be understood that the message content (602) may include, but is not limited to, text, images, videos, emojis, etc.
[0262] Optionally, after the electronic device (100) detects a predefined gesture input (e.g., a user sliding inward from a corner of the user interface (6001)) in the application interface (6001), the electronic device (100) may respond by displaying a message application widget on the home page of the home screen.
[0263] Optionally, after the electronic device (100) detects a predefined gesture action performed by the user at a corner of the screen (e.g., sliding from the top right corner to the bottom left corner), the electronic device (100) may respond by displaying a control "Generate widget" at the top right corner of the message window (602), as shown in FIGS. 37a and 37b. After the electronic device (100) detects that the "Generate widget" control is activated in the application interface (e.g., the user taps once with a finger), the electronic device (100) responds by displaying a message application widget on the home page of the home screen of the electronic device (100). After the electronic device (100) detects a predefined gesture input into the application interface (6001), as shown in FIGS. 38a and 38b, the electronic device (100) responds by displaying a message widget (608-1) on the home page of the home screen.
[0264] In some embodiments, the message widget (608-1) may display a portion of the message content. In some embodiments, the content displayed by the message widget (608-1) may include a newly updated message. In some embodiments, the message widget (608-1) may display the update time (612) of the message. For example, as illustrated in FIGS. 38a and 38b, the update time of the message displayed by the message widget (608-1) is "Today". It should be understood that the update time of the message displayed by the message widget (608-1) may change dynamically, for example, "Just now" or "One day ago".
[0265] In some embodiments, when the electronic device (100) detects input of a predefined gesture (e.g., sliding a finger up and down on the widget) on a message application widget, the electronic device (100) can adjust the message content (not shown in the drawing) displayed by the message application widget.
[0266] In some embodiments, as illustrated in FIGS. 39a and FIGS. 39b, the message widget (608-1) may further include up and down slide controls. In some embodiments, the message widget (608-1) displayed on the home page of the home screen of the electronic device (100) may further include a message reply window (604).
[0267] Optionally, if the message widget (608-1) can include an up-and-down slide control, when the electronic device (100) detects that the up-and-down slide control (605) is sliding upward, as shown in FIG. 40a and FIG. 40b, the message widget (608-1) can stop displaying the message reply window (604) and display more history messages in a limited space.
[0268] In some embodiments, when the electronic device (100) detects a predefined gesture entered into the message widget (608-1) (e.g., tapping the message reply window once, or dragging the bottom edge of the widget down), as illustrated in FIGS. 41a and 41b, the electronic device (100) may display a soft keyboard (610), and the user may enter content into the message reply window (604) for transmission. Optionally, as illustrated in FIGS. 42a and 42b, while displaying the soft keyboard (610), the electronic device (100) may enlarge the size of the message application widget to display more content to the user. It should be understood that the content entered by the user in the message reply window (604) includes, but is not limited to, voice, text, emojis, images, videos, etc. Optionally, the transmitted message may further include a sealed message (content is hidden and not displayed directly, and screenshots or screen recordings are not permitted).
[0269] Since users can reply directly to messages from the message widget, they do not need to find the "Message" application icon again and tap it to access the "Message" application interface, allowing them to receive and send messages more conveniently and quickly.
[0270] In some embodiments, the electronic device (100) may further refresh the content displayed by the message application widget after receiving a message.
[0271] Optionally, the electronic device (100) may add a mark (e.g., a red dot) at the end of a newly received message to remind the user. After detecting a predefined gesture input (e.g., the user tapping a message application widget), the electronic device (100) stops displaying the mark.
[0272] As an option, the method of reminding the user can alternatively be a method such as widget jitter.
[0273] As an option, the method of reminding the user may alternatively be as follows: As illustrated in FIG. 45, the electronic device (100) is configured to display a message application widget with a specific transparency and highlights a newly received message over the message application widget. In some embodiments, the electronic device (100) may highlight a newly received message over the message application widget to display a control (e.g., a "reply" control). The electronic device (100) detects that the "reply" control is enabled and displays a message reply interface, e.g., the GUI (6006) of FIG. 41a and FIG. 41b or the GUI (6006) of FIG. 42a and FIG. 42b.
[0274] In some embodiments, the electronic device (100) detects a user's predefined gesture (e.g., touch and hold) on a message and can copy, delete, forward, and reply to the message.
[0275] In some embodiments, the instant messaging application widget displayed by the electronic device (100) includes a voice message. When playing a voice message, the electronic device (100) can detect input of a predefined gesture (e.g., a user dragging a progress bar) and adjust the playback progress.
[0276] In some embodiments, when the electronic device (100) detects a predefined gesture input into the message application widget (608-1) (e.g., sliding inward from the top right corner of the message widget (608-1) or double-tapping the widget), the electronic device (100) may display a control (e.g., at least one of a full-screen control, a delete control, a pin-to-top control, etc.) on the message widget.
[0277] Optionally, the electronic device (100) may display widget controls at the corners of the widget, as shown in FIG. 43a and FIG. 43b.
[0278] Optionally, as illustrated in FIGS. 44a and 44b, after detecting a predefined gesture input into the message widget (608-1), the electronic device (100) may set the widget to be displayed with a specific transparency and display widget controls on the widget. FIGS. 44a and 44b are merely illustrative examples, and it should be understood that the display position of the widget is not limited to this embodiment of the application.
[0279] The electronic device (100) displays an application widget (304-1) on the home screen, and after detecting a predefined input action, the electronic device (100) displays an instant messaging application widget on the home page of the home screen. Regarding the method of displaying the instant messaging application widget on the home page of the home screen, the contents of FIGS. 7a and 7b through FIGS. 9a and 9b may be referenced. Further details are not described here.
[0280] In some embodiments, at least two application widgets are displayed on the home screen of the electronic device (100), and after detecting a predefined input action, the electronic device (100) displays an instant messaging application widget on the home screen. Regarding the manner in which the electronic device (100) displays the instant messaging application widget on the home screen, the display method of the media widgets of FIGS. 17a and 17b through FIGS. 18a and 18b may be cited. Further details are not described herein.
[0281] In some embodiments, the electronic device (100) may display an instant messaging application widget on a lock screen interface after detecting a user's predefined gesture input in an instant messaging application interface. Regarding the method of displaying the instant messaging application widget on the lock screen page and the beneficial effects thereof, the method of displaying the instant messaging application widget on the home screen may be cited. Further details are not described here.
[0282] In all the aforementioned embodiments, the method of a user tapping the screen with a finger may be replaced in some embodiments by methods such as stylus input, floating touch, and voice input.
[0283] FIG. 46 is a schematic flowchart of some embodiments according to the present application.
[0284] S701: Displays a first widget having a first size in the first area of the first page of the home screen.
[0285] For example, as illustrated in FIG. 3b, the electronic device (100) displays a time weather widget on the home screen.
[0286] S702: In response to detecting that a task in progress exists in the first application, the widget of the first application and the first widget reduced in size are simultaneously displayed in the first area - where the widget of the first application displays the first content, the widget of the first application has a second size, and the second size is smaller than the first size -.
[0287] For example, as illustrated in FIGS. 7a and 7b, after detecting that music playback control is activated (e.g., as illustrated in FIGS. 6a and 6b, the user taps the music playback control), the electronic device (100) displays an interface in which music is being played. If there is a song playing in the music application, after the electronic device (100) detects a predefined gesture input (e.g., a slide gesture from the bottom of the screen upward), the electronic device (100) switches from the displayed music application interface GUI (3002) to the home screen. After the electronic device (100) switches from the displayed music application interface GUI (3002) to the home screen, the home screen may simultaneously display a music widget (314-2) and a widget (304-2) (a reduced-size application widget (304-1)).
[0288] For example, as illustrated in FIG. 28a and FIG. 28b, when the electronic device (100) detects that ticket journey information is present in the schedule content of the electronic device (100), the electronic device (100) identifies the ticket journey information (e.g., passenger, departure station, arrival station, departure time, and arrival time) in the schedule and determines that the difference between the system time of the electronic device (100) 08:00 am and the train's departure time 08:26 am is less than a time threshold, and / or the distance between the current geographical location of the electronic device (100) and the geographical location of the train's departure station Beijing in the schedule content is less than a distance threshold. In this case, the ticket journey in the schedule content is determined to be a task in progress, and the electronic device (100) displays a schedule widget (502-2) and a time weather widget (304-2) on the home page of the home screen.
[0289] S703: In response to the fact that the electronic device satisfies a preset condition, the size of a widget of a first application is adjusted from a second size to a first size, wherein the widget of the first application and having the first size displays a second content, the second content is larger than the first content, and the second content includes the first content.
[0290] For all embodiments of the present application, it should be understood that the electronic device (100) can detect a predefined gesture input and change the order of widgets displayed on the home screen or lock screen interface. It should be understood that the widgets include all widgets described in the embodiments of the present application. For example, as illustrated in FIGS. 11a through 11c, after detecting a gesture action in which a user's finger presses a music widget and drags the music widget to the right, the electronic device (100) adjusts the display order of the time weather widget and the music widget.
[0291] For all embodiments of the present application, it should be understood that the electronic device (100) can detect a predefined gesture input and adjust the size of a widget displayed on a home screen or lock screen interface and / or the content displayed by the widget. It should be understood that the widget includes all widgets described in the embodiments of the present application. In some embodiments, the electronic device (100) can detect a predefined gesture input and change the layout of the content displayed by the widget.
[0292] For all embodiments of the present application, it should be understood that the electronic device (100) may detect a scenario change (e.g., when the time difference between the system time of the electronic device (100) and the scenario time is less than a time threshold of a preset value to determine the scenario change, and / or when the distance difference between the geographical location of the electronic device (100) and the geographical location of the scenario is less than a distance threshold of a preset value) and adjust the size of a widget displayed on a home screen page or lock screen interface and / or the content displayed by the widget and / or the layout of the content displayed by the widget. For specific methods and beneficial effects, reference may be made to the relevant contents of FIGS. 13a and FIGS. 13b. Further details are not described herein. It should be understood that the widget includes all widgets described in the embodiments of FIGS. 3a through 18a and 18b, application widgets described in the embodiments of FIGS. 19 through 25a and 25b, schedule widgets described in the embodiments of FIGS. 27 through 35a and 35b, and instant messaging application widgets described in the embodiments of FIGS. 36a and 36b through 45.
[0293] For all embodiments of the present application, the electronic device (100) may detect the input of a predefined gesture (e.g., pinching, in which two points of the pinching each contact different widgets), and the electronic device (100) may respond by combining two widgets on a home screen or lock screen interface (the two widgets are on the same page at the same time, e.g., the two widgets are on the home page of the home screen at the same time) into a composite widget. For specific methods, reference may be made to the contents of FIGS. 31a and FIGS. 31b. It should be understood that the widget includes all widgets described in the embodiments of the present application.
[0294] For all embodiments of the present application, it should be understood that when a widget is displayed on a home screen, the electronic device (100) detects a predefined gesture input (e.g., a single tap by a finger). In this case, the electronic device (100) may display the application interface of the widget. For specific methods, the contents of FIGS. 25a and FIGS. 25b may be referenced.
[0295] For all embodiments of the present application, when displaying a widget on a lock screen interface, the electronic device (100) detects a predefined gesture input (e.g., a single tap by a finger) and understands that a screen unlock request may be transmitted. When detecting an unlock action entered by a user (e.g., face recognition, long-pressing the icon (315) of FIG. 3a, or password entry), the electronic device (100) displays the application interface of the widget.
[0296] In the embodiments of the present application, it should be further understood that "simultaneous display" refers to simultaneous result presentation instead of synchronization of the display process. For example, the fact that both the music widget and the time weather widget are displayed on the home screen of the electronic device (100) means that the user can view the music widget and the time weather widget on the home screen of the electronic device (100) at the same moment, but that the music widget and the time weather widget do not appear on the home screen of the electronic device (100) at the same moment.
[0297] It may be understood that, in order to implement the aforementioned functions, the electronic device includes corresponding hardware and / or software modules for performing said functions. Referring to the exemplary algorithmic steps described in the embodiments disclosed herein, the present application may be implemented by hardware or a combination of hardware and computer software. Whether a function is performed by hardware or by hardware driven by computer software depends on the specific application and design constraints of the technical solution. A person skilled in the art may use different methods to implement the functions described for each specific application by referring to the embodiments, but such implementation should not be construed as being outside the scope of the present application.
[0298] In the embodiments, the electronic device may be divided into functional modules based on the method examples described above. For example, through division, individual functional modules corresponding to each function may be obtained, or two or more functions may be integrated into a single processing module. The integrated module may be implemented in the form of hardware. It should be noted that the division into modules in the embodiments is merely an example and is only a logical functional division, and that the actual implementation may be different.
[0299] When an integrated unit is used, the electronic device may include a processing module, a storage module, and a communication module. The processing module may be configured to control and manage the operation of the electronic device and, for example, may be configured to support the electronic device in performing steps carried out by a receiving unit, a detection unit, and a display unit. The storage module may be configured to support the electronic device in storing program code, data, etc. The communication module may be configured to support communication between the electronic device and other devices.
[0300] The processing module may be a processor or a controller. The processing module may implement or execute various exemplary logic blocks, modules, and circuits described with reference to the contents disclosed in this application. Alternatively, the processor may be a combination that implements computing functions, for example, a combination of one or more microprocessors, a combination of a digital signal processor (DSP) and a microprocessor, etc. The storage module may be memory. The communication module may specifically be a device that interacts with other electronic devices, for example, a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, etc.
[0301] In one embodiment, where the processing module is a processor and the storage module is a memory, the electronic device of the embodiments may be a device having the structure shown in FIG. 1.
[0302] The embodiment further provides a computer storage medium. The computer storage medium stores computer instructions. When computer instructions are executed on an electronic device, the electronic device is able to perform the associated method steps to implement the widget display method of the above-described embodiment.
[0303] The embodiment further provides a computer program product. When the computer program product is executed on a computer, the computer can perform related steps to implement the widget display method of the above-described embodiment.
[0304] Furthermore, embodiments of the present application further provide a device. The device may specifically be a chip, a component, or a module. The device may include a connected processor and memory. The memory is configured to store computer-executable instructions, and since the processor can execute the computer-executable instructions stored in the memory when the device is executed, the chip performs the widget display method of the aforementioned method embodiment.
[0305] The electronic device, computer storage medium, computer program product, or chip provided in the embodiments is configured to perform the corresponding method provided above. Accordingly, regarding the beneficial effects that can be achieved by the electronic device, computer storage medium, computer program product, and chip, refer to the beneficial effects of the corresponding method provided above. Further details are not described herein.
[0306] Based on the description of the implementation above, a person skilled in the art will understand that the division into the aforementioned functional modules is used merely as an example for illustrative purposes for the sake of convenience and brevity. In actual application, the aforementioned functions may be assigned to and implemented in different functional modules according to requirements; that is, the internal structure of the device is divided into different functional modules to implement all or part of the functions described above.
[0307] It should be understood that in the various embodiments provided in this application, the disclosed devices and methods may be implemented in different ways. For example, the described device embodiments are merely examples. For example, the division into modules or units is merely a logical functional division, and the actual implementation may have a different division. For example, multiple units or components may be combined or integrated into different devices, or some functions may be ignored or not performed. Additionally, the mutual coupling, direct coupling, or communication connection shown or discussed may be implemented through some interfaces. Indirect coupling or communication connection between devices or units may be implemented electronically, mechanically, or in other forms.
[0308] Units described as separate components may or may not be physically separated, and components represented as units may be one or more physical units, located in one place or distributed in multiple places. Some or all of the units may be selected based on actual requirements to achieve the purpose of the solution means of the embodiment.
[0309] Additionally, the functional units in the embodiments of the present application may be integrated into a single processing unit, and each unit may exist physically independently or two or more units may be integrated into a single unit. The integrated unit may be implemented in the form of hardware or in the form of a software functional unit.
[0310] When an integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored on a readable storage medium. Based on this understanding, the essential technical solution of the embodiments of the present application, or parts contributing to the prior art, or all or part of the technical solution may be implemented in the form of a software product. The software product is stored on a storage medium and includes several instructions for instructing a device (which may be a single-chip microcomputer, a chip, etc.) or a processor to perform all or part of the steps of the method described in the embodiments of the present application. The aforementioned storage medium includes any medium capable of storing program code, such as a USB flash drive, a removable hard disk, read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk.
[0311] The foregoing description is merely a specific embodiment of the present application and does not limit the scope of protection of the present application. Any modifications or substitutions readily discernible by a person skilled in the art within the technical scope disclosed in the present application fall within the scope of protection of the present application. Accordingly, the scope of protection of the present application is subject to the scope of protection of the claims.
Claims
Claim 1 A method for displaying a widget applied to an electronic device, comprising: a step of displaying a first widget having a first size in a first area of a first page of a home screen; a step of simultaneously displaying a widget of the first application and a reduced-size first widget in the first area in response to detecting that a task in progress exists in the first application, wherein the widget of the first application displays a first content, the widget of the first application has a second size, and the second size is smaller than the first size; and a step of expanding the size of the widget of the first application in response to the fact that the electronic device satisfies a preset condition, wherein the expanded widget of the first application displays more content than the first content. Claim 2 A widget display method according to claim 1, wherein, when the first application is a schedule application, the method of detecting that a task in progress exists in the first application is one or a combination of: a method of determining that the time difference between the system time of the electronic device and the time of the schedule content is less than a first time threshold by identifying the schedule content in the schedule application; or a method of determining that the distance difference between the geographical location of the electronic device and the geographical location of the schedule content is less than a first distance threshold by identifying the schedule content in the schedule application. Claim 3 A widget display method according to paragraph 2, wherein the preset condition is one or a combination of: a condition determining that the time difference between the system time of the electronic device and the time of the schedule content is less than a second time threshold—wherein the second time threshold is less than a first time threshold—; or a condition determining that the distance difference between the geographical location of the electronic device and the geographical location of the schedule content is less than a second distance threshold—wherein the second distance threshold is less than a first distance threshold—. Claim 4 A widget display method according to claim 3, further comprising the step of detecting a pinch gesture when the widget of the first application and the first widget with reduced size are displayed simultaneously, wherein the first tactile point of the pinch gesture contacts the widget of the first application and the second tactile point of the pinch gesture contacts the first widget; and the step of combining the first widget and the widget of the first application into a first composite widget for displaying in the first area in response to the pinch gesture. Claim 5 A widget display method according to claim 2, further comprising the steps of: detecting that a task in progress exists in a media application when the widget of the first application and the first widget with reduced size are displayed simultaneously; stopping the display of the first widget; and simultaneously displaying the widget of the first application and the widget of the media application in the first area. Claim 6 A widget display method according to claim 2, further comprising: a step of detecting that the system time of the electronic device exceeds the end time of the schedule content; a step of stopping the display of the enlarged widget t of the first application; and a step of displaying the first widget having the first size in the first area. Claim 7 In paragraph 2, the step of detecting that the ongoing task exists in the schedule application is specifically the step of detecting that the ongoing task exists in the schedule application by using a broadcast receiver component in the schedule application; a widget display method. Claim 8 In claim 5, the step of detecting that the ongoing task exists in the media application is specifically the step of detecting that the ongoing task exists in the media application by using a service component in the media application; a widget display method. Claim 9 A widget display method according to claim 1, wherein the step of detecting that the ongoing task exists in the first application is specifically: the step of detecting that the ongoing task exists in the first application where the same user account is logged on in another electronic device; or the step of detecting that the ongoing task exists in the first application of the other electronic device after the electronic device is paired with another electronic device. Claim 10 In claim 1, the first page is the home page of the home screen; or the first widget is a time weather widget or a calendar widget; or both of the 4G signal identifier and the 5G signal identifier are displayed on the notification bar of the screen; or the first area is above the first page; or the first widget is transparent or semi-transparent; or the first application is a calendar application, a memo application, or a reminder application; or the first application is an audio application or a video application; or the ongoing task is music playback, and the first content is a song title, artist, play / pause control, next song playback control, and previous song playback control, and the second content displayed on the enlarged widget is the song title, the artist, the play / pause control, the next song playback control, the previous song playback control, favorites control, and playback mode switching control; Or, the ongoing task is a travel task, and the first content is a departure time, train number, departure station, and arrival station, and the second content is the departure time, arrival time, train number, departure station, arrival station, and seat number; or, the ongoing task is an express delivery task, and the first content is a pickup location and pickup time, and the second content is the pickup location, pickup time, and pickup code; or, the ongoing task is a movie task, and the first content is a theater location and movie screening time, and the second content is the theater location, movie screening time, and seat number; or, the ongoing task is a meeting task, and the first content is a meeting time and meeting place, and the second content is the meeting time, meeting place, and meeting list, a widget display method. Claim 11 An electronic device comprising a display, memory, and one or more processors, wherein the memory contains instructions, and when the instructions are executed by the one or more processors, the electronic device is capable of performing the steps of: displaying a first widget having a first size in a first area of a first page of a home screen; simultaneously displaying a widget of the first application and a reduced-size first widget in the first area in response to detecting that a task in progress exists in the first application, wherein the widget of the first application displays first content, the widget of the first application has a second size, and the second size is smaller than the first size; and expanding the size of the widget of the first application in response to the fact that the electronic device satisfies a preset condition, wherein the expanded widget of the first application displays more content than the first content. Claim 12 In claim 11, where the first application is a schedule application, the method by which the electronic device detects that a task in progress exists in the first application is: the electronic device determines that the time difference between the system time of the electronic device and the time of the schedule content is less than a first time threshold by identifying the schedule content in the schedule application; or the electronic device determines that the distance difference between the geographical location of the electronic device and the geographical location of the schedule content is less than a first distance threshold by identifying the schedule content in the schedule application; one or a combination of several such methods. Claim 13 In paragraph 12, the above-mentioned preset condition is one or a combination of: a condition in which the electronic device determines that the time difference between the system time of the electronic device and the time of the schedule content is less than a second time threshold—wherein the second time threshold is less than the first time threshold—; or a condition in which the electronic device determines that the distance difference between the geographical location of the electronic device and the geographical location of the schedule content is less than a second distance threshold—wherein the second distance threshold is less than the first distance threshold—; an electronic device. Claim 14 In claim 13, when the electronic device simultaneously displays the widget of the first application and the first widget reduced in size, the electronic device further performs the step of detecting a pinch gesture - wherein the first tactile point of the pinch gesture contacts the widget of the first application and the second tactile point of the pinch gesture contacts the first widget -; and the step of the electronic device, in response to the pinch gesture, combining the widget of the first application and the first widget into a first composite widget for displaying in the first area; an electronic device. Claim 15 An electronic device according to any one of claims 12 to 14, wherein when the electronic device simultaneously displays the widget of the first application and the first widget with reduced size, the electronic device further performs the steps of: detecting that a task in progress exists in the media application; stopping the display of the first widget; and simultaneously displaying the widget of the first application and the widget of the media application in the first area. Claim 16 An electronic device according to any one of claims 12 to 14, wherein the electronic device further performs the step of detecting that the system time of the electronic device exceeds the end time of the schedule content, stopping the display of the enlarged widget of the first application, and displaying the first widget having the first size in the first area. Claim 17 In any one of claims 12 to 14, the electronic device detecting that a task in progress exists in the schedule application is specifically such that the electronic device detects that the task in progress exists in the schedule application by using a broadcast receiver component in the schedule application; an electronic device. Claim 18 In claim 15, the electronic device detecting that a task in progress exists in a media application is specifically such that the electronic device detects that a task in progress exists in the media application by using a service component in the media application; an electronic device. Claim 19 In claim 11, the electronic device detecting that a task in progress exists in a first application is specifically: the electronic device detecting that the task in progress exists in a first application where the same user account is logged on in another electronic device; or, after the electronic device is paired with another electronic device, the electronic device detecting that the task in progress exists in a first application of the other electronic device; an electronic device. Claim 20 In claim 11, the first page is the home page of the home screen; or the first widget is a time weather widget or a calendar widget; or both of the 4G signal identifier and the 5G signal identifier are displayed on the notification bar of the screen; or the first area is above the first page; or the first widget is transparent or semi-transparent; or the first application is a calendar application, a memo application, or a reminder application; or the first application is an audio application or a video application; or the ongoing task is music playback, and the first content is a song title, artist, play / pause control, next song playback control, and previous song playback control, and the second content displayed on the enlarged widget is the song title, the artist, the play / pause control, the next song playback control, the previous song playback control, favorites control, and playback mode switching control; Or, the ongoing task is a travel task, and the first content is a departure time, train number, departure station, and arrival station, and the second content is the departure time, arrival time, train number, departure station, arrival station, and seat number; or, the ongoing task is an express delivery task, and the first content is a pickup location and pickup time, and the second content is the pickup location, pickup time, and pickup code; or, the ongoing task is a movie task, and the first content is a theater location and movie screening time, and the second content is the theater location, movie screening time, and seat number; or, the ongoing task is a meeting task, and the first content is a meeting time and meeting place, and the second content is the meeting time, meeting place, and meeting list, an electronic device. Claim 21 A computer storage medium, wherein the computer storage medium comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device is capable of performing a widget display method according to any one of claims 1 to 10. Claim 22 A computer program stored on a computer storage medium, wherein when the computer program is executed on a computer, the computer is able to perform a widget display method according to any one of claims 1 to 10.