Content generation method and device, electronic equipment and storage medium
By generating a thumbnail container in the browser or instant messaging tool, the content summary generated by the smart partner is displayed, which solves the problem of user inconvenience, realizes the function of directly viewing the summary content in the thumbnail container, and improves the user experience.
Patent Information
- Application Number
- CN202410692301.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-17
AI Technical Summary
In browsers or instant messaging tools, users need to frequently open links to view content, resulting in inconvenient operations, and it is difficult with existing technology to directly display summary or summary content generated by smart partners in thumbnail containers.
Provide a content generation method and device, by receiving a link of the first content on the display interface, and generating a thumbnail container at its associated location, and displaying in the container the second content generated by the intelligent partner based on the first content creation, including a summary , summaries, or polished content that users can view without opening the original content.
It simplifies user operations, allows viewing summary content in a thumbnail container, reduces user interaction steps, improves user experience, and provides quick summaries through content generated by smart partners to meet users' needs for detailed content.
Smart Images

Figure CN118656045A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a content generation method, device, electronic device and storage medium. Background Art
[0002] Sometimes links are inserted into browsers or instant messaging tools. Links are often parsed to generate thumbnails. Users can view the content pointed to by the links by clicking on the links or thumbnails. Summary of the invention
[0003] The present disclosure provides a content generation method, device, electronic device and storage medium.
[0004] The present disclosure adopts the following technical solutions.
[0005] In some embodiments, the present disclosure provides a content generation method, including:
[0006] A first link to a first content is received on a display interface; a thumbnail container is generated at an associated position of the first link and second content is displayed in the thumbnail container, wherein the first link is a link pointing to the first content, and the second content is content created and generated by a smart partner based on the first content.
[0007] In some embodiments, the present disclosure provides a content generation device, including:
[0008] A combining unit, configured to receive a first link of a first content in a display interface;
[0009] A control unit is used to generate a thumbnail container at an associated position of the first link and display the second content in the thumbnail container, wherein the first link is a link pointing to the first content, and the second content is content created and generated by the smart partner based on the first content.
[0010] In some embodiments, the present disclosure provides an electronic device, comprising: at least one memory and at least one processor;
[0011] The memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above method.
[0012] In some embodiments, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and when the program code is executed by a processor, the processor is prompted to perform the above method.
[0013] The content generation method provided by the embodiment of the present disclosure receives a first link of a first content in a display interface, generates a thumbnail container at a location associated with the first link, and displays a second content in the thumbnail container, wherein the first link is a link pointing to the first content, and the second content is content created and generated by an intelligent partner based on the first content. The present disclosure can facilitate users to view the second content in the thumbnail container. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0015] Figure 1 It is a flowchart of the content generation method of the embodiment of the present disclosure.
[0016] Figures 2 to 9 It is a schematic diagram of a display interface of an embodiment of the present disclosure.
[0017] Fig.10 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0018] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0019] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0020] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0021] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0022] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0023] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0024] It should be understood that the various steps described in the method embodiments of the present disclosure can be performed in sequence and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0025] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0026] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0027] It should be noted that the modification of “one” mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as “one or more” unless otherwise clearly indicated in the context.
[0028] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0029] The solution provided by the embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0030] Links can be displayed in a web page displayed in a browser or in an instant messaging session interface. Links are usually parsed to generate thumbnails and displayed around the links. Users can view the content pointed to by the links by clicking on the links or thumbnails.
[0031] like Figure 1 As shown, Figure 1Detailed description of the invention The method for generating a summary according to an embodiment of the present invention includes the following steps.
[0032] S11. Receive a first link of a first content in a display interface.
[0033] S12: Generate a thumbnail container at a location associated with the first link and display the second content in the thumbnail container.
[0034] In some embodiments, the method proposed in the present disclosure can be used in electronic devices such as terminals or servers. The display interface can be a web page or a conversation interface in an instant messaging software that displays sent and received messages. The first link is a link to the first content. When the first link is displayed on the display interface, the name of the content executed by the first link may be displayed instead of the address in the first link. Figure 2 As shown, it schematically shows a display interface, which is a content interface of an online document (another document different from the first document) displayed in a web page, and a first link is provided in the content interface, and the first link is a link to a first document (here, the first document is the first content), and the first link is displayed in the content interface with the name of the first document. The first content can be a document, a web page, or a video, etc. A thumbnail container will be displayed automatically or when certain conditions are met at the associated position of the first link, such as Figure 3 As shown, it can be in the control mark ( Figure 3 When the hand symbol in the image hovers over the first link, the thumbnail container is displayed. At this time, the thumbnail container is a floating window. Figure 7 As shown, the first link is located in the message sent or received in the conversation interface, and the first link is displayed in the conversation interface ( Figure 7 When the first document in the first link is found, a thumbnail container is automatically generated. In this case, the thumbnail container may be a card. The associated position of the first link may be the side of the first link. A thumbnail of the first content may be displayed in the thumbnail container. Figure 3 and Figure 7 As shown, the thumbnail may be content in the first content, for example, may be a portion of content at the front of the first content, and the amount of content displayed in the thumbnail may depend on the size of the thumbnail container. The amount of content of the thumbnail displayed in the thumbnail container may be adjusted by adjusting the size of the thumbnail container. When displaying thumbnails in a thumbnail container, an indicator indicating that the thumbnail is currently displayed may be displayed in the thumbnail container.
[0035] In some embodiments, the smart partner may be an artificial intelligence program, and the second content may be generated by processing the first content through the artificial intelligence program. The second content is different from the thumbnail of the first content. The second content may be the content after the first content is polished, the content after the first content is rewritten, the summary of the first content, and other content created and generated based on the first content. Taking the second content as a summary of the first content as an example, the second content may include: a summary of the first content, key points extraction, and other content. The second content may be automatically acquired or acquired after certain conditions are met. The second content will be displayed in a thumbnail container. In some embodiments, when displaying the second content, the thumbnail of the first content may be stopped from being displayed in the thumbnail container, and the second content may be displayed in the area where the thumbnail was originally displayed. Specifically, the thumbnail of the first content may be stopped from being displayed, and then the second content may be displayed. In other embodiments, two sub-interfaces and corresponding identifiers may be provided in the thumbnail container. The names of the identifiers may be thumbnail and summary to facilitate user distinction. One sub-interface is used to display the thumbnail of the first content, and the other sub-interface is used to display the second content. In this way, the thumbnail and summary of the first content can be viewed separately in the thumbnail container, such as Figure 4 and Figure 8 As shown, when the second content is displayed, an indicator indicating that the second content is being obtained may be displayed in the thumbnail container ( Figure 4 In the "Summary", Figure 8 In some embodiments, when the second content is a summary, when the second content is displayed in the thumbnail container, an indicator indicating that the summary is currently displayed in the thumbnail container may be displayed ( Figure 5 "Smart Partner Summarizes for You" Fig. 9 In some embodiments, the thumbnail container may not be able to fully display the second content due to size reasons. In this case, a sliding button may be provided in the thumbnail container to slide and view the second content. In some embodiments, a copy control may be provided in the thumbnail container, and the second content (including the undisplayed second content) may be copied by triggering the copy control.
[0036] In some embodiments of the present disclosure, a method is proposed to support displaying a second content in a thumbnail container. When a user views a first link in a web page or a conversation interface, in the related art, when the user wants to obtain the second content, he often needs to open the first link to view the first content, and then copy the first content to the program for summarization to process and generate the second content, which causes inconvenience in use. In some embodiments of the present disclosure, it is supported to view the second content in a thumbnail container, and the user can view the second content without opening the first link to view the first content and performing operations such as copying, thereby reducing the user's operations. In addition, in the present disclosure, the second content is displayed in a thumbnail container, and when displayed, the thumbnail of the first content may be displayed in the thumbnail container first, and then the second content. Therefore, the user can see the thumbnail of the first content first, and then the second content, and the user can easily compare the thumbnail and the summary. In the embodiment of the present disclosure, considering that the user may be interested in the second content when viewing the thumbnail of the first content, the second content is displayed in the thumbnail container, so as to facilitate the user. It should be noted that in some embodiments of the present disclosure, the second content is displayed after the thumbnail of the first content is displayed, rather than directly displaying the second content. This ensures that the user can view the thumbnail and prevents the user from mistakenly viewing the second content as a thumbnail.
[0037] In some embodiments of the present disclosure, displaying a second content in a thumbnail container includes: in response to the configuration of a first content strategy, automatically executing the step of creating the second content by a smart partner based on the first content, and displaying the second content; or, in response to the configuration of a second content strategy, displaying a first control in the thumbnail container, and in response to a first operation event on the first control, executing the step of creating the second content by a smart partner based on the first content, and displaying the second content; or, displaying the second content in the thumbnail container includes: in response to the configuration of the first content strategy and the type of the first link is a preset type, executing the step of creating the second content by a smart partner based on the first content, and displaying the second content; or, in response to the configuration of the second content strategy or the type of the first link is not a preset type, displaying a first control in the thumbnail container, and in response to a first operation event on the first control, executing the step of creating the second content by a smart partner based on the first content, and displaying the second content.
[0038] In some embodiments, the first content strategy and the second content strategy can be set by an enabling control. When the enabling control is in the first state, the first content strategy is configured, and when the enabling control is in the second state, the second content strategy is configured. The first content strategy and the second content strategy are mutually exclusive, and only one of the content strategies can be configured. The enabling control is used to set whether to automatically display the second content corresponding to the thumbnail in the thumbnail container. Figure 6 As shown, it schematically shows the setting interface where the enabling control is located, wherein the "Document Thumbnail Display Summary" is an enabling control, and the first content policy may be the content policy configured when the enabling control is in an open state (i.e., the first state), and the second content policy may be the content policy configured when the enabling control is in a closed state (i.e., the second state). In some embodiments, when the enabling control is in the first state, it may be that after the thumbnail is displayed in the thumbnail container by default, the second content will be automatically created, and then the second content will be displayed in the thumbnail container. In some embodiments, when the enabling control is in the second state, the second content will not be automatically displayed after the thumbnail is displayed in the thumbnail container, but the first control will be displayed, and the second content will be created and displayed after the first control is triggered. As shown in FIG. Figure 3 and Figure 7 As shown, Figure 3 The "Summary of the Full Text" and Figure 7 The "Turn on smart summary" in the dialog box is the first control, which is triggered by clicking or the like. In some embodiments, the second content cannot be generated for all types of content, so it is necessary to determine the type of the first link. The type of the first link indicates the type of the first content. In some embodiments, links of preset types may include document links, and links that do not belong to the preset types may include: text anchor links, comment links, and word-marking sharing links. Therefore, in some embodiments, the first content is not a comment or word-marking selected content.
[0039] In some embodiments of the present disclosure, the first control is a control that acquires the second content after being triggered, and the first operation event on the first control includes: a triggering operation on the first control. Figure 3 As shown, the second content may be created by the smart partner by clicking the first control "Summarize the full text" in the thumbnail container.
[0040] In some embodiments of the present disclosure, the first control is a control that configures a first content policy after being triggered; the first operation event on the first control includes: a triggering operation on the first control to configure a first content policy. Figure 7 As shown, the first control is "Turn on smart summary". The enabling control can be set to the first state by clicking or the like, thereby configuring the content strategy as the first content strategy. Thereafter, when the thumbnail container of other content is displayed, the second content of the other content will be automatically created and displayed.
[0041] In some embodiments of the present disclosure, the first control is a control that enters a content policy setting interface after being triggered; the first operation event on the first control includes: the triggering operation on the first control enters the setting interface, and the content policy is configured as the first content policy in the setting interface. In some embodiments, the first control may also be an entrance to the setting interface, and the setting interface is entered by triggering the first control, and the content policy is configured by adjusting the state of the enabling control. After the user sets the enabling control to the first state, the content policy is configured as the first content policy, and the second content is created and displayed.
[0042] In some embodiments of the present disclosure, before displaying the second content in the thumbnail container, it also includes: determining the current user's authority to the first content, and in response to the current user having preset authority to the first content, executing the step of displaying the second content in the thumbnail container, or, in response to the current user not having preset authority to the first content, not executing the step of displaying the second content in the thumbnail container.
[0043] In some embodiments, the preset permissions include read permissions and other permissions higher than read permissions. In some embodiments, the second content, or the thumbnail of the first content and the second content will expose the first content, so viewing the thumbnail of the first content and / or the second content requires at least read permission for the first content. Therefore, before displaying the second content and / or the thumbnail of the first content, it is necessary to determine whether the current user has the preset permission for the first content. If the current user does not have the preset permission for the first content, the thumbnail of the first content and the second content will not be displayed in the thumbnail container, and a prompt message indicating insufficient permission can be displayed in the thumbnail.
[0044] In some embodiments of the present disclosure, before displaying the second content in the thumbnail container, the step of: determining the content volume of the first content, and in response to the content of the first content being less than a preset content volume, not performing the step of displaying the second content in the thumbnail container. In some embodiments, when the content volume of the first content itself is very small, it is not suitable for summarization. For example, the preset content volume can be 150 words. When the content volume of the first content is less than 150 words, the first content is not re-created (for example, summarized). Therefore, at this time, the first content is too small, and further re-creation is meaningless. The preset content volume can be the average content volume displayed by the thumbnail container at one time.
[0045] In some embodiments of the present disclosure, a smart partner creates and generates second content based on the first content, including: determining whether there is a cache of the second content; in response to the existence of a cache of the second content, obtaining the cached second content; or, in response to the absence of a cache of the second content, generating the second content based on the first content by the smart partner.
[0046] In some embodiments, for any content, after the summary of the content is generated, the summary of the content will be cached. After the second content is generated, the second content will be cached. When the smart partner creates and generates the second content based on the first content, it first searches the cache space to see if there is a cache of the second content. If there is, the cache of the second content is directly obtained. If not, the smart partner will create and generate the second content based on the first content.
[0047] In some embodiments, in the absence of a cache of the second content, displaying the second content in the thumbnail container includes: when generating the second content, streaming outputting the generated second content, or, when generating the second content, streaming outputting the generated second content and displaying an identifier indicating that the second content is being generated.
[0048] In some embodiments, in the absence of a cache of the second content, the second content is created and generated by the smart partner and streamed to the thumbnail container. Streaming output means outputting while being generated, such as Figure 4 and Figure 5 As shown, it shows the gradual streaming output of the second content, and the second content in the thumbnail container gradually increases. In some embodiments, taking the second content as a summary as an example, a summary of all the first content may be generated and displayed. In other embodiments, a second content with x words may be generated and displayed, where x words is the number of words that can be displayed in the thumbnail container.
[0049] In some embodiments of the present disclosure, in response to a mention of the first content or a display of a thumbnail of the first content, the second content is generated and cached. In some embodiments, the first content may be mentioned in a conversation interface, in a document, or in a comment, and the mention may be in the form of insertion or reference. If the first content is mentioned or its thumbnail is displayed, the user is likely to want to know about the second content, so the second content is created and generated in advance by the smart partner and can be cached, so that the second content can be quickly obtained when the user wants to view it.
[0050] In some embodiments of the present disclosure, in response to the first content being updated and a preset time period having passed since the last update, the second content is updated based on the first content after the last update. In some embodiments, when the second content already exists, when the first content is updated and a preset time period (e.g., 30 minutes) has passed since the last update, this indicates that the user has completed the update, and thus the corresponding update to the second content is avoided. By setting a preset time period, the second content is avoided from being updated when the user has not yet completed the update of the first content.
[0051] In some embodiments of the present disclosure, receiving a first link in a display interface and displaying a thumbnail container at a location associated with the first link includes: displaying the first link in the display interface; and displaying the thumbnail container having a thumbnail of the first content in response to a first operation on the first link in the content interface. Figure 3 As shown, the display interface may be a content interface of an online document, and a first link ( Figure 3 By hovering the control mark over the first link, the thumbnail container can be displayed in the form of a floating window.
[0052] In some embodiments of the present disclosure, receiving a first link in a display interface and displaying a thumbnail container at a location associated with the first link includes: the display interface is a conversation interface, and in response to the first link being sent to the conversation interface, the first link and the thumbnail container having a thumbnail of the first content are displayed in the conversation interface. Figure 7 As shown, a conversation message is sent or received in the conversation interface, and the first link may be a link in the conversation message. After the link is sent to the conversation interface, a thumbnail is automatically generated and displayed.
[0053] In some embodiments of the present disclosure, the first content is a document in a conversation message, or the first document is a reference document in a web page. The web page may be a web page where an online document is located.
[0054] In some embodiments, such as Fig. 9 As shown, the second content may be created and displayed by an intelligent partner (artificial intelligence). After the second content is displayed in the thumbnail container, a control for continuing the conversation with the intelligent partner may be displayed in the thumbnail container ( Fig. 9 You can send other instructions to the smart partner by triggering this control.
[0055] The present disclosure also provides a content generation device, comprising:
[0056] A receiving unit, configured to receive a first link of a first content in a display interface;
[0057] A control unit is used to generate a thumbnail container at an associated position of the first link and display second content in the thumbnail container, wherein the first link is a link pointing to the first content, and the second content is content created and generated by an intelligent partner based on the first content.
[0058] In some embodiments, generating a thumbnail container at a location associated with the first link and displaying the second content in the thumbnail container includes: first displaying a thumbnail of the first content in the thumbnail container and then displaying the second content.
[0059] In some embodiments, displaying the second content in the thumbnail container includes: in response to being configured with a first content strategy, automatically executing the step of creating and generating the second content by an intelligent partner based on the first content, and displaying the second content; or, in response to being configured with a second content strategy, displaying a first control in the thumbnail container, and in response to a first operation event on the first control, executing the step of creating and generating the second content by an intelligent partner based on the first content, and displaying the second content.
[0060] In some embodiments, displaying the second content in the thumbnail container includes: in response to the configuration of a first content strategy and the type of the first link being a preset type, executing a step of creating and generating the second content by a smart partner based on the first content, and displaying the second content; or, in response to the configuration of a second content strategy or the type of the first link being not a preset type, displaying a first control in the thumbnail container, and in response to a first operation event on the first control, executing a step of creating and generating the second content by a smart partner based on the first content, and displaying the second content.
[0061] In some embodiments, the first control is a control that obtains the second content after being triggered, and the first operation event on the first control includes: a triggering operation on the first control; or, the first control is a control that configures a first content strategy after being triggered; the first operation event on the first control includes: a triggering operation on the first control to configure the first content strategy; or, the first control is a control that enters a setting interface of a content strategy after being triggered; the first operation event on the first control includes: a triggering operation on the first control to enter the setting interface, and configuring the content strategy as the first content strategy in the setting interface.
[0062] In some embodiments, the control unit is further used to, before displaying the second content in the thumbnail container, determine the current user's authority over the first content, and in response to the current user having preset authority over the first content, execute the step of displaying the second content in the thumbnail container, or, in response to the current user not having preset authority over the first content, not execute the step of displaying the second content in the thumbnail container.
[0063] In some embodiments, the control unit is further used to determine the content volume of the first content before displaying the second content in the thumbnail container, and in response to the content volume of the first content being less than a preset content volume, not executing the step of displaying the second content in the thumbnail container.
[0064] In some embodiments, the smart partner creates and generates the second content based on the first content, including: determining whether there is a cache of the second content; in response to the existence of the cache of the second content, obtaining the cached second content; or, in response to the absence of the cache of the second content, generating the second content by the smart partner.
[0065] In some embodiments, in the absence of a cache of the second content, displaying the second content in the thumbnail container includes: when generating the second content, streaming outputting the generated second content, or, when generating the second content, streaming outputting the generated second content and displaying an identifier indicating that the second content is being generated.
[0066] In some embodiments, the control unit is further configured to generate and cache the second content in response to a thumbnail that mentions the first content or displays the first content.
[0067] In some embodiments, the control unit is further configured to, in response to the first content being updated and a preset time period having passed since the last update, update the second content based on the first content after the last update.
[0068] In some embodiments, the second content is a summary, rewritten or polished content of the first content. In some embodiments, the first content is a document in a conversation message, or the first document is a reference document in a web page.
[0069] In some embodiments, the control unit is used to first display the thumbnail of the first content in the thumbnail container, then stop displaying the thumbnail of the first content in the thumbnail container, and display the second content in the area where the thumbnail was originally displayed.
[0070] In some embodiments, the control unit is further configured to cache the second content after generating the second content.
[0071] For the embodiments of the device, since they basically correspond to the method embodiments, the relevant parts refer to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the modules described as separation modules may or may not be separated. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the present embodiment. Those of ordinary skill in the art can understand and implement without paying creative work.
[0072] The method and device of the present disclosure are described above based on the embodiments and application examples. In addition, the present disclosure also provides an electronic device and a computer-readable storage medium, which are described below.
[0073] Reference below Fig.10 , which shows a schematic diagram of the structure of an electronic device (such as a terminal device or a server) 800 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in the figure is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present disclosure.
[0074] The electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0075] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although the electronic device 800 with various devices is shown in the figure, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.
[0076] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0077] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0078] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with 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"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0079] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0080] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method of the present disclosure.
[0081] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0082] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0083] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0084] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0085] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0086] According to one or more embodiments of the present disclosure, there is provided a content generation method, comprising:
[0087] Receiving a first link to first content in a display interface;
[0088] A thumbnail container is generated at the associated position of the first link and second content is displayed in the thumbnail container, wherein the first link is a link pointing to the first content, and the second content is content created and generated by the smart partner based on the first content.
[0089] According to one or more embodiments of the present disclosure, a content generation method is provided, which generates a thumbnail container at a location associated with the first link and displays second content in the thumbnail container, including:
[0090] In the thumbnail container, the thumbnail of the first content is displayed first, and then the second content is displayed.
[0091] According to one or more embodiments of the present disclosure, a content generation method is provided, wherein displaying second content in the thumbnail container includes:
[0092] In response to being configured with a first content strategy, automatically executing the step of creating and generating second content based on the first content by an intelligent partner, and displaying the second content; or,
[0093] In response to being configured with a second content strategy, a first control is displayed in the thumbnail container, and in response to a first operation event on the first control, a step of creating and generating second content based on the first content by an intelligent partner is executed, and the second content is displayed;
[0094] Alternatively, the displaying of the second content in the thumbnail container includes: in response to the configuration of the first content strategy and the type of the first link being a preset type, executing a step of creating and generating the second content by the smart partner based on the first content, and displaying the second content; or, in response to the configuration of the second content strategy or the type of the first link being not a preset type, displaying a first control in the thumbnail container, and in response to a first operation event on the first control, executing a step of creating and generating the second content by the smart partner based on the first content, and displaying the second content.
[0095] According to one or more embodiments of the present disclosure, a content generation method is provided, wherein the first control is a control that acquires the second content after being triggered, and the first operation event on the first control includes: a triggering operation on the first control; or
[0096] The first control is a control that configures a first content strategy after being triggered; the first operation event on the first control includes: a triggering operation on the first control to configure the first content strategy; or
[0097] The first control is a control that enters a content policy setting interface after being triggered; the first operation event on the first control includes: a triggering operation on the first control enters the setting interface, and the content policy is configured as the first content policy on the setting interface.
[0098] According to one or more embodiments of the present disclosure, a content generation method is provided, which, before displaying the second content in the thumbnail container, also includes: determining the authority of the current user to the first content, and in response to the current user having the preset authority to the first content, executing the step of displaying the second content in the thumbnail container, or, in response to the current user not having the preset authority to the first content, not executing the step of displaying the second content in the thumbnail container.
[0099] According to one or more embodiments of the present disclosure, a content generation method is provided, which, before displaying the second content in the thumbnail container, also includes: determining the content amount of the first content, and in response to the content of the first content being less than a preset content amount, not executing the step of displaying the second content in the thumbnail container.
[0100] According to one or more embodiments of the present disclosure, a content generation method is provided, wherein an intelligent partner generates second content based on the first content creation, including:
[0101] Determining whether there is a cache of the second content;
[0102] In response to the existence of a cache of the second content, acquiring the cached second content; or,
[0103] In response to the absence of a cache of the second content, the second content is generated by the smart partner.
[0104] According to one or more embodiments of the present disclosure, a content generation method is provided, wherein in the absence of a cache of the second content, the second content is displayed in the thumbnail container, comprising:
[0105] When the second content is generated, the generated second content is streamed and output; or, when the second content is generated, the generated second content is streamed and output and an indicator indicating that the second content is being generated is displayed.
[0106] According to one or more embodiments of the present disclosure, a content generation method is provided, further comprising at least one of the following:
[0107] In response to a thumbnail that has mentioned the first content or displayed the first content, generating and caching the second content;
[0108] In response to the first content being updated and a preset time period having passed since the last update, the second content is updated based on the first content after the last update.
[0109] According to one or more embodiments of the present disclosure, a content generation method is provided, further comprising at least one of the following:
[0110] The second content is a summary, rewritten or polished version of the first content;
[0111] The first content is a document in a conversation message, or the first document is a reference document in a web page;
[0112] Firstly display the thumbnail of the first content in the thumbnail container, then stop displaying the thumbnail of the first content in the thumbnail container, and display the second content in the area where the thumbnail was originally displayed;
[0113] The second content is cached after being generated.
[0114] According to one or more embodiments of the present disclosure, there is provided a content generating device, including:
[0115] A receiving unit, configured to receive a first link of a first content in a display interface;
[0116] A control unit is used to generate a thumbnail container at an associated position of the first link and display second content in the thumbnail container, wherein the first link is a link pointing to the first content, and the second content is content created and generated by an intelligent partner based on the first content.
[0117] According to one or more embodiments of the present disclosure, there is provided an electronic device, including: at least one memory and at least one processor;
[0118] The at least one memory is used to store program codes, and the at least one processor is used to call the program codes stored in the at least one memory to execute any one of the above methods.
[0119] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store program code, and when the program code is executed by a processor, the processor is prompted to execute the above method.
[0120] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0121] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0122] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A content generation method, It is characterized in that include: Receiving a first link to first content in a display interface; A thumbnail container is generated at the associated position of the first link and second content is displayed in the thumbnail container, wherein the first link is a link pointing to the first content, and the second content is content created and generated by the smart partner based on the first content.
2. The method according to claim 1, It is characterized in that Generating a thumbnail container at a location associated with the first link and displaying the second content in the thumbnail container includes: In the thumbnail container, the thumbnail of the first content is displayed first, and then the second content is displayed.
3. The method according to claim 1, It is characterized in that The displaying of the second content in the thumbnail container includes: in response to the configuration of the first content strategy, automatically executing the step of creating and generating the second content by the intelligent partner based on the first content, and displaying the second content; or, in response to the configuration of the second content strategy, displaying a first control in the thumbnail container, and in response to a first operation event on the first control, executing the step of creating and generating the second content by the intelligent partner based on the first content, and displaying the second content; or, The displaying of the second content in the thumbnail container includes: in response to the configuration of the first content strategy and the type of the first link being a preset type, executing the step of creating and generating the second content by the smart partner based on the first content, and displaying the second content; or, in response to the configuration of the second content strategy or the type of the first link being not a preset type, displaying a first control in the thumbnail container, and in response to a first operation event on the first control, executing the step of creating and generating the second content by the smart partner based on the first content, and displaying the second content.
4. The method according to claim 3, It is characterized in that The first control is a control that acquires the second content after being triggered, and the first operation event on the first control includes: a triggering operation on the first control; or The first control is a control that configures a first content strategy after being triggered; the first operation event on the first control includes: a triggering operation on the first control to configure the first content strategy; or The first control is a control that enters a content policy setting interface after being triggered; the first operation event on the first control includes: a triggering operation on the first control enters the setting interface, and the content policy is configured as the first content policy on the setting interface.
5. The method according to claim 1, It is characterized in that Before displaying the second content in the thumbnail container, the method further includes: determining the authority of the current user to the first content, and in response to the current user having the preset authority to the first content, performing the step of displaying the second content in the thumbnail container, or, in response to the current user not having the preset authority to the first content, not performing the step of displaying the second content in the thumbnail container; and / or, Before displaying the second content in the thumbnail container, the method further includes: determining the content volume of the first content, and in response to the content of the first content being less than a preset content volume, not performing the step of displaying the second content in the thumbnail container.
6. The method according to claim 1, It is characterized in that The intelligent partner generates second content based on the first content, including: Determining whether there is a cache of the second content; In response to the existence of a cache of the second content, acquiring the cached second content; or, In response to the absence of a cache of the second content, the second content is generated by the smart partner.
7. The method according to claim 6, It is characterized in that In the case that there is no cache of the second content, displaying the second content in the thumbnail container includes: When the second content is generated, the generated second content is streamed and output; or, when the second content is generated, the generated second content is streamed and output and an indicator indicating that the second content is being generated is displayed.
8. The method according to claim 1, It is characterized in that Also includes at least one of the following: In response to a thumbnail that has mentioned the first content or displayed the first content, generating and caching the second content; In response to the first content being updated and a preset time period having passed since the last update, the second content is updated based on the first content after the last update.
9. The method according to claim 1, It is characterized in that Also includes at least one of the following: The second content is a summary, rewritten or polished version of the first content; The first content is a document in a conversation message, or the first document is a reference document in a web page; Firstly display the thumbnail of the first content in the thumbnail container, then stop displaying the thumbnail of the first content in the thumbnail container, and display the second content in the area where the thumbnail was originally displayed; The second content is cached after being generated.
10. A content generating device, It is characterized in that include: A receiving unit, configured to receive a first link of a first content in a display interface; A control unit is used to generate a thumbnail container at an associated position of the first link and display second content in the thumbnail container, wherein the first link is a link pointing to the first content, and the second content is content created and generated by an intelligent partner based on the first content.
11. An electronic device, include: at least one memory and at least one processor; The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method according to any one of claims 1 to 9. 12 . A computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, wherein when the program code is executed by a processor, the processor is prompted to execute the method according to claim 1 .
Citation Information
Patent Citations
Method for reminding generation of text abstract and method and device for generating text abstract
CN114115670A
Information display method, device and system and storage medium
CN114168869A
File deletion method, electronic equipment and computer readable storage medium
CN115525610A
Personalized semantic fast-forward videos for next generation streaming platforms
US20240073493A1
Cited By
Content generation method and apparatus, electronic device, and storage medium
WO2025247272A1
