CN109003194B - Comment sharing method, terminal and storage medium - Google Patents

Comment sharing method, terminal and storage medium Download PDF

Info

Publication number
CN109003194B
CN109003194B CN201710418197.4A CN201710418197A CN109003194B CN 109003194 B CN109003194 B CN 109003194B CN 201710418197 A CN201710418197 A CN 201710418197A CN 109003194 B CN109003194 B CN 109003194B
Authority
CN
China
Prior art keywords
sharing
comment
content
picture
audio
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.)
Active
Application number
CN201710418197.4A
Other languages
Chinese (zh)
Other versions
CN109003194A (en
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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201710418197.4A priority Critical patent/CN109003194B/en
Publication of CN109003194A publication Critical patent/CN109003194A/en
Application granted granted Critical
Publication of CN109003194B publication Critical patent/CN109003194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Abstract

The invention discloses a comment sharing method, a terminal and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: the method comprises the steps of obtaining comment content of a target comment, wherein the target comment is a comment on a target object in a first application program; generating a sharing picture corresponding to the comment content; acquiring a target sharing mode; and sharing the sharing picture to the second application program in the target sharing mode. The problem of low sharing efficiency when sharing comments by sharing the screen capturing pictures in the related art is solved; the method and the device achieve the effects of directly sharing in the first application program and improving sharing efficiency.

Description

Comment sharing method, terminal and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a comment sharing method, a terminal and a storage medium.
Background
In daily life, users often have a need to share comments in one application to another application. For example, highlights seen in news applications are shared to a microblog.
The related comment sharing method comprises the following steps: the terminal displays an interface including comments to be shared in the first application program, and intercepts the currently displayed interface to obtain a screen capturing picture; receiving an exit instruction for exiting the first application program, and exiting the first application program; and receiving an opening instruction for opening the second application program, and calling the album in the second application program so as to share comments in a mode of sharing the screen capturing picture.
In the above scheme, the user needs to manually exit the first application program and manually open the second application program to share the comments, so that the comment sharing efficiency in the above scheme is low.
Disclosure of Invention
In order to solve the problems in the prior art, the embodiment of the invention provides a comment sharing method, a terminal and a storage medium. The technical proposal is as follows:
according to a first aspect of an embodiment of the present invention, there is provided a comment sharing method, including:
the method comprises the steps of obtaining comment content of a target comment, wherein the target comment is a comment on a target object in a first application program;
generating a sharing picture corresponding to the comment content;
acquiring a target sharing mode;
and sharing the sharing picture to the second application program in the target sharing mode.
According to a second aspect of embodiments of the present invention, there is provided a terminal comprising a processor and a memory, the memory storing at least one instruction, at least one program, a set of codes or a set of instructions, the at least one instruction, the at least one program, the set of codes or the set of instructions being loaded and executed by the processor to perform operations of:
The method comprises the steps of obtaining comment content of a target comment, wherein the target comment is a comment on a target object in a first application program;
generating a sharing picture corresponding to the comment content;
acquiring a target sharing mode;
and sharing the sharing picture to the second application program in the target sharing mode.
According to a third aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to perform operations of:
the method comprises the steps of obtaining comment content of a target comment, wherein the target comment is a comment on a target object in a first application program;
generating a sharing picture corresponding to the comment content;
acquiring a target sharing mode;
and sharing the sharing picture to the second application program in the target sharing mode.
The technical scheme provided by the embodiment of the invention has the beneficial effects that:
generating a sharing picture corresponding to comment content of the comment when sharing the comment, and sharing the sharing picture to a second application program; the problem of low sharing efficiency when sharing comments by sharing the screen capturing pictures in the related art is solved; the method and the device achieve the effects of directly sharing in the first application program and improving sharing efficiency. Meanwhile, in the related art, because the screen capturing picture may include the content of other comments adjacent to the comment, but the content is not the content which the user really wants to share, the adjacent comments in the screen capturing picture after sharing in the scheme may cause interference to the reader, and the content in the sharing picture in the scheme is the content which the user really wants to share, so that the interference to the reader in the related art is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a comment sharing method provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a sharing option presented by a first application according to one embodiment of the present invention;
FIG. 3 is a schematic diagram of a trigger display sharing option provided by one embodiment of the present invention;
FIG. 4 is another schematic diagram of a trigger display sharing option provided by one embodiment of the present invention;
FIG. 5 is a schematic diagram of a generated sharing picture provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of preset information for characterizing audio-visual content according to one embodiment of the present invention;
FIG. 7 is a schematic diagram of a candidate sharing manner for display according to an embodiment of the present invention;
FIG. 8 is a flow chart of generating a sharing picture provided by one embodiment of the present invention;
FIG. 9 is another schematic diagram of a generated sharing picture provided by an embodiment of the present invention;
FIG. 10 is a schematic diagram of a comment sharing device according to an embodiment of the present invention;
fig. 11 is a schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
The comment sharing method provided by the embodiments of the present invention is used in a terminal, which may be a terminal such as a mobile phone, a tablet computer, a desktop computer, a notebook computer, or an electronic reader. The terminal can be provided with a first application program and a second application program, wherein the first application program can be an information application program such as 'headline news' or 'news hot', or an audio and video sharing application program such as 'radio station' or 'fun video', and the like; the second application may be a social-type application such as a microblog, or a chat program, or a mail. The first application program and the second application program may be pre-installed application programs in the terminal, or may be application programs installed by user definition, and in general, the first application program and the second application program are different application programs.
In the first application program, a user can comment on each object in the first application program, and when the first application program is an information type application program, the object in the application program can be a piece of information; when the first application is an audio-video sharing application, the object in the application may be a piece of audio or video. For example, taking the first application program as "headline news" as an example, after the user views the news, the user may post comments on the news; for another example, taking the first application program as a "radio station", after uploading a program by a host, a listener may post comments on the program; for another example, taking the first application as "smiling video", after the user views a certain video, the user may post comments on the video. That is, there may be many comments on each object in the first application program, and there is a need to share comments in the above scenario because there is no insight into the wonderful comments of a unique or alternative approach. And the following embodiments describe in detail a specific method for sharing comments.
Referring to fig. 1, a flowchart of a comment sharing method according to an embodiment of the present invention is shown, and as shown in fig. 1, the comment sharing method may include:
Step 101, obtaining comment content of a target comment, wherein the target comment is a comment on a target object in a first application program.
In the process of using the first application program, when the user wants to share a certain comment of the target object, the user can apply a trigger instruction for triggering the sharing of the comment, and correspondingly, the terminal can receive the trigger instruction through the first application program. And after receiving the trigger instruction, acquiring comment content of the target comment which is requested to be shared. Wherein, when the first application program is an information application program, the target object can be a piece of information; when the first application program is an audio-video sharing application program, the target object can be a section of audio or video; in the following description, the first application is an information application, and the target object is an information, except for the specific description.
The trigger instruction may be a selection instruction for selecting a sharing option corresponding to the target comment. Wherein:
the sharing option may be an option that the first application program directly displays when displaying comments, for example, please refer to fig. 2, and the first application program may display the sharing option 21 for triggering to share the comments when displaying each comment.
Or alternatively, the process may be performed,
the sharing option can be an option triggered to be displayed through a preset entry. For example, referring to fig. 3, when a comment is displayed, the first application may display a preset entry 31 corresponding to the comment, and after receiving a selection instruction for selecting the preset entry 31, display a candidate list, where the candidate list includes a sharing option 32 for sharing the comment, where the candidate list may further include an option for implementing other functions, such as an option for copying the comment, an option for reporting the comment, and so on.
Still alternatively, the method may comprise,
the sharing option is an option triggered to be displayed through a preset operation. For example, referring to fig. 4, the first application program displays each comment in the comment area, and displays the sharing option 42 after receiving a selection instruction acting on the display area 41 of the target comment; optionally, after receiving the selection instruction, the sharing option 42 may be displayed, and other options such as a copy option 43 and a report option 44 shown in the display diagram may be displayed. The selection instruction may be a touch instruction, a long press instruction, or any other form of instruction. In actual implementation, after the first application program receives the selection instruction, the first application program can identify the position corresponding to the selection instruction, and display the sharing option for triggering the sharing of the comment displayed at the identified position.
It should be noted that, the comment may include at least one of text, a picture, and an audio/video content, where each content occupies a certain area, for example, the area where the text is displayed is a text display area, the area where the picture is displayed is a picture display area, and the area where the audio/video content is displayed is an audio/video display area, and in general, when the user selects the picture, the purpose is to enlarge and display the picture, and when the user selects the audio/video content, the purpose is to play the audio/video content, so in this scheme, after receiving the selection instruction, the terminal may identify the location of the received selection instruction in the display area, and if the identified location is in other display areas except the picture display area and the audio/video content display area, obtain the comment content of the target comment; and if the identified position is in the picture display area or the audio/video content display area in the display area, the sharing is finished at the moment, and the operation of amplifying the picture or playing the audio/video content is executed.
Step 102, detecting whether the comment content includes a sensitive word.
The terminal can detect whether the comment content comprises the words in the sensitive word bank through the first application program, if the detection result is that the comment content comprises the words in the sensitive word bank, the terminal determines that the comment content comprises the sensitive words, otherwise, if the detection result is that the comment content does not comprise the words in the sensitive word bank, the terminal determines that the comment content does not comprise the sensitive words. Wherein the sensitive word library comprises at least one sensitive word.
The sensitive word stock can be a default word stock in the first application program, and can also be a word stock customized in advance by a user.
Optionally, since at least one of text, picture and audio-video content may be included in the comment content, and the step of detecting whether the comment content contains a sensitive word or not by the terminal is different based on the difference of the included content, the following description will be made separately for different cases.
If the comment content comprises characters, directly detecting whether the characters comprise words in a sensitive word stock.
If the comment content comprises a picture, the terminal can firstly identify the picture and detect whether the identification result comprises words in the sensitive word stock. The terminal can recognize characters in the picture through OCR (Optical Character Recognition ), and after recognizing the characters, the terminal detects whether the recognized characters comprise words in a sensitive word stock.
If the comment content comprises audio, converting the audio into text, and detecting whether the converted text comprises words in a sensitive word stock.
If the comment content comprises a video, extracting audio in the video, converting the audio into a text, and detecting whether the converted text comprises words in a sensitive word stock.
And step 103, if the comment content does not contain the sensitive word, generating a sharing picture corresponding to the comment content.
Because the comment content can include at least one of text, picture and audio-video content, and the generation mode of the sharing picture corresponding to the comment content generated by the terminal is different based on the difference of the content included in the comment content, the following possible implementation modes can be included in the step. Wherein the audio-visual content may include audio, video or both.
First, if the comment content does not include the audio/video content, the terminal generates a sharing picture including the comment content.
That is, when the comment content includes text, picture or both, the terminal may directly generate the sharing picture including the comment content through the first application program. The text in the comment content exists in the sharing picture in a first preset format, and the first preset format comprises fonts, word sizes, paragraphs and the like. For example, the preset format includes: the font is regular script, the font size is number four, the paragraph is first line indentation 2 characters and the line spacing is 1.5. The pictures in the comment are present in the shared picture in a second preset format including centered, two-end aligned, left aligned, right aligned, etc. The first preset format and the second preset format may be default formats in the first application program, or may be formats preset and stored in the first application program by the user.
Alternatively, when generating the shared picture, the terminal may generate a canvas through the first application program, and then draw the acquired comment content in the canvas. For example, text or pictures in comment content are drawn in a canvas. The canvas in this embodiment may be a blank canvas, a canvas with a preset ground color (such as cream yellow and light blue), or a canvas with a preset pattern.
In actual implementation, when the comment content includes both text and picture, the terminal may generate the sharing picture according to a preset typesetting manner. The preset typesetting mode comprises the steps of firstly arranging the text and then arranging the pictures in the comments, or firstly arranging the pictures in the comments and then arranging the text. For example, please refer to fig. 5, which illustrates a sharing picture generated after being laid out in one possible layout manner.
The gaps between the comment content and the canvas are preset gaps. For example, 2 characters from the left and right sides of the canvas, 4 characters from the upper side of the canvas, and 3 characters from the lower side of the canvas.
Second, if the comment content includes the audio/video content, the terminal generates a sharing picture including preset information and other information except the audio/video content in the comment content.
The preset information is used for representing the audio and video content. Optionally, the preset information is different based on a type of the audio-visual content. Wherein the type of the multimedia content is audio or video. For example, when the audio/video content is audio, the preset information may be information shown in the diagram (1) in fig. 6; when the audio/video content is video, the preset information may be information shown in the diagram (2) in fig. 6.
The above is only illustrated by representing the audio by the preset information when the audio is included in the comment content, and optionally, the terminal may further convert the audio into text by using the first application program, and then generate a sharing picture including the converted text. Similarly, when the comment includes a video, the terminal may extract audio in the video through the first application program, convert the audio into text, and then generate a sharing picture including the converted text.
When the comment content further comprises text and pictures or both, the sharing picture can further correspondingly comprise the content.
It should be noted that, if the detection result is that the comment content includes a sensitive word, it is indicated that the comment may cause a negative effect, and in this case, in order to limit the propagation of the comment, the terminal may shield the sharing. Optionally, before the terminal shields the sharing, prompt information can be displayed, and the prompt information is used for prompting the reason of shielding the sharing. In actual implementation, the terminal can display the time of the preset duration of the prompt message, for example, 3S, and when the display duration reaches the preset duration, the terminal ends the sharing, for example, jumps to the interface before sharing is requested. The preset duration is a default duration in the first application program or a duration which is customized and saved in the first application program in advance by a user.
Step 104, obtaining a target sharing mode.
The first application program can display candidate sharing modes, receive a selection instruction for selecting a certain candidate sharing mode, and determine the candidate sharing mode selected by the selection instruction as a target sharing mode after receiving the selection instruction.
The target sharing manner in this embodiment is a manner of sharing information to the second application program, for example, sharing information to the microblog. In actual implementation, the target sharing manner may be to share information to a friend, a group or a social platform of the second application.
Optionally, the first application may display the candidate sharing manner after receiving the sharing option in the selecting step 101. For example, in connection with fig. 2, after the first application receives the selection instruction for selecting the sharing option 21, the first application may display the candidate sharing manner (XX friends 71, friends circle 72, microblog 73) shown in fig. 7.
Optionally, the first application may further directly display the candidate sharing manner when receiving the preset operation. For example, after receiving a selection instruction acting on a display area of a target comment, a candidate sharing mode is displayed.
Step 105, sharing the sharing image to the second application program in the target sharing manner.
Thereafter, the first application program can share the sharing picture to the second application program. Optionally, the first application may send the sharing picture to the second application through an API (Application Programming Interface ) of the second application, and the second application shares the received sharing picture.
Optionally, the APIs of the second application may include at least two APIs, for example, a first API that shares a friend to the second application and a second API that shares a social platform of the second application, where when the selected target sharing manner is to share the sharing picture to the friend, the first application may send the sharing picture to the second application through the first API, and the second application shares the sharing picture to the friend; and if the selected target sharing mode is the social platform for sharing the sharing picture to the second application program, the first application program can send the sharing picture to the second application program through the second API, and the second application program shares the sharing picture to the social platform.
After the first application program sends the sharing picture to the second application program through the first API, the second application program can be automatically started and display a friend list, after receiving a selection instruction for selecting a certain friend, the sharing picture is sent to the selected friend, and the selected friend can be a single friend or a group; after the first application program sends the sharing picture to the second application program through the second API, the second application program can display a sharing interface for sharing the sharing picture to the social platform, and when receiving a sharing confirmation instruction, the sharing picture is shared to the social platform.
It should be noted that, the above embodiment is merely exemplified by performing step 101 and then performing step 104, and in actual implementation, step 101 and step 104 may be performed simultaneously, or step 104 may be performed first and then step 101 may be performed. For example, after the first application program receives a selection instruction acting on a display area of the target comment, a target sharing mode is obtained, and comment content of the target comment is obtained.
Another point to be added is that step 102 is an optional step, and may or may not be performed in actual implementation.
In summary, in the comment sharing method provided in the embodiment, when a comment is shared, a sharing picture corresponding to the comment content of the comment is generated, so that the sharing picture is shared to the second application program; the problem of low sharing efficiency when sharing comments by sharing the screen capturing pictures in the related art is solved; the method and the device achieve the effects of directly sharing in the first application program and improving sharing efficiency. Meanwhile, in the related art, because the screen capturing picture may include the content of other comments adjacent to the comment, but the content is not the content which the user really wants to share, the adjacent comments in the screen capturing picture after sharing in the scheme may cause interference to the reader, and the content in the sharing picture in the scheme is the content which the user really wants to share, so that the interference to the reader in the related art is avoided.
In addition, comments are shared in the form of sharing pictures, compared with the mode of sharing through characters or links, the visual impact of the comments on the users is larger, and the probability of viewing of other users after the sharing pictures are shared is improved.
It should be noted that, referring to fig. 8, the step 103 may include:
Step 103a, obtaining associated information, wherein the associated information comprises at least one of account name of a user account for issuing a target comment, title of a target object and graphic code; the graphic code carries the link address of the target object.
The method for acquiring the graphic code by the first application program comprises the following steps: and obtaining the link address of the target object, and generating the graphic code according to the link address. The graphic code can be a two-dimensional code or a bar code.
The above-mentioned related information includes the above-mentioned content as an example, and optionally, the related information may further include at least one of a name of the first application program, logo (Logo) of the first application program, an avatar of a user account who issues the target comment, and the impersonation information. The decoration information is information for decorating the shared picture. For example, the grooming information may be to display preset contents at preset positions, where the preset positions may be an upper left corner, an upper right corner, a lower left corner or a lower right corner in the canvas, and the preset contents may be patterns, characters or both.
And step 103b, generating a sharing picture according to the associated information and the comment content.
Optionally, the step may include:
If the comment content does not comprise the audio/video content, generating a sharing picture comprising the associated information and the comment content;
if the comment content comprises the audio and video content, generating a sharing picture comprising associated information, preset information and other content except the audio and video content in the comment content, wherein the preset information is information for representing the type of the audio and video content.
This is similar to the generation of step 103 in the above embodiment, except that the sharing picture may further include association information in this step. For example, referring to fig. 9, a schematic diagram of one possible sharing picture generated is shown, taking account name of the user account, title of the information, and two-dimensional code as an example of the associated information.
When the shared picture is generated, the picture carrying the graphic code is generated, so that a reader can check the original text of the target object through the graphic code, and the use of the reader is facilitated.
Another point to supplement the explanation is that, before step 103, the comment sharing method may further include the following steps:
first, it is detected whether only audio-visual contents are included in comment contents.
Optionally, after the comment content is obtained, the terminal may detect whether the comment content includes an audio/video content, and if the detection result is that the comment content does not include the audio/video content, execute step 103; if the detection result is that the comment content comprises the audio/video content, continuing to detect whether the comment content further comprises other content, and if the detection result is that the comment content further comprises other content, executing step 103; and if the detection result is that the comment content does not comprise other contents, determining that the comment content only comprises the audio/video content.
Second, if the comment content only includes audio and video content, the sharing is ended.
If the detection result is that the comment content only includes the audio and video content, the subsequent sharing is performed in the form of a picture, and the picture cannot represent the audio and video content, so in this embodiment, in order to reduce the processing complexity of the terminal and avoid the interference caused by the invalid information to other users, the terminal may end the sharing. Optionally, before the terminal finishes sharing, the terminal may display a prompt message for prompting the reason of ending, for example, display a prompt message with content "this sharing is illegal".
If the detection result is that the comment content does not only include the audio/video content, the terminal can execute subsequent operations.
It should be noted that, in this embodiment, the execution sequence of the step of detecting whether the comment content includes the sensitive word or not and the step of detecting whether the comment content includes only the audio/video content or not is not limited, and in actual implementation, whether the comment content includes only the audio/video content or not may be detected after the sensitive word is detected, or the two steps are executed simultaneously, or whether the comment content includes only the audio/video content or not is detected first, and then the sensitive word is detected.
Referring to fig. 10, a schematic structural diagram of a comment sharing device according to an embodiment of the present invention is shown, where, as shown in fig. 10, the comment sharing device may include: an acquisition module 1010, a generation module 1020, and a sharing module 1030.
An obtaining module 1010, configured to obtain comment content of a target comment, where the target comment is a comment on a target object in a first application program;
a generating module 1020, configured to generate a sharing picture corresponding to the comment content acquired by the acquiring module 1010;
the acquiring module 1010 is further configured to acquire a target sharing manner;
and the sharing module 1030 is configured to share the shared picture to the second application program in the target sharing manner.
In summary, in the comment sharing device provided in this embodiment, when a comment is shared, a sharing picture corresponding to the comment content of the comment is generated, so that the sharing picture is shared to the second application program; the problem of low sharing efficiency when sharing comments by sharing the screen capturing pictures in the related art is solved; the method and the device achieve the effects of directly sharing in the first application program and improving sharing efficiency. Meanwhile, in the related art, because the screen capturing picture may include the content of other comments adjacent to the comment, but the content is not the content which the user really wants to share, the adjacent comments in the screen capturing picture after sharing in the scheme may cause interference to the reader, and the content in the sharing picture in the scheme is the content which the user really wants to share, so that the interference to the reader in the related art is avoided.
In addition, comments are shared in the form of sharing pictures, compared with the mode of sharing through characters or links, the visual impact of the comments on the users is larger, and the probability of viewing of other users after the sharing pictures are shared is improved.
Based on the comment sharing device provided in the foregoing embodiment, optionally, the obtaining module 1010 includes:
the acquisition unit is used for acquiring association information, wherein the association information comprises at least one of account names of user accounts for issuing the target comments, titles of the target objects and graphic codes; the graphic code carries the link address of the target object;
and the generation unit is used for generating the sharing picture according to the association information and the evaluation content acquired by the acquisition module.
Optionally, the generating unit is further configured to:
if the evaluation content does not comprise the audio/video content, generating a sharing picture comprising the associated information and the evaluation content;
and if the evaluation content comprises the audio and video content, generating the sharing picture comprising the associated information, preset information and other content except the audio and video content in the evaluation content, wherein the preset information is information for representing the type of the audio and video content.
Optionally, the apparatus further comprises:
the detection module is used for detecting whether the comment content comprises sensitive words or not;
the generating module 1020 is further configured to execute the operation of generating the sharing picture corresponding to the comment content when the detection result of the detecting module is that the comment content does not include the sensitive word.
When the shared picture is generated, the picture carrying the graphic code is generated, so that a reader can check the original text of the target object through the graphic code, and the use of the reader is facilitated.
Optionally, the apparatus further comprises:
the detection module is used for detecting whether the evaluation content only comprises audio and video content or not;
and the ending module is used for ending the sharing when the detection result of the detection module is that the evaluation content only comprises the audio and video content.
It should be noted that: in the comment sharing device provided in the foregoing embodiment, only the division of the foregoing functional modules is used as an example, and in practical application, the foregoing functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the server is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the comment sharing device and the comment sharing method provided in the foregoing embodiments belong to the same concept, and detailed implementation processes of the comment sharing device and the comment sharing method are detailed in the method embodiments, which are not repeated herein.
The embodiment of the invention also provides a computer readable storage medium, which can be a computer readable storage medium contained in a memory; or may be a computer-readable storage medium, alone, that is not incorporated into the terminal. The computer readable storage medium stores at least one instruction, at least one program, code set, or instruction set that is loaded and executed by a processor to implement the operations of:
the method comprises the steps of obtaining comment content of a target comment, wherein the target comment is a comment on a target object in a first application program;
generating a sharing picture corresponding to the comment content;
acquiring a target sharing mode;
and sharing the sharing picture to the second application program in the target sharing mode.
Optionally, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the operations of:
acquiring associated information, wherein the associated information comprises at least one of account name of a user account for issuing the target comment, title of the target object and graphic code; the graphic code carries the link address of the target object;
And generating the sharing picture according to the association information and the comment content.
Optionally, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the operations of:
if the evaluation content does not comprise the audio/video content, generating a sharing picture comprising the associated information and the evaluation content;
and if the evaluation content comprises the audio and video content, generating the sharing picture comprising the associated information, preset information and other content except the audio and video content in the evaluation content, wherein the preset information is information for representing the type of the audio and video content.
Optionally, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the operations of:
detecting whether sensitive words are included in the comment content;
and if the comment content does not contain the sensitive word, executing the operation of generating the sharing picture corresponding to the comment content.
Optionally, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the operations of:
Detecting whether the evaluation content only comprises audio and video content or not;
and if the evaluation content only comprises the audio and video content, ending the sharing.
Fig. 11 illustrates a block diagram of a terminal 1100 provided by an embodiment of the invention, which may include Radio Frequency (RF) circuitry 1101, memory 1102 including one or more computer-readable storage media, input unit 1103, presentation unit 1104, sensor 1105, audio circuitry 1106, wireless fidelity (WiFi, wireless Fidelity) module 1107, processor 1108 including one or more processing cores, and power supply 1109. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 11 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the RF circuit 1101 may be used for receiving and transmitting signals during a message or a call, and in particular, after receiving downlink information of a base station, the downlink information is processed by one or more processors 1108; in addition, data relating to uplink is transmitted to the base station. Typically, the RF circuitry 1101 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, low Noise Amplifier), a duplexer, and the like. In addition, the RF circuit 1101 may also communicate with networks and other devices through wireless communication. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (GSM, global System of Mobile communication), general packet radio service (GPRS, general Packet Radio Service), code division multiple access (CDMA, code Division Multiple Access), wideband code division multiple access (WCDMA, wideband Code Division Multiple Access), long term evolution (LTE, long Term Evolution), email, short message service (SMS, short Messaging Service), and the like.
Memory 1102 may be used to store software programs and modules that are stored in memory 1102 for execution by processor 1108 to perform various functional applications and data processing. The memory 1102 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the terminal, etc. In addition, memory 1102 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 1102 may also include a memory controller to provide access to the memory 1102 by the processor 1108 and the input unit 1103.
The input unit 1103 may be used to receive input digital or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 1103 may include a touch-sensitive surface, as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch-sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 1108, and can receive commands from the processor 1108 and execute them. In addition, touch sensitive surfaces may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. The input unit 1103 may comprise other input devices in addition to a touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The presentation unit 1104 may be used to present information input by a user or information provided to the user and various graphical user interfaces of the terminal, which may be composed of graphics, text, icons, video and any combination thereof. The display unit 1104 may include a display panel, which may optionally be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay a presentation panel, upon detection of a touch operation thereon or thereabout, the touch-sensitive surface is passed to the processor 1108 to determine the type of touch event, and the processor 1108 then provides a corresponding visual output on the presentation panel based on the type of touch event. Although in fig. 11 the touch-sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch-sensitive surface and the display panel may be integrated to implement the input and output functions.
The terminal may also include at least one sensor 1105, such as a light sensor, a motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile phone is stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the terminal are not described in detail herein.
Audio circuitry 1106, speakers, and microphone may provide an audio interface between the user and the terminal. The audio circuit 1106 may transmit the received electrical signal converted from audio data to a speaker, where it is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 1106 and converted into audio data, which are processed by the audio data output processor 1108, and transmitted via the RF circuit 1101 to, for example, another terminal, or which are output to the memory 1102 for further processing. The audio circuitry 1106 may also include an ear bud jack to provide communication of the peripheral headphones with the terminal.
WiFi belongs to a short-distance wireless transmission technology, and a terminal can help a user to send and receive emails, browse webpages, access streaming media and the like through a WiFi module 1107, so that wireless broadband Internet access is provided for the user. Although fig. 11 shows a WiFi module 1107, it is understood that it does not belong to the essential constitution of the terminal, and can be omitted entirely as required within the scope of not changing the essence of the invention.
Processor 1108 is the control center of the terminal, and uses various interfaces and lines to connect the various parts of the overall handset, perform various functions of the terminal and process data by running or executing software programs and/or modules stored in memory 1102, and invoking data stored in memory 1102. Optionally, processor 1108 may include one or more processing cores; preferably, the processor 1108 may integrate an application processor primarily handling operating systems, user interfaces, applications, etc., with a modem processor primarily handling wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1108.
The terminal also includes a power supply 1109 (e.g., a battery) for powering the various components, which may be logically connected to the processor 1108 via a power management system so as to provide for the management of charge, discharge, and power consumption by the power management system. The power supply 1109 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, etc., which will not be described herein. In particular, in the present embodiment, the processor 1108 in the terminal executes at least one instruction, at least one program, code set or instruction set stored in the memory 1102, thereby implementing the following operations:
the method comprises the steps of obtaining comment content of a target comment, wherein the target comment is a comment on a target object in a first application program;
generating a sharing picture corresponding to the comment content;
acquiring a target sharing mode;
and sharing the sharing picture to the second application program in the target sharing mode.
Optionally, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the operations of:
Acquiring associated information, wherein the associated information comprises at least one of account name of a user account for issuing the target comment, title of the target object and graphic code; the graphic code carries the link address of the target object;
and generating the sharing picture according to the association information and the comment content.
Optionally, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the operations of:
if the evaluation content does not comprise the audio/video content, generating a sharing picture comprising the associated information and the evaluation content;
and if the evaluation content comprises the audio and video content, generating the sharing picture comprising the associated information, preset information and other content except the audio and video content in the evaluation content, wherein the preset information is information for representing the type of the audio and video content.
Optionally, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the operations of:
detecting whether sensitive words are included in the comment content;
And if the comment content does not contain the sensitive word, executing the operation of generating the sharing picture corresponding to the comment content.
Optionally, the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the operations of:
detecting whether the evaluation content only comprises audio and video content or not;
and if the evaluation content only comprises the audio and video content, ending the sharing.
It should be understood that, as used herein, the singular forms "a," "an," "the," are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (7)

1. A comment sharing method, the method comprising:
the method comprises the steps of identifying the position of a received selection instruction in a display area, wherein the selection instruction is an instruction triggered by selecting sharing options corresponding to target comments in each comment in a comment area;
acquiring comment content of the target comment in response to the position being in other display areas except a picture display area and an audio and video content display area in the display area, wherein the target comment is a comment on a target object in a first application program;
if the comment content comprises text and/or picture content, generating a sharing picture corresponding to the comment content, wherein the sharing picture is obtained by drawing the text existing in a first preset format and/or the picture existing in a second preset format in a canvas generated by the first application program, and the first preset format and the second preset format are formats preset and stored in the first application program by a user; when the comment content further comprises the audio-video content, the sharing picture further comprises preset information and text obtained by audio conversion in the audio-video content, wherein the preset information is information for representing the type of the audio-video content;
Acquiring a target sharing mode;
sharing the sharing picture to a second application program in the target sharing mode,
the method further comprises the steps of: responding to the picture display area or the audio/video content display area with the position in the display area, ending the sharing and executing the operation of amplifying pictures or playing the audio/video content,
the generating the sharing picture corresponding to the comment content includes:
acquiring associated information, wherein the associated information comprises an account name of a user account for issuing the target comment, a title of the target object and a graphic code; the graphic code carries the link address of the target object;
and generating the sharing picture according to the association information and the comment content.
2. The method of claim 1, wherein the generating the sharing picture from the association information and the comment content comprises:
if the evaluation content does not comprise the audio/video content, generating a sharing picture comprising the associated information and the evaluation content;
and if the evaluation content comprises the audio and video content, generating the sharing picture comprising the associated information, the preset information and other contents except the audio and video content in the evaluation content.
3. The method according to claim 1 or 2, wherein before the generating the sharing picture corresponding to the comment content, the method further includes:
detecting whether sensitive words are included in the comment content;
and if the comment content does not contain the sensitive word, executing the operation of generating the sharing picture corresponding to the comment content.
4. A terminal comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to perform operations comprising:
the method comprises the steps of identifying the position of a received selection instruction in a display area, wherein the selection instruction is an instruction triggered by selecting sharing options corresponding to target comments in each comment in a comment area;
acquiring comment content of the target comment in response to the position being in other display areas except a picture display area and an audio and video content display area in the display area, wherein the target comment is a comment on a target object in a first application program;
If the comment content comprises text and/or picture content, generating a sharing picture corresponding to the comment content, wherein the sharing picture is obtained by drawing the text existing in a first preset format and/or the picture existing in a second preset format in a canvas generated by the first application program, and the first preset format and the second preset format are formats preset and stored in the first application program by a user; when the comment content further comprises the audio-video content, the sharing picture further comprises preset information and text obtained by audio conversion in the audio-video content, wherein the preset information is information for representing the type of the audio-video content;
acquiring a target sharing mode;
sharing the sharing picture to a second application program in the target sharing mode,
the processor is further configured to implement: responding to the picture display area or the audio/video content display area with the position in the display area, ending the sharing and executing the operation of amplifying pictures or playing the audio/video content,
the generating the sharing picture corresponding to the comment content includes:
Acquiring associated information, wherein the associated information comprises an account name of a user account for issuing the target comment, a title of the target object and a graphic code; the graphic code carries the link address of the target object;
and generating the sharing picture according to the association information and the comment content.
5. The terminal of claim 4, wherein the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to perform operations comprising:
if the evaluation content does not comprise the audio/video content, generating a sharing picture comprising the associated information and the evaluation content;
and if the evaluation content comprises the audio and video content, generating the sharing picture comprising the associated information, the preset information and other contents except the audio and video content in the evaluation content.
6. The terminal of claim 4 or 5, wherein the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to perform the following:
detecting whether sensitive words are included in the comment content;
And if the comment content does not contain the sensitive word, executing the operation of generating the sharing picture corresponding to the comment content.
7. A computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, the code set, or instruction set being loaded and executed by a processor to perform the operations of:
the method comprises the steps of identifying the position of a received selection instruction in a display area, wherein the selection instruction is an instruction triggered by selecting sharing options corresponding to target comments in each comment in a comment area;
acquiring comment content of the target comment in response to the position being in other display areas except a picture display area and an audio and video content display area in the display area, wherein the target comment is a comment on a target object in a first application program;
if the comment content comprises text and/or picture content, generating a sharing picture corresponding to the comment content, wherein the sharing picture is obtained by drawing the text existing in a first preset format and/or the picture existing in a second preset format in a canvas generated by the first application program, and the first preset format and the second preset format are formats preset and stored in the first application program by a user; when the comment content further comprises the audio-video content, the sharing picture further comprises preset information and text obtained by audio conversion in the audio-video content, wherein the preset information is information for representing the type of the audio-video content;
Acquiring a target sharing mode;
sharing the sharing picture to a second application program in the target sharing mode,
the processor is further configured to implement: responding to the picture display area or the audio/video content display area with the position in the display area, ending the sharing and executing the operation of amplifying pictures or playing the audio/video content,
the generating the sharing picture corresponding to the comment content includes:
acquiring associated information, wherein the associated information comprises an account name of a user account for issuing the target comment, a title of the target object and a graphic code; the graphic code carries the link address of the target object;
and generating the sharing picture according to the association information and the comment content.
CN201710418197.4A 2017-06-06 2017-06-06 Comment sharing method, terminal and storage medium Active CN109003194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710418197.4A CN109003194B (en) 2017-06-06 2017-06-06 Comment sharing method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710418197.4A CN109003194B (en) 2017-06-06 2017-06-06 Comment sharing method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109003194A CN109003194A (en) 2018-12-14
CN109003194B true CN109003194B (en) 2023-07-14

Family

ID=64572650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710418197.4A Active CN109003194B (en) 2017-06-06 2017-06-06 Comment sharing method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109003194B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992732A (en) * 2019-04-11 2019-07-09 北京字节跳动网络技术有限公司 Information sharing method, device, electronic equipment and storage medium
CN109992733A (en) * 2019-04-11 2019-07-09 北京字节跳动网络技术有限公司 Method, apparatus, electronic equipment and the storage medium that information is shared
CN110245304B (en) * 2019-04-16 2021-09-03 创新先进技术有限公司 Data sharing method, device and computer readable medium
US10984206B2 (en) 2019-04-16 2021-04-20 Advanced New Technologies Co., Ltd. Data storing and sharing using two-dimensional codes
CN113965540B (en) * 2019-04-30 2023-03-21 创新先进技术有限公司 Information sharing method, device and equipment
CN110826319A (en) * 2019-10-30 2020-02-21 维沃移动通信有限公司 Application information processing method and terminal equipment
CN111510557B (en) * 2020-04-14 2022-03-29 维沃移动通信有限公司 Content processing method and electronic equipment
CN113949901A (en) * 2021-10-15 2022-01-18 北京字节跳动网络技术有限公司 Comment sharing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333531A (en) * 2013-07-22 2015-02-04 腾讯科技(深圳)有限公司 Network resource sharing and obtaining method, device, terminal
CN104918066A (en) * 2014-03-11 2015-09-16 上海数字电视国家工程研究中心有限公司 Video content censoring method and system
CN104980766A (en) * 2014-04-01 2015-10-14 联想移动通信科技有限公司 Information processing method, device, and terminal
CN105323704A (en) * 2014-07-07 2016-02-10 中兴通讯股份有限公司 User comment sharing method, device and system
CN105912610A (en) * 2016-04-06 2016-08-31 乐视控股(北京)有限公司 Method and device for guiding share based on character information

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120099836A (en) * 2011-03-02 2012-09-12 삼성전자주식회사 Apparatus and method for sharing comment in mobile communication teminal
US8934015B1 (en) * 2011-07-20 2015-01-13 Google Inc. Experience sharing
TW201419175A (en) * 2012-11-15 2014-05-16 Richplay Information Co Ltd Method for sharing and tracking comments on webpage
EP2991280B1 (en) * 2013-06-29 2018-11-28 Huawei Technologies Co., Ltd. Content sharing method and social synchronizing apparatus
CN104660630B (en) * 2013-11-18 2018-10-16 北大方正集团有限公司 Microblogging application process and device
CN105824836B (en) * 2015-01-07 2020-01-10 宇龙计算机通信科技(深圳)有限公司 Screenshot sharing method and device, and information receiving method and device
CN106375829A (en) * 2016-08-31 2017-02-01 腾讯科技(深圳)有限公司 Video comment method, and related device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333531A (en) * 2013-07-22 2015-02-04 腾讯科技(深圳)有限公司 Network resource sharing and obtaining method, device, terminal
CN104918066A (en) * 2014-03-11 2015-09-16 上海数字电视国家工程研究中心有限公司 Video content censoring method and system
CN104980766A (en) * 2014-04-01 2015-10-14 联想移动通信科技有限公司 Information processing method, device, and terminal
CN105323704A (en) * 2014-07-07 2016-02-10 中兴通讯股份有限公司 User comment sharing method, device and system
CN105912610A (en) * 2016-04-06 2016-08-31 乐视控股(北京)有限公司 Method and device for guiding share based on character information

Also Published As

Publication number Publication date
CN109003194A (en) 2018-12-14

Similar Documents

Publication Publication Date Title
CN109003194B (en) Comment sharing method, terminal and storage medium
US11044219B2 (en) Message forwarding method and electronic device
US11003331B2 (en) Screen capturing method and terminal, and screenshot reading method and terminal
US20180225019A1 (en) Information obtaining method and apparatus
CN104852885B (en) Method, device and system for verifying verification code
US10673790B2 (en) Method and terminal for displaying instant messaging message
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
US10652287B2 (en) Method, device, and system for managing information recommendation
US20170316781A1 (en) Remote electronic service requesting and processing method, server, and terminal
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
US11658932B2 (en) Message sending method and terminal device
CN108205398B (en) Method and device for adapting webpage animation to screen
US10235024B2 (en) Buddy list presentation control method and system, and computer storage medium
EP2806622B1 (en) Displaying a group message
CN110278141B (en) Instant messaging information processing method and device and storage medium
CN110674662A (en) Scanning method and terminal equipment
EP3920012A1 (en) Information processing method and terminal device
US10528845B2 (en) Method, device, and storage medium for generating GIF file
US20180018798A1 (en) Method and Apparatus for Displaying Historical Chat Record
CN108780400B (en) Data processing method and electronic equipment
US11327845B2 (en) Image synchronization method and device, and server
CN110045897B (en) Information display method and terminal equipment
US10248841B2 (en) Method of protecting an image based on face recognition, and smart terminal
CN110888572A (en) Message display method and terminal equipment
CN111966271B (en) Screen panorama screenshot method and device, terminal 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
GR01 Patent grant
GR01 Patent grant