Theme generation method and electronic device
By acquiring multimodal user information to generate personalized themes, the problem of limited terminal theme settings has been solved, enabling the generation of diverse personalized themes and improving user experience and functionality.
Patent Information
- Application Number
- PCT/CN2024/080488
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-26
- Filing Date
- 2024-03-07
- Publication Date
- 2024-12-05
AI Technical Summary
In existing technologies, the theme settings functions of terminals are fixed in form, limited in number, and monotonous in type, which cannot meet the personalized needs of users and result in a poor user experience.
By acquiring multimodal user information (such as text, voice, images, and videos), personalized themes are generated, including wallpapers and icons, ensuring consistency in wallpaper and icon styles and improving user experience.
Offers a variety of personalized themes to enhance user experience and functionality, while ensuring overall style consistency and visual appeal.
Smart Images

Figure CN2024080488_05122024_PF_FP_ABST
Abstract
Description
A theme generating method and electronic device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on May 26, 2023, with application number 202310606102.7 and application name “A Theme Generation Method and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of computer technology, and in particular to a theme generation method and electronic device. Background Art
[0003] Currently, users can change the theme through the terminal's settings function, but the themes provided by the terminal's settings function have problems such as fixed form, single type, and small number, which cannot meet the user's personalized needs and have low functional availability.
[0004] Summary of the Invention
[0005] The present application discloses a theme generation method and electronic device, which can generate themes that meet user needs based on user information, thereby providing users with personalized themes that they like / are interested in, improving user experience, and effectively improving functional usability.
[0006] In a first aspect, an embodiment of the present application provides a theme generation method, which is applied to an electronic device, and the method includes: obtaining first information of a first user; generating one or more first themes based on the first information, the first theme including multiple first wallpapers and multiple first icons; displaying a first interface, the first interface including first indication information, and the first indication information indicating the first theme.
[0007] In the above method, the electronic device can obtain the first information of the first user, and the first information can represent the user's preferences. Based on such first information, one or more first themes of the user's preferences / favorites are generated, which can meet the user's personalized needs, provide the user with a variety of personalized themes, improve the user experience, and have high functional availability.
[0008] In a possible implementation, the multiple first wallpapers include desktop wallpaper, lock screen interface wallpaper, and application interface wallpaper, and the multiple first icons include application icons and functional component icons.
[0009] In the above method, multiple first wallpapers include different types of wallpapers (i.e., the wallpaper of the above desktop, the wallpaper of the lock screen interface, and the wallpaper of the application interface), and multiple first icons include icons of different forms (i.e., the icons of the above application, the icons of functional components). The first theme composed of multiple first wallpapers and multiple first icons has richer forms, more quantities, and more types, which can provide users with a variety of personalized themes, give users a wider range of choices, and enhance user experience.
[0010] In one possible implementation, obtaining the first information of the first user includes: receiving the first information input by the first user, including at least one of the following: receiving text information input by the first user, receiving audio information uploaded by the first user, receiving voice information recorded by the first user, receiving picture information uploaded by the first user, and receiving video information uploaded by the first user.
[0011] In the above method, the first user can obtain one or more first topics that meet the needs of the first user by inputting the first user's information in multiple modalities (i.e., the first information of the first user mentioned above), such as but not limited to text, voice, image, audio, video, etc., to meet the user's personalized needs while avoiding the user from spending a lot of time screening and performing more tedious operations, thereby further improving the user experience.
[0012] In one possible implementation, obtaining the first information of the first user includes: receiving a first operation; sending a first request to a network device in response to the first operation; and receiving the first information sent by the network device based on the first request, where the first information is information input by an associated user of the first user.
[0013] In the above method, the electronic device can obtain user information input by the associated user of the first user through the network device to generate one or more first themes consistent with the theme style of the associated user, meet the needs of the first user (for example, to realize the need for a theme of the same style as the associated user), and further enhance the user experience.
[0014] In one possible implementation, the first icon is related to the first information, and the first icon indicates a first application; the pattern and outline of the first icon are related to the first information, and the watermark of the first icon is related to the information of the first application; or, the pattern and outline of the first icon are related to the information of the first application, and the watermark of the first icon is related to the first information; or, the pattern of the first icon is related to the first information, and the outline of the first icon is related to the information of the first application; or, the pattern of the first icon is related to the information of the first application, and the outline of the first icon is related to the first information; wherein, the information of the first application includes at least one of the following: the name, label, function, and system default original icon of the first application.
[0015] In the above method, the first icon and the first information and the information of the first application are all related. Through the above multiple methods, it is possible to generate a first icon that the user likes / favorites, and it is also easy for the user to identify the first application corresponding to the first icon. For example, the pattern and outline of the icon itself cannot be directly seen by the user to indicate its corresponding application, and the information of the application can also be indicated by a watermark, which effectively improves the user's experience of use. Moreover, these methods can ensure the consistency of the style of the first icon and the first wallpaper, and the overall style of the theme is highly unified and effective, which effectively improves the functional availability.
[0016] In one possible implementation, the first interface includes second indication information and third indication information, the second indication information indicates the second theme among the multiple first themes, and the third indication information indicates the third theme among the multiple first themes, and the method also includes: receiving a second operation for the second indication information and the third indication information; in response to the second operation, displaying a second interface, the second interface includes a second icon and a third icon, the second icon indicates a second application, the third icon indicates a third application, the second application and the third application belong to different functional categories, the second icon belongs to the icon of the second theme, and the third icon belongs to the icon of the third theme.
[0017] In some examples, functional categories can be categories that electronic devices are divided into according to the functions of applications. For example, music applications, reading applications, and shopping mall applications can be classified as entertainment applications, and WeChat applications, SMS applications, and email applications can be classified as communication applications.
[0018] In the above method, the electronic device can classify the corresponding icons according to the functions of the application. The theme styles corresponding to icons of different categories can be different, which makes it convenient for users to manage and identify the applications corresponding to icons of different styles, effectively improving the user's usage experience and effectively improving the functional availability.
[0019] In one possible implementation, the first interface includes second indication information and third indication information, the second indication information indicates the second theme among the multiple first themes, and the third indication information indicates the third theme among the multiple first themes, and the method also includes: receiving a second operation for the second indication information and the third indication information; in response to the second operation, displaying a second interface, the second interface includes a first area and a second area, the wallpaper and icons in the first area belong to the second theme, and the wallpaper and icons in the second area belong to the third theme.
[0020] In the above method, the first user can select multiple themes from one or more generated first themes and set the multiple themes as the current themes of the electronic device. The electronic device can display different themes in different areas of the screen to make the theme interface of the electronic device richer, meet the diverse needs of the first user, and further enhance the user experience.
[0021] In one possible implementation, the method also includes: receiving a third operation for the first indication information in the first interface; in response to the third operation, displaying a third interface, the third interface including a fourth icon, the fourth icon indicating a fourth application; receiving a fourth operation for the fourth icon in the third interface; in response to the fourth operation, modifying the fourth icon to a fifth icon; and displaying the fifth icon on the third interface, the fifth icon indicating the fourth application.
[0022] In the above method, an application can correspond to multiple icons, and the electronic device can display one of the icons as the icon of the application. When the user is not satisfied with the icon displayed by the electronic device, the electronic device can change the icon of the application in response to the user's operation, thereby meeting the user's personalized needs.
[0023] In one possible implementation, generating one or more first themes based on the first information includes: generating a first image based on the first information; generating the multiple first wallpapers and the multiple first icons based on the first image; when the matching degree between the multiple first wallpapers and the multiple first icons is greater than or equal to a first preset threshold, obtaining the first theme based on the multiple first wallpapers and the multiple first icons.
[0024] In the above method, the electronic device can obtain the first information of the first user, and generate a first image that can indicate the user's preferences based on the first information. The first image can be used as a unified benchmark to generate multiple first wallpapers and multiple first icons in the first theme, so that the styles of the multiple first wallpapers and multiple first icons can be consistent. Finally, it is determined whether the matching degree of the multiple first wallpapers and the multiple first icons is greater than or equal to the first preset threshold to obtain the first theme. This method improves the uniformity of the overall style of the first theme, enhances the theme's ornamental value, meets the user's aesthetic needs when using it, and further improves the user experience.
[0025] In a possible implementation, the first image includes multiple second images, and the first icon corresponds to the one second image or the multiple second images.
[0026] In one possible implementation, generating one or more first themes based on the first information includes: generating multiple second wallpapers and multiple sixth icons based on the first information, the second wallpapers corresponding to the first score, and the sixth icon corresponding to the second score; generating multiple fourth themes based on the multiple second wallpapers and the multiple sixth icons; obtaining multiple third scores corresponding to the multiple fourth themes, the third scores being related to the first score and the second score; and filtering out the one or more first themes from the multiple fourth themes based on the multiple third scores, the score corresponding to the first theme being greater than or equal to a preset threshold.
[0027] In the above method, the first score can represent the recommendation degree of the second wallpaper. The higher the first score, the closer the second wallpaper is to the real wallpaper. The second score can represent the recommendation degree of the sixth icon. The higher the second score, the closer the sixth icon is to the real icon. The third score can represent the recommendation degree of the fourth theme. The higher the third score, the better the overall effect of the fourth theme. Finally, based on multiple third scores, one or more first themes with the highest scores are selected as recommended themes for users to choose, which can meet the user's personalized needs and improve the user experience.
[0028] In one possible implementation, after displaying the first interface, the method further includes: obtaining second information of the second user; generating one or more fifth themes based on the second information, the fifth theme including multiple third wallpapers and multiple seventh icons, and the fifth theme is different from the first theme; displaying a fourth interface, the fourth interface including fourth indication information, and the fourth indication information indicating the fifth theme.
[0029] In the above method, the electronic device generates one or more different themes based on the information of different users (such as the second information of the second user), which can provide personalized themes for different users in a targeted manner, meet the different needs of different users, and further enhance the user experience.
[0030] In a second aspect, the present application provides an electronic device comprising a transceiver, a processor and a memory, wherein the memory is used to store a computer program, and the processor calls the computer program to execute the topic generation method in any possible implementation of the first aspect.
[0031] In a third aspect, the present application provides an electronic device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, wherein the computer program code comprises computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the theme generation method in any possible implementation of the first aspect.
[0032] In a fourth aspect, the present application provides a computer storage medium storing a computer program, which, when executed by a processor, implements the subject generation method in any possible implementation of any of the above aspects.
[0033] In a fifth aspect, the present application provides a computer program product, which, when running on an electronic device, enables the electronic device to execute the theme generation method in any possible implementation of the first aspect above.
[0034] In a sixth aspect, the present application provides an electronic device, the electronic device including a method or apparatus for executing any one of the implementations of the first aspect of the present application. The electronic device is, for example, a chip. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0036] FIG1 is a schematic diagram of the hardware structure of an electronic device 100 provided in this application;
[0037] FIG2 is a schematic diagram of a software architecture of an electronic device 100 provided in this application;
[0038] FIG3 is a schematic diagram of the workflow of each module of an electronic device 100 provided by the present application;
[0039] Figures 4(A) and 4(B) are schematic diagrams of the user interface provided by this application;
[0040] Figures 5(A) to 5(D) are schematic diagrams of the user interface provided by this application;
[0041] Figures 6(A)-6(D) are schematic diagrams of the user interface provided by this application;
[0042] FIG7 is a schematic diagram of a user interface provided by the present application;
[0043] FIG8 is a flow chart of a topic generation method provided in this application. DETAILED DESCRIPTION
[0044] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " represents or, for example, A / B can represent A or B; "and / or" in the text is merely a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" refers to two or more than two.
[0045] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0046] Currently, users can set the terminal theme in the following two ways:
[0047] Method 1: The terminal's settings application can provide a theme setting function, specifically providing multiple themes for users to choose from. However, the themes provided by the terminal's theme setting function have problems such as fixed form, small number, and single type. It cannot provide users with a variety of personalized themes, and user choices are limited.
[0048] Method 2: Users can set a theme through a terminal application (such as a theme store). For example, users can use the application's search function (specifically, searching based on user-entered keywords) to filter out a theme that meets their needs from a large number of themes and then set that theme. This method requires users to spend a lot of time screening and requires relatively cumbersome operations. Moreover, these themes are pre-generated by the publisher and uploaded to the application. Users can only choose from existing themes, which may not meet their personalized needs.
[0049] Therefore, both methods cannot generate personalized themes that meet user needs, resulting in a poor user experience.
[0050] In addition, users can also set images that meet their needs as wallpapers in the theme. For example, the terminal can obtain images uploaded by the user and set them as wallpapers (such as desktop wallpapers and / or lock screen wallpapers), but cannot set icons in the theme. Understandably, the icons in the theme still maintain the style of the original icons. Therefore, the styles of the wallpapers and icons in the themes set in this way are inconsistent, the overall style of the theme is poorly unified, the viewing experience is low, the user experience is poor, and the functional availability is low.
[0051] The present application provides a theme generation method, which is applied to electronic devices. The electronic devices can obtain user information in multiple modes (also referred to as multimodal information, such as but not limited to text, voice, image, audio, video, etc.), and generate at least one theme based on the multimodal information, wherein the multimodal information can represent user preferences. The present application can obtain more accurate user characteristics based on the multimodal information, and generate user-preferred / favorite themes based on such user characteristics, which can meet the personalized needs of users, provide users with personalized themes that suit them, improve user experience, and have high functional usability. In addition, the styles of wallpapers and icons in the themes generated in this way can be consistent, the overall style of the theme is highly unified, and the viewing experience is high, further improving the user experience.
[0052] Among them, the theme in this application may include desktop wallpaper, lock screen wallpaper and some icons, and some icons may include icons of desktop applications (which may be referred to as application icons for short). Optionally, the theme may also include background wallpaper of the application interface (which may be referred to as interface wallpaper for short), such as interface wallpaper of applications such as calls, text messages, and memos. Optionally, the theme may also include icons of functional components, such as but not limited to functional components such as positioning, flashlight, and mute in the control center, and functional components such as weather, time, calendar, power, folders of multiple applications, service cards, and floating balls on the desktop.
[0053] For the sake of convenience, different types of wallpapers (such as the above-mentioned desktop wallpapers, lock screen wallpapers and interface wallpapers) can be collectively referred to as wallpapers, and application icons, function icons, components, cards, floating balls and other forms of display content can be collectively referred to as icons.
[0054] In this application, the electronic device may be a mobile phone, a tablet computer, a handheld computer, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), smart home devices such as smart TVs, wearable devices such as smart bracelets, smart watches, and smart glasses, extended reality (XR) devices such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), in-vehicle devices or smart city devices, etc. This application does not impose any special restrictions on the specific types of electronic devices.
[0055] Next, an exemplary electronic device 100 according to an embodiment of the present application is introduced.
[0056] FIG1 exemplarily shows a schematic diagram of the hardware structure of an electronic device 100 .
[0057] As shown in Figure 1, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0058] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0059] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0060] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0061] Processor 110 may also include a memory for storing instructions and data. In one embodiment, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0062] In one embodiment, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0063] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0064] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0065] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0066] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In one embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In one embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0067] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0068] In one embodiment, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0069] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0070] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In one embodiment, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0071] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0072] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and transformed into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and color. It can also optimize parameters such as exposure and color temperature of the captured scene. In one embodiment, the ISP can be located within camera 193.
[0073] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In one embodiment, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0074] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
[0075] The internal memory 121 may be used to store computer-executable program codes, where the executable program codes include instructions.
[0076] The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0077] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals.
[0078] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.
[0079] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.
[0080] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.
[0081] The headphone jack 170D is used to connect a wired headphone.
[0082] The pressure sensor 180A is used to sense pressure signals and convert the pressure signals into electrical signals.
[0083] The gyro sensor 180B may be used to determine the motion posture of the electronic device 100. In one embodiment, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.
[0084] The air pressure sensor 180C is used to measure air pressure.
[0085] The magnetic sensor 180D includes a Hall sensor, and the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
[0086] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
[0087] The distance sensor 180F is used to measure distance.
[0088] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
[0089] The ambient light sensor 180L is used to sense the brightness of the ambient light.
[0090] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0091] The temperature sensor 180J is used to detect temperature.
[0092] The touch sensor 180K is also called a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a location different from that of the display screen 194.
[0093] The bone conduction sensor 180M can acquire vibration signals.
[0094] The buttons 190 include a power button, a volume button, and the like.
[0095] Motor 191 can generate vibration prompts.
[0096] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0097] The SIM card interface 195 is used to connect a SIM card.
[0098] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a microservice architecture, or a cloud architecture. For example, the software system with a layered architecture can be an Android system, a Harmony operating system (OS), or other software systems. The embodiment of the present application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100.
[0099] FIG2 exemplarily shows a schematic diagram of a software architecture of an electronic device 100 .
[0100] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In one embodiment, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0101] The application layer can include a series of application packages.
[0102] As shown in Figure 2, the application package may include applications such as camera, gallery, music, calendar, short message, call, navigation, Bluetooth, browser, and screen projection.
[0103] As shown in FIG2 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
[0104] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0105] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0106] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0107] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
[0108] The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0109] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
[0110] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0111] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0112] A 2D graphics engine is a drawing engine for 2D drawings.
[0113] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0114] The following describes the workflow of the software and hardware of the electronic device 100 in combination with the theme setting scenario of the setting application.
[0115] When touch sensor 180K receives a touch operation, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, touch operation timestamp, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is a control of the settings application, the settings application calls the interface of the application framework layer, and then controls the display driver by calling the kernel layer, and displays the main interface of the settings application on the display screen 194.
[0116] FIG3 exemplarily shows a schematic diagram of the working process of each module of the electronic device 100 .
[0117] As shown in Figure 3, the electronic device 100 may include a theme generation model, which may include a language model 101, a style control module 102, a style transfer module 103, and an overall effect verification module 104, wherein the style transfer module 103 may include a wallpaper generation module 1031 and an icon generation module 1032.
[0118] The following is an example of the working process of each module shown in Figure 3, combined with a training process of the topic generation model.
[0119] First, user information of multiple modal information can be input into the language model 101. The language model 101 can analyze the user information of multiple modalities, extract feature parameters that can characterize user preferences (which can be called user features), and output the user features. It can be understood that user preferences are characterized by feature parameters. The user features output by the language model 101 can be input into the style control module 102 for processing, and the basic image corresponding to the user features is output. The basic image output by the style control module 102 can be input into the wallpaper generation module 1031 and the icon generation module 1032 in the style transfer module 103 for processing. The wallpaper generation module 1031 outputs wallpaper 1, and the icon generation module 1032 outputs icon 1. Next, the above-generated wallpaper 1 and icon 1, as well as the wallpaper library and image library can be input into the overall effect verification module 104 for processing. The overall effect verification module 104 can identify whether the generated wallpaper 1 is fake based on the generated wallpaper 1 and the real wallpaper in the wallpaper library, and reversely adjust the wallpaper generation module 1031 in the style transfer module 103 according to the loss degree of wallpaper 1 and the real wallpaper, so that the wallpaper generation module 1031 generates wallpaper 2 that is closer to the real wallpaper.
[0120] The overall effect verification module 104 can also identify the generated icon 1 as fake based on the generated icon 1 and the real icons in the icon library, and reversely adjust the icon generation module 1032 in the style transfer module 103 based on the loss of icon 1 and the real icon, so that the icon generation module 1032 generates an icon 2 that is closer to the real icon. Among them, the accuracy of the overall effect verification module 104 before training is completed is relatively low. For example, the overall effect verification module 104 may identify real wallpapers and real icons in the wallpaper library and icon library as fake, or it may identify real wallpapers and real icons as real.
[0121] Optionally, the overall effect verification module 104 may also compare whether the styles of the generated wallpaper 1 and icon 1 are compatible / consistent, and adjust the wallpaper generation module 1031 and the icon generation module 1032 in reverse based on the comparison result, so that the wallpaper generation module 1031 and the icon generation module 1032 generate wallpaper 3 and icon 3 with consistent styles. When the styles of wallpaper 1 and icon 1 are compatible / consistent (for example, the matching degree is greater than or equal to a preset threshold), the overall effect verification module 104 may combine wallpaper 1 and icon 1 as a theme.
[0122] It can be understood that after multiple iterations, when the similarity between the wallpaper generated by the wallpaper generation module 1031 and the real wallpaper is greater than the first threshold, the similarity between the icon generated by the icon generation module 1032 and the real icon is greater than the second threshold, the matching degree between the generated wallpaper and the icon is greater than the third threshold, and the overall effect verification module 104 is able to correctly identify all the real wallpapers and real icons, the theme generation model training is completed, and the wallpaper generation module 1031, the icon generation module 1032, and the overall effect verification module 104 in the trained theme generation model are all highly accurate. The trained theme generation model can be used to generate themes that meet the user's personalized needs. For details, please refer to Figure 8, which will not be described in detail.
[0123] In one embodiment, the tester can score the themes (including wallpapers and icons) generated during each training process. For example, the score range can be 1-5 points, with higher scores indicating more realistic and effective wallpapers and icons. The scored themes are then used to construct a scoring dataset for reversely adjusting wallpaper generation module 1031 and icon generation module 1032. After the theme generation model is trained, the theme generation model can select the top-scoring themes from the generated themes as recommended themes and output the recommended themes.
[0124] Optionally, the real wallpapers and real icons in the wallpaper library and the icon library can be designed by the designer based on basic images of different styles. In addition, the basic images of different styles, the designed real wallpapers and real icons can be used as training data (wherein the basic images of different styles are used as input data, and the designed real wallpapers and real icons are used as output data) to train the style transfer module 103.
[0125] Optionally, users' evaluations of movies, music, etc. can be obtained, and labels corresponding to the evaluations can be obtained based on the obtained evaluations. For example, a user's evaluation of the movie "Slam Dunk" is "good-looking, very favorite, and passionate", and labels obtained based on the evaluations can be, for example, "basketball, passionate youth, animation", etc., and the evaluations and labels corresponding to the evaluations can be used as training data (where the evaluations are used as input data and the labels are used as output data) to train the language model 101.
[0126] The following describes an application scenario involved in an embodiment of the present application and a user interface diagram for the scenario.
[0127] FIG4(A) is a user interface diagram showing an exemplary process of generating a theme.
[0128] As shown in FIG4(A), the electronic device 100 may display a user interface 410 (including the title "Desktop and Theme"). The user interface 410 is a user interface for theme settings. For example, the user interface 410 is an interface for the theme setting function provided by the settings application of the electronic device 100. The user interface 410 may include multiple titles, such as current theme, featured, and personalized customization. Among them, under title 411 in the user interface 410, theme 4111 is displayed. Theme 4111 is the current theme of the electronic device 100, and the characters "Theme 1" are displayed under theme 4111. Under title 412, multiple themes for the user to select may be included, such as theme 4121, theme 4122, and theme 4123. Under theme 4121, the characters "Theme 2" are displayed, under theme 4122, the characters "Theme 3" are displayed, and under theme 4123, the characters "Theme 4" are displayed. Under title 413, a control 4131 is included. Control 4131 can be used to enable the personalized customization function. In one embodiment, the electronic device 100 can display a personalized main interface in response to a user operation on the control 4131 (for example, the user operation is a touch operation). For a specific example, see the user interface 420 shown in Figure 4(B).
[0129] As shown in FIG4(B), user interface 420 may include multiple options, such as option 421, option 422, option 423, option 424, option 425, and option 426. Each option may indicate user information of a certain modality. Option 421 may indicate question information, including the characters "1. What color do you like?". Option 421 includes a control 421A to the right, displaying the characters "Change," which can be used to change the current question, i.e., the question indicated by the characters "What color do you like?". Option 421 includes an input box 421B below, displaying the characters "Please enter an answer," which can be used to display the text content entered by the user for the current question. Option 422 may indicate text information, including the characters "2. Custom label." Option 422 includes an input box 422A below, displaying the characters "Please enter a paragraph describing your favorite subject, thing, etc.", which can be used to display the text content entered by the user. Option 423 may indicate audio information and includes the characters "3. Audio." To the right of option 423 is a control 423A displaying the characters "Upload," which can be used to upload audio stored on electronic device 100. Option 424 may indicate voice information and includes the characters "4. Voice." To the right of option 424 is a control 424A displaying the characters "Upload," which can be used to upload audio stored on electronic device 100. Option 424 may indicate voice information and includes the characters "4. Voice." To the right of option 424 is a control 424A displaying the characters "···," which can be used to display text converted from the recorded voice. Option 425 may indicate picture / video information and includes the characters "Picture / Video." To the right of option 425 is a control 425A displaying the characters "Upload," which can be used to upload pictures / videos stored on electronic device 100. Option 426 may indicate linked account information and includes the characters "Linked Account Information." To the right of option 426 is a control 426A displaying the characters "Upload," which can be used to enable / disable the function of obtaining subject-related information for linked accounts. Below option 426 is the character "Enable linked account information to obtain subject-related information for linked accounts." The user interface 420 further includes a control 427 , which displays the character “OK” and can be used to determine the generation of a theme that meets at least one of the above options.
[0130] In one embodiment, the electronic device 100 can obtain user information of at least one modality in response to a user operation. In some examples, the electronic device 100 can display the characters "blue" in the input box 421B in response to a user operation on the input box 421B, and the electronic device 100 can obtain question information indicating that the user's favorite color is blue. In some examples, the electronic device 100 can display the characters "I like cats and cartoons, and I also like quiet atmospheres and simple things" in the input box 422A in response to a user operation on the input box 422A, and the electronic device 100 can obtain text information including the above characters. In some examples, the electronic device 100 can display multiple audios stored by the electronic device 100 in response to a user operation on the control 423A (for example, the user operation is a touch operation), and then the electronic device 100 can receive a user operation on one of the multiple audios (for example, the user operation is a touch operation), and in response to the user operation, the electronic device 100 can obtain information about the audio. In some examples, the electronic device 100 may display a window indicating that a voice is being recorded in response to a user operation on control 424A (e.g., a long press operation), and the electronic device 100 may then obtain voice information. In some examples, the electronic device 100 may display multiple pictures / videos stored in the electronic device 100 in response to a user operation on control 425A (e.g., a touch operation), and then the electronic device 100 may receive a user operation on one of the multiple pictures / videos (e.g., a touch operation), and in response to the user operation, the electronic device 100 may obtain information about the picture / video.
[0131] In one embodiment, the electronic device 100 may obtain user information of at least one modality through a server. In some examples, the electronic device 100 may, in response to a user operation on control 426A (e.g., a touch operation), enable a function for obtaining subject-related information of an associated account. In this case, the electronic device 100 may send a request to the server to obtain user information of at least one modality of the associated account, for example, user information entered by the user of the associated account through an interface such as user interface 420.
[0132] In one embodiment, the electronic device 100 can obtain user information of at least one modality and generate at least one theme based on the user information of at least one modality. In some examples, the electronic device 100 can receive a user operation and, in response to the user operation, display the characters "I like cats and cartoons, and I also like quiet atmospheres and simple things" in the input box 422A. Then, the electronic device 100 can respond to the user operation on the control 427 (for example, the user operation is a touch operation) and generate multiple themes based on the obtained text information (i.e., the above-mentioned input characters) and display interfaces of multiple themes. For specific examples, see the user interface 510 shown in Figure 5(A).
[0133] As shown in FIG5(A), user interface 510 may include multiple recommended themes, such as a theme 511 indicated as "Theme A" and other themes, any of which may be selected or deselected. User interface 510 also includes a control 512, which displays the character "OK" and may be used to set the selected theme as the theme of electronic device 100.
[0134] In one embodiment, assuming that the theme 511 in the user interface 510 has been selected, the electronic device 100 can set the theme 511 as the theme of the electronic device 100 in response to a user operation on the control 512 (for example, the user operation is a touch operation). The desktop of the electronic device 100 after setting the theme 511 can refer to the user interface 520 shown in Figure 5(B), the call interface of the electronic device 100 after setting the theme 511 can refer to the user interface 530 shown in Figure 5(C), and the lock screen interface of the electronic device 100 after setting the theme 511 can refer to the user interface 540 shown in Figure 5(D).
[0135] As shown in Figure 5(B), the user interface 520 may include desktop wallpaper 521, icon 522, icon 523, icon 524, icon 525, icon 526, icon 527, icon 528, and icon 529. These contents are related to at least one modal user information obtained by the above-mentioned electronic device 100 (for example, the text entered by the user "I like cats and cartoons, and I also like quiet atmospheres and simple things"). Among them, icon 522 can represent time and weather components, icon 523 can represent a shopping mall application, icon 524 can represent a music application, icon 525 can represent a reading application, icon 526 can represent a power component, icon 527 can represent a camera application, and icon 528 can represent a folder, which can include multiple small icons, such as icon 528A and other icons. Icon 528A can represent a text message application, and icon 529 can represent a map application.
[0136] In one embodiment, the patterns of desktop wallpaper 521, icon 522, icon 523, icon 524, icon 525, icon 526, icon 527, icon 528, and icon 529 in user interface 520 are related to the words "cat" and "cartoon" in the text input by the user based on user interface 420.
[0137] In one embodiment, the patterns of any two icons in user interface 520 may be different, for example, the pattern of icon 523 and the pattern of icon 524 in user interface 520 are different. The outlines of any two icons in user interface 520 may be different, for example, the outline of icon 523 (a rounded rectangle) and the outline of icon 526 (a circle) in user interface 520 are different. The sizes of any two icons in user interface 520 may be different, for example, the sizes of icon 523 and icon 528A in user interface 520 are different.
[0138] In one embodiment, a watermark control is also displayed in any icon in the user interface 520. For example, a watermark control 523A is displayed in icon 523, and the watermark control 523A can be used to indicate that the corresponding icon 523 represents a mall application. For another example, a watermark control 526A is displayed in icon 526, and the watermark control 526A can be used to indicate the current battery percentage of the electronic device 100.
[0139] As shown in FIG5(C), user interface 530 may include an interface wallpaper 531, multiple button controls, and multiple function controls. The multiple button controls may include, for example, button control 532 and other button controls. Button control 532 represents the number 1, and each button control may have the same outline. The multiple function controls may include, for example, function control 533 and other function controls. The characters "Recent Calls" are displayed below function control 533, which can be used to view recent call records.
[0140] In one embodiment, the pattern of the interface wallpaper 531 in the user interface 530 is related to the "cat" and "cartoon" in the text input by the user based on the user interface 420, and multiple button controls and multiple function controls are related to the "cat" and "cartoon" in the text input by the user based on the user interface 420.
[0141] As shown in FIG5(D), user interface 540 may include a lock screen wallpaper 541 and a control 542. Control 542 displays the characters "slide to unlock" and can be used to unlock the lock screen of electronic device 100. In one embodiment, electronic device 100 may display user interface 520 shown in FIG5(B) in response to a user operation on control 542 (for example, the user operation is a sliding operation from left to right).
[0142] In one embodiment, different types of wallpapers in the same theme may be different. For example, any two wallpapers among the lock screen wallpaper 541 in the user interface 540 shown in FIG. 5(D), the interface wallpaper 531 in the user interface 530 shown in FIG. 5(C), and the desktop wallpaper 521 in the user interface 520 shown in FIG. 5(B) are different.
[0143] In one embodiment, the electronic device 100 can set multiple themes and display different themes in different areas of the screen. In some examples, when the electronic device 100 displays the user interface 510 shown in Figure 5 (A), the electronic device 100 can receive a user operation and, in response to the user operation, select two themes in the user interface 510, for example, a theme 511 indicating the name "Theme A" and a theme indicating the name "Theme D". Then, the electronic device 100 can respond to a user operation on a control 512 (for example, the user operation is a touch operation) and set theme 511 and the theme indicating the name "Theme D" as the theme of the electronic device 100. The desktop of the electronic device 100 after setting the two themes can be seen in the user interface 610 shown in Figure 6 (A). As shown in Figure 6 (A), the user interface 610 can include an area 611 and an area 612. The themes displayed in areas 611 and 612 are different. For example, area 611 can be used to display the interface of theme 511, and area 612 can be used to display the interface of the theme indicated by the name "Theme D".
[0144] In one embodiment, the electronic device 100 may display a folder interface in response to a user operation (e.g., a touch operation) on an icon 528 in the user interface 520 shown in FIG5(B). For a specific example, see the user interface 620 shown in FIG6(B). As shown in FIG6(B), the user interface 620 may include a window 621 (including a title "Communications"), and the window 621 may include a folder wallpaper 622, an icon 623, an icon 624, and an icon 625. The icon 623 may represent a WeChat application, the icon 624 may represent a text messaging application, and the icon 625 may represent an email application.
[0145] In one embodiment, the electronic device 100 may classify the corresponding icons according to the functions of the applications, and the styles of icons of different categories may be different. For example, the shopping mall application represented by icon 523 in the user interface 520 shown in FIG5(B), the music application represented by icon 524, the reading application represented by icon 525, and the camera application represented by icon 527 are all entertainment applications, and the patterns of these icons are related to the words "cat" and "cartoon" in the text input by the user based on the user interface 420. The WeChat application represented by icon 623 in the user interface 620 shown in FIG6(B), the SMS application represented by icon 624, and the email application represented by icon 625 are all communication applications, and the patterns of these icons are related to the word "simple" in the text input by the user based on the user interface 420.
[0146] In one embodiment, the electronic device 100 may receive a user operation and, in response to the user operation, change the pattern of any icon. In some examples, the electronic device 100 may change the pattern of the icon 525 in response to a user operation on the icon 525 in the user interface 520 shown in FIG6(C) (for example, the user operation is a left swipe operation). In this case, the electronic device 100 may display the user interface 640 shown in FIG6(D). As shown in FIG6(C), the user interface 640 is similar to the user interface 520 shown in FIG6(C), except that the pattern of the icon 641 in the user interface 640 is different from the pattern of the icon 525 in the user interface 520.
[0147] Not limited to the above examples, in other examples, the electronic device 100 may respond to a user operation (for example, a touch operation) on the control 426A in the user interface 420 shown in FIG4(B) to enable the function of obtaining subject-related information of the associated account. At this time, the user interface 420 may also include a list of associated accounts, an add control, and a delete control. The list of associated accounts may include information of accounts associated with the electronic device 100. The add control may be used to add information of a new associated account, and the delete control may be used to delete information of an existing associated account.
[0148] Not limited to the above examples, in other examples, the electronic device 100 may receive a user operation and, in response to the user operation, process any icon, such as, but not limited to, moving the icon, deleting the icon, adjusting the icon size, etc. For example, the electronic device 100 may display an icon editing interface in response to a user operation on the icon 523 in the user interface 520 shown in FIG5(B) (for example, the user operation is a long press operation), and then the electronic device 100 may move the icon 523 downward in response to a user operation on the icon 523 (for example, the user operation is a drag operation, and the drag operation is a drag from top to bottom).
[0149] Not limited to the above examples, in other examples, the electronic device 100 can change the current theme of the electronic device 100 in response to a user operation. For example, the electronic device 100 can change the current theme 4111 of the electronic device 100 to theme 4121 in response to a user operation (for example, the user operation is a touch operation) on the theme 4121 in the user interface 410 shown in Figure 4(A).
[0150] Without being limited to the above examples, in other examples, the desktop of the electronic device 100 after setting the theme 511 in the user interface 510 can refer to the user interface 710 shown in FIG7 . As shown in FIG7 , the user interface 710 may include a desktop wallpaper 711 and multiple icons. The multiple icons may include, for example, an icon 712 and other icons. The icon 712 may represent time and weather components. A control may also be displayed in any of the icons. For example, a control 712A may be displayed in the upper right corner of the icon 712. The pattern of any of the controls (for example, the pattern of the control 712A) and the pattern of the desktop wallpaper 711 may be related to the words "cat" and "cartoon" in the text input by the user based on the user interface 420.
[0151] Next, the topic generation method provided by the embodiment of the present application is introduced.
[0152] Please refer to Figure 8, which is a flowchart of a method for generating a topic provided in an embodiment of the present application. The method can be applied to the electronic device 100 shown in Figure 1. The method can be applied to the electronic device 100 shown in Figure 2. The method can be applied to the electronic device 100 shown in Figure 3. The method can include but is not limited to the following steps:
[0153] S101: The language model obtains first information.
[0154] In one embodiment, the first information may include user information in at least one modality, such as, but not limited to, text, voice, image, audio, video, etc. The first information may represent user characteristics such as user preferences. In some examples, the first information may include information received by the electronic device 100 from the user, such as, but not limited to: text information input by the user (including text input by the user in response to a question and / or text input by the user independently), audio files uploaded by the user, voice information recorded by the user, pictures / videos uploaded by the user, etc. For specific examples, see the question information, text information, audio information, voice information, and picture / video information in FIG4(B). In other examples, the first information may include information related to the user obtained by the electronic device 100 from a server, such as the topic-related information in FIG4(B). Without limitation, in other examples, the first information may also include information related to the user obtained by the electronic device 100 through other means, such as application usage records. For example, the electronic device 100 may obtain user evaluation information within the application, such as, but not limited to, user evaluations of movies, music, news, hot topics, etc.
[0155] S102: The language model generates a first feature according to the first information.
[0156] In one embodiment, the language model may process the acquired first information, for example, by parsing and encoding the first information and outputting an encoded first feature. The first feature may represent information about the user's preferences or interests through feature parameters (e.g., feature vectors). In some examples, when the first information is text, the language model may perform semantic parsing on the text, use the parsed result as a label, and encode the label to obtain the first feature. In some examples, when the first information is voice, the semantic model may first convert the voice into text, and then process the text in the same manner as described above to obtain the first feature. In some examples, when the first information is an image, the language model may parse the image to obtain image-related information, such as, but not limited to, element information, color information, and the meaning of the image representation, and then encode the image-related information to obtain the first feature. In some examples, when the first information is audio, such as a song, the language model may parse the song to obtain information such as the corresponding lyrics, singer, and genre, and then parse and encode the lyrics, singer, and genre information to obtain the first feature. In some examples, when the first information is video information, the language model can process the image in the video information according to the above-mentioned processing method for image information, and process the audio in the video information according to the above-mentioned processing method for audio information, combine the processing results of the two, and encode to obtain the first feature.
[0157] S103: The language model sends the first feature to the style control module.
[0158] In one embodiment, the style control module is, for example, an image generation module, which can generate a corresponding image through text description.
[0159] S104: The style control module generates a first image according to the first feature.
[0160] In one embodiment, the style control module may act as a decoder to first decode the first feature and generate a first image. In some examples, the first image may include multiple base images, each of which may indicate information of user preference / interest.
[0161] S105: The style control module sends the first image to the wallpaper generation module.
[0162] S106: The style control module sends the first image to the icon generation module.
[0163] The order of S105 and S106 is not limited.
[0164] S107: The wallpaper generating module generates a first wallpaper according to the first image.
[0165] In one embodiment, the wallpaper generation module may select at least one base image from the first image to generate a first wallpaper and, optionally, a first score corresponding to the first wallpaper. In some examples, the first wallpaper may include multiple wallpapers of different types, such as, but not limited to, desktop wallpapers, lock screen wallpapers, and user interface wallpapers. In some examples, the first score may include multiple scores, one for each wallpaper. The scores may represent the recommendation level of the wallpaper and may be subsequently used to obtain recommended themes.
[0166] In some examples, the first information is the text "I like cats and cartoons, and I also like quiet atmospheres and simple things" input based on the user interface 420 shown in Figure 4(B), and the first image obtained based on the first information may include basic image 1 (i.e., "two cats and flowers" in the lock screen wallpaper 541 in the user interface 540 shown in Figure 5(D)), basic image 2 (i.e., "cat holding cookies" in the folder wallpaper 622 in the user interface 620 shown in Figure 6(B)), and the first wallpaper generated based on the first image includes the lock screen wallpaper 541 in the user interface 540 shown in Figure 5(D) and the folder wallpaper 622 in the user interface 620 shown in Figure 6(B), wherein the lock screen wallpaper 541 is generated based on the basic image 1 in the first image, and the folder wallpaper 622 is generated based on the basic image 2 in the first image.
[0167] S108: The icon generation module generates a first icon according to the first image.
[0168] In one embodiment, the first icon may include multiple icons, for example, N icons, where N is a positive integer and may be the number of applications (and optionally components) in the electronic device 100 .
[0169] In one embodiment, the first icon may correspond to a second score. In some examples, the second score may include multiple scores, such as N scores, with one icon corresponding to one score. The score may represent the degree of recommendation of the icon and may be subsequently used to obtain recommended topics.
[0170] In one embodiment, the icon generation module can generate the first icon based on the first image and application information (eg, application name, label, function, etc., application original icon color, pattern, outline, etc.).
[0171] In some examples, the icon generation module may first generate an icon pattern and outline based on the first image, then generate a watermark based on the application information, and combine the icon pattern, outline, and watermark to obtain the first icon, wherein the watermark may indicate the application information. For example, if the first image is "Cat 1" in icon 523 in user interface 520 shown in FIG5(B), the generated icon pattern is also "Cat 1", the icon outline is a rounded rectangle, the application is a shopping mall application, and the generated watermark is the original icon of the shopping mall application. The pattern "Cat 1", the outline of the rounded rectangle, and the watermark are then combined to obtain icon 523.
[0172] In this way, even if the pattern and outline of the icon itself cannot be directly seen by the user as the corresponding application, the watermark can indicate the application information, which is convenient for users to identify the application corresponding to the icon, effectively improving the user's sense of use, and can ensure the consistency of the icon and wallpaper style. The overall style of the theme is highly unified and effective, effectively improving the functional usability.
[0173] In other examples, the icon generation module may generate a pattern and an outline of the icon based on the first image and the information of the application program, which may include the following two cases:
[0174] Case 1: For any application, the icon generation module can generate the application icon based on the first image and the application information. It can be understood that the icon generation methods of different applications are different. An example of the generation method is as follows:
[0175] In some examples, the icon generation module may generate an icon pattern based on the first image, then generate an icon outline based on the application information, and combine the icon pattern and outline to obtain the first icon. For example, if the first image is "Cat 2," the pattern generated based on the first image is also "Cat 2," the application is "Music Application," the icon outline is the outline of the original music application icon, and finally, the pattern "Cat 2" and the outline are combined to obtain the music application icon.
[0176] In some examples, the icon generation module can generate a label / watermark based on the first image, and then combine the label / watermark with the original icon of the application to obtain the first icon, which can be understood as a partial adjustment to the original icon of the application. For example, the first image is the control 712A "Cat 3" in the user interface 710 shown in Figure 7, the generated label / watermark is "Cat 3", and the application is a time and weather component. The label / watermark "Cat 3" and the original icon of the time and weather component (e.g., the icon of the remaining portion of icon 712 excluding control 712A) are combined to obtain icon 712.
[0177] In some examples, the icon generation module can generate an outline of the icon based on the first image, then generate a pattern of the icon based on the application information, and combine the icon pattern and outline to obtain the first icon. For example, if the first image is "Cat 4," the outline generated based on the first image is the "Cat" outline of the function control 533 in the user interface 530 shown in FIG5(C), the pattern generated based on the application information is the "Record" pattern in the function control 533, and the "Cat" outline and the "Record" pattern are combined to obtain the function control 533.
[0178] Case 2: The icon generation module can divide the icons corresponding to the application into multiple different categories based on the application information, and then generate patterns and outlines of multiple styles based on the icon categories, and combine the patterns and outlines of the same / consistent style to obtain the first icon. It can be understood that the icons of different categories of applications are generated in different ways. For example, shopping mall applications, music applications, reading applications, and camera applications are classified as entertainment applications according to their functions, and WeChat applications, SMS applications, and email applications are classified as communication applications according to their functions. Among them, a pattern and outline of style 1 are generated for entertainment applications. For example, the patterns of icons 523, 524, 525, and 527 in the user interface 520 shown in Figure 5 (B) are related to "cat" and "cartoon" in the above-mentioned input text, that is, the pattern of style 1. A pattern and outline of style 2 are generated for communication applications. For example, the patterns of icons 623, 624, and 625 in the user interface 620 shown in Figure 6 (B) are related to "simple" in the above-mentioned input text, that is, the pattern of style 2. It can be understood that the generation process of outlines of different styles and patterns of different styles is similar and will not be repeated here. Finally, the pattern of style 1 and the outline of style 1 are combined to obtain the icon of the entertainment application, and the pattern of style 2 and the outline of style 2 are combined to obtain the icon of the communication application.
[0179] The following exemplifies a method for generating a pattern and an outline of the first icon based on the first image and, optionally, information about the application program:
[0180] In one embodiment, the icon generation module can obtain the number N of applications (optionally and components) in the electronic device 100, and then arbitrarily select N basic images from the first image to generate icons of N applications / components (i.e., first icons), where one icon corresponds to one basic image.
[0181] In some examples, the first information is the text "I like cats and cartoons, and I also like quiet atmospheres and simple things" input based on the user interface 420 shown in Figure 4(B), and the first icon includes, for example, icon 523 and icon 524 in the user interface 520 shown in Figure 5(B). The basic image in the first image corresponding to icon 523 is "Cat 1" in icon 523, and the basic image corresponding to icon 524 is "Cat 4" in icon 524.
[0182] In some examples, the first information is the text "I like cats and cartoons, and I also like quiet atmospheres and simple things" input based on the user interface 420 shown in Figure 4(B), and the first icon includes, for example, icon 523 and icon 526 in the user interface 520 shown in Figure 5(B), where the outline of icon 523 is a rounded rectangle and the outline of icon 526 is a circle.
[0183] In some examples, the first information is the text "I like cats and cartoons, and I also like quiet atmospheres and simple things" input based on the user interface 420 shown in Figure 4(B), and the first icon includes, for example, icon 523 and icon 528A in the user interface 520 shown in Figure 5(B), and the size of icon 523 is larger than the size of icon 528A.
[0184] Not limited to the above embodiment, in another embodiment, for N applications / components in the electronic device 100, the icon generation module can generate more than N icons, wherein for any application / component, multiple icons can be generated for the user to select. For example, the electronic device 100 can display one of the icons as the icon of the application / component. Subsequently, the electronic device 100 can receive a user operation on the icon, and in response to the user operation, switch the icon of the application / component to another icon. Specific examples can be seen in Figures 6(C) and 6(D).
[0185] The order of S107 and S108 is not limited.
[0186] S109: The icon generation module sends the first icon to the overall effect verification module.
[0187] S110: The wallpaper generation module sends the first wallpaper to the overall effect verification module.
[0188] The order of S109 and S110 is not limited.
[0189] S111: The overall effect verification module determines a first theme according to the first wallpaper and the first icon.
[0190] In one embodiment, the overall effect verification module can compare whether the styles of the first wallpaper and the first icon are compatible / consistent. When the styles of the first wallpaper and the first icon are compatible / consistent (for example, the matching degree between the first wallpaper and the first icon is greater than a third threshold), multiple themes are determined based on the first wallpaper and the first icon, and optionally, third scores corresponding to the multiple themes. The themes with the highest scores among the multiple themes are then determined as the first theme. In some examples, the third score can include multiple scores, with one score corresponding to each theme, wherein the third score can be related to the first score and the second score.
[0191] In one embodiment, the overall effect verification module can also reversely adjust the wallpaper generation module and the icon generation module based on the comparison result of the first wallpaper and the first icon, so that the wallpaper generation module and the icon generation module generate wallpaper and icons with consistent styles. This ensures the consistency of the icons and wallpaper styles in the theme, improves the overall effect of the theme, and enhances its visual appeal.
[0192] In one embodiment, the overall effect verification module can obtain a first loss degree based on the first wallpaper and the real wallpapers in the wallpaper library, and reversely adjust the wallpaper generation module based on the first loss degree so that the wallpaper generated by the wallpaper generation module has the same effect as the real wallpaper, that is, a wallpaper that is closer to the real wallpaper is generated, which meets the user's usage needs and improves the viewing value of the theme.
[0193] In one embodiment, the overall effect verification module can obtain a second loss degree based on the first icon and the real icons in the icon library, and reversely adjust the icon generation module based on the second loss degree so that the icon generated by the icon generation module has the same effect as the real icon, that is, an icon that is closer to the real icon is generated, which meets the user's usage needs and improves the viewing value of the theme.
[0194] S112: The overall effect verification module outputs the first theme.
[0195] In one embodiment, after the overall effect verification module determines the first theme, it can output the first theme, for example, by displaying the first theme on a display screen. In some examples, the first information obtained by the language module is, for example, the text "I like cats and cartoons, and I also like quiet atmospheres and simple things" input by the user based on the user interface 420 shown in FIG4 (B), and the first theme output by the overall effect verification module is, for example, the five themes included in the user interface 510 shown in FIG5 (A): Theme A, Theme B, Theme C, Theme D, and Theme E, wherein these five themes can be arranged in descending order from left to right and from top to bottom according to the scores, for example, the score of Theme A is 4.9 points, the score of Theme B is 4.7 points, the score of Theme C is 4.5 points, the score of Theme D is 4.2 points, and the score of Theme E is 4.0 points.
[0196] Not limited to the above embodiment, in another embodiment, S102-S111 may also be executed by the server, S101 may be replaced by: the electronic device 100 sends the first information to the server, and S112 may be replaced by: the server sends the first topic to the electronic device 100.
[0197] Not limited to the above embodiment, in another embodiment, the user can select any one of the first themes as the current theme of the electronic device 100. An example of the electronic device 100 displaying a theme can be seen in the user interface 520 shown in Figure 5(B), wherein the user interface 520 may include a selected theme, such as theme A in the user interface 520 shown in Figure 5(B).
[0198] Not limited to the above embodiment, in another embodiment, the user can select multiple themes from the first theme as the current theme of the electronic device 100, and the electronic device 100 can display different themes in different areas. An example of the electronic device 100 displaying multiple themes can be seen in the user interface 610 shown in Figure 6(A). The user interface 610 may include two selected themes (for example, theme A and theme D in the user interface 520 shown in Figure 5(B)), wherein area 611 is used to display theme A and area 612 is used to display theme D.
[0199] In the method shown in FIG8 , the electronic device can obtain user information of at least one modality, obtain a more accurate first feature based on the user information of at least one modality, and generate a first image that can indicate the user's preferences based on such first feature. Then, based on the first image, a first theme that the user prefers / favorites is generated. This method can meet the user's personalized needs, provide the user with personalized themes that suit them, improve the user experience, and have high functional usability. In addition, the first image can be used as a unified benchmark to generate the first wallpaper and first icon in the first theme, so that the style of the first wallpaper and the first icon can be consistent, thereby improving the overall style uniformity of the first theme, making the theme more aesthetically pleasing, meeting the user's aesthetic needs when using it, and further improving the user experience.
[0200] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A topic generation method, characterized in that: Applied to electronic equipment, the method comprises: Display a first interface, wherein the first interface includes multiple themes and a first control; receiving a first operation on the first control; In response to the first operation, displaying a second interface, wherein the second interface includes at least one option, and the at least one option is used to receive at least one type of information input by the user; receiving a second operation for the at least one option; In response to the second operation, obtaining first information of the user; A third interface is displayed according to the first information, and the third interface includes one or more first themes.
2. The method according to claim 1, characterized in that The first information includes at least one of the following: text information, audio information, voice information, picture information, video information, and information of users associated with the user.
3. The method according to claim 1 or 2, characterized in that The text information includes indication color information.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: receiving a third operation on the one or more first topics; In response to the third operation, a fourth interface is displayed, and the fourth interface includes the first content and / or the second content, the first content belongs to the second theme, the second content belongs to the third theme, the one or more first themes include the second theme and the third theme, the first content is a wallpaper or an icon, and the second content is a wallpaper or an icon.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: generating a first feature of the user according to the first information; generating a first image according to the first feature, wherein the first image includes a plurality of basic images, and the basic images indicate information that the user likes or is interested in; A plurality of first wallpapers and a plurality of first icons are generated according to the first image, and the one or more first themes include the plurality of first wallpapers and the plurality of first icons.
6. The method according to claim 5, characterized in that The first icon corresponds to one of the basic images or the multiple basic images.
7. The method according to claim 5 or 6, characterized in that The method further comprises: When there is a second icon among the multiple first icons whose matching degree with the second wallpaper is greater than a first preset threshold, the one or more first themes are generated according to the second wallpaper and the second icon, and the second wallpaper is any one of the multiple first wallpapers.
8. The method according to any one of claims 5 to 7, characterized in that: The multiple first wallpapers include desktop wallpapers, lock screen interface wallpapers, and application interface wallpapers, and the multiple first icons include application icons and functional component icons.
9. The method according to any one of claims 5 to 8, characterized in that: The first icon is related to the first information, and the first icon indicates a first application; The pattern and the outline of the first icon are both related to the first information, and the watermark of the first icon is related to the information of the first application; or, The pattern and the outline of the first icon are both related to the information of the first application, and the watermark of the first icon is related to the first information; or, The pattern of the first icon is related to the first information, and the outline of the first icon is related to the information of the first application; or, The pattern of the first icon is related to the information of the first application, and the outline of the first icon is related to the first information; The information of the first application includes at least one of the following: the name, label, function, and system default original icon of the first application.
10. The method according to any one of claims 4 to 9, characterized in that: The third interface includes first indication information and second indication information, the first indication information indicates the second topic, the third indication information indicates the third topic, and the receiving a third operation for the one or more first topics includes: receiving the third operation for the first indication information and the second indication information; In response to the third operation, the fourth interface is displayed, and the fourth interface includes a third icon and a fourth icon, the third icon indicates a second application, and the fourth icon indicates a third application, the second application and the third application belong to different functional categories, the third icon belongs to an icon of the second theme, and the fourth icon belongs to an icon of the third theme.
11. The method according to any one of claims 4 to 10, characterized in that: The third interface includes first indication information, the first indication information indicates the second topic, and the receiving a third operation for the one or more first topics includes: receiving the third operation for the first indication information in the third interface; In response to the third operation, displaying the fourth interface, wherein the fourth interface includes a fifth icon, and the fifth icon indicates a fourth application; receiving a fourth operation on the fifth icon in the fourth interface; In response to the fourth operation, modifying the fifth icon to a sixth icon; The sixth icon is displayed on the fourth interface, and the sixth icon indicates the fourth application.
12. The method according to claim 7, characterized in that The second wallpaper corresponds to a first score, the second icon corresponds to a second score, and generating the one or more first themes according to the second wallpaper and the second icon includes: generating a plurality of fourth themes according to the second wallpaper and the second icon; Obtaining a plurality of third scores corresponding to the plurality of fourth topics, wherein the third scores are related to the first scores and the second scores; The one or more first topics are selected from the multiple fourth topics according to the multiple third scores, and the scores corresponding to the first topics are greater than or equal to a second preset threshold.
13. The method according to any one of claims 4 to 12, characterized in that: After displaying the fourth interface, the method further includes: Acquire second information of a second user; generating one or more fifth themes according to the second information, the fifth themes including a plurality of third wallpapers and a plurality of seventh icons, the fifth themes being different from the first theme; A fifth interface is displayed, wherein the fifth interface includes third indication information, and the third indication information indicates the fifth theme.
14. An electronic device, characterized in that: The method comprises a transceiver, a processor and a memory, wherein the memory is used to store a computer program, and the processor calls the computer program to execute the method according to any one of claims 1 to 13.
15. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 13 is implemented.
16. A topic generation method, characterized in that: Applied to electronic equipment, the method comprises: Acquire first information of a first user, where the first information includes at least two of the following: text information, audio information, voice information, picture information, and video information; generating a first feature of the first user according to the first information; generating one or more first themes according to the first feature, wherein the first themes include a plurality of first wallpapers and a plurality of first icons; Displaying a first interface, wherein the first interface includes first indication information, and the first indication information indicates the first theme; A second interface is displayed, wherein the second interface includes first content and second content, the first content belongs to a second theme, the second content belongs to a third theme, the one or more first themes include the second theme and the third theme, the first content is a wallpaper or an icon, and the second content is a wallpaper or an icon.
17. The method according to claim 16, characterized in that The multiple first wallpapers include desktop wallpapers, lock screen interface wallpapers, and application interface wallpapers, and the multiple first icons include application icons and functional component icons.
18. The method according to claim 16 or 17, characterized in that The obtaining the first information of the first user includes: receiving a first operation; In response to the first operation, sending a first request to a network device; The first information sent by the network device based on the first request is received, where the first information is information input by an associated user of the first user.
19. The method according to claim 16 or 17, characterized in that The first icon is related to the first information, and the first icon indicates a first application; The pattern and the outline of the first icon are both related to the first information, and the watermark of the first icon is related to the information of the first application; or, The pattern and the outline of the first icon are both related to the information of the first application, and the watermark of the first icon is related to the first information; or, The pattern of the first icon is related to the first information, and the outline of the first icon is related to the information of the first application; or, The pattern of the first icon is related to the information of the first application, and the outline of the first icon is related to the first information; The information of the first application includes at least one of the following: the name, label, function, and system default original icon of the first application.
20. The method according to claim 16 or 17, characterized in that The first interface includes second indication information and third indication information, the second indication information indicates the second theme among the plurality of first themes, the third indication information indicates the third theme among the plurality of first themes, and displaying the second interface includes: receiving a second operation for the second indication information and the third indication information; In response to the second operation, a second interface is displayed, the second interface including a second icon and a third icon, the second icon indicates a second application, the third icon indicates a third application, the second application and the third application belong to different functional categories, the second icon belongs to an icon of the second theme, and the third icon belongs to an icon of the third theme.
21. The method according to claim 16 or 17, characterized in that The first interface includes second indication information and third indication information, the second indication information indicates the second theme among the plurality of first themes, the third indication information indicates the third theme among the plurality of first themes, and displaying the second interface includes: receiving a second operation for the second indication information and the third indication information; In response to the second operation, a second interface is displayed, the second interface including a first area and a second area, the wallpaper and icons in the first area belong to the second theme, and the wallpaper and icons in the second area belong to the third theme.
22. The method according to claim 16 or 17, characterized in that The method further comprises: receiving a third operation on the first indication information in the first interface; In response to the third operation, a third interface is displayed, wherein the third interface includes a fourth icon, wherein the fourth icon indicates showing a fourth application; receiving a fourth operation on the fourth icon in the third interface; In response to the fourth operation, modifying the fourth icon to a fifth icon; The fifth icon is displayed on the third interface, and the fifth icon indicates the fourth application.
23. The method according to claim 16 or 17, characterized in that Generating one or more first topics according to the first information includes: generating a first image according to the first information; generating the plurality of first wallpapers and the plurality of first icons according to the first image; When the matching degree between the plurality of first wallpapers and the plurality of first icons is greater than or equal to a first preset threshold, the first theme is obtained according to the plurality of first wallpapers and the plurality of first icons.
24. The method of claim 23, wherein: The first image includes multiple second images, and the first icon corresponds to one of the second images or the multiple second images.
25. The method according to claim 16 or 17, characterized in that Generating one or more first topics according to the first information includes: generating a plurality of second wallpapers and a plurality of sixth icons according to the first information, wherein the second wallpapers correspond to the first scores, and the sixth icons correspond to the second scores; generating a plurality of fourth themes according to the plurality of second wallpapers and the plurality of sixth icons; Obtaining a plurality of third scores corresponding to the plurality of fourth topics, wherein the third scores are related to the first scores and the second scores; The one or more first topics are selected from the multiple fourth topics according to the multiple third scores, and the scores corresponding to the first topics are greater than or equal to a preset threshold.
26. The method according to claim 16 or 17, characterized in that After displaying the first interface, the method further includes: Acquire second information of a second user; generating one or more fifth themes according to the second information, the fifth themes including a plurality of third wallpapers and a plurality of seventh icons, the fifth themes being different from the first theme; A fourth interface is displayed, wherein the fourth interface includes fourth indication information, and the fourth indication information indicates the fifth theme.
27. An electronic device, characterized in that: The method comprises a transceiver, a processor and a memory, wherein the memory is used to store a computer program, and the processor calls the computer program to execute the method according to any one of claims 16 to 26.
28. A computer storage medium, characterized in that The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 16 to 26 is implemented.
Citation Information
Patent Citations
Mobile communication equipment and switching method of theme colors of same
CN103257796A
Content recommendation method based on user interests and terminal equipment
CN115114515A
Theme generation method and electronic equipment
CN116302297A
Graphical user interface for managing discussion topics
US20130332853A1
