Interface display method and related device
By obtaining weather information and determining the dynamic effects to be displayed, and by establishing physical rules that constrain the interaction between weather elements and display elements, the problem of weather effects not changing with the displayed page is solved, thus achieving a realistic and dynamic display effect for weather effects.
Patent Information
- Application Number
- PCT/CN2025/073236
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-20
- Filing Date
- 2025-01-20
- Publication Date
- 2025-12-26
AI Technical Summary
In existing technologies, the presentation of weather effects cannot be changed with the changes in the displayed page, resulting in poor presentation of weather effects.
By obtaining weather information, the dynamic effects to be displayed are determined. There is a positional interaction between weather elements and display elements that meets the constraints of physical rules. The effects after the interaction are displayed include the movement, collision, and light propagation of weather elements and display elements, so as to achieve the realism and variability of dynamic effects.
The display of weather effects has been improved, making them more realistic and dynamic, and enhancing the overall presentation of weather information.
Smart Images

Figure CN2025073236_26122025_PF_FP_ABST
Abstract
Description
A method for displaying an interface and related equipment
[0001] This application claims priority to Chinese Patent Application No. 202410808466.8, filed on June 20, 2024, entitled "An Interface Display Method and Related Device", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminals, and more particularly to an interface display method and related equipment. Background Technology
[0003] An operating system (OS) is a set of interconnected system software programs that manage and control computer operation, the use and operation of hardware and software resources, and the provision of public services to organize user interaction. It is also the kernel and foundation of a computer system. The operating system handles fundamental tasks such as managing and allocating memory, determining the priority of system resource allocation, controlling input and output devices, operating networks, and managing file systems.
[0004] Weather is a topic of great daily concern for users, closely intertwined with human life and production. An excellent mobile operating system will inevitably provide clear and aesthetically pleasing visual weather data, making weather display a crucial feature. Furthermore, weather data push notifications can utilize captivating 3D animations to enhance the system's presentation. Weather themes have always been among the most frequently used, and the next generation of operating systems will further drive the evolution of weather animations. 3D weather systems can be applied to product weather apps, weather themes, weather wallpapers, and more.
[0005] In existing technologies, the weather presentation effects of the system have evolved from simple static effects to realistic dynamic visual effects, including weather scenes such as clouds, rain, snow, fog, haze, and clear skies. However, the weather effects of existing technologies do not change with the changes in the displayed page, resulting in poor presentation effects. Summary of the Invention
[0006] Firstly, this application provides a method for displaying an interface, the method comprising:
[0007] Obtain weather conditions; determine dynamic effects to be displayed based on the weather conditions; the dynamic effects include weather elements, display elements, and interactive effects, wherein the weather elements indicate the weather conditions, the weather elements and the display elements have positional interactions that satisfy physical rules, and the interactive effects include effects generated after the positional interactions; the display elements include one or more combinations of the following: controls, icons, text, windows, or cards; display the dynamic effects.
[0008] In this embodiment of the application, in order to improve the display effect of weather display effects, weather elements and some display elements on the display interface can interact and display the effects after the interaction. Specifically, when the weather element moves to a display element on the display interface (that is, there is positional interaction, or it can be described as collision or contact), a positional interaction effect that meets the physical rules constraint can be displayed. This effect is the effect that will occur when the weather element and the display element have positional interaction, and it will be displayed in real time based on the position of the display element, thereby making the weather display effects more realistic and improving the presentation effect of the weather effects.
[0009] Dynamic effects are not limited to constantly changing display effects (for example, the display effects of adjacent frames are different), but rather refer to effects that are not static.
[0010] Among them, satisfying physical rules can be understood as the real situation that occurs when two objects interact in the real world (e.g., contact, collision, or light propagation).
[0011] In one possible implementation, the weather element and the display element have a positional interaction that satisfies physical rule constraints, including: the weather element moves along a path that satisfies physical rule constraints and then has a positional interaction with the display element that satisfies physical rule constraints.
[0012] In one possible implementation, the display element is an element on the desktop or within an application.
[0013] Display elements can be elements on the desktop or within the application. In other words, display elements capable of interacting with the weather element can be elements at multiple operating system levels, such as system-level controls (e.g., windows, cards, desktop icons), or application-level objects (e.g., icons, text). Information about display elements can include their position, shape (e.g., outline, size), etc.
[0014] In other words, push notifications can be sent at various levels of the operating system, and weather elements can interact with control elements at various levels of the system.
[0015] In one possible implementation, the weather element includes light, the positional interaction is light propagating onto the display element, and the interactive effects are light reflection, penetration, or changes in brightness.
[0016] In one possible implementation, the weather element includes gas, the location interaction is the gas propagating onto the display element, and the interactive effect is the gas penetrating or drifting outside the display element.
[0017] In one possible implementation, the weather element comprises a solid or liquid, the positional interaction is a collision between the solid or liquid and the display element, and the interaction effect is a collision effect or a post-collision accumulation.
[0018] In one possible implementation, after displaying the dynamic effect, the method further includes:
[0019] Obtain gesture operations for the aforementioned interactive effects;
[0020] The new interactive effect (e.g., collision effect) is formed after the location of the gesture operation interacts with the interactive effect (e.g., collision).
[0021] In one possible implementation, the method further includes:
[0022] Obtain a gesture operation for the displayed element; the gesture operation is used to move the displayed element;
[0023] The interactive effects are displayed in the form of new positional interactions as the displayed elements move, and these new positional interactions satisfy physical rule constraints.
[0024] Gesture operations involve swiping (or dragging) the displayed elements. Interactive effects can be the stacking of weather elements, which will produce a shaking effect as the displayed elements move (the shaking effect is also a new interactive effect).
[0025] In one possible implementation, the method further includes:
[0026] Obtain information about the display element, including its display position and display shape;
[0027] The determination of the displayed dynamic effects based on the weather conditions includes:
[0028] The dynamic effects to be displayed are determined based on the weather conditions and the information of the displayed elements.
[0029] In one possible implementation, the method further includes:
[0030] Obtain the configuration information of the rendering engine or physics engine;
[0031] The determination of the displayed dynamic effects based on the weather conditions includes:
[0032] Based on the weather conditions and the configuration information of the rendering engine or physics engine, the dynamic effects to be displayed are determined by the rendering engine and physics engine.
[0033] Secondly, this application provides an interface display device, the device comprising:
[0034] The acquisition module is used to obtain weather conditions;
[0035] The rendering module is used to determine the dynamic effects to be displayed based on the weather conditions. The dynamic effects include weather elements, display elements, and interactive effects. The weather elements indicate the weather conditions, and the weather elements and the display elements have positional interactions that satisfy physical rules. The interactive effects include effects generated after the positional interactions. The display elements include one or more combinations of the following: controls, icons, text, windows, or cards.
[0036] The display module is used to display the dynamic effects.
[0037] In one possible implementation, the weather element and the display element have a positional interaction that satisfies physical rule constraints, including: the weather element moves along a path that satisfies physical rule constraints and then has a positional interaction with the display element that satisfies physical rule constraints.
[0038] In one possible implementation, the display element is an element on the desktop or within an application.
[0039] In one possible implementation, the weather element includes light, the positional interaction is light propagating onto the display element, and the interactive effects are light reflection, penetration, or changes in brightness.
[0040] In one possible implementation, the weather element includes gas, the location interaction is the gas propagating onto the display element, and the interactive effect is the gas penetrating or drifting outside the display element.
[0041] In one possible implementation, the weather element comprises a solid or liquid, the positional interaction is a collision between the solid or liquid and the display element, and the interaction effect is a collision effect or a post-collision accumulation.
[0042] In one possible implementation, after displaying the dynamic effect, the acquisition module is further configured to:
[0043] Obtain gesture operations for the aforementioned interactive effects;
[0044] The display module is also used to display the collision effect formed after the location of the gesture operation collides with the interactive effect.
[0045] In one possible implementation, the acquisition module is further configured to:
[0046] Obtain a gesture operation for the displayed element; the gesture operation is used to move the displayed element;
[0047] The display module is also used to display the interactive effects corresponding to the new positional interactions formed after the interactive effects move with the display elements, and the new positional interactions satisfy physical rule constraints.
[0048] In one possible implementation, the acquisition module is further configured to:
[0049] Obtain information about the display element, including its display position and display shape;
[0050] The rendering module is specifically used for:
[0051] The dynamic effects to be displayed are determined based on the weather conditions and the information of the displayed elements.
[0052] In one possible implementation, the acquisition module is further configured to:
[0053] Obtain the configuration information of the rendering engine or physics engine;
[0054] The rendering module is specifically used for:
[0055] Based on the weather conditions and the configuration information of the rendering engine or physics engine, the dynamic effects to be displayed are determined by the rendering engine and physics engine.
[0056] Thirdly, embodiments of this application provide an interface display device, which may include a memory, a processor, and a bus system, wherein the memory is used to store a program, and the processor is used to execute the program in the memory to perform the methods described in the first aspect above and any of its optional methods.
[0057] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the methods described in the first aspect and any of its optional methods.
[0058] Fifthly, embodiments of this application provide a computer program product including instructions that, when run on a computer, cause the computer to perform the first aspect and any of its optional methods described above.
[0059] Sixthly, this application provides a chip system including a processor for supporting an interface display device in implementing some or all of the functions involved in the above aspects, such as transmitting or processing data or information involved in the above methods. In one possible design, the chip system further includes a memory for storing program instructions and data necessary for the execution device or training device. This chip system may be composed of chips or may include chips and other discrete devices. Attached Figure Description
[0060] Figure 1 shows a schematic diagram of an application architecture;
[0061] Figure 2 shows a schematic diagram of an application architecture;
[0062] Figure 3 is a schematic diagram of an embodiment of an interface display method provided in this application;
[0063] Figure 4 is a schematic diagram of an interface in an embodiment of this application;
[0064] Figure 5 is a schematic diagram of an interface in an embodiment of this application;
[0065] Figure 6 is a schematic diagram of an interface in an embodiment of this application;
[0066] Figure 7 is a schematic diagram of an interface in an embodiment of this application;
[0067] Figure 8 is a schematic diagram of an interface in an embodiment of this application;
[0068] Figure 9 is a schematic diagram of an interface in an embodiment of this application;
[0069] Figure 10 is a schematic diagram of an interface in an embodiment of this application;
[0070] Figures 11A to 11E are schematic diagrams of an interface in an embodiment of this application;
[0071] Figure 12A is a schematic diagram of an interface in an embodiment of this application;
[0072] Figure 12B is a schematic diagram of an interface in an embodiment of this application;
[0073] Figure 12C illustrates an embodiment of an interface display method provided in this application;
[0074] Figure 13 is a schematic diagram of an embodiment of an interface display device provided in this application;
[0075] Figure 14 is a schematic diagram of an execution device provided in an embodiment of this application. Detailed Implementation
[0076] The embodiments of the present invention will now be described with reference to the accompanying drawings. The terminology used in the embodiments section is for illustrative purposes only and is not intended to limit the scope of the invention.
[0077] The embodiments of this application will now be described with reference to the accompanying drawings. Those skilled in the art will recognize that, with technological advancements and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.
[0078] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of elements is not necessarily limited to those elements, but may include other elements not explicitly listed or inherent to those processes, methods, products, or apparatuses.
[0079] It should be understood that when an element or layer is referred to as being "on," "connected to," or "coupled to" another element or layer, the element or layer may be directly located on, directly connected to, or directly coupled to the other element or layer, or there may be one or more intermediate elements or layers. It should also be understood that when an element or layer is referred to as being "between" two elements or layers, the element or layer may be the only element or layer between the two elements or layers, or there may be one or more intermediate elements or layers.
[0080] The terms “substantially,” “about,” and similar terms used herein are used as approximations rather than as terms of degree, and are intended to take into account the inherent biases of measurements or calculations known to those skilled in the art. Furthermore, the use of “may” in describing embodiments of the invention refers to “one or more possible embodiments.” The terms “use,” “using,” and “used” used herein are to be considered synonymous with the terms “utilize,” “utilizing,” and “utilized,” respectively. Additionally, the term “exemplary” is intended to refer to an instance or illustration.
[0081] Referring to Figure 1, it is a structural schematic diagram of an electronic device 100 provided in an embodiment of this application.
[0082] Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0083] 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.
[0084] Processor 110 may include one or more processing units, such as application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0085] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0086] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0087] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0088] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C buses. The processor 110 can couple to the touch sensor 180K, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0089] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface to enable the function of answering phone calls through a Bluetooth headset.
[0090] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via the PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0091] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 120 and the wireless communication module 160. For example, the processor 120 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface to enable music playback through Bluetooth headphones.
[0092] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to enable the electronic device 100 to capture images. The processor 120 and the display screen 194 communicate via the DSI interface to enable the electronic device 100 to display images.
[0093] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to a camera 193, a display screen 194, a wireless communication module 160, an audio module 170, a sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0094] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.
[0095] 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.
[0096] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.
[0097] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0098] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0099] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0100] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0101] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0102] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0103] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-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).
[0104] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0105] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0106] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0107] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0108] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0109] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0110] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0111] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0112] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0113] Internal memory 121 can be used to store computer executable program code, which includes instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory located in the processor.
[0114] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0115] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.
[0116] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0117] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0118] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0119] 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.
[0120] Figure 2 is a software structure block diagram of an electronic device 100 according to an embodiment of the present invention.
[0121] 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.
[0122] The application layer can include a series of application packages.
[0123] As shown in Figure 2, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0124] 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.
[0125] As shown in Figure 2, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0126] 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.
[0127] 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.
[0128] 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.
[0129] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).
[0130] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0131] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0132] 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.
[0133] 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.
[0134] 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.
[0135] System libraries can include multiple functional modules. For example, a surface manager, media libraries, and 3D graphics processing libraries (such as OpenGL ES).
[0136] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0137] 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.
[0138] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0139] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0140] The application scenario of this application embodiment can be located in mobile devices, including mobile phones, tablets, PCs, in-vehicle systems, etc., and is used for the push of animations in weather systems. The operating system's capabilities are divided into two parts: the large desktop process and system capabilities. The system application (large desktop process) completes the capability scheduling between APP, desktop, icon control, card control, and text control. The system API is used to encapsulate the user capabilities supported by the northbound operating system. The graphics subsystem deploys key capabilities of the physics engine, which can fully leverage the advantages of the underlying hardware.
[0141] An operating system contains a set of basic system capability subsystems, a set of basic software service subsystems, a set of enhanced software service subsystems, and a set of hardware service subsystems.
[0142] The actual product form is an operating system that can run on various types of terminals, including smartphones, tablets, PCs, and in-vehicle systems. Currently, the typical product form is the smartphone. The physics engine is a key core technology capability of the operating system, and it will currently be implemented in scenarios such as weather applications and wallpapers. The technology carrying this patent is mainly reflected in the graphics stack structure of the operating system, with key features deployed in the ETS API, physics engine, rendering engine, and graphics driver.
[0143] An operating system (OS) is a set of interconnected system software programs that manage and control computer operation, the use and operation of hardware and software resources, and the provision of public services to organize user interaction. It is also the kernel and foundation of a computer system. The operating system handles fundamental tasks such as managing and configuring memory, prioritizing system resource allocation, controlling input and output devices, operating networks, and managing file systems. A mobile operating system (OS) is a dedicated software platform that supports the operation of smartphones, tablets, and other mobile devices. It is designed to meet the needs of mobile devices, providing a rich user experience, optimized performance, and efficient power management. In the context of mobile application development, a mobile operating system is a key component, providing developers with the necessary infrastructure, frameworks, and application programming interfaces (APIs) for building, testing, deploying, and maintaining native mobile applications.
[0144] Weather is a topic of great daily concern for users, closely intertwined with human life and production. An excellent mobile operating system will inevitably provide clear and aesthetically pleasing visual weather data, making weather display a crucial feature. Furthermore, weather data push notifications can utilize captivating 3D animations to enhance the system's presentation. Weather themes have always been among the most frequently used, and the next generation of operating systems will further drive the evolution of weather animations. 3D weather systems can be applied to product weather apps, weather themes, weather wallpapers, and more.
[0145] In existing technologies, the weather presentation effects of the system have evolved from simple static effects to realistic dynamic visual effects, including weather scenes such as clouds, rain, snow, fog, haze, and clear skies. However, the weather effects of existing technologies do not change with the changes in the displayed page, resulting in poor presentation effects.
[0146] To address the aforementioned issues, referring to Figure 3, which is a flowchart illustrating an interface display method provided in an embodiment of this application, the interface display method provided in this embodiment includes:
[0147] 301. Obtain weather information.
[0148] 302. Based on the weather conditions, determine the dynamic effects to be displayed; the dynamic effects include weather elements, display elements, and interactive effects, the weather elements indicate the weather conditions, the weather elements and the display elements have positional interactions that satisfy physical rules, and the interactive effects include effects generated after the positional interactions; the display elements include one or more combinations of the following: controls, icons, text, windows, or cards.
[0149] In particular, the execution subject of steps 301 and 302 can be a desktop process.
[0150] In one possible implementation, city information can be obtained (e.g., the user's city can be obtained via GPS, or the user can select the city on the operating system interface). Based on the city information, the associated weather conditions can be obtained through a remote server. The weather conditions here can refer to sunny, cloudy, rainy, snowy, wind level, temperature, etc.
[0151] The weather display effects can include weather elements, such as raindrops, snowflakes, and light. These weather elements can indicate the weather conditions and can move along trajectories and in ways that satisfy physical rules. For example, raindrops and snowflakes can move according to forces such as gravity, and light can propagate along the direction of light propagation.
[0152] In this embodiment of the application, in order to improve the display effect of weather display effects, weather elements and some display elements on the display interface can interact and display the effects after the interaction. Specifically, when the weather element moves to a display element on the display interface (that is, there is positional interaction, or it can be described as collision or contact), a positional interaction effect that meets the physical rules constraint can be displayed. This effect is the effect that will occur when the weather element and the display element have positional interaction, and it will be displayed in real time based on the position of the display element, thereby making the weather display effects more realistic and improving the presentation effect of the weather effects.
[0153] In one possible implementation, information about the visual elements (also referred to as display elements in this embodiment) that need to be displayed on the current screen can be obtained. These display elements can be elements on the desktop or within the application. That is, display elements capable of location interaction with weather elements can be elements at multiple operating system levels, such as system-level controls (e.g., windows, cards, desktop icons), or application-level objects (e.g., icons, text). The information about the display elements can include location, shape (e.g., outline, size), etc.
[0154] In other words, push notifications can be sent at various levels of the operating system, and weather elements can interact with control elements at various levels of the system.
[0155] For example, referring to Figure 4, the display area for animation effects can be on multi-level display elements, such as wallpapers, icons, and objects within the app. For example, referring to Figure 5, effects can be displayed on text, windows, icons, and controls within the app on the desktop.
[0156] When displaying weather elements, movement paths based on physical external forces can be simulated, including gravity falling, wind field influence simulation, and randomness. For example, referring to Figures 11A to 11E, raindrops or snowflakes can fall along gravity, and their movement paths and methods can be affected by wind fields.
[0157] Figures 11A to 11C illustrate how snowflakes accumulate on numbers after moving down along gravity and wind. Figure 11D illustrates how raindrops splash after colliding with numbers after moving down along gravity and wind. Figure 11E illustrates how raindrops splash after colliding with numbers after moving down along gravity and wind, and how the raindrops on the lower left side are intercepted because they collide with the numbers.
[0158] In one possible implementation, the weather element includes light, the positional interaction is light propagating onto the display element, and the interactive effects are light reflection, penetration, or changes in brightness.
[0159] For example, referring to the leftmost display page of Figure 12B, a light reflection effect can be created on the top of the numbers, the top of the cards, or the surface of the numbers. For example, referring to the third display page from the left of Figure 12B, a light reflection effect can be displayed on the cards being illuminated by lightning.
[0160] In one possible implementation, the weather element includes gas, the location interaction is the gas propagating onto the display element, and the interactive effect is the gas penetrating or drifting outside the display element.
[0161] For example, referring to the second display page from the left in Figure 12B, an effect of clouds passing through the numbers can be displayed. For example, referring to the rightmost display page in Figure 12B, an effect of fog drifting in front of the numbers can be displayed.
[0162] In one possible implementation, the weather element comprises a solid or liquid, the positional interaction is a collision between the solid or liquid and the display element, and the interaction effect is a collision effect or a post-collision accumulation.
[0163] For example, referring to Figure 12A, an effect of snowflakes piling up on numbers can be displayed. For example, referring to the third display page on the left in Figure 12B, an effect of rain falling on top of numbers can be displayed. For example, referring to the second display page on the right in Figure 12B, an effect of snowflakes piling up on numbers can be displayed.
[0164] The following describes how to determine dynamic effects. In this embodiment, the weather conditions and information about the display elements to be displayed (e.g., position, shape, etc.) can be obtained. Then, the dynamic effects to be displayed can be determined based on the weather conditions and the information about the display elements.
[0165] For example, referring to Figure 6, the 2D information collection service obtains a series of 2D control positions, 2D window positions, control property animations, window animation information, and outputs textures by 2D drawing; the 3D information collection service collects 3D physics and rendering related information; the collected information is handed over to the operating system's interactive computing module via API to calculate the physical state of each 2D and 3D object at the next moment.
[0166] Referring to Figure 7, the calculation modules of each control can calculate the physical state of each 2D and 3D object at the next moment; the 3D physics and rendering engine controls the display and drawing according to the output of the calculation module; the 2D engine controls the display and drawing of 2D controls, windows, and animations according to the output of the calculation module.
[0167] In one possible implementation, the configuration information of the rendering engine or the physics engine can also be obtained; based on the weather conditions and the configuration information of the rendering engine or the physics engine, the dynamic effects to be displayed can be determined through the rendering engine and the physics engine.
[0168] The rendering engine or physics engine can be built into the operating system. In other words, users (such as application developers) can directly use the operating system's physical simulation capabilities to obtain realistic and unified weather animations with lower development costs.
[0169] For example, the operating system has built physical simulation and rendering capabilities. Physical simulation enables the interaction between weather elements (such as clouds, rain, snow, etc.) and control information, while rendering capability enables the presentation of dynamic weather elements.
[0170] Specifically, the system-level physics engine can simulate a large number of physical objects in real time, requiring parallel simulation of physical micro-elements and pixel-level parallel display of the results. The physics engine embedded within the operating system can fully adapt to the parallel computing capabilities of the GPU, providing the GPU hardware with task orchestration information adapted to its capacity and specifications. The results of the GPU's parallel computing (including the animation process and rendering results at each time step) will be returned from the hardware to subsequent processes. The operating system API can send the animation process (position, speed, etc.) and rendering results (displayed image) back to the desktop system. The large desktop system can then push the obtained weather animation information at various levels.
[0171] In one possible implementation, weather effects can be displayed to developers via API. The logical chain of this technical solution involves the UI interface, the interaction between the UI interface and the 3D pipeline, the interaction between the 3D pipeline and the physics engine, and the rendering pipeline backend. A detailed flowchart of the solution can be shown in Figure 8.
[0172] Specifically, the physics-based weather effects API can be used to open up the basic capabilities of the physics engine to developers in a simple and easy-to-use way.
[0173] API interface input: Supports position, outline, size and other control information of all visual elements on the desktop (such as many apps, desktop controls, icon controls, card controls, text controls, etc.), as well as city weather information passed in by the user.
[0174] API Interface Output: The operating system API sends the motion effects process (position, speed, etc.) and rendering results (displayed images) back to the desktop system.
[0175] Through the API, developers can configure the generation parameters of weather effects (e.g., rendering engine configuration, physics engine configuration, UI configuration). A sample API function is shown below:
[0176] Referring to Figure 9, a physics engine can be used to achieve realistic weather animation effects. Through a physics engine, for example, physical simulation technology can be used to simulate the effects of rain, snow, and meteors in weather systems. It can simulate external forces, such as falling due to gravity or drifting in the wind. It can also simulate interactions between objects and collisions, such as water splashing, snow accumulation, and meteor showers.
[0177] For example, the following main steps may be included:
[0178] 1) Collider construction: Construct scene collider objects based on external input data, which can be expressed in ways such as [examples of methods].
[0179] 2) Generate rain and snow: Generate rain and snow micro-elements based on the type of emitter, generation range, and physical properties.
[0180] 3) Attribute Update: Update the location changes, volume, age, and other attributes of rain and snow caused by external forces (gravity, wind).
[0181] 4) Collision detection: The purpose of collision detection is to detect penetration during motion between consecutive frames.
[0182] 5) Collision Response: The collision response is based on the previously detected collisions and corrects the position of rain and snow to ensure no penetration.
[0183] Furthermore, referring to Figure 10, the physics and rendering engines can also be adapted to GPUs. Task orchestration is vertically optimized based on GPU characteristics to achieve efficient parallel computing. Power consumption optimizations implemented in the system-level physics and rendering engines can also yield system-level benefits. A typical usage method is to use ComputeShader parallelization technology in the physics engine, with each computing unit employing one ComputeShader thread; and to use FragmentShader parallelization technology in the rendering engine.
[0184] In one possible implementation, the Compute Shader determines the number of GPU threads by setting the size of the workgroup. Each thread corresponds to each simulated microelement, and the initial values of the simulated microelement are initialized and its lifecycle is managed through the thread ID. Threads perform parallel computations to achieve acceleration. Each microelement's lifecycle, from generation and collision to attribute updates and eventual termination, can have its GPU parallel portion executed as a Compute Shader kernel function. The system-level physics engine performs parallel computation adapted to the self-developed GPU (task orchestration combined with GPU characteristics) and performs vertical optimization.
[0185] 303. Display the aforementioned dynamic effects.
[0186] In one possible implementation, after displaying the dynamic effect, a gesture operation on the interactive effect can be obtained; and a collision effect is displayed after the location of the gesture operation collides with the interactive effect.
[0187] For example, dynamic effects could include snowflakes piling up, gesture controls could be swiping actions on the piling snowflakes, and collision effects could be the shaking off of snowflakes.
[0188] In one possible implementation, it is also possible to:
[0189] Obtain gesture operations for the displayed element;
[0190] The display shows the movement of the display element based on the gesture, and the display shows the new interactive effects formed as the display element moves.
[0191] Gesture operations involve swiping (or dragging) the displayed elements. Interactive effects can be the stacking of weather elements, which will produce a shaking effect as the displayed elements move (the shaking effect is also a new interactive effect). For details, please refer to Figure 9.
[0192] The following describes a user interface display method according to an embodiment of this application, referring to Figure 12C, including:
[0193] S1: The main desktop first obtains city information (which can be obtained from GPS or by selecting the city on the operating system interface). Based on the city information, it can obtain related weather information from a remote server. The weather information here refers to conditions such as sunshine, rain, snow, wind speed, and temperature.
[0194] S2: The large desktop process can obtain the position, outline, size and other control information of all visual elements on the operating system (such as many apps, desktop controls, icon controls, card controls, text controls, etc.), and combine it with the current city's weather information to call the operating system's weather animations through the API capabilities provided by the operating system.
[0195] S3: The operating system internally incorporates physical simulation and rendering capabilities. Physical simulation enables the interaction between weather elements (such as clouds, rain, snow, etc.) and control information, while rendering capabilities enable the presentation of dynamic weather elements.
[0196] S4: The system-level physics engine can simulate a large number of physical objects in real time. It requires parallel simulation of physical micro-elements and pixel-level parallel display of the results. The physics engine embedded in the operating system can fully adapt to the parallel computing capabilities of the self-developed GPU, and pass task orchestration information adapted to its capacity and specifications to the GPU hardware.
[0197] S5: The results of GPU parallel computing (including motion effects and rendering results at each time step) will be returned from the hardware to the subsequent process.
[0198] S6: The operating system API sends the motion effects process (position, speed, etc.) and rendering results (displayed images) back to the large desktop system.
[0199] S7: The large desktop system can push the obtained weather animation information to various levels.
[0200] Referring to Figure 13, which is a schematic diagram of the structure of an interface display device provided in an embodiment of this application, the device 1300 includes:
[0201] Module 1301 is used to obtain weather conditions;
[0202] The rendering module 1302 is used to determine the dynamic effects to be displayed based on the weather conditions; the dynamic effects include weather elements, display elements, and interactive effects, wherein the weather elements indicate the weather conditions, the weather elements and the display elements have positional interactions that satisfy physical rules, and the interactive effects include effects generated after the positional interactions; the display elements include one or more combinations of the following: controls, icons, text, windows, or cards;
[0203] Display module 1303 is used to display the dynamic effects.
[0204] In one possible implementation, the display element is an element on the desktop or within an application.
[0205] In one possible implementation, the weather element includes light, the positional interaction is light propagating onto the display element, and the interactive effects are light reflection, penetration, or changes in brightness.
[0206] In one possible implementation, the weather element includes gas, the location interaction is the gas propagating onto the display element, and the interactive effect is the gas penetrating or drifting outside the display element.
[0207] In one possible implementation, the weather element comprises a solid or liquid, the positional interaction is a collision between the solid or liquid and the display element, and the interaction effect is a collision effect or a post-collision accumulation.
[0208] In one possible implementation, after displaying the dynamic effect, the acquisition module is further configured to:
[0209] Obtain gesture operations for the aforementioned interactive effects;
[0210] The display module is also used to display the new interactive effect formed after the location of the gesture operation interacts with the interactive effect.
[0211] In one possible implementation, the acquisition module is further configured to:
[0212] Obtain gesture operations for the displayed element;
[0213] The display module is also used to display the movement of the display element based on the gesture operation, and to display new interactive effects formed as the interactive effects move with the display element.
[0214] In one possible implementation, the acquisition module is further configured to:
[0215] Obtain information about the display element, including its display position and display shape;
[0216] The rendering module is specifically used for:
[0217] The dynamic effects to be displayed are determined based on the weather conditions and the information of the displayed elements.
[0218] In one possible implementation, the acquisition module is further configured to:
[0219] Obtain the configuration information of the rendering engine or physics engine;
[0220] The rendering module is specifically used for:
[0221] Based on the weather conditions and the configuration information of the rendering engine or physics engine, the dynamic effects to be displayed are determined by the rendering engine and physics engine.
[0222] The following describes an execution device provided in an embodiment of this application. Please refer to Figure 14, which is a schematic diagram of the structure of an execution device provided in an embodiment of this application. The execution device 1400 can specifically be a mobile phone, tablet, laptop, smart wearable device, etc., and is not limited here. Specifically, the execution device 1400 includes: a receiver 1401, a transmitter 1402, a processor 1403, and a memory 1404 (the number of processors 1403 in the execution device 1400 can be one or more; Figure 14 shows one processor as an example). The processor 1403 may include an application processor 14031 and a communication processor 14032. In some embodiments of this application, the receiver 1401, transmitter 1402, processor 1403, and memory 1404 can be connected via a bus or other means.
[0223] Memory 1404 may include read-only memory and random access memory, and provides instructions and data to processor 1403. A portion of memory 1404 may also include non-volatile random access memory (NVRAM). Memory 1404 stores processor and operation instructions, executable modules, or data structures, or subsets thereof, or extended sets thereof, wherein the operation instructions may include various operation instructions for implementing various operations.
[0224] Processor 1403 controls the operation of the execution device. In specific applications, the various components of the execution device are coupled together through a bus system, which may include not only the data bus, but also power buses, control buses, and status signal buses. However, for clarity, all buses are referred to as the bus system in the diagram.
[0225] The methods disclosed in the embodiments of this application can be applied to or implemented by the processor 1403. The processor 1403 can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by the integrated logic circuits in the hardware of the processor 1403 or by instructions in software form. The processor 1403 can be a general-purpose processor, a digital signal processor (DSP), a microprocessor, or a microcontroller, and may further include an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The processor 1403 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 1404. Processor 1403 reads the information in memory 1404 and, in conjunction with its hardware, completes the steps of the above method.
[0226] Receiver 1401 can be used to receive input digital or character information, and to generate signal inputs related to the settings and function control of the execution device. Transmitter 1402 can be used to output digital or character information; transmitter 1402 can also be used to send instructions to the disk group to modify the data in the disk group.
[0227] In one embodiment of this application, the processor 1403 is used to execute the steps of the interface display method in the embodiment corresponding to FIG3.
[0228] This application also provides a computer program product including computer-readable instructions, which, when run on a computer, causes the computer to perform steps as performed by the aforementioned execution device, or causes the computer to perform steps as performed by the aforementioned training device.
[0229] This application also provides a computer-readable storage medium storing a program for signal processing, which, when run on a computer, causes the computer to perform steps as performed by the aforementioned execution device, or causes the computer to perform steps as performed by the aforementioned training device.
[0230] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.
[0231] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0232] 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.
[0233] 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 the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
Claims
1. A method for displaying an interface, characterized in that, The method includes: Get weather information; Based on the weather conditions, determine the dynamic effects to be displayed; the dynamic effects include weather elements, display elements, and interactive effects, the weather elements indicate the weather conditions, the weather elements and the display elements have positional interactions that satisfy physical rules, and the interactive effects include effects generated after the positional interactions; the display elements include one or more combinations of the following: controls, icons, text, windows, or cards; The dynamic effects are displayed.
2. The method according to claim 1, characterized in that, The weather element and the display element have positional interactions that satisfy physical rule constraints, including: the weather element moves along a path that satisfies physical rule constraints and then interacts with the display element at positions that satisfy physical rule constraints.
3. The method according to claim 1 or 2, characterized in that, The displayed elements are elements on the desktop or within an application.
4. The method according to any one of claims 1 to 3, characterized in that, The weather element includes light, the positional interaction is the propagation of light onto the display element, and the interactive effects are the reflection, penetration, or brightness changes of light.
5. The method according to any one of claims 1 to 4, characterized in that, The weather element includes gas, the positional interaction is the gas propagating onto the display element, and the interactive effect is the gas penetrating and drifting outside the display element.
6. The method according to any one of claims 1 to 5, characterized in that, The weather element includes solids or liquids, the positional interaction is the collision between the solid or liquid and the display element, and the interaction effect is a collision effect or a pile-up after a collision.
7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Obtain gesture operations for the aforementioned interactive effects; The display shows the interaction effect corresponding to the new position interaction formed after the location of the gesture operation interacts with the interaction effect, and the new position interaction satisfies physical rule constraints.
8. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Obtain a gesture operation for the displayed element; the gesture operation is used to move the displayed element; The interactive effects are displayed in the form of new positional interactions as the displayed elements move, and these new positional interactions satisfy physical rule constraints.
9. The method according to any one of claims 1 to 8, characterized in that, The method further includes: Obtain information about the display element, including its display position and display shape; The determination of the displayed dynamic effects based on the weather conditions includes: The dynamic effects to be displayed are determined based on the weather conditions and the information of the displayed elements.
10. The method according to any one of claims 1 to 9, characterized in that, The method further includes: Obtain the configuration information of the rendering engine or physics engine; The determination of the displayed dynamic effects based on the weather conditions includes: Based on the weather conditions and the configuration information of the rendering engine or physics engine, the dynamic effects to be displayed are determined by the rendering engine and physics engine.
11. An interface display device, characterized in that, The device includes: The acquisition module is used to obtain weather conditions; The rendering module is used to determine the dynamic effects to be displayed based on the weather conditions. The dynamic effects include weather elements, display elements, and interactive effects. The weather elements indicate the weather conditions, and the weather elements and the display elements have positional interactions that satisfy physical rules. The interactive effects include effects generated after the positional interactions. The display elements include one or more combinations of the following: controls, icons, text, windows, or cards. The display module is used to display the dynamic effects.
12. The apparatus according to claim 11, characterized in that, The weather element and the display element have positional interactions that satisfy physical rule constraints, including: the weather element moves along a path that satisfies physical rule constraints and then interacts with the display element at positions that satisfy physical rule constraints.
13. The apparatus according to claim 11 or 12, characterized in that, The displayed elements are elements on the desktop or within an application.
14. The apparatus according to any one of claims 11 to 13, characterized in that, The weather element includes light, the positional interaction is the propagation of light onto the display element, and the interactive effects are the reflection, penetration, or brightness changes of light.
15. The apparatus according to any one of claims 11 to 14, characterized in that, The weather element includes gas, the positional interaction is the gas propagating onto the display element, and the interactive effect is the gas penetrating and drifting outside the display element.
16. The apparatus according to any one of claims 11 to 15, characterized in that, The weather element includes solids or liquids, the positional interaction is the collision between the solid or liquid and the display element, and the interaction effect is a collision effect or a pile-up after a collision.
17. The apparatus according to any one of claims 11 to 16, characterized in that, The acquisition module is also used for: Obtain gesture operations for the aforementioned interactive effects; The display module is also used to display the new interactive effect formed after the location of the gesture operation interacts with the interactive effect.
18. The apparatus according to any one of claims 11 to 17, characterized in that, The acquisition module is also used for: Obtain a gesture operation for the displayed element; the gesture operation is used to move the displayed element; The display module is also used to display the interactive effects corresponding to the new positional interactions formed after the interactive effects move with the display elements, and the new positional interactions satisfy physical rule constraints.
19. The apparatus according to any one of claims 11 to 18, characterized in that, The acquisition module is also used for: Obtain information about the display element, including its display position and display shape; The rendering module is specifically used for: The dynamic effects to be displayed are determined based on the weather conditions and the information of the displayed elements.
20. The apparatus according to any one of claims 11 to 19, characterized in that, The acquisition module is also used for: Obtain the configuration information of the rendering engine or physics engine; The rendering module is specifically used for: Based on the weather conditions and the configuration information of the rendering engine or physics engine, the dynamic effects to be displayed are determined by the rendering engine and physics engine.
21. An interface display device, characterized in that, The device includes a memory and a processor; the memory stores code, and the processor is configured to retrieve the code and perform the method as described in any one of claims 1 to 10.
22. A computer-readable storage medium, characterized in that, Includes computer-readable instructions that, when executed on a computer device, cause the computer device to perform the method according to any one of claims 1 to 10.
23. A computer program product, characterized in that, Includes computer-readable instructions that, when executed on a computer device, cause the computer device to perform the method as described in any one of claims 1 to 10.
Citation Information
Patent Citations
Interface display method, device, terminal and storage medium
CN109241465A
Weather dynamic effect display method, computer storage medium and electronic equipment
CN116708640A
Weather dynamic effect display method, computer storage medium and electronic equipment
CN117793239A