Data generation method and device and related product
By dynamically erasing or replacing prompt images during the data generation process, the problem of users misunderstanding data generation errors due to the long-term unchanged display interface, and improve user experience.
Patent Information
- Application Number
- CN202411296413.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-09-14
AI Technical Summary
When the user is waiting for data generation, the display interface has not changed for a long time, and may mistakenly think that a data generation error occurs and give up the generation process, resulting in a decline in user experience.
By repeatedly erasing or replacing data during the data generation process, the prompt image is generated dynamically, and the status of data being generated is avoided by users to misunderstand the data generation error.
It improves the user's data generation experience, reduces the possibility of giving up generation due to misunderstandings, and enhances users' confidence in the data generation process.
Smart Images

Figure CN119200905A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a data generation method, device, and related products. Background Art
[0002] Currently, users can generate various required data through the Internet, for example, using a generative model to generate the required images, or using a generative model to generate the required text. However, data generation usually takes a long time, and users need to wait a long time before they can browse the generated data. Some users may mistakenly believe that the data generation has failed due to the display interface not changing for a long time and give up on data generation. Based on this, it is necessary to provide a technical solution to prompt users that the required data is being generated, so as to avoid users giving up on data generation due to the display interface not changing for a long time and mistakenly believing that the data generation has failed, thereby improving the user's data generation experience. Summary of the Invention
[0003] The embodiments of the present disclosure provide a data generation method, device and related products, which can prompt the user through animation that the target data required by the user is being generated, thereby preventing the user from giving up data generation due to mistakenly believing that the data generation is wrong due to the display interface not changing for a long time, thereby improving the user's data generation experience.
[0004] In a first aspect, an embodiment of the present disclosure provides a data generation method, comprising:
[0005] Get the user's data to generate a request;
[0006] Executing an operation of generating corresponding target data according to the data generation request, and displaying a data generation prompt image in a data display area;
[0007] During the generation process 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] In a second aspect, an embodiment of the present disclosure provides a data generation device, including:
[0010] A request acquisition unit, used to acquire user data to generate a request;
[0011] a first display unit, configured to generate corresponding target data according to the data generation request, and to display a data generation prompt image in a data display area;
[0012] a generating prompting unit, configured to, during the generation process of the target data, repeatedly erase part or all of the data to generate a prompt image, prompting that the target data is being generated;
[0013] The second display unit is configured to cancel 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] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; and a memory configured to store computer-executable instructions, wherein the computer-executable instructions, when executed, enable the processor to implement the steps of the method described in the first aspect above.
[0015] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, which is used to store computer-executable instructions. When the computer-executable instructions are executed by a processor, the steps of the method described in the first aspect are implemented.
[0016] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the method described in the first aspect.
[0017] In one or more embodiments of the present disclosure, first, a user's data generation request is obtained, then, an operation of generating corresponding target data according to the data generation request is executed, and a data generation prompt image is displayed in the data display area. Then, during the generation of the target data, the target data is prompted to be generated by repeatedly erasing part or all of the data generation prompt image. Finally, if the target data generation is completed, the data generation prompt image is canceled and the target data is displayed in the data display area. It can be seen that 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. The user is prompted to be generated by the animation in the form of the target data, thereby avoiding the user from giving up the data generation due to the fact that the display interface has not changed for a long time and mistakenly thinking that the data generation is wrong, thereby improving the user's data generation experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate one or more embodiments of the present disclosure or technical solutions in the prior art, the following briefly introduces the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings described below are only some embodiments described in the present disclosure. Those skilled in the art can derive other drawings based on these drawings without inventive effort.
[0019] Figure 1A flowchart of a data generation method provided in one embodiment of the present disclosure;
[0020] Figure 2a A schematic diagram of a second image provided in an embodiment of the present disclosure;
[0021] Figure 2b A schematic diagram of a second image provided in accordance with another embodiment of the present disclosure;
[0022] Figure 3a A schematic diagram of an embodiment of the present disclosure providing a prompt image for erasing part of the data to prompt that target data is being generated;
[0023] Figure 3b A schematic diagram of another embodiment of the present disclosure providing a prompt image for erasing data to prompt that target data is being generated;
[0024] Figure 3c A schematic diagram of generating a prompt image for erasing data of a portion provided by another embodiment of the present disclosure to prompt that target data is being generated;
[0025] Figure 3d A schematic diagram of generating a prompt image for erasing data of a portion provided by another embodiment of the present disclosure to prompt that target data is being generated;
[0026] Figure 3e A schematic diagram of generating a prompt image for erasing data of a portion provided by another embodiment of the present disclosure to prompt that target data is being generated;
[0027] Figure 4a A schematic diagram of erasing all data and generating a prompt image to prompt that target data is being generated, provided by an embodiment of the present disclosure;
[0028] Figure 4b A schematic diagram of erasing all data and generating a prompt image to prompt that target data is being generated, provided by another embodiment of the present disclosure;
[0029] Figure 4c A schematic diagram of erasing all data provided by another embodiment of the present disclosure to generate a prompt image to prompt that target data is being generated;
[0030] Figure 4d A schematic diagram of erasing all data provided by another embodiment of the present disclosure to generate a prompt image to prompt that target data is being generated;
[0031] Figure 4e A schematic diagram of erasing all data provided by another embodiment of the present disclosure to generate a prompt image to prompt that target data is being generated;
[0032] Figure 5aA schematic diagram of switching and displaying various data generation prompt images provided by an embodiment of the present disclosure;
[0033] Figure 5b A schematic diagram of switching and displaying various data generation prompt images provided by another embodiment of the present disclosure;
[0034] Figure 5c A schematic diagram of switching and displaying various data generation prompt images provided by another embodiment of the present disclosure;
[0035] Figure 5d A schematic diagram of switching and displaying various data generation prompt images provided by another embodiment of the present disclosure;
[0036] Figure 5e A schematic diagram of switching and displaying various data generation prompt images provided by another embodiment of the present disclosure;
[0037] Figure 6 A schematic structural diagram of a data generation device provided in one embodiment of the present disclosure;
[0038] Figure 7 A schematic structural diagram of an electronic device provided in one embodiment of the present disclosure. DETAILED DESCRIPTION
[0039] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in one or more embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on one or more embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present disclosure.
[0040] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0041] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested 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 electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.
[0042] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0043] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0044] The disclosed embodiments provide a data generation method that, when generating target data required by a user, can prompt the user through an animation that the target data is being generated. This prevents the user from mistakenly believing that the data generation has failed due to a long-term unchanged display interface and abandoning the data generation process, thereby improving the user's data generation experience. The data generation method in the disclosed embodiments can be applied to and executed by a terminal device, including electronic products such as mobile phones, computers, tablets, laptops, in-vehicle computers, and wearable devices.
[0045] Figure 1 A flow chart of a data generation method provided in one embodiment of the present disclosure is shown as follows: Figure 1 As shown, the process includes:
[0046] Step S102, obtaining the user's data generation request;
[0047] Step S104, executing an operation of generating corresponding target data according to the data generation request, and displaying a data generation prompt image in the data display area;
[0048] Step S106, during the target data generation process, a prompt image is generated by repeatedly erasing part or all of the data to indicate that the target data is being generated;
[0049] Step S108: If the target data generation is completed, the display of the data generation prompt image is cancelled, and the target data is displayed in the data display area.
[0050] In this embodiment, first, a data generation request from the user is obtained, then an 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. Then, during the generation of the target data, the data generation prompt image is repeatedly erased in part or in whole to indicate that the target data is being generated. Finally, if the generation of the target data is complete, the data generation prompt image is canceled and the target data is displayed in the data display area. It can be seen that through this embodiment, when generating the target data required by the user, an animation can be displayed by repeatedly erasing in part or in whole the data generation prompt image. The animation prompts the user that the target data is being generated, thereby preventing the user from giving up the data generation due to the display interface not changing for a long time and mistakenly thinking that the data generation is wrong, thereby improving the user's data generation experience.
[0051] In step S102 above, a data generation request from the user is obtained. In this embodiment, the terminal device may display a data generation interface, in which the user may enter element information of the target data to be generated. For example, if the user enters "generate a picture of a red rose," the terminal device obtains the element information entered by the user and generates a data generation request based on the element information. It will be understood that the data generation request may include the element information, and the data generation request is used to request the generation of target data matching the element information.
[0052] In the above step S104, the terminal device performs an operation of generating corresponding target data according to the data generation request, and obtains a 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 includes a data display area, which is used to display 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 includes a data display area and an element input area. A user can enter element information in the element input area. The terminal device generates a data generation request based on the element information and executes an operation to generate the target data according to the data generation request. When the target data has not yet been generated, the data generation prompt image is displayed in the data display area. When the target data has been 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 element information; the image generation request is used to request generation of a target image matching the image element information by a first generative model; and the above-mentioned operation of generating corresponding target data according to the data generation request includes:
[0055] An operation of generating a target image matching the image element information by using a first generative model is performed.
[0056] In this embodiment, a user can enter image element information in the data generation interface to request the generation of a target image. Accordingly, the terminal device obtains the image element information entered by the user and generates an image generation request based on the image element information. The image generation request is a data generation request and can carry the image element information. The image generation request is used to request the generation of a target image that matches the image element information using a first generative model. The first generative model can be a pre-trained LLM (Large Language Model).
[0057] In one example, a user enters image element information in the data generation interface, and the terminal device requests the large language model to generate a target image that matches the image element information. For example, if the user selects the style of "ancient style" in the data generation interface and enters the prompt word "melancholic girl", the terminal device will obtain the image element information including "ancient style" and "melancholic girl" and generate an image generation request based on this image element information. The image generation request carries this image element information and is used to request the LLM to generate a target image that matches this image element information.
[0058] Based on this, the terminal device performs an operation of generating corresponding target data according to the data generation request. Specifically, it may perform an operation of generating a target image that matches the image element information using the first generative model. For example, when the first generative model is running within the terminal device, the terminal device may call the first generative model to generate a target image that matches the image element information. When the first generative model is running within the server, the terminal device sends an image generation request to the server, requesting the server to call the first generative model to generate a target image that matches the image element information.
[0059] It can be seen that through this embodiment, in the image generation scenario, the first generative model can be used to generate a target image that matches the image element information in the image generation request, so that in the image generation scenario, the user is prompted through animation that the target image is being generated.
[0060] In one embodiment, in an image generation scenario, displaying a data generation prompt image in a data display area includes:
[0061] Acquire at least one example image matching the image element information from each stored first image;
[0062] A prompt image is generated using the sample image as data, and the sample image is displayed in the data display area.
[0063] In this embodiment, in the image generation scenario, the terminal device may retrieve at least one example image that matches the image element information from each stored first image. Each stored first image may be a pre-stored image that was already stored in the database before receiving the user's image generation request. Furthermore, the terminal device uses the at least one example image that matches the image element information as a data generation prompt image and displays the example image in the data display area.
[0064] As in the above example, when the image element information includes "ancient style" and "melancholic girl", at least one ancient style melancholic girl image can be obtained as an example image in each first image, and the example image can be used as a data generation prompt image, and the example image can be displayed in the data display area, so that the data generation prompt image matches the image generation scene.
[0065] It can be seen that through this embodiment, in the image generation scenario, at least one example image that matches the image element information can be obtained from each stored first image, the example image can be used as a data generation prompt image, and the example image can be displayed in the data display area, so that the data generation prompt image can be obtained and displayed in a targeted manner in the image generation scenario, 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 generation of target text matching the text element information by a second generative model; and the above-mentioned operation of generating corresponding target data according to the data generation request includes:
[0067] An operation of generating target text matching the text element information by using a second generative model is performed.
[0068] In this embodiment, a user can enter text element information in the data generation interface to request the generation of a target text. Accordingly, the terminal device obtains the text element information entered by the user and generates a text generation request based on the text element information. This text generation request is a data generation request and can carry the text element information. This text generation request is used to request the generation of a target text that matches the text element information using a second generative model. The second generative model can be a pre-trained LLM.
[0069] In one example, a user enters text element information in a data generation interface, and a terminal device requests the large language model to generate a target text that matches the text element information. For example, if the user selects "ancient times" as the background and enters the prompt "describes the scene of an ancient woman's spring outing," the terminal device will obtain the text element information including "ancient times" and "describes the scene of an ancient woman's spring outing" and generate a text generation request based on this text element information. The text generation request carries this text element information and is used to request the LLM to generate a target text that matches this text element information.
[0070] Based on this, the terminal device performs an operation of generating corresponding target data according to the data generation request. Specifically, it may be an operation of generating target text that matches the text element information using the second generative model. For example, when the second generative model is running within the terminal device, the terminal device may call the second generative model to generate target text that matches the text element information. When the second generative model is running within the server, the terminal device sends a text generation request to the server, requesting the server to call the second generative model to generate target text that matches the text element information.
[0071] It can be seen that through this embodiment, the second generative model can be used to generate target text that matches the text element information in the text generation request in the text generation scenario, so that in the text generation scenario, the user is prompted through animation that the target text is being generated.
[0072] In one embodiment, in a text generation scenario, displaying a data generation prompt image in a data display area includes:
[0073] Acquire a second image; the second image is an image having a specific shape composed of dynamically changing digital codes;
[0074] A presentation image is generated using the second image as data, and the second image is displayed in the data display area.
[0075] In this embodiment, in a text generation scenario, a second image is obtained, and the style of the second image is used to prompt that the target text is being generated by a second generative model. The second image can be an image with a specific form composed of dynamically changing digital codes. The digital codes can be 0 and 1, or other numbers. Dynamically changing digital codes refer to digital codes that change over time, and digital codes at the same position also change. Taking the digital codes including 0 and 1 as an example, the second image can be an image with a specific form composed of 0 and 1, and the 0 and 1 in the second image can change dynamically, and 0 at the same position can change to 1 over time, and 1 at the same position can also change to 0 over time.
[0076] Figure 2a A schematic diagram of a second image provided in an embodiment of the present disclosure, Figure 2b A schematic diagram of a second image provided in another embodiment of the present disclosure is shown as follows: Figure 2a and 2b As shown, in one example, the digital code can be 0 and 1, and the second image is an image with a curved shape 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, and 0 or 1 can also be added at the new position.
[0077] In this embodiment, the second image is used as a data generation prompt image and displayed in the data display area. Since the second image can be an image with a specific form composed of dynamically changing digital codes, and the continuously dynamically changing digital codes can indicate that the computer is running, the second image can be used to indicate that the target text is being generated by the second generative model.
[0078] It can be seen that through this embodiment, a second image can be obtained in a text generation scenario. The second image is an image with a specific form composed of dynamically changing digital codes. The second image is used as a data generation prompt image and displayed in the data display area. In this way, the data generation prompt image can be obtained and displayed in a targeted manner in the text generation scenario, so that the data generation prompt image matches the text generation scenario.
[0079] It should be noted that, in this embodiment, in addition to the above-mentioned scenario of generating target text based on text element information, the text generation scenario 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 text query conditions. For example, the user enters text element information in the data generation interface, and the text element information includes text query conditions such as "ancient style short stories". The terminal device can query the corresponding text based on the text query conditions and return it to the user. During the query process, you can use Figure 1 In the method flow, animation is used to prompt the user that the required text is being queried.
[0080] In the above step S106 , during the process of generating the target data, the terminal device generates a prompt image by repeatedly erasing part or all of the data to prompt that the target data is being generated.
[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 prompts 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 process of the target data. If the number of data generation prompt images is multiple, the terminal device alternately displays each data generation prompt image during the generation process of the target data, displaying one data generation prompt image each time, and prompts that the target data is being generated by repeatedly erasing part or all of the area of the data generation prompt image being displayed.
[0082] In one embodiment, the number of data generation prompt images is one; repeatedly erasing part or all of the data generation prompt images to indicate that target data is being generated includes:
[0083] Erasing the data generation prompt image, and displaying the first mark image in the erased area until part or all of the data generation prompt image is completely erased;
[0084] Erasing the first marker image, and displaying the erased data generation prompt image in the erased area until the first marker image is completely erased;
[0085] By repeatedly erasing part or all of the data generation prompt image and repeatedly erasing the first mark image, it is prompted that the target data is being generated.
[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 scene. 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 until the partial area of the data generation prompt image is completely erased and the first marker image is fully displayed. It can be understood that the data generation prompt image is partially erased and 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 until the first marker image is completely erased and the data generation prompt image is fully displayed. It can be understood that since the data generation prompt image is partially erased, the first marker image is erased and the erased data generation prompt image is displayed in the erased area, so that the first marker image is no longer displayed and the data generation prompt image is fully displayed. 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 full data generation prompt image, an animation effect is created to prompt the user that the target data is being generated.
[0087] Figure 3aThis is a schematic diagram of an embodiment of the present disclosure providing a prompt image for erasing part of the data to prompt that the target data is being generated. Figure 3b A schematic diagram of another embodiment of the present disclosure providing a prompt image for erasing data to indicate that target data is being generated. Figure 3c A schematic diagram of generating a prompt image for erasing part of data provided by another embodiment of the present disclosure to prompt that target data is being generated. Figure 3d A schematic diagram of generating a prompt image for erasing part of data provided by another embodiment of the present disclosure to prompt that target data is being generated. Figure 3e A schematic diagram of generating a prompt image for erasing data of a portion provided in yet another embodiment of the present disclosure to prompt that target data is being generated. Figures 3a to 3e In this paper, we take the scenario where users generate text through generative models as an example. First, Figure 3a As shown, the display data generates a prompt image, and the data generates a prompt image which can be an image with a specific shape composed of dynamically changing digital codes. Figure 3a and Figure 3e The difference is that the digital code changes dynamically. Then, Figure 3b and Figure 3c As shown, the data generation prompt image is erased, and the first mark image is displayed in the erased area until the partial area of the data generation prompt image is completely erased and the first mark image is completely displayed. Here, a curve in the data generation prompt image is erased as an example. The first mark image can be an image with a color or pattern that matches the data generation scene. Finally, as Figure 3d and Figure 3e As shown, the first logo image is erased, and the erased data generation prompt image is displayed in the erased area until the first logo image is completely erased and the data generation prompt image is completely displayed.
[0088] In the above example, by repeatedly erasing part 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, an animation effect is formed to prompt the user that the target data is being generated.
[0089] In this embodiment, there is only one data generation prompt image. In another embodiment, after displaying the data generation prompt image, the data generation prompt image is erased, and the first indicator image is displayed in the erased area until the entire data generation prompt image is completely erased and the first indicator image is displayed. It can be understood that the data generation prompt image is completely erased and the first indicator image is displayed in the erased area. Next, the first indicator image is erased, and the erased data generation prompt image is displayed in the erased area until the first indicator image is completely erased and the data generation prompt image is displayed. It can be understood that since the entire data generation prompt image is erased, the first indicator image is erased and the erased data generation prompt image is displayed in the entire erased area, so that the first indicator image is no longer displayed and the entire data generation prompt image is displayed. In this embodiment, by erasing the entire data generation prompt image and displaying the first indicator image, and then erasing the first indicator image and displaying the entire data generation prompt image, the display of the data generation prompt image and the first indicator image are switched, creating an animation effect to prompt the user that the target data is being generated.
[0090] Figure 4a This is a schematic diagram of erasing all data to generate a prompt image to prompt that target data is being generated, provided by an embodiment of the present disclosure. Figure 4b This is a schematic diagram of erasing all data and generating a prompt image to prompt that target data is being generated, provided by another embodiment of the present disclosure. Figure 4c This is a schematic diagram of erasing all data and generating a prompt image to prompt that target data is being generated, provided by another embodiment of the present disclosure. Figure 4d This is a schematic diagram of erasing all data and generating a prompt image to prompt that target data is being generated, provided by another embodiment of the present disclosure. Figure 4e A schematic diagram of erasing all data and generating a prompt image to prompt that target data is being generated is provided in yet another embodiment of the present disclosure. Figures 4a to 4e In this paper, we take the scenario where users generate text through generative models as an example. First, Figure 4a As shown, the display data generates a prompt image, and the data generates a prompt image which can be an image with a specific shape composed of dynamically changing digital codes. Figure 4a and Figure 4e The difference is that the digital code changes dynamically. Then, Figure 4b and Figure 4cAs shown, the data generation prompt image is erased, and the first mark image is displayed in the erased area until all areas of the data generation prompt image are erased and the first mark image is displayed. The first mark image can be an image whose color or pattern matches the data generation scene. During the process of erasing the data generation prompt image, the shape of the data generation prompt image can change. Finally, as shown Figure 4d and Figure 4e As shown, the first logo image is erased, and the erased data generation prompt image is displayed in the erased area until the first logo image is completely erased and the data generation prompt image is completely displayed.
[0091] In the above example, by 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, the display of the data generation prompt image and the first logo image are switched to form an animation effect, prompting the user that the target data is being generated.
[0092] It can be seen that through this embodiment, the data generation prompt image can be erased and the first mark image can be displayed in the erased area until part or all of the data generation prompt image is erased, and the first mark image can be erased and the erased data generation prompt image can be displayed in the erased area until the first mark image is erased. By repeatedly erasing part or all of the data generation prompt image and repeatedly erasing the first mark image, an animation effect of switching between displaying the data generation prompt image and the first mark image is formed, prompting that the target data is being generated, thereby improving the user's data generation experience.
[0093] In one embodiment, erasing data to generate a prompt image and displaying a first mark image in the erased area includes:
[0094] Based on the image form of the data-generated prompt image, performing fluid erasing on the data-generated prompt image;
[0095] The first marker image is displayed in the erased area on the data generation prompting 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-generated prompt image, flowing erasing is performed on the data-generated prompt image based on the image form of the data-generated prompt image. The flowing erasing refers to erasing along the image form of the data-generated prompt image, such as a curve form, and then the first mark image is displayed in the erased area on the data-generated prompt image.
[0097] It can be seen that through this embodiment, by performing flowing erasing on the data generation prompt image, the first logo image is displayed in the erased area on the data generation prompt image, and the advantage of the good visual effect of flowing erasing is utilized to improve the user's viewing experience, thereby improving the user's data generation experience.
[0098] In one embodiment, erasing the first marker image and displaying the erased data in the erased area to generate a prompt image includes:
[0099] Based on the image form of the first sign image, performing flowing erasing on the first sign image;
[0100] An erased data generation prompt image is displayed in the erased area on the first logo 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 erasing part or all of the data to generate a prompt image, based on the image form of the first logo image, flowing erasing is performed on the first logo image to erase the entire first logo image. The flowing erasing refers to erasing along the image form of the first logo image, such as a curve form, and then the erased data is displayed in the erased area on the first logo image to generate a prompt image.
[0102] It can be seen that through this embodiment, by performing flowing erasing on the first logo image, the erased data is displayed in the erased area on the first logo image to generate a prompt image, and the advantage of the good visual effect of flowing erasing is utilized to improve the user's viewing experience, thereby improving the user's data generation experience.
[0103] In one embodiment, there are multiple data generation prompt images; repeatedly erasing part or all of the data generation prompt images to indicate that the target data is being generated includes:
[0104] By erasing the currently displayed data generation prompt image, switching and displaying each data generation prompt image in the data display area;
[0105] By switching and displaying each data generation prompt image in the data display area, it is prompted that the target data is being generated.
[0106] In this embodiment, there are multiple data generation prompt images, and one data generation prompt image is displayed in the data display area at a time, for example, a data generation prompt image is displayed randomly. Based on this, the currently displayed data generation prompt image is erased and the next data generation prompt image is displayed. In this way, the data generation prompt images are switched and displayed in the data display area. By switching and displaying each data generation prompt image in the data display area, the user is prompted that the target data is being generated.
[0107] It can be seen that through this embodiment, when there are multiple data generation prompt images, the currently displayed data generation prompt image can be erased and the next data generation prompt image can be displayed, thereby switching the display of each data generation prompt image in the data display area. By switching the display of each data generation prompt image in the data display area, the user is prompted that the target data is being generated, thereby improving the user's data generation experience.
[0108] In one embodiment, the method of erasing the currently displayed data generation prompt image and switching to display each data generation prompt image in the data display area includes:
[0109] In the data display area, erasing the currently displayed data generation prompt image, and displaying the second logo image in the erased area until the currently displayed data generation prompt image is completely erased;
[0110] In the data display area, erasing the second mark image, and displaying the next data generation prompt image in the erased area until the second mark image is completely erased;
[0111] By repeatedly erasing the currently displayed data generation prompt image and the second logo image in the data display area, the data generation prompt image and the second logo image are switched and displayed in the data display area.
[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 logo image is displayed in the erased area until the currently displayed data generation prompt image is completely erased. In this method, the data generation prompt image can be displayed in a window of a specific shape, and all data generation prompt images in the window of the specific shape are erased until the currently displayed data generation prompt image is completely erased. In addition, while erasing the data generation prompt image, a second logo image is displayed in the window of the specific shape. The second logo image can be an image with a color or pattern that matches the data generation scene. Next, in the data display area, the second logo image is erased, and the next data generation prompt image is displayed in the erased area until the second logo image is completely erased. In this method, the second logo image can be erased in the window of the specific shape, and while erasing the second logo image, the next data generation prompt image is displayed in the window of the specific shape until the second logo image is completely erased. Finally, the next data generation prompt image is displayed in the window of the specific shape. Finally, the next data generation prompt image displayed is used as the currently displayed data generation prompt image. By repeatedly erasing the currently displayed data generation prompt image and repeatedly erasing the second logo image in the data display area, the various data generation prompt images and second logo images are switched in the data display area to form an animation effect, prompting the user that the target data is being generated.
[0113] Figure 5a A schematic diagram of switching and displaying various data generation prompt images provided by an embodiment of the present disclosure, Figure 5b A schematic diagram of switching and displaying various data generation prompt images provided by another embodiment of the present disclosure is provided. Figure 5c A schematic diagram of switching and displaying various data generation prompt images provided by another embodiment of the present disclosure is shown. Figure 5d A schematic diagram of switching and displaying various data generation prompt images provided by another embodiment of the present disclosure is shown. Figure 5e A schematic diagram of switching and displaying prompt images for generating various data provided by another embodiment of the present disclosure.
[0114] Figures 5a to 5e In this paper, we take the scenario where users generate images through generative models as an example. Figures 5a to 5e As shown, the data display area can also display text such as "Image Generating" to match the data generation prompt image to remind the user that the image is being generated. 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 is that switching displays two different data generation prompt images in a window of a specific shape. Then, Figure 5b and Figure 5c As shown, the currently displayed data generation prompt image is erased, and a second logo image is displayed in the erased area until the currently displayed data generation prompt image is completely erased. The second logo image can be an image with a color or pattern that matches the data generation scene. Finally, as shown Figure 5d and Figure 5e As shown, the second logo image is erased, and the next data generation prompt image is displayed in the erased area until the second logo image is completely erased and the next data generation prompt image is displayed.
[0115] In the above example, the next data generation prompt image displayed is used as the currently displayed data generation prompt image. By repeatedly erasing the currently displayed data generation prompt image and repeatedly erasing the second logo image in the data display area, the various data generation prompt images and the second logo image are switched in the data display area to form an animation effect, prompting 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 the respective data generation prompt images and the second symbol image in the data display area.
[0117] It can be seen that through this embodiment, the currently displayed data generation prompt image can be erased in the data display area, and the second mark image can be displayed in the erased area until the currently displayed data generation prompt image is completely erased; and the second mark 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 mark image is completely erased. By repeatedly erasing the currently displayed data generation prompt image and repeatedly erasing the second mark image in the data display area, an animation effect of switching between displaying various data generation prompt images and second mark images in the data display area is formed, prompting the user that the target data is being generated, thereby 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] Performing fluid erasing on the currently displayed data generation prompt image through an erasing element having a first style;
[0120] The 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, flowing erasing is performed on the currently displayed data generation prompt image through an erasing element having a first style, wherein the erasing element can be a pattern for erasing, and the erasing element has a first style. The flowing erasing refers to erasing along the image form of the data generation prompt image, such as a curve form, and 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 marker image within a window of a specific shape in a data display area, flowing erasing may refer to erasing the currently displayed data generation prompt image in accordance with the shape of the window of the specific shape. Therefore, in this embodiment, flowing erasing refers to erasing along the image shape of the data generation prompt image, or erasing in accordance with the shape of the window of the specific shape.
[0123] It can be seen that through this embodiment, the erasing element with the first style is used to perform flowing erasing on the currently displayed data generation prompt image, and the second logo image is displayed in the erased area on the currently displayed data generation prompt image. The advantage of the good visual effect of the flowing erasing is utilized to improve the user's viewing experience, thereby improving the user's data generation experience.
[0124] In one embodiment, the first style of the erased element is determined in the following manner:
[0125] Acquire 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;
[0126] Based on the first image element, the second image element and the third image element, a first pattern is obtained by superposition.
[0127] In this embodiment, a first image element is obtained. The first image element may be an image element formed by superimposing a mosaic and a dynamically changing digital code. The digital code may be 0 or 1, or other numbers. For example, the digital code includes 0 and 1. A dynamically changing digital code refers to a code that changes over time, and the digital code at the same position also changes. For example, a 0 at the same position may change to a 1 over time, and vice versa. A mosaic includes mosaics of any color.
[0128] The second image element is an image element of the second logo image, including but not limited to the color of the second logo 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 erase element may change position during the erasing process, for example, changing 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 logo 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.
[0129] In this embodiment, the first pattern is obtained by superimposing the first, second, and third image elements. If the second image element includes the color of the second sign image displayed at the location of the erasing element, and the third image element includes the color of the data generation prompt image displayed at the location of the erasing element, then as the position of the erasing element changes, the second and third image elements will also change, and therefore the first pattern may also change.
[0130] It can be seen that through this embodiment, 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 can be obtained, and based on the first image element, the second image element and the third image element, the first style is superimposed to obtain the first style, 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, thereby improving the user 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] Performing fluid erasing on the second logo image by using a daub element having a second style;
[0133] The next data generation prompt image is displayed in the erased area on the second logo image.
[0134] In this embodiment, you can refer to Figure 5d and Figure 5e For example, when erasing the second logo image to display the next data generation prompt image, flowing erasing is performed on the second logo image by a smear element having a second style, wherein the erasing element can be a pattern for erasing, and the erasing element has a second style. The flowing erasing refers to erasing along the image form of the second logo image, such as a curve form, 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 marker image within a window of a specific shape in a data display area, flowing erasing can refer to erasing on the second marker image in accordance with the shape of the window of the specific shape. Therefore, in this embodiment, flowing erasing refers to erasing along the image form of the second marker image, or in accordance with the shape of the window of the specific shape.
[0136] It can be seen that through this embodiment, by performing flowing erasing on the first logo image, the erased data is displayed in the erased area on the first logo image to generate a prompt image, and the advantage of the good visual effect of flowing erasing is utilized to improve the user's viewing experience, thereby improving the user's data generation experience.
[0137] In one embodiment, the second style of the erased element is determined in the following manner:
[0138] Acquire the first image element, the second image element of the second marker image, and the fourth image element of the next data generation prompt image;
[0139] The first image element, the second image element, and the fourth image element are superimposed to obtain a second pattern.
[0140] In this embodiment, a first image element is obtained. The first image element may be an image element formed by superimposing a mosaic and a dynamically changing digital code. The digital code may be 0 or 1, or other numbers. For example, the digital code includes 0 and 1. A dynamically changing digital code refers to a code that changes over time, and the digital code at the same position also changes. For example, a 0 at the same position may change to a 1 over time, and vice versa. A mosaic includes mosaics of any color.
[0141] The second image element is an image element of the second logo image, including but not limited to the color of the second logo image. The fourth image element is an image element of the next data generation prompt image to be displayed, including but not limited to the color of the next data generation prompt image to be displayed. In this embodiment, considering that the position of the erasing element may change during the erasing process, for example, from the starting position of the second logo image to the ending position of the second logo image, the second image element may include the color of the second logo image displayed at the location of the erasing element, and the fourth image element may include the color of the data generation prompt image displayed at the location of the erasing element.
[0142] In this embodiment, the first, second, and fourth image elements are superimposed to obtain the second pattern. If the second image element includes the color of the second logo image displayed at the location of the erasing element, and the fourth image element includes the color of the data generation prompt image displayed at the location of the erasing element, then as the position of the erasing element changes, the second and fourth image elements will also change, and therefore the second pattern may also change.
[0143] It can be seen that through this embodiment, 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 can be obtained, and based on the first image element, the second image element and the fourth image element, the second style is superimposed to obtain the second style, 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, thereby improving the user's experience of viewing the erasure element of the second style.
[0144] In this embodiment, in the above-mentioned step S108, after determining that the target data has been generated, the terminal device no longer displays the data generation prompt image, and displays the target data in the data display area. In one example, the terminal device has a data generation interface, which has a data display area and an element input area. The user can enter element information in the element input area. The terminal device generates a data generation request based on the element information and executes the operation of generating the target data according to the data generation request. When the target data has not been generated, the 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 the present disclosure can also be replaced by a smearing effect. The pictures in the various figures in this embodiment are for schematic illustration only and do not represent a limitation of the embodiments of the present disclosure. The character images therein can be generated by a generative model. The data generation method in this embodiment can also be used in status prompt scenarios. For example, by repeatedly erasing part or all of the data to generate a prompt image, the data generation status is prompted, and the data generation status at least includes data generation success and data generation failure.
[0146] In summary, 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 to generate a prompt image, and the user is prompted by the animation that the target data is being generated, thereby avoiding the user from giving up data generation due to mistakenly thinking that the data generation is wrong because the display interface has not changed for a long time, thereby improving the user's data generation experience.
[0147] Figure 6This is a structural diagram of a data generation device provided in one embodiment of the present disclosure, as shown in FIG. Figure 6 As shown, the device includes:
[0148] A request acquisition unit 61 is used to acquire a user's data generation request;
[0149] The first display unit 62 is configured to generate corresponding target data according to the data generation request, and to display a data generation prompt image in the data display area;
[0150] A generating prompting unit 63 is configured to, during the generation process of the target data, generate a prompting image by repeatedly erasing part or all of the data to prompt that the target data is being generated;
[0151] The second display unit 64 is configured to cancel 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 element information; the image generation request is used to request generation of a target image matching the image element information through a first generative model; the first display unit 62 is specifically used to: execute an operation of generating a target image matching the image element information through the first generative model.
[0153] Optionally, the first display unit 62 is further specifically used to: obtain at least one example image matching the image element information from each stored first image; use the example image as the data to generate a prompt image, 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 a target text that matches the text element information through a second generative model; the first display unit 62 is specifically used to: execute the operation of generating a target text that matches the text element information through the second generative model.
[0155] Optionally, the first display unit 62 is further specifically used to: obtain a second image; the second image is an image with a specific form composed of dynamically changing digital codes; use the second image as the data to generate a prompt image, and display the second image in the data display area.
[0156] Optionally, the number of the data generation prompt images is one; the generation prompt unit 63 is specifically used to: erase the data generation prompt image, display a first mark image in the erased area until part or all of the data generation prompt image is erased; erase the first mark image, display the erased data generation prompt image in the erased area until the first mark image is erased; and prompt that the target data is being generated by repeatedly erasing part or all of the data generation prompt image and repeatedly erasing the first mark image.
[0157] Optionally, the prompt generation unit 63 is further specifically configured to: perform flowing erasing on the data-generated prompt image based on the image form of 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 generating unit 63 is further specifically configured to: perform flowing erasing on the first logo image based on the image form of the first logo image; and display the erased data in the erased area on the first logo image to generate a prompt image.
[0159] Optionally, there are multiple data generation prompt images; the generation prompt unit 63 is specifically used to: switch the display of each data generation prompt image 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 the display of each data generation prompt image in the data display area.
[0160] Optionally, the generation prompt unit 63 is further specifically used to: erase the currently displayed data generation prompt image in the data display area, and display a second logo image in the erased area until the currently displayed data generation prompt image is completely erased; erase the second logo image in the data display area, and display the next data generation prompt image in the erased area until the second logo image is completely erased; and switch between displaying each data generation prompt image and the second logo image in the data display area by repeatedly erasing the currently displayed data generation prompt image and repeatedly erasing the second logo image in the data display area.
[0161] Optionally, the generation prompt unit 63 is further specifically used to: perform flowing erasing on the currently displayed data generation prompt image through an erasing element with a first style; and display a second logo image in the erased area on the currently displayed data generation prompt image.
[0162] Optionally, a first determination unit is also included, which is used 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 to generate a prompt image; and superimpose the first image element, the second image element and the third image element to obtain the first style.
[0163] Optionally, the prompt generation unit 63 is further specifically configured to: perform flowing erasing on the second logo image using a smear element having a second style; and display the next data generation prompt image in the erased area on the second logo image.
[0164] Optionally, a second determination unit is also included, which is used to: 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; and superimpose the first image element, the second image element and the fourth image element to obtain the second style.
[0165] The data generation device in the embodiment of the present disclosure can implement each process of the above-mentioned data generation method embodiment and achieve the same effects and functions, which will not be repeated here.
[0166] An embodiment of the present disclosure further provides an electronic device, Figure 7 A schematic diagram of the structure of an electronic device provided in one embodiment of the present disclosure is shown in FIG. Figure 7 As shown, electronic devices may have relatively large differences due to different configurations or performances, and may include one or more processors 701 and memory 702, and the memory 702 may store one or more applications or data. Among them, the memory 702 may be a temporary storage or a persistent storage. The application stored in the memory 702 may include one or more modules (not shown in the figure), each module may include a series of computer-executable instructions in the electronic device. Furthermore, the processor 701 may be configured to communicate with the memory 702 to execute a series of computer-executable instructions 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 a specific embodiment, the electronic device includes a processor; and a memory configured to store computer-executable instructions, wherein when the computer-executable instructions are executed, the processor implements the following process:
[0168] Get the user's data to generate a request;
[0169] Executing an operation of generating corresponding target data according to the data generation request, and displaying a data generation prompt image in a data display area;
[0170] During the generation process 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 the embodiment of the present disclosure can implement each process of the above-mentioned data generation method embodiment and achieve the same effects and functions, which will not be repeated here.
[0173] Another embodiment of the present disclosure further provides a computer-readable storage medium for storing computer-executable instructions. When the computer-executable instructions are executed by a processor, the following process is implemented:
[0174] Get the user's data to generate a request;
[0175] Executing an operation of generating corresponding target data according to the data generation request, and displaying a data generation prompt image in a data display area;
[0176] During the generation process 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 the embodiment of the present disclosure can implement each process of the above-mentioned data generation method embodiment and achieve the same effects and functions, which will not be repeated here.
[0179] Another embodiment of the present disclosure further provides a computer program product, the computer program product including a computer program, which implements the following process when executed by a processor:
[0180] Get the user's data to generate a request;
[0181] Executing an operation of generating corresponding target data according to the data generation request, and displaying a data generation prompt image in a data display area;
[0182] During the generation process 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 the embodiment of the present disclosure can implement each process of the above-mentioned data generation method embodiment and achieve the same effects and functions, which will not be repeated here.
[0185] In various embodiments of the present disclosure, the computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0186] In the 1990s, technological improvements could be clearly distinguished as either hardware improvements (for example, improvements to circuit structures such as diodes, transistors, and switches) or software improvements (improvements to process flows). However, with the advancement of technology, many process flow improvements today can now be considered direct improvements to hardware circuit structures. Designers almost always create the corresponding hardware circuit structure by programming the improved process flow into the hardware circuit. Therefore, it cannot be said that a process flow improvement cannot be implemented using hardware modules. For example, a programmable logic device (PLD), such as a field programmable gate array (FPGA), is an integrated circuit whose logical function is determined by user programming. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to hire a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly done using "logic compiler" software. This is similar to the software compiler used when developing programs. Before compilation, the original code must also be written in a specific programming language, called a hardware description language (HDL). There is not just one HDL, but many, 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, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art will also understand that by simply programming the method flow in one of these hardware description languages and then programming it into an integrated circuit, a hardware circuit that implements the logic method flow can be easily obtained.
[0187] The controller can be implemented in any suitable manner. For example, the controller 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 Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also know that in addition to implementing the controller in a purely computer-readable program code format, the controller can be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software modules that implement the method and structures within the hardware component.
[0188] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0189] For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing the embodiments of the present disclosure, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0190] Those skilled in the art will appreciate that one or more embodiments of the present disclosure may be provided as a method, system, or computer program product. Therefore, one or more embodiments of the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, one or more embodiments of the present disclosure may 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] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[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 can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0194] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0195] One or more embodiments of the present disclosure may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. One or more embodiments of the present disclosure may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0196] The various embodiments of this disclosure are described in a progressive manner. Similar portions between the various embodiments can be referenced to each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so their description is relatively simple. For relevant portions, refer to the description of the method embodiments.
[0197] The foregoing is merely an embodiment of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure are intended to be included within the scope of the claims of the present disclosure.
Claims
1. A data generation method, characterized in that: include: Get the user's data to generate a request; Execute an operation of generating corresponding target data according to the data generation request, and display a data generation prompt image in a data display area; During the process of generating 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; If the target data is generated, the data generation prompt image is canceled and the target data is displayed in the data display area.
2. The method according to claim 1, characterized in that: The data generation request includes an image generation request; the image generation request carries image element information; the image generation request is used to request to generate a target image matching the image element information through a first generative model; The operation of generating corresponding target data according to the data generation request includes: An operation of generating a target image matching the image element information through the first generative model is performed.
3. The method according to claim 2, characterized in that The displaying of the data generation prompt image in the data display area comprises: Acquire at least one example image matching the image element information from each stored first image; The sample image is used as the data generation prompt image, and the sample image is displayed in a data display area.
4. The method according to claim 1, characterized in that: 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 to generate a target text matching the text element information through a second generative model; The operation of generating corresponding target data according to the data generation request includes: An operation of generating a target text matching the text element information through the second generative model is performed.
5. The method according to claim 4, characterized in that The displaying of the data generation prompt image in the data display area comprises: Acquire a second image; the second image is an image with a specific shape composed of dynamically changing digital codes; The second image is used as the data to generate a presentation image, and the second image is displayed in the data display area.
6. The method according to claim 1, characterized in that The number of the data generation prompt images is one; the method of repeatedly erasing part or all of the data generation prompt images to prompt that the target data is being generated includes: Erasing the data generation prompt image, and displaying a first mark image in the erased area until part or all of the data generation prompt image is completely erased; Erasing the first mark image, and displaying the erased data generation prompt image in the erased area until the first mark image is completely erased; By repeatedly erasing part or all of the data generation prompt image and repeatedly erasing the first mark image, it is prompted that the target data is being generated.
7. The method according to claim 6, characterized in that The step of erasing the data to generate a prompt image and displaying a first mark image in the erased area includes: Based on the image form of the data-generated prompt image, performing flowing erasing on the data-generated prompt image; A first marker image is displayed in the erased area on the data generation prompting image.
8. The method according to claim 6, characterized in that The step of erasing the first mark image and displaying the erased data in the erased area to generate a prompt image includes: Based on the image form of the first mark image, performing flowing erasing on the first mark image; The erased data generation prompt image is displayed in the erased area on the first logo image.
9. The method according to claim 1, characterized in that: The number of the data generation prompt images is multiple; the method of repeatedly erasing part or all of the data generation prompt images to prompt that the target data is being generated includes: Switching and displaying each of the data generation prompt images in the data display area by erasing the currently displayed data generation prompt image; By switching and displaying each of the data generation prompt images in the data display area, it is prompted that the target data is being generated.
10. The method according to claim 9, characterized in that The method of erasing the currently displayed data generation prompt image to switch and display each of the data generation prompt images in the data display area includes: In the data display area, erasing the data generation prompt image currently displayed, and displaying a second logo image in the erased area until the data generation prompt image currently displayed is completely erased; In the data display area, erasing the second mark image, and displaying the next data generation prompt image in the erased area until the second mark image is completely erased; By repeatedly erasing the data generation prompt image currently displayed in the data display area and repeatedly erasing the second logo image, the data generation prompt image and the second logo image are switched and displayed in the data display area.
11. The method according to claim 10, characterized in that Erasing the currently displayed data to generate a prompt image, and displaying a second mark image in the erased area, comprises: Performing flowing erasing on the currently displayed data generation prompt image by using an erasing element having a first style; The second marker image is displayed in the erased area on the currently displayed data generation prompt image.
12. The method according to claim 11, characterized in that Also includes: Acquire a first image element, a second image element of the second logo image, and a third image element of the currently displayed data generation prompt image; The first pattern is obtained by superimposing the first image element, the second image element and the third image element.
13. The method according to claim 10, characterized in that The step of erasing the second mark image and displaying the next data generation prompt image in the erased area includes: Performing fluid erasing on the second mark image by using a daub element having a second style; The next data generation prompt image is displayed in the erased area on the second logo image.
14. The method according to claim 13, characterized in that Also includes: Acquire the first image element, the second image element of the second mark image, and the fourth image element of the next data generation prompt image; The second pattern is obtained by superimposing the first image element, the second image element and the fourth image element.
15. A data generating device, characterized in that: include: A request acquisition unit, used to acquire data from a user to generate a request; A first display unit, configured to execute an operation of generating corresponding target data according to the data generation request, and to display a data generation prompt image in a data display area; A generating prompting unit, used for prompting that the target data is being generated by repeatedly erasing a part or all of the data to generate a prompting image during the generation process of the target data; The second display unit is configured to cancel display of the data generation prompt image and display the target data in the data display area if the target data generation is completed.
16. 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 implement the steps of the method according to any one of claims 1 to 14.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store computer-executable instructions, and the computer-executable instructions, when executed by a processor, implement the steps of the method described in any one of claims 1 to 14.
18. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.
Citation Information
Patent Citations
Application progress processing method and terminal
CN106681706A
Template-based mask automatic erasing method
CN107844240A
Method and device for displaying prompt information
CN112035767A
Video display and processing method, device and system, equipment and medium
CN112579826A
Video processing method and device, electronic equipment and computer readable storage medium
CN112764845A
