Data generation methods, apparatus and related products
By displaying animations during the data generation process and using repeated erasing or alternating display of data generation prompt images, the problem of users mistakenly believing that data generation has failed is solved, thus improving the user experience.
Patent Information
- Application Number
- CN202411296413.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2044-09-14
AI Technical Summary
During the data generation process, users may mistakenly believe that the data generation is wrong because the display interface does not change for a long time and give up the generation, resulting in a poor experience.
By displaying animations during the data generation process, and by repeatedly erasing part or all of the data to generate cue images, the system indicates that the target data is being generated. This can include using dynamically changing numerical codes or alternating multiple images until the data generation is complete.
This effectively prevents users from mistakenly believing that the data generation is incorrect, thus improving the user's data generation experience.
Smart Images

Figure CN119200905B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to a data generation method, apparatus and related products. Background Art
[0002] Currently, users can generate various types of data online, such as images or text using generative models. However, data generation is typically time-consuming, requiring users to wait a considerable amount of time before viewing the generated data. Some users may even abandon data generation due to the unchanging display for an extended period, mistakenly believing there is an error. Therefore, it is necessary to provide a technical solution that indicates to users that the required data is being generated, preventing them from abandoning data generation due to the unchanging display and thus improving the user experience. Summary of the Invention
[0003] This disclosure provides a data generation method, apparatus, and related products that can use animation to prompt users that the target data is being generated when the target data is being generated, thus preventing users from abandoning data generation due to the display interface remaining unchanged for a long time and mistakenly believing that the data generation has failed. This improves the user's data generation experience.
[0004] In a first aspect, embodiments of this disclosure provide a data generation method, including:
[0005] Get user data and generate a request;
[0006] Perform the operation of generating the corresponding target data according to the data generation request, and display the data generation prompt image in the data display area;
[0007] During the generation of the target data, a prompt image is generated by repeatedly erasing part or all of the data to indicate that the target data is being generated;
[0008] If the target data is generated, the data generation prompt image is canceled, and the target data is displayed in the data display area.
[0009] Secondly, embodiments of this disclosure provide a data generation apparatus, including:
[0010] The request retrieval unit is used to retrieve user data and generate requests.
[0011] The first display unit is configured to perform the operation of generating corresponding target data according to the data generation request, and to display a data generation prompt image in the data display area;
[0012] A prompt generation unit is used to indicate that the target data is being generated by repeatedly erasing part or all of the data to generate a prompt image during the generation process of the target data;
[0013] The second display unit is used to cancel the display of the data generation prompt image and display the target data in the data display area if the target data generation is completed.
[0014] Thirdly, embodiments of this disclosure provide an electronic device, including: a processor; and a memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the steps of the method described in the first aspect above.
[0015] Fourthly, embodiments of this disclosure provide a computer-readable storage medium for storing computer-executable instructions that, when executed by a processor, implement the steps of the method described in the first aspect above.
[0016] Fifthly, embodiments of this disclosure provide a computer program product, the computer program product including a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect above.
[0017] In one or more embodiments of this disclosure, firstly, a user's data generation request is obtained; then, the operation of generating corresponding target data according to the data generation request is performed; and a data generation prompt image is displayed in the data display area. Next, during the generation of the target data, the target data is indicated to be generating by repeatedly erasing part or all of the data generation prompt image. Finally, if the target data generation is complete, the display of the data generation prompt image is canceled, and the target data is displayed in the data display area. Therefore, through this embodiment, when generating the target data required by the user, an animation can be displayed by repeatedly erasing part or all of the data generation prompt image, indicating to the user that the target data is being generated. This avoids the user mistakenly believing that data generation has failed due to a prolonged period of unchanged display interface, thus improving the user's data generation experience. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in one or more embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1A schematic flowchart illustrating a data generation method provided in an embodiment of this disclosure;
[0020] Figure 2a A schematic diagram of a second image provided for an embodiment of this disclosure;
[0021] Figure 2b A schematic diagram of a second image provided for another embodiment of this disclosure;
[0022] Figure 3a A schematic diagram illustrating the generation of a prompt image for the erased portion of data in an embodiment of this disclosure to indicate that target data is being generated;
[0023] Figure 3b A schematic diagram illustrating the generation of a prompt image for the erased portion of data, provided in another embodiment of this disclosure, to indicate that target data is being generated;
[0024] Figure 3c A schematic diagram illustrating the generation of a prompt image for the erased portion of data, as provided in yet another embodiment of this disclosure, to indicate that target data is being generated;
[0025] Figure 3d A schematic diagram illustrating the generation of a prompt image for the erased portion of data, as provided in yet another embodiment of this disclosure, to indicate that target data is being generated;
[0026] Figure 3e A schematic diagram illustrating the generation of a prompt image for the erased portion of data, as provided in yet another embodiment of this disclosure, to indicate that target data is being generated;
[0027] Figure 4a This is a schematic diagram illustrating the generation of a prompt image to indicate that target data is being generated, provided in one embodiment of the present disclosure;
[0028] Figure 4b A schematic diagram illustrating the generation of a prompt image to indicate that target data is being generated, provided in another embodiment of this disclosure;
[0029] Figure 4c This is a schematic diagram illustrating the generation of a prompt image to indicate that target data is being generated, provided in yet another embodiment of this disclosure;
[0030] Figure 4d This is a schematic diagram illustrating the generation of a prompt image to indicate that target data is being generated, provided in yet another embodiment of this disclosure;
[0031] Figure 4e This is a schematic diagram illustrating the generation of a prompt image to indicate that target data is being generated, provided in yet another embodiment of this disclosure;
[0032] Figure 5aThis is a schematic diagram illustrating the generation of prompt images for switching between displaying various data, provided in one embodiment of this disclosure.
[0033] Figure 5b This is a schematic diagram illustrating the generation of prompt images for switching the display of various data, provided in yet another embodiment of this disclosure.
[0034] Figure 5c A schematic diagram illustrating the generation of prompt images for switching the display of various data, provided in another embodiment of this disclosure;
[0035] Figure 5d A schematic diagram illustrating the generation of prompt images for switching the display of various data, provided in another embodiment of this disclosure;
[0036] Figure 5e A schematic diagram illustrating the generation of prompt images for switching the display of various data, provided in another embodiment of this disclosure;
[0037] Figure 6 This is a schematic diagram of the structure of a data generation apparatus provided in an embodiment of the present disclosure;
[0038] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. Detailed Implementation
[0039] To enable those skilled in the art to better understand the technical solutions in one or more embodiments of this disclosure, the technical solutions in one or more embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of the embodiments. Based on one or more embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of this disclosure.
[0040] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0041] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0042] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0043] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0044] This disclosure provides a data generation method that uses animation to indicate to the user that the target data is being generated, preventing users from abandoning data generation due to the display interface remaining unchanged for an extended period and mistakenly believing there is an error. This improves the user's data generation experience. The data generation method in this disclosure can be applied to and executed by terminal devices, including mobile phones, computers, tablets, laptops, in-vehicle computers, wearable devices, and other electronic products.
[0045] Figure 1 This is a schematic flowchart of a data generation method provided in an embodiment of the present disclosure, as shown below. Figure 1 As shown, the process includes:
[0046] Step S102: Obtain the user's data generation request;
[0047] Step S104: Perform the operation of generating the corresponding target data according to the data generation request, and display the data generation prompt image in the data display area;
[0048] Step S106: During the generation of target data, a prompt image is generated by repeatedly erasing part or all of the data to indicate that the target data is being generated.
[0049] In step S108, if the target data generation is complete, the data generation prompt image is canceled, and the target data is displayed in the data display area.
[0050] In this embodiment, firstly, the user's data generation request is obtained. Then, the operation of generating the corresponding target data according to the data generation request is executed, and a data generation prompt image is displayed in the data display area. Next, during the generation of the target data, the target data is indicated to be generating by repeatedly erasing part or all of the data generation prompt image. Finally, if the target data generation is complete, the display of the data generation prompt image is canceled, and the target data is displayed in the data display area. Therefore, this embodiment can display an animation by repeatedly erasing part or all of the data generation prompt image when generating the target data required by the user, thus indicating to the user that the target data is being generated. This prevents the user from mistakenly believing that data generation has failed due to a prolonged unchanging display interface and abandoning data generation, thereby improving the user's data generation experience.
[0051] In step S102 above, the user's data generation request is obtained. In this embodiment, the terminal device can display a data generation interface, where the user can input the element information of the target data to be generated. For example, the user inputs "generate a picture of a red rose." The terminal device obtains the element information input by the user and generates a data generation request based on that element information. It can be understood that the data generation request can carry the element information, and the data generation request is used to request the generation of target data that matches the element information.
[0052] In step S104 above, the terminal device performs the operation of generating the corresponding target data according to the data generation request, and obtains the data generation prompt image and displays the data generation prompt image in the data display area of the terminal device.
[0053] In this embodiment, the data generation interface of the terminal device has a data display area for displaying target data. When the target data has not yet been generated, the terminal device displays a data generation prompt image in the data display area. In one example, the data generation interface of the terminal device has a data display area and a feature input area. The user can input feature information in the feature input area. The terminal device generates a data generation request based on the feature information and executes the operation of generating target data according to the data generation request. When the target data has not yet been generated, a data generation prompt image is displayed in the data display area. When the target data is generated, the data generation prompt image is no longer displayed in the data display area, and the target data is then displayed.
[0054] In one embodiment, the data generation request includes an image generation request; the image generation request carries image feature information; the image generation request is used to request the generation of a target image matching the image feature information through a first generative model; the above-mentioned operation of generating corresponding target data according to the data generation request includes:
[0055] Perform the operation of generating a target image that matches the image feature information through the first generative model.
[0056] In this embodiment, the user can input image feature information in the data generation interface to request the generation of a target image. Correspondingly, the terminal device acquires the image feature information input by the user and generates an image generation request based on this information. This image generation request is the same as the data generation request, and it can carry the image feature information. This image generation request is used to request the generation of a target image that matches the image feature information through a first generative model. The first generative model can be a pre-trained LLM (Large Language Model).
[0057] In one example, a user inputs image feature information in the data generation interface. The terminal device then requests the generation of a target image that matches this image feature information using a large language model. For instance, if the user selects the style "ancient style" and inputs the prompt "melancholy girl" in the data generation interface, the terminal device obtains image feature information including "ancient style" and "melancholy girl," and generates an image generation request based on this information. This request carries the image feature information and is used to request the generation of a target image that matches the image feature information using an LLM (Large Language Model).
[0058] Based on this, the terminal device performs the operation of generating corresponding target data according to the data generation request. Specifically, it can perform the operation of generating a target image that matches the image feature information through the first generative model. For example, when the first generative model runs inside the terminal device, the terminal device can call the first generative model to generate a target image that matches the image feature information. When the first generative model runs inside the server, the terminal device sends an image generation request to the server to request the server to call the first generative model to generate a target image that matches the image feature information.
[0059] As can be seen, through this embodiment, in the image generation scenario, a target image matching the image element information in the image generation request can be generated using the first generative model, thereby prompting the user that the target image is being generated through animation in the image generation scenario.
[0060] In one embodiment, in an image generation scenario, displaying a data generation prompt image in the data display area includes:
[0061] Obtain at least one example image that matches the image feature information from each of the stored first images;
[0062] Use the example image as a data-generated prompt image and display the example image in the data display area.
[0063] In this embodiment, in the image generation scenario, the terminal device can obtain at least one example image that matches the image feature information from the stored first images. These stored first images can be pre-stored images, which are stored in the database before the user's image generation request is received. Furthermore, the terminal device displays the at least one example image that matches the image feature information as a data generation prompt image in the data display area.
[0064] In the example above, when the image element information includes "ancient style" and "melancholy girl", at least one image of a melancholy girl with an ancient style can be obtained from each of the first images as an example image. The example image is then used as a data generation prompt image and displayed in the data display area, so that the data generation prompt image matches the image generation scene.
[0065] As can be seen, through this embodiment, in the image generation scenario, at least one example image matching the image element information can be obtained from each of the stored first images, and the example image can be used as a data generation prompt image and displayed in the data display area. Thus, in the image generation scenario, the data generation prompt image can be obtained and displayed in a targeted manner, so that the data generation prompt image matches the image generation scenario.
[0066] In one embodiment, the data generation request includes a text generation request; the text generation request carries text element information; the text generation request is used to request the generation of target text that matches the text element information through a second generative model; the above-mentioned operation of generating corresponding target data according to the data generation request includes:
[0067] Perform the operation of generating target text that matches the text feature information through a second generative model.
[0068] In this embodiment, the user can input text element information in the data generation interface to request the generation of target text. Correspondingly, the terminal device acquires the user-input text element information and generates a text generation request based on this information. This text generation request is the same as the data generation request, and it can carry the text element information. This text generation request is used to request the generation of target text that matches the text element information through a second generative model. The second generative model can be a pre-trained LLM.
[0069] In one example, a user inputs text element information in the data generation interface. The terminal device then requests the generation of target text that matches this text element information using a large language model. For instance, if the user selects "ancient" as the background and inputs the prompt "describe a scene of ancient women on a spring outing," the terminal device obtains text element information including "ancient" and "describe a scene of ancient women on a spring outing." Based on this text element information, the terminal device generates a text generation request, which carries the text element information. This text generation request is used to request the generation of target text that matches the text element information using an LLM (Local Language Model).
[0070] Based on this, the terminal device performs the operation of generating corresponding target data according to the data generation request. Specifically, it can perform the operation of generating target text that matches the text feature information through the second generative model. For example, when the second generative model runs inside the terminal device, the terminal device can call the second generative model to generate target text that matches the text feature information. When the second generative model runs inside the server, the terminal device sends a text generation request to the server to request the server to call the second generative model to generate target text that matches the text feature information.
[0071] As can be seen, through this embodiment, in the text generation scenario, the second generative model can be used to generate target text that matches the text element information in the text generation request, thereby prompting the user that the target text is being generated through animation in the text generation scenario.
[0072] In one embodiment, in a text generation scenario, displaying a data generation prompt image in the data display area includes:
[0073] Acquire a second image; the second image is an image with a specific shape composed of dynamically changing digital codes.
[0074] The second image is used as a data generation prompt image and displayed in the data display area.
[0075] In this embodiment, in a text generation scenario, a second image is acquired. The style of the second image is used to indicate that the target text is being generated through a second generative model. The second image can be an image with a specific shape composed of dynamically changing numerical codes. The numerical codes can be 0 and 1, or other numbers. Dynamically changing numerical codes refer to changes occurring over time, with the numerical code at the same location also changing. Taking 0 and 1 as an example, the second image can be an image with a specific shape composed of 0 and 1, and the 0 and 1 in the second image can change dynamically; a 0 at the same location can change to a 1 over time, and a 1 at the same location can also change to a 0 over time.
[0076] Figure 2a This is a schematic diagram of a second image provided according to an embodiment of the present disclosure. Figure 2b A schematic diagram of a second image provided for another embodiment of this disclosure, such as Figure 2a and 2b As shown in one example, the numeric code can be 0 and 1, the second image is a curved image composed of 0 and 1, and the 0 and 1 in the second image can change dynamically. 0 at the same position can change to 1 over time, and 1 at the same position can also change to 0 over time. In addition, 0 or 1 can be added at new positions.
[0077] In this embodiment, the second image is used as a data generation prompt image and is displayed in the data display area. Since the second image can be an image with a specific shape composed of dynamically changing digital codes, and the constantly changing digital codes can indicate that the computer is running, the second image can prompt that the target text is being generated by the second generative model.
[0078] As can be seen, through this embodiment, a second image can be obtained in a text generation scenario. The second image is an image with a specific shape composed of dynamically changing digital codes. The second image is used as a data generation prompt image and displayed in the data display area. Thus, a data generation prompt image is obtained and displayed in a targeted manner in a text generation scenario, so that the data generation prompt image matches the text generation scenario.
[0079] It should be noted that, in this embodiment, the text generation scenario, in addition to the scenario of generating target text based on text element information as exemplified above, can also include a scenario of querying text based on text query conditions input by the user. In this scenario, the text element information can include the text query conditions. For example, if the user inputs text element information in the data generation interface, and the text element information includes text query conditions such as "ancient style short stories," then the terminal device can query the corresponding text based on the text query conditions and return it to the user. During the query process, it can be done through... Figure 1 The process flow uses animation to indicate to the user that the desired text is being queried.
[0080] In step S106 above, during the generation of target data, the terminal device prompts that the target data is being generated by repeatedly erasing part or all of the data to generate a prompt image.
[0081] In this embodiment, the number of data generation prompt images can be one or more. If the number of data generation prompt images is one, the terminal device will indicate that the target data is being generated by repeatedly erasing part or all of the area of the data generation prompt image during the generation of the target data. If the number of data generation prompt images is multiple, the terminal device will alternately display each data generation prompt image during the generation of the target data, displaying one data generation prompt image at a time, and indicating that the target data is being generated by repeatedly erasing part or all of the area of the currently displayed data generation prompt image.
[0082] In one embodiment, the number of data generation prompt images is one; the prompt image is generated by repeatedly erasing part or all of the data to indicate that target data is being generated, including:
[0083] Erasing data generates prompt images, and a first marker image is displayed in the erased area until some or all of the data is erased.
[0084] Erase the first marker image, and display the erased data in the erased area to generate a prompt image until the first marker image is completely erased;
[0085] The system indicates that target data is being generated by repeatedly erasing part or all of the data to generate a prompt image and by repeatedly erasing the first marker image.
[0086] In this embodiment, a first marker image is pre-set. The first marker image can be an artificially generated image whose color or pattern matches the data generation scenario. In this embodiment, there is only one data generation prompt image. In one scenario, after displaying the data generation prompt image, the data generation prompt image is erased, and the first marker image is displayed in the erased area. This continues until a portion of the data generation prompt image is erased and the first marker image is fully displayed. It can be understood that when a portion of the data generation prompt image is erased, the first marker image is displayed in the erased area. Next, the first marker image is erased, and the erased data generation prompt image is displayed in the erased area. This continues until the first marker image is erased and the data generation prompt image is fully displayed. It can be understood that since only a portion of the data generation prompt image is erased, erasing the first marker image and displaying the erased data generation prompt image in that erased portion effectively cancels the display of the first marker image and also makes the entire data generation prompt image visible. In this embodiment, by erasing a portion of the data generation prompt image and displaying the first marker image, and then erasing the first marker image and displaying the complete data generation prompt image, an animation effect is created to indicate to the user that the target data is being generated.
[0087] Figure 3aThis is a schematic diagram illustrating the generation of a prompt image for the erased portion of data, provided in one embodiment of this disclosure, to indicate that target data is being generated. Figure 3b This is a schematic diagram illustrating the generation of a prompt image for the erased portion of data, provided in another embodiment of this disclosure, to indicate that target data is being generated. Figure 3c This is a schematic diagram illustrating the generation of a prompt image for the erased portion of data, provided in another embodiment of this disclosure, to indicate that target data is being generated. Figure 3d This is a schematic diagram illustrating the generation of a prompt image for the erased portion of data, provided in another embodiment of this disclosure, to indicate that target data is being generated. Figure 3e This is a schematic diagram illustrating the generation of a prompt image for the erased portion of data, provided in another embodiment of this disclosure, to indicate that target data is being generated. Figures 3a to 3e The following example illustrates a scenario where a user generates text using a generative model. Firstly, as shown... Figure 3a As shown, a data generation prompt image is displayed. This image can be a dynamically changing digital code-based image with a specific shape. Figure 3a and Figure 3e The difference is that the numerical codes change dynamically. Then, as... Figure 3b and Figure 3c As shown, erasing data generates a prompt image, and a first marker image is displayed in the erased area until a portion of the data generation prompt image is completely erased and the first marker image is fully displayed. Here, a curve in the data generation prompt image is used as an example for illustration. The first marker image can be an image whose color scheme or pattern matches the data generation scene. Finally, as... Figure 3d and Figure 3e As shown, the first marker image is erased, and a data generation prompt image is displayed in the erased area until the first marker image is completely erased and all data generation prompt images are displayed.
[0088] In the example above, the animation effect is created by repeatedly erasing a portion of the data to generate a prompt image and displaying the first marker image, and by repeatedly erasing the entire first marker image and displaying the complete data to generate a prompt image, thus indicating to the user that the target data is being generated.
[0089] In this embodiment, the number of data generation prompt images is one. In another case, after displaying the data generation prompt image, the data generation prompt image is erased, and a first marker image is displayed in the erased area. This process continues until the entire area of the data generation prompt image is erased and the first marker image is fully displayed. It can be understood that after the entire data generation prompt image is erased, the first marker image is displayed in the erased area. Next, the first marker image is erased, and the erased data generation prompt image is displayed in the erased area. This process continues until the first marker image is erased and the data generation prompt image is fully displayed. It can be understood that since the entire area of the data generation prompt image is erased, erasing the first marker image and displaying the erased data generation prompt image in the erased area cancels the display of the first marker image and makes the entire data generation prompt image fully displayed. In this embodiment, by alternating between erasing the entire area of the data generation prompt image and displaying the first marker image, and then erasing the first marker image and displaying the complete data generation prompt image, the display of the data generation prompt image and the first marker image is switched, creating an animation effect to prompt the user that the target data is being generated.
[0090] Figure 4a This is a schematic diagram illustrating the generation of a prompt image to indicate that target data is being generated, provided in one embodiment of this disclosure, indicating that all data is being erased. Figure 4b This is a schematic diagram illustrating the generation of a prompt image to indicate that target data is being generated, provided in another embodiment of this disclosure, indicating that all data is being erased. Figure 4c This is a schematic diagram illustrating the generation of a prompt image to indicate that target data is being generated, provided in another embodiment of this disclosure. Figure 4d This is a schematic diagram illustrating the generation of a prompt image to indicate that target data is being generated, provided in another embodiment of this disclosure. Figure 4e This is a schematic diagram illustrating the generation of a prompt image for erasing all data, as provided in another embodiment of this disclosure, to indicate that target data is being generated. Figures 4a to 4e The following example illustrates a scenario where a user generates text using a generative model. Firstly, as shown... Figure 4a As shown, a data generation prompt image is displayed. This image can be a dynamically changing digital code-based image with a specific shape. Figure 4a and Figure 4e The difference is that the numerical codes change dynamically. Then, as... Figure 4b and Figure 4cAs shown, erasing the data generates a prompt image, and displaying a first marker image in the erased area continues until the entire area of the data generation prompt image is erased and the first marker image is fully displayed. The first marker image can be an image whose color scheme or pattern matches the data generation scene. The shape of the data generation prompt image can change during the erasure process. Finally, as... Figure 4d and Figure 4e As shown, the first marker image is erased, and a data generation prompt image is displayed in the erased area until the first marker image is completely erased and all data generation prompt images are displayed.
[0091] In the example above, the method of repeatedly erasing the entire area of the data generation prompt image and displaying the first logo image, and repeatedly erasing the entire first logo image and displaying the complete data generation prompt image, switches between displaying the data generation prompt image and the first logo image to create an animation effect, prompting the user that the target data is being generated.
[0092] As can be seen, this embodiment can erase the data generation prompt image, display the first marker image in the erased area until part or all of the data generation prompt image is erased, and erase the first marker image, display the erased data generation prompt image in the erased area until the first marker image is erased. By repeatedly erasing part or all of the data generation prompt image and repeatedly erasing the first marker image, an animation effect of switching between displaying the data generation prompt image and the first marker image is formed, indicating that the target data is being generated, thus improving the user's data generation experience.
[0093] In one embodiment, erasing data generates a cue image, displaying a first marker image in the erased area, including:
[0094] Based on the image shape of the data-generated prompt image, a flowing erasure is performed on the data-generated prompt image;
[0095] The first marker image is displayed in the erased area on the data generation prompt image.
[0096] In this embodiment, you can refer to Figures 3a to 3c as well as Figures 4a to 4c For example, in the case of erasing part or all of the data to generate a prompt image, based on the image shape of the data to generate a prompt image, a flowing erasure is performed on the data to generate a prompt image. The flowing erasure refers to erasing along the image shape of the data to generate a prompt image, such as a curve. Then, a first marker image is displayed in the erased area on the data to generate a prompt image.
[0097] As can be seen, through this embodiment, by performing a flowing erasure on the data generation prompt image, a first marker image is displayed in the erased area of the data generation prompt image. Taking advantage of the good visual effect of the flowing erasure, the user's viewing experience is improved, thereby improving the user's data generation experience.
[0098] In one embodiment, erasing a first marker image and displaying the erased data in the erased area to generate a prompt image includes:
[0099] Based on the image shape of the first logo image, a flowing erasure is performed on the first logo image;
[0100] An image is generated to display the erased data in the erased area on the first marker image.
[0101] In this embodiment, you can refer to Figures 3c to 3e as well as Figures 4c to 4e For example, in the case of generating a prompt image by erasing part or all of the data, based on the image shape of the first sign image, a flowing erasure is performed on the first sign image to erase the entire first sign image. The flowing erasure refers to erasing along the image shape of the first sign image, such as a curve. Then, the erased data is displayed in the erased area on the first sign image to generate a prompt image.
[0102] As can be seen, through this embodiment, by performing a flowing erasure on the first logo image, a data generation prompt image is displayed in the erased area on the first logo image. Taking advantage of the good visual effect of the flowing erasure, the user's viewing experience is improved, thereby improving the user's data generation experience.
[0103] In one embodiment, the number of data generation prompt images is multiple; prompt images are generated by repeatedly erasing part or all of the data to indicate that target data is being generated, including:
[0104] By erasing the currently displayed data to generate prompt images, various data prompt images are switched to be displayed in the data display area;
[0105] A prompt image is generated by switching between displaying various data in the data display area to indicate that the target data is being generated.
[0106] In this embodiment, there are multiple data generation prompt images. One prompt image is displayed in the data display area at a time, for example, a random prompt image is displayed. Based on this, the currently displayed prompt image is erased, and the next prompt image is displayed. In this way, the display of various prompt images in the data display area is switched, and the user is prompted that the target data is being generated.
[0107] As can be seen, this embodiment enables the erasure of the currently displayed data generation prompt image and the display of the next data generation prompt image when there are multiple data generation prompt images. This allows for switching between displaying various data generation prompt images in the data display area, thereby prompting the user that the target data is being generated and improving the user's data generation experience.
[0108] In one embodiment, the method of switching between displaying various data-generating prompt images in the data display area by erasing the currently displayed data to generate a prompt image includes:
[0109] In the data display area, erase the currently displayed data to generate a prompt image, and display a second marker image in the erased area until the currently displayed data prompt image is completely erased;
[0110] In the data display area, the second marker image is erased, and the next data generation prompt image is displayed in the erased area until the second marker image is completely erased;
[0111] The system switches between displaying various data-generating prompt images and second flag images in the data display area by repeatedly erasing the currently displayed data to generate a prompt image and repeatedly erasing the second flag image.
[0112] In this embodiment, there are multiple data generation prompt images. First, in the data display area, the currently displayed data generation prompt image is erased, and a second marker image is displayed in the erased area until all currently displayed data generation prompt images are erased. In this method, data generation prompt images can be displayed in a window of a specific shape, and all data generation prompt images in that specific shape window are erased until all currently displayed data generation prompt images are erased. Simultaneously, the second marker image is displayed while erasing the data generation prompt images in that specific shape window. The second marker image can be an image whose color scheme or pattern matches the data generation scene. Next, in the data display area, the second marker image is erased, and the next data generation prompt image is displayed in the erased area until the second marker image is erased. In this method, the second marker image can be erased in the aforementioned specific shape window, and simultaneously, the next data generation prompt image is displayed in that specific shape window until the second marker image is erased. Finally, the next data generation prompt image is displayed in the specific shape window. Finally, the next data generation prompt image is used as the currently displayed data generation prompt image. By repeatedly erasing the currently displayed data generation prompt image and the second marker image in the data display area, the display of each data generation prompt image and the second marker image is switched in the data display area to create an animation effect, prompting the user that the target data is being generated.
[0113] Figure 5a This is a schematic diagram illustrating the generation of prompt images for switching between displaying various data according to an embodiment of this disclosure. Figure 5b This is a schematic diagram illustrating the generation of prompt images for switching between displaying various data, provided in yet another embodiment of this disclosure. Figure 5c This is a schematic diagram illustrating the generation of prompt images for switching between displaying various data, provided in another embodiment of this disclosure. Figure 5d This is a schematic diagram illustrating the generation of prompt images for switching between displaying various data, provided in another embodiment of this disclosure. Figure 5e This is a schematic diagram illustrating the generation of prompt images for switching between displaying various data, provided in another embodiment of this disclosure.
[0114] Figures 5a to 5e The example shown is of a user generating images using a generative model. Figures 5a to 5e As shown, the data display area can also display text such as "Image generating in progress" to indicate to the user that the image is being generated, in conjunction with the data generation prompt image. Firstly, as... Figure 5a As shown, a data generation prompt image is displayed in a window of a specific shape. Figure 5a and Figure 5e The difference lies in switching between displaying two different data-generating tooltip images in a window of a specific shape. Then, as... Figure 5b and Figure 5c As shown, the currently displayed data generation prompt image is erased, and a second marker image is displayed in the erased area until the currently displayed data generation prompt image is completely erased. The second marker image can be an image whose color scheme or pattern matches the data generation scene. Finally, as... Figure 5d and Figure 5e As shown, the second marker image is erased, and the next data generation prompt image is displayed in the erased area until the second marker image is completely erased and the next data generation prompt image is displayed.
[0115] In the example above, the next data generation prompt image is used as the currently displayed data generation prompt image. By repeatedly erasing the currently displayed data generation prompt image and the second marker image in the data display area, the display of each data generation prompt image and the second marker image is switched in the data display area, creating an animation effect to prompt the user that the target data is being generated.
[0116] Based on this, in this embodiment, the user can be prompted that the target data is being generated by switching between displaying various data generation prompt images and the second marker image in the data display area.
[0117] As can be seen, through this embodiment, the currently displayed data generation prompt image can be erased in the data display area, and a second marker image can be displayed in the erased area until the currently displayed data generation prompt image is completely erased. Similarly, the second marker image can be erased in the data display area, and the next data generation prompt image can be displayed in the erased area until the second marker image is completely erased. By repeatedly erasing the currently displayed data generation prompt image and repeatedly erasing the second marker image in the data display area, an animation effect is created that switches between displaying various data generation prompt images and the second marker image in the data display area, prompting the user that the target data is being generated, thus improving the user's data generation experience.
[0118] In one embodiment, erasing currently displayed data to generate a prompt image and displaying a second marker image in the erased area includes:
[0119] A flowing erase is performed on the currently displayed data-generating prompt image using erase elements with a first style;
[0120] A second marker image is displayed in the erased area on the currently displayed data generation prompt image.
[0121] In this embodiment, you can refer to Figure 5b and Figure 5cFor example, when erasing the currently displayed data generation prompt image to display the second logo image, a flowing erasure is performed on the currently displayed data generation prompt image using an erasure element with a first style. The erasure element can be a pattern for erasing, and the erasure element has the first style. The flowing erasure refers to erasing along the image shape of the data generation prompt image, such as a curve. Then, the second logo image is displayed in the erased area on the currently displayed data generation prompt image.
[0122] refer to Figure 5b and Figure 5c For example, when switching between displaying various data generation prompt images and a second logo image within a window of a specific shape in the data display area, fluid erasure can refer to erasing the currently displayed data generation prompt image according to the shape of the window of that specific shape. Therefore, in this embodiment, fluid erasure refers to erasing along the image shape of the data generation prompt image, or erasing according to the shape of the window of that specific shape.
[0123] As can be seen, through this embodiment, by using eraser elements with a first style to perform flowing eraser on the currently displayed data generation prompt image, and displaying a second marker image in the erased area of the currently displayed data generation prompt image, the user's viewing experience is improved by taking advantage of the good visual effect of flowing eraser, thereby improving the user's data generation experience.
[0124] In one embodiment, the first style of the erase element described above is determined by the following method:
[0125] Obtain the first image element, the second image element of the second logo image, and the currently displayed data to generate the third image element of the prompt image;
[0126] The first style is obtained by overlaying the first image element, the second image element, and the third image element.
[0127] In this embodiment, a first image element is obtained. This first image element can be an image element obtained by overlaying a mosaic and dynamically changing numerical codes. The numerical codes can be 0 and 1, or other numbers. Taking 0 and 1 as an example, dynamically changing numerical codes refer to codes that change over time, with the numerical code at the same location also changing. For example, a 0 at the same location can change to a 1 over time, and a 1 at the same location can also change to a 0 over time. The mosaic can be of any color.
[0128] The second image element is an image element of the second marker image, including but not limited to the color of the second marker image. The third image element is an image element of the currently displayed data generation prompt image, including but not limited to the color of the currently displayed data generation prompt image. In this embodiment, considering that the erasing element will change position during the erasing process, for example, from the starting position of the currently displayed data generation prompt image to the ending position of the currently displayed data generation prompt image, the second image element may include the color of the second marker image displayed at the position of the erasing element, and the third image element may include the color of the data generation prompt image displayed at the position of the erasing element.
[0129] In this embodiment, the first image element, the second image element, and the third image element are superimposed to obtain the first style. If the second image element may include the color of the second marker image displayed at the location of the erase element, and the third image element may include the color of the data generation prompt image displayed at the location of the erase element, then as the position of the erase element changes, the second and third image elements will also change, and therefore the first style can also change.
[0130] As can be seen, through this embodiment, it is possible to obtain the first image element, the second image element of the second logo image, and the third image element of the currently displayed data generation prompt image. Based on the first image element, the second image element, and the third image element, a first style is obtained by superimposing them, so that the first style is associated with the style of the second logo image and the style of the currently displayed data generation prompt image, so that the first style matches the erasure scene and improves the user's experience of viewing the erasure element of the first style.
[0131] In one embodiment, erasing the second marker image and displaying the next data generation prompt image in the erased area includes:
[0132] A flowing erasure is performed on the second logo image using smear elements with a second style;
[0133] The next data generation prompt image is displayed in the erased area on the second marker image.
[0134] In this embodiment, you can refer to Figure 5d and Figure 5e For example, in the case of erasing the second logo image to display the next data generation prompt image, a flowing erasure is performed on the second logo image by a smearing element with a second style, wherein the erasing element can be a pattern for erasing, the erasing element having a second style, and the flowing erasure refers to erasing along the image shape of the second logo image, such as a curve shape, and then the next data generation prompt image is displayed in the erased area on the second logo image.
[0135] refer to Figure 5d and Figure 5e For example, when switching between displaying various data generation prompt images and a second logo image within a window of a specific shape in the data display area, fluid erasure can refer to erasing the second logo image according to the shape of the window of that specific shape. Therefore, in this embodiment, fluid erasure refers to erasing along the image shape of the second logo image, or erasing according to the shape of the window of that specific shape.
[0136] As can be seen, through this embodiment, by performing a flowing erasure on the first logo image, a data generation prompt image is displayed in the erased area on the first logo image. Taking advantage of the good visual effect of the flowing erasure, the user's viewing experience is improved, thereby improving the user's data generation experience.
[0137] In one embodiment, the second style of the erase element described above is determined by the following method:
[0138] Obtain the first image element, the second image element of the second logo image, and the fourth image element of the next data to generate the prompt image;
[0139] The second style is obtained by overlaying the first image element, the second image element, and the fourth image element.
[0140] In this embodiment, a first image element is obtained. This first image element can be an image element obtained by overlaying a mosaic and dynamically changing numerical codes. The numerical codes can be 0 and 1, or other numbers. Taking 0 and 1 as an example, dynamically changing numerical codes refer to codes that change over time, with the numerical code at the same location also changing. For example, a 0 at the same location can change to a 1 over time, and a 1 at the same location can also change to a 0 over time. The mosaic can be of any color.
[0141] The second image element is an image element of the second marker image, including but not limited to the color of the second marker image. The fourth image element is an image element for generating a prompt image for the next displayed data, including but not limited to the color of the prompt image for the next displayed data. In this embodiment, considering that the erasing element may change position during the erasing process, for example, from the starting position of the second marker image to the ending position of the second marker image, the second image element may include the color of the second marker image displayed at the position of the erasing element, and the fourth image element may include the color of the prompt image for the data generation displayed at the position of the erasing element.
[0142] In this embodiment, the first image element, the second image element, and the fourth image element are superimposed to obtain the second style. If the second image element may include the color of the second marker image displayed at the location of the erase element, and the fourth image element may include the color of the data generation prompt image displayed at the location of the erase element, then as the position of the erase element changes, the second image element and the fourth image element will also change, and therefore the second style can also change.
[0143] As can be seen, through this embodiment, it is possible to obtain the first image element, the second image element of the second logo image, and the fourth image element of the next data generation prompt image. Based on the first image element, the second image element, and the fourth image element, a second style is obtained by superimposing them, so that the second style is associated with the style of the second logo image and the style of the next displayed data generation prompt image, so that the second style matches the erasure scene and improves the user's experience of viewing the erasure element of the second style.
[0144] In this embodiment, in step S108 above, after determining that the target data has been generated, the terminal device no longer displays the data generation prompt image, but instead displays the target data in the data display area. In one example, the terminal device has a data generation interface, which includes a data display area and a feature input area. The user can input feature information in the feature input area. The terminal device generates a data generation request based on the feature information and executes the operation of generating target data according to the data generation request. When the target data has not yet been generated, a data generation prompt image is displayed in the data display area. When the target data is generated, the data generation prompt image is no longer displayed in the data display area, and the target data is then displayed.
[0145] It should be noted that the erasing effect in the above embodiments of this disclosure can also be replaced by a smearing effect. The images in the accompanying drawings of this embodiment are for illustrative purposes only and do not represent a limitation on the embodiments of this disclosure. The human images therein can be generated by a generative model. The data generation method in this embodiment can also be used in status prompting scenarios. For example, by repeatedly erasing part or all of the data to generate prompt images, the data generation status can be indicated. The data generation status includes at least data generation success and data generation failure.
[0146] In summary, this embodiment enables the generation of target data required by the user by repeatedly erasing part or all of the data to generate prompt images, thus displaying an animation to indicate to the user that the target data is being generated. This prevents users from mistakenly believing that the data generation is erroneous due to a prolonged period of unchanged display interface, thereby improving the user's data generation experience.
[0147] Figure 6This is a schematic diagram of the structure of a data generation apparatus provided in an embodiment of the present disclosure, as shown below. Figure 6 As shown, the device includes:
[0148] The request retrieval unit 61 is used to retrieve user data and generate a request.
[0149] The first display unit 62 is configured to perform the operation of generating corresponding target data according to the data generation request, and to display a data generation prompt image in the data display area;
[0150] The prompt generation unit 63 is used to prompt that the target data is being generated by repeatedly erasing part or all of the data to generate a prompt image during the generation of the target data.
[0151] The second display unit 64 is used to cancel the display of the data generation prompt image and display the target data in the data display area if the target data generation is completed.
[0152] Optionally, the data generation request includes an image generation request; the image generation request carries image feature information; the image generation request is used to request the generation of a target image that matches the image feature information through a first generative model; the first display unit 62 is specifically used to: perform the operation of generating a target image that matches the image feature information through the first generative model.
[0153] Optionally, the first display unit 62 is further configured to: obtain at least one example image that matches the image element information from the stored first images; generate a prompt image using the example image as the data; and display the example image in the data display area.
[0154] Optionally, the data generation request includes a text generation request; the text generation request carries text element information; the text generation request is used to request the generation of target text that matches the text element information through a second generative model; the first display unit 62 is specifically used to: perform the operation of generating target text that matches the text element information through the second generative model.
[0155] Optionally, the first display unit 62 is further configured to: acquire a second image; the second image is an image with a specific shape composed of dynamically changing digital codes; generate a prompt image using the second image as the data; and display the second image in the data display area.
[0156] Optionally, the number of data generation prompt images is one; the prompt generation unit 63 is specifically used to: erase the data generation prompt image, display a first marker image in the erased area, until part or all of the data generation prompt images are erased; erase the first marker image, display the erased data generation prompt image in the erased area, until the first marker image is erased; and prompt that the target data is being generated by repeatedly erasing part or all of the data generation prompt images and repeatedly erasing the first marker image.
[0157] Optionally, the prompt generation unit 63 is further configured to: generate an image shape of the prompt image based on the data, perform a flowing erasure on the data-generated prompt image, and display a first marker image in the erased area on the data-generated prompt image.
[0158] Optionally, the prompt generation unit 63 is further configured to: perform a flowing erasure on the first sign image based on the image shape of the first sign image; and display the erased data in the erased area of the first sign image to generate a prompt image.
[0159] Optionally, the number of data generation prompt images is multiple; the prompt generation unit 63 is specifically used to: switch between displaying each of the data generation prompt images in the data display area by erasing the currently displayed data generation prompt image; and prompt that the target data is being generated by switching between displaying each of the data generation prompt images in the data display area.
[0160] Optionally, the prompt generation unit 63 is further configured to: erase the currently displayed data generation prompt image in the data display area, and display a second marker image in the erased area, until the currently displayed data generation prompt image is completely erased; erase the second marker image in the data display area, and display the next data generation prompt image in the erased area, until the second marker image is completely erased; and switch between displaying each data generation prompt image and the second marker image in the data display area by repeatedly erasing the currently displayed data generation prompt image and repeatedly erasing the second marker image in the data display area.
[0161] Optionally, the generation prompt unit 63 is further configured to: perform a flowing erasure on the currently displayed data generation prompt image using an erasure element with a first style; and display a second marker image in the erased area on the currently displayed data generation prompt image.
[0162] Optionally, it further includes a first determining unit, configured to: acquire a first image element, a second image element of the second logo image, and a third image element of the currently displayed data to generate a prompt image; and superimpose the first style based on the first image element, the second image element, and the third image element.
[0163] Optionally, the generation prompt unit 63 is further configured to: perform a flowing erasure on the second logo image using a smear element with a second style; and display the next data generation prompt image in the erased area on the second logo image.
[0164] Optionally, it further includes a second determining unit, configured to: acquire a first image element, a second image element of the second logo image, and a fourth image element of the next data generation prompt image; and superimpose the second style based on the first image element, the second image element, and the fourth image element.
[0165] The data generation apparatus in this embodiment can implement the various processes of the above-described data generation method embodiments and achieve the same effects and functions, which will not be repeated here.
[0166] One embodiment of this disclosure also provides an electronic device. Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure, as shown below. Figure 7 As shown, electronic devices can vary considerably due to differences in configuration or performance. They may include one or more processors 701 and memories 702, with the memory 702 storing one or more application programs or data. The memory 702 can be temporary or persistent storage. The application programs stored in the memory 702 may include one or more modules (not shown), each module including a series of computer-executable instructions within the electronic device. Furthermore, the processor 701 may be configured to communicate with the memory 702, executing the series of computer-executable instructions stored in the memory 702 on the electronic device. The electronic device may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input or output interfaces 705, one or more keyboards 706, etc.
[0167] In one specific embodiment, the electronic device includes a processor; and a memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the following process:
[0168] Get user data and generate a request;
[0169] Perform the operation of generating the corresponding target data according to the data generation request, and display the data generation prompt image in the data display area;
[0170] During the generation of the target data, a prompt image is generated by repeatedly erasing part or all of the data to indicate that the target data is being generated;
[0171] If the target data is generated, the data generation prompt image is canceled, and the target data is displayed in the data display area.
[0172] The electronic device in this embodiment can implement the various processes of the above-described data generation method embodiments and achieve the same effects and functions, which will not be repeated here.
[0173] Another embodiment of this disclosure also provides a computer-readable storage medium for storing computer-executable instructions that, when executed by a processor, implement the following process:
[0174] Get user data and generate a request;
[0175] Perform the operation of generating the corresponding target data according to the data generation request, and display the data generation prompt image in the data display area;
[0176] During the generation of the target data, a prompt image is generated by repeatedly erasing part or all of the data to indicate that the target data is being generated;
[0177] If the target data is generated, the data generation prompt image is canceled, and the target data is displayed in the data display area.
[0178] The storage medium in this embodiment can implement the various processes of the above-described data generation method embodiments and achieve the same effects and functions, which will not be repeated here.
[0179] Another embodiment of this disclosure also provides a computer program product, the computer program product including a computer program, which, when executed by a processor, implements the following process:
[0180] Get user data and generate a request;
[0181] Perform the operation of generating the corresponding target data according to the data generation request, and display the data generation prompt image in the data display area;
[0182] During the generation of the target data, a prompt image is generated by repeatedly erasing part or all of the data to indicate that the target data is being generated;
[0183] If the target data is generated, the data generation prompt image is canceled, and the target data is displayed in the data display area.
[0184] The computer program product in this disclosure embodiment can implement the various processes of the above-described data generation method embodiment and achieve the same effects and functions, which will not be repeated here.
[0185] In various embodiments of this disclosure, the computer-readable storage medium includes read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc.
[0186] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using a hardware physical module. For example, a Programmable Logic Device (PLD) (e.g., a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program a digital system themselves to "integrate" it onto a PLD, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0187] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0188] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0189] For ease of description, the above apparatus is described by dividing it into various functional units. Of course, in implementing the embodiments of this disclosure, the functions of each unit can be implemented in one or more software and / or hardware.
[0190] Those skilled in the art will understand that one or more embodiments of this disclosure can be provided as a method, system, or computer program product. Therefore, one or more embodiments of this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this disclosure can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0191] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0192] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0193] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0194] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0195] One or more embodiments of this disclosure can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a particular task or implement a particular abstract data type. One or more embodiments of this disclosure can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules can reside in local and remote computer storage media, including storage devices.
[0196] The various embodiments in this disclosure are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0197] The above description is merely an embodiment of this disclosure and is not intended to limit the scope of this disclosure. Various modifications and variations can be made to this disclosure by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of the claims of this disclosure.
Claims
1. A data generation method, characterized in that, include: Obtain image element information of the target image to be generated, input by the user, and generate an image generation request based on the image element information; Perform the operation of generating the corresponding target image according to the image generation request through the first generative model, and display the data generation prompt image in the data display area; The number of data generation prompt images is one or more, and one data generation prompt image is displayed at a time; each data generation prompt image is an example image that matches the image element information from each of the stored first images; During the generation of the target image, the following process is repeated to indicate that the target image is being generated: erasing the currently displayed data generation prompt image, displaying the corresponding logo image after erasing, and erasing the currently displayed logo image, displaying the next data generation prompt image after erasing; wherein, part or all of the currently displayed data generation prompt image is erased in a flowing manner according to the curve shape of the data generation prompt image; the currently displayed logo image is erased in a flowing manner according to the image shape of the logo image; the logo image is an image whose color scheme or pattern matches the image generation scene of the target image; If the target image is generated, the data generation prompt image and the logo image are de-displayed, and the target image is displayed in the data display area.
2. The method according to claim 1, characterized in that, The image generation request is used to request the generation of a target image that matches the image feature information through the first generative model; The operation of generating the corresponding target image according to the image generation request through the first generative model includes: Perform the operation of generating the target image that matches the image feature information through the first generative model.
3. The method according to claim 1, characterized in that, The number of data-generated prompt images is one; the marker image is the first marker image. The process of erasing the currently displayed data and generating a prompt image, followed by displaying a corresponding marker image after erasure, includes: Erasing the data generates a prompt image, and displaying a first marker image in the erased area, until part or all of the data generates a prompt image that has been erased; The process of erasing the currently displayed logo image and then displaying the next data generation prompt image includes: The first marker image is erased, and a prompt image is generated to display the erased data in the erased area until the first marker image is completely erased.
4. The method according to claim 3, characterized in that, The process of erasing the data to generate a prompt image and displaying a first marker image in the erased area includes: Based on the image shape of the data-generated prompt image, a flowing erasure is performed on the data-generated prompt image; A first marker image is displayed in the erased area on the data generation prompt image.
5. The method according to claim 3, characterized in that, The process of erasing the first marker image and displaying a prompt image of the erased data in the erased area includes: Based on the image shape of the first logo image, a flowing erasure is performed on the first logo image; A prompt image is generated by displaying the erased data in the erased area on the first marker image.
6. The method according to claim 1, characterized in that, The number of data-generated prompt images is multiple; the marker image is a second marker image; The process of erasing the currently displayed data and generating a prompt image, followed by displaying a corresponding marker image after erasure, includes: In the data display area, the currently displayed data generation prompt image is erased, and a second marker image is displayed in the erased area until the currently displayed data generation prompt image is completely erased; The process of erasing the currently displayed logo image and then displaying the next data generation prompt image includes: In the data display area, the second marker image is erased, and the next data generation prompt image is displayed in the erased area until the second marker image is completely erased.
7. The method according to claim 6, characterized in that, The process of erasing the currently displayed data and generating a prompt image, and displaying a second marker image in the erased area, includes: A flowing eraser is performed on the currently displayed data generation prompt image using eraser elements with a first style; A second marker image is displayed in the erased area on the currently displayed data generation prompt image.
8. The method according to claim 7, characterized in that, Also includes: Obtain the first image element, the second image element of the second logo image, and the third image element of the currently displayed data to generate a prompt image; The first style is obtained by superimposing the first image element, the second image element, and the third image element.
9. The method according to claim 6, characterized in that, The process of erasing the second marker image and displaying the next data generation prompt image in the erased area includes: A flowing erasure is performed on the second logo image using smear elements with a second style; The next data generation prompt image is displayed in the erased area on the second marker image.
10. The method according to claim 9, characterized in that, Also includes: Obtain the first image element, the second image element of the second logo image, and the fourth image element of the next data-generated prompt image; The second style is obtained by superimposing the first image element, the second image element, and the fourth image element.
11. A data generation apparatus, characterized in that, include: The request acquisition unit is used to acquire image element information of the target image to be generated input by the user, and generate an image generation request based on the image element information; The first display unit is configured to perform the operation of generating the corresponding target image according to the image generation request through the first generative model, and to display a data generation prompt image in the data display area; The number of data generation prompt images is one or more, and one data generation prompt image is displayed at a time; each data generation prompt image is an example image that matches the image element information from each of the stored first images; A prompting unit is configured to repeatedly indicate that the target image is being generated during the generation process of the target image: erasing the currently displayed data generation prompt image, displaying a corresponding marker image after erasing, and erasing the currently displayed marker image, displaying the next data generation prompt image after erasing; wherein, part or all of the currently displayed data generation prompt image is erased in a flowing manner according to the curve shape of the data generation prompt image; the currently displayed marker image is erased in a flowing manner according to the image shape of the marker image; the marker image is an image whose color scheme or pattern matches the image generation scene of the target image; The second display unit is configured to, if the target image is generated, cancel the display of the data generation prompt image and the logo image, and display the target image in the data display area.
12. An electronic device, characterized in that, include: processor; as well as, A memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the steps of the method described in any one of claims 1-10.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store computer-executable instructions that, when executed by a processor, implement the steps of the method described in any one of claims 1-10.
14. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1-10.
Citation Information
Patent Citations
Application progress processing method and terminal
CN106681706A
Template-based mask automatic erasing method
CN107844240A
Video display and processing method, device and system, equipment and medium
CN112579826A
Image generation method and device, computer equipment and medium
CN117710193A
Interaction information processing method and device and storage medium
CN118195914A