Content publishing method and related device

WO2026201197A1PCT designated stage Publication Date: 2026-10-01SHUXING TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/086783
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-03-28
Filing Date
2026-03-27
Publication Date
2026-10-01

Smart Images

  • Figure CN2026086783_01102026_PF_FP_ABST
    Figure CN2026086783_01102026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a content publishing method and a related device. The method comprises: displaying input data, the input data containing text; in response to a conversion operation on the input data, displaying a plurality of images to be published, wherein the images to be published are generated on the basis of at least part of text content in the input data, and / or the images to be published comprise at least part of the text content in the input data, and content corresponding to at least some of the images to be published is different; and determining target publishing content comprising the plurality of images to be published, to publish the target publishing content. By means of the embodiments of the present application, forms of content publishing can be enriched.
Need to check novelty before this filing date? Find Prior Art

Description

A content publishing method and related equipment

[0001] This application claims priority to Chinese Patent Application No. 2025103853767, filed on March 28, 2025, entitled "A Content Publishing Method and Related Equipment", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of Internet technology, specifically to a content publishing method and related equipment. Background Technology

[0003] With the development of internet technology, many applications support user content publishing. Currently, users publish content by entering the text they want to publish on the corresponding page and then clicking publish. However, this current content publishing only supports text publishing and cannot support the publishing needs of multimodal content, making the publishing format too simplistic. Summary of the Invention

[0004] This application provides a content publishing method and related equipment that can support the publishing needs of multimodal content and enrich the forms of content publishing.

[0005] On one hand, embodiments of this application provide a content publishing method, the method comprising:

[0006] Display the input data, which includes text;

[0007] In response to a transformation operation on the input data, multiple images to be published are displayed, the images to be published are generated based on at least a portion of the text content in the input data, and / or the images to be published include at least a portion of the text content in the input data, and the content corresponding to at least a portion of the images to be published is different;

[0008] Determine the target content to be published, which includes multiple images to be published, and then publish the target content.

[0009] On the other hand, this application provides a content publishing method, which includes:

[0010] Obtain input data, which includes second data associated with the first data, and either the first or second data contains text;

[0011] In response to a transformation operation on the input data, a first image to be published and a second image to be published are displayed, wherein the first image to be published is generated based on the first data and the second image to be published is generated based on the second data.

[0012] Determine the target content to be published, including the first image to be published and the second image to be published, and publish the target content.

[0013] Furthermore, embodiments of this application provide a content publishing apparatus, which includes:

[0014] The display unit is used to display input data, which includes text.

[0015] The display unit is also configured to display multiple images to be published in response to a transformation operation on the input data, wherein the images to be published are generated based on at least a portion of the text content in the input data, and / or the images to be published include at least a portion of the text content in the input data, and the content corresponding to at least a portion of the images to be published is different;

[0016] The processing unit is used to determine the target publishing content, which includes multiple images to be published, and to publish the target publishing content.

[0017] In one implementation, the input data includes an input title and / or input body text, and the multiple images to be published include a first image to be published and at least one second image to be published. The first image to be published corresponds to the main title of the input data, and the at least one second image to be published corresponds to at least one body text segment of the input body text. The at least one body text segment is obtained by dividing the input body text.

[0018] In one implementation, the first image to be published includes at least one of the following: a main title, decorative elements, and a first sub-image; the main title is an input title included in the input data, or the main title is generated based on the input data; the decorative elements are generated based on the input data; the first sub-image is generated based on the input data, and / or the first sub-image comes from the input image in the input data.

[0019] In one implementation, each second image to be published includes at least one of the following: a corresponding text segment, a segment title, a target statement, decorative elements, and a second sub-image; the segment title and the target statement are obtained by identifying the text segment; the second sub-image is generated based on the text segment, and / or the second sub-image comes from the input image in the text segment; the segment title or the target statement is highlighted in the second image to be published.

[0020] In one implementation, the display order of the first image to be published takes precedence over the second image to be published; the display order of each second image to be published is determined based on the position of the corresponding text segment in the input data.

[0021] In one implementation, the content of the image to be published is laid out based on a target display style, which includes a first display template and at least one second display template. The content of the first image to be published is laid out based on the first display template, and the content of the second image to be published is laid out based on the second display template.

[0022] In one implementation, the target display style is determined from multiple candidate display styles based on the degree of matching with the input data or based on the user's selection operation. The candidate display styles include preset display styles and / or self-built display styles. Self-built display styles include display styles newly created through the publishing account and / or display styles obtained by modifying the target display style through the publishing account.

[0023] In one implementation, before determining the target content to be published, which includes multiple images to be published, the processing unit is further configured to: update the content in the target image to be published in response to an editing operation on the target image to be published among the multiple images to be published;

[0024] Updating the content of the target image to be published includes at least one of the following: adjusting the display position, display style, or display parameters of the content in the target image to be published; modifying the content of the target image to be published; and / or

[0025] After updating the content of the target image to be published, store the display style corresponding to the updated target image to be published.

[0026] In one implementation, the target publication content further includes the target publication body and / or the target publication title; the target publication body is a recommended summary generated based on the input data; and / or obtained through the publication body entered by the publishing account; the target publication title is based on the main title of the input data, and / or obtained through the publication title entered by the publishing account.

[0027] In one implementation, when determining the target publishing content, which includes multiple images to be published, the processing unit is further specifically used for:

[0028] Delete recommended summary; update recommended summary; switch recommended summary; add recommended summary.

[0029] In one implementation, when the display unit displays multiple images to be published in response to a transformation operation on the input data, it can be specifically used for:

[0030] In response to transformation operations on the input data, obtain the content length and / or content intent of the input data;

[0031] Based on content length and / or content intent, display a first image to be published and at least one second image to be published, or display a third image to be published, which corresponds to the input data.

[0032] Furthermore, embodiments of this application provide a content publishing apparatus, which includes:

[0033] The processing unit is used to acquire input data, which includes second data associated with the first data, and the first data or the second data contains text.

[0034] The display unit is configured to display a first image to be published and a second image to be published in response to a conversion operation on the input data. The first image to be published is generated based on the first data, and the second image to be published is generated based on the second data.

[0035] The processing unit is also configured to determine target publishing content, including a first image to be published and a second image to be published, in order to publish the target publishing content.

[0036] In one implementation, the input data includes a title and / or body text related to the title;

[0037] Alternatively, the input data may include a question and an answer to the question; or the input data may include a message and other messages that reference the message.

[0038] Accordingly, embodiments of this application provide a computer device, which includes:

[0039] A processor is used to execute computer programs;

[0040] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the content publishing method described above.

[0041] Accordingly, embodiments of this application provide a computer-readable storage medium storing a computer program that is loaded by a processor and executed as described above regarding the content publishing method.

[0042] Accordingly, this application provides a computer program product, which includes a computer program or computer instructions, and the computer program or computer instructions implement the above-described content publishing method when executed by a processor.

[0043] In this embodiment, input data is displayed, which includes text. In response to a transformation operation on the input data, multiple images to be published are displayed. These images are generated based on at least a portion of the text content in the input data, and / or the images to be published include at least a portion of the text content in the input data, with at least a portion of the content corresponding to the images to be published being different. A target publishing content comprising the multiple images to be published is determined, and the target publishing content is published. Therefore, this embodiment can support the publication of multiple images during the content publishing process. The images to be published are generated based on the input data, or the images to be published include at least a portion of the content in the input data, enriching the forms of content publishing. Furthermore, since the input data includes text, the text can be converted into images to be published, meeting the publishing needs of multimodal or cross-modal content. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of this application 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 of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 is an architecture diagram of a content publishing system provided in an embodiment of this application;

[0046] Figure 2 is a flowchart illustrating a content publishing method provided in an embodiment of this application;

[0047] Figure 3 is a schematic diagram of displaying input data according to an embodiment of this application;

[0048] Figure 4 is a schematic diagram of displaying input data according to an embodiment of this application;

[0049] Figure 5 is a schematic diagram of inputting facial expressions in input data according to an embodiment of this application;

[0050] Figure 6a is a schematic diagram of inserting an image into input data according to an embodiment of this application;

[0051] Figure 6b is a schematic diagram of inserting an image into input data according to another embodiment of this application;

[0052] Figure 7 is a schematic diagram of entering a data input interface provided in an embodiment of this application;

[0053] Figure 8 is a schematic diagram of a return option trigger provided in an embodiment of this application;

[0054] Figure 9a is a schematic diagram of displaying multiple images to be published according to an embodiment of this application;

[0055] Figure 9b is a schematic diagram of a first image to be published provided in an embodiment of this application;

[0056] Figure 9c is a schematic diagram of a first image to be published provided in an embodiment of this application;

[0057] Figure 10 is a schematic diagram of a second image to be published provided in an embodiment of this application;

[0058] Figure 11 is a schematic diagram of displaying multiple images to be published that match the target display style, according to an embodiment of this application;

[0059] Figure 12a is a schematic diagram of a display style switching provided in an embodiment of this application;

[0060] Figure 12b is a schematic diagram of another display style switching provided in an embodiment of this application;

[0061] Figure 12c is a schematic diagram of multiple candidate display styles provided in an embodiment of this application;

[0062] Figure 13 is a schematic diagram of a self-built display style provided in an embodiment of this application;

[0063] Figure 14 is a schematic diagram of a candidate display style provided in an embodiment of this application;

[0064] Figure 15a is a schematic diagram of an image editing process to be published, provided in an embodiment of this application.

[0065] Figure 15b is a schematic diagram of an image editing process to be published, provided in an embodiment of this application.

[0066] Figure 16 is a schematic diagram of a conversion option display provided in an embodiment of this application;

[0067] Figure 17 is a schematic diagram of determining the target publication text according to an embodiment of this application;

[0068] Figure 18 is a schematic diagram of a target published content insertion illustration provided in an embodiment of this application;

[0069] Figure 19 is a schematic diagram illustrating a release cancellation option provided in an embodiment of this application;

[0070] Figure 20 is a schematic diagram of an editing option provided in an embodiment of this application;

[0071] Figure 21 is a flowchart illustrating a content publishing method provided in this application;

[0072] Figure 22a is a schematic diagram of displaying a first image to be published and a second image to be published according to an embodiment of this application;

[0073] Figure 22b is a schematic diagram of another display of the first image to be published and the second image to be published provided in an embodiment of this application;

[0074] Figure 22c is a schematic diagram of another display of the first image to be published and the second image to be published provided in the application embodiment;

[0075] Figure 23a is a schematic diagram of a details page displaying the target published content provided in this application;

[0076] Figure 23b is a schematic diagram of a details page displaying the target published content provided in this application;

[0077] Figure 24 is a flowchart illustrating a content publishing method provided in an embodiment of this application;

[0078] Figure 25 is a structural schematic diagram of a content publishing device provided in an embodiment of this application;

[0079] Figure 26 is a schematic diagram of another content publishing device provided in an embodiment of this application;

[0080] Figure 27 is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0081] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0082] This application provides a content publishing scheme that supports generating multiple images to be published based on input data (such as text, images, emoticons, etc.) entered by the content publisher. The generated images to be published include a portion of the text content from the input data, or the images to be published are generated based on at least a portion of the text content from the input data, and the content included in at least a portion of the images to be published is different. Specifically, this content publishing scheme allows the content publisher to input data such as text, emoticons, and images, and displays the input data. In response to a conversion operation on the input data, multiple images to be published are displayed (e.g., the images to be published can be a cover image, body image, etc., obtained based on the input data), and a target publishing content containing multiple images to be published is determined. The content publisher can directly publish the target publishing content or save the target publishing content for later publication. Therefore, this application can generate multiple images to be published based on the user's input data when the user publishes content, thus avoiding the problem that the content publisher can only input and publish a single piece of text, enriching the forms of content publishing. Furthermore, existing content publishing methods cannot support the publishing requirements of multimodal content with long text. The content publishing solution provided in this application can convert long text in the input data (i.e., text with a length greater than a preset length) into multiple images to be published, thus supporting the publishing requirements of multimodal content or cross-modal content with long text.

[0083] Based on the above content publishing scheme, please refer to Figure 1, which is an architecture diagram of a content publishing system provided in an embodiment of this application. In Figure 1, the content publishing system includes terminal 101, terminal 102, and more terminals; this application does not limit the number of terminals. The content publishing system also includes server 103; of course, the number of servers can also be multiple, and this application still does not limit this. Terminal 101 can be understood as the terminal used by the content publisher, and terminal 102 can be understood as the terminal used by the content viewer. A content publisher refers to a user who publishes content; a content viewer refers to a user who can view, like, comment on, etc., the content published by the content publisher. It should be understood that in this embodiment of the application, a content publisher can also be a content viewer, and similarly, a content viewer can also be a content publisher. Both terminal 101 and terminal 102 run applications that support content publishing. A content publisher can be a user who publishes content on that application, and a content viewer is a user who views the content published by the content publisher on that application. The application here can be a content sharing application, a social application, etc., and this embodiment of the application does not limit this in any way.

[0084] Terminals 101 and 102 can be smartphones, tablets, laptops, desktop computers, smart vehicles, smart wearable devices, etc.; server 103 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. Any terminal in the content publishing system can be directly or indirectly connected to server 103 via wired or wireless communication, and any two terminals can interact with each other through server 103.

[0085] The following diagram, Figure 1, illustrates the interaction process between the terminal and the server, and shows a schematic diagram of the content publishing process. The content publishing process between the terminal and the server includes:

[0086] (1) When a content publisher wants to publish content (such as notes), they can input data through terminal 101. Terminal 101 can display the input data entered by the content publisher. The input methods can include, but are not limited to: direct editing, copying and pasting data, selecting and importing data from a conversation, voice input, etc. In addition, the input data includes text, and further, the input data can also include at least one of the following: emoticons, images, links, videos, etc.

[0087] (2) The content publisher can transform the input data. Accordingly, the terminal 101 can send a transformation request to the server 103 in response to the transformation operation of the input data. The transformation request includes the input data and is used to request the generation of multiple images to be published based on the input data.

[0088] (3) After receiving the conversion request, server 103 generates multiple images to be published based on the input data and returns the multiple images to be published to terminal 101. In one implementation, the images to be published include at least a portion of the text content of the input data, wherein the content or corresponding content of at least a portion of the multiple images to be published is different. For example, the input data includes an input title and input body text, and the converted multiple images to be published include a cover image and a body text image. The cover image is obtained based on the input title, and the body text image can be obtained based on the input body text.

[0089] (4) Terminal 101 receives multiple images to be published returned by server 103 and determines the target content to be published that includes the multiple images to be published.

[0090] (5) In response to the publishing operation of the target content, terminal 101 publishes the target content through server 103. After successful publication, the target content will be displayed or distributed in the application that published the target content. In one implementation, the multiple images to be published include a first image to be published (i.e., cover image) and at least one second image to be published (i.e., body image). When the target content is displayed through the recommendation interface, the content card corresponding to the target content can display the first image to be published. The recommendation interface can display multiple published contents, and the content card corresponding to each published content will display one published image from the corresponding published content, usually the first published image. In addition, the content publisher or content viewer can view the details of the target published content through the corresponding terminal.

[0091] (6) When a content viewer enters the application that publishes the target content through terminal 102, terminal 102 can send a data acquisition request to server 103. The data acquisition request is used to request published content (such as the target content mentioned above) published by content publishers recommended by the content viewer or followed by the content viewer in the application.

[0092] (7) Server 103 returns the published content by the content publisher to terminal 102 based on the data acquisition request.

[0093] (8) Terminal 102 displays published content from the content publisher to the content viewer. The viewer can then select a specific piece of published content to browse. For example, if the viewer selects a target published content from the content publisher via terminal 101, terminal 102 responds to the browsing operation of the target published content by displaying the content details page. The content details page displays the target published image from at least two published images. In response to a switching operation on the target published image, the content details page displays other published images besides the target published image from the at least two published images. Furthermore, the viewer can also like, comment on, etc., the target published content.

[0094] As can be seen, for content publishers, they can input data and generate multiple images to be published based on that data, display these images on the terminal, and determine the target content containing these images. This achieves a convenient image generation process based on input data. Specifically, the input data includes text, enabling text-to-image generation, enriching the forms of content publishing, and improving the experience for content publishers. Furthermore, the input data in this embodiment can include long text (long text refers to text with a length greater than a preset length), enabling the generation of multiple images to be published based on the long text. These multiple images include a cover image and a body image, allowing the multiple images in the target content to form a magazine-like presentation, improving the experience for content publishers and better fostering a complete ecosystem for long-form authors. For content viewers, they can browse target content containing multiple images, not just text, enriching the diversity of content browsing and improving the viewer experience.

[0095] Based on the above content publishing system, please refer to Figure 2, which is a flowchart illustrating a content publishing method provided in an embodiment of this application. In this embodiment, the content publishing method can be executed by a computer device, more specifically, by an application supporting content distribution within the computer device; the computer device can be terminal 101 or terminal 102 in the system shown in Figure 1. Referring to Figure 2, the content publishing method may include the following steps S201-S203:

[0096] S201. Display the input data, which includes text.

[0097] The text can include long text or short text. In one implementation, long text refers to text with a length greater than a preset length, and short text refers to text with a length less than or equal to the preset length. Input data can include input body text and / or input title. In this embodiment, the input body text can include at least one of the following: text, emoticons, input images, links, etc.; the input title can include text.

[0098] The methods for displaying input data include, but are not limited to, the following:

[0099] (1) A data input interface is provided, in which data can be entered. In response to the data input operation on the data input interface, the input data entered in the data input operation is displayed on the data input interface. The data input operation may include, but is not limited to: directly pulling up the keyboard to edit the input data on the data input interface, pasting data on the data input interface, directly importing data on the data input interface, and voice input. It is evident that the embodiments of this application provide diverse data input methods, which can better realize the convenient migration of data, thereby increasing the quantity and proportion of published content and making content publishing more efficient.

[0100] In one implementation, the keyboard is directly pulled up in the data input interface to edit and input data. Please refer to Figure 3, which is a schematic diagram of displaying input data according to an embodiment of this application. In Figure 3, a data input interface 301 is displayed. When data needs to be input, the keyboard can be directly pulled up in the data input area 31 of the data input interface 301 (e.g., clicking the data input area 31 changes the keyboard from a hidden state to a pulled-up state). Data is then entered in the data input area 31 using the keyboard. In response to the data input operation in the data input interface, the input data is displayed in the data input area 31. The keyboard includes a collapse option; when this collapse option is triggered, the keyboard changes from a pulled-up state to a hidden state.

[0101] When the keyboard is hidden, data input prompts are displayed in the data input area 31 of the data input interface 301. These prompts include a title input area and / or a body text input area. The title input area includes title input prompts, and the body text input area includes body text input prompts. In response to a title input operation in the title input area, the title input prompts are replaced with the input title, and in response to a body text input operation in the body text input area, the body text input prompts are replaced with the input body text.

[0102] Optionally, the font and color of the title input prompt can be set as needed, such as setting the font size to 18 and the color to gray; similarly, the font and color of the body text input prompt can be set as needed, such as setting the font size to 18 and the color to gray. Optionally, when inputting data via the keyboard, the keyboard is positioned at a preset distance from the bottom (e.g., 50pt), and after each paragraph of body text is entered, the previously entered paragraph will automatically move upwards.

[0103] In another implementation, this application embodiment utilizes data import capabilities, including but not limited to: image import capabilities, document import capabilities, link import capabilities, etc. Based on the provided data import capabilities, data can be directly imported as input data in the data input interface. Please refer to Figure 4, which is a schematic diagram of displaying input data provided by an embodiment of this application. Specifically, in Figure 4, a data input interface 301 is displayed, including an import control 41. In response to a trigger operation on the import control 41, data is directly imported into the data input interface 301 and displayed; the imported data is the input data.

[0104] In another implementation, voice input can be performed directly on the data input interface, and the input voice can be converted into text. In response to the voice input operation on the data input interface, the voice input data can be displayed on the data input interface, and the voice input data is used as input data.

[0105] In this embodiment, the input text includes input images and / or emoticons. (1) Adding emoticons via an emoticon input option. The emoticon input option can be displayed on the data input interface, or it can be displayed in the first function area of ​​the keyboard. As shown in FIG5, the emoticon input option 511 can be displayed in the first function area 51 of the keyboard. In response to the triggering operation of the emoticon input option 511, at least one emoticon is displayed (including recently used emoticons and Little Red Potato emoticons in FIG5); in response to the selection operation of at least one emoticon, the selected emoticon is displayed in the data input area 52 of the data input interface, and the input data includes the selected emoticon. In one implementation, the emoticon input option 511 can be displayed in the first function area 51 of the keyboard. When the emoticon input option is triggered, the emoticon input option 511 is replaced by a keyboard icon 512 in the first function area.

[0106] (2) The data input interface includes an image input option, which can be displayed on the data input interface or displayed in the second function area of ​​the keyboard, wherein the first function area and the second function area are two different function areas on the keyboard. The image input option may include a photo selection option and a photo capture option; the photo selection option is used to select an image from an already captured image for insertion, and the photo capture option is used to capture an image in real time and insert the captured image. Taking the photo selection option as an example, in response to the triggering operation of the image selection option, at least one image is displayed in the image selection interface. In response to the selection operation of at least one image, the selected image is displayed in the image editing interface. In response to the editing operation of the selected image (which can perform operations such as cropping and resizing), the edited image is displayed in the image editing interface, which includes an image confirmation control. In response to the triggering operation of the image confirmation control, the edited image can be displayed in the target image display area of ​​the data input interface, and the edited image serves as the input image.

[0107] In some alternative embodiments, displaying the edited image in the target image display area of ​​the data input interface in response to a triggering operation of the image confirmation control may include: drawing an image frame in the target image display area of ​​the data input interface in response to a confirmation operation of the edited image, the image frame defining the size of the uploaded image; if the edited image meets the size of the image frame, the edited image is displayed in the image frame; if the edited image does not meet the size of the image frame, a prompt message indicating that the image upload failed is output in the data input area.

[0108] For example, as shown in Figure 6a, the content publisher triggers the image selection option 61 in the data input interface. In response to the triggering operation of the image selection option 61, at least one image is displayed in the image selection interface 601 (6 images are displayed in Figure 6a). In response to the selection operation of at least one image (the fifth image is selected as shown in Figure 6a), the selected image is displayed in the image editing interface 602. In response to the editing operation of the selected image (which can perform operations such as cropping and resizing), the edited image is displayed in the image editing interface 602, which includes an image confirmation control 62. In response to the triggering operation of the image confirmation control 62 (the click operation of the image confirmation control 62 in Figure 6a), an image frame 63 is drawn in the target image display area of ​​the data input interface. This image frame limits the size of the uploaded image (the image length is 246 and the height is 140 in Figure 6a), that is, the uploaded image needs to be displayed in thumbnail. If the edited image meets the size of the image frame, the edited image is displayed in the image frame 63. If the edited image does not meet the size of the image frame, as shown in Figure 6b, a message indicating that the image upload failed will be displayed in the data input interface. This allows the image to be edited and uploaded again.

[0109] It should be understood that the embodiments of this application can also support adding images through real-time photography. Specifically, in response to the triggering operation of the photography option, a shooting interface is displayed; in response to a photography event, the captured image is displayed in the shooting interface. At this time, in response to the confirmation operation of the captured image, the captured image can be displayed in the target image display area of ​​the data input interface. Alternatively, as shown in Figures 6a and 6b, in response to the editing operation of the captured image, the captured image is displayed in the image editing interface, and the captured image can be edited and uploaded.

[0110] There are two ways to access the data input interface, including but not limited to the following:

[0111] Method 1: Respond to a trigger action at the data input entry point to display the data input interface. This data input entry point can be a data input control, data input icon, etc. This data input entry point can be displayed on any interface of the application that supports content distribution, such as the application's data recommendation interface.

[0112] Method 2: This application embodiment provides a content type selection interface, which includes a first content type and a second content type. The first content type indicates the generation of multiple images to be published based on input data, including a first image to be published and a second image to be published. The second content type indicates the generation of a single image to be published based on input data. The first and second content types can be displayed in two different areas of the content type selection interface. Optionally, the first and second content types can be represented in the same or different ways. For example, both can be represented by text; the first content type could be represented by "Write an article," and the second content type by "Write text." Alternatively, the first content type can be displayed as text plus an icon, as shown in Figure 7, which is a schematic diagram of entering a data input interface provided by this application embodiment. In Figure 7, the first content type can be displayed as "Write an article" plus icon 721. Optionally, the background of the area where the first published content type and the second published content type are located may be the same or different. The area background includes at least one of the following: different background color, background style, and content type prompts.

[0113] The data input interface can include: a content type selection interface where users can choose between a first and a second content type. When a user selects the first content type, the corresponding data input interface is displayed in response to this selection. In Figure 7, the first content type is displayed in the first type area 72 of the content type selection interface 702, and the second content type is displayed in the second type area 71. The prompts in the first and second type areas differ; the second type area displays "Say something, share your news," while the first type area displays "Supports over 1000 characters, one-click formatting." Clicking the icon 721 for the first content type displays the corresponding data input interface.

[0114] Optionally, displaying the content type selection interface can be done by displaying a content type entry point. In response to a triggering operation on the content type entry point, the content type selection interface can be displayed. For example, in Figure 7, in response to a triggering operation on the content type entry point 70 in the recommendation interface 701, the content type selection interface 702 is displayed.

[0115] In some implementations, a return option is included in the data input interface. When the return option is triggered and the data input interface does not contain input data, the user switches from the data input interface to the previous interface. For example, when entering the data input interface from the content type selection interface, if the return option is triggered and the data input interface does not contain input data, the user switches from the data input interface to the content type selection interface. When the return option is triggered and the data input interface contains input data, it is saved by default. As shown in Figure 8, which is a schematic diagram of the return option triggering provided by an embodiment of this application, when the return option 81 is triggered and the data input interface contains input data, the content clearing option and the save draft option can be displayed in area 82. In response to the triggering operation of the content clearing option, the saved input data is deleted; in response to the triggering operation of the save draft option, the user directly returns to the draft box and puts the input data into the created draft.

[0116] In addition, an auto-save function is provided in the data input interface. When input data exists in the data input interface, it can be automatically saved, and a prompt message will be output in the data input interface to indicate that the input data has been automatically saved. As shown in Figure 8, the prompt message "9:41 automatically saved" is output in the data input interface. In this embodiment, the automatic saving can be performed once per minute or every few minutes. In this embodiment, if there is an abnormal exit such as a crash, a draft box can be created directly based on the input data.

[0117] Optionally, when the number of text characters that the content publisher needs to input in the data input interface is limited, character prompts can also be displayed in the data input interface. These prompts include the number of characters currently entered and the maximum number of characters supported by the data input interface. As shown in Figure 8, the data input interface displays the character prompt "10002 / 10000". "10002" represents the number of characters currently entered, while 10000 represents the maximum number of characters supported by the data input interface. When the number of characters currently entered exceeds the maximum number of characters, data cannot be entered. It should be understood that this embodiment of the application may limit the maximum number of characters supported by the data input interface, or it may not limit the maximum number of characters supported by the data input interface.

[0118] S202. In response to a transformation operation on the input data, display multiple images to be published, the images to be published being generated based on at least a portion of the text content in the input data, and / or the images to be published including at least a portion of the text content in the input data, the content corresponding to at least a portion of the images to be published being different.

[0119] The multiple images to be published include a first image to be published and at least one second image to be published. In one implementation, the text content included in the first image to be published and the text content included in the second image to be published are different. Please refer to Figure 9a, which is a schematic diagram of displaying multiple images to be published according to an embodiment of this application. The multiple images to be published include: image 901, image 902, and image 903; wherein image 901 is the first image to be published, and images 902 and 903 are the second images to be published. The first image to be published and the second image to be published will be described in detail below:

[0120] (1) The first image to be published corresponds to the main title of the input data. The first image to be published includes at least one type of content: main title, decorative elements, and a first sub-image. It may also include an introduction or summary obtained based on the input data, publication time, and author. In some embodiments, the main title may be highlighted or emphasized.

[0121] in:

[0122] ① Main Title: In one implementation, when the input data includes an input title, the main title can be the input title included in the input data, as shown in Figure 9a. The input data includes the input title "X Location, Taking a Walk," and the main title corresponding to image 901 is "X Location, Taking a Walk." In another implementation, the main title can be generated based on the input data. Specifically, when the input data does not include an input title, the main title can be obtained by analyzing the input data using a main title generation model. This main title generation model is trained using supervised and / or unsupervised learning methods and can be any artificial intelligence model (language model or neural network model, etc.) with content understanding and content generation capabilities.

[0123] ② Decorative Elements: Decorative elements enhance the visual presentation of the first image to be published. Decorative elements can include, but are not limited to: text elements (such as English or Chinese fonts), texture elements, background textures (such as marble textures), background colors (such as red, blue, etc.), etc. In one implementation, decorative elements can be generated based on input data; specifically, decorative elements can be obtained by performing sentiment analysis on the input data using a decorative element generation model. For example, if the sentiment analysis result is "happy," then the decorative element could be a balloon and a warm-toned background. This decorative element generation model is trained using supervised or unsupervised learning and can be any artificial intelligence model (language model, image generation model, or neural network model, etc.) with content understanding and content generation capabilities. In one implementation, target words (such as entity words) in the main title can be transformed to obtain corresponding decorative elements, such as translating the target words into other languages, generating or matching corresponding decorative elements based on the target words. In another implementation, the decorative elements in the first image to be published can be obtained based on the input data. Specifically, a decorative element material library is provided, which includes a variety of reference decorative elements. The decorative elements in the first image to be published can be determined from the variety of reference decorative elements based on the matching degree between each reference decorative element and the input data.

[0124] ③ First Sub-image: The first sub-image refers to an image located at any position in the first image to be published, such as a background image or a decorative image. In one implementation, the first sub-image is generated based on the input data, and / or the first sub-image comes from the input image in the input data. The number of first sub-images can be one or more, and this application embodiment does not limit this. When the second sub-image is generated based on the input data, a first sub-image generation model can be trained, and then the first sub-image generation model can be called to analyze the input data and generate the first sub-image. For example, the first sub-image generation model analyzes the input data (such as the input data describing trees and rivers) and generates a first sub-image containing trees and rivers. The first sub-image generation model can be trained in a supervised or unsupervised manner and can be any artificial intelligence model (image generation model or neural network model, etc.) with content understanding and content generation capabilities. In another implementation, the input data includes an input image, in which case the input image can be directly used as the first sub-image. In another implementation, the first sub-image can be obtained based on matching the input data. Specifically, a sub-image resource library is provided, which includes multiple reference sub-images. The first sub-image can be determined from the multiple reference sub-images based on the matching degree between the input data and each reference sub-image. In some embodiments, the first sub-image can be a static image, a dynamic image, a live image, or a video.

[0125] This application does not limit the content of the first image to be published in any way. For example, as shown in FIG9a, image 901 is the first image to be published, which includes the main title "X location, taking a walk". FIG9b is a schematic diagram of a first image to be published provided by an embodiment of this application, where the first image to be published includes the main title "The sun has risen" and decorative elements. FIG9c is another schematic diagram of a first image to be published provided by an embodiment of this application, where the first image to be published includes decorative elements.

[0126] (2) At least one second image to be published corresponds to at least one text segment of the input text, which is obtained by dividing the input text. In one implementation, the input text includes segment titles (i.e., segment headings), and the input text can be divided according to the segment headings to obtain at least one text segment, with one text segment corresponding to one second image to be published. For example, the input text includes the segment headings "Day 1: Local Tour" and "Day 2: Out-of-Town Tour"; the input text can be divided according to the segment headings "Day 1: Local Tour" and "Day 2: Out-of-Town Tour" to obtain two text segments, each corresponding to one second image to be published. In another implementation, the input text is divided according to the number of characters that can be placed in the image to obtain at least one text segment. For example, if a second image to be published includes 100 characters, then the input text can be divided sequentially according to the number of characters 100 to obtain at least one text segment. In yet another implementation, the input text content understanding model can be used to divide the text into text segments to obtain at least one text segment. Content understanding models can be any artificial intelligence model with content understanding and content generation capabilities (such as large language models or neural network models).

[0127] The content corresponding to each second image to be published includes at least one of the following: corresponding text paragraph, paragraph title, target sentence, decorative element, and second sub-image.

[0128] ① Paragraph titles can be obtained by recognizing the main text. In one implementation, the main text includes a paragraph title, such as "Day 1: Local Activities," which can be directly recognized from the paragraph title. In another implementation, a content understanding model can be used to generate paragraph titles for the corresponding main text.

[0129] ② The target statement is obtained by identifying the main text segment. In one implementation, the target statement can be obtained by identifying the main text segment using a content understanding model. This target statement can be understood as a relatively important statement.

[0130] ③ The decorative elements in the second image to be published can be generated based on the corresponding text segment. In one implementation, a decorative element generation model can be used to perform sentiment analysis on the corresponding text segment to obtain the decorative elements in the second image to be published. In another implementation, the target words (e.g., entity words) in the segment title can be transformed to obtain the corresponding decorative elements, such as translating the target words into other languages, generating or matching the corresponding decorative elements based on the target words. In yet another implementation, the decorative elements in the second image to be published can be obtained by matching the corresponding text segment. Specifically, a decorative element material library is provided, which includes various reference decorative elements. The decorative elements in the second image to be published can be determined from the various reference decorative elements based on the matching degree between each reference decorative element and the corresponding text segment.

[0131] ④ The second sub-image is generated based on the text segment, and / or the second sub-image comes from the input image in the text segment. In one implementation, when the second sub-image is generated based on the text segment, a second sub-image generation model can be trained. This model can then analyze the corresponding text segment and generate the second sub-image. For example, if the model analyzes the text segment and finds that it describes trees and a river, it will generate a second sub-image containing both trees and a river. In another implementation, if the text segment includes an input image, this image can be directly used as the second sub-image. The second sub-image generation model can be trained in a supervised or unsupervised manner and can be any AI model with content understanding and content generation capabilities (image generation model or neural network model, etc.). In yet another implementation, the second sub-image can be obtained based on matching the corresponding text segment. Specifically, the second sub-image can be determined from the sub-image material library based on the matching degree between the corresponding text segment and each reference sub-image in the sub-image material library. In some embodiments, the second sub-image can be a static image, a dynamic image, a live image, or a video.

[0132] The number of first and second sub-images is not limited, and the first and second sub-images can be the same or different. Furthermore, this application embodiment does not limit the content included in the second image to be published. For example, as shown in FIG9a, images 902 and 903 are both second images to be published, and images 902 and 903 respectively correspond to a text segment of the input text. As shown in FIG9a, image 902 corresponds to a text segment of the input text "This is good, ... CCCCKCCKCCKCCCC, CKCCCC"; image 902 includes the text segment and the target statement "CCCCKCCKCCKCCCC". Image 903 corresponds to a text segment of the input text "XXXXXX, XXXXXXXXX, XXXXX". As another example, FIG10 shows a schematic diagram of a second image to be published provided by an embodiment of this application; images 1005 and 1006 shown in FIG10 are both second images to be published, and image 1005 includes a text segment of the input text and a second sub-image 10051. Image 1006 includes a segment of text from the input text.

[0133] Optionally, at least one of the cover title, paragraph title, or target statement may be highlighted or emphasized in the corresponding image to be published. Highlighting or emphasizing may include at least one of the following: bolding, italics, displaying in a different text color, displaying in a different font, or displaying in a different font size. For example, in Figure 9a, the target statement “CCCCKCCKCCKCCCC” will be displayed italically in image 902. It should be understood that the highlighting methods for the cover title, paragraph title, and target statement in the corresponding image to be published may be the same or different.

[0134] In one implementation, displaying multiple images to be published may include: displaying the multiple images to be published in a display order determined by the content included in each image. The multiple images to be published include a first image to be published and at least one second image to be published. The display order of the first image to be published takes precedence over the display order of the second images to be published; that is, the first image to be published is displayed before the second images to be published. The display order of each second image to be published is determined based on the position of its corresponding text segment in the input data. As shown in Figure 9a, image 901 is the first image to be published, and images 902 and 903 are the second images to be published. The display order of image 901 takes precedence over the display order of images 902 and 903. The display order of images 902 and 903 is determined based on the position of their corresponding text segments in the input data. Therefore, the text segment corresponding to image 902 is in the input data before the text segment corresponding to image 903, and thus, the display order of image 902 takes precedence over image 903.

[0135] In some implementations, the content in the image to be published is laid out based on a target display style. The target display style includes a first display template and at least one second display template. The first display template and each of the second display templates define the display parameters of the content to be displayed. The first display template and at least one second display template have the same or similar style. The content in the first image to be published is laid out based on the first display template, and the content in the second image to be published is laid out based on the second display template. The content in a second image to be published is laid out based on one second display template. The display parameters among the at least one second display template included in the target display style can be the same or different. These display parameters can include font, background color, content layout, etc.

[0136] In this embodiment, multiple candidate display styles can be provided, each with certain display style differences, and each candidate display style includes a different first display template and at least one second display template. Thus, during content distribution, a target display style can be determined from the multiple candidate display styles, thereby quickly generating multiple images to be published based on the target display style. The candidate display styles may include layout styles. In one implementation, the target display style is determined from the multiple candidate display styles based on the matching degree between the candidate display styles and the input data. For example, if the input data includes "The scenery is beautiful, the sunshine is wonderful," then the target display style determined from the multiple candidate display styles can be a simple and bright display style or a landscape-related display style.

[0137] In another implementation, the target display style is determined from multiple candidate display styles based on a user's (i.e., the content publisher's) selection operation. Specifically, multiple candidate display styles can be displayed, and in response to the user's selection operation of a first candidate display style among the multiple candidate display styles, the first candidate display style can be determined as the target display style. Please refer to Figure 11, which is a schematic diagram of displaying multiple images to be published that match the target display style according to an embodiment of this application. In Figure 11, four candidate display styles are displayed (as shown in Figure 11, the four candidate display styles are ABCD, EFG, ZXCC, and XXAA, respectively). In response to the selection operation of candidate display style "ABCD", candidate display style "ABCD" (i.e., the first candidate display style) can be determined as the target display style.

[0138] Displaying multiple images to be published includes displaying multiple images that match the target display style, that is, multiple images generated based on the target display style. For example, in Figure 11, after setting the candidate display style "ABCD" as the target display style, multiple images to be published can be displayed using the display template of "ABCD" for layout or arrangement. The first image to be published among the multiple images can be laid out based on the first display template in "ABCD" (as shown in Figure 10, image 1007 is laid out according to the first display template in "ABCD"), and each second image to be published is laid out based on the second display template in "ABCD" (as shown in Figure 10, images 1006 and 1005 are laid out according to their corresponding second display templates in "ABCD," indicating that the second display templates in "ABCD" used by images 1006 and 1005 are different).

[0139] Multiple candidate display styles can be displayed in the preview interface, the data input interface, or the publishing interface. This application embodiment does not limit the display position of the multiple candidate display styles. Taking the display of multiple candidate display styles in the preview interface as an example, in one implementation, the multiple candidate display styles can be in the layout display area of ​​the preview interface. This layout display area can be the bottom area, top area, left area, right area, etc. of the preview interface; as shown in Figure 11, four candidate display styles are displayed in the layout display area 1162. Furthermore, the preview interface includes a layout style display area 1161, which is used to display multiple images to be published that match the target display style. As shown in Figure 11, the layout style display area 1161 is used to display multiple images to be published that are formatted or laid out using the "ABCD" display template.

[0140] In some implementations, displaying multiple images matching the target display style may include scrolling through the layout style display area 1161 of the preview interface to display multiple images to be published that match the target display style. In another implementation, displaying a portion of the multiple images to be published that match the target display style in the layout style display area 1161 of the preview interface (e.g., displaying the first image to be published among the multiple images to be published that match the target display style), and responding to a switching operation on the layout style display area 1161 (e.g., a left-right swipe operation), displaying the remaining undisplayed images from the multiple images to be published that match the target display style in the preview interface. This switching operation may be: an automatic swiping operation in a preset direction within a preset time period; or, an operation where the content publisher swipes left or right in the layout style display area 1161, etc.

[0141] Optionally, when a content publisher dislikes the first candidate display style, they can choose other candidate display styles to achieve flexible switching of display styles. In response to the selection of a second display style (other than the first candidate display style) among multiple candidate display styles, the second candidate display style can be determined as the new target display style. Multiple images to be published in the preview interface that match the target display style are then replaced with multiple images to be published that match the new target display style. That is, multiple images to be published that match the new target display style are displayed, i.e., multiple images to be published generated based on the new target display style. For example, as shown in Figure 12a, a schematic diagram of display style switching provided in this application embodiment, in response to the selection of the candidate display style "ZXCC", the candidate display style "ZXCC" can be determined as the new target display style. Multiple images to be published that match "ABCD" in the layout style display area 1161 of the preview interface are then replaced with multiple images to be published that match "ZXCC". That is, multiple images to be published that are laid out or formatted using the "ZXCC" display template are replaced.

[0142] Since a certain amount of time is required for rendering before multiple images matching the new target display style can be displayed when switching to other display styles, progress indicators can be used to provide this information in this embodiment. In one implementation, replacing multiple images matching the target display style in the preview interface with multiple images matching the new target display style includes: replacing the multiple images matching the target display style in the preview interface with progress indicators, which show the loading progress of the multiple images matching the new target display style; and displaying the loaded image in the preview interface in response to a completion event for at least one image matching the new target display style. Please refer to Figure 12b, which is another schematic diagram of display style switching provided in this embodiment. In response to the selection operation of the target display style "ZXCC", multiple images matching "ABCD" in the preview interface can be replaced with the progress indicator "Image loading". In response to the completion event of loading at least one image to be published that matches the new target display style "ZXCC", the completed image to be published is displayed in the typography style display area 1161 of the preview interface.

[0143] It should be understood that, in this embodiment, when an image matching the new target display style "ZXCC" is loaded, the preview interface will display the loaded image. Then, for each image loaded, the preview interface will display the loaded image, or the user can view other loaded images by swiping. Ultimately, multiple images matching the new target display style can be displayed. By displaying the loaded image in the preview interface as soon as an image matching the new target display style is loaded, the system can quickly present images matching the desired display style to the user (i.e., the content publisher). This allows the user to quickly determine if they like the display style, reducing waiting time and improving the user experience.

[0144] In one implementation, displaying multiple candidate display styles may include: displaying multiple candidate display styles in response to a transformation operation on the input data. Since loading multiple candidate display styles takes time, progress information can be displayed. In another implementation, a preview interface is displayed in response to a transformation operation on the input data. The preview interface includes progress information to indicate that a display style is loading. In response to a display style loading completion event, multiple candidate display styles can be displayed. In yet another implementation, a preview interface is displayed in response to a transformation operation on the input data. The preview interface includes progress information to indicate the loading progress of multiple images to be published that match the default display style. For example, Figure 12c is a schematic diagram of multiple candidate display styles provided in an embodiment of this application. In Figure 12c, the transformation operation is a trigger operation on a transformation option; in response to a transformation operation on transformation option 1001, a preview interface is displayed, including progress information 12001. In response to the completion event of loading at least one image to be published that matches the default display style, the loaded image to be published is displayed in the typography style display area 1161 of the preview interface, and multiple candidate display styles are displayed in the preview interface.

[0145] The candidate display styles can include: preset display styles and / or custom display styles; preset display styles are pre-set. Custom display styles include display styles newly created by the publishing account, and / or display styles obtained by modifying the target display style by the publishing account. Display styles newly created by the publishing account can specifically include: in response to the creation operation on the display style creation page, multiple style parameters can be displayed; in response to the selection operation of multiple style parameters, a display style is created based on the selected style parameters, and the created display style is used as the custom display style. Style parameters can include at least one of the following: cover style, theme color, decorative elements, white space ratio, background texture, etc. ② Display styles obtained by modifying the target display style by the publishing account can specifically include: in response to the update operation of style parameters in the target display style, the target display style after updating the style parameters is determined as the custom display style; or in response to the editing operation of the image to be published based on the layout of the target display style, the display style corresponding to the edited image to be published is determined as the custom display style.

[0146] In this approach, displaying multiple candidate display styles can include any of the following: ① Displaying a preset display style in the first area and a custom display style in the second area. ② Displaying a preset display style and a custom display style in the same area; ③ Displaying a preset display style, and in response to a display operation on a custom display style (such as triggering a display option for a custom display style, a voice display operation, etc.), displaying the custom display style. For example, Figure 13 is a schematic diagram of displaying a custom display style provided in an embodiment of this application. In Figure 13, the triggering operation for a display style created by a publishing account can be a triggering operation for the display option 1301 of the custom display style, and in response to the triggering operation of the display option 1301, displaying the custom display style (i.e., the display style "M Lake" and the display style "Scenery" in Figure 13). The display position of the custom display style is not limited in any way; it can be independent of the preview interface or within the preview interface, etc.

[0147] Optionally, due to the size limitation of the preview interface, the number of candidate display styles can be limited. That is, a certain number (e.g., 5, 6, etc.) of candidate display styles will be downloaded and displayed first. In some implementations, a preset number of candidate display styles can be displayed, and some of these styles will be hidden. The hidden candidate display styles can be displayed in response to a swipe operation in the layout display area. For example, Figure 14 is a schematic diagram of a candidate display style display provided in an embodiment of this application. In response to a swipe operation in the layout display area 1162 (as shown in Figure 14, swiping left), other hidden candidate display styles are displayed in the layout display area 1162. Content publishers can view more candidate display styles through the swipe operation.

[0148] As can be seen, the embodiments of this application provide different candidate display styles (i.e., layout styles), which can generate images to be published under different display styles. These images to be published are refined based on the display templates under the display styles, beautifying the content publishing style and forming images similar to magazines. This makes the published content more diverse and also lowers the editing threshold for content publishing.

[0149] Optionally, before determining the target content to be published, which includes multiple images to be published, embodiments of this application support editing the images to be published. In one implementation, in response to an editing operation on the target image to be published among the multiple images to be published, the content in the target image to be published is updated. And / or, after updating the content in the target image to be published, the display style corresponding to the updated target image to be published is stored, that is, the display style corresponding to the updated target image to be published is used as a custom display style.

[0150] Updating the content of the target image to be published includes at least one of the following: ① Adjusting the display position of the content in the target image to be published, such as adjusting the display position of text, images, or other elements in the target image to be published. ② Adjusting the display style of the content in the target image to be published. ③ Adjusting the display parameters of the content in the target image to be published. For example, adjusting the font, color, etc. of the text content in the target image to be published. As shown in Figure 15a, it is a schematic diagram of image editing provided by an embodiment of this application. In Figure 15a, in response to the editing operation of the target image 1501 (which is the second target image to be published) among the three target images to be published, the target statement "CCCCKCCKCCKCCCC" included in the target image 1501 is changed from italic to bold, resulting in the target image 1502 (i.e., the updated target image to be published). For example, if the target image to be published is the first target image to be published, the image size, saturation, resolution, brightness, etc. of the first sub-image in the first target image to be published can be adjusted. ④ Modifying the content in the target image to be published. Modifying the content of a target image to be published can include: deleting content from the target image to be published, updating the content of the target image to be published with other content, or adding new content to the target image to be published. For example, as shown in Figure 15b, which is a schematic diagram of image editing according to an embodiment of this application, in response to the editing operation of image 1503 of the three images to be published, the child in image 1503 can be deleted to obtain image 1504 (i.e., the updated target image to be published).

[0151] In some implementations, step S202 may include: in response to a transformation operation on the input data, displaying multiple images to be published in a preview interface, or displaying multiple images to be published in a publishing interface. The transformation operation may include at least one of the following:

[0152] (1) The data input interface includes a conversion option, as shown in Figure 3. The data input interface 301 includes a conversion option 321. The conversion operation on the data input may include a trigger operation on the conversion option 321. Please refer to Figure 9a, which is a schematic diagram of displaying multiple images to be published according to an embodiment of this application. The specific implementation of step S202 may be: in response to the trigger operation on the conversion option 321 (the trigger operation is the click operation as shown in Figure 9a), multiple images to be published are displayed.

[0153] The display positions of the conversion options include the following: ① The display position of the conversion option 321 in the data input interface can be flexibly changed. As shown in Figure 3, when the keyboard is hidden, the conversion option is displayed in the first display position 32 of the data input interface. When the keyboard is raised, the conversion option is displayed in the second display position 33 of the data input interface. The first and second display positions are two different positions in the data input interface. ② The position of the conversion option in the data input interface is fixed. That is, the conversion option does not change with the state of the keyboard. For example, the conversion option is always fixedly displayed in the lower position, upper right position, etc. of the data input interface. ③ The conversion option is displayed while the input data is displayed. That is, as shown in Figure 16, which is a schematic diagram of the conversion option display provided by an embodiment of this application, the conversion option 161 is displayed when the input data is displayed in the data input interface. If no input data is displayed in the data input interface, the conversion option will not be displayed.

[0154] Optionally, when displaying input data, the conversion option is updated from a non-editable state to an editable state. That is, if no input data is displayed in the data input interface, the conversion option is in a non-editable state; if input data is displayed in the data input interface, the conversion option is in an editable state. Whether a conversion option is in an editable state can be distinguished by font color, clickability, etc. As shown in Figure 3, when no input data is displayed in the data input interface, the font color of the conversion option 321 is gray; when input data is displayed in the data input interface, the font color of the conversion option is black. This application embodiment does not limit the display position or display method of the conversion option.

[0155] (2) The conversion operation of input data can be to enter specific symbols in the data input interface, such as M, L, etc. For example, the conversion operation can be to enter M in the data input interface.

[0156] (3) The conversion operation of input data can be a sliding operation in the data input interface.

[0157] (4) The conversion operation of input data can be the operation of directly shaking the terminal device.

[0158] In one implementation, step S202 may include: in response to a conversion operation on the input data, obtaining the content length and / or content intent of the input data, and displaying a first image to be published and at least one second image to be published, or displaying a third image to be published, which corresponds to the input data, based on the content length and / or content intent; wherein, the third image to be published corresponding to the input data may mean that the third image to be published includes the input data, or that the third image to be published displays the input data. As one implementation, displaying the first image to be published and at least one second image to be published, or displaying the third image to be published, based on the content length may specifically involve: determining whether the content length contained in the input data is greater than a preset length threshold; if the content length is greater than the preset length threshold, the input data is long content, and the first image to be published and at least one second image to be published can be displayed. If the content length is less than or equal to the preset length threshold, the input data is short content, and the third image to be published can be displayed. The content length can include character length. When the input data includes emoticons or images, emoticons occupy 1 character, and English letters and numbers in the text occupy 0.5 characters. For images, the number of characters occupied by the image can be determined according to the number of lines of text it occupies. Alternatively, displaying a first image to be published and at least one second image to be published, or displaying a third image to be published, based on content intent can be achieved by: calling an intent analysis model to analyze the input data and obtaining intent analysis results. If the intent analysis results indicate a long content publishing intent, then the first image to be published and at least one second image to be published are displayed. If the intent analysis results indicate a short content publishing intent, only one image to be published can be generated, and then the third image to be published is displayed. Please refer to Figure 7. If the input data is long content or the intent analysis result indicates a long content publishing intent, then as shown in Figure 7, the "Write Article" (i.e., select the first publishing content type) link is selected, and a first image to be published and at least one second image to be published are generated based on the input data. If the input data is non-long content or the intent analysis result indicates a non-long content publishing intent, then as shown in Figure 7, the "Write Text" (i.e., select the second publishing content type) link is selected, and a third image to be published is generated based on the input data. This third image to be published includes all the content of the input data.

[0159] S203. Determine the target content to be published, which includes multiple images to be published, and publish the target content.

[0160] In one implementation, in response to a publishing operation on target content, target content comprising multiple images to be published is determined and published. The publishing operation may include a touch operation on a publishing option, as shown in FIG9a. In response to a trigger operation on publishing option 926, target content comprising multiple images to be published is determined and published.

[0161] In another implementation, when multiple images to be published are displayed in the preview interface, as shown in Figure 10, the preview interface includes a confirmation option 10052. In response to a trigger operation on this confirmation option 10052, the target publishing content, including the multiple images to be published, can be determined, and the target publishing content of the multiple images to be published can be displayed in the publishing interface. As shown in Figure 10, in response to a trigger operation on this confirmation option 10052, the target publishing content, including images 1005, 1006, and 1007, is determined. It should be noted that step S203, determining the target publishing content including the multiple images to be published, can be executed even before the preview interface has fully displayed the multiple images to be published; that is, without waiting for all the multiple images to be published to be rendered and displayed.

[0162] When the target content to be published consists of only multiple images to be published, they are arranged and displayed in the first area of ​​the publishing interface according to the display order of the images to be published. Please refer to Figure 10, where images 1005, 1006, and 1007 are displayed sequentially in the first area according to the display order of the images to be published.

[0163] Optionally, the target publishing content involved in the embodiments of this application may further include target publishing text and / or target publishing title. When the target publishing content includes target publishing text, the target publishing text may be displayed in the second area of ​​the publishing interface; when the target publishing content includes target publishing title, the target publishing title may be displayed in the third area of ​​the publishing interface. The first area, second area, and third area are three different areas of the publishing interface. For example, in Figure 9a, the target publishing content 900 includes three images to be published (image 901, image 902, and image 903), target publishing text content 922, and target publishing title 923. The embodiments of this application do not impose any limitations on the target publishing content.

[0164] (1) Target Posting Text: The target posting text is obtained from the recommendation summary generated based on the input data and / or the posting text entered by the posting account. ① The target posting text is a recommendation summary generated based on the input data: In one implementation, a recommendation summary generated based on the input data can be displayed, and the displayed recommendation summary is determined as the target posting text. In another implementation, a recommendation summary generated based on the input data is displayed, and in response to a confirmation operation on the displayed recommendation summary, the displayed recommendation summary is determined as the target posting text. The confirmation operation on the displayed recommendation summary can be a trigger operation on a confirmation control (such as a click operation). For example, in Figure 9a, the recommendation summary "KCCCCCCCCCC." generated based on the input data is displayed, and in response to a click operation on the confirmation control 925, the displayed recommendation summary is determined as the target posting text 922. Optionally, when the target published text is a recommended summary based on the input data, a source prompt message for the target published text can also be displayed (as shown in Figure 9a, the source prompt message for the target published text is "Automatically generated text summary"). This source prompt message is used to indicate that the target published text is automatically generated based on the input data. In another implementation, multiple recommended summaries are generated based on the input data. In response to the selection operation of multiple recommended summaries, the recommended summary selected by the selection operation is determined as the target published text. These multiple recommended summaries can be displayed in the publishing interface, or they can be displayed in a window independent of the publishing interface. As shown in Figure 17, this is a schematic diagram of determining the target published text according to an embodiment of this application; in Figure 17, two recommended summaries of the input data (i.e., "KCCCCCCCCCC." and "KKCCCCCCCCC.") are displayed in a window independent of the publishing interface. In response to the selection operation of the recommended summary "KCCCCCCCCCC.", the recommended summary "KCCCCCCCCCC." is determined as the target published text. ② The target published text is obtained through the published text entered by the publishing account. In one implementation, in response to the input operation of the publishing account in the input area of ​​the publishing text, the publishing text entered by the input operation is determined as the target publishing text.

[0165] Determining the target content to be published, which includes multiple images to be published, may also include any of the following steps:

[0166] ① Delete Recommended Summary. In Figure 9a, a recommended summary is displayed in the second area. The corresponding deletion option 924 can be triggered to delete the recommended summary displayed in the second area. ② Update Recommended Summary. In response to an update operation, the recommended summary is updated to a new one, which is then used as the target content for the published article. The update operation can include triggering the update option or updating the recommended summary directly through the publishing account. ③ Switch Recommended Summary. In response to a switch operation on the displayed recommended summary (e.g., providing a switch option, which can be triggered by the switch option), the displayed recommended summary information is switched to another recommended summary for display. This other recommended summary can be used as the target content for the published article. ④ Add Recommended Summary. When no recommended summary exists, summary information can be added, and the added recommended summary is used as the target content for the published article.

[0167] (2) Target Post Title: The target post title is derived from the main title of the input data and / or the post title entered by the posting account. The main title of the input data is generated based on the input data and / or is an input title included within the input data. For example, in Figure 9a, the main title of the input data is “X location, taking a walk”; the target post title 923 is “X location, taking a walk”. Alternatively, the target post title is obtained by editing the main title of the input data.

[0168] Optionally, the target published content may also include illustrations. Please refer to Figure 18, which is a schematic diagram of inserting illustrations into target published content according to an embodiment of this application. In Figure 18, an add option 1822 is displayed. In response to a triggering operation of the add option 1822, the added illustration 1823 can be displayed. If the illustration is located after all images to be published, the display order of all images to be published remains unchanged. If the illustration is located at the position of the target image to be published among multiple images to be published, the display order of the target image to be published and the images to be published after the target image to be published changes. As shown in Figure 18, the illustration 1823 occupies the position of the image to be published 1821, so the display order of the image to be published 1821 changes, i.e., it is displayed in the fourth position. Furthermore, this embodiment of the application does not limit the number of illustrations.

[0169] As can be seen, the target content to be published in the embodiments of this application includes multiple images to be published. In addition, it may also include at least one of illustrations, target publication text and target publication title, which can enrich the form of content publication. Moreover, content publishers can publish different content according to their needs, which improves the experience of content publishers. At the same time, the published content supports text-to-image (such as long text-to-image), which can improve the penetration of long text publication.

[0170] After determining the target content to be published, which includes multiple images to be published, the target content can be published. The target content is published in response to a publishing operation. The publishing operation can include at least one of the following: ① triggering a publishing option. ② inputting a specific symbol, such as M, L, etc. ③ swiping. ④ shaking the terminal device. This application embodiment does not limit the publishing operation in any way.

[0171] Optionally, embodiments of this application also provide a publish cancellation option. Figure 19 shows a schematic diagram of a publish cancellation option provided in an embodiment of this application. In Figure 19, the publish interface includes a publish cancellation option 1901. In response to a trigger operation on the publish cancellation option 1901, a return option (return to edit in Figure 19) and a save draft option (save draft in Figure 19) are output in area 1902. In response to the trigger operation of the return option, the user can return to the previous interface of the publish interface. If the previous interface was a preview interface, the user returns to the preview interface; if the previous interface was a data input interface displaying input data, the user displays the data input interface. In response to the trigger operation of the save draft option, the target publish content is saved as a draft.

[0172] In this embodiment, input data is displayed, the input data containing text; in response to a selection operation of a target display style among at least one display style of the input data, multiple images to be published that match the target display style are displayed, the images to be published are generated based on at least a portion of the text content in the input data, and / or the images to be published include at least a portion of the text content in the input data, and the content corresponding to at least a portion of the images to be published is different; a target publishing content including multiple images to be published is determined, and the target publishing content is published. It is evident that display styles can be flexibly selected to generate images to be published that match the corresponding display style, enriching the diversity of content publishing, and since the input data includes text, the text can be converted into images to be published, thus meeting the publishing needs of multimodal or cross-modal content.

[0173] In some optional embodiments, this application also provides some basic editing capabilities, such as editing input data. Editing in this case may include: pasting, selecting, copying, etc. Figure 20 shows a schematic diagram of an editing option provided by an embodiment of this application. A movement cursor 2001 is displayed in the data input area. In response to a trigger operation on the movement cursor 2001 (such as a long press), multiple editing options can be displayed on the bubble function 2002. In response to a trigger operation on the target editing option among the multiple editing options, an editing operation matching the target editing option is performed on the input data. Taking multiple editing options including: pasting, selecting, and selecting all as an example; in response to a trigger operation on the paste option, pasted content is inserted at the position of the moving cursor; in response to a trigger operation on the selection operation, a selection operation is performed on the input data. In response to a trigger operation on the select all operation, all content included in the input data is selected, including spaces and line breaks.

[0174] In one implementation, as shown in Figure 20, in response to a triggering operation (such as a long press) on the target content in the input data (content 2003 in Figure 20), multiple editing options for content 2003 are displayed on the bubble function 2004. In response to a triggering operation on the target editing option among the multiple editing options, an editing operation matching the target editing option is performed on the target content. For example, in Figure 20, the multiple editing options include: copy, cut, paste, and select all. In response to a triggering operation on the copy option, the target content is copied; in response to a triggering operation on the cut option, the target content is cut from the input data and copied to the clipboard. In response to a triggering operation on the paste option, the pasted content replaces the target content. In response to a triggering operation on the select all option, all content included in the input data is selected, including spaces and line breaks. It should be noted that the paste option will only be displayed if there is content in the clipboard. When triggering a cursor movement, the keyboard used for text editing must be in a raised state. If the keyboard is not raised and the trigger is performed outside the data input area, the trigger operation on the cursor movement or the trigger operation on the target content in the input data will not be responded to. If the keyboard is raised and the trigger is performed outside the data input area, the keyboard will be hidden.

[0175] Furthermore, this application embodiment provides input data optimization capabilities, which can optimize the displayed input data using any language model and display the optimized input data. Optimization includes at least one of the following: ① polishing the input data, such as checking the grammar in the input data, adjusting the text content, etc., to achieve fluency and accuracy in language expression; ② expanding the input data, such as expanding the text in the input data to enrich the text content; ③ abbreviating the input data, such as performing redundancy processing on the text in the input data.

[0176] As can be seen, the aforementioned basic editing capabilities and input data optimization capabilities enable more flexible and richer data input, which in turn allows for better content publishing.

[0177] Please refer to Figure 21, which is a flowchart illustrating a content publishing method provided in an embodiment of this application. This content publishing method can be executed by a computer device, more specifically, by an application supporting content distribution within the computer device; the computer device can be terminal 101 or terminal 102 in the system shown in Figure 1. Referring to Figure 21, the content publishing method may include the following steps S2101-S2103:

[0178] S2101. Obtain input data, which includes second data associated with the first data, and the first data or the second data contains text.

[0179] In one implementation, the input data may include a title and / or body text related to the title. The title may be the first data, and the body text related to the title may be the second data. Specific embodiments are described above and will not be detailed here.

[0180] In another implementation, the input data includes a question and an answer to the question (i.e., question-and-answer data); in this case, the first data may include the question, and the second data may include the answer to the question. In one implementation, the input data can be obtained from other pages or other applications. For example, it may specifically include: displaying at least one question-and-answer record data, each record data including a question and an answer to that question; specifically, at least one question-and-answer record data can be displayed in a session, which may be an AI session (i.e., a session between a content publisher and an intelligent customer service representative), a social session, etc. Then, in response to a selection operation of a target question-and-answer record data in the at least one question-and-answer record data, the target question-and-answer record data is displayed, and the target question-and-answer record data is used as input data. Please refer to Figure 22a, which is a schematic diagram of displaying a first image to be published and a second image to be published according to an embodiment of this application. In Figure 22a, question-and-answer record data is displayed in an AI session, the question-and-answer record data including a question 2201 and an answer 2202. In response to a selection operation of the question-and-answer record data, the selected question 2201 and answer 2022 are used as input data. The selection operation can be a trigger operation for the sharing option of the question-and-answer record data. As shown in Figure 22a, the selection operation refers to the trigger operation for the sharing option in the display area 2203. In another implementation, obtaining input data can include: directly displaying the question-and-answer record data on the conversation page, and in response to the confirmation operation of the question-and-answer record data, the question-and-answer record data can be determined as input data. Please refer to Figure 22b, which is a schematic diagram of another display of the first image to be published and the second image to be published provided by an embodiment of this application. Taking an AI conversation as an example in Figure 22b, the conversation is displayed in the conversation interface 2204. The conversation includes question-and-answer record data, which includes questions 2205 and answers 2206. In response to the confirmation operation of the question-and-answer record data (as shown in Figure 22b, the confirmation operation can be a trigger operation for the sharing control 2207), the question-and-answer record data is determined as input data.

[0181] In another implementation, the input data includes a message and other messages referencing that message (i.e., dialogue data). The first data may include the message, and the second data includes other messages referencing that message. See Figure 22c, a schematic diagram illustrating another display of a first and a second image to be published, provided in an embodiment of the application. The input data can be obtained from other pages or other applications, and specifically may include: displaying message 2213 and other messages 2214 referencing that message, with message 2213 and other messages 2214 used as input data. The first data may include message 2213, and the second data may include other messages 2214 referencing that message. In some implementations, a session is displayed, including multiple messages and other messages referencing each message. In response to a target message among the multiple messages, the target message and other messages referencing the target message are used as input data.

[0182] S2102, In response to the transformation operation of the input data, display a first image to be published and a second image to be published, wherein the first image to be published is generated based on the first data and the second image to be published is generated based on the second data.

[0183] Wherein, the first image to be published being generated based on the first data can mean that the first image to be published includes the first data, or the first image to be published is generated based on the first data; the second image to be published being generated based on the second data can mean that the second image to be published includes the second data, or the second image to be published is generated based on the second data.

[0184] (1) Input data includes a title and / or body text related to the title; the first image to be published may be generated based on the title, such as the first image to be published including the title; at least one second image to be published may be generated based on body text related to the title, such as each second image to be published may include all or part of the body text related to the title.

[0185] (2) The input data includes a question and an answer to the question. The first image to be published can be generated based on the question, such as the first image to be published may include the question; at least one second image to be published can be generated based on the question and answer for the question. Specifically, each second image to be published may include an answer to the question, or each second image to be published may include both the question and the answer to the question. In one implementation, each second image to be published may include a portion of the answer to the question. In another implementation, if there is at least one answer to the question, then a second image to be published may include one answer to the question. For example, in Figure 22a, the conversion operation on the input data includes a trigger operation on conversion option 2200, and step S2102 may include: in response to the trigger operation on conversion option 2200, displaying image 22121 (i.e., the first image to be published) and image 22131 (i.e., the second image to be published). Image 22121 includes the question "Recommendations for food around XX street"; image 22131 includes the question and the answer to the question. For example, in Figure 22b, the conversion operation on the input data includes triggering the conversion option 2208. In response to the confirmation operation on the question-and-answer record data (as shown in Figure 22b, the confirmation operation can trigger the sharing control 2207), the conversion option 2208 will also be displayed. Step S2102 may include: in response to the triggering operation on the conversion option 2208, displaying image 2209 (i.e., the first image to be published) and image 2210 (i.e., the second image to be published). Image 2209 includes the question "Recommendations for restaurants around XX street"; image 2210 includes the question and the answer to that question.

[0186] (3) The input data includes a message and other messages referencing that message. Specifically, the first data includes the message, and the second data includes other messages referencing the message. The first image to be published can be generated based on the message; specifically, the first image to be published may include the message. At least one second image to be published can be generated based on other messages referencing the message; specifically, each second image to be published may include other messages referencing the message, or each second image to be published may include the message and other messages referencing the message. In one implementation, the transformation operation on the input data includes a trigger operation on a transformation option, as shown in FIG22c, where the transformation option (i.e., the generated note in FIG22c) is displayed in region 2212. Step S2102 may include: in response to the trigger operation on the transformation option, displaying image 2215 (i.e., the first image to be published) and image 2216 (i.e., the second image to be published). Image 2215 includes the message 2213 “Where did you eat this?”; image 2216 includes the message 2213 and other messages 2214 referencing the message 2213.

[0187] S2103. Determine the target publishing content, which includes the first image to be published and the second image to be published, and publish the target publishing content.

[0188] The target publication content may also include the target publication body and / or target publication title. This application embodiment does not limit the target publication content in any way. For example, in Figure 22b, the target publication content includes image 2209 (i.e., the first image to be published), image 2210 (i.e., the second image to be published), and target publication title 2211.

[0189] In one implementation, in response to a publishing operation on the target content, a target content including a first image to be published and a second image to be published is determined, and the target content is published. Here, taking an example where the publishing operation includes a triggering operation on a publishing option, as shown in Figure 22a, in response to a triggering operation on publishing option 2217 (such as a click operation), a target content including a first image to be published and a second image to be published is determined, and the target content is published.

[0190] After the target content is published, either the target content itself or the first image to be published within the target content can be displayed. Specifically, when the target content is displayed in the recommendation interface, the content card corresponding to the target content can display the first image to be published. Before displaying the first image to be published, it needs to be adjustable, such as changing the aspect ratio of the first image to be published from 9:13 to 3:4, and then displaying the first image to be published in two columns in the recommendation interface with an aspect ratio of 3:4. As shown in Figure 9a, the first image to be published is image 901 in Figure 9a, and the aspect ratio of image 901 is adjusted from 9:13 to 3:4; then, image 901 with an aspect ratio of 3:4 is displayed in two columns in the recommendation interface 906. When browsing multiple images to be published on the details page of the target content, the aspect ratio of the first image to be published can be adjusted from 3:4 to 9:13 for display. The recommendation interface can display multiple published content items, and the content card corresponding to each published content will display the first image to be published within that published content. As shown in Figure 23b, the content card corresponding to published content 1 will display the first image to be published in published content 1 (i.e., image 2315); the content card corresponding to published content 2 will display the first image to be published in published content 2 (i.e., image 2316).

[0191] In one implementation, as shown in Figure 23a, this application provides a schematic diagram of a details page displaying target published content. In Figure 23a, when the target published content is triggered (e.g., clicked) in the recommendation interface 2301, a details page 2311 of the target published content is displayed. This details page 2311 displays a first image to be published (i.e., image 23111 in Figure 23a). In response to a browsing operation on the target published content (e.g., a left or right swipe operation), a second image to be published (i.e., image 23112 in Figure 23a) is displayed on the details page. As another example, as shown in Figure 23b, this application provides a schematic diagram of a details page displaying target published content. In Figure 23b, when the first image to be published in the target published content is triggered (e.g., clicked) in the recommendation interface 2302, the details page 2312 of the target published content is displayed, which displays the first image to be published (i.e., image 23113 in Figure 23b); in response to browsing operations on the target published content (e.g., swiping left or right), the second image to be published (i.e., image 23114 in Figure 23b) is displayed in the content details page.

[0192] In some optional implementations, in response to a selection operation on the content in the image to be published, the selected content can be copied or pasted. Alternatively, if the second image to be published includes other messages referencing the message, in response to a selection operation (such as a long press selection operation) on the referenced message in the image to be published, the user is redirected to the interface containing the referenced message.

[0193] In this embodiment, input data is acquired, including second data associated with first data, and either the first or second data contains text. In response to a transformation operation on the input data, a first image to be published and a second image to be published are displayed. The first image to be published is generated based on the first data, and the second image to be published is generated based on the second data. Target content to be published, including the first and second images to be published, is determined, and the target content is published. This embodiment can support the publication of first and second images to be published generated from different data during the content publishing process, enriching the forms of content publishing.

[0194] Please refer to Figure 24, which is a flowchart illustrating a content publishing method provided in an embodiment of this application. This content publishing method can be executed jointly by any terminal and a server. Referring to Figure 24, the content publishing method may include the following steps S2401-S2406:

[0195] S2041. The terminal displays the input data, which includes text.

[0196] Specifically, the terminal can acquire and display input data. In one implementation, the input data may include second data associated with the first data, and either the first or second data may contain text.

[0197] S2402, In response to the conversion operation on the input data, the terminal generates a conversion request. The conversion request includes the input data and is used to request the server to generate multiple images to be published based on the input data and return the multiple images to be published.

[0198] S2403. The terminal sends a conversion request to the server. Correspondingly, the server receives the conversion request sent by the terminal.

[0199] S2404. In response to the received conversion request, the server generates multiple images to be published based on the input data, wherein the images to be published are generated based on at least a portion of the text content in the input data, and / or the images to be published include at least a portion of the text content in the input data, and the content corresponding to at least a portion of the images to be published is different.

[0200] The multiple images to be published include a first image to be published and at least one second image to be published. In one implementation, the server generating multiple images to be published based on input data may include: the server determining the content used to generate the first image to be published from the input data, dividing the input text in the input data to obtain at least one text segment; then laying out the determined content according to a first display template in the target display style to obtain the first image to be published, and laying out the at least one text segment according to at least one second display template in the target display style to obtain at least one second image to be published. One second display template corresponds to one second image to be published.

[0201] The server stores multiple candidate display styles. The server can calculate the matching degree between the input data and each candidate display style. Based on the matching degree between the input data and each candidate display style, the server determines the target display style from the multiple candidate display styles, such as selecting the candidate display style with the highest matching degree as the target display style.

[0202] In one implementation, multiple images to be published include a first image to be published and a second image to be published. The input data includes first data and second data associated with the first data. The server can generate the first image to be published based on the first data and generate the second image to be published based on the second data.

[0203] In one implementation, generating multiple images to be published based on input data may include: the server may request a content understanding interface to perform content understanding on the input data and generate multiple images to be published.

[0204] The multiple images to be published include a first image and a second image. The first image includes at least one of the following: a main title, decorative elements, and a first sub-image. When the content corresponding to the first image includes a main title, the content understanding interface can be requested to identify whether an input title exists in the input data. If it exists, the main title is determined to be the input title included in the input data; if it does not exist, the content understanding interface is requested to call the main title generation model to analyze the input data and obtain the main title. When the content corresponding to the first image includes decorative elements, the content understanding interface can be requested to call the decorative element generation model to analyze the input data and obtain the decorative elements. Specifically, the decorative element generation model performs emotion recognition on the input data and generates decorative elements based on the emotion recognition result. For example, if the emotion recognition result is "happy," then the decorative element could be a balloon and the background could be a warm color. When the content corresponding to the first image to be published includes the first subgraph, in one implementation, the content understanding interface can be requested to call the first subgraph generation model to analyze and generate the first subgraph. For example, if the input data describes a tree, the first subgraph generation model can be called to analyze the input data and generate the first subgraph containing the tree, or the input image can be obtained from the input data and determined as the first subgraph.

[0205] The second image to be published includes at least one of the following: a paragraph title, a body paragraph, decorative elements, a target statement, and a second subgraph. When the second image to be published includes a paragraph title and / or a target statement, the content understanding interface can be requested to identify the paragraph title and target statement from the corresponding body paragraph, or the content understanding interface can be requested to call a content understanding model to identify the paragraph title and target statement from the corresponding body paragraph. When the second image to be published includes a second subgraph, in one implementation, the content understanding interface can be requested to call a second subgraph generation model to analyze and generate the subgraph from the input data. For example, if the input data describes a tree, the second subgraph generation model can be called to analyze the input data and generate a second subgraph containing the tree. In one implementation, the input data includes an input image, and the content understanding interface can be requested to obtain the input image from the input data and determine the input image as the second subgraph.

[0206] S2405, The server returns multiple images to be published to the terminal.

[0207] S2406. The terminal displays multiple images to be published and determines the target content to be published, which includes the multiple images to be published.

[0208] In one implementation, displaying multiple images to be published on the terminal may include: the terminal calling a rendering interface to render and display the received images to be published.

[0209] The process of determining and publishing target content that includes multiple images to be published can include: the terminal determining the target content that includes multiple images to be published, and calling a security audit interface to perform a security audit on the target content. If the security audit of the target content passes, the target content is published. For example, the security audit here could be an audit of the language used in the target content; if the target content does not contain sensitive language, then the security audit of the target content is considered passed.

[0210] In this embodiment, the terminal displays input data, which includes text. In response to a conversion operation on the input data, the terminal generates a conversion request. The conversion request includes the input data and requests the server to generate and return multiple images to be published based on the input data. The terminal sends the conversion request to the server. In response to the received conversion request, the server generates multiple images to be published based on the input data, wherein the images to be published are generated based on at least a portion of the text content in the input data, and / or the images to be published include at least a portion of the text content in the input data, and the content corresponding to at least a portion of the images to be published is different. The server returns the multiple images to be published to the terminal. The terminal displays the multiple images to be published and determines the target publishing content including the multiple images to publish the target publishing content. Through the collaborative action of the terminal and the server, content with rich content can be generated more efficiently, thereby achieving efficient content publishing.

[0211] The content publishing device provided in the embodiments of this application will be described next.

[0212] Please refer to Figure 25, which is a schematic diagram of a content publishing device provided in an embodiment of this application. The content publishing device is disposed in a computer device and can be a computer program (including program code) within the computer device. For example, the content publishing device can be application software within the computer device, and the computer device can be a blockchain node in the aforementioned blockchain network. The content publishing device can be used to execute some or all of the steps in the method embodiment shown in Figure 2. Please refer to Figure 25; the content publishing device includes the following units:

[0213] Display unit 2501 is used to display input data, which includes text.

[0214] The display unit 2501 is also configured to display multiple images to be published in response to a conversion operation on the input data, wherein the images to be published are generated based on at least a portion of the text content in the input data, and / or the images to be published include at least a portion of the text content in the input data, and the content corresponding to at least a portion of the images to be published is different;

[0215] Processing unit 2502 is used to determine target publishing content including multiple images to be published, and to publish the target publishing content.

[0216] In one implementation, the input data includes an input title and / or input body text, and the multiple images to be published include a first image to be published and at least one second image to be published. The first image to be published corresponds to the main title of the input data, and the at least one second image to be published corresponds to at least one body text segment of the input body text. The at least one body text segment is obtained by dividing the input body text.

[0217] In one implementation, the first image to be published includes at least one of the following: a main title, decorative elements, and a first sub-image; the main title is an input title included in the input data, or the main title is generated based on the input data; the decorative elements are generated based on the input data; the first sub-image is generated based on the input data, and / or the first sub-image comes from the input image in the input data.

[0218] In one implementation, each second image to be published includes at least one of the following: a corresponding text paragraph, a paragraph title, a target sentence, decorative elements, and a second sub-image;

[0219] The paragraph title and target sentence are obtained by identifying the main text paragraph; the second sub-image is generated based on the main text paragraph, and / or the second sub-image comes from the input image in the main text paragraph;

[0220] The paragraph title or target statement is highlighted in the second image to be published.

[0221] In one implementation, the display order of the first image to be published takes precedence over the second image to be published; the display order of each second image to be published is determined based on the position of the corresponding text segment in the input data.

[0222] In one implementation, the content of the image to be published is laid out based on a target display style, which includes a first display template and at least one second display template. The content of the first image to be published is laid out based on the first display template, and the content of the second image to be published is laid out based on the second display template.

[0223] In one implementation, the target display style is determined from multiple candidate display styles based on the degree of matching with the input data or based on the user's selection operation. The candidate display styles include preset display styles and / or self-built display styles. Self-built display styles include display styles newly created through the publishing account and / or display styles obtained by modifying the target display style through the publishing account.

[0224] In one implementation, before determining the target publishing content, which includes multiple images to be published, the processing unit 2502 is further configured to:

[0225] In response to editing operations on the target image among multiple images to be published, update the content in the target image to be published;

[0226] Updating the content of the target image to be published includes at least one of the following: adjusting the display position, display style, or display parameters of the content in the target image to be published; modifying the content of the target image to be published; and / or

[0227] After updating the content of the target image to be published, store the display style corresponding to the updated target image to be published.

[0228] In one implementation, the target post content also includes the target post body and / or the target post title;

[0229] The target post content is a recommended summary generated based on the input data; and / or obtained through the post content entered by the posting account;

[0230] The target post title is based on the main title of the input data, and / or obtained by the post title entered by the posting account.

[0231] In one implementation, when determining the target publishing content, which includes multiple images to be published, the processing unit 2502 can also be used for:

[0232] Delete recommended summary; Update recommended summary;

[0233] Switch to recommended summary;

[0234] Add a recommended summary.

[0235] In one implementation, when the display unit displays multiple images to be published in response to a transformation operation on the input data, it can be specifically used for:

[0236] In response to transformation operations on the input data, obtain the content length and / or content intent of the input data;

[0237] Based on content length and / or content intent, display a first image to be published and at least one second image to be published, or display a third image to be published, which corresponds to the input data.

[0238] In this embodiment, input data is displayed, which includes text. In response to a transformation operation on the input data, multiple images to be published are displayed. These images are generated based on at least a portion of the text content in the input data, and / or the images to be published include at least a portion of the text content in the input data, with at least a portion of the content corresponding to the images to be published being different. A target publishing content comprising the multiple images to be published is determined, and the target publishing content is published. Therefore, this embodiment can support the publication of multiple images during the content publishing process. The images to be published are generated based on the input data, or the images to be published include at least a portion of the content in the input data, enriching the forms of content publishing. Furthermore, since the input data includes text, the text can be converted into images to be published, meeting the publishing needs of multimodal or cross-modal content.

[0239] Please refer to Figure 26, which is a schematic diagram of the structure of a content publishing device provided in an embodiment of this application. The content publishing device is disposed in a computer device and can be a computer program (including program code) within the computer device. For example, the content publishing device can be application software within the computer device, and the computer device can be a blockchain node in the aforementioned blockchain network. The content publishing device can be used to execute some or all of the steps in the method embodiment shown in Figure 21. Please refer to Figure 26; the content publishing device includes the following units:

[0240] Processing unit 2601 is used to acquire input data, the input data including second data associated with first data, the first data or the second data containing text;

[0241] Display unit 2602 is configured to display a first image to be published and a second image to be published in response to a conversion operation on input data, wherein the first image to be published is generated based on the first data and the second image to be published is generated based on the second data;

[0242] The processing unit 2601 is further configured to determine target publishing content including a first image to be published and a second image to be published, so as to publish the target publishing content.

[0243] In one implementation, the input data includes a title and / or body text related to the title;

[0244] Alternatively, the input data may include a question and an answer to the question; or the input data may include a message and other messages that reference the message.

[0245] In this embodiment, input data is acquired, including second data associated with first data, and either the first or second data contains text. In response to a transformation operation on the input data, a first image to be published and a second image to be published are displayed. The first image to be published is generated based on the first data, and the second image to be published is generated based on the second data. Target content to be published, including the first and second images to be published, is determined, and the target content is published. This embodiment can support the publication of first and second images to be published generated from different data during the content publishing process, enriching the forms of content publishing.

[0246] The computer device provided in the embodiments of this application will now be described.

[0247] Furthermore, this application embodiment also provides a schematic diagram of a computer device, which can be seen in Figure 27. The computer device may include a processor 2701, an input device 2702, an output device 2703, and a memory 2704. The processor 2701, input device 2702, output device 2703, and memory 2704 are connected via a bus. The memory 2704 is used to store computer programs, which include program instructions. The processor 2701 is used to execute the program instructions stored in the memory 2704.

[0248] In one embodiment, the computer device may be a terminal, and the processor 2701 performs the following operations by running program instructions stored in the memory 2704:

[0249] Display the input data, which includes text;

[0250] In response to a transformation operation on the input data, multiple images to be published are displayed, the images to be published are generated based on at least a portion of the text content in the input data, and / or the images to be published include at least a portion of the text content in the input data, and the content corresponding to at least a portion of the images to be published is different;

[0251] Determine the target content to be published, which includes multiple images to be published, and then publish the target content.

[0252] In one implementation, the input data includes an input title and / or input body text, and the multiple images to be published include a first image to be published and at least one second image to be published. The first image to be published corresponds to the main title of the input data, and the at least one second image to be published corresponds to at least one body text segment of the input body text. The at least one body text segment is obtained by dividing the input body text.

[0253] In one implementation, the first image to be published includes at least one of the following: a main title, decorative elements, and a first sub-image; the main title is an input title included in the input data, or the main title is generated based on the input data; the decorative elements are generated based on the input data; the first sub-image is generated based on the input data, and / or the first sub-image comes from the input image in the input data.

[0254] In one implementation, each second image to be published includes at least one of the following: a corresponding text paragraph, a paragraph title, a target sentence, decorative elements, and a second sub-image;

[0255] The paragraph title and target sentence are obtained by identifying the main text paragraph; the second sub-image is generated based on the main text paragraph, and / or the second sub-image comes from the input image in the main text paragraph;

[0256] The paragraph title or target statement is highlighted in the second image to be published.

[0257] In one implementation, the display order of the first image to be published takes precedence over the second image to be published; the display order of each second image to be published is determined based on the position of the corresponding text segment in the input data.

[0258] In one implementation, the content of the image to be published is laid out based on a target display style, which includes a first display template and at least one second display template. The content of the first image to be published is laid out based on the first display template, and the content of the second image to be published is laid out based on the second display template.

[0259] In one implementation, the target display style is determined from multiple candidate display styles based on the degree of matching with the input data or based on the user's selection operation. The candidate display styles include preset display styles and / or self-built display styles. Self-built display styles include display styles newly created through the publishing account and / or display styles obtained by modifying the target display style through the publishing account.

[0260] In one implementation, before determining the target publishing content, which includes multiple images to be published, the processor 2701 may also perform the following operations:

[0261] In response to editing operations on the target image among multiple images to be published, update the content in the target image to be published;

[0262] Updating the content of the target image to be published includes at least one of the following: adjusting the display position, display style, or display parameters of the content in the target image to be published; modifying the content of the target image to be published; and / or

[0263] After updating the content of the target image to be published, store the display style corresponding to the updated target image to be published.

[0264] In one implementation, the target post content also includes the target post body and / or the target post title;

[0265] The target post content is a recommended summary generated based on the input data; and / or obtained through the post content entered by the posting account;

[0266] The target post title is based on the main title of the input data, and / or obtained by the post title entered by the posting account.

[0267] In one implementation, when the processor 2701 determines the target publishing content, which includes multiple images to be published, it may also perform the following operations:

[0268] Delete recommended summary; Update recommended summary;

[0269] Switch to recommended summary;

[0270] Add a recommended summary.

[0271] In one implementation, when the processor 2701 displays multiple images to be published in response to a transformation operation on the input data, it may specifically be used for:

[0272] In response to transformation operations on the input data, obtain the content length and / or content intent of the input data;

[0273] Based on content length and / or content intent, display a first image to be published and at least one second image to be published, or display a third image to be published, which corresponds to the input data.

[0274] In this embodiment, input data is displayed, which includes text. In response to a transformation operation on the input data, multiple images to be published are displayed. These images are generated based on at least a portion of the text content in the input data, and / or the images to be published include at least a portion of the text content in the input data, with at least a portion of the content corresponding to the images to be published being different. A target publishing content comprising the multiple images to be published is determined, and the target publishing content is published. Therefore, this embodiment can support the publication of multiple images during the content publishing process. The images to be published are generated based on the input data, or the images to be published include at least a portion of the content in the input data, enriching the forms of content publishing. Furthermore, since the input data includes text, the text can be converted into images to be published, meeting the publishing needs of multimodal or cross-modal content.

[0275] In another embodiment, processor 2701 performs the following operations by running program instructions stored in memory 2704:

[0276] Obtain input data, which includes second data associated with the first data, and either the first or second data contains text;

[0277] In response to a transformation operation on the input data, a first image to be published and a second image to be published are displayed, wherein the first image to be published is generated based on the first data and the second image to be published is generated based on the second data.

[0278] Determine the target content to be published, including the first image to be published and the second image to be published, and publish the target content.

[0279] In one implementation, the input data includes a title and / or body text related to the title;

[0280] Alternatively, the input data may include a question and an answer to the question; or the input data may include a message and other messages that reference the message.

[0281] In this embodiment, input data is acquired, including second data associated with first data, and either the first or second data contains text. In response to a transformation operation on the input data, a first image to be published and a second image to be published are displayed. The first image to be published is generated based on the first data, and the second image to be published is generated based on the second data. Target content to be published, including the first and second images to be published, is determined, and the target content is published. This embodiment can support the publication of first and second images to be published generated from different data during the content publishing process, enriching the forms of content publishing.

[0282] Furthermore, it should be noted that this application also provides a computer-readable storage medium storing a computer program, which includes program instructions. When a processor executes these program instructions, it can perform the methods described in the embodiments corresponding to Figures 2 or 21 above. Therefore, further details will not be provided here. For technical details not disclosed in the embodiments of the computer-readable storage medium involved in this application, please refer to the description of the method embodiments of this application. As an example, the program instructions can be deployed on a computer device, or executed on multiple computer devices located in one location, or executed on multiple computer devices distributed in multiple locations and interconnected through a communication network.

[0283] According to one aspect of this application, a computer program product is provided, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, enabling the computer device to perform the methods described in the embodiments corresponding to Figures 2 or 21 above; therefore, further details will not be provided here.

[0284] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0285] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. A content publishing method, characterized in that, The method includes: Display input data, which includes text; In response to a transformation operation on the input data, multiple images to be published are displayed, the images to be published being generated based on at least a portion of the text content in the input data, and / or the images to be published include at least a portion of the text content in the input data, and the content corresponding to at least a portion of the images to be published is different; Determine the target content to be published, which includes the multiple images to be published, and publish the target content.

2. The method as described in claim 1, characterized in that, The input data includes an input title and / or input body text. The multiple images to be published include a first image to be published and at least one second image to be published. The first image to be published corresponds to the main title of the input data, and the at least one second image to be published corresponds to at least one body text segment of the input body text. The at least one body text segment is obtained by dividing the input body text.

3. The method as described in claim 2, characterized in that, The first image to be published includes at least one of the following: a main title, decorative elements, and a first sub-image; the main title is the input title included in the input data, or the main title is generated based on the input data; The decorative elements are generated based on the input data; The first sub-image is generated based on the input data, and / or the first sub-image comes from the input image in the input data.

4. The method as described in claim 2, characterized in that, Each second image to be published includes at least one of the following: corresponding text paragraph, paragraph title, target sentence, decorative element, and second sub-image; The paragraph title and the target sentence are obtained by recognizing the main text paragraph; the second sub-image is generated based on the main text paragraph, and / or the second sub-image comes from the input image in the main text paragraph; The paragraph title or the target statement is highlighted in the second image to be published.

5. The method according to any one of claims 2-4, characterized in that, The first image to be published is displayed in a higher order than the second image to be published; the display order of each second image to be published is determined based on the position of the corresponding text segment in the input data.

6. The method as described in claim 2, characterized in that, The content in the image to be published is laid out based on a target display style, which includes a first display template and at least one second display template. The content in the first image to be published is laid out based on the first display template, and the content in the second image to be published is laid out based on the second display template.

7. The method as described in claim 6, characterized in that, The target display style is determined from multiple candidate display styles based on the matching degree between the target display style and the input data or based on the user's selection operation. The candidate display styles include preset display styles and / or self-built display styles. The self-built display styles include display styles newly created by the publishing account and / or display styles obtained by modifying the target display style by the publishing account.

8. The method as described in claim 1, characterized in that, Before determining the target content to be published, which includes the plurality of images to be published, the method further includes: In response to an editing operation on a target image among the plurality of images to be published, update the content in the target image to be published; Updating the content in the target image to be published includes at least one of the following: adjusting the display position, display style, and display parameters of the content in the target image to be published; modifying the content of the target image to be published; and / or After updating the content of the target image to be published, the display style corresponding to the updated target image to be published is stored.

9. The method as described in claim 1, characterized in that, The target publication content also includes the target publication body and / or the target publication title; The target posting text is obtained from the recommended summary generated based on the input data, and / or the posting text entered by the posting account; The target publication title is obtained based on the main title of the input data and / or the publication title entered by the publishing account.

10. The method as described in claim 9, characterized in that, Determining the target content to be published, which includes the plurality of images to be published, further includes any of the following steps: Delete the recommended summary; Update the recommended summary; Switch the recommended summary; Add the recommended summary.

11. The method as described in claim 2, characterized in that, In response to the transformation operation on the input data, multiple images to be published are displayed, including: In response to the transformation operation on the input data, the content length and / or content intent of the input data are obtained; Based on the content length and / or content intent, display the first image to be published and the at least one second image to be published, or display a third image to be published, the third image to be published corresponding to the input data.

12. A content publishing method, characterized in that, The method includes: Obtain input data, the input data including second data associated with first data, the first data or the second data containing text; In response to a transformation operation on the input data, a first image to be published and a second image to be published are displayed, wherein the first image to be published is generated based on the first data and the second image to be published is generated based on the second data. Determine target content to be published, including the first image to be published and the second image to be published, and publish the target content.

13. The method as described in claim 12, characterized in that, The input data includes a title and / or body text related to the title; Alternatively, the input data may include a question and an answer to the question; or the input data may include a message and other messages referencing the message.

14. A content publishing device, characterized in that, The device includes: A display unit is used to display input data, which includes text. The display unit is further configured to display multiple images to be published in response to a conversion operation on the input data, wherein the images to be published are generated based on at least a portion of the text content in the input data, and / or the images to be published include at least a portion of the text content in the input data, and the content corresponding to at least a portion of the images to be published is different; A processing unit is configured to determine target publishing content including the plurality of images to be published, and to publish the target publishing content.

15. A content publishing device, characterized in that, The device includes: A processing unit is configured to acquire input data, the input data including second data associated with first data, wherein the first data or the second data contains text; A display unit is configured to display a first image to be published and a second image to be published in response to a conversion operation on the input data, wherein the first image to be published is generated based on the first data and the second image to be published is generated based on the second data; The processing unit is further configured to determine target publishing content including the first image to be published and the second image to be published, so as to publish the target publishing content.

16. A computer device, characterized in that, The computer device includes memory and a processor; The memory stores a computer program; the processor runs the computer program in the memory to implement the steps of the method as described in any one of claims 1-13.

17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method as described in any one of claims 1-13.

18. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instruction is processed and executed, it implements the steps of the method as described in any one of claims 1-13.