Wallpaper updating method and device, electronic equipment and storage medium
By using voice recognition and text processing technology on lightweight devices, wallpapers that meet users' personalized requirements are generated, which solves the problem of insufficient selectivity for device update wallpapers and realizes intelligent and personalized wallpaper updates.
Patent Information
- Application Number
- CN202311285422.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2025-03-28
AI Technical Summary
Lightweight devices have less selectivity when updating wallpapers and cannot meet the personalized requirements of different users.
Through the voice recognition client, text processing is performed to extract key information, target images are generated on the server based on this information, and returned to the client for wallpaper update.
It realizes the intelligent, personalized wallpaper updates that meet users' real-time needs and styles on lightweight devices with poor hardware conditions.
Smart Images

Figure CN119718495A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of image processing technology, and in particular to a wallpaper updating method, device, electronic device and storage medium. Background Art
[0002] In recent years, there are more and more lightweight devices such as smart speakers, smart bracelets, and smart watches, which have brought great convenience to users. The hardware level of these lightweight devices is relatively low, so they cannot support the operation of large algorithms. Therefore, the application functions running on these devices are generally relatively simple. For example, lightweight devices in related technologies often have fewer choices when updating wallpapers and cannot meet the personalized requirements of different users. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the embodiments of the present disclosure provide a wallpaper updating method, device, electronic device and storage medium to solve the defects in the related art.
[0004] According to a first aspect of an embodiment of the present disclosure, a wallpaper updating method is provided, the method comprising:
[0005] In response to receiving a wallpaper update instruction in voice form sent by a client, performing voice recognition on the wallpaper update instruction to obtain text information corresponding to the wallpaper update instruction;
[0006] Performing text processing on the text information to obtain key information, wherein the key information is used to characterize the characteristics of the wallpaper specified by the user;
[0007] generating a target image according to the key information;
[0008] The target image is returned to the client, so that the client updates the wallpaper to the target image.
[0009] In one embodiment of the present disclosure, the method further includes:
[0010] In response to the key information not meeting a preset requirement, a prompt message is sent to the client, wherein the prompt message is used to prompt the user to provide the key information.
[0011] In one embodiment of the present disclosure, generating a target image according to the key information includes:
[0012] The key information is input into a preset image algorithm model so that the image algorithm model generates an image matching the key information as a target image.
[0013] In one embodiment of the present disclosure, the wallpaper update instruction carries the current wallpaper;
[0014] The step of generating a target image according to the key information comprises:
[0015] A plurality of images are generated according to the key information, and an image with the lowest similarity to the current wallpaper among the plurality of images is used as a target image.
[0016] In one embodiment of the present disclosure, the wallpaper update instruction carries the current wallpaper and the usage time of the current wallpaper;
[0017] The step of generating a target image according to the key information comprises:
[0018] generating a plurality of images according to the key information;
[0019] In response to the usage time of the current wallpaper being greater than a preset time threshold, taking an image with the highest similarity to the current wallpaper among the multiple images as a target image;
[0020] In response to the usage time of the current wallpaper being less than the usage time threshold, an image with the lowest similarity to the current wallpaper among the multiple images is used as a target image.
[0021] In one embodiment of the present disclosure, the client is a quick application running on a voice interaction device.
[0022] According to a second aspect of an embodiment of the present disclosure, a wallpaper updating method is provided, the method comprising:
[0023] In response to receiving the wallpaper update instruction in voice form, sending the wallpaper update instruction to the server;
[0024] Receive a target image sent by the server, and update the current wallpaper to the target image, wherein the target image is generated by the server according to key information in the wallpaper update instruction, and the key information is obtained by the server performing voice recognition and text processing on the wallpaper update instruction in sequence.
[0025] In one embodiment of the present disclosure, the method further includes:
[0026] The target image is saved in a local wallpaper library.
[0027] According to a third aspect of an embodiment of the present disclosure, a wallpaper updating device is provided, the device comprising:
[0028] A voice recognition module, configured to, in response to receiving a wallpaper update instruction in voice form sent by a client, perform voice recognition on the wallpaper update instruction to obtain text information corresponding to the wallpaper update instruction;
[0029] A text processing module, used for performing text processing on the text information to obtain key information, wherein the key information is used to characterize the characteristics of the wallpaper specified by the user;
[0030] An image generation module, used to generate a target image according to the key information;
[0031] An updating module is used to return the target image to the client, so that the client updates the wallpaper to the target image.
[0032] In one embodiment of the present disclosure, the device further includes a prompt module, which is used to:
[0033] In response to the key information not meeting a preset requirement, a prompt message is sent to the client, wherein the prompt message is used to prompt the user to provide the key information.
[0034] In one embodiment of the present disclosure, the image generation module is used to:
[0035] The key information is input into a preset image algorithm model so that the image algorithm model generates an image matching the key information as a target image.
[0036] In one embodiment of the present disclosure, the wallpaper update instruction carries the current wallpaper;
[0037] The image generation module is used for:
[0038] A plurality of images are generated according to the key information, and an image with the lowest similarity to the current wallpaper among the plurality of images is used as a target image.
[0039] In one embodiment of the present disclosure, the wallpaper update instruction carries the current wallpaper and the usage time of the current wallpaper;
[0040] The image generation module is used for:
[0041] generating a plurality of images according to the key information;
[0042] In response to the usage time of the current wallpaper being greater than a preset time threshold, taking an image with the highest similarity to the current wallpaper among the multiple images as a target image;
[0043] In response to the usage time of the current wallpaper being less than the usage time threshold, an image with the lowest similarity to the current wallpaper among the multiple images is used as a target image.
[0044] In one embodiment of the present disclosure, the client is a quick application running on a voice interaction device.
[0045] According to a fourth aspect of an embodiment of the present disclosure, a wallpaper updating device is provided, the device comprising:
[0046] A sending module, configured to send the wallpaper update instruction to the server in response to receiving the wallpaper update instruction in voice form;
[0047] The receiving module is used to receive the target image sent by the server and update the current wallpaper to the target image, wherein the target image is generated by the server according to the key information in the wallpaper update instruction, and the key information is obtained by the server by performing voice recognition and text processing on the wallpaper update instruction in sequence.
[0048] In one embodiment of the present disclosure, the device further includes a storage module, which is used to:
[0049] The target image is saved in a local wallpaper library.
[0050] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the wallpaper update method described in the first aspect when executing the computer instructions.
[0051] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method described in the first aspect is implemented.
[0052] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0053] In the wallpaper update method provided by the embodiment of the present disclosure, the server can respond to the wallpaper update instruction in voice form sent by the client, perform voice recognition and text processing on the wallpaper update instruction in sequence, obtain key information, generate a target image based on the key information, and finally return the target image to the client, so that the client updates the wallpaper to the target image. Since the target image is generated based on the key information in the wallpaper update instruction input by the user to the client, and the key information is used to characterize the wallpaper characteristics specified by the user, it can meet the personalized requirements added by the user in the wallpaper update instruction, and the wallpaper on the client is generated on the server, so that lightweight devices with poor hardware conditions can also obtain intelligent, personalized wallpapers that meet the real-time needs and styles of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0055] Figure 1 is a flowchart of a wallpaper updating method applied to a server according to an exemplary embodiment of the present disclosure;
[0056] Figure 2 is a flowchart of a wallpaper updating method applied to a client, shown in an exemplary embodiment of the present disclosure;
[0057] Figure 3 is a structural diagram of a wallpaper updating device applied to a server side, shown in an exemplary embodiment of the present disclosure;
[0058] Figure 4 is a structural diagram of a wallpaper updating device applied to a client, shown in an exemplary embodiment of the present disclosure;
[0059] Figure 5 It is a structural block diagram of an electronic device shown in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0060] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0061] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0062] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0063] In recent years, there are more and more lightweight devices such as smart speakers, smart bracelets, and smart watches, which have brought great convenience to users. The hardware level of these lightweight devices is relatively low, so they cannot support the operation of large algorithms. Therefore, the application functions running on these devices are generally relatively simple. For example, lightweight devices in related technologies often have fewer choices when updating wallpapers and cannot meet the personalized requirements of different users.
[0064] Based on this, on the first aspect, at least one embodiment of the present disclosure provides a wallpaper updating method, which can update wallpapers for lightweight devices such as smart speakers, smart bracelets, smart watches, etc., and can make the updated wallpapers meet the user's personalized needs and style, thereby improving user satisfaction.
[0065] This method can be completed by a client running on a lightweight device such as a voice interaction device and a server running on a server. The client can be a quick application running on the voice interaction device. Next, the wallpaper update method is introduced in detail from both the server and client sides.
[0066] Please refer to the attached Figure 1 , which shows the process of the wallpaper updating method applied to the server, including steps S101 to S104.
[0067] In step S101, in response to receiving a wallpaper update instruction in voice form sent by a client, voice recognition is performed on the wallpaper update instruction to obtain text information corresponding to the wallpaper update instruction.
[0068] Among them, the client can be a quick application running on a lightweight device, and the quick application can receive wallpaper update instructions in the form of voice input by the user. For example, after waking up the lightweight device, the user inputs a voice message "Please change to a puppy-related wallpaper" to the lightweight device, and the lightweight device can use the voice message as a wallpaper update instruction.
[0069] In step S102, text processing is performed on the text information to obtain key information, wherein the key information is used to characterize the characteristics of the wallpaper specified by the user.
[0070] Exemplarily, an NLP (Natural Language Processing) model may be preset in the server, so the server can input the text information of the wallpaper update instruction into the NLP model. The NLP model can perform text recognition processing such as word segmentation, part-of-speech tagging, and named entity tagging on the text information to extract key information in the text information, wherein the key information may be keywords, tags, etc. For example, in the above "Please change a puppy-related wallpaper", "puppy" is recorded as the keyword.
[0071] In step S103, a target image is generated according to the key information.
[0072] The server can set preset conditions for the key information, such as including keywords, tags, etc.; this step is executed when the key information obtained in step S101 meets the preset conditions; when the key information obtained in step S101 does not meet the preset conditions, a prompt message can be sent to the client, wherein the prompt message is used to prompt the user to provide key information, for example, the prompt message is a voice message such as "Please enter the keywords of the wallpaper". After receiving the prompt message, the user can further enter the keywords, and the client sends the keywords to the server, and then the server executes this step based on the keywords.
[0073] Exemplarily, an image algorithm model may be pre-set in the server, and the image algorithm model is used to generate images, such as a Stable Diffusion algorithm, etc. Based on this, in this step, the key information may be input into a preset image algorithm model, so that the image algorithm model generates an image matching the key information as a target image. For example, when the key information is "puppy", the image algorithm model may generate an image containing a puppy as a target image.
[0074] Preferably, when the client sends a wallpaper update instruction to the server, the client's current wallpaper is also added to the wallpaper update instruction, that is, the wallpaper update instruction carries the current wallpaper. Based on this, this step can generate multiple images according to the key information, and use the image with the lowest similarity to the current wallpaper among the multiple images as the target image, wherein the similarity can be characterized by the Euclidean distance between images, or the Euclidean distance between image labels, etc. This is because users often change wallpapers because they are dissatisfied with the current wallpaper or are aesthetically fatigued, and want to change to a wallpaper of a different style, and this step can avoid the wallpaper after replacement being the same style as the wallpaper before replacement, thereby improving user satisfaction and user experience.
[0075] Preferably, when the client sends a wallpaper update instruction to the server, the client's current wallpaper and the usage time of the current wallpaper are also added to the wallpaper update instruction, that is, the wallpaper update instruction carries the current wallpaper and the usage time of the current wallpaper. Based on this, this step can generate multiple images according to the key information; and in response to the usage time of the current wallpaper being greater than a preset time threshold, the image with the highest similarity to the current wallpaper among the multiple images is used as the target image; in response to the usage time of the current wallpaper being less than the time threshold, the image with the lowest similarity to the current wallpaper among the multiple images is used as the target image. Similarity can be characterized using the Euclidean distance between images, or the Euclidean distance between image labels, etc.
[0076] This is because the length of time a user uses a wallpaper can, to a certain extent, represent the user's attitude toward the wallpaper, i.e., a longer time of using a wallpaper can represent that the user likes the wallpaper, while a shorter time of using the wallpaper can represent that the user does not like the wallpaper (for example, if a user is not satisfied with the wallpaper of a lightweight device after it has just been replaced by this method and updates the wallpaper again, the user does not like the wallpaper). This step can make the replaced wallpaper fit the user's preferences as much as possible, improve the user's satisfaction, and reduce the number of updates required to obtain a satisfactory wallpaper.
[0077] In a typical scenario, the user likes the current wallpaper, so the user uses the current wallpaper for a long time; the user wants to change to a similar image, so he updates the wallpaper through voice commands, and the server can generate an image with a high similarity to the current wallpaper as the target image.
[0078] In another typical scenario, the user likes the current wallpaper, so the user uses the current wallpaper for a long time; the user wants to change the style and change to an image that is quite different from the current wallpaper, so the user updates the wallpaper through voice commands, and the server can generate a first image as the target image that is highly similar to the current wallpaper (due to the long usage time); after the lightweight device displays the first image as the wallpaper, the user finds that it is similar to the wallpaper before the update, so the user updates the wallpaper again through voice commands, and the server can generate a second image as the target image that is less similar to the first image (due to the short usage time), and after the lightweight device displays the second image as the wallpaper, the user finds that it is not similar to the wallpaper before the update and is satisfied.
[0079] It can be seen from the above two scenarios that the preferred embodiment can obtain wallpapers that satisfy the user at most twice, thereby further improving the accuracy of the user updating the wallpaper and satisfying the user's personalized requirements to the greatest extent and at the fastest speed.
[0080] In step S104, the target image is returned to the client, so that the client updates the wallpaper to the target image.
[0081] Exemplarily, after receiving the target image, the client updates the current wallpaper to the target image to complete the wallpaper update.
[0082] In the wallpaper update method provided by the embodiment of the present disclosure, the server can, in response to receiving the wallpaper update instruction sent by the client, perform text processing on the wallpaper update instruction to obtain key information, generate a target image based on the key information, and finally return the target image to the client so that the client updates the wallpaper to the target image. Since the target image is generated based on the key information in the wallpaper update instruction input by the user to the client, it can meet the personalized requirements added by the user in the wallpaper update instruction, and the wallpaper on the client is generated on the server, so that lightweight devices with poor hardware conditions can also obtain intelligent, personalized wallpapers that meet the real-time needs and styles of users.
[0083] Please refer to the attached Figure 2 , which shows the process of the wallpaper updating method applied to the client, including steps S201 to S202.
[0084] In step S201, in response to receiving a wallpaper update instruction in voice form, the wallpaper update instruction is sent to a server.
[0085] In step S201, a target image sent by the server is received, and the current wallpaper is updated to the target image, wherein the target image is generated by the server according to key information in the wallpaper update instruction, and the key information is obtained by the server by performing voice recognition and text processing on the wallpaper update instruction in sequence.
[0086] Exemplarily, the target image may also be saved in a local wallpaper library.
[0087] More details of the wallpaper update method on the client side have been introduced in detail in the method on the server side, and will not be repeated here.
[0088] According to a third aspect of the embodiment of the present disclosure, a wallpaper updating device is provided. Figure 3 , the device comprises:
[0089] The speech recognition module 301 is used for, in response to receiving a wallpaper update instruction in the form of speech sent by the client, performing speech recognition on the wallpaper update instruction to obtain text information corresponding to the wallpaper update instruction;
[0090] A text processing module 302 is used to perform text processing on the text information to obtain key information, wherein the key information is used to characterize the characteristics of the wallpaper specified by the user;
[0091] An image generation module 303, used to generate a target image according to the key information;
[0092] The updating module 304 is configured to return the target image to the client, so that the client updates the wallpaper to the target image.
[0093] In one embodiment of the present disclosure, the device further includes a prompt module, which is used to:
[0094] In response to the key information not meeting a preset requirement, a prompt message is sent to the client, wherein the prompt message is used to prompt the user to provide the key information.
[0095] In one embodiment of the present disclosure, the image generation module is used to:
[0096] The key information is input into a preset image algorithm model so that the image algorithm model generates an image matching the key information as a target image.
[0097] In one embodiment of the present disclosure, the wallpaper update instruction carries the current wallpaper;
[0098] The image generation module is used for:
[0099] A plurality of images are generated according to the key information, and an image with the lowest similarity to the current wallpaper among the plurality of images is used as a target image.
[0100] In one embodiment of the present disclosure, the wallpaper update instruction carries the current wallpaper and the usage time of the current wallpaper;
[0101] The image generation module is used for:
[0102] generating a plurality of images according to the key information;
[0103] In response to the usage time of the current wallpaper being greater than a preset time threshold, taking an image with the highest similarity to the current wallpaper among the multiple images as a target image;
[0104] In response to the usage time of the current wallpaper being less than the usage time threshold, an image with the lowest similarity to the current wallpaper among the multiple images is used as a target image.
[0105] In one embodiment of the present disclosure, the client is a quick application running on a voice interaction device.
[0106] According to a fourth aspect of the present disclosure, a wallpaper updating device is provided. Figure 4 , the device comprises:
[0107] A sending module 401, configured to send the wallpaper update instruction to the server in response to receiving the wallpaper update instruction in voice form;
[0108] The receiving module 402 is used to receive the target image sent by the server and update the current wallpaper to the target image, wherein the target image is generated by the server according to the key information in the wallpaper update instruction, and the key information is obtained by the server by performing voice recognition and text processing on the wallpaper update instruction in sequence.
[0109] In one embodiment of the present disclosure, the device further includes a storage module, which is used to:
[0110] The target image is saved in a local wallpaper library.
[0111] Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the first aspect related to the method, and will not be elaborated here.
[0112] According to the fifth aspect of the embodiment of the present disclosure, please refer to the attached Figure 5 , which exemplarily shows a block diagram of an electronic device. For example, the device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0113] Reference Figure 5 , the device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 414 , and a communication component 416 .
[0114] The processing component 402 generally controls the overall operation of the device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.
[0115] The memory 404 is configured to store various types of data to support operations on the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0116] The power component 406 provides power to the various components of the device 400. The power component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 400.
[0117] The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0118] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the device 400 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.
[0119] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0120] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the device 400. For example, the sensor assembly 414 can detect the open / closed state of the device 400, the relative positioning of components, such as the display and keypad of the device 400, the sensor assembly 414 can also detect the position change of the device 400 or a component of the device 400, the presence or absence of user contact with the device 400, the orientation or acceleration / deceleration of the device 400 and the temperature change of the device 400. The sensor assembly 414 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0121] The communication component 416 is configured to facilitate wired or wireless communication between the device 400 and other devices. The device 400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0122] In an exemplary embodiment, the apparatus 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the wallpaper update method of the above-mentioned electronic device.
[0123] In a sixth aspect, the present disclosure, in an exemplary embodiment, further provides a non-temporary computer-readable storage medium including instructions, such as a memory 404 including instructions, and the instructions can be executed by a processor 420 of an apparatus 400 to complete the wallpaper update method of the electronic device. For example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0124] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0125] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A wallpaper updating method, characterized in that: The method comprises: In response to receiving a wallpaper update instruction in voice form sent by a client, performing voice recognition on the wallpaper update instruction to obtain text information corresponding to the wallpaper update instruction; Performing text processing on the text information to obtain key information, wherein the key information is used to characterize the characteristics of the wallpaper specified by the user; generating a target image according to the key information; The target image is returned to the client, so that the client updates the wallpaper to the target image.
2. The wallpaper updating method according to claim 1, characterized in that: The method further comprises: In response to the key information not meeting a preset requirement, a prompt message is sent to the client, wherein the prompt message is used to prompt the user to provide the key information.
3. The wallpaper updating method according to claim 1, characterized in that: The step of generating a target image according to the key information comprises: The key information is input into a preset image algorithm model so that the image algorithm model generates an image matching the key information as a target image.
4. The wallpaper updating method according to claim 1, characterized in that: The wallpaper update instruction carries the current wallpaper; The step of generating a target image according to the key information comprises: A plurality of images are generated according to the key information, and an image with the lowest similarity to the current wallpaper among the plurality of images is used as a target image.
5. The wallpaper updating method according to claim 1, characterized in that: The wallpaper update instruction carries the current wallpaper and the usage time of the current wallpaper; The step of generating a target image according to the key information comprises: generating a plurality of images according to the key information; In response to the usage time of the current wallpaper being greater than a preset time threshold, taking an image with the highest similarity to the current wallpaper among the multiple images as a target image; In response to the usage time of the current wallpaper being less than the usage time threshold, an image with the lowest similarity to the current wallpaper among the multiple images is used as a target image.
6. The wallpaper updating method according to any one of claims 1 to 5, characterized in that: The client is a quick application running on a voice interaction device.
7. A wallpaper updating method, characterized in that: The method comprises: In response to receiving the wallpaper update instruction in voice form, sending the wallpaper update instruction to the server; Receive a target image sent by the server, and update the current wallpaper to the target image, wherein the target image is generated by the server according to key information in the wallpaper update instruction, and the key information is obtained by the server performing voice recognition and text processing on the wallpaper update instruction in sequence.
8. The wallpaper updating method according to claim 7, characterized in that: The method further comprises: The target image is saved in a local wallpaper library.
9. A wallpaper updating device, characterized in that: The device comprises: A voice recognition module, configured to, in response to receiving a wallpaper update instruction in voice form sent by a client, perform voice recognition on the wallpaper update instruction to obtain text information corresponding to the wallpaper update instruction; A text processing module, used for performing text processing on the text information to obtain key information, wherein the key information is used to characterize the characteristics of the wallpaper specified by the user; An image generation module, used to generate a target image according to the key information; The updating module is used to return the target image to the client so that the client updates the wallpaper to the target image.
10. The wallpaper updating device according to claim 9, characterized in that: The device also includes a prompt module, which is used to: In response to the key information not meeting a preset requirement, a prompt message is sent to the client, wherein the prompt message is used to prompt the user to provide the key information.
11. The wallpaper updating device according to claim 9, characterized in that: The image generation module is used for: The key information is input into a preset image algorithm model so that the image algorithm model generates an image matching the key information as a target image.
12. The wallpaper updating device according to claim 9, characterized in that: The wallpaper update instruction carries the current wallpaper; The image generation module is used for: A plurality of images are generated according to the key information, and an image with the lowest similarity to the current wallpaper among the plurality of images is used as a target image.
13. The wallpaper updating device according to claim 9, characterized in that: The wallpaper update instruction carries the current wallpaper and the usage time of the current wallpaper; The image generation module is used for: generating a plurality of images according to the key information; In response to the usage time of the current wallpaper being greater than a preset time threshold, taking an image with the highest similarity to the current wallpaper among the multiple images as a target image; In response to the usage time of the current wallpaper being less than the usage time threshold, an image with the lowest similarity to the current wallpaper among the multiple images is used as a target image.
14. The wallpaper updating device according to any one of claims 9 to 13, characterized in that: The client is a quick application running on a voice interaction device.
15. A wallpaper updating device, characterized in that: The device comprises: A sending module, configured to send the wallpaper update instruction to the server in response to receiving the wallpaper update instruction in voice form; The receiving module is used to receive the target image sent by the server and update the current wallpaper to the target image, wherein the target image is generated by the server according to the key information in the wallpaper update instruction, and the key information is obtained by the server by performing voice recognition and text processing on the wallpaper update instruction in sequence.
16. The wallpaper updating device according to claim 15, characterized in that: The device also includes a storage module, which is used to: The target image is saved in a local wallpaper library.
17. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the wallpaper updating method according to any one of claims 1 to 8 when executing the computer instructions.
18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Mobile game recommendation system and recommendation method thereof
CN105045916A
Method for recommending lock-screen wallpaper and related product
CN107357832A
Pushing terminal and method of application themes and computer-readable storage medium
CN108427586A
Wallpaper pushing method and device
CN110069315A
Theme generation method and electronic equipment
CN116302297A