CN110647827A - Comment information processing method and device, electronic equipment and storage medium - Google Patents

Comment information processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110647827A
CN110647827A CN201910849384.7A CN201910849384A CN110647827A CN 110647827 A CN110647827 A CN 110647827A CN 201910849384 A CN201910849384 A CN 201910849384A CN 110647827 A CN110647827 A CN 110647827A
Authority
CN
China
Prior art keywords
comment
image
information
published
server
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
CN201910849384.7A
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910849384.7A priority Critical patent/CN110647827A/en
Publication of CN110647827A publication Critical patent/CN110647827A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • G06V30/153Segmentation of character regions using recognition of characters or words
    • 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/953Querying, e.g. by the use of web search engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/413Classification of content, e.g. text, photographs or tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The disclosure discloses a comment information processing method and device, electronic equipment and a storage medium, and relates to the technical field of data processing, wherein the comment information processing method comprises the following steps: receiving comments to be published input by a user, wherein the comments to be published comprise at least one type of information; wherein the types include: text and/or images; assigning each type of information in the comment to be published to a corresponding type field respectively; wherein, the different types of information correspond to different types of fields; and sending the publishing request carrying the page identifier and the assigned type field to a server, so that the server extracts the field value of each type field in the publishing request to obtain the comment to be published, and then publishing the comment to be published to a page corresponding to the page identifier according to the type of each information in the comment to be published. By adopting the method, different types of information of the issued information are analyzed by adopting different types of fields, so that the display error of the information types when the information to be issued is displayed is avoided.

Description

Comment information processing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a comment information processing method and device, electronic equipment and a storage medium.
Background
With the continuous development and progress of science and technology, people's life is more and more convenient, and the people-to-people communication mode also becomes more and more diversified, not only limits to daily chat, telephone, etc., can also communicate through the software application on the line, for example, to the same topic or the multimedia information of making posts and comments. The information types included in the published comments can be diversified, for example, the text comments can be published, and the graphic comments with various contents can also be published.
The inventor finds that the identification of the comment in the related art depends on the specific symbol, and when the comment is issued, if the user inputs the specific symbol by mistake, the identified comment is wrong, for example, the character in the comment is recognized as a picture by mistake. Therefore, how to accurately identify the comment issued by the user needs to be improved.
Disclosure of Invention
The present disclosure provides a comment information processing method, a comment information processing apparatus, an electronic device, and a storage medium, which are used to at least solve the problem in the related art that the published content does not match the input content when information is published.
According to a first aspect of the embodiments of the present disclosure, there is provided a comment information processing method including:
receiving a comment to be published input by a user, wherein the comment to be published comprises at least one type of information, and the type comprises: text and/or images;
assigning each type of information in the comment to be published to a corresponding type field respectively, wherein different types of information correspond to different types of fields;
sending a publishing request carrying a page identifier and assigned type fields to a server, so that the server extracts field values of the types of fields in the publishing request to obtain the comment to be published, and publishing the comment to be published to a page corresponding to the page identifier according to the type of information in the comment to be published.
In one embodiment, if the comment to be posted includes a first image, the method further includes:
acquiring a first image identifier of the first image from a server; the first image identification is generated by the server;
assigning each type of information in the comment to be published to a corresponding type field respectively, wherein the method comprises the following steps:
and for the first image, assigning the first image identifier to an image type field.
In one embodiment, the obtaining, from the server, the first image identifier of the first image includes:
if the first image is from the server, acquiring a first image identifier of the first image from the server;
if the first image is from an address except the server, uploading the first image to the server to enable the server to generate a first image identifier of the first image, and acquiring the first image identifier from the server.
In one embodiment, the method further comprises:
sending a comment acquisition request of the published comment;
receiving response information which is returned by the server and aims at the comment acquisition request; if the published comment comprises a second image, the response information comprises an access address of the second image;
if the response information comprises the access address of the second image, sending a second image acquisition request carrying the access address to the server;
receiving the second image sent by the server;
if the response information further comprises characters, generating and displaying the published comment based on the characters of the response information and the second image; otherwise, the second image is displayed as the published comment.
According to a second aspect of the embodiments of the present disclosure, there is provided a comment information processing method including:
receiving a publishing request of a comment to be published sent by a client, wherein the publishing request carries a page identifier and a type field; the comment to be issued comprises at least one type of information, and each type of information is a field value of a corresponding type field; wherein the types include: text and/or images;
extracting field values of various types of fields in the publishing request to obtain the comments to be published;
and publishing the comment to be published to a page corresponding to the page identifier according to the type of each piece of information in the comment to be published.
In one embodiment, if the comment to be published includes a first image; before the receiving a posting request of a comment to be posted sent by a client, the method further includes:
sending a first image identifier of the first image to the client;
wherein a field value of an image type field included in the publication request is the first image identifier.
In one embodiment, sending a first image identification of the first image to the client comprises:
and receiving the first image sent by a client, generating a first image identifier of the first image, and sending the first image identifier to the client.
In one embodiment, publishing the comment to be published to a page corresponding to the page identifier according to the type of each piece of information in the comment to be published includes:
and adding the comment to be published into a published information set of the page corresponding to the page identifier, wherein each type of information in the comment to be published is classified and stored according to a corresponding type field in the published information set.
In one embodiment, further comprising:
receiving a comment acquisition request of a published comment sent by a client;
acquiring various types of information according to type fields in a published information set of a page where the published comment is based on the comment acquisition request;
generating response information aiming at the comment acquisition request according to the acquired information of each type and sending the response information to the client, wherein if the published comment comprises a second image of an image type, the response information comprises an access address of the second image;
receiving a second image acquisition request which is sent by the client and carries the access address;
and sending the second image to the client.
In one embodiment, the acquiring the access address of the second image when the information of the type in the published information set is an image includes:
and acquiring the access address of the second image in the response information in the corresponding relation between the pre-stored image and the access address.
According to a third aspect of the embodiments of the present disclosure, there is provided a comment information processing apparatus including:
the comment processing device comprises a receiving unit, a comment processing unit and a comment processing unit, wherein the comment processing unit is configured to receive a comment to be published input by a user, the comment to be published comprises at least one type of information, and the type comprises: text and/or images;
the evaluation unit is configured to evaluate each type of information in the comment to be published to a corresponding type field respectively, wherein different types of information correspond to different types of fields;
the sending unit is configured to send a publishing request carrying the page identifier and the assigned type field to a server, so that the server extracts the field value of each type field in the publishing request to obtain the comment to be published, and then publishes the comment to be published to a page corresponding to the page identifier according to the type of each piece of information in the comment to be published.
In one embodiment, if the comment to be published includes a first image; the device further comprises: the image identification acquisition unit is configured to acquire a first image identification of the first image from a server; the first image identification is generated by the server;
the assignment unit is configured to:
and for the first image, assigning the first image identifier to an image type field.
In one embodiment, the image identifier generating unit is configured to:
if the first image is from the server, acquiring a first image identifier of the first image from the server;
if the first image is from an address except the server, uploading the first image to the server to enable the server to generate a first image identifier of the first image, and acquiring the first image identifier from the server.
In one embodiment, the apparatus further comprises: a posted information acquisition unit configured to send a comment acquisition request of a posted comment;
receiving response information which is returned by the server and aims at the comment acquisition request; if the published comment comprises a second image, the response information comprises an access address of the second image;
if the response information comprises the access address of the second image, sending a second image acquisition request carrying the access address to the server;
receiving the second image sent by the server;
if the response information further comprises characters, generating and displaying the published comment based on the characters of the response information and the second image; otherwise, the second image is displayed as the published comment.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a comment information processing apparatus including:
the receiving unit is configured to receive a publishing request of the comment to be published sent by a client, wherein the publishing request carries a page identifier and a type field; the comment to be issued comprises at least one type of information, and each type of information is a field value of a corresponding type field; wherein the types include: text and/or images;
the extracting unit is configured to extract field values of various types of fields in the publishing request to obtain the comments to be published;
and the publishing unit is configured to publish the comment to be published to a page corresponding to the page identifier according to the type of each piece of information in the comment to be published.
In one embodiment, if the comment to be published includes a first image; the device further comprises: the image identifier sending unit is configured to send a first image identifier of the first image to the client before receiving the publishing request sent by the client, wherein the first image identifier is generated by the server;
wherein a field value of an image type field included in the publication request is the first image identifier.
In one embodiment, the image identifier sending unit is configured to: and receiving the first image sent by a client, generating a first image identifier of the first image, and sending the first image identifier to the client.
In one embodiment, the issuing unit is configured to: and adding the comment to be published into a published information set of the page corresponding to the page identifier, wherein each type of information in the comment to be published is classified and stored according to a corresponding type field in the published information set.
In one embodiment, further comprising: the published information sending unit is configured to receive a comment acquisition request of published comments sent by the client;
acquiring various types of information according to type fields in a published information set of a page where the published comment is based on the comment acquisition request;
generating response information aiming at the comment acquisition request according to the acquired information of each type and sending the response information to the client, wherein if the published comment comprises a second image of an image type, the response information comprises an access address of the second image;
receiving a second image acquisition request which is sent by the client and carries the access address;
and sending the second image to the client.
In one embodiment, the type of information in the published information set is an image, and the apparatus further comprises: and the access address acquisition unit of the second image is configured to acquire the access address of the second image in the response information in the correspondence relationship between the pre-stored image and the access address.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first and second aspects.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer storage medium storing computer-executable instructions for performing the method according to the first and second aspects.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the disclosed comment information processing method and device, electronic equipment and storage medium firstly receive a comment to be issued input by a user, wherein the comment to be issued comprises at least one type of information, and the type comprises: and finally, sending a publishing request carrying the page identifier and the assigned type field to a server, so that the server extracts the field value of each type field in the publishing request to obtain the to-be-published comment, and publishing the to-be-published comment to a page corresponding to the page identifier according to the type of each information in the to-be-published comment. Different types of information types of the issued information are analyzed by adopting different types of fields, so that the display error of the information types when the information to be issued is displayed is avoided, the analysis efficiency and the auditing efficiency of the information to be issued are further improved, when the server side audits the issued information, only the type field corresponding to the information type needs to be searched, and the standard corresponding to the information type is compared with the information content in the issued information, such as: the issued information is pictures and characters, and only the condition that whether the character content accords with the character regulation or not and whether the picture content accords with the picture regulation or not need to be audited in a mixed mode are needed.
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 a schematic diagram of a review presentation interface provided by the related art;
fig. 2 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
fig. 3 is a schematic view of an application scenario of a comment information processing method provided by the embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a comment information processing method provided in the embodiment of the present disclosure;
fig. 5 is a schematic flowchart of a comment information processing method provided in the embodiment of the present disclosure;
fig. 6 is a schematic flowchart of a comment information obtaining method according to an embodiment of the present disclosure;
fig. 7 is a schematic flowchart of a comment information sending method according to an embodiment of the present disclosure;
FIG. 8 is a schematic illustration of a review presentation interface provided by an embodiment of the present disclosure;
fig. 9 is a timing flowchart of a comment information processing method provided in an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a comment information processing apparatus provided in an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a comment information processing apparatus provided in an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of an electronic device according to 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.
Generally, an input window of a software application on a line can input at least one of text and pictures, but when comment contents are displayed, it often happens that the input contents do not conform to each other, as shown in fig. 1, a [ love heart ] is input in the input window, a display result desired by a user is "[ love ] but" [ ] "may be a specific symbol for identifying pictures, resulting in actually displaying a heart-shaped pattern instead of text.
In the related art, when comment information is published through software application on a line, the just published information is consistent with a format stored in a server after content is parsed, the parsed content is displayed, if a certain software application agrees that the [ ] is a format for storing a picture address, it is assumed that a comment with the [ ] is sent, a user wants to display the website information, but after actual parsing, the displayed information is picture content, so that the published content is not matched with the displayed content. Based on this, the inventors propose a new comment information processing method to solve the above-described problem.
The display of the comment information in the method is suitable for the terminal equipment. Fig. 2 shows a block diagram of a possible terminal device. Referring to fig. 2, the terminal device 100 includes: a Radio Frequency (RF) circuit 110, a power supply 120, a processor 130, a memory 140, an input unit 150, a display unit 160, a camera 170, a communication interface 180, and a Wireless Fidelity (WiFi) module 190. Those skilled in the art will appreciate that the configuration of the terminal device shown in fig. 2 does not constitute a limitation of the terminal device, and that the terminal device provided by the embodiments of the present disclosure may include more or less components than those shown, or may combine some components, or may be arranged in different components.
The following describes each component of the terminal device 100 in detail with reference to fig. 2:
the RF circuit 110 may be used for receiving and sending data during communication or conversation, for example, to send a comment to be posted to a server, and receive a post-posting comment returned by the server and render the comment in a corresponding page. In particular, after receiving comments posted by the user and other users returned by the service background of the live broadcast, the RF circuit 110 sends the comments to the processor 130 for processing and then delivers the processed comments to the display screen for rendering and displaying, so that the user can view comment information through the terminal device. Generally, the RF circuit 110 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The WiFi technology belongs to a short-distance wireless transmission technology, and the terminal device 100 may connect to an Access Point (AP) through a WiFi module 190, so as to implement Access to a data network. The WiFi module 190 may be used for receiving and transmitting data during communication.
The terminal device 100 may be physically connected to other devices through the communication interface 180. In one embodiment, the communication interface 180 is connected to the communication interface of the other device through a cable, so as to realize data transmission between the terminal device 100 and the other device.
Since in the embodiment of the present disclosure, the terminal device 100 can implement a function of accessing a network and send information to other network devices, such as a server that distributes information content, the terminal device 100 needs to have a data transmission function, that is, the terminal device 100 needs to include a communication module inside. Although fig. 1 shows communication modules such as the RF circuit 110, the WiFi module 190, and the communication interface 180, it is understood that at least one of the above components or other communication modules (such as a bluetooth module) for realizing communication exists in the terminal device 100 for data transmission.
For example, when the terminal device 100 is a mobile phone, the terminal device 100 may include the RF circuit 110 and may further include the WiFi module 190; when the terminal device 100 is a computer, the terminal device 100 may include the communication interface 180 and may further include the WiFi module 190; when the terminal device 100 is a tablet computer, the terminal device 100 may include the WiFi module.
The memory 140 may be used to store software programs and modules. The processor 130 executes various functional applications and data processing of the terminal device 100 by executing software programs and modules stored in the memory 140.
In one embodiment, the memory 140 may mainly include a program storage area and a data storage area. The storage program area can store an operating system, various application programs (such as live broadcast application), a face recognition module and the like; the storage data area may store data created according to the use of the terminal device (such as various multimedia files like pictures and video files, as well as face information templates and comment information), and the like.
Further, the memory 140 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.
The input unit 150 may be used to receive numeric or character information input by a user and generate key signal inputs related to user settings and function control of the terminal device 100.
In one embodiment, the input unit 150 may include a touch panel 151 and other input devices 152.
The touch panel 151, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 151 (for example, an operation performed by the user on or near the touch panel 151 using any suitable object or accessory such as a finger, a stylus, etc.), and drive a corresponding connection device according to a preset program. In one embodiment, the touch panel 151 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction 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 sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 130, and can receive and execute commands sent by the processor 130. In addition, the touch panel 151 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave.
In one embodiment, the other input devices 152 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, a mouse, a joystick, and the like.
The display unit 160 may be used to display information input by a user or information provided to a user and various menus of the terminal device 100. The display unit 160 is a display system of the terminal device 100, and is used for presenting an interface to implement human-computer interaction.
The display unit 160 may include a display panel 161. In one embodiment, the Display panel 161 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Further, the touch panel 151 may cover the display panel 161, and when the touch panel 151 detects a touch operation on or near the touch panel, the touch panel may transmit the touch operation to the processor 130 to determine the type of the touch event, and then the processor 130 may provide a corresponding touch operation service on the display panel 161 according to the type of the touch event, for example, display comment information.
Although the touch panel 151 and the display panel 161 are shown in fig. 2 as two separate components to implement the input and output functions of the terminal device 100, in some embodiments, the touch panel 151 and the display panel 161 may be integrated to implement the input and output functions of the terminal device 100.
The processor 130 is a control center of the terminal device 100, connects various components using various interfaces and lines, and executes various functions and processes data of the terminal device 100 by running or executing software programs and/or modules stored in the memory 140 and calling data stored in the memory 140, thereby implementing various services based on the terminal device.
In one embodiment, the processor 130 may include one or more processing units. In one embodiment, the processor 130 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 130.
The camera 170 is configured to implement a shooting function of the terminal device 100, and shoot pictures or videos. The camera 170 may also be used to implement a scanning function of the terminal device 100, and scan a scanned object (two-dimensional code/barcode).
The terminal device 100 further comprises a power supply 120, such as a battery, for powering the various components. In one embodiment, the power supply 120 may be logically connected to the processor 130 through a power management system, so as to manage charging, discharging, and power consumption functions through the power management system.
Although not shown, the terminal device 100 may further include at least one sensor, an audio circuit, and the like, which are not described in detail herein.
Referring to fig. 3, a schematic view of an application scenario of the comment information processing method provided in the embodiment of the present disclosure is shown, where the scenario includes a user 30, a comment information processing terminal 31, and a server 32. The user 30 can send the comment to be published through the comment information processing terminal 31, and the comment to be published is transmitted to the server 32 through the comment information processing terminal 31. Although the comment information processing terminal 31 has sent the comment to be posted to the server, the comment to be posted may be posted after being audited, so as to prevent the comment to be posted from including violation information, where the violation information includes: the contents of the words and pictures maliciously injuring others may also include: content violating laws, social posts, or violating public interests, etc. After the server 32 determines that the comment to be posted conforms to the specification of information posting through information analysis, the comment to be posted is transmitted to the comment information processing terminal 31 to display the comment to be posted. In addition, it should be noted that, if the comment to be published includes: different types of information such as characters and pictures can be stored through different types of fields, so that different types of information can be identified through different types of fields, the situation that characters are identified as pictures by mistake or the pictures are identified as characters by mistake can be avoided, and the information processing terminal and the server terminal need to be commented to reserve the type fields corresponding to different types of information in advance. Through the method, the content displayed by the comment to be published can be consistent with the information expected to be published and input by the user, but the information related to the violation in the comment to be published is not displayed or the user is prompted that the comment information cannot be published in time in violation.
The comment information processing terminal 31 and the server 32 may be communicatively connected through a communication network, which may be a local area network, a wide area network, or the like. The comment information processing terminal 31 may be a mobile phone, a tablet computer, a notebook computer, a personal computer, or the like, and the server 32 may be any server device capable of supporting corresponding data processing.
Referring to fig. 4, a comment information processing method provided by the embodiment of the present disclosure is applied to a terminal, and includes:
step 401: receiving comments to be published input by a user, wherein the comments to be published comprise at least one type of information, and the type comprises: text and/or images.
It should be noted that some software Applications (APPs) have a comment window, and a user can post personal evaluation information in the APP, such as: film comments, live comments, music comments, shopping evaluations, and the like. The evaluation information (such as film comments and commodity comments) published in the corresponding APP is the comment to be published. It is further noted that the type may be at least one of a character and a picture. When a user evaluates in an APP, the user can comment through characters, comments through pictures, or comment modes of characters and pictures, wherein the pictures comprise: static images, expressions, motion pictures (short video). The form of comment information can be enriched in this way.
Step 402: and respectively assigning each type of information in the comment to be published to a corresponding type field, wherein different types of information correspond to different types of fields.
It should be noted that, information in the published comments is respectively assigned to different types of fields, so that specific information can be distinguished conveniently, for example, characters are assigned to content parameters, and images are assigned to pictureIds parameters. Through the mode, characters and pictures can be clearly distinguished, and when the comments to be published are displayed, analysis errors are avoided, such as: the picture is mistakenly recognized as "" love heart "".
Step 403: and sending the issuing request carrying the page identifier and the assigned type field to a server.
The comment to be published is usually published in a page corresponding to the APP. When the comment information is processed, the terminal sends the carrying package containing the page identification to the server so as to publish the published information to the corresponding page. The page identifier is defined for identifying a page to be published, and may be displayed through any indication information capable of distinguishing the page, such as: PAGE-1, PAGE-2, etc.
And sending the comment to the server, so that the server extracts various types of fields in the publishing request to identify the comment to be published. Correspondingly, referring to fig. 5, a comment information processing method provided by the embodiment of the present disclosure is applied to a server, and includes:
step 501: receiving a publishing request of the comment to be published sent by a client, wherein the publishing request carries a page identifier and a type field; the comment to be issued comprises at least one type of information, and each type of information is a field value of a corresponding type field; wherein the types include: text and/or images.
Step 502: and extracting the field values of all types of fields in the publishing request to obtain the comments to be published.
Step 503: and publishing the comment to be published to a page corresponding to the page identifier according to the type of each piece of information in the comment to be published.
In one embodiment, the comment to be published is added to a published information set of the page corresponding to the page identifier, wherein each type of information in the comment to be published is stored in a classified mode according to a corresponding type field in the published information set.
It should be noted that the server is provided with a page to be published with comments and a corresponding relationship between the comments on the page, so that the comment information is published accurately to the corresponding page for display. The corresponding relation can be stored in a form of setting a corresponding relation table, and can also be recorded respectively for different pages to be published with comments, which is not specifically limited herein, and the storage form capable of determining the corresponding relation between the pages and the comments can meet the requirements of the disclosure.
By the method, analysis errors of different types of information are avoided, the displayed information is consistent with the published information, and the analysis efficiency and the auditing efficiency of the comment information are further improved. It should be noted that, when the server checks the comment information, only the type field corresponding to the information type needs to be searched, and the standard corresponding to the information type is compared with the information content in the comment information, for example: the comment information is a picture and a character, and only the condition that whether the content of the character meets the specification of the character and whether the content of the picture meets the specification of the picture are required to be checked respectively without mixed checking.
In one embodiment, if the comment to be posted comprises a first image; acquiring a first image identifier of a first image from a server; correspondingly, when the image to be issued comprises the first image, the first image identifier is assigned to the image type field aiming at the first image, wherein the first image identifier is generated by the server side. With this embodiment, the image type field can facilitate the server side to identify the image content.
Correspondingly, the image included in the comment to be published may be an image provided by the server, or an image provided by a device other than the server, for example, an image collected by a camera of the terminal, or an image acquired from a cloud album of the user.
If the image is provided by equipment outside the server, in order to obtain the image identifier and facilitate the server to manage and identify the image content, the client can firstly send the image to the server, and the server generates the image identifier according to the image and then returns the image identifier to the client, so that the client can obtain the image identifier and assign the image identifier to the image type field to facilitate sending the release request.
In addition, the image identification is generated by the server side and the image is managed, so that the same image can be conveniently multiplexed when the same user or different users release information. When the comment is published, the server can correctly analyze the picture in the comment only by assigning the image identifier to the image type field. Such as: the first image is image a, the identifier set by the server is pictune-a, and if the image type field is not set for the first image, the first image may be displayed as a character during the server parsing, which may cause a display error, so that the image type field needs to be assigned to the image identifier.
In one embodiment, if the first image originates from the server, the image identifier of the first image can be obtained from the server without uploading the first image. In this way, repeated uploading of the same image can also be avoided.
Of course, when the server manages images, the server may manage images of different users separately. And establishing a corresponding relation between the user and different images, wherein the same user can only multiplex the images uploaded by the user, namely the user only has access right to the images of the user. It is of course also possible to provide images of a common resource, which are accessible to all users. Further, in order to enable different users to share images, only images may be managed without distinguishing access rights of different users to images.
Accordingly, the comments are published for presentation so that different users can communicate on the same topic. As to how to acquire comments, as shown in fig. 6, the present disclosure provides a comment information acquisition method that is executed by a terminal:
step 601: and sending a comment acquisition request of the published comment.
It should be noted that the comment acquisition request may be sent by the comment information processing terminal or by another terminal that wants to view the comment. Such as: the user A issues movie reviews of the film A in a certain video APP, the user A can send movie review acquisition requests through the video APP, and the user B can also send issued information acquisition requests through the video APP. The comment acquisition request may be sent by clicking a control of an information publishing area corresponding to the page, or may be sent by voice, which is not specifically limited herein.
Step 602: receiving response information which is returned by the server and aims at the comment acquisition request; and if the published comment comprises the second image, the response information comprises the access address of the second image.
It should be noted that, after receiving the comment acquisition request, the server side may respond according to the comment acquisition request, and if the response information includes the second image, the response information includes the access address of the second image. If the comment acquisition request is sent by the information issuing terminal, the contents of the first image and the second image are basically consistent. If there is a difference, it may be a second image obtained by adding a watermark or other artistic effect to the first image by the server. If the comment acquisition request is not sent by the information distribution terminal, the content of the second image may not be consistent with the content of the first image. It should be noted that the response information may be understood as a response after the server receives the comment acquisition request, and the response may inform the terminal of the information type included in the comment information, such as: the commented information comprises images, the commented information comprises characters, and the commented information comprises the combination of the images and the characters.
In addition, it is also noted that the image in the comment information may be stored in a server dedicated to storing the image. The server only needs to identify the corresponding image in the server storing the image as a primary key to find the corresponding image, and the server storing the image stores address information of the image, which may be a Content Delivery Network (CDN) address or a Uniform Resource Locator (URL) address, and is not specifically limited herein. If the response information includes the image, the server can acquire the access address of the image from the server storing the image and return the access address to the terminal as the access address.
Step 603: and if the response information comprises the access address of the second image, sending a second image acquisition request carrying the access address to the server.
And the terminal sends a request for acquiring the second image to the server based on the access address of the second image so as to be convenient for downloading the second image from the server and displaying the second image for the user to view.
Step 604: and receiving a second image sent by the server.
Step 605: judging whether the response information also comprises characters; if so, go to step 606, otherwise go to step 607.
Step 606: and generating and displaying the published comment based on the text and the second image of the response information.
Step 607: the second image is presented as a posted comment.
By checking the published comment in the mode, the image and the characters in the published comment are stored through different types of fields, so that the information displayed by the published comment is consistent with the information of the comment to be published.
The comment information is acquired by the terminal at the server side, and the comment information can be sent to the terminal through the server side for display. Correspondingly, referring to fig. 7, a comment information sending method provided by the embodiment of the present disclosure is applied to a server, and includes:
step 701: and receiving a comment acquisition request of the published comment sent by the client.
Step 702: and acquiring various types of information according to the type fields in the published information set of the page where the published comment is based on the comment acquisition request.
Step 703: and generating response information aiming at the comment acquisition request according to the acquired information of each type and sending the response information to the client, wherein if the published comment comprises a second image of the image type, the response information comprises an access address of the second image.
In one embodiment, when the information of the type in which the information sets are distributed is an image, the access address of the second image in the response information is acquired in the correspondence relationship between the image and the access address stored in advance.
It should be noted that the image here may be stored by an image identifier, or may be directly stored; the access address can be a URL address of the image or a CDN address of the image, and can be set according to the needs of the user in specific applications. Since the image and the access address are in one-to-one correspondence, access address information of the second image can be acquired. By the method, users viewing the comment information can conveniently obtain the image address information in the comment information.
Step 704: and receiving a second image acquisition request which is sent by the client and carries the access address.
Step 705: and sending the second image to the client.
By the method, the comment information is sent, so that the image and the text are stored through different types of fields, and therefore the information displayed by the published comment is consistent with the information of the comment to be published.
In one embodiment, with respect to fig. 1, by applying the comment information processing method of the present disclosure, fig. 8 is obtained, and as can be seen from fig. 8, when "[ love ]" is input in the input window, a character, i.e., [ love ] "is actually displayed instead of a pattern of love. In the practical application, the applicable scene is not limited to this scene, and when the URL address of the image is input, only the address information is displayed, and the image is not displayed as in the related art. The URL address information input by the terminal corresponds to a text field and is not an image field. Therefore, when the server analyzes the comment, the text content is displayed instead of the image content, and the condition that the display of the comment to be published is inconsistent with that of the published comment is avoided.
In order to facilitate systematic understanding of the processing method of the comment information provided in the embodiment of the present application, the following description is made with reference to fig. 9: in the figure, a client, a server and a server for storing images are included, and it is assumed that an image in comment information to be published by a user does not come from the server, so that the server is required to create an image identifier for the image and inform the image identifier to the client, so as to implement multiplexing of the image, as shown in S1-S5:
s1: and selecting the image without the server.
S2: and uploading the image to a server.
S3: and adding image identification to the image.
S4: and taking the image identifier as a main key for storing the picture.
S5: and returning the image identification to the client.
The user can select the image in the flow to issue comment information, and can also select an image from the server side with preset image identification. The comment information may be added with text content, and text and image identifiers are stored in different type fields, so that a user of the client posts the comment information, which is not specifically limited herein, and fig. 9 only illustrates an example of creating an image identifier in S1-S5, as shown in S6-S9:
s6: and adding text comment information.
S7: and sending the character and image identification to a server.
S8: the character and image identification are stored by different type fields respectively.
S9: and (4) publishing the comment information.
It should be noted that, after the user issues the comment information, the user needs to be audited by the server, except that the user who issues the comment information knows the issued content, the users of other clients do not know the comment information, and the user of any client cannot view the comment information in the comment information auditing stage. After the review of the server is passed, the user of the client can view the published comment information, obtain the characters and images in the comment information, and view the specific address information of the images, as shown in S10-S14:
s10: and acquiring the published comment information.
S11: and acquiring character and image identification in the comment information.
S12: and constructing an address accessible to the client through the image identification.
S13: and returning the addresses of the characters and the images in the comment information sent by the client.
S14: and displaying the published comment information.
Next, a comment information processing apparatus provided by an embodiment of the present disclosure will be described, as shown in fig. 10, the apparatus including: a receiving unit 101, an assigning unit 102 and a sending unit 103.
It should be noted that the receiving unit 101 is configured to receive a to-be-posted comment input by a user, where the to-be-posted comment includes at least one type of information, where the type includes: text and/or images.
The assigning unit 102 is configured to assign each type of information in the to-be-published comment to a corresponding type field respectively; wherein, different types of information correspond to different types of fields.
The sending unit 103 is configured to send a publishing request carrying a page identifier and an assigned type field to a server, so that the server extracts field values of various types of fields in the publishing request to obtain the comment to be published, and then publishes the comment to be published to a page corresponding to the page identifier according to the type of various information in the comment to be published.
In one embodiment, if the comment to be published includes a first image; the device further comprises: the image identification acquisition unit is configured to acquire a first image identification of the first image from a server; the first image identification is generated by the server;
the assignment unit is configured to:
and for the first image, assigning the first image identifier to an image type field.
In one embodiment, the image identifier generating unit is configured to:
if the first image is from the server, acquiring a first image identifier of the first image from the server;
if the first image is from an address except the server, uploading the first image to the server to enable the server to generate a first image identifier of the first image, and acquiring the first image identifier from the server.
In one embodiment, the apparatus further comprises: a posted information acquisition unit configured to send a comment acquisition request of a posted comment;
receiving response information which is returned by the server and aims at the comment acquisition request; if the published comment comprises a second image, the response information comprises an access address of the second image;
if the response information comprises the access address of the second image, sending a second image acquisition request carrying the access address to the server;
receiving the second image sent by the server;
if the response information further comprises characters, generating and displaying the published comment based on the characters of the response information and the second image; otherwise, the second image is displayed as the published comment.
As shown in fig. 11, the comment information processing apparatus according to the embodiment of the present disclosure includes: a receiving unit 111, an extracting unit 112, and a publishing unit 113.
It should be noted that, the receiving unit 111 is configured to receive a posting request of a comment to be posted, where the posting request is sent by a client, and the posting request carries a page identifier and a type field; the comment to be issued comprises at least one type of information, and each type of information is a field value of a corresponding type field; wherein the types include: text and/or images.
An extracting unit 112 configured to extract field values of the fields of the types in the posting request to obtain the comment to be posted.
The publishing unit 113 is configured to publish the comment to be published to a page corresponding to the page identifier according to the type of each piece of information in the comment to be published.
In one embodiment, if the comment to be published includes a first image; the device further comprises: the image identifier sending unit is configured to send a first image identifier of the first image to the client before receiving the publishing request sent by the client, wherein the first image identifier is generated by the server;
wherein a field value of an image type field included in the publication request is the first image identifier.
In one embodiment, the image identifier sending unit is configured to: and receiving the first image sent by a client, generating a first image identifier of the first image, and sending the first image identifier to the client.
In one embodiment, the issuing unit is configured to: and adding the comment to be published into a published information set of the page corresponding to the page identifier, wherein each type of information in the comment to be published is classified and stored according to a corresponding type field in the published information set.
In one embodiment, further comprising: the published information sending unit is configured to receive a comment acquisition request of published comments sent by the client;
acquiring various types of information according to type fields in a published information set of a page where the published comment is based on the comment acquisition request;
generating response information aiming at the comment acquisition request according to the acquired information of each type and sending the response information to the client, wherein if the published comment comprises a second image of an image type, the response information comprises an access address of the second image;
receiving a second image acquisition request which is sent by the client and carries the access address;
and sending the second image to the client.
In one embodiment, the type of information in the published information set is an image, and the apparatus further comprises: and the access address acquisition unit of the second image is configured to acquire the access address of the second image in the response information in the correspondence relationship between the pre-stored image and the access address.
After the comment information processing method and apparatus in the exemplary embodiment of the present disclosure are introduced, next, an electronic device of another exemplary embodiment of the present disclosure is introduced.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible implementations, an electronic device in accordance with the present disclosure may include at least one processor, and at least one memory. Wherein the memory stores program code which, when executed by the processor, causes the processor to perform the steps in the comment information processing method according to the various exemplary embodiments of the present disclosure described above in the present specification. For example, the processor may perform:
receiving a comment to be published input by a user, wherein the comment to be published comprises at least one type of information, and the type comprises: text and/or images;
assigning each type of information in the comment to be published to a corresponding type field respectively, wherein different types of information correspond to different types of fields;
sending a publishing request carrying a page identifier and assigned type fields to a server, so that the server extracts field values of the types of fields in the publishing request to obtain the comment to be published, and publishing the comment to be published to a page corresponding to the page identifier according to the type of information in the comment to be published.
In one embodiment, if the comment to be posted includes a first image, the method further includes:
acquiring a first image identifier of the first image from a server; the first image identification is generated by the server;
assigning each type of information in the comment to be published to a corresponding type field respectively, wherein the method comprises the following steps:
and for the first image, assigning the first image identifier to an image type field.
In one embodiment, the obtaining, from the server, the first image identifier of the first image includes:
if the first image is from the server, acquiring a first image identifier of the first image from the server;
if the first image is from an address except the server, uploading the first image to the server to enable the server to generate a first image identifier of the first image, and acquiring the first image identifier from the server.
In one embodiment, the method further comprises:
sending a comment acquisition request of the published comment;
receiving response information which is returned by the server and aims at the comment acquisition request; if the published comment comprises a second image, the response information comprises an access address of the second image;
if the response information comprises the access address of the second image, sending a second image acquisition request carrying the access address to the server;
receiving the second image sent by the server;
if the response information further comprises characters, generating and displaying the published comment based on the characters of the response information and the second image; otherwise, the second image is displayed as the published comment.
The processor may further perform:
receiving a publishing request of a comment to be published sent by a client, wherein the publishing request carries a page identifier and a type field; the comment to be issued comprises at least one type of information, and each type of information is a field value of a corresponding type field; wherein the types include: text and/or images;
extracting field values of various types of fields in the publishing request to obtain the comments to be published;
and publishing the comment to be published to a page corresponding to the page identifier according to the type of each piece of information in the comment to be published.
In one embodiment, if the comment to be published includes a first image; before the receiving a posting request of a comment to be posted sent by a client, the method further includes:
sending a first image identifier of the first image to the client;
wherein a field value of an image type field included in the publication request is the first image identifier.
In one embodiment, sending a first image identification of the first image to the client comprises:
and receiving the first image sent by a client, generating a first image identifier of the first image, and sending the first image identifier to the client.
In one embodiment, publishing the comment to be published to a page corresponding to the page identifier according to the type of each piece of information in the comment to be published includes:
and adding the comment to be published into a published information set of the page corresponding to the page identifier, wherein each type of information in the comment to be published is classified and stored according to a corresponding type field in the published information set.
In one embodiment, further comprising:
receiving a comment acquisition request of a published comment sent by a client;
acquiring various types of information according to type fields in a published information set of a page where the published comment is based on the comment acquisition request;
generating response information aiming at the comment acquisition request according to the acquired information of each type and sending the response information to the client, wherein if the published comment comprises a second image of an image type, the response information comprises an access address of the second image;
receiving a second image acquisition request which is sent by the client and carries the access address;
and sending the second image to the client.
In one embodiment, the acquiring the access address of the second image when the information of the type in the published information set is an image includes:
and acquiring the access address of the second image in the response information in the corresponding relation between the pre-stored image and the access address.
An electronic device 130 (which can implement the method of the server in the present disclosure) according to this embodiment of the present disclosure is described below with reference to fig. 12. The electronic device 130 shown in fig. 12 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 12, the electronic device 130 is embodied in the form of a general purpose computing apparatus. The components of the electronic device 130 may include, but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 that connects the various system components (including the memory 132 and the processor 131).
Bus 133 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
The memory 132 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)1321 and/or cache memory 1322, and may further include Read Only Memory (ROM) 1323.
Memory 132 may also include a program/utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboard, pointing device, etc.), with one or more devices that enable target objects to interact with the electronic device 130, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 130 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 135. Also, computing device 130 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via network adapter 136. As shown, network adapter 136 communicates with other modules for electronic device 130 over bus 133. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In some possible embodiments, various aspects of the comment information processing method provided by the present disclosure may also be implemented in the form of a program product including program code for causing corresponding devices to execute the steps in the comment information processing method according to various exemplary embodiments of the present disclosure described above in this specification when the program product is run on an endpoint device and an electronic device, such as a terminal device that may execute the method of fig. 4 and/or fig. 6.
Such as a processor of an electronic device, may perform the method of fig. 5 or fig. 7.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for comment information processing of the embodiment of the present disclosure may employ a portable compact disk read only memory (CD-ROM) and include program code, and may be executed on a terminal device or a computing apparatus. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the target object computing device, partly on the target object apparatus, as a stand-alone software package, partly on the target object computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the target object electronic equipment through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to external electronic equipment (e.g., through the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one unit, in accordance with embodiments of the present disclosure. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the disclosed methods are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in the particular order shown, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
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.

Claims (10)

1. A comment information processing method is characterized by comprising the following steps:
receiving a comment to be published input by a user, wherein the comment to be published comprises at least one type of information, and the type comprises: text and/or images;
assigning each type of information in the comment to be published to a corresponding type field respectively, wherein different types of information correspond to different types of fields;
sending a publishing request carrying a page identifier and assigned type fields to a server, so that the server extracts field values of the types of fields in the publishing request to obtain the comment to be published, and publishing the comment to be published to a page corresponding to the page identifier according to the type of information in the comment to be published.
2. The method of claim 1, wherein if the comment to be posted comprises a first image, the method further comprises:
acquiring a first image identifier of the first image from a server; the first image identification is generated by the server;
assigning each type of information in the comment to be published to a corresponding type field respectively, wherein the method comprises the following steps:
and for the first image, assigning the first image identifier to an image type field.
3. The method of claim 2, wherein the obtaining the first image identifier of the first image from the server comprises:
if the first image is from the server, acquiring a first image identifier of the first image from the server;
if the first image is from an address except the server, uploading the first image to the server to enable the server to generate a first image identifier of the first image, and acquiring the first image identifier from the server.
4. The method of claim 1, further comprising:
sending a comment acquisition request of the published comment;
receiving response information which is returned by the server and aims at the comment acquisition request; if the published comment comprises a second image, the response information comprises an access address of the second image;
if the response information comprises the access address of the second image, sending a second image acquisition request carrying the access address to the server;
receiving the second image sent by the server;
if the response information further comprises characters, generating and displaying the published comment based on the characters of the response information and the second image; otherwise, the second image is displayed as the published comment.
5. A comment information processing method is characterized by comprising the following steps:
receiving a publishing request of a comment to be published sent by a client, wherein the publishing request carries a page identifier and a type field; the comment to be issued comprises at least one type of information, and each type of information is a field value of a corresponding type field; wherein the types include: text and/or images;
extracting field values of various types of fields in the publishing request to obtain the comments to be published;
and publishing the comment to be published to a page corresponding to the page identifier according to the type of each piece of information in the comment to be published.
6. The method according to claim 5, wherein if the comment to be posted comprises a first image; before the receiving a posting request of a comment to be posted sent by a client, the method further includes:
sending a first image identifier of the first image to the client;
wherein a field value of an image type field included in the publication request is the first image identifier.
7. A comment information processing apparatus characterized by comprising:
the comment processing device comprises a receiving unit, a comment processing unit and a comment processing unit, wherein the comment processing unit is configured to receive a comment to be published input by a user, the comment to be published comprises at least one type of information, and the type comprises: text and/or images;
the evaluation unit is configured to evaluate each type of information in the comment to be published to a corresponding type field respectively, wherein different types of information correspond to different types of fields;
the sending unit is configured to send a publishing request carrying the page identifier and the assigned type field to a server, so that the server extracts the field value of each type field in the publishing request to obtain the comment to be published, and then publishes the comment to be published to a page corresponding to the page identifier according to the type of each piece of information in the comment to be published.
8. A comment information processing apparatus characterized by comprising:
the receiving unit is configured to receive a publishing request of the comment to be published sent by a client, wherein the publishing request carries a page identifier and a type field; the comment to be issued comprises at least one type of information, and each type of information is a field value of a corresponding type field; wherein the types include: text and/or images;
the extracting unit is configured to extract field values of various types of fields in the publishing request to obtain the comments to be published;
and the publishing unit is configured to publish the comment to be published to a page corresponding to the page identifier according to the type of each piece of information in the comment to be published.
9. An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4 or 5-6.
10. A computer storage medium storing computer-executable instructions for performing the method of any one of claims 1-4 or 5-6.
CN201910849384.7A 2019-09-09 2019-09-09 Comment information processing method and device, electronic equipment and storage medium Pending CN110647827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910849384.7A CN110647827A (en) 2019-09-09 2019-09-09 Comment information processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910849384.7A CN110647827A (en) 2019-09-09 2019-09-09 Comment information processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110647827A true CN110647827A (en) 2020-01-03

Family

ID=69010184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910849384.7A Pending CN110647827A (en) 2019-09-09 2019-09-09 Comment information processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110647827A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559913A (en) * 2020-12-11 2021-03-26 车智互联(北京)科技有限公司 Data processing method and device, computing equipment and readable storage medium
CN113608945A (en) * 2021-07-30 2021-11-05 腾讯科技(深圳)有限公司 Data processing method, device, equipment and computer readable storage medium
CN113949886A (en) * 2021-09-18 2022-01-18 北京达佳互联信息技术有限公司 Live broadcast service processing method and device, electronic equipment and storage medium
CN115134615A (en) * 2021-03-29 2022-09-30 北京字节跳动网络技术有限公司 Voice comment information processing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838531A (en) * 2012-11-20 2014-06-04 腾讯科技(深圳)有限公司 Information processing and displaying method and mobile terminal
CN107038023A (en) * 2016-02-02 2017-08-11 腾讯科技(深圳)有限公司 The exchange method and device of interaction comment
CN108805960A (en) * 2018-05-31 2018-11-13 北京字节跳动网络技术有限公司 Composing Method of Mixing, device, computer readable storage medium and terminal
US20180336320A1 (en) * 2014-12-04 2018-11-22 Guy Le Henaff System and method for interacting with information posted in the media
CN110061900A (en) * 2018-01-18 2019-07-26 腾讯科技(深圳)有限公司 Message display method, device, terminal and computer readable storage medium
CN110058776A (en) * 2019-02-13 2019-07-26 阿里巴巴集团控股有限公司 The message issuance method and device and electronic equipment of Web page
CN110134805A (en) * 2019-05-20 2019-08-16 北京字节跳动网络技术有限公司 Network storage method, device, electronic equipment and the medium of picture category comment data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838531A (en) * 2012-11-20 2014-06-04 腾讯科技(深圳)有限公司 Information processing and displaying method and mobile terminal
US20180336320A1 (en) * 2014-12-04 2018-11-22 Guy Le Henaff System and method for interacting with information posted in the media
CN107038023A (en) * 2016-02-02 2017-08-11 腾讯科技(深圳)有限公司 The exchange method and device of interaction comment
CN110061900A (en) * 2018-01-18 2019-07-26 腾讯科技(深圳)有限公司 Message display method, device, terminal and computer readable storage medium
CN108805960A (en) * 2018-05-31 2018-11-13 北京字节跳动网络技术有限公司 Composing Method of Mixing, device, computer readable storage medium and terminal
CN110058776A (en) * 2019-02-13 2019-07-26 阿里巴巴集团控股有限公司 The message issuance method and device and electronic equipment of Web page
CN110134805A (en) * 2019-05-20 2019-08-16 北京字节跳动网络技术有限公司 Network storage method, device, electronic equipment and the medium of picture category comment data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559913A (en) * 2020-12-11 2021-03-26 车智互联(北京)科技有限公司 Data processing method and device, computing equipment and readable storage medium
CN112559913B (en) * 2020-12-11 2023-10-20 车智互联(北京)科技有限公司 Data processing method, device, computing equipment and readable storage medium
CN115134615A (en) * 2021-03-29 2022-09-30 北京字节跳动网络技术有限公司 Voice comment information processing method and device, electronic equipment and storage medium
CN113608945A (en) * 2021-07-30 2021-11-05 腾讯科技(深圳)有限公司 Data processing method, device, equipment and computer readable storage medium
CN113949886A (en) * 2021-09-18 2022-01-18 北京达佳互联信息技术有限公司 Live broadcast service processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10326715B2 (en) System and method for updating information in an instant messaging application
US9936022B2 (en) Computer device for reading e-book and server for being connected with the same
US10311877B2 (en) Performing tasks and returning audio and visual answers based on voice command
CN110647827A (en) Comment information processing method and device, electronic equipment and storage medium
CN105183513A (en) Application recommendation method and apparatus
CN113365106B (en) Multimedia resource generation method and device, electronic equipment and storage medium
JP2021099861A (en) Server, system, user terminal, method, and program for messaging service
CN104092596B (en) A kind of management method, Apparatus and system of music groups of users
CN109743245B (en) Method and device for creating group
CN110781408A (en) Information display method and device
CN111866537A (en) Information display method and device in live broadcast room, storage medium and electronic equipment
WO2022156606A1 (en) Information processing method and apparatus, and electronic device
EP3357017A1 (en) Conversation and version control for objects in communications
US20220366066A1 (en) Display method, display device, and electronic device
CN112215924A (en) Picture comment processing method and device, electronic equipment and storage medium
CN113285866B (en) Information sending method and device and electronic equipment
CN105488109A (en) Content item configuration method, device and system
CN109413056B (en) Method and apparatus for processing information
WO2014176896A1 (en) System and method for updating information in an instant messaging application
CN105205072A (en) Webpage information display method and system
CN115079884A (en) Session message display method, device, equipment and storage medium
CN109768910B (en) Information processing method, related device, equipment and system
CN112235412B (en) Message processing method and device
CN109040331B (en) Electronic business card processing method and device, computing equipment and storage medium
CN113364915B (en) Information display method and device and electronic equipment

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