Information display method and electronic device
By automatically adjusting the display duration and hiding time of the display window on the user interface according to the importance of the reminder information, the problem of continuous interference from floating windows is solved, achieving both high efficiency and user-friendliness in information display.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2022-05-16
- Publication Date
- 2026-05-19
AI Technical Summary
The prompts displayed in the floating window continuously interfere with the user interface and affect the user's operating experience.
Electronic devices automatically adjust the display duration of the display window based on the importance of the reminder information, and automatically hide the display window when conditions are met, by displaying multiple pieces of information alternately in smaller display windows on the user interface.
It improves the user experience, reduces the interference of display windows, and ensures that important information is displayed in a timely manner.
Smart Images

Figure CN117940898B_ABST
Abstract
Description
[0001] This application claims priority to Chinese Patent Application No. 202110927115.5, filed on August 12, 2021, entitled "An Information Display Method and Electronic Device", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the fields of terminal technology and communication technology, and in particular to an information display method and electronic device. Background Technology
[0003] As mobile terminals enter the era of intelligence and large-screen devices become increasingly common, more and more applications are installed on these devices. To meet users' needs for flexible operation, floating windows have emerged, enabling users to quickly perform function operations and navigate to applications. Currently, floating windows can display prompts to inform users. However, when using floating windows to prompt users, all corresponding floating windows are always displayed on the user interface, which is highly intrusive. Summary of the Invention
[0004] This application provides an information display method and electronic device that can display a smart window when preset conditions are met, and automatically adjust the display duration of the smart window according to the importance of the reminder information, thereby improving the user experience.
[0005] In a first aspect, this application provides an information display method in which an electronic device displays a first user interface; wherein, the first user interface is the interface of a first application, or the first user interface is the main interface of the electronic device; when the electronic device determines that the difference between the current time and the boarding time is within a preset reminder duration, the electronic device displays a display window on the first user interface, and displays first flight information in the display window; the size of the display window is less than 1 / 4 of the size of the display area of the first user interface; the electronic device determines the display duration of the display window as a first window display duration based on the importance of the first flight information; within the first window display duration displayed in the display window, the electronic device obtains second flight information, and alternately displays the first flight information and the second flight information in the display window at a preset cycle; after the electronic device displays that the display window has reached the preset display duration, the electronic device stops displaying the display window, and the preset display duration is the window display duration corresponding to the flight information with higher importance between the first flight information and the second flight information.
[0006] In the above implementation, when the boarding time of an upcoming flight is determined, the electronic device can automatically display a small window on the first user interface, showing the first flight information in that window. During the duration of the first window displaying this first flight information, if second flight information is obtained, it can be displayed alternately in the first and second flight information at a preset cycle. After continuously displaying for the preset duration, the window can be stopped. This achieves automatic display of the window when conditions are met, and automatically adjusts the display duration according to the importance of the displayed flight information, allowing users to quickly obtain flight information while avoiding interference from the display window.
[0007] In some implementations of the first aspect, the importance of the second flight information is higher than that of the first flight information; and within a period of displaying the first and second flight information, the reminder display duration for the second flight information is longer than the reminder display duration for the first flight information.
[0008] In the above implementation, when multiple flight information is displayed alternately in the display window, more important flight information can be displayed for a longer period of time.
[0009] In some implementations of the first aspect, within a cycle of displaying the second flight information and the first flight information, the reminder display duration for the second flight information is equal to the reminder display duration for the first flight information.
[0010] In the above implementation, when multiple flight information entries are displayed alternately in the display window, each flight information entry can also be assigned the same display time.
[0011] In some implementations of the first aspect, the importance of the second flight information is higher than that of the first flight information; within one cycle of displaying the first flight information and the second flight information, the second flight information is displayed first, and the first flight information is displayed later.
[0012] In the above implementation, when multiple flight information is displayed alternately in the display window, the more important flight information can be displayed first.
[0013] In some implementations of the first aspect, the importance of the second flight information is higher than that of the first flight information, and the acquisition time of the second flight information is earlier than that of the first flight information; within one cycle of displaying the first flight information and the second flight information, the second flight information is displayed first, and the first flight information is displayed later.
[0014] In the above implementation, when multiple flight information is displayed alternately in the display window, the flight information obtained first can be displayed first.
[0015] In some implementations of the first aspect, the method further includes: after the electronic device stops displaying the display window, acquiring third flight information, the importance of which is higher than that of the first flight information and the second flight information; the electronic device determining the display duration of the display window as the second window display duration based on the importance of the third flight information; the second window display duration being longer than the first window display duration; and the electronic device stopping displaying the display window after the second window display duration has been reached.
[0016] In the above implementation, when more important flight information is obtained, the more important flight information can be displayed in the display window for a longer period of time before the display window is stopped.
[0017] Secondly, this application provides an information display method in which an electronic device displays a first user interface; wherein the first user interface is the interface of a first application, or the first user interface is the main interface of the electronic device; when a first preset condition is met, the electronic device displays a display window on the first user interface, and displays a first reminder message in the display window; the size of the display window is less than 1 / 4 of the size of the display area of the first user interface; the electronic device determines the display duration of the display window as a first window display duration based on the importance of the first reminder message; within the first window display duration displayed in the display window, and when a second preset condition is met, the electronic device alternately displays the first reminder message and the second reminder message in the display window at a preset cycle; after the electronic device displays the display window for the preset display duration, the electronic device stops displaying the display window, and the preset display duration is the window display duration corresponding to the reminder message with higher importance among the first reminder message and the second reminder message.
[0018] In the above implementation, when the first preset condition is met, the electronic device can automatically display a small display window on the first user interface and display the first reminder information in the display window. During the first window display duration of the first reminder information, if the second preset condition is met, the first reminder information and the second reminder information can be displayed alternately in the display window at a preset cycle. After continuously displaying for the preset display duration, the display window can be stopped. This achieves automatic display of the display window when the conditions are met, and automatically adjusts the display duration of the display window according to the importance of the displayed reminder information, allowing the user to quickly obtain the reminder information while avoiding interference from the display window.
[0019] In some implementations of the second aspect, the importance of the first reminder message is higher than that of the second reminder message; and within one cycle of displaying the first and second reminder messages, the display duration of the first reminder message is longer than that of the second reminder message.
[0020] In the above implementation, when multiple reminder messages are displayed alternately in the display window, the more important reminder messages can be displayed for a longer period of time.
[0021] In conjunction with some implementations of the second aspect, in some implementations, the importance of the first reminder information is higher than, equal to, or lower than the importance of the second reminder information; within one cycle of displaying the first reminder information and the second reminder information, the reminder display duration of the first reminder information is equal to the reminder display duration of the second reminder information.
[0022] In the above implementation, when multiple reminder messages are displayed alternately in the display window, each reminder message can also be assigned the same display time.
[0023] In some implementations of the second aspect, the first reminder message is more important than the second reminder message; within a period of displaying the first and second reminder messages, the first reminder message is displayed first, and the duration of the second reminder message is displayed later.
[0024] In the above implementation, when multiple reminder messages are displayed alternately in the display window, the more important reminder messages can be displayed first.
[0025] In some implementations of the second aspect, the importance of the first reminder message is equal to the importance of the second reminder message, and the acquisition time of the first reminder message is earlier than the acquisition time of the second reminder message; within one cycle of displaying the first reminder message and the second reminder message, the second reminder message is displayed first, and the duration of the first reminder message is displayed later.
[0026] In the above implementation, when multiple reminder messages are displayed alternately in the display window, the reminder message that is obtained first can be displayed first.
[0027] In some implementations of the second aspect, the method further includes: after the electronic device stops displaying the display window, when the electronic device determines that a third preset condition is met, the electronic device displays the display window on the first user interface, and displays a third reminder message in the display window; the importance of the third reminder message is higher than that of the first reminder message and the second reminder message; the electronic device determines the display duration of the display window as the second window display duration based on the importance of the third reminder message; the second window display duration is longer than the first window display duration; after the electronic device displays the display window for the second window display duration, the electronic device stops displaying the display window.
[0028] In the above implementation, when a more important reminder is obtained, the more important reminder can be displayed in the display window for a longer period of time before the display window is stopped.
[0029] Thirdly, this application provides an electronic device comprising: one or more processors and a memory; the memory is coupled to the one or more processors and is used to store computer program code, the computer program code including computer instructions, the one or more processors calling the computer instructions to cause the electronic device to perform: displaying a first user interface on a display screen; wherein the first user interface is the interface of a first application, or the first user interface is the main interface of the electronic device; determining that the difference between the current time and the boarding time is within a preset reminder duration, displaying a display window on the first user interface on the display screen, displaying first flight information in the display window; the size of the display window is less than 1 / 4 of the size of the display area of the first user interface; determining the display duration of the display window as a first window display duration based on the importance of the first flight information; within the first window display duration displayed on the display screen, acquiring second flight information, and alternately displaying the first flight information and the second flight information in the display window at a preset cycle; stopping the display window after the display window reaches the preset display duration, the preset display duration being the window display duration corresponding to the flight information with higher importance between the first flight information and the second flight information.
[0030] In some implementations of the third aspect, the importance of the second flight information is higher than that of the first flight information; and within a cycle of displaying the first and second flight information, the reminder display duration for the second flight information is longer than the reminder display duration for the first flight information.
[0031] In conjunction with some implementation methods of the third aspect, in some implementation methods, within one cycle of displaying the second flight information and the first flight information, the reminder display duration of the second flight information is equal to the reminder display duration of the first flight information.
[0032] In conjunction with some implementation methods of the third aspect, in some implementation methods, the importance of the second flight information is higher than that of the first flight information, and the acquisition time of the second flight information is earlier than that of the first flight information; within one cycle of displaying the first flight information and the second flight information, the second flight information is displayed first, and the first flight information is displayed later.
[0033] In conjunction with some implementations of the third aspect, in some implementations, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform: after stopping the display window, acquiring third flight information, the importance of which is higher than that of the first flight information and the second flight information; determining the display duration of the display window as the second window display duration based on the importance of the third flight information; the second window display duration being greater than the first window display duration; and after the display window on the screen reaches the second window display duration, the electronic device stops displaying the display window.
[0034] Fourthly, this application provides an electronic device comprising: one or more processors and a memory; the memory is coupled to the one or more processors and is used to store computer program code, the computer program code including computer instructions, the one or more processors calling the computer instructions to cause the electronic device to perform: displaying a first user interface on a display screen; wherein the first user interface is the interface of a first application or the main interface of the electronic device; when a first preset condition is met, displaying a display window on the first user interface, and displaying a first reminder message in the display window on the display screen; the size of the display window is less than 1 / 4 of the size of the display area of the first user interface; determining the display duration of the display window as a first window display duration based on the importance of the first reminder message; within the first window display duration displayed on the display screen, and when a second preset condition is met, the electronic device alternately displays the first reminder message and the second reminder message in the display window at a preset cycle; after the display window on the display screen reaches a preset display duration, stopping the display of the display window, the preset display duration being the window display duration corresponding to the reminder message with higher importance between the first reminder message and the second reminder message.
[0035] In some implementations of the fourth aspect, the importance of the first reminder message is higher than that of the second reminder message; and within one cycle of displaying the first and second reminder messages, the display duration of the first reminder message is longer than that of the second reminder message.
[0036] In conjunction with some implementations of the fourth aspect, in some implementations, the importance of the first reminder information is higher than, equal to, or lower than the importance of the second reminder information; within one cycle of displaying the first reminder information and the second reminder information, the reminder display duration of the first reminder information is equal to the reminder display duration of the second reminder information.
[0037] In some implementations of the fourth aspect, the first reminder message is more important than the second reminder message; within a cycle of displaying the first and second reminder messages, the first reminder message is displayed first, and the duration of the second reminder message is displayed later.
[0038] In conjunction with some implementations of the fourth aspect, in some implementations, the importance of the first reminder information is equal to the importance of the second reminder information, and the acquisition time of the first reminder information is earlier than the acquisition time of the second reminder information; within one cycle of displaying the first reminder information and the second reminder information, the second reminder information is displayed first, and the duration of the first reminder information is displayed later.
[0039] In conjunction with some implementations of the fourth aspect, in some implementations, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute: after the display window stops being displayed on the screen, when it is determined that a third preset condition is met, the first user interface displays a display window on the screen, and a third reminder message is displayed in the display window; the importance of the third reminder message is higher than that of the first reminder message and the second reminder message; the display duration of the display window is determined to be the second window display duration based on the importance of the third reminder message; the second window display duration is longer than the first window display duration; after the display window reaches the second window display duration on the screen, the display window stops being displayed.
[0040] Fifthly, this application provides a chip system applied to an electronic device, the chip system including one or more processors, the processors being configured to invoke computer instructions to cause the electronic device to perform the methods described in the first aspect and any possible implementation thereof, as well as in the second aspect and any possible implementation thereof.
[0041] Understandably, this chip system may include a... Figure 2AThe processor 101 in the electronic device 100 shown may also include multiple processors such as... Figure 2A The processor 101 in the illustrated electronic device 100 may also include one or more other chips in the chip system, such as... Figure 2A The image signal processing chip in the camera 108 of the electronic device 100 shown may also include the image display chip in the display screen 109, etc., which are not limited here.
[0042] In a sixth aspect, this application provides a computer program product containing instructions that, when the computer program product is run on an electronic device, causes the electronic device to perform the method described in the first aspect and any possible implementation thereof, as well as the method described in the second aspect and any possible implementation thereof.
[0043] In a seventh aspect, this application provides a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect and any possible implementation thereof, or in the second aspect and any possible implementation thereof.
[0044] Understandably, the electronic devices provided in the third aspect, the fourth aspect, the fifth aspect, the sixth aspect, and the seventh aspect are all used to execute the methods provided in this application. Therefore, the beneficial effects they achieve can be referred to in the beneficial effects of the corresponding methods, and will not be repeated here. Attached Figure Description
[0045] Figures 1A-1C A schematic diagram of a scenario provided for existing technologies;
[0046] Figures 1D-1E This is a schematic diagram of an information display method provided in an embodiment of this application;
[0047] Figure 2A This is a schematic diagram of the structure of the electronic device 100 provided in the embodiments of this application;
[0048] Figure 2B A schematic diagram of the software structure of the electronic device 100 provided in the embodiments of this application;
[0049] Figures 3A-3D The process of displaying the intelligent window provided in the embodiments of this application;
[0050] Figure 3E A schematic diagram of the user interface of the electronic device 100 provided in the embodiments of this application;
[0051] Figure 4When a reminder message is displayed in the Smart Window provided in this application embodiment, the electronic device hides the Smart Window and no longer displays it after the display duration T1 is reached.
[0052] Figures 5A-5B The process of displaying multiple reminder messages alternately in the Smart Window provided in the embodiments of this application;
[0053] Figures 6A-6C In the embodiment of this application, within the display duration T2 of the Smart Window, the Smart Window determines the display method of multiple reminder messages;
[0054] Figure 7 A flowchart illustrating the display method provided in an embodiment of this application;
[0055] Figure 8 This is a schematic diagram illustrating the acquisition of flight information as provided in an embodiment of this application. Detailed Implementation
[0056] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0057] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0058] The term "user interface (UI)" used in the following embodiments of this application refers to the medium interface through which an application or operating system interacts and exchanges information with the user. It realizes the conversion between the internal form of information and the form that the user can accept. The user interface is source code written in a specific computer language such as Java or Extensible Markup Language (XML). The interface source code is parsed and rendered on the electronic device, ultimately presenting content that the user can recognize. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be visible interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets displayed on the screen of an electronic device.
[0059] In one method of displaying reminder information in a floating window, such as Figure 1A As shown, if a user is watching a video using an electronic device and also needs to check the weather, the user can switch the electronic device to the main interface. At this time, the electronic device can switch the video application from the foreground to the background and display the floating window of the video application.
[0060] like Figure 1B As shown, a user clicks to open the weather app to check the weather. If the weather changes significantly that day, the user wants to monitor the weather changes in real time, with the weather information displayed in a floating window. However, since the electronic device already displays a floating window for the video app, it's not possible to directly display weather information within that floating window. Therefore, as... Figure 1C As shown, users need to switch the weather app to the background before the floating window of the weather app can be displayed on the electronic device so that they can keep track of the weather changes of the day in real time.
[0061] Using this notification method, on the one hand, when a user needs to see the notification information of application A in the floating window, they need to first open application A, then exit application A to the background before the electronic device will display the floating window of application A, which is cumbersome.
[0062] On the other hand, the floating windows corresponding to all the prompts are continuously displayed on the user interface of the electronic device. For example, the floating windows of weather apps or video apps are continuously displayed on the current user interface of the electronic device until the user opens another app and then closes the app to the background. Only then will the floating window stop displaying the prompts from the weather app or video app. This will affect the user's operation, hinder the user, and result in a poor user experience.
[0063] Using the information display method provided in this application, even if the electronic device is displaying the user interface of application A, when a display condition B for the smart window is met, the electronic device will directly display the smart window on the user interface of application A and display the reminder information corresponding to display condition B in the smart window. Furthermore, the electronic device can automatically adjust the display duration of the smart window according to the current scenario; the display duration of the smart window varies depending on the reminder information. After the display duration of the smart window is met, the electronic device automatically hides the smart window.
[0064] For example, such as Figure 1D As shown, a user is watching a video using an electronic device with a video application open. The device is displaying the video application's user interface. When there is significant weather change, the device receives weather warning information and displays a weather alert window on the video application interface, showing a storm warning to alert the user. After displaying for 10 seconds, the device hides the weather alert window and it is no longer shown in the current user interface. As the user continues to watch the video, the device continues to receive weather information. Figure 1E As shown, when the electronic device detects sunny weather, it displays a "Smart Window" in the video application interface, showing "Cloudy". After 5 seconds, the smart window is hidden and no longer displayed on the current screen.
[0065] In this way, on the one hand, when the display conditions of the Smart Window of Application A are met, the electronic device directly displays the Smart Window on the currently displayed interface, and displays the relevant information of Application A in the Smart Window, without requiring the user to manually open Application A and then exit Application A, which is more convenient.
[0066] On the other hand, electronic devices can adjust the display duration of the smart window based on the importance of the current scenario. For important reminders, the smart window can be displayed for a longer period to prevent users from missing important information. For less important reminders, the smart window can be displayed for a shorter period to avoid disturbing the user. After the smart window's display duration is reached, the electronic device automatically hides the smart window and stops displaying it, without causing any interference to the user.
[0067] It should be noted that the aforementioned "Smart Window" is a movable window provided by a pre-installed application A on the electronic device, which floats on the interface of other applications or the main interface. Even when other applications are not open on the electronic device, application A can still obtain key information about those applications and display it in the Smart Window provided by application A to remind and / or trigger the opening of those applications. Compared to traditional floating windows, this Smart Window occupies a smaller area and can transform into a display form more suitable for the current scenario when certain conditions are met, such as displaying as a capsule, rectangle, or circle, further reducing the occupied area or even hiding it. Therefore, while displaying key information from other applications, it minimizes content that affects the current user interface display.
[0068] In some embodiments, the intelligent window in this application may also be referred to as a display window.
[0069] It is worth noting that application A is a system application.
[0070] In this embodiment, system applications refer to applications provided or developed by the manufacturer of the electronic device. The manufacturer of the electronic device may include the manufacturer, supplier, provider, or operator of the electronic device. A manufacturer can be a production company that manufactures electronic devices using self-made or purchased parts and raw materials. A supplier can be a manufacturer that provides the complete electronic device, raw materials, or parts. An operator can be a manufacturer responsible for distributing the electronic device. For example, Honor's self-developed applications such as Honor Wearable, Honor Mall, and Honor Video are system applications. Correspondingly, third-party applications refer to applications provided or developed by a non-electronic device manufacturer. In some embodiments, third-party applications may also refer to applications not pre-installed on the electronic device. For example, for Honor phones, WeChat and Taobao are third-party applications.
[0071] Next, combined Figure 2AThis application introduces exemplary electronic devices provided in the following embodiments. The electronic devices involved in this application may be mobile phones, tablets, desktop computers, laptops, handheld computers, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, as well as cellular phones, personal digital assistants (PDAs), augmented reality (AR) devices, virtual reality (VR) devices, and artificial intelligence (AI) devices. The embodiments of this application do not impose any special limitations on the specific type of electronic device. Exemplary embodiments of the electronic device 100 include, but are not limited to, devices equipped with… Portable or non-portable electronic devices running Linux or other operating systems.
[0072] refer to Figure 2A , Figure 2A A schematic diagram of the structure of an exemplary electronic device 100 provided in an embodiment of this application is shown.
[0073] Electronic device 100 may include a processor 101, a memory 102, a wireless communication module 103, a mobile communication module 104, an antenna 103A, an antenna 104A, a power switch 105, a sensor module 106, a button 107, a camera 108, a display screen 109, etc. The sensor module 106 may include a pressure sensor 106A, a gyroscope sensor 106B, a touch sensor 106D, an accelerometer sensor 106E, a proximity sensor 106F, a fingerprint sensor 106G, etc. The wireless communication module 103 may include a WLAN communication module, a Bluetooth communication module, etc. All of the above components can transmit data via a bus.
[0074] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0075] Processor 101 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. The different processing units may be independent devices or integrated into one or more processors.
[0076] In some embodiments of this application, the processor 101 can be used to determine that a first preset condition is met, and drive the display screen 109 to execute the display of the smart window, etc.
[0077] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.
[0078] The processor 101 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 101 is a cache memory. This memory can store instructions or data that the processor 101 has just used or that are used repeatedly. If the processor 101 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 101, and thus improves the efficiency of the system. In some embodiments, the processor 101 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0079] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0080] The wireless communication function of the electronic device 100 can be implemented through antenna 104A, antenna 103A, mobile communication module 104, wireless communication module 103, modem processor, and baseband processor.
[0081] Antennas 104A and 103A are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 104A can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0082] The mobile communication module 104 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 104 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 104 can receive electromagnetic waves via antenna 104A, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 104 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 104A. In some embodiments, at least some functional modules of the mobile communication module 104 may be housed in the processor 101. In some embodiments, at least some functional modules of the mobile communication module 104 and at least some modules of the processor 101 may be housed in the same device.
[0083] The modem processor may include a modulator and a demodulator. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 101 and may be housed in the same device as the mobile communication module 104 or other functional modules.
[0084] The wireless communication module 103 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 103 can be one or more devices integrating at least one communication processing module. The wireless communication module 103 receives electromagnetic waves via antenna 103A, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 101. The wireless communication module 103 can also receive signals to be transmitted from processor 101, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 103A.
[0085] In some embodiments, antenna 104A of electronic device 100 is coupled to mobile communication module 104, and antenna 103A is coupled to wireless communication module 103, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0086] In some embodiments of this application, the location information of the electronic device can be obtained via GPS.
[0087] Electronic device 100 implements display functions through a GPU, a display screen 109, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 109 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 101 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0088] The display screen 109 is used to display images, videos, etc. The display screen 109 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N displays 109, where N is a positive integer greater than 1.
[0089] In some embodiments of this application, the display screen 109 may be used to display a user interface implemented on an electronic device, as provided in subsequent embodiments. For example, the interface content may be a video playback interface provided by a video application. Specific implementation of this user interface can be found in subsequent embodiments and will not be elaborated upon here.
[0090] Camera 108 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 108, where N is a positive integer greater than 1.
[0091] The memory 102 can be used to store computer executable program code, which includes instructions. The processor 101 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the memory 102. The memory 102 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, phone book, etc.). In addition, the memory 102 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0092] Pressure sensor 106A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, pressure sensor 106A can be disposed on display screen 109. There are many types of pressure sensors 106A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 106A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 109, electronic device 100 detects the intensity of the touch operation based on pressure sensor 106A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 106A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example: when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed. In some embodiments of this application, the pressure sensor 106A may be disposed on the display screen 109.
[0093] In some embodiments of this application, the pressure sensor 106A may be disposed on the display screen 109. In some optional embodiments of this application, the pressure sensor 106A may be used to capture the pressure value generated when a user's finger touches the display screen and transmit the pressure value to the processor 101 so that the processor 101 can identify which finger the user used to input the user operation.
[0094] In some embodiments, the pressure sensor 106A can be used to acquire the pressure value applied by the user to the display screen, thereby detecting the user's pressing operation on the display screen. The electronic device 100 can change the position of the smart window in the user interface according to the user's pressing and dragging operations, thereby changing the display state of the smart window. Specific details regarding the different display states of the smart window will be provided later and will not be elaborated upon here.
[0095] The gyroscope sensor 106B can be used to determine the motion attitude of the electronic device 100.
[0096] Touch sensor 106D, also known as a "touch panel," can be disposed on display screen 109. The touch sensor 106D and display screen 109 together form a touchscreen, also known as a "touch screen." Touch sensor 106D is used to detect touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 109. In other embodiments, touch sensor 106D may also be disposed on the surface of electronic device 100, in a different location than display screen 109.
[0097] In some optional embodiments of this application, the display screen 109 is configured with a touch panel that can be used to receive touch operations from users, which refer to the operation of the user's hand, elbow, or stylus touching the display screen 109.
[0098] The accelerometer 106E can detect the magnitude of acceleration of electronic device 100 in various directions (typically three axes). When electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic device and applied to applications such as screen orientation switching and pedometers.
[0099] In some optional embodiments of this application, the accelerometer 180E can be used to capture the acceleration value generated when a user's finger touches the display screen and transmit the acceleration value to the processor 101 so that the processor 101 can identify which finger the user inputs the operation with.
[0100] The proximity light sensor 106F may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode.
[0101] In some optional embodiments of this application, when an object (such as a human face) approaches the electronic device 100, the proximity light sensor 106F senses that an object is approaching the electronic device 100 and sends a signal that an object is approaching to the processor 101 of the electronic device 100.
[0102] The fingerprint sensor 106G is used to collect fingerprints. The electronic device 100 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.
[0103] Buttons 107 include a power button, volume buttons, etc. Buttons 107 can be mechanical buttons or touch-sensitive buttons. The electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of the electronic device 100.
[0104] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered architecture Android system as an example to exemplify the software structure of electronic device 100.
[0105] Figure 2B This is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.
[0106] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0107] The application layer can include a series of application packages.
[0108] like Figure 2B As shown, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS. (The SmartWindow module provides an application programming interface (API). Travel-related applications call the API to display reminder information in the SmartWindow.)
[0109] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0110] like Figure 2B As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, event manager, etc.
[0111] In this embodiment, the application layer may also add a Smart Window module, which is used to display a floating window on the interface of other applications on the electronic device or the lock screen interface of the electronic device under preset conditions, and display reminder information and / or provide entry points to other applications.
[0112] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0113] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0114] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0115] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).
[0116] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0117] The notification manager allows applications to display notification information in the status bar. It can be used to convey informational messages and can disappear automatically after a short pause without user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also appear as an icon or scrolling text in the system's top status bar, such as notifications from background applications, or as a dialog window on the screen. Examples include displaying text messages in the status bar, emitting alert sounds, vibrating the electronic device, and flashing indicator lights. For instance, in some embodiments of this application, when the electronic device displays a notification window, the device vibrates its motor and flashes indicator lights to alert the user.
[0118] The event manager can be used to receive user touch operations when an electronic device displays a smart window, obtain the coordinates of the user's touch operation, and upload the event of the touch operation to the application layer.
[0119] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0120] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0121] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0122] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGLES), 2D graphics engines (e.g., SGL), etc.
[0123] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0124] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0125] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0126] A 2D graphics engine is a graphics engine for 2D drawing. The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
[0127] The following example, using the Smart Window scenario, illustrates the workflow of the software and hardware of electronic device 100.
[0128] When the touch sensor 106D receives a touch operation that changes the state of the Smart Window, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, etc.). The raw input time is stored in the kernel layer. The window manager of the application framework layer can obtain the raw input event from the kernel layer and identify the window management object corresponding to the input event, i.e., the interface corresponding to the input event. This allows for adjustment of the Smart Window's display state.
[0129] The following example illustrates the workflow of the software in electronic device 100, using a scenario where the smart window is displayed when preset conditions are met.
[0130] In this embodiment, the SmartWindow module can call the API interface of the calendar application from the application framework layer to obtain the holiday information of the calendar application. The SmartWindow module determines whether the holiday information is the preset target information. If it is the preset target information, the SmartWindow module notifies the window manager of the application framework layer. The window manager can call the kernel layer display driver to display the SmartWindow on the display screen.
[0131] The following description, using an airport scenario as an example, illustrates the process of displaying the intelligent window, its display duration, and the display method in this embodiment:
[0132] In the information display method provided in this application, the electronic device displays the desktop or user interface of application A. When the electronic device determines that preset condition A is met, it displays a smart window corresponding to preset condition A and displays the reminder information corresponding to preset condition A in the smart window. After the display duration of the smart window 314 is reached, the electronic device hides the smart window and no longer displays it.
[0133] The preset condition A can be a condition preset by the user or a condition that is the default condition when the electronic device is manufactured. For example, the preset condition A can be that the electronic device has arrived at the target area M, or the time on the electronic device is the target time T, or the target information E has been obtained, or the target information E has changed, etc. There are no restrictions here.
[0134] The reminder information corresponding to the preset conditions can be generated by the electronic device based on the preset conditions, target information acquired by the electronic device, or pre-set by the user or the factory settings of the electronic device; no limitation is made here. The following example uses the user interface displayed by the electronic device as the user interface of a video application to illustrate how the electronic device displays the Smart Window when the preset conditions are met.
[0135] Figure 3A In Figure 3A -1 illustrates an exemplary user interface 310 of a video application on an electronic device 100. For example... Figure 3A As shown, the user interface 310 includes: a status bar 311, a display area 312, and a navigation bar 313. Wherein:
[0136] The status bar 311 may include one or more signal strength indicators for mobile communication signals, battery status indicators, and time indicators.
[0137] Display area 312 can be used to display short video content. Display area 312 includes a favorite control 312a, a comment control 312b, a share control 312c, and an information display window 312d. Electronic device 100 detects a touch operation on the favorite control 312c of video display area 312, and in response to the operation, electronic device 100 can favorite the currently playing video content; electronic device 100 detects a touch operation on the comment control 312b of video display area 312 (e.g., a click operation on the comment control 312b), and in response to the operation, electronic device 100 can display a comment input window, where the user can enter their evaluation of the short video content; electronic device 100 detects a touch operation on the share control 312c of video display area 312 (e.g., a click operation on the share control 312c), and in response to the operation, electronic device 100 can share the currently playing short video content; information display window 312d is used to display city logos and descriptive information about the short video content.
[0138] The navigation bar 313 may include system navigation keys such as a back button 313A, a home screen button 313B, and a task history button 313C. The home screen is the interface displayed by the electronic device 100 after detecting a user action on the home screen button 313B in any user interface. When the user clicks the back button 313A, the electronic device 100 can display the previous page. When the user clicks the home screen button 313B, the electronic device 100 can display the home screen. When the user clicks the task history button 313C, the electronic device 100 can display the user's recently opened tasks. The navigation keys can also be named in other ways; this application does not limit this. Not limited to virtual buttons, the navigation keys in the navigation bar 313 can also be implemented as physical buttons.
[0139] In this application, when displaying the reminder information corresponding to the preset condition A in the Smart Window 314, the reminder information may include one reminder message or multiple reminder messages.
[0140] Scenario 1: There is only one reminder message, and the Zhida window will display the reminder message within the display duration.
[0141] For example, if the preset condition A is that the electronic device arrives at the airport. Figure 3A In Figure 3A As shown in Figure -2, when a user is watching a short video, the electronic device displays user interface 310. When the electronic device 100 detects that its location address is an airport, it displays a smart window 314 in user interface 310. The smart window 314 is displayed in a capsule shape, and the electronic device 100 obtains the reminder information corresponding to the arrival at the airport. Figure 3A In Figure 3A As shown in Figure -2, the received reminder message is "View Electronic Boarding Pass." The reminder message in Smart Window 314 is also "View Electronic Boarding Pass," used to remind the user to check flight information. After 5 seconds of display in Smart Window 314, the electronic device 100 stops displaying Smart Window 314 on the video interface.
[0142] The electronic device 100 can obtain its location information through the Global Positioning System (GPS). Alternatively, the electronic device 100 can also obtain its geographical location and city identifier through a sensor hub. The sensor hub primarily connects to and processes data from various sensor devices with low power consumption, such as data from accelerometers and gyroscopes, and performs data fusion processing on the various sensor data. This application does not limit the positioning method.
[0143] In some optional embodiments, the Smart Window 314 can also be circular. A circular shape occupies less display area of the current user interface, avoiding obscuring the current user interface. For example... Figure 3B When the electronic device 100 detects that its location address is an airport, it can also display a circular smart window 314 on the video interface. The circular smart window 314 does not display any information. When the user needs to view the information in the smart window 314, the user can click on the smart window 314, which can then display a capsule-shaped notification message. For example, it can display something like... Figure 3A In Figure 3A -2 shows the boarding pass.
[0144] For example, if the preset condition A is that the electronic device detects a time of 3 PM. Figure 3C As shown, when a user is watching a short video, the electronic device's user interface 310 is active. The electronic device obtains the boarding time information as 4 PM, and can remind the user to board one hour in advance to avoid missing their flight. The electronic device detects the current time as 3 PM, and displays a smart window 314 on user interface 310. The electronic device 100 obtains the reminder message "Start Boarding" corresponding to the boarding time scenario, and the smart window 314 displays the corresponding reminder message, such as... Figure 3C As shown, the words "Start Boarding" are displayed in the Smart Window. After 20 seconds, the Smart Window 314 is no longer displayed on the video interface of the electronic device 100.
[0145] For example, if the preset condition A is that the electronic device obtains the boarding gate information. Figure 3DAs shown, the electronic device displays a user interface 310. The electronic device 100 obtains the boarding gate information and displays a smart window 314 on the user interface 310. The smart window 314 displays the reminder information corresponding to the boarding gate information; at this time, the reminder information is the boarding gate information. For example, as... Figure 3D As shown, the Zhida window displays the words "Gate 52K". The Zhida window 314 is permanently displayed in the video interface.
[0146] For example, if the preset condition A is that the electronic device obtains a change in the boarding gate information. Figure 3D As shown, the intelligent window 314 displays the reminder message "Gate 52K". The electronic device 100 obtains the new gate information, and the intelligent window 314 displays the corresponding reminder message for the new gate. At this time, the reminder message changes from Gate 52K to Gate 68K. Figure 3D As shown, the Smart Window displays "Gate 68K". This allows the Smart Window to display gate information in real time. When the gate information changes, the Smart Window will show the updated gate information, eliminating the need for the user to open the travel app, which is quite convenient.
[0147] In some embodiments, when the electronic device 100 receives gate information as a notification, the Smart Window 314 is displayed for 30 seconds. After 30 seconds, the electronic device 100 stops displaying the Smart Window 314 on the video interface. When the electronic device 100 detects a change in the gate information, it can redisplay the Smart Window 314 and display the new gate information. After 30 seconds, the electronic device 100 stops displaying the Smart Window 314 on the video interface.
[0148] The reminder information displayed in the aforementioned Smart Window 314 is only an example. In practical applications, the reminder information can also be other information, and this application does not limit it.
[0149] In some optional embodiments, during the display duration T2 of the aforementioned smart window, if the user deems it unnecessary to display for such a long time, the electronic device can receive a second user operation to collapse the smart window. In response to this second user operation, the smart window switches to a circular shape, and the reminder information is not displayed in the smart window. For example, the electronic device 100 displays the reminder information "52K boarding gate". The display duration of the smart window corresponding to this reminder information is always displayed. When the user is aware of the reminder information and deems it unnecessary to display it on the video interface, they can slide to collapse it into a circular shape. The circular smart window occupies less display area and avoids obscuring the content of the current user interface.
[0150] The second user operation can be a touch operation, such as a single click, double click, long press, or swipe.
[0151] For example, such as Figure 4 As shown, the second user operation can be that the user's finger slides to the right on the display screen 109 a distance that reaches a first distance threshold, and the smart window displays a small circle. It is not limited to sliding to the right; the user's finger can also slide to the left on the display screen 109 a distance that reaches a second distance threshold, and the smart window displays a circle.
[0152] In some embodiments, users can also slide on the display screen 109 with other body parts or tools to move the smart window. For example, users can drag the smart window with their fingertips, finger pads, elbows, styluses, etc. There are no restrictions on this.
[0153] In addition to the aforementioned user swipe operations, second-user operations can also be performed through voice control, gesture control, and button control, etc. For specific descriptions, please refer to the relevant descriptions of the first-user operations mentioned above, which will not be repeated here.
[0154] In some alternative embodiments, such as Figure 3E As shown, the electronic device 100 displays a smart window 314 on the user interface 310. The smart window 314 displays the reminder message "View Boarding Pass". When the user needs to view the boarding pass, the electronic device 100 can receive a first user operation applied to the smart window 314. In response to this first user operation, the electronic device 100 displays the user interface 320. The user interface 320 is the boarding pass interface. Figure 3E As shown, the user interface 320 includes a status bar 321, a boarding pass information display area 322, and a navigation bar 323. Among them:
[0155] Status bar 321 is the same as status bar 311 in user interface 310, and will not be described in detail here.
[0156] Navigation bar 323 is the same as navigation bar 313 in user interface 310, and will not be described in detail here.
[0157] The boarding pass information display area 322 is used to display the user's flight information. For example, it may include the flight number, departure terminal, name, seat number, boarding time, and boarding gate.
[0158] It is worth noting that the user interface 320 can be provided by a travel-related application. For example, the SmartWindow module calls the API interface of a travel-related application to display its user interface. The user interface 320 can also be generated by the electronic device 100 based on the acquired flight information; this is not limited here.
[0159] The aforementioned first user operation can be a touch operation on the Smart Window 314 (such as a click operation on the Smart Window 314), and in response to the touch operation, the electronic device 100 displays the user interface 320. The touch operation can be, for example, a single click, double click, long press, etc., and is not limited to touch operations. The first user operation can also be a voice command, a hover operation, etc., which are not limited in this application.
[0160] Next, we will introduce, for example, the rules for determining the display duration of the Smart Window and the rules for displaying reminder information.
[0161] The electronic device displays a reminder message corresponding to preset conditions in the Smart Window. The Smart Window adjusts its display duration T1 according to the importance of the reminder message. The display duration T1 is the duration of the reminder message, and the Smart Window continuously displays the reminder message within the display duration. Different reminder messages are displayed for different durations.
[0162] The importance of the reminder information corresponding to the preset conditions can be divided into multiple levels. For example, the importance can be divided into three levels: general, important, and very important.
[0163] The electronic device 100 stores a table 1 showing the correspondence between preset conditions, reminder information, importance level, and display duration. When the electronic device meets the preset conditions, it matches the table 1 to obtain the importance level of the reminder information and the corresponding display duration of the smart window.
[0164] For example, the correspondence can be seen in Table 1:
[0165]
[0166]
[0167] Table 1
[0168] It is understood that the table above is merely an example to illustrate the correspondence between the conditions for triggering the display of the Smart Window, the reminder information, the importance level, and the display duration. In practical applications, the text content and storage method of this correspondence can also take other forms, which are not specifically limited here.
[0169] The importance level is not limited to the three levels mentioned above. In practice, it can also be divided into four or ten levels, etc., without limitation here. The importance level classification and the correspondence between reminder information and importance level can be preset by the user or set by the electronic device at the factory, without limitation here.
[0170] According to Table 1, the three reminders—"View Electronic Boarding Pass," "Start Boarding," and "Gate Information"—are ranked as moderate, important, and very important, respectively, with display durations of 5 seconds, 20 seconds, and 30 seconds. Therefore, "Gate Information" has the highest importance level and the longest display duration. "Start Boarding" has a slightly lower importance level and a shorter display duration than "Gate Information." "View Electronic Boarding Pass" has the lowest importance level and the shortest display duration.
[0171] It is understood that in the embodiments of this application, the display duration corresponding to the importance level can be preset by the user or set by the factory of the electronic device, and this application does not limit it.
[0172] For example, when the reminder message "View Electronic Boarding Pass" is displayed in the Smart Window 314, the message's importance level is "moderate," and therefore, the display duration in the Smart Window 314 is 5 seconds. When the reminder message "Start Boarding" is displayed in the Smart Window 314, the message's importance level is "important," and the display duration is 20 seconds. When the reminder message "Gate 52K" is displayed in the Smart Window 314, the message's importance level is "very important," and the display duration is 30 seconds, or it can be displayed continuously. This way, reminders with higher importance levels are displayed for a longer duration to prevent users from missing important information, while reminders with lower importance levels can be displayed for a shorter duration to avoid disturbing the user.
[0173] Scenario 2: There are multiple reminder messages, and the SmartWindow displays all of them within the specified display time.
[0174] When multiple reminders are displayed in the Smart Window, these reminder messages can be displayed alternately. The electronic device determines the display duration T2 based on these multiple reminder messages. Within the display duration T2 of the Smart Window, the electronic device determines the display order and duration of the multiple reminder messages in the Smart Window based on their importance. After the display duration T2 of the Smart Window 314 is reached, the electronic device 100 hides the Smart Window 314 and stops displaying it.
[0175] Within the display duration T2 of the Smart Window, there can be n alternating display cycles. The duration of one alternating display cycle is t1, therefore n*t1 = T2. Each reminder message is displayed once within one alternating display cycle. Within one alternating display cycle, the display duration of each reminder message can be the same or different. For example, as... Figure 5AAs shown, the electronic device receives two notification messages: "Start Boarding" and "Gate 52K". Table 1 shows that the display duration of the "Start Boarding" notification window is 20 seconds, and the display duration of the "Gate 52K" notification window is 30 seconds. Therefore, the display duration of the notification window is 30 seconds. Within this 30-second display duration, there are six alternating display cycles. Within each 5-second alternating cycle, each notification message is displayed for 2.5 seconds. Specifically, "Gate 52K" is displayed for the first 2.5 seconds, "Start Boarding" for the second 2.5 seconds, "Gate 52K" for the third 2.5 seconds, and "Start Boarding" for the fourth 2.5 seconds. This alternating display of "Start Boarding" and "Gate 52K" continues until the 30-second display duration is reached, at which point the electronic device stops displaying the notification window. In this way, the two reminder messages, "Start Boarding" and "Gate 52K," are displayed alternately within the display time of the Smart Window, allowing multiple reminder messages to be displayed in a limited space.
[0176] For example, such as Figure 5B As shown, the Smart Window display duration of 30 seconds includes four alternating display cycles. Within each alternating cycle, the display duration of each reminder message is different. In a 7.5-second alternating cycle, "Gate 52K" is displayed for 5 seconds, and "Start Boarding" is displayed for 2.5 seconds. That is, within the 30-second Smart Window display duration, "Gate 52K" is displayed for 0 to 2.5 seconds, "Start Boarding" for 2.5 to 7.5 seconds, "Start Boarding" for 7.5 to 12.5 seconds, and "Gate 52K" for 12.5 to 15 seconds, and so on, alternating between the two reminder messages until the 30-second Smart Window display duration is reached, at which point the electronic device no longer displays the Smart Window.
[0177] The following is combined Figures 6A-6C This example illustrates the display rules for determining the duration of the Smart Window display and the display methods for multiple reminder messages:
[0178] 1) The intelligent window determines the display duration T2 based on the multiple reminder messages.
[0179] When multiple reminders are displayed in the Smart Window, the electronic device can determine the display duration T2 of the Smart Window based on the number of reminder messages, the importance of the multiple reminder messages, or the combined importance of the number of reminder messages and the importance of each reminder message.
[0180] Specifically, this includes the following three situations:
[0181] Scenario 1: Determine the display duration of the Smart Window based on the number of reminder messages.
[0182] Assuming there are M notification messages, each corresponding to a unit display duration, when the number of notifications is less than or equal to a first value N, the display duration of the Smart Window can be determined to be t3 duration, where t3 duration is the display duration corresponding to the lowest importance level. When the number of notifications is greater than the first value N, the display duration of the Smart Window can be determined to be unit display duration * M.
[0183] For example, each reminder message has a display duration of 2.5 seconds. That is, when there is one reminder message, the display duration on the Smart Window is 2.5 seconds; when there are two reminder messages, the display duration is 5 seconds; and for each subsequent reminder message, the display duration increases by 2.5 seconds. As shown in Table 1 above, the minimum display duration on the Smart Window is 5 seconds. Therefore, even when there is only one reminder message, the Smart Window will still display for 5 seconds.
[0184] For example, the correspondence between the number of reminder messages and the display duration can be shown in Table 2:
[0185]
[0186]
[0187] Table 2
[0188] It is understood that the table above is merely an example to illustrate the correspondence between the number of reminder messages and the display duration. In practical applications, the textual content of this correspondence can take other forms, which are not specifically limited here.
[0189] Scenario 2: Determine the display duration of the Smart Window based on the key procedures of multiple reminder messages.
[0190] Each reminder corresponds to a display duration, and multiple reminders correspond to multiple display durations. Therefore, given multiple reminders under preset conditions, the longest of the multiple display durations corresponding to these reminders is taken as the final display duration of the Smart Window. For example, given reminders 1, 2, and 3, where reminder 1 has a display duration of 5 seconds, reminder 2 has a display duration of 10 seconds, and reminder 3 has a display duration of 30 seconds, the longest of these three durations is taken as the display duration of the Smart Window. Therefore, the display duration of the Smart Window is determined to be 30 seconds.
[0191] For example, the above Figure 5AWhen the Zhida window alternately displays the boarding information "Start Boarding" and "Gate 52K", as shown in Table 1, the display duration of the reminder message "Start Boarding" is 10 seconds, and the display duration of "Gate 52K" is 30 seconds. Therefore, it can be determined that the display duration of the Zhida window is 30 seconds.
[0192] Scenario 3: The display duration of the Smart Window is determined based on the number of reminder messages and their importance.
[0193] Based on the analysis of Situations 1 and 2 above, it can be seen that the electronic device can determine a display duration t5 based on the number of reminder messages and a display duration t6 based on the importance of the reminder messages. The electronic device compares the display duration t5 and the display duration t6, and takes the larger of the two display durations as the final display duration of the Smart Window.
[0194] For example, the above Figure 5A In the example, the notification messages "Start Boarding" and "Gate 52K" are displayed. The "Start Boarding" notification has a 20-second display duration on the smart window, while the "Gate 52K" notification has a 30-second display duration. Based on the importance of the notification messages, the smart window's display duration is determined to be 30 seconds. Assuming each message displays for 2.5 seconds, and considering the number of notification messages, the smart window's display duration is determined to be 5 seconds. Since 30 seconds is longer than 5 seconds, the final smart window display duration is 30 seconds.
[0195] In some optional embodiments, when a preset scenario corresponds to multiple reminder messages, each reminder corresponds to a display duration, and the display duration of the smart window can be the sum of the display durations corresponding to multiple reminder messages. For example, if there are reminder messages 1, 2, and 3, and the display duration of reminder message 1 is 5 seconds, the display duration of reminder message 2 is 10 seconds, and the display duration of reminder message 3 is 30 seconds, then the display duration of the smart window can be determined to be 45 seconds.
[0196] 2) During the display duration T2 of the Zhida window, multiple pieces of information can be displayed alternately in the Zhida window.
[0197] Within the display duration T2 of the Smart Window, the Smart Window determines the display order and display duration of multiple reminder messages based on their importance.
[0198] Specifically, it can be divided into the following three situations:
[0199] Scenario 1: When the SmartWindow displays multiple reminder messages alternately, each reminder message is displayed for the same duration. The display order of the reminder messages is determined according to their importance; reminder messages with higher importance are displayed first within an alternation cycle, and reminder messages with lower importance are displayed later within a cycle.
[0200] The different reminders have varying degrees of importance.
[0201] For example, suppose there are three reminder messages: Reminder 1, Reminder 2, and Reminder 3. The display duration of the corresponding Smart Window for these three reminder messages is 30 seconds. Within one alternating display cycle, each reminder message is displayed for 2.5 seconds, and the total display duration in the Smart Window is 30 seconds. There are a total of four alternating display cycles. Figure 6A As shown, the importance levels of reminder messages 1, 2, and 3 are "moderate," "important," and "very important," respectively. Therefore, within one alternating display cycle, reminder message 3 (very important) is displayed first, followed by reminder message 2 (important), and finally reminder message 1 (moderate). That is, reminder message 3 is displayed in the first 2.5 seconds, reminder message 2 in the second 2.5 seconds, and reminder message 3 in the third 2.5 seconds.
[0202] For example, as described above Figure 5A As shown, the electronic device 100 receives two reminders: gate information and boarding time information. The corresponding smart window for each reminder is displayed for 30 seconds. As shown in Table 1, the gate information is more important than the boarding time information. Therefore, within one alternating display cycle, "Gate 52K" is displayed first, followed by "Start Boarding". The smart window is removed from the user interface 310 when the cumulative display time of "Start Boarding" and "Gate 52K" reaches 30 seconds.
[0203] If multiple reminders are of equal importance, their display order is determined by the time they are received.
[0204] For example, suppose there are three reminder messages: Reminder 1, Reminder 2, and Reminder 3. All three reminder messages have the same level of importance. The display order of the reminder messages is the reverse of the time they were acquired. That is, within a single display cycle, the reminder message acquired first is displayed last, and the reminder message acquired later is displayed first. Figure 6B As shown, reminder message 1 is obtained at 8:10, reminder message 2 is obtained at 8:11, and reminder message 3 is obtained at 8:12. Within one alternating display cycle, the smart window first displays reminder message 3, then reminder message 2, and finally reminder message 1.
[0205] Scenario 2: When the Smart Window displays multiple reminder messages, each reminder message corresponds to a different display duration. The electronic device determines the display duration of each reminder message based on its importance. Reminder messages with higher importance will be displayed for a longer duration within a cycle, while reminder messages with lower importance will be displayed for a shorter duration within a cycle.
[0206] For example, such as Figure 6C As shown, suppose there are two reminder messages, namely reminder message 1 and reminder message 2. The importance level of reminder message 1 is very important, and the importance level of reminder message 2 is important. Therefore, within an alternating display cycle, the display duration of reminder message 1 is longer than that of reminder message 2. For example, if an alternating display cycle is 7.5 seconds, then the display duration of reminder message 1 is 5 seconds, and the display duration of reminder message 2 is 2.5 seconds.
[0207] For example, the above Figure 5B In the system, the two reminders displayed alternately in the smart window are the boarding gate information and the boarding time information. The display cycle for the two reminders is 7.5 seconds. Since the boarding gate information is more important than the boarding time information, the boarding gate information is displayed for 5 seconds and the boarding time information is displayed for 2.5 seconds.
[0208] The following is combined Figure 7 For a detailed description of the display method provided in the embodiments of this application, please refer to [link / reference]. Figure 7 , Figure 7 This is a flowchart illustrating an information display method provided in an embodiment of this application.
[0209] In the information display method provided in this application embodiment, the electronic device 100 displays a first user interface. When a first preset condition is met, the electronic device displays a smart window 314 on the first user interface. The smart window 314 can display reminders corresponding to the first preset condition. The electronic device can adjust the display duration of the smart window and the display method of the reminder information according to the current scenario. After the display duration of the smart window is met, the electronic device hides the smart window and no longer displays it.
[0210] The following description focuses on the electronic device 100 as the executing entity. Taking an airport scenario as an example, the information display method provided in this application is illustrated.
[0211] The electronic device displays the first user interface.
[0212] Specifically, the first user interface can be the interface on which the first application runs on the electronic device 100, or it can be the main interface of the electronic device 100.
[0213] For example, the first user interface could be Figure 3AThe user interface 310 provided in the embodiment is not limited to the user interfaces listed above. In specific implementations, the first user interface can also be other user interfaces, and this application does not limit this.
[0214] If the location of the electronic device is detected to be within the airport area, a smart window including a first reminder message is displayed on the first user interface, such as "view boarding pass".
[0215] Specifically, the electronic device acquires its location information at preset intervals. When the electronic device detects that the location address is within the airport area, it displays a smart notification window on the current user interface. The electronic device acquires the first alert information corresponding to the airport arrival scenario and displays the corresponding first alert information in the smart notification window. This first alert information can be pre-set by the user or be set by the electronic device at the factory defaults, for example, see reference... Figure 3A In one example, the first reminder message could be "View boarding pass".
[0216] For example, if an electronic device detects that the location address is within the airport area, the electronic device can view Table 1 and match the reminder information corresponding to the arrival at the airport to obtain the reminder information corresponding to the arrival at the airport.
[0217] When the display duration of the Smart Window meets the first duration, the electronic device stops displaying the Smart Window, which includes the first reminder information, on the first user interface.
[0218] by Figure 3A For example, if the first reminder message is "Check boarding pass", the electronic device can determine the display duration of the smart window corresponding to the reminder message "Check boarding pass" by checking the correspondence between the first reminder message, its importance, and the display duration. For instance, the electronic device can check Table 1 and match the reminder message "Check boarding pass" to a moderate importance level, with a corresponding smart window display duration of 5 seconds. Therefore, the electronic device will not display the smart window in the current user interface when the smart window display duration meets the 5-second requirement.
[0219] When the electronic device is detected within a first time interval from the boarding time, a smart window including a second reminder is displayed on the first user interface. The second reminder message is, for example, "Boarding has begun."
[0220] The first reminder message, indicating the time remaining until boarding, can be within one hour of the scheduled boarding time, for example, one hour before the boarding time. The second reminder message corresponds to the boarding time; for example, it could be... Figure 3B The phrase "begin boarding" or "view boarding pass" may be either "begin boarding" or both, and this application does not limit it to either.
[0221] refer to Figure 3BIn this example, if the electronic device obtains the user's boarding time as 4 PM, it can remind the user to board one hour in advance to prevent the user from missing their flight. If the electronic device detects that the current time is 3 PM, it displays a smart window 314 on the current user interface, showing "Start Boarding" and "View Boarding Pass" within the window.
[0222] When the display duration of the Smart Window meets the second duration, the electronic device stops displaying the Smart Window, which includes the second reminder information, on the first user interface.
[0223] by Figure 3B For example, if the second reminder message is "Start Boarding," the electronic device can check the correspondence between the second reminder message, its importance level, and its display duration to determine the display duration of the smart window corresponding to the "Start Boarding" reminder message. For instance, the electronic device can view Table 1 and match the "Start Boarding" reminder message to "Important," which corresponds to a smart window display duration of 20 seconds. Therefore, the smart window's display duration is 20 seconds, and when the smart window's display duration meets the 20-second requirement, the electronic device will not display the smart window on the current user interface.
[0224] Once the boarding gate information is obtained, the electronic device displays a smart window containing the boarding gate information on the first user interface.
[0225] The third reminder is the boarding gate information. For example, refer to... Figure 3C In the example, the third reminder message is "Gate 52K".
[0226] Specifically, the electronic device acquires flight information every preset time interval. When the electronic device acquires the boarding gate information, it displays a smart window on the current user interface, showing "52K boarding gate".
[0227] A change in boarding gate information has been detected, and the updated boarding gate information is displayed in the smart window of the electronic device.
[0228] by Figure 3C For example, the third reminder information displayed in the Smart Window is "52K boarding gate". When the electronic device obtains the new boarding gate information as "68K boarding gate", the electronic device updates the third reminder information to "68K boarding gate" and displays "68K boarding gate" in the Smart Window, no longer displaying "52K boarding gate".
[0229] If the preset conditions are met, the electronic device will delete the SmartWindow and remove it from the first user interface.
[0230] The preset conditions could be aircraft takeoff, for example, the electronic device's time being the aircraft's takeoff time or 15 minutes before takeoff. Preset conditions could also be user swipe actions. For example, see reference... Figure 4The right-swipe operation. A preset condition can also be that the display duration of the Smart Window meets a third time limit; for example, the Smart Window will no longer be displayed after 30 seconds.
[0231] It is understood that after the deletion of the Smart Window in this application, the Smart Window can run in the background of the electronic device. When the electronic device detects that the reminder information has changed, or when the electronic device meets the display conditions of the Smart Window, the electronic device can redisplay the Smart Window.
[0232] S101, the electronic device displays the first user interface.
[0233] Specifically, the first user interface can be the interface on which the first application runs on the electronic device 100, or it can be the main interface of the electronic device 100.
[0234] For example, the first user interface could be Figure 3A The user interface 310 provided in the embodiment is not limited to the user interfaces listed above. In specific implementations, the first user interface can also be other user interfaces, and this application does not limit this.
[0235] S102, the location of the electronic device is detected to be within the airport area, the Smart Access Window is displayed on the first user interface, the arrival reminder information of the airport is displayed in the Smart Access Window, and the Smart Access Window is stopped from being displayed on the first user interface after the Smart Access Window has been displayed for 5 seconds.
[0236] by Figure 3A For example, in the embodiment, a user is watching a video on an electronic device. The user interface displayed on the electronic device is the interface of the video application. When the user arrives at the airport area, the electronic device can display a smart window on the video interface and display icons for viewing boarding passes and travel applications in the smart window to remind the user to check boarding pass information.
[0237] The airport arrival reminder can be pre-set by the user or set by the electronic device at the factory.
[0238] S103, if the electronic device is detected to be within two hours before the boarding time, a smart window is displayed on the first user interface, and boarding reminder information is displayed in the smart window. After the smart window is displayed for 20 seconds, the smart window is stopped from being displayed on the first user interface.
[0239] by Figure 3C For example, in this embodiment, the boarding reminder information includes the start of boarding, viewing the boarding pass, and the identifier of the travel application. In specific implementations, the boarding reminder information can be other information, and this application does not limit it.
[0240] Electronic devices may also display a smart window containing boarding reminder information within one hour before the boarding time, for example, to remind users to board.
[0241] S104, the boarding gate information is obtained, and the Smart Window is displayed on the first user interface, showing the boarding gate information.
[0242] refer to Figure 3D In this embodiment, when a user obtains the boarding gate information while watching a video, the boarding gate information can be displayed on the current video interface. For example, the boarding gate information could be gate 52K, an icon of a travel application, a check-in board, etc. In specific implementations, the boarding gate information can also be other things, and this application does not limit it in this regard.
[0243] S105, A change in boarding gate information has been detected. The updated boarding gate information is displayed in the Smart Window.
[0244] refer to Figure 3D In this embodiment, the electronic device displays a video interface, and the Smart Window displays gate 52K. The electronic device obtains flight information every preset time interval. When the electronic device detects that gate 52K in the obtained flight information has been updated to gate 68K, it updates the Smart Window to gate 68K.
[0245] S106, the time when the electronic device is detected is the aircraft's departure time, the Smart Window will stop being displayed on the first user interface, and flight information such as the boarding gate will not be displayed on the first user interface.
[0246] Below are three ways to obtain flight information:
[0247] 1) Electronic devices obtain permissions to travel applications and obtain flight information through the application programming interface (API).
[0248] Specifically, when an electronic device is authorized by a travel application, it can directly call the travel application's API interface to obtain relevant information about the travel application.
[0249] 2) The electronic device did not have permission to access the travel application and pushed information through the application server.
[0250] Without obtaining permission from the travel application, the electronic device integrates the travel application's software development kit (SDK) into the Smart Window module. Flight information is pushed to the SDK through the travel cloud. The Smart Window module provides an API interface, and the travel application's SDK calls the Smart Window module's API interface to display the flight information in the Smart Window.
[0251] For example, such as Figure 8 As shown, Figure 8 This is a diagram illustrating how to obtain flight information.
[0252] The travel cloud server obtains the user's flight information from the travel application on the electronic device. The travel cloud server then pushes the user's flight information directly to the travel application's SDK integrated in the Zhida Window module. The travel application's SDK calls the API interface of the Zhida Window module to display the flight information in the Zhida Window.
[0253] Alternatively, the travel cloud server retrieves the user's flight information from the travel application on the electronic device. The travel cloud server then sends this flight information to the push cloud server, which pushes the flight information to the electronic device. After receiving the pushed flight information, the electronic device stores it in the push manager. When the smart window module detects that the electronic device is within the airport's area, the smart window module requests the flight information from the push manager. The push manager then sends the pushed flight information to the smart window module, which displays the flight information in the smart window.
[0254] 3) By obtaining SMS information.
[0255] Specifically, after a user books a ticket, the electronic device receives flight information sent by a travel application and obtains flight information from a text messaging application.
[0256] It should be noted that, for the sake of simplicity, the above method embodiments are described as a series of actions. However, those skilled in the art should know that the present invention is not limited to the described order of actions. Furthermore, those skilled in the art should also know that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily required by the present invention.
[0257] The various embodiments of this application can be combined arbitrarily to achieve different technical effects.
[0258] This application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be implemented by a computer program instructing related hardware. This program can be stored in the aforementioned computer storage medium, and when executed, it can include the processes described in the above method embodiments. The computer-readable storage medium includes various media capable of storing program code, such as read-only memory (ROM) or random access memory (RAM), magnetic disks, or optical disks.
[0259] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0260] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0261] In summary, the above description is merely an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made according to the disclosure of the present invention should be included within the scope of protection of the present invention.
Claims
1. An information display method, characterized in that, The method includes: The electronic device displays a first user interface; wherein the first user interface is the interface of a first application, or the first user interface is the main interface of the electronic device; When the electronic device determines that the difference between the current time and the boarding time is within a preset reminder duration, the electronic device displays a display window on the first user interface, and displays the first flight information in the display window; the size of the display window is less than 1 / 4 of the size of the display area of the first user interface; The electronic device determines the display duration of the display window as the first window display duration based on the importance of the first flight information; During the first window display duration displayed in the display window, the electronic device acquires second flight information and determines the display duration of the display window as the third window display duration based on the quantity and / or importance of the acquired flight information; wherein, the third window display duration includes one or more preset cycles, and the number of preset cycles and the duration of one cycle are determined based on the quantity and / or importance of the acquired flight information; The electronic device alternately displays the first flight information and the second flight information in the display window at a preset cycle; After the electronic device displays the display window for the duration of the third window display, the electronic device stops displaying the display window.
2. The method according to claim 1, characterized in that, The importance of the second flight information is higher than that of the first flight information; within one cycle of displaying the first flight information and the second flight information, the display duration of the reminder for the second flight information is longer than the display duration of the reminder for the first flight information.
3. The method according to claim 1, characterized in that, During one cycle of displaying the second flight information and the first flight information, the duration of the reminder displaying the second flight information is equal to the duration of the reminder displaying the first flight information.
4. The method according to any one of claims 1 to 3, characterized in that, The second flight information is of higher importance than the first flight information; during one cycle of displaying the first and second flight information, the second flight information is displayed first, followed by the first flight information.
5. The method according to any one of claims 1 to 3, characterized in that, The importance of the second flight information is higher than that of the first flight information, and the second flight information is acquired earlier than the first flight information. During one cycle of displaying the first and second flight information, the second flight information is displayed first, followed by the first flight information.
6. The method according to claim 5, characterized in that, The method further includes: After the electronic device stops displaying the display window, third flight information is obtained, and the importance of the third flight information is higher than that of the first flight information and the second flight information; The electronic device determines the display duration of the display window as the second window display duration based on the importance of the third flight information; the second window display duration is longer than the first window display duration. After the electronic device displays the display window for the duration of the second window display, the electronic device stops displaying the display window.
7. An information display method, characterized in that, The method includes: The electronic device displays a first user interface; wherein the first user interface is the interface of a first application, or the first user interface is the main interface of the electronic device; When the first preset condition is met, the electronic device displays a display window on the first user interface and displays the first reminder information in the display window; the size of the display window is less than 1 / 4 of the size of the display area of the first user interface; The electronic device determines the display duration of the display window as the first window display duration based on the importance of the first reminder information; Within the display duration of the first window displayed in the display window, and when the second preset condition is met, the electronic device determines the display duration of the display window as the display duration of the third window based on the quantity and / or importance of the acquired reminder information. The acquired reminder information includes the first reminder information and the second reminder information. The second preset condition is associated with the second reminder information, and the third window display duration includes one or more preset cycles. The number of preset cycles and the duration of one cycle are determined based on the quantity and / or importance of the acquired reminder information. The electronic device alternately displays the first reminder information and the second reminder information in the display window at a preset cycle; After the electronic device displays the display window for the duration of the third window display, the electronic device stops displaying the display window.
8. The method according to claim 7, characterized in that, The first reminder message is of higher importance than the second reminder message; within one cycle of displaying the first reminder message and the second reminder message, the display duration of the first reminder message is greater than the display duration of the second reminder message.
9. The method according to claim 7, characterized in that, The importance of the first reminder information is higher than, equal to or lower than the importance of the second reminder information; within one cycle of displaying the first reminder information and the second reminder information, the reminder display duration of the first reminder information is equal to the reminder display duration of the second reminder information.
10. The method according to any one of claims 7 to 8, characterized in that, The first reminder message is of higher importance than the second reminder message; during one cycle of displaying the first reminder message and the second reminder message, the first reminder message is displayed first, and the duration of the second reminder message is displayed later.
11. The method according to any one of claims 7 to 8, characterized in that, The importance of the first reminder message is equal to the importance of the second reminder message, and the acquisition time of the first reminder message is earlier than the acquisition time of the second reminder message; During one cycle of displaying the first reminder message and the second reminder message, the second reminder message is displayed first, followed by the duration of the first reminder message.
12. The method according to claim 11, characterized in that, The method further includes: After the electronic device stops displaying the display window, when the electronic device determines that the third preset condition is met, the electronic device displays the display window on the first user interface and displays the third reminder information in the display window; the importance of the third reminder information is higher than that of the first reminder information and the second reminder information. The electronic device determines the display duration of the display window as the second window display duration based on the importance of the third reminder information; the second window display duration is longer than the first window display duration. After the electronic device displays the display window for the duration of the second window display, the electronic device stops displaying the display window.
13. An electronic device, characterized in that, The electronic device includes: one or more processors and memory; The memory is coupled to the one or more processors, and the memory is used to store computer program code, the computer program code including computer instructions, which the one or more processors invoke to cause the electronic device to execute: A first user interface is displayed on the screen; wherein the first user interface is the interface of a first application, or the first user interface is the main interface of the electronic device; If the difference between the current time and the boarding time is within a preset reminder duration, a display window is shown on the first user interface on the display screen, and the first flight information is displayed in the display window; the size of the display window is less than 1 / 4 of the size of the display area of the first user interface. The display duration of the display window is determined based on the importance of the first flight information as the first window display duration; Within the first window display duration displayed on the display screen, second flight information is acquired. Based on the quantity and / or importance of the acquired flight information, the display duration of the display window is determined as the third window display duration. The third window display duration includes one or more preset cycles, and the number of preset cycles and the duration of one cycle are determined based on the quantity and / or importance of the acquired flight information. The first flight information and the second flight information are displayed alternately in the display window at a preset cycle; After the display window on the display screen has reached the third window display duration, the display window stops being displayed.
14. The electronic device according to claim 13, characterized in that, The importance of the second flight information is higher than that of the first flight information; within one cycle of displaying the first flight information and the second flight information, the display duration of the reminder for the second flight information is longer than the display duration of the reminder for the first flight information.
15. The electronic device according to claim 13, characterized in that, During one cycle of displaying the second flight information and the first flight information, the duration of the reminder displaying the second flight information is equal to the duration of the reminder displaying the first flight information.
16. The electronic device according to any one of claims 13 to 15, characterized in that, The importance of the second flight information is higher than that of the first flight information, and the second flight information is acquired earlier than the first flight information. During one cycle of displaying the first and second flight information, the second flight information is displayed first, followed by the first flight information.
17. The electronic device according to claim 16, characterized in that, The one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute: After the display window is stopped, the information of the third flight is obtained. The importance of the third flight information is higher than that of the first flight information and the second flight information. The display duration of the display window is determined based on the importance of the third flight information, and is thus the display duration of the second window. The second window is displayed for a longer duration than the first window. After the display window on the display screen has reached the second window display duration, the electronic device stops displaying the display window.
18. An electronic device, characterized in that, The electronic device includes: one or more processors and memory; The memory is coupled to the one or more processors, and the memory is used to store computer program code, the computer program code including computer instructions, which the one or more processors invoke to cause the electronic device to execute: A first user interface is displayed on the screen; wherein the first user interface is the interface of a first application, or the first user interface is the main interface of the electronic device; When the first preset condition is met, a display window is displayed on the first user interface, and a first reminder message is displayed in the display window on the display screen; the size of the display window is less than 1 / 4 of the size of the display area of the first user interface; The display duration of the display window is determined based on the importance of the first reminder message and is thus the first window display duration. Within the display duration of the first window displayed on the display screen, and when the second preset condition is met, the display duration of the display window is determined as the display duration of the third window based on the quantity and / or importance of the acquired reminder information. The acquired reminder information includes the first reminder information and the second reminder information. The second preset condition is associated with the second reminder information, and the third window display duration includes one or more preset cycles. The number of preset cycles and the duration of one cycle are determined based on the quantity and / or importance of the acquired reminder information. The first reminder message and the second reminder message are displayed alternately in the display window at a preset cycle; After the display window on the display screen has reached the third window display duration, the display window stops being displayed.
19. The electronic device according to claim 18, characterized in that, The first reminder message is of higher importance than the second reminder message; within one cycle of displaying the first reminder message and the second reminder message, the display duration of the first reminder message is greater than the display duration of the second reminder message.
20. The electronic device according to claim 18, characterized in that, The importance of the first reminder information is higher than, equal to or lower than the importance of the second reminder information; within one cycle of displaying the first reminder information and the second reminder information, the reminder display duration of the first reminder information is equal to the reminder display duration of the second reminder information.
21. The electronic device according to claim 18 or 19, characterized in that, The first reminder message is of higher importance than the second reminder message; during one cycle of displaying the first reminder message and the second reminder message, the first reminder message is displayed first, and the duration of the second reminder message is displayed later.
22. The electronic device according to claim 18 or 19, characterized in that, The importance of the first reminder message is equal to the importance of the second reminder message, and the acquisition time of the first reminder message is earlier than the acquisition time of the second reminder message; During one cycle of displaying the first reminder message and the second reminder message, the second reminder message is displayed first, followed by the duration of the first reminder message.
23. The electronic device of claim 22, wherein the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform: After the display window stops being displayed on the display screen, and it is determined that the third preset condition is met, the first user interface displays the display window on the display screen, and the third reminder information is displayed in the display window; The third reminder message is of higher importance than the first reminder message and the second reminder message; The display duration of the display window is determined based on the importance of the third reminder information, and is thus the display duration of the second window. The second window is displayed for a longer duration than the first window. After the display window on the display screen has reached the second window display duration, the display window stops being displayed.
24. A chip system applied to an electronic device, the chip system comprising one or more processors, the processors being configured to invoke computer instructions to cause the electronic device to perform the method as described in any one of claims 1-23.
25. A computer program product containing instructions, characterized in that, When the computer program product is run on an electronic device, it causes the electronic device to perform the method as described in any one of claims 1-23.
26. A computer-readable storage medium comprising instructions, characterized in that, When the instructions are executed on an electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 1-23.