Content sharing method and apparatus, electronic device, and storage medium

By generating personalized recommendation text and transforming the content format, the problem of complex text configuration for users is solved, improving the efficiency and accuracy of content sharing.

CN118410024BActive Publication Date: 2025-11-28BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410479955.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2025-11-28
Estimated Expiration
2044-04-19

AI Technical Summary

Technical Problem

The process of configuring content sharing text is complicated and lacks flexibility, resulting in low efficiency in content sharing.

Method used

By determining the content and the description information of the recipient, personalized recommendation copy is generated, and the content format is transformed to adapt to the target format when necessary before being sent to the recipient.

Benefits of technology

This improved the accuracy and efficiency of recommendation copy generation, thereby enhancing the overall efficiency of content sharing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118410024B_ABST
    Figure CN118410024B_ABST
Patent Text Reader

Abstract

The present disclosure provides a content sharing method and device, electronic equipment and storage medium, relates to the technical field of computers, in particular to the technical field of artificial intelligence such as big data and deep learning. The specific scheme is: in the case of receiving a sharing instruction for the first content, first determine the first description information of the first content and the second description information of the shared party, and generate a recommended script according to at least one of the first description information and the second description information, then determine the target form of the first content according to the second description information, in the case of different forms of the first content and the target form, convert the first content into the second content of the target form, and finally send the recommended script and the second content to the shared party.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computers, in particular to the technical field of artificial intelligence such as big data and deep learning, and specifically to a content sharing method and device, an electronic device, and a storage medium. BACKGROUND

[0002] At present, when a user shares content, the user can configure a corresponding recommended script for the shared content so that the shared object can quickly understand the shared content. However, the operation of configuring a script for shared content by the user is relatively complex and has low flexibility, resulting in low content sharing efficiency. SUMMARY

[0003] The present disclosure aims to at least partially solve one of the technical problems in the related art.

[0004] A content sharing method is provided in an embodiment of the first aspect of the present disclosure, including:

[0005] In a case where a sharing instruction for first content is received, first description information of the first content and second description information of a shared object are determined;

[0006] A recommended script is generated according to at least one of the first description information and the second description information;

[0007] A target form of the first content is determined according to the second description information;

[0008] In a case where the form of the first content is different from the target form, the first content is converted into second content in the target form;

[0009] The recommended script and the second content are sent to the shared object.

[0010] A content sharing device is provided in an embodiment of the second aspect of the present disclosure, including:

[0011] A first determination module is configured to, in a case where a sharing instruction for first content is received, determine first description information of the first content and second description information of a shared object;

[0012] A first generation module is configured to generate a recommended script according to at least one of the first description information and the second description information;

[0013] A second determination module is configured to determine a target form of the first content according to the second description information;

[0014] A conversion module is configured to, in a case where the form of the first content is different from the target form, convert the first content into second content in the target form.

[0015] send the recommendation script and the second content to the shared party.

[0016] A third aspect of the present disclosure provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the content sharing method according to the first aspect of the present disclosure is implemented.

[0017] A fourth aspect of the present disclosure provides a computer readable storage medium, storing a computer program, and when the processor executes the computer program, the content sharing method according to the first aspect of the present disclosure is implemented.

[0018] A fifth aspect of the present disclosure provides a computer program product, comprising a computer program, and when the processor executes the computer program, the content sharing method according to the first aspect of the present disclosure is implemented.

[0019] The content sharing method, device, electronic device and storage medium provided by the present disclosure have the following beneficial effects:

[0020] In the embodiments of the present disclosure, when the sharing instruction for the first content is received, the first description information of the first content and the second description information of the shared party are first determined, and the recommendation script is generated according to at least one of the first description information and the second description information. Then, the target form of the first content is determined according to the second description information, the first content is converted into the second content of the target form when the form of the first content is different from the target form, and finally the recommendation script and the second content are sent to the shared party. Therefore, on the basis of improving the accuracy and efficiency of the generated recommendation script, the efficiency of content sharing is improved.

[0021] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present disclosure, nor to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0022] The accompanying drawings are used to better understand the present scheme and do not limit the present disclosure. Among them:

[0023] Figure 1 A flowchart of a content sharing method provided by an embodiment of the present disclosure;

[0024] Figure 2 A flowchart of a content sharing method provided by an embodiment of the present disclosure;

[0025] Figure 3A flowchart of a content sharing method provided by an embodiment of the present disclosure is shown in FIG. 1.

[0026] Figure 4 A flowchart of a content sharing method provided by an embodiment of the present disclosure is shown in FIG. 1.

[0027] Figure 5 A flowchart of a content sharing method provided by an embodiment of the present disclosure is shown in FIG. 1.

[0028] Figure 6 A flowchart of a content sharing method provided by an embodiment of the present disclosure is shown in FIG. 1.

[0029] Figure 7 A structural diagram of a content sharing device provided by an embodiment of the present disclosure is shown in FIG. 1.

[0030] Figure 8 A block diagram of an exemplary computer device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0031] Exemplary embodiments of the present disclosure are described herein with reference to the accompanying drawings, which are provided to assist in understanding the various details of the embodiments of the present disclosure and to assist in implementing them. It will be apparent that various modifications and changes can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Also, in the following description, descriptions of well-known functions and constructions are omitted for clarity and conciseness.

[0032] The present disclosure relates to the field of artificial intelligence technologies such as big data and deep learning.

[0033] Artificial intelligence (AI) is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.

[0034] Big data refers to a collection of data that cannot be captured, managed and processed within a certain time frame using conventional software tools, and is a massive, high-growth and diversified information asset that requires new processing models to have stronger decision-making, insight-finding and process optimization capabilities.

[0035] Deep learning (DL) is the learning of internal rules and representation levels of sample data, and the information obtained in this learning process is very helpful for the interpretation of data such as text, images and sound. The ultimate goal of deep learning is to enable machines to have analysis and learning capabilities like humans, and to recognize text, images and sound data.

[0036] The collection, storage, use, processing, transmission, provision and disclosure of the user personal information in the technical solutions of the present disclosure comply with relevant laws and regulations and do not violate public order and good customs.

[0037] The content sharing method, device, electronic device and storage medium of the embodiments of the present disclosure are described below with reference to the accompanying drawings.

[0038] Figure 1 A flowchart of a content sharing method provided by the embodiments of the present disclosure is shown.

[0039] As Figure 1 shown, the content sharing method can include the following steps:

[0040] Step 101, in the case of receiving a sharing instruction for the first content, determining the first description information of the first content and the second description information of the shared party.

[0041] Among them, the first content can be any content to be shared. For example, the first content can be a picture book to be shared, etc., and the present disclosure does not limit it.

[0042] It should be noted that the first content can be a content currently generated by the system, or it can also be a content historically generated by the system and stored in a preset database, and the present disclosure does not limit it.

[0043] It should be noted that when the first content is a content currently generated by the system, the system can store the first content in a preset database, and the present disclosure does not limit it.

[0044] Among them, the first description information can be information used to represent the first content. For example, the first description information can be text information summarizing the first content, etc., and the present disclosure does not limit it.

[0045] In some possible implementation forms, in order to improve the accuracy and efficiency of the determined first description information, the first description information can be determined according to the story content associated with the first content, or the first description information can also be determined according to the theme and / or reference document associated with the first content.

[0046] It should be noted that the theme and / or reference document associated with the first content can be used to represent the first content, which can be pre-set, and the present disclosure does not limit it.

[0047] It should be noted that the theme and / or reference document associated with the first content can be used to represent the first content, which can be pre-set, and the present disclosure does not limit it.

[0048] The shared party can be any sharing object of the first content. For example, the shared party can be any social platform, and the present disclosure does not limit the same.

[0049] The second description information can be information indicating the shared party. For example, the second description information can be the name of the shared party, and the present disclosure does not limit the same.

[0050] In the present disclosure, when the sharing instruction for the first content is received, the first description information of the first content and the second description information of the shared party can be determined first, thereby providing a data basis for content sharing.

[0051] In step 102, a recommended script is generated according to at least one of the first description information and the second description information.

[0052] In the present disclosure, after receiving the sharing instruction for the first content, in order to enable the shared party to quickly understand the first content and accelerate the sharing speed of the first content, a recommended script can be configured for the first content. At this time, in order to guarantee the accuracy of the recommended script and the efficiency of generating the recommended script, the recommended script can be generated based on at least one of the first description information of the first content and the second description information of the shared party.

[0053] In step 103, the target form of the first content is determined according to the second description information.

[0054] The target form can be the form of the first content when shared to the shared party. For example, the target form of the first content can be a graphic-text form, a video form, and the like, and the present disclosure does not limit the same.

[0055] It should be noted that the target form of the first content corresponding to the shared party can be different or can be the same, and the present disclosure does not limit the same.

[0056] In the present disclosure, after the second description information is determined, in order to improve the sharing efficiency of the first content, the target form of the first content can be determined based on the second description information of the shared party.

[0057] In step 104, when the form of the first content is different from the target form, the first content is converted into a second content in the target form.

[0058] The second content can be the first content after the form is converted into the target form.

[0059] In the present disclosure, after determining the target form of the first content, in the case where the form of the first content is different from the target form, the first content can be converted into the second content of the target form, providing conditions for improving the sharing speed and efficiency of the first content. For example, the form of the first content is a graphic text form, and the target form is a video form. The first content can be converted into the second content of the video form, and the like. The present disclosure does not limit this.

[0060] Step 105, sending the recommended script and the second content to the shared party.

[0061] In the present disclosure, after determining the recommended script of the first content and converting the first content into the second content of the target form, the recommended script and the second content can be sent to the shared party.

[0062] In the embodiment of the present disclosure, in the case where the sharing instruction for the first content is received, the first description information of the first content and the second description information of the shared party are first determined, and the recommended script is generated according to at least one of the first description information and the second description information. Then, according to the second description information, the target form of the first content is determined, in the case where the form of the first content is different from the target form, the first content is converted into the second content of the target form, and finally the recommended script and the second content are sent to the shared party. Therefore, in the case where the sharing instruction for the content is received, the recommended script and the target form of the content are determined based on the description information of the content and the description information of the shared party, and then the recommended script and the content of the target form are sent to the shared party, thereby realizing the personalized generation of the recommended script, improving the accuracy and efficiency of the generated recommended script, and improving the efficiency of content sharing.

[0063] Figure 2 A flowchart of a content sharing method provided by an embodiment of the present disclosure.

[0064] As shown in the Figure 2 content sharing method can include the following steps:

[0065] Step 201, in the case where the sharing instruction for the first content is received, determining the first description information of the first content and the second description information of the shared party.

[0066] The specific implementation form of step 201 can refer to the detailed description in other embodiments of the present disclosure, and will not be described in detail here.

[0067] Step 202, determining the recommended script style according to at least one of the first description information and the second description information.

[0068] In the present disclosure, after determining the first description information of the first content and the second description information of the sharer, in order to improve the accuracy of the determined recommended script, the recommended script style of the first content can be first determined based on at least one of the first description information and the second description information.

[0069] It should be noted that the first content is different, and the corresponding recommended script style may not be the same, or may also be the same, which is not limited by the present disclosure.

[0070] It should be noted that the sharer is different, and the corresponding recommended script style may not be the same, or may also be the same, which is not limited by the present disclosure.

[0071] Step 203, generating a recommended script based on the recommended script style and the first description information.

[0072] In the present disclosure, after determining the recommended script style of the first content, the prompt word can be first generated based on the recommended script style and the first description information, and then the recommended script is generated by using any model that can generate the recommended script based on the prompt word, thereby improving the accuracy of the generated recommended script. Any model that can generate a recommended script can be a pre-set model of any type and structure, such as a large language model, etc., which is not limited by the present disclosure.

[0073] Step 204, determining the target form of the first content according to the second description information.

[0074] Step 205, in the case where the form of the first content is different from the target form, converting the first content into a second content in the target form.

[0075] Step 206, sending the recommended script and the second content to the sharer.

[0076] The specific implementation form of steps 204 to 206 can refer to the detailed description in other embodiments of the present disclosure, and will not be described in detail here.

[0077] In the embodiments of the present disclosure, in a case where a sharing instruction for the first content is received, first description information of the first content and second description information of the sharing target are determined first, and then a recommended script style is determined according to at least one of the first description information and the second description information, and then a recommended script is generated based on the recommended script style and the first description information, and then a target form of the first content is determined according to the second description information, and in a case where the form of the first content is different from the target form, the first content is converted into second content in the target form, and finally the recommended script and the second content are sent to the sharing target. Therefore, in a case where a sharing instruction for content is received, a recommended script style of the content is determined based on at least one of the description information of the content and the description information of the sharing target, and a recommended script is determined based on the determined recommended script style and the description information of the content, and the recommended script and the content in the target form are sent to the sharing target, thereby improving the efficiency of content sharing on the basis of improving the accuracy and efficiency of the recommended script of the shared content.

[0078] Figure 3 A flowchart of a content sharing method provided by an embodiment of the present disclosure.

[0079] As shown in the Figure 3 content sharing method can include the following steps:

[0080] Step 301, in a case where a sharing instruction for first content is received, first description information of the first content and second description information of the sharing target are determined.

[0081] The specific implementation form of step 301 can refer to the detailed description in other embodiments of the present disclosure, and will not be repeated here.

[0082] Step 302, according to the first description information, the first attribute information of the first type of consumers to which the first content is directed is determined.

[0083] The first type of consumers can be the objects to which the first content is directed. For example, the first type of consumers of the first content can be children, or can also be young people, or can also be old people, etc., which are not limited by the present disclosure.

[0084] The first attribute information can be the style of the recommended script corresponding to the first type of consumers.

[0085] It should be noted that the first attribute information corresponding to the first type of consumers can be different or can also be the same, which is not limited by the present disclosure.

[0086] Step 303, according to the second description information, the recommended script style of the popular content in the sharing target and the second attribute information of the second type of consumers with the highest activity are determined.

[0087] It should be noted that the second type of consumer can be the same as the first type of consumer, or can also be different from the first type of consumer, and the present disclosure does not limit this.

[0088] It should be noted that the second attribute information can be the same as the first attribute information, or can also be different from the first attribute information, and the present disclosure does not limit this.

[0089] It should be noted that the second attribute information can be the same as the recommended script style of the popular content in the shared party, or can also be different, and the present disclosure does not limit this.

[0090] In the present disclosure, after determining the second description information of the shared party, in order to improve the sharing speed of the shared content in the shared party, the recommended script style of the popular content in the shared party and the second attribute information of the second type of consumer with the highest activity can be determined based on the second description information.

[0091] Step 304, determining the recommended script style according to at least one of the first attribute information, the recommended script style of the popular content and the second attribute information.

[0092] In the present disclosure, after determining the first attribute information, the recommended script style of the popular content and the second attribute information, at least one of them can be used to determine the recommended script style of the first content, thereby providing conditions for improving the accuracy of the generated recommended script of the first content.

[0093] Step 305, generating the recommended script based on the recommended script style and the first description information.

[0094] Step 306, determining the target form of the first content according to the second description information.

[0095] Step 307, in the case where the form of the first content is different from the target form, converting the first content into a second content in the target form.

[0096] Step 308, sending the recommended script and the second content to the shared party.

[0097] Among them, the specific implementation form of steps 305 to 308 can refer to the detailed description in other embodiments of the present disclosure, and will not be repeated here.

[0098] In the embodiments of the present disclosure, in a case where a sharing instruction for the first content is received, first, the first description information of the first content and the second description information of the sharing target are determined, and according to the first description information, the first attribute information of the first type of consumers to which the first content is directed is determined, and according to the second description information, the recommendation script style of the popular content in the sharing target and the second attribute information of the second type of consumers with the highest activity are determined, then at least one of the first attribute information, the recommendation script style of the popular content and the second attribute information is used to determine the recommendation script style, and based on the recommendation script style and the first description information, the recommendation script is generated, then according to the second description information, the target form of the first content is determined, in a case where the form of the first content is different from the target form, the first content is converted into the second content in the target form, and finally the recommendation script and the second content are sent to the sharing target. Therefore, in a case where a sharing instruction for content is received, the recommendation script style is determined based on the attribute information of the consumers to which the content is directed, and the recommendation script style of the popular content in the sharing target and the attribute information of the consumers with the highest activity, and the recommendation script is determined based on the recommendation script style, and the recommendation script and the content in the target form are sent to the sharing target, thereby improving the flexibility and accuracy of determining the recommendation script, and improving the efficiency of content sharing.

[0099] Figure 4 A flowchart of a content sharing method provided by an embodiment of the present disclosure.

[0100] As shown in Figure 4 , the content sharing method can include the following steps:

[0101] Step 401, in a case where a sharing instruction for the first content is received, the first description information of the first content and the second description information of the sharing target are determined.

[0102] Step 402, according to at least one of the first description information and the second description information, a recommendation script is generated.

[0103] The specific implementation forms of steps 401 to 402 can refer to the detailed description in other embodiments of the present disclosure, and will not be described in detail here.

[0104] Step 403, according to the second description information, the form of the popular content in the sharing target is determined.

[0105] In the present disclosure, after the second description information of the sharing target is determined, the form of the popular content in the sharing target can be determined based on the second description information, which provides a data basis for improving the accuracy of determining the form of the first content.

[0106] It should be noted that the forms of the popular content corresponding to the shared parties can be different or can be the same. For example, the forms of the popular content corresponding to the shared parties can be the picture-text type or the video type, and the present disclosure does not limit this.

[0107] It should be noted that the number of the popular content in the shared parties can be any number, and the present disclosure does not limit this.

[0108] In step 404, the target form is determined according to the form of the popular content.

[0109] In the present disclosure, after the form of the popular content in the shared parties is determined, the target form of the first content can be determined based on the form of the popular content.

[0110] In some possible implementation forms, in the case where the forms of the popular content are the same, the form of the popular content can be directly determined as the target form, and the present disclosure does not limit this.

[0111] In some possible implementation forms, in the case where the forms of the popular content are different, in order to improve the accuracy of the determined target form and improve the sharing speed of the first content in the shared parties, the form corresponding to the highest frequency can also be determined as the target form, and the present disclosure does not limit this.

[0112] In step 405, in the case where the form of the first content is different from the target form, the first content is converted into a second content in the target form.

[0113] In step 406, the recommended script and the second content are sent to the shared parties.

[0114] The specific implementation forms of steps 405 to 406 can refer to the detailed descriptions in other embodiments of the present disclosure, and will not be described in detail here.

[0115] In the embodiments of the present disclosure, in a case where a sharing instruction for the first content is received, first, the first description information of the first content and the second description information of the shared party are determined, and a recommended script is generated according to at least one of the first description information and the second description information, then the form of the popular content in the shared party is determined according to the second description information, and the target form is determined according to the form of the popular content, in a case where the form of the first content is different from the target form, the first content is converted into the second content in the target form, and finally the recommended script and the second content are sent to the shared party. Therefore, in a case where a sharing instruction for content is received, by generating a recommended script based on the description information of the content and the description information of the shared party, and determining the form of the popular content in the shared party, based on the form of the popular content, the target form of the content is determined, and the recommended script and the content in the target form are sent to the shared party, thereby improving the sharing speed of the shared content in the shared party and improving the efficiency of content sharing.

[0116] Figure 5 A flowchart of a content sharing method provided by an embodiment of the present disclosure.

[0117] As shown in Figure 5 the content sharing method can include the following steps:

[0118] Step 501, in a case where a picture book generation instruction is received, a reference document or a theme contained in the generation instruction is obtained.

[0119] The reference document can be a document referred to when generating the picture book, which can be any pre-set document, and the present disclosure does not limit it.

[0120] The theme can be a theme used to determine the theme of the picture book when generating the picture book, which can be any pre-set theme, and the present disclosure does not limit it.

[0121] In the present disclosure, in a case where a picture book generation instruction is received, in order to improve the accuracy and efficiency of picture book generation, the reference document or the theme contained in the generation instruction can be obtained first.

[0122] Step 502, generating and displaying a reference story based on the reference document and / or theme.

[0123] In the present disclosure, after obtaining the reference document and / or theme contained in the generation instruction, the reference story can be generated and displayed based on a large language model, thereby providing a data basis for improving the accuracy of the generated picture book, and the present disclosure does not limit it.

[0124] Step 503, in a case where a modification instruction for the reference story is received, modifying the reference story based on the modification instruction to obtain a target story.

[0125] The target story can be a final story used for generating the picture book.

[0126] It should be noted that the modification instruction for the reference story can be an instruction for adjusting a word or a sentence in the reference story, or can be an instruction for adjusting the logic of the reference story, or can be an instruction for adjusting the order of sentences in the reference story, and the like, which are not limited in the present disclosure.

[0127] In some possible implementation forms, receiving the modification instruction for the reference story can include any one of the following: receiving a drag instruction for any word or sentence in the reference story; receiving a modification instruction for third description information of the reference story; receiving a modification instruction for any word or sentence in the reference story, which are not limited in the present disclosure.

[0128] The drag instruction can be an instruction for indicating adjustment of the order of any word or sentence in the reference story.

[0129] The third description information can be information used to summarize the content of the reference story. For example, the third description information can be a story summary of the reference story, or a table of contents, and the like, which are not limited in the present disclosure.

[0130] In the present disclosure, in the case of receiving the modification instruction for the reference story, in order to improve the accuracy of the generated target story, the reference story can be modified based on the specific modification instruction to obtain the target story.

[0131] In step 504, the target story is input into a preset text-to-picture model to obtain and store a picture book output by the text-to-picture model.

[0132] The text-to-picture model can be a model used for generating a picture book, which can be any type and structure of model set in advance, which are not limited in the present disclosure.

[0133] In the present disclosure, after obtaining the target story, the target story is input into a preset text-to-picture model to obtain a picture book corresponding to the target story.

[0134] In the embodiments of the present disclosure, in the case that the picture book generation instruction is received, the reference document or the theme contained in the generation instruction is first acquired, and a reference story is generated and displayed based on the reference document and / or the theme. In the case that a modification instruction for the reference story is received, the reference story is modified based on the modification instruction to obtain a target story, and then the target story is input into a preset text-to-picture model to acquire and store a picture book output by the text-to-picture model. Thus, in the case that the picture book generation instruction is received, the reference story is determined based on the reference document and / or the theme, and in the case that the modification instruction for the reference story is received, the reference story is modified to obtain the target story, and the picture book is generated based on the target story and the text-to-picture model, thereby improving the accuracy and reliability of the generated picture book and improving the efficiency of picture book generation.

[0135] Figure 6 A flowchart of a content sharing method provided by an embodiment of the present disclosure.

[0136] As shown in the figure, the content sharing method can include the following steps: Figure 6

[0137] Step 601, in the case that a picture book generation instruction is received, a reference document or a theme contained in the generation instruction is acquired.

[0138] Step 602, a reference story is generated and displayed based on the reference document and / or the theme.

[0139] Step 603, in the case that a modification instruction for the reference story is received, the reference story is modified based on the modification instruction to obtain a target story.

[0140] Step 604, the target story is input into a preset text-to-picture model to acquire and store a picture book output by the text-to-picture model.

[0141] The specific implementation forms of steps 601 to 604 can refer to the detailed descriptions in other embodiments of the present disclosure, and will not be described in detail here.

[0142] Step 605, the picture book is displayed.

[0143] In the present disclosure, after obtaining the picture book generated by the text-to-picture model, the generated picture book can be displayed.

[0144] It should be noted that the form of displaying the picture book can be any form set in advance, which is not limited in the present disclosure.

[0145] Step 606, in the case that an editing instruction for the picture book is received, the picture book is edited and updated based on the editing instruction.

[0146] ​The editing instruction can be any instruction for editing the picture book. For example, the editing instruction can be editing the background color of the picture book, or can also be editing the positions of pictures and texts in the picture book, or can also be editing the text style in the picture book, and the like, which are not limited in the present disclosure.

[0147] In the present disclosure, in the case of receiving the editing instruction for the picture book, the picture book can be edited and updated based on the specific editing instruction, thereby improving the reliability of the generated picture book on the basis of realizing the personalized customization of the generated picture book.

[0148] In the embodiment of the present disclosure, in the case of receiving the picture book generation instruction, the reference document or theme contained in the generation instruction is first acquired, and the reference story is generated and displayed based on the reference document and / or theme. In the case of receiving the modification instruction for the reference story, the target story is obtained by modifying the reference story based on the modification instruction, and then the target story is input into the preset text-to-picture model to acquire and store the picture book output by the text-to-picture model, and the picture book is displayed. In the case of receiving the editing instruction for the picture book, the picture book is edited and updated based on the editing instruction. Therefore, in the case of receiving the picture book generation instruction, the reference story is generated by referring to the reference document and / or theme, and the target story is determined based on the reference story. The picture book is generated and displayed based on the target story and the text-to-picture model. In the case of receiving the editing instruction for the picture book, the picture book is edited and updated, thereby meeting the personalized customization demand of the generated picture book and improving the reliability of the picture book generation.

[0149] In order to realize the above-mentioned embodiments, the present disclosure further provides a content sharing device.

[0150] Figure 7 The content sharing device provided by the embodiment of the present disclosure.

[0151] As shown in Figure 7 The content sharing device 700 includes a first determination module 701, a first generation module 702, a second determination module 703, a conversion module 704, and a sending module 705.

[0152] The first determination module 701 is configured to determine first description information of the first content and second description information of the shared party in the case of receiving a sharing instruction for the first content.

[0153] The first generation module 702 is configured to generate a recommended script according to at least one of the first description information and the second description information.

[0154] The second determination module 703 is configured to determine a target form of the first content according to the second description information.

[0155] The conversion module 704 is configured to convert the first content into second content in the target form when the form of the first content is different from the target form.

[0156] The sending module 705 is configured to send the recommended script and the second content to the shared party.

[0157] In a possible implementation of the present disclosure, the first determination module 701 is specifically configured to:

[0158] determine the first description information according to story content associated with the first content; or

[0159] determine the first description information according to a theme and / or a reference document associated with the first content.

[0160] In a possible implementation of the present disclosure, the first generation module 702 is specifically configured to:

[0161] determine the recommended script style according to at least one of the first description information and the second description information;

[0162] generate the recommended script based on the recommended script style and the first description information.

[0163] In a possible implementation of the present disclosure, the first generation module 702 is further configured to:

[0164] determine first attribute information of a first type of consumer to which the first content is directed according to the first description information;

[0165] determine second attribute information of a second type of consumer with the highest activity of a recommended script style of a popular content in the shared party according to the second description information;

[0166] determine the recommended script style according to at least one of the first attribute information, the recommended script style of the popular content, and the second attribute information.

[0167] In a possible implementation of the present disclosure, the second determination module 703 is specifically configured to:

[0168] determine a form of a popular content in the shared party according to the second description information;

[0169] determine the target form according to the form of the popular content.

[0170] In a possible implementation of the present disclosure, the second determination module 703 is further configured to:

[0171] determine the form of the popular content as the target form when the form of the popular content is the same; or

[0172] In the case that the forms of the popular content are different, the form with the highest corresponding frequency is determined as the target form.

[0173] In a possible implementation of the present disclosure, the method further includes:

[0174] The first obtaining module (not shown in the figure) is configured to, in the case that the picture book generation instruction is received, obtain the reference document or the theme contained in the generation instruction;

[0175] The second generation module (not shown in the figure) is configured to generate and display the reference story based on the reference document and / or the theme;

[0176] The modification module (not shown in the figure) is configured to, in the case that the modification instruction for the reference story is received, modify the reference story based on the modification instruction to obtain the target story;

[0177] The second obtaining module (not shown in the figure) is configured to input the target story into a preset text-to-picture model, and obtain and store the picture book output by the text-to-picture model.

[0178] In a possible implementation of the present disclosure, the modification instruction for the reference story is received, including any of the following:

[0179] The drag instruction for any word or sentence in the reference story is received;

[0180] The modification instruction for the third description information of the reference story is received;

[0181] The modification instruction for any word or sentence in the reference story is received.

[0182] In a possible implementation of the present disclosure, after the picture book output by the text-to-picture model is obtained, the method further includes:

[0183] The display module (not shown in the figure) is configured to display the picture book;

[0184] The editing module (not shown in the figure) is configured to, in the case that the editing instruction for the picture book is received, edit and update the picture book based on the editing instruction.

[0185] The functions and specific implementation principles of the above-mentioned modules in the embodiments of the present disclosure can refer to the above-mentioned method embodiments, which will not be described here.

[0186] In the embodiments of the present disclosure, in a case where a sharing instruction for the first content is received, first, first description information of the first content and second description information of the shared party are determined, and a recommended script is generated according to at least one of the first description information and the second description information, then a target form of the first content is determined according to the second description information, in a case where the form of the first content is different from the target form, the first content is converted into second content in the target form, and finally the recommended script and the second content are sent to the shared party. Therefore, in a case where a sharing instruction for content is received, the recommended script and the target form of the content are determined based on the description information of the content and the description information of the shared party, and then the recommended script and the content in the target form are sent to the shared party, thereby realizing personalized generation of the recommended script, improving the accuracy and efficiency of the generated recommended script, and improving the efficiency of content sharing.

[0187] According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0188] Figure 8 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.

[0189] As shown in Figure 8 The device 800 includes a computing unit 801 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0190] A plurality of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a magnetic disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0191] The computing unit 801 can be various general and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 801 performs various methods and processes described above, such as the content sharing method. For example, in some embodiments, the content sharing method can be implemented as a computer software program, which is tangibly embodied in a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded onto the RAM 803 and executed by the computing unit 801, one or more steps of the content sharing method described above can be performed. Alternatively, in other embodiments, the computing unit 801 can be configured to perform the content sharing method by any other appropriate means, such as by means of firmware.

[0192] Various implementations of the systems and techniques described above herein can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0193] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable content sharing apparatus to produce a machine, such that the program code, when executed by the processor or controller, causes the machine to perform the functions / acts specified in the flowcharts and / or block diagrams. The program code can execute entirely on a machine, partly on a machine, as a stand-alone software package, partly on a machine and partly on a remote machine or entirely on a remote machine or server.

[0194] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0195] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0196] The systems and techniques described here can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here, or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0197] The computer system can include clients and servers. The clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server can arise by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS (Virtual Private Server, or VPS for short) services. The server can also be a server of a distributed system, or a server combined with a blockchain.

[0198] It should be understood that various forms of flow shown above can be used with reordering, additions, or removals of steps. For example, steps recited in the disclosure can be executed in parallel, in serial, or in different orders, unless otherwise specifically noted in the disclosure, and are not limited herein in that regard.

[0199] In addition, the terms "first", "second", etc. are used herein only to describe various steps in a method, process, or algorithm, and are not construed as indicating or implying relative importance or a required order that must exist between or among terms so denoted. As such, features having a "first", "second", etc. designation can implicitly or explicitly include at least one of the features so designated. In the description of the disclosure, the meaning of "a plurality of" is at least two, for example, two, three, etc., unless otherwise specifically defined. In the description of the disclosure, the words "if" and "when" can be interpreted as "upon" or "when" or "in response to determining" or "in the case of".

[0200] The above detailed description does not limit the scope of the disclosure. Various modifications, combinations, sub-combinations and alternatives can be made to the detailed description. Any modification, equivalent replacement and improvement etc. made within the spirit and principle of the disclosure shall be included in the scope of the disclosure.

Claims

1. A content sharing method, comprising: Upon receiving a sharing instruction for the first content, determine the first description information of the first content and the second description information of the recipient; Based on the first description information, the first attribute information of the first type of consumer targeted by the first content is determined, the first type of consumer is the target of the first content, and the first attribute information is the style of the recommendation copy corresponding to the first type of consumer; Based on the second description information, determine the recommendation copy style of popular content among the shared parties and the second attribute information of the second type of consumers with the highest activity level; The recommended copywriting style is determined based on at least one of the first attribute information, the recommended copywriting style of the popular content, and the second attribute information; Based on the recommended copywriting style and the first descriptive information, a recommended copywriting is generated; Based on the second description information, determine the target form of the first content; If the form of the first content differs from the target form, the first content is converted into the second content in the target form; The recommended text and the second content are sent to the recipient.

2. The method as described in claim 1, wherein, The first descriptive information for determining the first content includes: The first descriptive information is determined based on the story content associated with the first content; or... The first descriptive information is determined based on the topic and / or reference documents associated with the first content.

3. The method as described in any one of claims 1-2, wherein, Determining the target form of the first content based on the second description information includes: Based on the second description information, determine the form of the popular content in the shared party; The target format is determined based on the format of the popular content.

4. The method of claim 3, wherein, Determining the target format based on the format of the popular content includes: If the popular content has the same format, the format of the popular content will be determined as the target format; or, If the popular content has different formats, the format with the highest frequency will be determined as the target format.

5. The method as described in any one of claims 1-2, wherein, The method further includes: Upon receiving a picture book generation instruction, retrieve the reference documents or themes contained in the generation instruction; Based on the aforementioned reference documents and / or topics, generate and display reference stories; Upon receiving a modification instruction for the reference story, the reference story is modified based on the modification instruction to obtain the target story; Input the target story into a preset text-based image model, and obtain and store the picture book output by the text-based image model.

6. The method of claim 5, wherein, The receipt of modification instructions for the reference story includes any of the following: Receive a drag command for any word or phrase in the reference story; Received a modification instruction for the third description information of the reference story; A modification instruction was received for any word or phrase in the reference story.

7. The method of claim 5, wherein, After obtaining the picture book output by the textual image model, the process also includes: Display the picture book; Upon receiving an editing instruction for the picture book, the picture book is edited and updated based on the editing instruction.

8. A content sharing device, wherein, The device includes: The first determining module is used to determine, upon receiving a sharing instruction for the first content, the first description information of the first content and the second description information of the recipient; A first generation module is configured to: determine, based on the first description information, first attribute information of a first type of consumer for which the first content is targeted, wherein the first type of consumer is the target audience of the first content, and the first attribute information is the style of the recommendation copy corresponding to the first type of consumer; determine, based on the second description information, the recommendation copy style of popular content among the shared users and the second attribute information of the second type of consumer with the highest activity level; determine the recommendation copy style based on at least one of the first attribute information, the recommendation copy style of the popular content, and the second attribute information; and generate recommendation copy based on the recommendation copy style and the first description information. The second determining module is used to determine the target form of the first content based on the second description information; A conversion module is used to convert the first content into a second content in the target form when the form of the first content is different from the target form. The sending module is used to send the recommended text and the second content to the recipient.

9. The apparatus of claim 8, wherein, The first determining module is specifically used for: The first descriptive information is determined based on the story content associated with the first content; or... The first descriptive information is determined based on the topic and / or reference documents associated with the first content.

10. The apparatus according to any one of claims 8-9, wherein, The second determining module is specifically used for: Based on the second description information, determine the form of the popular content in the shared party; The target format is determined based on the format of the popular content.

11. The apparatus of claim 10, wherein, The second determining module is further configured to: If the popular content has the same format, the format of the popular content will be determined as the target format; or, If the popular content has different formats, the format with the highest frequency will be determined as the target format.

12. The apparatus according to any one of claims 8-9, wherein, The device further includes: The first acquisition module is used to acquire the reference documents or themes contained in the picture book generation instruction when a picture book generation instruction is received. The second generation module is used to generate and display reference stories based on the reference documents and / or topics; The modification module is used to modify the reference story to obtain the target story based on the modification instruction received for the reference story. The second acquisition module is used to input the target story into a preset text-to-image model, acquire and store the picture book output by the text-to-image model.

13. The apparatus of claim 12, wherein, The receipt of modification instructions for the reference story includes any of the following: Receive a drag command for any word or phrase in the reference story; Received a modification instruction for the third description information of the reference story; A modification instruction was received for any word or phrase in the reference story.

14. The apparatus of claim 12, wherein, After obtaining the picture book output by the textual image model, the process also includes: The display module is used to display the picture book; The editing module is used to edit and update the picture book based on the editing instructions received.

15. An electronic device, characterized in that, include: At least one processor; And, a memory communicatively connected to the at least one processor; The memory stores instructions that may be executed by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the method of any one of claims 1-7.

16. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-7.

17. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Interactive story picture book generation method and device, electronic equipment and storage medium

    CN117877052A