CN113986574A - Comment content generation method and device, electronic equipment and storage medium - Google Patents

Comment content generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113986574A
CN113986574A CN202111234151.XA CN202111234151A CN113986574A CN 113986574 A CN113986574 A CN 113986574A CN 202111234151 A CN202111234151 A CN 202111234151A CN 113986574 A CN113986574 A CN 113986574A
Authority
CN
China
Prior art keywords
information
comment
resource
comment content
preset format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111234151.XA
Other languages
Chinese (zh)
Inventor
吴珈旻
吕劲松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Amusement Starcraft Beijing Technology Co ltd
Original Assignee
Amusement Starcraft Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Amusement Starcraft Beijing Technology Co ltd filed Critical Amusement Starcraft Beijing Technology Co ltd
Priority to CN202111234151.XA priority Critical patent/CN113986574A/en
Publication of CN113986574A publication Critical patent/CN113986574A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations

Abstract

The disclosure relates to a comment content generation method, a comment content generation device, an electronic device and a storage medium. The method comprises the following steps: copying and storing target information containing the preset format link into a clipboard; responding to a comment triggering instruction, acquiring the target information from the clipboard, and automatically typing the target information into a comment content editing area; acquiring and displaying resource information of the multimedia resource corresponding to the preset format link; and responding to the publishing operation aiming at the resource information, and publishing the resource information as first comment content. According to the scheme, a user does not need to manually paste the copied preset format link, the process of generating the comment content of the hyperlink comment is simpler and more convenient, and the user operation is facilitated to be simplified; and the target resource information display effect of the multimedia resources is more intuitive, so that a user can conveniently know the multimedia resources corresponding to the preset format links.

Description

Comment content generation method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet, and in particular, to a method and an apparatus for generating comment content, an electronic device, and a storage medium.
Background
Resource management platforms such as social platforms and video consumption platforms generally provide a comment function for a user, so that the user can post comments on a specific object. The user may issue a hyperlink comment including a link such as a URL (Uniform Resource Locator), so that other users may jump to a corresponding page through the link.
Before publishing a hyperlink comment, a user is typically required to edit the comment content that generated the hyperlink comment. At present, a user usually needs to sequentially complete multiple steps of copying links, opening a comment content editing window in a comment area, pasting the copied links on an input window, and the like, so as to generate the comment content of the hyperlink comment. The method is complex in steps and complex in user operation, the displayed comment content usually directly contains the link, and the user can know the corresponding multimedia resource only by triggering and jumping to the page corresponding to the link, so that the information display effect is not visual.
Disclosure of Invention
The present disclosure provides a method, an apparatus, an electronic device, and a storage medium for generating comment content, so as to at least solve technical problems in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for generating comment content is provided, including:
copying and storing target information containing the preset format link into a clipboard;
responding to a comment triggering instruction, acquiring the target information from the clipboard, and automatically typing the target information into a comment content editing area;
acquiring and displaying resource information of the multimedia resource corresponding to the preset format link;
and responding to the publishing operation aiming at the resource information, and publishing the resource information as first comment content.
Optionally, the method further comprises:
responding to a preset operation of the comment content editing area detected on a comment page, and generating the comment triggering instruction; alternatively, the first and second electrodes may be,
and receiving the comment triggering instruction sent by the second platform, wherein the issued first comment content is maintained by a first platform different from the second platform.
Optionally, the displaying resource information of the multimedia resource corresponding to the preset format link includes:
and displaying the resource information at a first associated position of the comment content editing area.
Optionally, the method further comprises:
acquiring preview information of the multimedia resource;
displaying the preview information at a second associated position of the comment content editing area.
Optionally, the method further comprises:
responding to the publishing operation, and publishing the preset format link as second comment content; and/or the presence of a gas in the gas,
and under the condition that the target information also comprises text information except the preset format link, displaying the text information, and responding to the trigger operation, and issuing the text information as third comment content.
Optionally, the preset format link includes:
a URL of a preset format; and/or the presence of a gas in the gas,
a resource identifier maintained by a first platform, wherein the published first comment content is maintained by the first platform.
Optionally, the resource information of the multimedia resource includes at least one of:
a resource title of the multimedia resource;
a resource theme corresponding to the resource content of the multimedia resource;
and generating resource introduction information according to a preset template, wherein the resource introduction information comprises resource keywords of the multimedia resources.
According to a second aspect of the embodiments of the present disclosure, there is provided a generation apparatus of comment content, including:
the information copying module is configured to copy and store target information containing the preset format link into a clipboard;
the information input module is configured to respond to a comment triggering instruction, acquire the target information from the clipboard and automatically input the target information into a comment content editing area;
the information display module is configured to acquire and display resource information of the multimedia resource corresponding to the preset format link;
a comment publishing module configured to publish the resource information as first comment content in response to a publishing operation for the resource information.
Optionally, comprising:
the information copying module is configured to copy and store target information containing the preset format link into a clipboard;
the information input module is configured to respond to a comment triggering instruction, acquire the target information from the clipboard and automatically input the target information into a comment content editing area;
the information display module is configured to acquire and display resource information of the multimedia resource corresponding to the preset format link;
a comment publishing module configured to publish the resource information as first comment content in response to a publishing operation for the resource information.
Optionally, the method further comprises:
the instruction generation module is configured to respond to the preset operation of the comment content editing area, which is detected in a comment page, and generate the comment trigger instruction; alternatively, the first and second electrodes may be,
the instruction receiving module is configured to receive the comment triggering instruction sent by the second platform, wherein the published first comment content is maintained by a first platform different from the second platform.
Optionally, the information presentation module is further configured to:
and displaying the resource information at a first associated position of the comment content editing area.
Optionally, the method further comprises:
the preview information acquisition module is configured to acquire preview information of the multimedia resource;
a preview information presentation module configured to present the preview information at a second associated location of the review content editing area.
Optionally, the method further comprises:
a second content determination module configured to issue the preset format link as second comment content in response to the issue operation; and/or the presence of a gas in the gas,
and the third content determining module is configured to show the text information under the condition that the target information also contains the text information except the preset format link, and respond to the triggering operation and publish the text information as third comment content.
Optionally, the preset format link includes:
a URL of a preset format; and/or the presence of a gas in the gas,
a resource identifier maintained by a first platform, wherein the published first comment content is maintained by the first platform.
Optionally, the resource information of the multimedia resource includes at least one of:
a resource title of the multimedia resource;
a resource theme corresponding to the resource content of the multimedia resource;
and generating resource introduction information according to a preset template, wherein the resource introduction information comprises resource keywords of the multimedia resources.
According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method for generating comment content according to any one of the embodiments of the first aspect.
According to a fourth aspect of the embodiments of the present disclosure, a storage medium is proposed, in which instructions are executed by a processor of a comment content generation electronic device, so that the comment content generation electronic device can execute the comment content generation method described in any one of the above-mentioned first aspects.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, which includes a computer program and/or instructions, and when executed by a processor, the computer program and/or instructions implement the method for generating comment content according to any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the embodiment of the disclosure, after the user copies the target information containing the preset format link, the terminal device can automatically acquire the target information and automatically key the target information into the comment content editing area, and the user can check the target information without manually pasting the target information in the comment content editing area, so that the user operation is simplified.
In addition, the terminal device can automatically recognize the preset format link in the target information, automatically acquire the resource information of the corresponding multimedia resource for displaying, and then respond to the publishing operation of the information to publish the information as the first comment content. Therefore, after the hyperlink comment is published, target resource information of the multimedia resource is presented for the user, the user can know the multimedia resource without operating to jump to the preset format link, the display effect is more visual and friendly, and the viewing experience of the user is promoted.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is an architectural diagram of a resource management platform provided by an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of generating review content in accordance with an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating a review page in accordance with an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating a review content editing window in accordance with an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating a display effect of resource information according to an embodiment of the disclosure;
FIG. 6 is a schematic diagram illustrating another resource information presentation effect according to an embodiment of the disclosure;
FIG. 7 is a diagram illustrating a presentation effect of review content, according to an embodiment of the present disclosure;
FIG. 8 is a diagram illustrating a presentation effect of another review content, according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram illustrating a presentation effect of a hyperlink comment according to an embodiment of the present disclosure;
fig. 10 is a schematic block diagram illustrating a generation apparatus of comment content according to an embodiment of the present disclosure;
fig. 11 is a block diagram illustrating an electronic device in accordance with an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart of a method for generating comment content according to an exemplary embodiment. As shown in fig. 1, the system may include a network 10, a server 11, a number of electronic devices, such as a cell phone 12, a cell phone 13, a cell phone 14, and so on.
The server 11 may be a physical server comprising an independent host, or the server 11 may be a virtual server, a cloud server, etc. carried by a cluster of hosts. Handsets 12-14 are just one type of electronic device that a user may use. In fact, it is obvious that the user can also use electronic devices of the type such as: tablet devices, notebook computers, Personal Digital Assistants (PDAs), wearable devices (e.g., smart glasses, smart watches, etc.), etc., which are not limited by one or more embodiments of the present disclosure. The network 10 may include various types of wired or wireless networks.
The server 11 can cooperate with the mobile phones 12-14 to realize the preset function of the resource management platform. For example, the handsets 12-14 may each independently implement the generation scheme of the comment content described in this specification. This scheme is described in detail below with reference to the accompanying drawings.
Fig. 2 is a flowchart illustrating a method of generating comment content according to an exemplary embodiment of the present specification. As shown in fig. 2, the method is applied to terminal devices, such as handsets 12-14 shown in fig. 1. The scheme may include the following steps 202-206.
In step 202, the target information containing the preset format link is copied and saved in the clipboard.
In the embodiment, the user can copy the information during the process of using the terminal device, and the copied information is saved in the clipboard. The clipboard according to the embodiments of the present disclosure may be used to temporarily store copied information, and the clipboard may be a segment of continuous storage area in the memory of the terminal device, and the size of the area may vary with the size of the copied (i.e., stored) information. Through the clipboard, copied information can be passed and shared between different APPs (applications) in the terminal device, and even between different processes. The copy function corresponding to the clipboard may be a system-level function provided by an operating system of the terminal device, for example, a user may copy selected information through the function in any interface displayed by the terminal device. Or, the clipboard may also be an in-application function provided for the APP, for example, a function provided for the input method APP, and accordingly, the terminal device may call the condition that the input method APP is called, and copy and save the selected information through the clipboard function provided by the terminal device.
After the user performs the copy operation to complete the copy of any information, the information is saved to the clipboard, and the information is the target information in the embodiment of the disclosure. The specific copy manner of the target information may refer to the detailed description in the related art, which is not limited in the embodiments of the present disclosure and is not repeated herein.
The preset format link may have various forms. For example, the preset format link may be a preset format URL, such as a web address link with http:// or https:// as an identifier.
For another example, the generation scheme of the comment content according to the embodiment of the present disclosure may be applied to a client of a first platform, such as a client of a video consumption platform shown in fig. 3. Accordingly, the first comment content finally generated by the scheme is published to the platform. In this case, the preset format link may also be a resource identifier maintained by the platform. For example, for the video consumption platform shown in fig. 3, the video identifier of each video to be consumed may be maintained, in which case, the preset format link may be the video identifier maintained by the video consumption platform. The Video identifier may be a serial identifier in the form of "AV 123456", "Video 123456", or the like, or may be a Video title, a Video keyword, or the like, which is not limited in the embodiment of the present disclosure.
Besides the preset format link, the target information may further include other information, such as text, pictures, and/or dynamic expressions, which is not limited in the embodiments of the present disclosure.
And step 204, responding to a comment triggering instruction, acquiring the target information from the clipboard, and automatically typing the target information into a comment content editing area.
In one embodiment, the terminal device may display a resource presentation page provided by the resource consumption platform, and the page may be used to present one or more forms of multimedia resources such as text, pictures, music, video, and the like to the user. Further, the terminal device may present a comment page for the resource, so that the user may perform a preset operation in the comment page. Accordingly, the terminal device may generate a comment triggering instruction in response to the operation in a case where the operation is detected. The comment page may also display comments of at least one user for the resource, for example, common comments whose comment contents are text may be displayed, or hyperlink comments whose comment contents include links in a preset format may also be displayed. The hyperlink comment can be used for realizing page skipping, for example, a user can click a preset format link in the comment to trigger the terminal equipment to skip to a corresponding page.
The user can implement a preset comment content editing operation in the comment page. As shown in fig. 3, for example, a video 301 to be played is displayed on the display interface of the mobile phone. The lower part of the display interface can display the video brief introduction of the video by default (not shown in the figure), and in the case that the user clicks the comment control 302 below the video, the mobile phone can switch to the comment page (shown as a rectangular dotted line box) as shown in fig. 3 in response to the clicking operation. Comments posted by at least one user with respect to the played video 301, such as comments posted by the user a and the user B in fig. 3, may be posted in the comment posting area 303 in the comment page. At the bottom of the review page, a review content editing window 304 may also be presented. In the case that the user triggers (e.g., clicks) the comment content editing window 304, the mobile phone may generate a comment triggering instruction according to the detected triggering operation. Thereafter, the mobile phone may display the comment content editing interface in response to the instruction, acquire the target information in the clipboard in response to the instruction, and then automatically enter the acquired target information into the comment content editing area of the comment content editing interface, as shown in fig. 4, which is not described herein for the time being.
In another embodiment, the generation scheme of the comment content according to the embodiment of the present disclosure may be applied to a client of a first platform, such as a client of a video consumption platform shown in fig. 3. Accordingly, the first comment content finally generated by the scheme is published to the platform. In this case, the comment triggering instruction received by the terminal device may be sent by a second platform different from the first platform, and the posted first comment content is maintained by the first platform.
For example, the terminal device 1 used by the user 1 may have both a social application (i.e., a client of the social platform) and a video consumption application (i.e., a client of the video consumption platform) installed therein. The user 2 may send a recommendation message to the social application in the terminal device 1 through the social application running in the terminal device 2 used by the user, where the recommendation message is used to recommend a certain video provided by the video consumption platform to the user 1. Accordingly, the user 1 may copy the received message in the social application, so that the message will be saved in the clipboard provided by the terminal device 1. Further, the social application may generate a corresponding comment triggering instruction in response to the above magnitude operation, and send the instruction to the video consumption application in the terminal device 1. Under the condition that the video consumption application is started, the social application can directly send the comment triggering instruction to the video consumption application; or, in the case that the video consumption application is not started, the social application may call the video consumption application, and then send the comment triggering instruction to the APP.
Accordingly, the video consumption application may obtain the target information in the clipboard in response to the received comment triggering instruction and automatically type the target information into a comment content editing area in a comment page of the recommended video, as shown in fig. 4. By the method, the terminal device can achieve cross-application generation of the cross-application comment content, for example, after a user performs copy operation in a social application, the terminal device automatically jumps to a comment page for a certain video in a video consumption application, and automatically keys target information acquired from a clipboard into a comment content editing area. Obviously, the comments edited and published in the comment content editing area are directed to the recommended video to be maintained by the video consumption platform.
In addition, in order to avoid privacy disputes that may occur, the terminal device may also obtain permission for reading the clipboard by the user in advance, and in a case that the terminal device has permission for reading the clipboard, obtain the target information in the clipboard in response to the comment trigger instruction.
As shown in fig. 4, a comment content editing area below the comment content editing interface is displayed with a summoned input method window 401 and a comment content preview window 402. The target information 403 obtained from the clipboard is automatically typed into a review content preview window 402, such as "you see this video, creative http://123456. com". The user can edit the comment content to be published through the input method window 401, such as modifying the target information 403. It can be seen that during the editing process, the edited comment content can be displayed in the comment content preview window 402 for viewing by the user.
As previously mentioned, the target information may include information in the form of text, pictures, emoticons, and the like. For the text therein, the terminal device may display its original text in the comment content editing area, such as the text displayed in the comment content preview window 402 in fig. 4. For a picture, in consideration that the displayable area of the display window of the comment content editing area is generally small, predefined substitute characters ("[ figure ]", "/", ",") or substitute icons or the like may be displayed; alternatively, in order to make the user know the target information as much as possible, the thumbnail of the picture may be displayed if the display area allows it. For the emoticon, the original text can be displayed in the comment content editing area, and predefined alternative characters or alternative icons and the like can also be displayed, so that the emoticon is not described again.
Through the method, the terminal equipment can not only automatically acquire the copied target information from the clipboard, but also automatically key the information into the comment content editing area for the user to view. The display process is automatically carried out, manual pasting of a user is not needed, user operation is obviously simplified, and user experience is improved.
It is understood that the target information stored in the clipboard may or may not include a preset format link. Under the condition that the target information does not contain the preset format link, the terminal device does not need to acquire corresponding resource information, and therefore, for the acquired target information, the terminal device can determine whether the preset format link is contained or not.
For example, the terminal device may determine whether the preset format link is included in the target information in a corresponding manner according to different forms of the target information. And determining whether the target information contains the preset format link, namely, finding the preset format link from the target information. Specifically, in the case that the target information is a text, the terminal device may directly determine whether a link matching the preset format exists in the text. When the target information is a picture, the terminal device may first recognize a text in the picture through technologies such as Optical Character Recognition (OCR), and then further determine whether a link matching the preset format exists in the text. The specific implementation of the OCR technology can be referred to the description in the related art, and is not described herein.
Through the method, the terminal equipment can determine various information contained in the target information. Taking the target information "you see this video, creative http://123456. com" shown in fig. 4 as an example, the terminal device may determine that the preset format link therein is "http:// 123456. com", and the text information other than the target information is "you see this video, creative".
Further, in a case where it is determined that the target information does not contain a preset format link, the terminal device may wait for the user to edit the target information, post the target information as comment content, exit a comment editing page, or the like. Otherwise, if it is determined that the target information includes the preset format link, the process may proceed to step 206 for subsequent processing.
And step 206, acquiring and displaying the resource information of the multimedia resource corresponding to the preset format link.
Under the condition that the target information contains the preset format link, the terminal device can further acquire resource information of the multimedia resource corresponding to the link. For example, when the preset format link is a URL, the terminal device may access a webpage corresponding to the URL to obtain corresponding webpage content, and screen out a multimedia resource and resource information thereof that can be shared from the obtained webpage content. Or, under the condition that the preset format link is a resource identifier maintained by a first platform publishing the first comment content, the terminal device may directly request a server of the first platform to acquire resource information of the multimedia resource represented by the resource identifier. The resource information may be characters, pictures, audio, video, and/or dynamic expressions, and the like, which is not limited in the embodiments of the present disclosure.
The resource information of the multimedia resource according to the embodiment of the present disclosure may include at least one of:
for example, the resource information of the multimedia resource may be a resource title of the multimedia resource, such as an article title in the case that the resource information is a text in the article; alternatively, in the case where the resource information is audio or video, the resource title may be an audio name (such as a song name) or a video name (such as a movie name), and the like.
For another example, the resource information of the multimedia resource may also be a resource topic corresponding to the resource content of the multimedia resource, for example, in the case that the resource information is a text in an article, the resource topic may be a keyword of the article; alternatively, in the case where the resource information is audio or video, the resource title may be an audio subject (such as "story", "nostalgia") or a video subject (such as "economy", "fun"), or the like.
For another example, the resource information of the multimedia resource may also be resource introduction information generated according to a preset template, where the resource introduction information includes a resource keyword of the multimedia resource. For example, the terminal device may obtain a resource keyword of the multimedia resource from a page address corresponding to the preset format link or from the first platform, and generate resource introduction information including the resource keyword according to a preset template. For example, in a case where the resource keywords include a video name and a video author (such as an UP master, a publisher account, and the like), the terminal device may generate video introduction information "share a [ video name ] published to you, and see a bar" soon. Of course, the above format is only an example, and the resource introduction information may also be generated according to other formats, which is not limited in the embodiments of the present disclosure.
The terminal equipment can display the acquired resource information of the multimedia resource corresponding to the preset format link so as to be convenient for a user to check and select. Specifically, the terminal device may display the acquired resource information at a first associated position of the comment content editing area.
As shown in fig. 4, the terminal device may display the resource information 405 in the information display window 404 above the comment content editing area, where the information display window 404 is located at the first relevant position of the comment content editing area. If the multimedia asset is a video and the asset information of the multimedia asset is a video name of the video, the video name "the taste in summer is ice cream" may be displayed in the window. In order to show that the displayed information is not a common character, the information can be set into a preset special format such as blue, bold, underline and the like so as to enhance the display effect. In addition, a resource type identifier corresponding to the information may also be displayed in the information display window 404 in an associated manner, for example, a video type identifier 406 is displayed in fig. 4, and of course, when the multimedia resource is a text, an audio, a dynamic expression, and the like, the identifier of the corresponding type may be displayed, which is not described again.
In an embodiment, the page corresponding to the preset format link may include a plurality of multimedia resources, and accordingly, the terminal device may acquire resource information of the plurality of multimedia resources. For example, when the preset format link is a URL, the web content of the web page corresponding to the URL may include a plurality of videos, and at this time, the terminal device may obtain video titles of the videos respectively. For another example, when the preset format link is a resource identifier, the target information may simultaneously include a plurality of resource identifiers (for example, a user copies a plurality of video identifiers to a clipboard at one time), and at this time, the terminal device may obtain, from the first platform, a plurality of resource information of multimedia resources respectively corresponding to the plurality of resource identifiers (for example, obtain, from the video consumption platform, video titles of videos respectively corresponding to the plurality of video identifiers). After the resource information is acquired, the terminal device can display the resource information in an information display window so as to be convenient for a user to view and select. As shown in fig. 5, video asset information 502, audio asset information 503 and text asset information 504 may be simultaneously presented in the information presentation window 501.
In another embodiment, the terminal device may further display the preset format link in the target information and other information in an information display window. As shown in fig. 6, in addition to the determined resource information 602, a preset format link may be displayed in the information display window 601, as shown by a URL603 and a resource identifier 604, and a user may view the preset format link corresponding to the resource information 602, so as to obtain a source of a multimedia resource corresponding to the resource information. In addition, in the case that the target information in the clipboard includes other information in addition to the preset format link, the terminal device may also display the other information in the information display window. As shown in fig. 6, the information presentation window 601 also presents other information 605 "you see this, interesting". At this time, the information is text information.
In a further embodiment, the terminal device may further obtain preview information of the multimedia resource, and then present the preview information at a second associated position of the comment content editing area, so that the user can further know the multimedia resource in detail by viewing the preview information. As shown in fig. 6, a video preview screen 606 of a video corresponding to the preset format link is also displayed above the information display window 601. Of course, here, a play preview screen of the video may also be displayed, and details are not described again.
In addition, for the resource information and the preview information of the multimedia resource, the terminal device may only display one of the resource information and the preview information, or may display the resource information and the preview information simultaneously. As described above, the resource information is displayed at the first associated position of the preformat link editing area, and the preview information is displayed at the second associated position of the preformat link editing area. Under the condition that the first and second correlated positions are displayed simultaneously, the first correlated position and the second correlated position are different; in the case of only showing one of the two, the first and second associated positions may be the same or different, and are not described in detail again.
And step 208, responding to the publishing operation aiming at the resource information, and publishing the resource information as first comment content.
By viewing the displayed target information, the resource information of the multimedia resource and/or the preview information, the user can know the multimedia resource. If the resource is interested (i.e. the user wants to publish the hyperlink comment for the resource), the resource information of the resource can be selected as the comment content to publish the hyperlink comment.
For at least one resource information displayed in the information display window of fig. 4 to fig. 6, the user may perform a selection operation to select the target resource information as the first comment content of the hyperlink comment to be published. As shown in fig. 4, a user may select resource information 405 through a trigger operation (e.g., a single click, a double click, etc.), so that the mobile phone may determine the information as target resource information. Or as shown in fig. 5, the user may select at least one resource information of the video resource information 502, the audio resource information 503 and the text resource information 504, so that the mobile phone may determine the selected resource information as the target resource information. Still alternatively, as shown in fig. 6, the user may select the resource information 602, so that the mobile phone may determine the target resource information from the resource information.
Furthermore, the selected target resource information is used as the first comment content by the terminal device, and the terminal device can display the determined first comment content in the comment content editing area so that the user can view the comment content and further edit the comment content. As for the foregoing embodiment, after the user selects the target resource information shown in fig. 4 to fig. 6, the terminal device may determine the selected target resource information as the first comment content.
For example, the terminal device may replace all the target information entered in the comment content editing area with the above-mentioned target resource information, that is, only the target resource information is presented in the area, and the target information is no longer presented. As shown in fig. 7, the terminal device may present the target resource information 701 in the review content editing window 702 above the review content editing area, where the target resource information 701 is regarded as the first review content. The terminal device may display the target resource information 701 in the form of a tag, and associate and display a cancel button 703 for the content, so that the user may cancel the selection of a certain resource information as needed. Of course, the terminal device may also display the target resource information 701 in the form of ordinary characters (not shown in the figure), which is not described again.
For another example, the terminal device may replace the multimedia resource entered in the comment content editing area with the target resource information, while leaving other information in the target information in the area. As shown in fig. 8, the terminal device may present target resource information 801 in a review content editing window 802 above a review content editing area. Meanwhile, text information 803 except for the multimedia resource in the target information is also displayed in the window. In addition, the window may also display the aforementioned preset format link (not shown in the figure). At this time, the target resource information 801 is the first comment content, the preset format link is the second comment content, and the text information 803 is the third comment content.
It can be understood that the first comment content, the second comment content and the third comment content determined by the above embodiment are all comment contents of hyperlink comments. In addition, the user can input contents such as characters, pictures or expressions through the input method window so as to finish the editing process of the comment contents of the hyperlink comments. For the edited comment content, the user may perform a posting operation. As seen in fig. 4-6, in the case where the comment content editing window is empty (the window does not contain any edited content), the posting control (e.g., posting button 407 in fig. 4) is in an untriggerable state. The control is not in a triggerable state until the window contains the selected target comment content or any content edited by the user. As shown in fig. 7, the target resource information 701 displayed in the comment content editing window is the target comment content selected by the user (the content is to be used as the first comment content), and at this time, the publishing control 704 corresponding to the hyperlink comment is in a triggerable state. Thereafter, the user may publish a hyperlink comment, i.e., publish a comment in the comment content editing window, by triggering the control (i.e., performing a publish operation for the first comment content).
In the case shown in fig. 7, when the user clicks the send button 704, the target resource information 701 is released as the comment content, and a hyperlink comment including only the information is obtained. In the case shown in fig. 8, when the user clicks the send button 804, the target resource information 801 and the text information 803 are distributed as comment contents, and a hyperlink comment including the above information is obtained. Therefore, the terminal device can respond to the publishing operation and publish the preset format link as the second comment content. In the case that the target information further includes text information other than the preset format link, the terminal device may present the text information, and issue the text information as third comment content in response to a trigger operation.
In one embodiment, the terminal device may send the comment content of the hyperlink comment (hereinafter referred to as the target hyperlink comment) to the server. Accordingly, when other terminal devices need to display the target hyperlink comment, the terminal devices can request and acquire the comment content of the comment from the server side, and then display the comment. Assuming that the terminal device to which the scheme of the embodiment of the present disclosure is applied corresponds to the user C, other users (for example, the user X) may display the comment according to the comment content of the target hyperlink comment acquired from the service end.
As shown in fig. 9, a target hyperlink comment 901 issued by the user C is displayed in a comment display page of the terminal device corresponding to the user X. The comment content of the comment includes a first comment content 902 and a third comment content. Of course, in the case that the user only selects the target comment content in step 206, only the first comment content 902 may be presented in fig. 9, and the third comment content 903 is not presented, which is not described again. For the displayed first comment content 902, under the condition that the user X triggers the overlay content, the terminal may jump to a corresponding resource display page to display a multimedia resource corresponding to the content, thereby implementing a page jump function of the hyperlink comment.
According to the embodiment of the disclosure, after the user copies the target information containing the preset format link, the terminal device can automatically acquire the target information and automatically key the target information into the comment content editing area, and the user can check the target information without manually pasting the target information in the comment content editing area, so that the user operation is simplified.
In addition, the terminal device can automatically recognize the preset format link in the target information, automatically acquire the resource information of the corresponding multimedia resource for displaying, and then respond to the publishing operation of the information to publish the information as the first comment content. Therefore, after the hyperlink comment is published, target resource information of the multimedia resource is presented for the user, the user can know the multimedia resource without operating to jump to the preset format link, the display effect is more visual and friendly, and the viewing experience of the user is promoted.
The present disclosure also proposes an embodiment of a generating apparatus of comment content, corresponding to the aforementioned embodiment of the generating method of comment content.
Fig. 10 is a schematic block diagram illustrating a generation apparatus of comment content according to an embodiment of the present disclosure. The comment content generation device shown in this embodiment may be applied to a client of a resource consumption platform, where the client is applied to a terminal device, and the terminal device includes, but is not limited to, an electronic device such as a mobile phone, a tablet computer, a wearable device, and a personal computer. As shown in fig. 10, the apparatus for generating the comment content may include:
an information copying module 1001 configured to copy and save target information including a preset format link to a clipboard;
the information input module 1002 is configured to respond to a comment triggering instruction, acquire the target information from the clipboard, and automatically input the target information into a comment content editing area;
the information presentation module 1003 is configured to acquire and present resource information of the multimedia resource corresponding to the preset format link;
a comment publishing module 1004 configured to publish the resource information as first comment content in response to a publishing operation for the resource information.
Optionally, the method further comprises:
the instruction generating module 1005 is configured to generate the comment triggering instruction in response to a preset operation on the comment content editing area detected on a comment page; alternatively, the first and second electrodes may be,
an instruction receiving module 1006, configured to receive the comment triggering instruction sent by the second platform, where the posted first comment content is maintained by a first platform different from the second platform.
Optionally, the information presentation module 1003 is further configured to:
and displaying the resource information at a first associated position of the comment content editing area.
Optionally, the method further comprises:
a preview information obtaining module 1007 configured to obtain preview information of the multimedia resource;
a preview information presentation module 1008 configured to present the preview information at a second associated location of the review content editing area.
Optionally, the method further comprises:
a second content determining module 1009, configured to respond to the publishing operation, publish the preset format link as second comment content; and/or the presence of a gas in the gas,
a third content determining module 1010 configured to, in a case that the target information further includes text information other than the preset format link, present the text information, and issue the text information as third comment content in response to the trigger operation.
Optionally, the preset format link includes:
a URL of a preset format; and/or the presence of a gas in the gas,
a resource identifier maintained by a first platform, wherein the published first comment content is maintained by the first platform.
Optionally, the resource information of the multimedia resource includes at least one of:
a resource title of the multimedia resource;
a resource theme corresponding to the resource content of the multimedia resource;
and generating resource introduction information according to a preset template, wherein the resource introduction information comprises resource keywords of the multimedia resources.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An embodiment of the present disclosure also provides an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method for generating the comment content according to any one of the above embodiments.
Embodiments of the present disclosure also provide a computer-readable storage medium, where instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method for generating comment content according to any one of the above embodiments.
Embodiments of the present disclosure also provide a computer program product including a computer program and/or instructions, which when executed by a processor, implement the above-described method for generating comment content.
Fig. 11 is a schematic block diagram illustrating an electronic device in accordance with an embodiment of the present disclosure. For example, the electronic device 1100 may be a mobile phone, a computer, a digital broadcast terminal device, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 11, electronic device 1100 may include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, and communication component 1118.
The processing component 1102 generally controls the overall operation of the electronic device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions to perform all or part of the steps of the above-described method of generating review content. Further, the processing component 1102 may include one or more modules that facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
The memory 1104 is configured to store various types of data to support operations at the electronic device 1100. Examples of such data include instructions for any application or method operating on the electronic device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1104 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1106 provides power to the various components of the electronic device 1100. The power components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 1100.
The multimedia component 1108 includes a screen that provides an output interface between the electronic device 1100 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1108 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 1100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1100 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1104 or transmitted via the communication component 1118. In some embodiments, the audio assembly 1110 further includes a speaker for outputting audio signals.
The I/O interface 1112 provides an interface between the processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1114 includes one or more sensors for providing various aspects of state assessment for the electronic device 1100. For example, the sensor assembly 1114 may detect an open/closed state of the electronic device 1100, the relative positioning of components, such as a display and keypad of the electronic device 1100, the sensor assembly 1114 may also detect a change in the position of the electronic device 1100 or a component of the electronic device 1100, the presence or absence of user contact with the electronic device 1100, orientation or acceleration/deceleration of the electronic device 1100, and a change in the temperature of the electronic device 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The image capture component 1116 may be used to capture image data of a subject to form an image about the subject, and may perform the necessary processing on the image. The Image capturing module 1116 may include a camera module, in which an Image Sensor (Sensor) senses light from a subject through a lens, and provides the obtained photosensitive data to an Image Signal Processor (ISP) which generates an Image corresponding to the subject according to the photosensitive data. The image sensor may be a CMOS sensor or a CCD sensor, and may also be an infrared sensor, a depth sensor, or the like; the camera module may be built in the electronic device 1100, or may be an external module of the electronic device 1100; the ISP may be built in the camera module or may be externally hung on the electronic device (not in the camera module).
The communication component 1118 is configured to facilitate wired or wireless communication between the electronic device 1100 and other devices. The electronic device 1100 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 1118 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1118 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an embodiment of the present disclosure, the electronic device 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components, for performing the above-mentioned comment content generating method.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as the memory 1104 comprising instructions, executable by the processor 1120 of the electronic device 1100 to perform the method described above is also provided. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
It is noted that, in the present disclosure, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The method and apparatus provided by the embodiments of the present disclosure are described in detail above, and the principles and embodiments of the present disclosure are explained herein by applying specific examples, and the above description of the embodiments is only used to help understanding the method and core ideas of the present disclosure; meanwhile, for a person skilled in the art, based on the idea of the present disclosure, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present disclosure should not be construed as a limitation to the present disclosure.

Claims (10)

1. A method for generating comment content, comprising:
copying and storing target information containing the preset format link into a clipboard;
responding to a comment triggering instruction, acquiring the target information from the clipboard, and automatically typing the target information into a comment content editing area;
acquiring and displaying resource information of the multimedia resource corresponding to the preset format link;
and responding to the publishing operation aiming at the resource information, and publishing the resource information as first comment content.
2. The method of claim 1, further comprising:
responding to a preset operation of the comment content editing area detected on a comment page, and generating the comment triggering instruction; alternatively, the first and second electrodes may be,
and receiving the comment triggering instruction sent by the second platform, wherein the issued first comment content is maintained by a first platform different from the second platform.
3. The method according to claim 1, wherein the presenting the resource information of the multimedia resource corresponding to the preset format link comprises:
and displaying the resource information at a first associated position of the comment content editing area.
4. The method of claim 1, further comprising:
acquiring preview information of the multimedia resource;
displaying the preview information at a second associated position of the comment content editing area.
5. The method of claim 1, further comprising:
responding to the publishing operation, and publishing the preset format link as second comment content; and/or the presence of a gas in the gas,
and under the condition that the target information also comprises text information except the preset format link, displaying the text information, and responding to the trigger operation, and issuing the text information as third comment content.
6. The method of claim 1, wherein the pre-set format linking comprises:
a URL of a preset format; and/or the presence of a gas in the gas,
a resource identifier maintained by a first platform, wherein the published first comment content is maintained by the first platform.
7. An apparatus for generating comment content, comprising:
the information copying module is configured to copy and store target information containing the preset format link into a clipboard;
the information input module is configured to respond to a comment triggering instruction, acquire the target information from the clipboard and automatically input the target information into a comment content editing area;
the information display module is configured to acquire and display resource information of the multimedia resource corresponding to the preset format link;
a comment publishing module configured to publish the resource information as first comment content in response to a publishing operation for the resource information.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of generating commentary content of any of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of generating comment content according to any one of claims 1 to 6.
10. A computer program product comprising a computer program and/or instructions, characterized in that the computer program and/or instructions, when executed by a processor, implement the method of generating commentary content of any one of claims 1 to 6.
CN202111234151.XA 2021-10-22 2021-10-22 Comment content generation method and device, electronic equipment and storage medium Pending CN113986574A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111234151.XA CN113986574A (en) 2021-10-22 2021-10-22 Comment content generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111234151.XA CN113986574A (en) 2021-10-22 2021-10-22 Comment content generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113986574A true CN113986574A (en) 2022-01-28

Family

ID=79740459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111234151.XA Pending CN113986574A (en) 2021-10-22 2021-10-22 Comment content generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113986574A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7123458B1 (en) 2022-04-19 2022-08-23 享志 光原 A method used in a message posting assistance service that assists a user in posting a message including thumbnail image data and text data to a message sharing service
WO2024046344A1 (en) * 2022-08-30 2024-03-07 北京字跳网络技术有限公司 Information processing method and apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7123458B1 (en) 2022-04-19 2022-08-23 享志 光原 A method used in a message posting assistance service that assists a user in posting a message including thumbnail image data and text data to a message sharing service
JP2023158699A (en) * 2022-04-19 2023-10-31 享志 光原 Method used by message posting assistance service that assists in user work of posting message including thumbnail image data and text data to message sharing service
WO2024046344A1 (en) * 2022-08-30 2024-03-07 北京字跳网络技术有限公司 Information processing method and apparatus

Similar Documents

Publication Publication Date Title
CN112153288A (en) Method, apparatus, device and medium for distributing video or image
CN109461462B (en) Audio sharing method and device
CN106844705B (en) Method and apparatus for displaying multimedia content
CN113783997B (en) Video publishing method and device, electronic equipment and storage medium
CN110704647B (en) Content processing method and device
CN111343074B (en) Video processing method, device and equipment and storage medium
CN107229403B (en) Information content selection method and device
CN113986574A (en) Comment content generation method and device, electronic equipment and storage medium
KR20150068509A (en) Method for communicating using image in messenger, apparatus and system for the same
CN111432288A (en) Video playing method and device, electronic equipment and storage medium
WO2023061414A1 (en) File generation method and apparatus, and electronic device
CN107515870B (en) Searching method and device and searching device
CN112291614A (en) Video generation method and device
CN110413169B (en) Information display method, device and medium
WO2022121827A1 (en) Information provision method and apparatus, and electronic device
CN113988021A (en) Content interaction method and device, electronic equipment and storage medium
CN113901241A (en) Page display method and device, electronic equipment and storage medium
CN108874758B (en) Note processing method and device, and device for note processing
CN111246255B (en) Video recommendation method and device, storage medium, terminal and server
CN111641551A (en) Voice playing method, voice playing device and electronic equipment
CN114025317B (en) Method, device, server, terminal and storage medium for spreading multimedia resources
CN114398135A (en) Interaction method, interaction device, electronic device, storage medium, and program product
CN113568551A (en) Picture saving method and device
CN109753205B (en) Display method and device
CN112764846A (en) Interface display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination