Electronic device that generates background screen, and operating method thereof

The electronic device uses a generative AI model to regenerate background images based on real-time weather and time zone information, addressing the static nature of existing background images and enhancing user engagement.

WO2025127376A1PCT designated stage expired Publication Date: 2025-06-19SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/016152
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-19
Filing Date
2024-10-23
Publication Date
2025-06-19

AI Technical Summary

Technical Problem

Existing electronic devices lack the capability to dynamically generate and update background images based on real-time weather and time zone information, resulting in static and less engaging user experiences.

Method used

An electronic device equipped with one or more processors and memories, capable of separating foreground objects from background images, updating weather information, determining time zone information, and receiving regenerated background images from a generative AI model that incorporates weather and time zone data.

Benefits of technology

The solution enables the electronic device to display dynamic and contextually relevant background images, enhancing user engagement and providing a more realistic and interactive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024016152_19062025_PF_FP_ABST
    Figure KR2024016152_19062025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are an electronic device that generates a background screen and an operating method thereof. The disclosed electronic device may separate a foreground object from a background screen image of the electronic device. The electronic device may update weather information on the basis of situation information of the electronic device. The electronic device may determine time zone information to which the electronic device belongs, on the basis of a solar altitude determined according to location information and time information of the electronic device. The electronic device may receive a background screen image regenerated by reflecting the updated weather information and the determined time zone information, from a generative AI model to which the background screen image, the weather information, and the time zone information are input. The electronic device may display, on the regenerated background screen image, an image effect determined on the basis of the separated foreground object and the updated weather information.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device for generating wallpaper and method of operation thereof

[0001] Embodiments of the present disclosure relate to an electronic device for generating a background screen and a method of operating the same.

[0002] Various electronic devices such as smart phones, tablet PCs, portable multimedia players (PMPs), personal digital assistants (PDAs), laptop personal computers, and wearable devices are becoming widespread.

[0003] Electronic devices can display images stored on the device as wallpaper on the display. The electronic device can display the latest weather information through weather updates on the wallpaper displayed on the display.

[0004] According to one embodiment, an electronic device may include one or more processors and one or more memories that store instructions executable by the one or more processors. When at least some of the instructions stored in the one or more memories are executed by the one or more processors, at least some of the executed instructions may control the electronic device to perform the following operations. The electronic device may separate a foreground object from a wallpaper image of the electronic device. The electronic device may update weather information based on contextual information of the electronic device. The electronic device may determine time zone information to which the electronic device belongs based on a solar altitude determined based on location information and time information of the electronic device. The electronic device may receive a regenerated wallpaper image reflecting the weather information and time zone information from a generative AI model input with the wallpaper image, updated weather information, and determined time zone information. The electronic device may display an image effect determined based on the separated foreground object and the updated weather information on the regenerated wallpaper image.

[0005] According to one embodiment, a method of operating an electronic device may include an operation of separating a foreground object from a background image of the electronic device. The method of operating an electronic device may include an operation of updating weather information based on context information of the electronic device. The method of operating an electronic device may include an operation of determining time zone information to which the electronic device belongs based on a solar altitude determined based on location information and time information of the electronic device. The method of operating an electronic device may include an operation of receiving a background image regenerated by reflecting weather information and time zone information from a generative AI model input with a background image, updated weather information, and determined time zone information. The method of operating an electronic device may include an operation of displaying an image effect determined based on the separated foreground object and the updated weather information on the regenerated background image.

[0006] FIG. 1 is a block diagram of an electronic device within a network environment according to one embodiment.

[0007] FIG. 2 is a flowchart illustrating an operation method of an electronic device for generating a background image according to one embodiment.

[0008] FIG. 3 is a drawing illustrating an example of an operation of separating a foreground object from a background image according to one embodiment.

[0009] FIG. 4 is a diagram illustrating a process of regenerating a background image using a generative AI model according to one embodiment.

[0010] FIG. 5 is a diagram illustrating an example of a background image regenerated through a generative AI model according to one embodiment.

[0011] FIGS. 6A to 6C are drawings illustrating examples of displaying an image effect on a regenerated background image according to one embodiment.

[0012] Fig. 7 is a flowchart illustrating a method for updating weather information according to one embodiment.

[0013] FIG. 8 is a flowchart illustrating a method for determining a time zone within a day corresponding to the current time using solar altitude according to one embodiment.

[0014] FIG. 9 is a diagram illustrating a process of applying an image effect to a regenerated background image according to one embodiment.

[0015] FIG. 10 is a diagram illustrating a process of applying an image effect to a regenerated background image according to one embodiment.

[0016] FIG. 11 is a diagram illustrating an example of a generative artificial intelligence system according to one embodiment.

[0017] Hereinafter, embodiments will be described in detail with reference to the attached drawings. In the description with reference to the attached drawings, identical components are assigned the same reference numerals regardless of the drawing numbers, and redundant descriptions thereof will be omitted.

[0018] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).

[0019] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). The processor (120) may also be implemented as a system on chip (SoC) or an integrated circuit (IC) that performs processing. The processor (120) may include one or more processors, and the operations of the electronic device (101) described in the present disclosure may be performed by one processor or by a combination of multiple processors. When the operations of the electronic device (101) are performed by a combination of multiple processors, any one processor included in the combination of processors may perform some of the operations of the electronic device (101).

[0020] According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.

[0021] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

[0022] The memory (130) can store various data used by at least one component (e.g., the processor (120) or the sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., the program (140)) and input data or output data for commands related thereto. The memory (130) can include a volatile memory (132) or a non-volatile memory (134). The memory (130) can store at least one instruction executable by the processor (120). The memory (130) can include one or more memories, and instructions for controlling the processor (120) to perform operations of the electronic device (101) described in the present disclosure can be stored in one memory or can be divided and stored in multiple memories.

[0023] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).

[0024] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0025] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0026] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. In one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

[0027] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).

[0028] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0029] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0030] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0031] A haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. In one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0032] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.

[0033] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented, for example, as at least a part of a power management integrated circuit (PMIC).

[0034] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0035] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).

[0036] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.

[0037] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197). In an embodiment, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent to a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.

[0038] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).

[0039] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

[0040] Electronic devices according to the embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments disclosed in this document are not limited to the aforementioned devices.

[0041] The embodiments of this document and the terminology used herein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0042] The term "module" used in the embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0043] Embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.

[0044] According to one embodiment, the method according to the embodiments disclosed in the present document may be provided as a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0045] According to embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

[0046] According to one embodiment, the electronic device (101) may include one or more processors (120) and one or more memories (130) that store instructions executable by the one or more processors (120). When at least some of the instructions stored in the one or more memories (130) are executed by the one or more processors (120), at least some of the executed instructions may control the electronic device (101) (or the one or more processors (120)) to perform the following operations.

[0047] According to one embodiment, the electronic device (101) can separate a foreground object from a background image of the electronic device (101). The electronic device (101) can update weather information based on the context information of the electronic device (101). The electronic device (101) can determine time zone information to which the electronic device (101) belongs based on the solar altitude determined according to the location information and time information of the electronic device (101). The electronic device (101) can receive a background image regenerated by reflecting the weather information and the time zone information from a generative AI model into which the background image, the updated weather information, and the determined time zone information are input. The electronic device (101) can display an image effect determined based on the updated weather information together with the separated foreground object on the regenerated background image.

[0048] According to one embodiment, the operation of determining time zone information may calculate the solar altitude corresponding to the current time using the Equation of Time, which is the difference between the true solar time and the mean solar time, the Hour Angle, which is the angle formed by the meridian plane and the plane connecting the Earth's axis and the position of the Sun, and the Solar Declination. The operation of determining time zone information may determine the time zone information of the current time by comparing the calculated solar altitude with a solar altitude range preset for each time zone.

[0049] According to one embodiment, the calculated time zone information may be determined as one of morning, afternoon, evening, or night based on the preset solar altitude range.

[0050] According to one embodiment, the operation of updating weather information may be performed based on the last update time of the weather information and the presence of weather forecast information when the lock screen of the electronic device (101) is set, when the lock screen of the electronic device (101) is screen-on, or according to a weather alarm set by the user.

[0051] According to one embodiment, the operation of updating weather information may display the weather information as the latest weather information if the last update time is within a preset first hour.

[0052] In one embodiment, the action of updating weather information may identify whether weather forecast information corresponding to the current time exists if the last update time exceeds a preset first hour and is within a preset second hour. If weather forecast information corresponding to the current time exists, the action of updating weather information may display the weather forecast information on the lock screen. If weather forecast information corresponding to the current time does not exist, the action of updating weather information may request the user to update the weather information.

[0053] In one embodiment, the operation of updating weather information may obtain information regarding the execution time of a weather alarm set by the user. The operation of updating weather information may generate a schedule for updating weather information using the acquired execution time of the weather alarm. The operation of updating weather information may update weather information based on the generated schedule.

[0054] According to one embodiment, the operation of receiving the regenerated image may include receiving a regenerated background image in which a weather effect is applied to a background object excluding the foreground object from the generative AI model when a foreground object is identified in the background image, and a time-of-day effect is applied to the entire background image.

[0055] In one embodiment, the operation of receiving a regenerated image may include receiving a regenerated wallpaper image by applying weather effects and time-of-day effects to the entire wallpaper image from the generative AI model when no foreground object is identified in the wallpaper image.

[0056] According to one embodiment, the action of displaying on the regenerated background image may display a main effect corresponding to the current time's weather information in response to the entire regenerated background image, between the regenerated background image and a separate foreground object.

[0057] According to one embodiment, the action of displaying on the regenerated background image may include displaying an additional effect corresponding to the current time's weather information on top of a separated foreground object in response to the separated foreground object.

[0058]

[0059] FIG. 2 is a flowchart illustrating an operating method of an electronic device for generating a background image according to one embodiment. In one embodiment, at least one of the operations in FIG. 2 may be performed simultaneously or in parallel with other operations, and the order of the operations may be changed. Furthermore, at least one of the operations may be omitted, and other operations may be additionally performed.

[0060] According to one embodiment, one or more processors (e.g., the processor (120) of FIG. 1) included in an electronic device (e.g., the electronic device (101) of FIG. 1) may, in operation (210), separate a foreground object from a background image of the electronic device selected by a user. More specifically, the foreground object may refer to an object corresponding to a person or an animal, but this is merely an example and may also include an object corresponding to a plant or an object. For example, when regenerating a background image of a snowy day, one or more processors may separate not only a person but also flowers around the person as foreground objects to provide a weather effect of accumulating snow, thereby regenerating a more natural and realistic background image.

[0061] Referring to FIG. 3, an operation of separating a foreground object from a background image is described. One or more processors can extract foreground objects included in the background image using the ObjectCapture engine. More specifically, the ObjectCapture engine can recognize shapes in the background image through color-based segmentation, and extract only objects that have shapes corresponding to humans or animals as foreground objects among the recognized shapes. At this time, if there are two or more extracted foreground objects, the ObjectCapture engine can recognize each foreground object as a layer and determine the relative layer positions between the foreground objects. Meanwhile, the background image can maintain the original image by extracting only foreground objects.

[0062] Returning to FIG. 2, at operation (220), one or more processors may update weather information based on contextual information of the electronic device. More specifically, one or more processors may identify at least one contextual information related to conditions for updating weather information, and, if any one of the contextual information is identified, update the weather information.

[0063] To display the latest weather information on the lock screen, the information may need to be updated from the server that provides the information. However, this process may involve a delay, which may prevent the user from immediately seeing the latest weather information. If the electronic device continuously requests updates for weather information while locked, this may result in unnecessary power consumption, which may lead to rapid battery discharge. Therefore, the electronic device needs to keep update requests to a minimum to prevent unnecessary power consumption. While the following description focuses on updating weather information based on the lock screen, the weather information update method provided by the present invention can be equally applied to various screens of the electronic device where weather information is displayed (e.g., home screen, call transmission / reception screen, user profile screen, etc.).

[0064] To this end, one or more processors can provide weather information updates on the lock screen only when preset context information for the electronic device is identified, thereby obtaining the latest weather information with minimal update requests while eliminating the problem of unnecessary power consumption.

[0065] According to one embodiment, one or more processors may update weather information on the lock screen when the lock screen of the electronic device is set. For example, the one or more processors may update weather information when lock screen-related settings are changed, such as changing the lock screen wallpaper image or lock method. In this case, the one or more processors may update the weather information on the lock screen based on the last time the weather information was updated and the current time when the lock screen is set.

[0066] For example, if the current time at which the lock screen is set is within a first preset time (e.g., 1 hour) from the last update time, one or more processors may display the weather information displayed on the lock screen as the latest weather information. Alternatively, if the current time at which the lock screen is set is greater than the first preset time and within a second preset time (e.g., 3 hours) from the last update time, one or more processors may identify whether weather forecast information corresponding to the current time exists. In this case, the weather forecast information corresponding to the current time may refer to the predicted weather information for the current time updated at the last update time.

[0067] If weather forecast information corresponding to the current time exists, one or more processors may display the weather forecast information as the latest weather information on the lock screen. If weather information corresponding to the current time does not exist, one or more processors may request a weather information update from the user. If an update is required, one or more processors may provide the user with an indicator indicating that an update is required or provide a refresh button for updating the weather information.

[0068] According to one embodiment, one or more processors may update weather information on the lock screen when the lock screen of the electronic device is turned on. Similarly, the one or more processors may update the weather information on the lock screen based on the last time the weather information was updated on the lock screen and the current time when the lock screen is turned on.

[0069] For example, one or more processors may display the weather information displayed on the lock screen as the latest weather information if the current time when the lock screen is turned on is within a first preset time (e.g., 1 hour) from the last update time. Alternatively, one or more processors may identify whether weather forecast information corresponding to the current time exists if the current time when the lock screen is turned on exceeds the first preset time and is within a second preset time (e.g., 3 hours) from the last update time.

[0070] If weather forecast information corresponding to the current time exists, one or more processors may display the weather forecast information as the latest weather information on the lock screen. If weather information corresponding to the current time does not exist, one or more processors may request a weather information update from the user. If an update is required, one or more processors may provide the user with an indicator indicating that an update is required or provide a refresh button for updating the weather information.

[0071] According to one embodiment, one or more processors can identify a weather alarm set by a user and update weather information on a lock screen. More specifically, the one or more processors can obtain information regarding the execution time of the weather alarm set by the user and generate a schedule for updating weather information using the obtained execution time of the weather alarm. The one or more processors can update weather information on the lock screen based on the schedule generated in this way. For example, the one or more processors can generate a schedule for updating weather information at the execution time of the weather alarm set by the user, or a schedule for updating weather information prior to the execution time of the weather alarm (e.g., 30 minutes prior).

[0072] At this time, one or more processors may also update the weather information on the lock screen based on the last time the weather information on the lock screen was updated and the current time at which the weather information is updated through the generated schedule.

[0073] For example, one or more processors may display the weather information displayed on the lock screen as the latest weather information if the current time at which the weather information is updated is within a first preset time (e.g., 1 hour) based on a schedule generated from the last update time. Alternatively, one or more processors may identify whether weather forecast information corresponding to the current time exists if the current time at which the weather information is updated is beyond the first preset time and within a second preset time (e.g., 3 hours) based on a schedule generated from the last update time.

[0074] If weather forecast information corresponding to the current time exists, one or more processors may display the weather forecast information as the latest weather information on the lock screen. If weather information corresponding to the current time does not exist, one or more processors may request a weather information update from the user. If an update is required, one or more processors may provide the user with an indicator indicating that an update is required or provide a refresh button for updating the weather information.

[0075] In one embodiment, one or more processors may update weather information on the lock screen when the region to which the electronic device belongs changes due to movement of the electronic device. For example, when the base station to which the electronic device is connected changes due to movement of the electronic device, the one or more processors may update the weather information on the lock screen at the time the base station to which the device is connected changes.

[0076] In operation (230), one or more processors may determine the time zone information of the day to which the electronic device belongs based on the solar altitude determined based on the location information and time information of the electronic device. More specifically, one or more processors may divide the day into time zones, such as morning, afternoon, evening, or night, based on the passage of time. However, such time zone division criteria are merely examples and are not limited to the above examples.

[0077] In one embodiment, one or more processors may determine the time zone information of the electronic device based on the current time based on the solar altitude. For example, in countries with high latitudes where the sun rises early but the altitude is low, resulting in less sunlight, time zones such as mornings are longer. Furthermore, in summer, the sun rises earlier and sets later than in winter, resulting in shorter time zones such as nights. The one or more processors may determine the time zone information of the electronic device to reflect these country-specific and seasonal characteristics based on the solar altitude. This determined time zone information may be used to provide a more realistic background image to the user.

[0078] More specifically, one or more processors can calculate the solar altitude corresponding to the current time using (i) the Equation of Time, which is the difference between the true solar time and the mean solar time, (ii) the Hour Angle, which is the angle formed by the meridian plane and the plane connecting the Earth's axis and the position of the Sun, and (iii) the Solar Declination. At this time, (i) the Equation of Time, (ii) the Hour Angle, and (iii) the Solar Declination for calculating the solar altitude can be determined by one or more processors using Equations 1 to 3 below.

[0079] Here, the equation of time is a value required to obtain the hour angle, and can be expressed as in Equation 1 below.

[0080] <Formula 1>

[0081]

[0082]

[0083] Here, represents the equation of time, , and n is the day that determines the equation of time in a year ( ) can be expressed.

[0084] The hour angle refers to the angle formed by the 'meridian' and the 'plane connecting the Earth's axis and the position of the sun' on the celestial sphere, and the hour angle can be used to calculate the position of the sun at a specific time in degrees.

[0085] More specifically, the time angle can be expressed as in Equation 2 below.

[0086] <Formula 2>

[0087]

[0088] Here, represents the hour angle, represents local standard time, represents local longitude, can represent the standard meridian longitude, which is the basis of standard time.

[0089] Solar declination refers to the angle between the direction of the sun and the direction of the North Pole, and can be expressed as in Equation 3 below.

[0090] <Formula 3>

[0091]

[0092] Here, δ can represent the solar declination.

[0093] One or more processors may be configured to execute a time-based And using the solar declination δ, the solar altitude, which is the angle formed between the sun and the Earth's surface, can be calculated as shown in Equation 4 below.

[0094] <Formula 4>

[0095]

[0096] Here, can represent solar altitude.

[0097] According to one embodiment, one or more processors may determine the time zone information of the current time by comparing the calculated solar altitude with a solar altitude range preset for each time zone. For example, the one or more processors may determine the time zone of the current time as morning when the solar altitude is between -3° and 10°, and may determine the time zone of the current time as afternoon when the solar altitude is between 10° and just before sunset (5°). In addition, the one or more processors may determine the time zone of the current time as evening when the solar altitude is between 5° and -3°, and may determine the time zone of the current time as night for all other solar altitudes. However, the solar altitude range for determining the time zone is merely an example and is not limited to the above example.

[0098] In operation (240), one or more processors may receive a regenerated wallpaper image by reflecting weather information and time zone information from a generative AI model into which the wallpaper image, updated weather information, and time zone information of the current time are input.

[0099] More specifically, when a foreground object is identified in the background image, the one or more processors may receive a regenerated background image with weather effects applied to background objects excluding the foreground object and time-of-day effects applied to the entire background image from the generative AI model. Conversely, when a foreground object is not identified in the background image, the one or more processors may receive a regenerated background image with both weather effects and time-of-day effects applied to the entire background image from the generative AI model.

[0100] Referring to FIG. 4, a process of regenerating a background image using a generative AI model will be described. The generative AI model (400) can receive text information (e.g., "To Snowy") about a background image to be regenerated through a text encoder, and obtain text conditioning for regenerating the background image. More specifically, the text encoder can extract words from text information using a tokenizer and then convert the extracted words into numbers, thereby generating text conditioning corresponding to a text embedding in a vector form.

[0101] The generative AI model (400) can obtain a background image (e.g., "Snowy") corresponding to text information (e.g., "To Snowy") as an output image through a decoder after repeating a denoising process for image noise using text conditioning through a Denoising U-Net.

[0102] At this time, the generative AI model (400) can obtain a background image that is similar to the original and reflects text information as an output image by additionally using image conditioning corresponding to the original obtained through the trained T2I-adapter model (410). More specifically, the T2I-adapter model (410) can obtain image conditioning from the background image corresponding to the original. The image conditioning obtained at this time can include information on various objects included in the background image corresponding to the original. The generative AI model (400) can regenerate a background image that includes various objects included in the original and reflects effects according to text information by using such image conditioning.

[0103] Meanwhile, the generative AI model (400) can re-extract the same foreground object from the regenerated background image using the extracted foreground object using the ObjectCapture engine. The generative AI model (400) can re-generate a foreground object having a similar color to the re-generated background image by reflecting effects according to text information on the re-extracted foreground object. The re-generated foreground object can be used to provide image effects later.

[0104] Referring to Fig. 5, an example of a background image regenerated through a generative AI model is described. The generative AI model can receive a background image, current time weather information, and current time zone information as input from an electronic device, and regenerate a background image reflecting the current time weather information and time zone information.

[0105] For example, let's assume that a background image (510) corresponding to a clear day in the evening is input to a generative AI model through the setting of a background image for the lock screen. If the current weather information received from the electronic device is a clear day and the time zone information is afternoon, the generative AI model can regenerate a background image (520) by applying a weather effect corresponding to a clear day (e.g., sun, etc.) to background objects excluding foreground objects and applying a time zone effect corresponding to afternoon to the entire background image. Thereafter, the generative AI model can regenerate a foreground object by re-extracting a foreground object from the re-extracted background image (520) and reflecting the weather effect corresponding to a clear day and the time zone effect corresponding to afternoon to the re-extracted foreground object.

[0106] Alternatively, if the current weather information received from the electronic device indicates a rainy day and the time zone information indicates afternoon, the generative AI model may regenerate a background image (530) by applying a weather effect corresponding to a rainy day (e.g., raindrops, etc.) to background objects excluding foreground objects and applying a time zone effect corresponding to afternoon to the entire background image. Thereafter, the generative AI model may regenerate a foreground object by re-extracting the foreground object from the re-generated background image (530) and reflecting the weather effect corresponding to a rainy day and the time zone effect corresponding to afternoon to the re-extracted foreground object.

[0107] Alternatively, if the current weather information received from the electronic device indicates a snowy day and the time zone information indicates evening, the generative AI model may regenerate a wallpaper image (540) by applying a weather effect corresponding to a snowy day (e.g., snowflakes, etc.) to background objects excluding foreground objects and applying a time zone effect corresponding to evening to the entire wallpaper image. Thereafter, the generative AI model may regenerate a foreground object by re-extracting the foreground object from the re-generated wallpaper image (540) and reflecting the weather effect corresponding to a snowy day and the time zone effect corresponding to evening to the re-extracted foreground object.

[0108] Alternatively, if the current weather information received from the electronic device is a cloudy day and the time zone information is evening, the generative AI model can regenerate a wallpaper image (550) by applying a weather effect corresponding to a cloudy day (e.g., dark clouds, etc.) to background objects excluding foreground objects and applying a time zone effect corresponding to evening to the entire wallpaper image. Thereafter, the generative AI model can regenerate a foreground object by re-extracting the foreground object from the re-generated wallpaper image (550) and reflecting the weather effect corresponding to a cloudy day and the time zone effect corresponding to evening to the re-extracted foreground object.

[0109] Meanwhile, in the above example, the generative AI model provides a configuration that regenerates a wallpaper image by reflecting weather information of the area to which the electronic device belongs, but the generative AI model can also analyze a wallpaper image received from an electronic device to identify the location where the wallpaper image was taken or the location indicated by the wallpaper image, and regenerate the wallpaper image based on the identified shooting location or the location indicated by the wallpaper image.

[0110] In one embodiment, the generative AI model can identify the shooting location of the received wallpaper image by using location information recorded in the detailed information of the received wallpaper image (e.g., photo metadata (exchangeable image file format, EXIF)). The generative AI model can regenerate the wallpaper image by reflecting weather information and time zone information corresponding to the specified shooting location.

[0111] In one embodiment, the generative AI model can use an image of a specific location (e.g., the Eiffel Tower, etc.) analyzed from a received wallpaper image to identify the location represented by the wallpaper image, and can also regenerate the wallpaper image by reflecting weather information and time zone information corresponding to the current time of the specific location (e.g., Paris, France, etc.).

[0112] Returning to FIG. 2, in operation (250), one or more processors may display an image effect determined based on updated weather information on the regenerated background image. Referring to FIGS. 6A to 6C, the operation of displaying the image effect on the regenerated background image may be described. One or more processors may display a main effect corresponding to the current weather information on the regenerated background image using particles according to the weather type.

[0113] For example, referring to FIG. 6A, if the current weather information indicates a snowy day, the electronic device can generate particles corresponding to snowflakes and display them on a regenerated background image to express a snowfall effect. At this time, the displayed particles can be implemented dynamically to express more realistic weather information, or they can be implemented statically. In the above example, the electronic device only provides a configuration in which the main effect through particles corresponding to snowflakes is displayed on the regenerated background image, but this is only one example, and various main effects can be provided through various types of particles indicating the type of weather (e.g., raindrops, clouds, etc.).

[0114] Meanwhile, the size and number of particles used to express the main effect may be determined based on the severity of the current weather. For example, if the current weather is drizzling, one or more processors may express the main effect using raindrops of smaller size and smaller number than those in a heavy rainy day. As another example, if the current weather is snowing, one or more processors may express the main effect using snowflakes of larger size and larger number than those in a sleet-like day.

[0115] For example, Table 1 below shows particle effects differentiated by weather intensity. The numbers in parentheses () in Table 1 represent particle effects based on weather intensity. A larger number indicates a higher level of particle effect for higher weather intensity.

[0116] SunnyRainSnowSunnyShower(1)Snow(2)HotRain(2)Flurries(Light snow)(1)Heavy rain(3)Rain and snow mixed(1)(1)Mostly cloudy with shower(1)Mostly cloudy with flurries(1)Partly sunny with shower(1)Partly sunny with flurries(1)Mostly cloudy with snow(2)

[0117] Here, Rain and snow mixed(1)(1) may mean a combination of the 1st stage particle effect of Rain and the 1st stage particle effect of Snow.

[0118] One or more processors can display additional effects corresponding to the current weather information on the regenerated background image through particles that interact with foreground objects. For example, referring to FIG. 6B, if the current weather information is a snowy day, the electronic device can generate particles corresponding to snowflakes to express additional effects accumulating on the head or shoulders of a foreground object, such as a person. Alternatively, if the current weather information is a rainy day, the electronic device can generate particles corresponding to raindrops to express additional effects bouncing off the head or shoulders of a foreground object, such as a person. However, these additional effects are only examples, and various additional effects can be provided to foreground objects through various types of particles representing different types of weather.

[0119] As with the main effect, the expression level of particles for additional effects may be determined based on the intensity of the current weather. For example, if the current weather is drizzling, one or more processors may express the additional effect such that particles corresponding to raindrops bounce less off foreground objects such as a person's head or shoulder than in a case of heavy rain. As another example, if the current weather is snowing, one or more processors may express the additional effect such that particles corresponding to snowflakes accumulate more thickly on foreground objects such as a person's head or shoulder than in a case of sleet.

[0120] Meanwhile, one or more processors may change the degree of expression of particles for expressing the main effect and the secondary effect according to the movement of the electronic device. For example, as the tilt of the electronic device increases, one or more processors may increase the size and number of particles for expressing the main effect, or increase the movement speed of the particles. In another example, as the tilt of the electronic device increases, one or more processors may increase the degree to which particles for expressing the secondary effect bounce off foreground objects, increase the thickness of the particles, or increase the movement speed of the particles.

[0121] Referring to FIG. 6c, the electronic device may display a main effect and an additional effect corresponding to the weather information at the current time on a regenerated background image through separate layers. More specifically, one or more processors may insert a third layer, in which the main effect corresponding to the weather information at the current time is displayed corresponding to the entire regenerated background image, between the first layer corresponding to the regenerated background image and the second layer corresponding to the separated foreground object. In addition, the one or more processors may place a fourth layer, in which the additional effect corresponding to the weather information at the current time is displayed corresponding to the separated foreground object, on top of the second layer corresponding to the separated foreground object.

[0122] According to one embodiment, the electronic device (101) can separate a foreground object from a background image of the electronic device (101). The electronic device (101) can update weather information based on the context information of the electronic device (101). The electronic device (101) can determine time zone information to which the electronic device (101) belongs based on the solar altitude determined according to the location information and time information of the electronic device (101). The electronic device (101) can receive a background image regenerated by reflecting the weather information and the time zone information from a generative AI model into which the background image, the updated weather information, and the determined time zone information are input. The electronic device (101) can display an image effect determined based on the separated foreground object and the updated weather information on the regenerated background image.

[0123] According to one embodiment, the operation of determining time zone information may calculate the solar altitude corresponding to the current time using the Equation of Time, which is the difference between the true solar time and the mean solar time, the Hour Angle, which is the angle formed by the meridian plane and the plane connecting the Earth's axis and the position of the Sun, and the Solar Declination. The operation of determining time zone information may determine the time zone information of the current time by comparing the calculated solar altitude with a solar altitude range preset for each time zone.

[0124] According to one embodiment, the operation of updating weather information may be performed based on the last update time of the weather information and the presence of weather forecast information when the lock screen of the electronic device (101) is set, when the lock screen of the electronic device (101) is screen-on, or according to a weather alarm set by the user.

[0125] According to one embodiment, the operation of updating weather information may display the weather information as the latest weather information if the last update time is within a preset first hour.

[0126] In one embodiment, the action of updating weather information may identify whether weather forecast information corresponding to the current time exists if the last update time exceeds a preset first hour and is within a preset second hour. If weather forecast information corresponding to the current time exists, the action of updating weather information may display the weather forecast information on the lock screen. If weather forecast information corresponding to the current time does not exist, the action of updating weather information may request the user to update the weather information.

[0127] In one embodiment, the operation of updating weather information may obtain information regarding the execution time of a weather alarm set by the user. The operation of updating weather information may generate a schedule for updating weather information using the acquired execution time of the weather alarm. The operation of updating weather information may update weather information based on the generated schedule.

[0128] According to one embodiment, the action of displaying on the regenerated background image may display a main effect corresponding to the current time's weather information in response to the entire regenerated background image, between the regenerated background image and a separate foreground object.

[0129] In one embodiment, the action of displaying on the regenerated background image may include displaying an additional effect corresponding to the current time's weather information on top of a separated foreground object in response to the separated foreground object.

[0130]

[0131] Figure 7 is a flowchart illustrating a method for updating weather information according to one embodiment. In one embodiment, at least one of the operations in Figure 7 may be performed concurrently or in parallel with other operations, and the order of the operations may be changed. Furthermore, at least one of the operations may be omitted, and other operations may be additionally performed.

[0132] According to one embodiment, one or more processors (e.g., processor (120) of FIG. 1) included in an electronic device (e.g., electronic device (101) of FIG. 1) may, in operation (702), update weather information on a lock screen when a lock screen is set. For example, one or more processors may update weather information on a lock screen when one of images selected by a user from among images included in a gallery, etc., is set as a background image of the lock screen.

[0133] In operation (704), one or more processors may determine whether the current time at which the lock screen is set is more than one hour from the time at which the weather information on the lock screen was last updated. If it is determined that the current time at which the lock screen is set is less than one hour from the time at which the weather information on the lock screen was last updated, in operation (706), one or more processors may display the weather information displayed on the lock screen as the latest weather information, and determine the main effect and the additional effect based on the displayed latest weather information.

[0134] Alternatively, if the current time at which the lock screen is set is determined to be more than 1 hour from the last update time, one or more processors may determine in operation (708) whether the current time at which the lock screen is set is within N hours from the last update time. For example, N may be 3, but this is only one example and is not limited to the above example.

[0135] If it is determined that the current time at which the lock screen is set is within N hours from the last update time, one or more processors may determine whether weather forecast information corresponding to the current time exists in operation (710). If it is determined that weather forecast information corresponding to the current time exists, one or more processors may display the weather forecast information corresponding to the current time as the latest weather information on the lock screen in operation (712), and may determine the main effect and the additional effect based on the displayed latest weather information.

[0136] Conversely, if it is determined that there is no weather forecast information corresponding to the current time, one or more processors may identify the need for a weather information update at step (714). Basically, a weather app that provides weather information may automatically update itself according to a preset update cycle. Accordingly, one or more processors may request the weather app to update the weather information at each preset update cycle at step (716). Alternatively, one or more processors may request the weather app to update the weather information if the weather information has not been updated within a preset maximum update time (e.g., 3 hours).

[0137] Meanwhile, if automatic weather information updates are not performed in the weather app due to network issues or if a request for an update of the latest weather information is received from the user, one or more processors may provide an indicator to the user indicating that an update is required or provide a refresh button for updating the weather information.

[0138] In operation (716), one or more processors may request a weather information update from the user, and in operation (718), the success or failure of the weather information update may be determined. If the weather information update is determined to be successful, the one or more processors may update weather forecast information in operation (720), and in operation (706), the updated weather forecast information may be used to display the latest weather information on the lock screen.

[0139] According to one embodiment, one or more processors may, in operation (722), update weather information on the lock screen when the lock screen of the electronic device is turned on. The subsequent process of updating weather information on the lock screen is identical to operations (704) to (720), and thus a detailed description thereof will be omitted.

[0140] According to one embodiment, one or more processors may identify a user-set weather alarm and update weather information on the lock screen. More specifically, in operation (724), one or more processors may obtain information regarding the execution time of the user-set weather alarm.

[0141] In operation (726), one or more processors may generate a schedule for updating weather information using the execution time of the acquired weather alarm. For example, one or more processors may generate a schedule for updating weather information at the execution time of the weather alarm set by the user, or a schedule for updating weather information 30 minutes before the execution time of the weather alarm. Alternatively, one or more processors may generate a schedule for updating weather information using the user's electronic device usage pattern if no separate weather alarm is set. For example, one or more processors may analyze the user's daily weather pattern using the electronic device usage pattern, and generate a schedule for updating weather information using the daily expected wake-up time predicted by the analyzed daily weather pattern. Alternatively, one or more processors may determine that the user is likely to check the terminal when an event that is likely to cause the user to check the electronic device while sleeping (e.g., receiving a phone call or text message, application notification, etc.) occurs, and a schedule for updating weather information may be generated. However, the method for generating a schedule for updating weather information is merely an example and is not limited to the above example.

[0142] In operation (728), one or more processors may determine whether the schedule generated in this manner has expired, and if it is determined that the schedule has expired, the process of updating weather information on the lock screen may proceed. The process of updating weather information on the lock screen thereafter is also identical to operation (704) to operation (720), and therefore, a detailed description thereof will be omitted.

[0143]

[0144] Figure 8 is a flowchart illustrating a method for determining a time zone within a day based on the current time using solar altitude, according to one embodiment. In one embodiment, at least one of the operations in Figure 8 may be performed concurrently or in parallel with other operations, and the order of the operations may be changed. Furthermore, at least one of the operations may be omitted, and other operations may be additionally performed.

[0145] According to one embodiment, one or more processors (e.g., processor (120) of FIG. 1) included in an electronic device (e.g., electronic device (101) of FIG. 1) may, when the lock screen of the electronic device is turned on (802), check the latitude and longitude of the region where weather information is displayed and the current time of the region in operation (804).

[0146] In operation (806), one or more processors may calculate the solar altitude of the corresponding area using the identified latitude and longitude and the current time. At this time, one or more processors may calculate the solar altitude corresponding to the current time using the equation of time, which is the difference between the true solar time and the mean solar time, the hour angle, which is the angle formed by the plane connecting the meridian and the Earth's axis and the position of the sun, and the solar declination.

[0147] In operation (808), one or more processors may determine whether the current time is before noon (12 PM). If the current time is determined to be before noon, the one or more processors may determine whether the calculated solar altitude is between -3° and 10° in operation (810). If the calculated solar altitude is determined to be between -3° and 10°, the one or more processors may determine the time zone information of the current time as AM in operation (812).

[0148] In contrast, in operation (808), if it is determined that the current time is not before noon, one or more processors may determine whether the calculated solar altitude is between -3° and 5° in operation (814). If it is determined that the calculated solar altitude is between -3° and 5°, one or more processors may determine the time zone information of the current time as evening in operation (816).

[0149] Meanwhile, if one or more processors determine that the solar altitude calculated in operation (810) is not between -3° and 10° and determine that the solar altitude calculated in operation (814) is not between -3° and 5°, then in operation (818), the processors may determine whether the calculated solar altitude exceeds 0°. If the calculated solar altitude exceeds 0°, the processors may determine the time zone information of the current time as afternoon in operation (820). Conversely, if the calculated solar altitude does not exceed 0°, the processors may determine the time zone information of the current time as night in operation (822).

[0150] However, the solar altitude range for determining such time zones is only an example and is not limited to the above example.

[0151]

[0152] FIG. 9 is a flowchart illustrating a process of applying an image effect to a regenerated background image according to one embodiment.

[0153] Referring to FIG. 9, one or more processors (e.g., processor (120) of FIG. 1) included in an electronic device (e.g., electronic device (101) of FIG. 1) may request (912) a wallpaper creation app, Wallpaper (903), to set a specific image as a wallpaper image of the lock screen through a setting screen (902). Referring to FIG. 10, a process of applying an image effect to a regenerated background image will be described. The operation (912) of FIG. 9 may correspond to a process in which 'Change wallpapers' is selected (1010) in the 'Wallpaper and style' menu of the settings screen, 'Photo ambient' of 'AI wallpaper' is selected (1020) in the 'Wallpapers' menu, a specific image (e.g., the 4th image) is selected (1030) in the 'Select item' menu, and a 'Done' button present in the upper right corner of the screen on which the selected specific image is displayed is selected (1040). At this time, a preview icon may be provided at the lower left corner of the screen on which the selected specific image is displayed, and when the preview icon is selected, one or more processors may provide some of the states in which weather effects are applied to the selected specific image in the form of a preview.

[0154] Returning to FIG. 9 again, when a request to set a specific image as a wallpaper image is identified, one or more processors may set the specific image as a wallpaper image via Wallpaper (903), which may correspond to image (1050) of FIG. 10.

[0155] At the same time, one or more processors may request (914) the generative AI model (904) to regenerate the wallpaper image by reflecting weather information and time zone information on the set wallpaper image. More specifically, when requesting the generative AI model (904) to regenerate the wallpaper image, the one or more processors may select one piece of weather information and one piece of time zone information as shown in Table 2 below and request the regeneration of the wallpaper image. For example, the one or more processors may select 'sunny' from the weather information and 'morning' from the time zone information and request the generative AI model (904) to regenerate the wallpaper image, and the generative AI model (904) may regenerate the wallpaper image corresponding to the morning of a sunny day based on the selected 'sunny' weather information and 'morning' time zone information. However, the number of weather information and time zone information selected to request the regeneration of the wallpaper image is merely an example and is not limited to the above example.

[0156] TaskTask Key NameRequired FieldExamplesGenImage(Wallpaper)"img2wallpaper"Requestidtask(optional) manual_seedinit_image(refer to base64-encoded string-Encode image)weather(choose one of sunny, rainy, cloudy, snowy, foggy, None)times(choose one of morning, noon, evening, night, None){"id": id value you created yourself (example: 6c90f2c8-9d86-4ede-8519-183c46bebdad),"task": "img2wallpaper"."weather": "sunny"."times": "None"."init_image": " <blob>,"lang": "dummy"."prompt": "dummy"."negative_prompt": "dummy"}Responseidprompt (the number may be different from the prompt in the input)dialogimageOutput{"id": "6c90f2c8-9d86-4ede-8519-183c46bebdad"."prompt": ["dummy"]"dialog": "dummy"."images": ["f5f86c46-6602-44e0-ab14-77aa1e518f66.png"],"is_input_valid": "True"}

[0157] Since the generative AI model (904) takes time in the process of regenerating the background image, when a request for regeneration of the background image is identified, one or more processors may request (916) to register a schedule through the Work Manager (905) to regenerate the background image in the background. At this time, the Work Manager (905) may be a module that executes a scheduler to execute the registered schedule when a specific condition is satisfied. To this end, one or more processors may register a trigger condition for the scheduler to execute the registered schedule through the Work Manager (905). At this time, the trigger condition may include at least one of the screen status, battery status, and device temperature of the electronic device, but such a trigger condition is only one example and is not limited to the above example.

[0158] For example, the Work Manager (905) may check a trigger condition for regenerating the wallpaper image at least 15 minutes after the wallpaper image of the lock screen has been changed to a specific image. When the screen of the electronic device is in a locked screen state regardless of whether it is on or off, the battery charge is 15% or more, the internal temperature of the device is less than 40°, and there is no operation that consumes current, such as camera operation or media file playback, the Work Manager (905) may determine that the trigger condition is satisfied (918) and request the generative AI model to regenerate the wallpaper image according to the registered schedule by executing the scheduler (920). If the trigger condition is not satisfied, one or more processors may check the trigger condition for regenerating the wallpaper image after an additional 15 minutes.

[0159] Meanwhile, even after the Work Manager (905) requests the generation of a background image to the generative AI model by satisfying the trigger condition, the Work Manager (905) may check the conditions below at 3-second intervals, cancel the background image regeneration request according to the condition, and re-register the schedule in the scheduler. For example, the Work Manager (905) may cancel the background image regeneration request and re-register the schedule in the scheduler if the screen of the electronic device is on and the lock screen is unlocked, or if the internal temperature of the device is 40° or higher, or if there is an operation accompanied by power consumption such as camera operation or media file playback.

[0160] When a request for regenerating a background image is identified, one or more processors may regenerate and store (922) a background image reflecting weather information and time zone information through a generative AI model (904). At this time, the regenerated background images may be stored in the memory of the electronic device. In addition, the generative AI model (904) may re-extract a foreground object from the re-generated background image and re-generate a foreground object reflecting weather information and time zone information for the re-extracted foreground object. All of these operations (916) to (922) may be performed in the background.

[0161] Meanwhile, when it is identified (924) that the display of the electronic device is screen-on through the System (901), one or more processors may request (926) an update of weather information on the lock screen through the Wallpaper (903). When the weather information update is completed (928) through the Weather App (906) in response to the request for an update of weather information on the lock screen, one or more processors may request (930) a background image with current time weather information and time zone information applied to the generative AI model (904).

[0162] When a wallpaper image most suitable for the current time's weather information and time zone information is received (932) from among the wallpaper images regenerated by the generative AI model (904), one or more processors can change the received wallpaper image into a wallpaper image of the lock screen (1060) through Wallpaper (903). Thereafter, one or more processors can determine a main effect and an additional effect corresponding to the current time's weather information and apply them to the changed wallpaper image, thereby updating the lock screen (934). At this time, Wallpaper (903) can additionally receive a regenerated foreground object from the generative AI model (904), and can update the lock screen with a more realistic wallpaper image by applying the main effect and the additional effect to the regenerated wallpaper image based on the regenerated foreground object.

[0163]

[0164] FIG. 11 is a diagram illustrating an example of a generative artificial intelligence system according to one embodiment.

[0165] The User Query / Response Interface can receive user input. User input can be in the form of natural language, images, and / or videos. Context information can also be transmitted when the user input is transmitted. Context information can include various additional information at the time of user input. For example, it can include information about the application the user is currently using or the user's location. Furthermore, user input can be a mixture of natural language, images, sounds, and context information. Furthermore, user input can be in non-natural language forms, such as selecting a menu. The User Query / Response Interface can output the results of a generative artificial intelligence system to the user. The output can be in the form of natural language or specific content, and can also be provided in the form of actions requested by the user. The User Query Interface can output the results of a generative artificial intelligence system to the user. The output can be in the form of natural language or specific content, and can also be provided in the form of actions requested by the user.

[0166] The AI ​​framework can receive user input and coordinate and control each component necessary to carry out the user's intention based on the user's query.

[0167] User input received from the User Query / Response Interface can be sent to the Prompt design component. The Prompt design component can be used to generate prompts suitable for inputting user input into an LLM or LMM. The Prompt design component can be an AI component that uses a machine learning algorithm or neural network to develop better prompts over time. The Prompt design component can access a knowledge component containing user preference data, a prompt library, and prompt examples based on the user input to generate prompts and pass the generated prompts to the LLM or LMM.

[0168] The API / Plug-in management component can communicate with external information when additional information is requested when user input is passed as input to a generative model. The API / Plug-in management component establishes a channel for communication with external entities within the AI ​​Interface via APIs, enabling access to various data sources. Furthermore, if an application or service needs to perform an action that ultimately implements user input, rather than an intermediate result, the API / Plug-in management component can request such action via APIs. Information obtained from external sources can be used to generate prompts in the Prompt design component alongside user input, or can be passed as input to the generative model.

[0169] The Refiner component can fine-tune the output from generative models. For example, the Refiner component can verify that the content generated by LLMs and / or LMMs is not irrelevant, biased, or harmful. Furthermore, the Refiner component can determine the degree to which the output matches the user's desired outcome and, if necessary, initiate additional processing. Additionally, the Refiner component can configure and provide users with hints to avoid undesirable output.

[0170] Generative AI models generally refer to artificial intelligence neural networks that generate new forms of data based on user input. Generative AI models can include models that generate images and / or models that generate language. Representative image-generating models include generative adversarial networks (GANs) and variational autoencoders (VAEs), with examples including diffusion-based generative models that use VAE and Transformer architectures. Language-generating models are trained to statistically optimize output based on input values, and examples include models like CHAT-GPT 3 and CHAT-GPT 4. Additionally, there are large multimodal models (LMMs) that can recognize various types of data input, such as text, images, and voice, and generate corresponding new data.

[0171] The embodiments of the present invention disclosed in this specification and drawings are merely specific examples presented to easily explain the technical contents according to the embodiments of the present invention and to help understand the embodiments of the present invention, and are not intended to limit the scope of the embodiments of the present invention. Therefore, the scope of the embodiments of the present invention should be interpreted as including all changes or modified forms derived based on the technical idea of ​​the embodiments of the present invention in addition to the embodiments disclosed herein.< / blob>

Claims

1. In an electronic device (101), one or more processors (120); and comprising one or more memories (130) storing instructions executable by the one or more processors (120); When at least some of the instructions stored in the one or more memories (130) are executed by the one or more processors (120), at least some of the instructions being executed cause the electronic device (101) to: An operation of separating a foreground object from a background image of the above electronic device (101); An operation of updating weather information based on situation information of the above electronic device (101); An operation of determining time zone information to which the electronic device (101) belongs based on the solar altitude determined according to the location information and time information of the electronic device (101); An operation of receiving a regenerated background image by reflecting the weather information and time zone information from a generative AI model into which the background image, the updated weather information, and the determined time zone information are input; and An operation of displaying an image effect determined based on the separated foreground object and the updated weather information on the regenerated background image. An electronic device (101) that controls the execution of a task.

2. In paragraph 1, The action of determining the above time zone information is: The operation of calculating the solar altitude corresponding to the current time using the Equation of Time, which is the difference between the true solar time and the mean solar time, the Hour Angle, which is the angle formed by the meridian plane and the plane connecting the Earth's axis and the position of the Sun, and the Solar Declination; An operation of determining time zone information for the current time by comparing the calculated solar altitude with the solar altitude range preset for each time zone. An electronic device (101) comprising:

3. In any one of paragraphs 1 and 2, The above calculated time zone information is, Depending on the preset sun altitude range, it is determined as either morning, afternoon, evening or night. Electronic device (101).

4. In any one of paragraphs 1 to 3, The action to update the above weather information is: When the lock screen of the electronic device (101) is set, when the lock screen of the electronic device (101) is turned on, or when the weather alarm set by the user is used to update the weather information based on the last update time of the weather information and the presence of weather forecast information An electronic device (101) comprising:

5. In any one of paragraphs 1 to 4, The action to update the above weather information is: Action to display the weather information as the latest weather information if the last update time is within the preset 1 hour. An electronic device (101) comprising:

6. In any one of paragraphs 1 to 5, The action to update the above weather information is: An action to identify whether there is weather forecast information corresponding to the current time if the last update time exceeds the preset first hour and is within the preset second hour; If there is weather forecast information corresponding to the current time, an action of displaying the weather forecast information on the lock screen; and If there is no weather forecast information corresponding to the current time, an action to request the user to update the weather information. An electronic device (101) comprising:

7. In any one of paragraphs 1 to 6, The action to update the above weather information is: An action to obtain information about the execution time of a weather alarm set by the user; An operation of generating a schedule for updating the weather information using the execution time of the acquired weather alarm; and An action to update the weather information based on the above generated schedule. An electronic device (101) comprising:

8. In any one of paragraphs 1 to 7, The operation of receiving the above regenerated image is: When the foreground object is identified in the background image, an operation of applying a weather effect to a background object excluding the foreground object from the generative AI model and receiving a regenerated background image by applying a time zone effect to the entire background image An electronic device (101) comprising:

9. In any one of paragraphs 1 to 8, The operation of receiving the above regenerated image is: If the foreground object is not identified in the above background image, an operation of receiving a regenerated background image by applying weather effects and time zone effects to the entire background image from the generative AI model. An electronic device (101) comprising:

10. In any one of paragraphs 1 to 9, The action displayed on the above regenerated background image is: An action of displaying a main effect corresponding to the weather information of the current time between the regenerated background image and the separated foreground object, corresponding to the entire regenerated background image. An electronic device (101) comprising:

11. In any one of paragraphs 1 to 10, The action displayed on the above regenerated background image is: An action of displaying an additional effect corresponding to the weather information at the current time on top of the above separated foreground object in response to the above separated foreground object. An electronic device (101) comprising:

12. In the operating method of an electronic device (101), An operation of separating a foreground object from a background image of the above electronic device (101); An operation of updating weather information based on situation information of the above electronic device (101); An operation of determining time zone information to which the electronic device (101) belongs based on the solar altitude determined according to the location information and time information of the electronic device (101); An operation of receiving a regenerated background image by reflecting the weather information and time zone information from a generative AI model into which the background image, the updated weather information, and the determined time zone information are input; and An operation of displaying an image effect determined based on the separated foreground object and the updated weather information on the regenerated background image. A method of operation comprising:

13. In paragraph 12, The action of determining the above time zone information is: The operation of calculating the solar altitude corresponding to the current time using the Equation of Time, which is the difference between the true solar time and the mean solar time, the Hour Angle, which is the angle formed by the meridian plane and the plane connecting the Earth's axis and the position of the Sun, and the Solar Declination; An operation of determining time zone information for the current time by comparing the calculated solar altitude with the solar altitude range preset for each time zone. A method of operation comprising:

14. In any one of paragraphs 12 to 13, The action to update the above weather information is: When the lock screen of the electronic device (101) is set, when the lock screen of the electronic device (101) is turned on, or when the weather alarm set by the user is used to update the weather information based on the last update time of the weather information and the presence of weather forecast information A method of operation comprising:

15. In any one of paragraphs 12 to 14, The action displayed on the above regenerated background image is: An operation of displaying a main effect corresponding to the weather information of the current time in response to the entire regenerated background image between the regenerated background image and the separated foreground object; and An action of displaying an additional effect corresponding to the weather information at the current time on top of the above separated foreground object in response to the above separated foreground object. A method of operation comprising:

Citation Information

Patent Citations

  • Method and apparatus for screen display of portable terminal apparatus

    KR1020140122458A

  • Electronic device and control method thereof

    KR1020140146477A

  • Method for displaying wallpaper, electronic device, and computer readable recording medium

    KR1020150011577A

  • Wearable electronic device

    KR1020240171967A

  • Method of on-device generation and supplying wallpaper stream and computing device implementing the same

    WO2022075533A1