Application background setting method and device, storage medium and program product
By displaying prompts and generating background images using a target language model, the problem of poor application background settings was solved, enabling personalized background settings.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-26
- Publication Date
- 2026-04-10
AI Technical Summary
In existing technologies, application backgrounds can only be set based on fixed images, resulting in poor settings and failing to meet users' personalized needs.
By displaying prompts, the system obtains the prompts for the target object's selection or input, generates a background image using the target language model, and determines the target image based on the user's selection or feedback, setting it as the application's background.
It enables flexible settings for the application background, meeting users' personalized needs and improving the setting effect.
Smart Images

Figure CN121833100A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of artificial intelligence, and more specifically, to a method, apparatus, storage medium, and program product for setting up an application background. Background Technology
[0002] Currently, skinning an app (application) is mainly achieved by having the user select images from a pre-defined image library.
[0003] The process of users filtering through a large number of pre-defined images to find the images they need is inefficient, and it is not guaranteed that the images they need will be selected as the app's skin (or background). Furthermore, the relevant technology does not support users generating personalized images based on their preferences for use as app skins.
[0004] There is currently no effective solution to the problem that application backgrounds can only be set based on fixed images in related technologies, resulting in poor setting effects. Summary of the Invention
[0005] The main objective of this application is to provide a method, apparatus, storage medium, and program product for setting application backgrounds, in order to solve the problem in related technologies that application backgrounds can only be set based on fixed images, resulting in poor setting effects.
[0006] To achieve the above objectives, according to one aspect of this application, a method for setting an application background is provided. The method includes: displaying N prompts in response to a background setting request, wherein the background setting request includes a request initiated by a target object within the application to set the background of the application, N being a positive integer, and the application including: an application of a financial institution; obtaining a target prompt determined by the target object based on the N prompts; inputting the target prompt into a target language model and outputting M background images, wherein the target language model is used to generate the image required by the target prompt, and M being a positive integer; determining a target image based on the M background images, and setting the background of the application to the target image.
[0007] Further, obtaining the target prompt word determined by the target object based on the N prompt words includes: when the target object selects any of the prompt words, determining the target prompt word based on the prompt word selected by the target object; when the target object modifies any of the prompt words, determining the target prompt word based on the modified prompt word; when the target object inputs background requirements, determining the target prompt word based on the background requirements, wherein the background requirements include at least one of the following: prompt words, T keywords, where T is a positive integer.
[0008] Furthermore, determining the target prompt word based on the background requirement also includes: if the background requirement is a prompt word, determining the background requirement as the target prompt word; if the background requirement is the T keywords, determining the target prompt word based on the T keywords.
[0009] Further, when the background requirement consists of T keywords, determining the target prompt word based on the T keywords includes: calculating the similarity between the T keywords and all prompt words in the prompt word library to obtain a calculation result; based on the calculation result, reading S prompt words from all prompt words in the prompt word library in descending order of similarity to obtain S first prompt words, where S is a positive integer; displaying the S first prompt words and obtaining the selection result of the target object among the S first prompt words to obtain a first selection result; and determining the target prompt word based on the first selection result.
[0010] Further, determining the target image based on the M background images includes: displaying the M background images and obtaining the selection result of the target object on the M background images to obtain a second selection result; if the second selection result indicates that the target object selects any of the background images, determining the background image selected by the target object as the target image; if the second selection result indicates that the target object does not select any of the background images, regenerating the M background images using the target language model, and determining the target image based on the regenerated M background images.
[0011] Furthermore, after displaying N prompt words, the method further includes: upon receiving a prompt word update request from the target object, regenerating N prompt words to obtain N second prompt words; displaying the N second prompt words; and setting the background of the application based on the target object's selection result of the N second prompt words.
[0012] Furthermore, after obtaining the target prompt words determined by the N prompt words for the target object, the method further includes: detecting whether the target prompt words are compliant, obtaining a first detection result, and if the first detection result indicates that the target prompt words are compliant, performing the step of inputting the target prompt words into the target language model and outputting M background images; before determining the target image based on the M background images, the method further includes: detecting whether each of the background images is compliant, obtaining a second detection result, and if the second detection result indicates that the M background images are compliant, performing the step of determining the target image based on the M background images.
[0013] To achieve the above objectives, according to another aspect of this application, an application background setting apparatus is provided. The apparatus includes: a display unit, configured to display N prompt words in response to a background setting request, wherein the background setting request includes a request initiated by a target object within an application to set the background of the application, where N is a positive integer, and the application includes an application of a financial institution; a determining unit, configured to obtain a target prompt word determined by the target object based on the N prompt words; a first processing unit, configured to input the target prompt word into a target language model and output M background images, wherein the target language model is used to generate the image required by the target prompt word, where M is a positive integer; and a second processing unit, configured to determine a target image based on the M background images and set the background of the application to the target image.
[0014] Further, the determining unit includes: a first determining subunit, configured to determine the target prompt word based on the prompt word selected by the target object when the target object selects any of the prompt words; a second determining subunit, configured to determine the target prompt word based on the modified prompt word by the target object when the target object modifies any of the prompt words; and a third determining subunit, configured to determine the target prompt word based on the background requirement when the target object inputs a background requirement, wherein the background requirement includes at least one of the following: prompt words, T keywords, where T is a positive integer.
[0015] Furthermore, the third determining subunit includes: a first determining module, used to determine the background requirement as the target prompt word when the background requirement is a prompt word; and a second determining module, used to determine the target prompt word based on the T keywords when the background requirement is the T keywords.
[0016] Further, the second determining module includes: a calculation submodule, used to calculate the similarity between the T keywords and all prompt words in the prompt word library, and obtain a calculation result; a reading submodule, used to read S prompt words from all prompt words in the prompt word library according to the calculation result and in descending order of similarity, to obtain S first prompt words, where S is a positive integer; a processing submodule, used to display the S first prompt words and obtain the selection result of the target object among the S first prompt words, to obtain a first selection result; and a determining submodule, used to determine the target prompt word based on the first selection result.
[0017] Further, the second processing unit includes: a first processing subunit, configured to display the M background images and obtain the selection result of the target object on the M background images to obtain a second selection result; a second processing subunit, configured to determine the background image selected by the target object as the target image when the second selection result indicates that the target object has selected any of the background images; and a third processing subunit, configured to regenerate the M background images using the target language model when the second selection result indicates that the target object has not selected any of the background images, and determine the target image based on the regenerated M background images.
[0018] Furthermore, the application background setting device further includes: a generation unit, configured to regenerate N prompt words after displaying N prompt words and upon receiving a prompt word update request from the target object, to obtain N second prompt words; and a setting unit, configured to display the N second prompt words and set the background of the application based on the target object's selection result of the N second prompt words.
[0019] Furthermore, the application background setting device further includes: a first detection unit, configured to, after obtaining target prompts determined by the target object based on N prompts, detect whether the target prompts are compliant, obtain a first detection result, and, if the first detection result indicates that the target prompts are compliant, perform the step of inputting the target prompts into a target language model and outputting M background images; a second detection unit, configured to, before determining the target image based on the M background images, detect whether each of the background images is compliant, obtain a second detection result, and, if the second detection result indicates that the M background images are compliant, perform the step of determining the target image based on the M background images.
[0020] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is executed, the device on which the computer-readable storage medium is located executes the application background setting method.
[0021] According to another aspect of this application, an electronic device is provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes the application background setting method during runtime.
[0022] According to another aspect of this application, a computer program product is provided, including computer instructions that, when executed by a processor, implement the steps of the application background setting method.
[0023] In this application, in response to a background setting request, N prompts are displayed. The background setting request includes a request initiated by the target object within the application to set the application's background, where N is a positive integer, and the application includes a financial institution's application. The application process involves obtaining the target prompts determined by the target object based on the N prompts; inputting the target prompts into a target language model, which outputs M background images, where the target language model generates the images required by the target prompts, and M is a positive integer; and determining the target image based on the M background images and setting the application's background as the target image. This solves the technical problem in related technologies where the application background can only be set based on fixed images, resulting in poor setting effects. In this application, the model generates the background image required by the target object based on the prompts set by the target object and sets it as the application's background, avoiding the difficulty in setting the user's desired application background in related technologies, thus achieving a flexible technical effect for setting the app's background skin. Attached Figure Description
[0024] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:
[0025] Figure 1 A hardware block diagram of a computer terminal for implementing an application background setting method is shown.
[0026] Figure 2 This is a flowchart of an application background setting method provided according to an embodiment of this application;
[0027] Figure 3 This is an architecture diagram of the setting system based on the application background provided in the embodiments of this application;
[0028] Figure 4 This is a flowchart illustrating the settings of the application background according to an embodiment of this application;
[0029] Figure 5 This is a schematic diagram of an application background setting device provided according to an embodiment of this application;
[0030] Figure 6 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation
[0031] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0032] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0033] It should be noted that the application background setting method and apparatus in this application can be used in the fintech field to set the background skin of an application, and can also be used in any field other than the fintech field to set the background skin of an application. This application does not limit the application field of the application background setting method and apparatus.
[0034] It should be noted that the information collected in this application (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, user data, data for analysis, etc.) are information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of this data all comply with relevant laws, regulations, and standards, necessary confidentiality measures have been taken, and they do not violate public order and good morals. Corresponding access points are provided for users to choose to authorize or refuse. For example, interfaces are set up between this system and relevant users or organizations, providing users with corresponding access points to choose to agree to or refuse automated decision-making results; if the user chooses to refuse, the process proceeds to the expert decision-making stage.
[0035] This invention can be applied to various software products, control systems, and client-side control systems (including but not limited to mobile clients, PCs, etc.) of financial institutions. The software products can realize the business functions of financial institutions (including but not limited to: transfer, wealth management, funds, payment, account inquiry, advertising, recommendation, etc.).
[0036] Example 1
[0037] According to an embodiment of this application, a method embodiment for setting an application background is also provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0038] The method embodiment provided in Embodiment 1 of this application can be executed on a mobile terminal, computer terminal, or similar computing device. Figure 1 A hardware block diagram of a computer terminal (or mobile device) for implementing an application background setup method is shown. Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more processors 102 (shown as 102a, 102b, ..., 102n in the figure) 102 (processor 102 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0039] It should be noted that the aforementioned one or more processors 102 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the computer terminal 10 (or mobile device). As involved in the embodiments of this application, the data processing circuits serve as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).
[0040] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the application background setting method in this embodiment. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby realizing the above-mentioned application background setting method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0041] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0042] The display can be, for example, a touchscreen liquid crystal display (LCD), which allows the user to interact with the user interface of the computer terminal 10 (or mobile device).
[0043] Under the aforementioned operating environment, this application provides the following: Figure 2 The method for setting the application background is shown. Figure 2This is a flowchart of the method for setting the application background according to Embodiment 1 of this application.
[0044] Step S201: In response to the background setting request, display N prompts, where the background setting request includes: a request initiated by the target object in the application to set the background of the application, where N is a positive integer, and the application includes: the application of a financial institution.
[0045] The aforementioned background setting request can be a background (skin) setting operation initiated by a target object (e.g., a user) in a financial institution's application (APP) (e.g., mobile banking), with the purpose of changing or customizing the application's background. When the target object initiates a background setting request, the application can display a set of N prompts for the target object to choose from, and generate the background image required by the target object based on the selected prompt.
[0046] In one optional example, if the target object agrees to the use of their behavioral data and user profile, the aforementioned N prompt words can be determined based on the user profile and user behavior. If the target object does not agree to the use of their personal data, the aforementioned N prompt words can be randomly determined.
[0047] Step S202: Obtain the target prompt words determined by the target object based on N prompt words.
[0048] In this embodiment, the target prompt word can be determined based on the results of operations such as selection, editing, refreshing, and input of the target object on N prompt words.
[0049] Step S203: Input the target prompt word into the target language model and output M background images, where the target language model is used to generate the images required by the target prompt word, and M is a positive integer.
[0050] The aforementioned target language model can include a large model capable of generating images from textual prompts. In this embodiment, the target prompts can be input into the target language model, which will output M background images for the target object to choose from.
[0051] Step 204: Based on the M background images, determine the target image and set the application's background as the target image.
[0052] In this embodiment, M background images can be selected based on the target object. The target object can also click a specified button in the application to regenerate M background images until the background image required by the target object is selected, and then the background image is set as the target image and the target image is set as the background of the application.
[0053] Through the above steps, in this embodiment, the model generates the background image required by the target object based on the prompt words set for the target object, and sets it as the background of the application. This avoids the situation in related technologies where it is difficult to set the background of the application required by the user, thereby achieving the technical effect of flexible APP background skin setting. It also solves the technical problem in related technologies where the background of the application can only be set according to a fixed image, resulting in poor setting effect.
[0054] In an optional example, the application background setting method provided in this embodiment can be performed through the application background setting system. Figure 3 This is an architecture diagram of the setting system based on the application background provided in the embodiments of this application, such as... Figure 3 As shown, the system comprises two parts: a personalized skin customization backend and an app skin management system. The personalized skin customization backend mainly includes the following components: 1. Text-based image model: This model generates images based on prompts from the target audience (e.g., users). 2. Text-based image prompt library: This library manages text-based image prompts, which can be maintained by app operators. 3. Prompt recommendation: This feature recommends text-based image prompts to the target audience based on their profile and behavior. 4. Risk monitoring: This feature monitors images generated by the model (corresponding to the target language model) and blocks non-compliant images. The personalized skin customization backend can generate images based on the text-based image model using prompts from the target audience, and also supports recommending images and generating prompts based on the target audience's profile and behavior.
[0055] The app skin management mainly includes the following parts: 1. Prompt display: The prompt display module shows the text-based image prompts recommended by the backend to the target audience, with 5 prompts recommended at a time. The target audience can refresh the page. 2. Prompt editing: The prompt editing module allows the target audience to edit the recommended prompts or enter their own prompts. 3. Generated image display: The prompt editing module displays the images generated from the large model to the target audience. 4. App skin changing: The target audience can change the app's background image through the app skin changing module. The app skin management section displays the recommended prompts to the target audience and also allows the target audience to edit them themselves. After the large model generates the background image, this background image can be displayed to the target audience in the app, and the target audience can set this background image as the app skin.
[0056] Optionally, in the application background setting method provided in this application embodiment, obtaining the target prompt word determined by the target object based on N prompt words includes: when the target object selects any prompt word, determining the target prompt word based on the prompt word selected by the target object; when the target object modifies any prompt word, determining the target prompt word based on the modified prompt word; when the target object inputs background requirements, determining the target prompt word based on the background requirements, wherein the background requirements include at least one of the following: prompt words, T keywords, and T is a positive integer.
[0057] If the target object directly selects one of the N prompts without making any changes, then the prompt selected by the target object can be directly used as the target prompt.
[0058] If the target audience is not satisfied with a certain prompt, but some of its elements attract their attention, the target audience can select the prompt and modify it to better suit their needs.
[0059] In addition to directly selecting or modifying preset prompts, the target audience can also independently input their own background requirements. These background requirements can directly contain a prompt or a series of keywords (T keywords), and the target prompts can be automatically generated by combining this information.
[0060] By identifying target prompts, it becomes easier to generate the background image needed for the target object more accurately.
[0061] Optionally, in the method for setting the application background provided in the embodiments of this application, determining the target prompt word based on the background requirement further includes: if the background requirement is a prompt word, determining the background requirement as the target prompt word; if the background requirement is T keywords, determining the target prompt word based on the T keywords.
[0062] If the target object provides a complete description (i.e., a cue word), this description can be used directly as the target cue word without any additional processing.
[0063] If the target audience's needs are presented as a set of keywords, these keywords can be analyzed and integrated to construct a more comprehensive and coherent target prompt. For example, keywords are words describing style, color, theme, or elements, such as "modern," "minimalist," "black," and "geometric pattern." In this embodiment, a description that comprehensively reflects the target audience's preferences can be generated based on the meaning of these four keywords and their interrelationships, such as: "Generate an app background image containing geometric pattern elements with a modern minimalist style and black as the main color." In an optional example, Natural Language Processing (NLP) technology can also be used to understand the meaning of keywords and the implicit relationships between them, thereby generating target prompts that are both in line with the target audience's requirements and creative.
[0064] Based on the background needs input by the target audience, target prompts are determined to ensure that the target audience's needs are accurately understood and presented. At the same time, a certain degree of personalized service can be provided, making the generated content more closely aligned with the target audience's needs.
[0065] Optionally, in the application background setting method provided in this application embodiment, when the background requirement is T keywords, the target prompt word is determined based on the T keywords, including: calculating the similarity between the T keywords and all prompt words in the prompt word library to obtain the calculation result; based on the calculation result, reading S prompt words from all prompt words in the prompt word library in descending order of similarity to obtain S first prompt words, where S is a positive integer; displaying the S first prompt words and obtaining the selection result of the target object among the S first prompt words to obtain a first selection result; and determining the target prompt word based on the first selection result.
[0066] In an optional example, the similarity between the keywords provided by the target object (corresponding to T keywords) and each prompt word in the prompt word library can also be calculated. For example, the similarity between the keywords provided by the target object and each prompt word in the prompt word library can be calculated based on the cosine similarity algorithm of word embedding, so as to find the description that best matches the target object's needs. Based on the calculation results, S prompt words are read from all prompt words in the prompt word library in descending order of similarity. That is, the top S prompt words with the highest similarity scores are selected, which are the S prompt words most relevant to the target object's keywords, and thus the S first prompt words are obtained. The selected S first prompt words can be displayed to the target object through the application, allowing the target object to select from them to obtain the target prompt word. Alternatively, the displayed prompt words can be adjusted to determine the target prompt word.
[0067] By calculating the similarity between keywords and suggestion word lists, we not only improve the targeting and relevance of generated content, but also increase user engagement and satisfaction.
[0068] Optionally, in the application background setting method provided in this application embodiment, determining the target image based on M background images includes: displaying the M background images and obtaining the selection result of the target object on the M background images to obtain a second selection result; if the second selection result indicates that the target object selects any background image, determining the background image selected by the target object as the target image; if the second selection result indicates that the target object does not select any background image, regenerating the M background images using a target language model, and determining the target image based on the regenerated M background images.
[0069] In this embodiment, the target image to be used as the application's skin background can be determined by utilizing the target object's selection or feedback among M candidate background images. For example, in this embodiment, M background images can be displayed, and the target object's selection result among the M background images can be obtained to obtain a second selection result. Obtaining the selection result: After the target object browses the displayed images, the target object's selection result can be collected to obtain the second selection result. If the target object selects at least one of the M displayed images, then the selected image directly becomes the target image. If the second selection result indicates that the target object has not selected any background image, the target language model can be used to regenerate M background images for the target object to select again.
[0070] By using an iterative and target audience feedback mechanism, the target image is determined to ensure that the final target image is as close as possible to the target audience's real needs and preferences, thereby effectively improving the target audience's experience and satisfaction.
[0071] Optionally, in the application background setting method provided in the embodiments of this application, after displaying N prompt words, it further includes: upon receiving a prompt word update request from the target object, regenerating N prompt words to obtain N second prompt words; displaying the N second prompt words, and setting the application background based on the target object's selection result of the N second prompt words.
[0072] In this embodiment, an initial set of prompts (N prompts) can be shown to the target object first. If the target object is not satisfied with the N prompts, it can send a request through the application to update or provide different prompts. The application can regenerate the N prompts to obtain N second prompts, and then show the newly generated N second prompts to the target object. The target object can then select the most satisfactory prompt as the selection result. This selection result can be used to instruct the target language model to generate the background image of the application required by the target object.
[0073] In this embodiment, the target user is allowed to request an update if they are not satisfied with the initial options. The system adjusts in real time based on the target user's feedback and generates new prompts until the target user is satisfied and selects a background. This not only improves the target user's experience but also enhances the personalization and customization capabilities of content generation.
[0074] Optionally, in the application background setting method provided in this application embodiment, after obtaining the target prompt words determined by the target object based on N prompt words, the method further includes: detecting whether the target prompt words are compliant, obtaining a first detection result, and if the first detection result indicates that the target prompt words are compliant, performing the step of inputting the target prompt words into the target language model and outputting M background images; before determining the target image based on the M background images, the method further includes: detecting whether each background image is compliant, obtaining a second detection result, and if the second detection result indicates that the M background images are compliant, performing the step of determining the target image based on the M background images.
[0075] After obtaining the target prompts determined by the target object based on N prompts, the target prompts can be checked to determine whether they conform to preset rules or standards, including but not limited to whether the content is appropriate, whether there is sensitive information, or whether they are too blurry to generate a meaningful image. If compliant, the next step can be executed. If not compliant, feedback can be provided to the target object, requesting modification or reselection of prompts. Specifically, if the compliance check passes (i.e., the first check result indicates that the target prompts are compliant), the target prompts can be used as input to pass to the target language model (image generation model) to generate M background images for the user to select or further modify.
[0076] Before determining the target image based on M background images, a compliance check can be performed on each background image generated based on the target prompt. This ensures that the content, quality, and style conform to established specifications, and that there is no copyright infringement or inappropriate / illegal content. If the second check indicates that all background images are compliant, the step of determining the target image based on the M background images is executed. If the second check indicates that any background image is non-compliant, the non-compliant image can be removed from the M background images. Specifically, if the check finds that all or some of the generated background images are compliant, these images will be displayed to the target audience for selection. Only images that pass the compliance check can be used as target images to avoid potential violations.
[0077] Through the above steps, it is effectively ensured that the generated content not only reflects the user's personalized needs, but also meets the corresponding standards in terms of legality and suitability.
[0078] Figure 4This is a flowchart illustrating the settings of the application background according to an embodiment of this application, such as... Figure 4 As shown, the process includes: Step 1: The user opens the APP's skin management function; Step 2: The APP requests text-based image keywords from the backend; Step 3: The backend recommends text-based image prompts to the user based on user profiles and user behavior; Step 4: The user views or edits the prompts; Step 5: The APP requests personalized images from the backend based on the prompts; Step 6: The backend generates images based on the text-based image model; Step 7: The user views and sets the image as the APP skin.
[0079] In this embodiment, users can generate personalized images based on a large model using prompts to use as app skins. Simultaneously, user profiles and behavioral data can be obtained based on user-provided data to recommend images and generate prompts, achieving personalized skin recommendations.
[0080] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0081] Example 2
[0082] This application also provides an application background setting device. It should be noted that the application background setting device of this application embodiment can be used to execute the application background setting method provided in this application embodiment. The application background setting device provided in this application embodiment will be described below.
[0083] According to embodiments of this application, an apparatus for implementing the above-described application background setting method is also provided, such as... Figure 5 As shown, the device includes: a display unit 51, a determination unit 52, a first processing unit 53, and a second processing unit 54.
[0084] The display unit 51 is used to display N prompts in response to a background setting request. The background setting request includes a request initiated by the target object in the application to set the background of the application. N is a positive integer. The application includes the application of a financial institution.
[0085] Determining unit 52 is used to obtain the target prompt words determined by the target object based on N prompt words;
[0086] The first processing unit 53 is used to input the target prompt word into the target language model and output M background images, wherein the target language model is used to generate the images required by the target prompt word, and M is a positive integer;
[0087] The second processing unit 54 is used to determine the target image based on M background images and set the background of the application as the target image.
[0088] In the application background setting device provided in this application embodiment, the display unit 51 can display N prompt words in response to a background setting request. The background setting request includes a request initiated by the target object within the application to set the application's background, where N is a positive integer. The application includes an application of a financial institution. The determining unit 52 is used to obtain the target prompt words determined by the target object based on the N prompt words. The first processing unit 53 inputs the target prompt words into a target language model and outputs M background images, where the target language model generates the image required by the target prompt words, where M is a positive integer. The second processing unit 54 determines the target image based on the M background images and sets the application's background as the target image. This solves the technical problem in related technologies where the application background can only be set based on fixed images, resulting in poor setting effects. In this embodiment, the model generates the background image required by the target object based on the prompt words set by the target object and sets it as the application's background, avoiding the difficulty in setting the application background required by the user in related technologies, thereby achieving the technical effect of flexible APP background skin settings.
[0089] Optionally, in the application background setting device provided in this application embodiment, the determining unit includes: a first determining subunit, configured to determine a target prompt word based on the prompt word selected by the target object when the target object selects any prompt word; a second determining subunit, configured to determine a target prompt word based on the prompt word modified by the target object when the target object modifies any prompt word; and a third determining subunit, configured to determine a target prompt word based on the background requirement when the target object inputs a background requirement, wherein the background requirement includes at least one of the following: prompt words, T keywords, where T is a positive integer.
[0090] Optionally, in the application background setting device provided in the embodiments of this application, the third determining subunit includes: a first determining module, used to determine the background requirement as a target prompt word when the background requirement is a prompt word; and a second determining module, used to determine the target prompt word based on the T keywords when the background requirement is T keywords.
[0091] Optionally, in the application background setting device provided in this application embodiment, the second determining module includes: a calculation submodule, used to calculate the similarity between T keywords and all prompt words in the prompt word library, and obtain the calculation result; a reading submodule, used to read S prompt words from all prompt words in the prompt word library according to the calculation result and in descending order of similarity, to obtain S first prompt words, where S is a positive integer; a processing submodule, used to display the S first prompt words and obtain the selection result of the target object among the S first prompt words, to obtain a first selection result; and a determining submodule, used to determine the target prompt word based on the first selection result.
[0092] Optionally, in the application background setting device provided in this application embodiment, the second processing unit includes: a first processing subunit, configured to display M background images and obtain the selection result of the target object on the M background images to obtain a second selection result; a second processing subunit, configured to determine the background image selected by the target object as the target image when the second selection result indicates that the target object selects any background image; and a third processing subunit, configured to regenerate the M background images using a target language model when the second selection result indicates that the target object does not select any background image, and determine the target image based on the regenerated M background images.
[0093] Optionally, in the application background setting device provided in the embodiments of this application, the application background setting device further includes: a generation unit, used to regenerate N prompt words after displaying N prompt words and upon receiving a prompt word update request from the target object, to obtain N second prompt words; and a setting unit, used to display the N second prompt words and set the application background based on the target object's selection result of the N second prompt words.
[0094] Optionally, in the application background setting device provided in the embodiments of this application, the application background setting device further includes: a first detection unit, configured to, after obtaining the target prompt words determined by the target object based on N prompt words, detect whether the target prompt words are compliant, obtain a first detection result, and, if the first detection result indicates that the target prompt words are compliant, perform the step of inputting the target prompt words into the target language model and outputting M background images; a second detection unit, configured to, before determining the target image based on the M background images, detect whether each background image is compliant, obtain a second detection result, and, if the second detection result indicates that the M background images are compliant, perform the step of determining the target image based on the M background images.
[0095] It should be noted that the above-mentioned display unit 51, determination unit 52, first processing unit 53, and second processing unit 54 correspond to steps S201 to S204 in Embodiment 1. Each unit and its corresponding step implement the same instance and application scenario, but are not limited to the content disclosed in Embodiment 1. It should be noted that the above-mentioned modules or units may be hardware or software components stored in memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n). The above-mentioned modules may also be part of a device and can run in the computer terminal 10 provided in Embodiment 1.
[0096] Example 3
[0097] Embodiments of this application may provide an electronic device. Figure 6 This is a structural block diagram of an electronic device according to an embodiment of this application. Figure 6 As shown, the electronic device may include: one or more ( Figure 6 (Only one is shown) Processor 602, memory 604, memory controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.
[0098] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the methods and apparatus in the embodiments of this application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby implementing the above-described methods. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0099] The processor can access information and applications stored in memory via a transmission device to perform the following steps: In response to a background setting request, display N prompts, where the background setting request includes a request initiated by the target object within the application to set the background of the application, where N is a positive integer, and the application includes: an application of a financial institution; obtain the target prompt determined by the target object based on the N prompts; input the target prompt into a target language model and output M background images, where the target language model is used to generate the images required by the target prompts, where M is a positive integer; based on the M background images, determine the target image and set the background of the application as the target image.
[0100] The processor can also invoke information and applications stored in the memory via a transmission device to perform the following steps: obtaining the target prompt word determined by the target object based on N prompt words, including: when the target object selects any prompt word, determining the target prompt word based on the prompt word selected by the target object; when the target object modifies any prompt word, determining the target prompt word based on the modified prompt word; when the target object inputs background requirements, determining the target prompt word based on the background requirements, wherein the background requirements include at least one of the following: prompt words, T keywords, where T is a positive integer.
[0101] The processor can also invoke information and applications stored in the memory via a transmission device to perform the following steps: determining target prompts based on background requirements, further including: if the background requirement is a prompt, determining the background requirement as the target prompt; if the background requirement consists of T keywords, determining the target prompt based on the T keywords.
[0102] The processor can also access information and applications stored in the memory via a transmission device to perform the following steps: given T keywords as background requirements, determine target prompt words based on the T keywords, including: calculating the similarity between the T keywords and all prompt words in the prompt word library to obtain the calculation results; based on the calculation results, reading S prompt words from all prompt words in the prompt word library in descending order of similarity to obtain S first prompt words, where S is a positive integer; displaying the S first prompt words and obtaining the selection result of the target object among the S first prompt words to obtain a first selection result; and determining the target prompt word based on the first selection result.
[0103] The processor can also invoke information and applications stored in the memory via a transmission device to perform the following steps: determining a target image based on M background images, including: displaying the M background images and obtaining the selection result of the target object on the M background images to obtain a second selection result; if the second selection result indicates that the target object selects any background image, determining the background image selected by the target object as the target image; if the second selection result indicates that the target object does not select any background image, regenerating the M background images using a target language model, and determining the target image based on the regenerated M background images.
[0104] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: after displaying N prompt words, it further includes: upon receiving a prompt word update request from the target object, regenerating N prompt words to obtain N second prompt words; displaying the N second prompt words, and setting the background of the application based on the target object's selection result of the N second prompt words.
[0105] The processor can also access information and applications stored in the memory via a transmission device to perform the following steps: After obtaining the target prompt words determined by the target object based on N prompt words, the processor further includes: detecting whether the target prompt words are compliant, obtaining a first detection result, and if the first detection result indicates that the target prompt words are compliant, performing the step of inputting the target prompt words into the target language model and outputting M background images; before determining the target image based on the M background images, the processor further includes: detecting whether each background image is compliant, obtaining a second detection result, and if the second detection result indicates that the M background images are compliant, performing the step of determining the target image based on the M background images.
[0106] By using the embodiments of this application, the model generates the background image required by the target object based on the prompt words set for the target object, and sets it as the background of the application. This avoids the difficulty in setting the background of the application required by the user in related technologies, thereby achieving the technical effect of flexible APP background skin settings.
[0107] Those skilled in the art will understand that Figure 6 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones, tablets, handheld computers, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 6 This does not limit the structure of the aforementioned electronic device. For example, electronic devices may also include components that are more... Figure 6 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 6 The different configurations shown.
[0108] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0109] Example 4
[0110] Embodiments of this application also provide a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the application background setting method provided in Embodiment 1.
[0111] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.
[0112] This application also provides a computer program product that, when executed on a data processing device, is adapted to perform setup method steps of an application background.
[0113] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0114] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0115] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0116] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0117] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0118] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0119] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method of setting an application background, characterized by, The method comprises the following steps: in response to a background setting request, displaying N prompt words, wherein the background setting request comprises a request of a target object to set a background of an application in the application, N is a positive integer, and the application comprises an application of a financial institution; obtaining a target prompt word determined by the target object based on the N prompt words; inputting the target prompt word into a target language model to output M background pictures, wherein the target language model is used to generate a picture required by the target prompt word, and M is a positive integer; based on the M background pictures, determining a target picture, and setting the background of the application as the target picture.
2. The setting method according to claim 1, wherein The method comprises the following steps: in the case that the target object selects any of the prompt words, determining the target prompt word based on the prompt word selected by the target object; in the case that the target object modifies any of the prompt words, determining the target prompt word based on the prompt word modified by the target object; in the case that the target object inputs a background requirement, determining a target prompt word based on the background requirement, wherein the background requirement comprises at least one of the following: a prompt word, T keywords, and T is a positive integer.
3. The setting method according to claim 2, wherein The method comprises the following steps: in the case that the background requirement is a prompt word, determining the background requirement as the target prompt word; in the case that the background requirement is the T keywords, determining the target prompt word based on the T keywords.
4. The setting method according to claim 3, wherein The method comprises the following steps: calculating the similarity between the T keywords and all prompt words in a prompt word library to obtain a calculation result; based on the calculation result, reading S prompt words from all prompt words in the prompt word library in descending order of similarity to obtain S first prompt words, S is a positive integer; displaying the S first prompt words and obtaining a selection result of the target object in the S first prompt words to obtain a first selection result; determining the target prompt word based on the first selection result.
5. The setting method according to claim 1, wherein The method comprises the following steps: displaying the M background pictures and obtaining a selection result of the target object on the M background pictures to obtain a second selection result; in the case that the second selection result indicates that the target object selects any of the background pictures, determining the background picture selected by the target object as the target picture; in the case that the second selection result indicates that the target object does not select any of the background pictures, regenerating M background pictures by using the target language model, and determining the target picture based on the regenerated M background pictures.
6. The setting method according to claim 1, wherein After displaying the N prompt words, the method further comprises the following steps: in the case that a prompt word update request input by the target object is received, regenerating N prompt words to obtain N second prompt words; The N second prompt words are displayed, and based on a selection result of the target object on the N second prompt words, a background of the application program is set.
7. The setting method of claim 1, wherein, After obtaining the target prompt word determined by the target object based on the N prompt words, the method further comprises: detecting whether the target prompt word is compliant to obtain a first detection result, and in a case where the first detection result indicates that the target prompt word is compliant, performing the steps of inputting the target prompt word into a target language model and outputting M background pictures. Before determining the target picture based on the M background pictures, the method further comprises: detecting whether each of the background pictures is compliant to obtain a second detection result, and in a case where the second detection result indicates that the M background pictures are compliant, performing the step of determining the target picture based on the M background pictures.
8. An application background setting apparatus characterized by comprising: Comprise: The display unit is configured to display N prompt words in response to a background setting request, wherein the background setting request comprises a request for setting a background of an application program initiated by a target object in the application program, N is a positive integer, and the application program comprises an application program of a financial institution; The determination unit is configured to obtain a target prompt word determined by the target object based on the N prompt words; The first processing unit is configured to input the target prompt word into a target language model and output M background pictures, wherein the target language model is configured to generate a picture required by the target prompt word, and M is a positive integer; The second processing unit is configured to determine a target picture based on the M background pictures and set the background of the application program as the target picture.
9. A computer-readable storage medium, characterized in that, The computer readable storage medium comprises a stored executable program, wherein the executable program controls a device in which the computer readable storage medium is located to perform the setting method of the background of the application program of any one of claims 1 to 7 when the executable program is running.
10. A computer program product comprising computer instructions, characterized in that, The computer instructions are executed by the processor to implement the steps of the setting method of the background of the application program of any one of claims 1 to 7.