WO2020233166A1 - 评论数据的提供、显示方法、装置、电子设备及存储介质 - Google Patents
评论数据的提供、显示方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2020233166A1 WO2020233166A1 PCT/CN2020/073743 CN2020073743W WO2020233166A1 WO 2020233166 A1 WO2020233166 A1 WO 2020233166A1 CN 2020073743 W CN2020073743 W CN 2020073743W WO 2020233166 A1 WO2020233166 A1 WO 2020233166A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- comment
- comment data
- data
- target
- server
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000012552 review Methods 0.000 claims description 68
- 238000004590 computer program Methods 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 5
- 239000000284 extract Substances 0.000 claims description 2
- 238000012550 audit Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000014509 gene expression Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9536—Search customisation based on social or collaborative filtering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
Definitions
- the embodiments of the present disclosure relate to the field of data processing technology, for example, to a method, device, electronic device, and storage medium for providing comment data, displaying it.
- users can comment on the posted content.
- the server reviews the user’s comment data and reports After the review is passed, it will be made public to other users. At this time, other users can see the user's comment data.
- the comment data entered by the user is stored locally, and the user can browse the comment data published by him at any time.
- the comment data is text data, which occupies a small amount of local storage space, and it is easier to maintain and expand the comment data. If the comment data is more diversified data such as image data, audio data, or even video data, it will occupy a large amount of local storage space, and it will be more difficult to maintain and expand.
- the embodiments of the present disclosure provide a method, device, electronic device, and storage medium for providing and displaying comment data, which can reduce the difficulty of maintaining and expanding comment data when users can view diversified comment data at any time.
- an embodiment of the present disclosure provides a method for providing comment data, the method including:
- the server obtains the target comment data set that matches the comment data obtaining request of the target user.
- the comment data includes the identification information of the publishing user and the comment open status;
- the server forms a feedback result corresponding to the comment data acquisition request according to the first comment data and the second comment data, and provides the feedback result to the target user for display.
- an embodiment of the present disclosure provides a method for displaying comment data, the method including:
- the client sends a comment data acquisition request corresponding to the target user to the server, and receives a feedback result for the comment data acquisition request provided by the server;
- the comment data obtaining request is used to instruct the server to obtain the first comment data whose comment open state is not open and the publishing user is the target user in the matched target comment data set, and the comment open state is open And second comment data satisfying the comment visibility condition corresponding to the target user constitutes the feedback result;
- the client terminal displays the first comment data in the feedback result on top
- the second comment data in the feedback result is displayed at the end of the first comment data.
- an embodiment of the present disclosure further provides a comment data providing device, which includes:
- the target comment data set obtaining module is set to obtain the target comment data set matching the comment data obtaining request of the target user from all the comment data.
- the comment data includes the identification information of the publishing user and the comment open status;
- the first comment data obtaining module is configured to obtain the first comment data of the target comment data set, the comment open state is not open, and the publishing user is the target user;
- a second comment data obtaining module configured to obtain second comment data in the target comment data set, the comment open state is open and the comment visibility condition corresponding to the target user is satisfied;
- the feedback result providing module is configured to form a feedback result corresponding to the comment data acquisition request based on the first comment data and the second comment data, and provide the feedback result to the target user for display.
- an embodiment of the present disclosure further provides a display device for comment data, which includes:
- the feedback result request and receiving module is configured to send a comment data obtaining request corresponding to the target user to the server, and to receive the feedback result of the comment data obtaining request provided by the server; wherein the comment data obtaining request is set to Instruct the server to obtain the first comment data whose comment open state is not open and the publishing user is the target user in the matched target comment data set, and the comment open state is open and satisfy the comment corresponding to the target user
- the second comment data of the visible condition constitutes the feedback result
- the feedback result display module is configured to display the second comment data in the feedback result at the end of the first comment data after displaying the first comment data in the feedback result on top.
- an embodiment of the present disclosure further provides an electronic device, which includes:
- One or more processors are One or more processors;
- Memory set to store one or more programs
- the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the method for providing comment data or the method for displaying comment data as described in the embodiments of the present disclosure.
- the embodiment of the present disclosure further provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the How to provide comment data or how to display comment data.
- Fig. 1 is a flowchart of a method for providing comment data in an embodiment of the present disclosure
- Fig. 2a is a flowchart of a method for displaying comment data in an embodiment of the present disclosure
- 2b is a schematic diagram of a display interface of comment data in an embodiment of the present disclosure
- FIG. 2c is a schematic diagram of another display interface of comment data in an embodiment of the present disclosure.
- FIG. 3 is a schematic structural diagram of a comment data providing device in an embodiment of the present disclosure.
- FIG. 4 is a schematic structural diagram of a display device for comment data in an embodiment of the present disclosure
- Fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure.
- Figure 1 is a flowchart of a method for providing comment data in an embodiment of the disclosure. This embodiment is applicable to a situation where the server manages the comment data published by the target user sent by the client.
- An apparatus is provided for execution.
- the apparatus may be implemented in a software and/or hardware manner.
- the apparatus may be configured in an electronic device, such as a server. As shown in Figure 1, the method includes the following steps:
- the server obtains a target comment data set matching the comment data obtaining request of the target user from all the comment data.
- the comment data includes the identification information of the publishing user and the comment open state.
- Comment data is used to express the publishing user's views on things, and is used to share the publishing user with other users.
- All comment data includes comment data of posted content and comment data of posted content.
- the data types of all comment data may include at least one of the following: text data, picture data, audio data, video data, and so on.
- All the comment data includes: picture type data, and the picture type data includes: location information of a thumbnail of at least one picture. The positioning information of the thumbnail of the picture is used to obtain the picture.
- the picture data may also include text and/or emoticons.
- the expressions may include static expressions and dynamic expressions.
- the thumbnail of the picture is a small picture after compression processing of the picture.
- the thumbnail of the picture contains a link to the corresponding original picture.
- the location information of the thumbnail is the address information corresponding to the storage of the thumbnail. Since each file on the Internet has unique location information, it is used to determine the location of each file and related processing means.
- the location information of the thumbnail of the at least one picture includes: a Uniform Resource Locator (URL) of the thumbnail of the at least one picture.
- URL Uniform Resource Locator
- the target user may refer to a user who issues a request for obtaining comment data.
- the comment data obtaining request is used to obtain comment data of the posted content.
- the target comment data set includes at least one type of comment data associated with the comment data acquisition request.
- the comment data includes at least comment text information, identification information of the posting user, and comment open status.
- the comment data may also include other data, such as recommendation data, weather data, or time data, which is not limited in the embodiment of the present disclosure.
- the posting user may refer to the user who posted the comment text information.
- the identification information is used to identify the publishing user, and may include at least one of the following: user name, identity information, gender, and device number of the publishing user's mobile terminal.
- the comment open state is used to indicate whether the comment data is visible to users.
- the comment open state is used to indicate whether the comment data is visible to the user and whether it is displayed in the client used by the user. It may refer to the visible state to all users except the posting user, or it may refer to Visible status to some users (such as the user level reaches the set level threshold) except for the posting user.
- Comment open status includes open and non-open. Among them, open is used to indicate that the comment data is visible to users, that is, the comment data is displayed in the client used by the user; non-open is used to indicate that the comment data is invisible to the user, that is, the customer used by the user The comment data is not displayed in the terminal.
- author A publishes a literary work
- reader B of the literary work publishes a comment
- reader B is the user who posted the comment.
- reader C browses the comment of reader B
- the target user is reader C.
- Reader B browses the comments posted by Reader B.
- the target user is Reader B.
- the user level of reader C is 2 and the user level of reader D is 1, when the comment open status corresponding to the comment posted by reader B is open to all users, the comments of author A, reader B, reader C and reader D The client can display the comment; when the comment open status corresponding to the comment posted by reader B is open to users greater than user level 1, the clients of author A, reader B, and reader C can all display the comment.
- the server obtains the target comment data set matching the comment data obtaining request of the target user among all comment data, including: the server extracts the posted content corresponding to the comment data obtaining request; In the comment data, the comment data obtained for commenting on the posted content and the comment data used for commenting on the posted content constitute the target comment data set.
- the comment data acquisition request may refer to comment data of at least one posted content.
- the comment data acquisition request may include identification information of the posted content, which is used to point to the posted content.
- comment data can also be commented, and data for commenting on the comment data can also be used as comment data.
- the server determines at least one posted content, and obtains the comment data of each posted content, and the comment data of the aforementioned comment data constitute a target comment data set, which improves the coverage rate of the target comment data set.
- S120 The server obtains the first comment data in the target comment data set, the comment open state is not open, and the publishing user is the target user.
- the comment data published by the target user itself is visible to the target user no matter whether it is open or not.
- the first comment data is used to indicate comment data that has not passed the review or is pending review published by the target user.
- the server obtains second comment data in the target comment data set, the comment open state is open and that satisfies the comment visibility condition corresponding to the target user.
- the second review data is used to indicate review data that has passed the review.
- the server obtaining the target comment dataset, the second comment data whose comment open state is open and meeting the comment visibility condition corresponding to the target user includes: the server obtaining the target comment dataset , The comment open state is open candidate comment data; the server obtains the comment data visible to all users from the candidate comment data, or the visible user list includes the target user’s comment data as the The second comment data.
- the candidate comment data is used to indicate the comment data whose comment open state is open, and may include comment data visible to all users and comment data visible to some users.
- some users may include at least one of the following: publishing users corresponding to the published content, publishing users of comment data, and users whose user level exceeds a set level threshold. All the comment data visible to the user or the comment data of the target user are selected from the candidate comment data as the second comment data to ensure that the second comment data is the comment data visible to the target user.
- the server may also obtain the comment data visible to the user collection including the target user from the candidate comment data.
- the second comment data may also include other types of comment data, which is not limited in the embodiment of the present disclosure.
- the visible comment data range enables accurate determination of the second comment data.
- S140 The server forms a feedback result corresponding to the comment data acquisition request according to the first comment data and the second comment data, and provides the feedback result to the target user for display.
- the first comment data and the second comment data cover all the comment data visible to the target user.
- the server provides the comment data visible to the target user to the target user, and the client corresponding to the target user displays the data sent by the server without other processing operations.
- the comment data can be maintained and expanded on the server side to reduce the client’s Workload.
- the method further includes: the server receives comment data to be reviewed reported by the comment publishing user; The identification information of the publishing user is added to the review data to be reviewed, and the comment open status of the review data to be reviewed is set to non-open; the server sends the review data to be reviewed to the review The platform reviews the open status of comments.
- the review platform is used to review the review data, and modify the open status of the review data when the review data passes the review.
- the review review includes at least one of the following: the number of postings of the posting user, repeated content, keywords (advertising words, sensitive words, or blocked words, etc.), and whether the posting user is a blacklisted user.
- the review platform determines that the review data can be opened to other users, so that users other than the publishing user can browse the review data.
- the review data can be filtered and quality evaluated, which can reduce low-quality review data and reduce redundancy Comment data to ensure that high-quality comment data is spread on the Internet.
- the method for displaying the comment data further includes: in the case where the server receives the review approval response for the review data that is to be reviewed, which is fed back by the review platform, compiling the review data of the review data.
- the comment open status is changed to open.
- the approval response is used by the server to open the comment data to all users or some users except the publishing user.
- the review open status of the review data is modified to open, which improves the quality of review data, reduces redundant review data, streamlines review data, and improves the processing efficiency of open review data.
- the embodiment of the present disclosure divides the comment data into the first comment data published by the target user and the second comment data visible to the target user by storing the comment data in the server and adding the identification information and the open state of the publishing user at the same time.
- the target user’s own comment data and the comment data visible to the target user are provided to users at any time, which solves the problem of large storage resources and high maintenance or expansion difficulties caused by the local storage of user-published comment data in related technologies, which can avoid the local client Store the comment data published by the target user to reduce the storage resources of the client by the comment data.
- the comment data is maintained and configured on the server side. Only the client is required to display the comment data, which reduces the difficulty of maintaining and expanding the comment data.
- Fig. 2a is a flowchart of a method for displaying comment data in an embodiment of the disclosure. This embodiment is applicable to the case where the client obtains and displays the comment data issued by the server.
- the method can be executed by a display device for the comment data.
- the device can be implemented in software and/or hardware, and the device can be configured
- the electronic device such as a terminal device, can be a mobile phone, a vehicle-mounted device, or a tablet computer.
- the method includes the following steps:
- the client sends a comment data obtaining request corresponding to the target user to the server, and receives a feedback result for the comment data obtaining request provided by the server; wherein the comment data obtaining request is used to instruct the server to In the matched target comment data set, the first comment data whose comment open state is not open and the posting user is the target user is obtained, and the second comment data whose comment open state is open and meets the comment visibility condition corresponding to the target user
- the comment data constitutes the feedback result.
- the comment data acquisition request, the target comment data set, the comment open state, the posting user, the target user, the first comment data, and the second comment data can all refer to the description of the foregoing embodiment.
- the feedback result is used to indicate the comment data issued by the server for the comment data acquisition request.
- the comment data is not stored in the client, all of which is obtained through the server.
- the first comment data or the second comment data includes: picture type data
- the picture type data includes: location information of a thumbnail of at least one picture.
- the sticky display may refer to display at the top of the comment display area.
- the tail display may mean that the position of the display area of the first comment data is above the position of the display area of the second comment data.
- displaying the second comment data in the feedback result at the end of the first comment data including: The client terminal lays out the comment display interface for the first comment data according to the top display mode; after the client finishes the layout of the first comment data, it follows the mode displayed at the end of the first comment data , Perform the layout of the comment display interface on the second comment data; if the client determines that the target picture category data of the current layout is the first-level comment data, then obtain at least one piece corresponding to the positioning information in the target picture category data.
- the first-level comment data is used to represent the comment data of the posted content.
- the second-level comment data is used to represent the comment data of the comment data of the posted content, that is, the second-level comment data may refer to the comment data of the first-level comment data. Any layer of comment data other than the direct comment data.
- the comment display interface is used to display first-level comment data and second-level comment data.
- the comment display interface includes a plurality of picture filling areas.
- the comment display interface includes a picture layout template.
- the picture layout template provides layout rules for thumbnails.
- the picture layout template is Jiugongge, and the picture filling area is used to fill the thumbnails in the corresponding first-level comment data to generate The picture comment display data is laid out in the comment display interface.
- Picture reminder information is used to remind the target picture data that contains pictures.
- picture reminders are displayed in the form of text or pictures, corresponding to the location information of the thumbnail.
- Picture reminders can be understood as a hyperlink.
- the target image data is secondary comment data, according to the generated image prompt information and other data in the target image data, the image comment display data of the target image data is generated, and the image comment display data containing the image prompt information will be generated Layout in the comment display interface.
- the publishing user directly provides the picture data of the picture source, which may refer to determining the picture source and generating the picture data of the picture according to the picture source.
- the second-level comment data is used to represent the image data in which the publishing user only provides the image prompt information, and can refer to the image data in which the image source is unknown and the image is generated according to the image prompt information.
- a user selects a comment display control to trigger the display of a comment display interface 21 for a posted content.
- the comment display interface includes: a display area for posted content (content being commented on) and a display area for comments. Among them, the display area of the posted content is used to display the posted content 24; the display area of the comment is used to display the first comment data 22 and the second comment data 23.
- the first comment data 22 is a comment made by the user on the posted content, and the comment has not yet passed the review.
- the second comment data is a comment that has passed the review and the user has viewing authority.
- the end of the area where the first comment data 22 is located is the area where the head of the second comment data 23 is located.
- the first comment data 22 includes picture comment display data A25, picture comment display data B26, and picture comment display data C27.
- the picture comment display data is displayed as a picture (of course, the picture comment display data may also include other text comment content).
- the display area of the comment includes the posted content and the comment, where the comment may be the first comment data or the second comment data.
- the display area of the comment includes a display area of the first-level comment data and a display area of the second-level comment data.
- the first-level comment data area one or more pieces of comment display data are displayed in sub-items, and the comment
- the display data may include image comment display data.
- each thumbnail in the picture data Displayed in the form of Jiugongge In the secondary comment data area the text data and picture data of each picture comment display data are also distinguished.
- the display area of the text data is in the center of the secondary comment data area, and the display area of the picture data is displayed in the text data.
- the display form of the picture data is in the form of picture prompt information, for example, the picture prompt information is "5 pictures".
- the display of picture data is realized, the diversity of comment data is increased, and the flexibility of the layout of comment data is improved.
- the first-level comment data The distinguishing layout method of the second-level comment data helps to improve the utilization rate and display speed of the comment display interface.
- the client requests the server to obtain comment data, and according to the feedback result of the server, the first comment data that is not open and published for the target user is displayed on top, and then the second comment data that is open and visible to the target user is displayed.
- the comment data is all obtained through the server, which reduces the storage resources of the client by the comment data, as well as the resource consumption and workload for processing the comment data, and improves the display efficiency of the comment data.
- the comment data can be displayed in different ways, which improves the flexibility of displaying the comment data and reduces the difficulty of maintaining and expanding the comment data.
- FIG. 3 is a schematic structural diagram of an apparatus for providing comment data in an embodiment of the disclosure. This embodiment may be applicable to a situation where a server manages comment data published by a target user sent by a client.
- the device can be implemented in software and/or hardware, and the device can be configured in an electronic device, such as a server. As shown in FIG. 3, the device may include: a target comment data set obtaining module 310, a first comment data obtaining module 320, a second comment data obtaining module 330, and a feedback result providing module 340.
- the target comment data set obtaining module 310 is configured to obtain the target comment data set matching the comment data obtaining request of the target user from all the comment data, and the comment data includes the identification information of the publishing user and the comment open status;
- the first comment data obtaining module 320 is configured to obtain the first comment data of the target comment data set, the comment open state is not open, and the publishing user is the target user;
- the second comment data obtaining module 330 is configured to obtain second comment data in the target comment data set, the comment open state is open and the comment visibility condition corresponding to the target user is satisfied;
- the feedback result providing module 340 is configured to form a feedback result corresponding to the comment data acquisition request based on the first comment data and the second comment data, and provide the feedback result to the target user for display.
- the embodiment of the present disclosure divides the comment data into the first comment data published by the target user and the second comment data visible to the target user by storing the comment data in the server and adding the identification information and the open state of the publishing user at the same time.
- the target user’s own comment data and the comment data visible to the target user are provided to users at any time, which solves the problem of large storage resources and high maintenance or expansion difficulties caused by the local storage of user-published comment data in related technologies, which can avoid the local client Store the comment data published by the target user to reduce the storage resources of the client by the comment data.
- the comment data is maintained and configured on the server side. Only the client is required to display the comment data, which reduces the difficulty of maintaining and expanding the comment data.
- the comment data providing device further includes: a pending data receiving unit, which is configured to before the server obtains the target comment data set matching the comment data obtaining request of the target user among all the comment data, Receive comment data pending review reported by the comment publishing user; add identification information of the publishing user to the review data to be reviewed, and set the comment open state of the review data to be reviewed to non-open; The comment data to be reviewed is sent to the review platform for review of the review open state.
- a pending data receiving unit which is configured to before the server obtains the target comment data set matching the comment data obtaining request of the target user among all the comment data, Receive comment data pending review reported by the comment publishing user; add identification information of the publishing user to the review data to be reviewed, and set the comment open state of the review data to be reviewed to non-open;
- the comment data to be reviewed is sent to the review platform for review of the review open state.
- the device for providing comment data further includes: an over-review status modification unit configured to, upon receiving an approval response to the review data to be reviewed, which is fed back by the review platform, the pending review data The comment open status of the reviewed comment data is changed to open.
- the target comment data set obtaining module 310 includes: a target comment data set generating unit configured to extract the posted content corresponding to the comment data obtaining request; among all the comment data, obtain the comment data
- the comment data of the posted content and the comment data used to comment on the comment data of the posted content constitute the target comment data set.
- the second comment data obtaining module 330 includes: a candidate comment data obtaining unit, configured to obtain candidate comment data in the target comment data set and whose comment open state is open; In the selected comment data, the comment data visible to all users is obtained, or the comment data of the target user is included in the visible user list as the second comment data.
- all the comment data includes: picture type data
- the picture type data includes: location information of a thumbnail of at least one picture.
- the comment data providing device provided by the embodiment of the present disclosure, for details not described in the embodiment of the present disclosure, please refer to the above embodiment, and the comment data providing device of the embodiment of the present disclosure and the comment data providing method provided by the foregoing embodiment have The same beneficial effect.
- FIG. 4 is a schematic structural diagram of a display device for comment data in an embodiment of the disclosure. This embodiment may be applicable to a situation where a client obtains and displays comment data issued by a server.
- the device can be implemented in software and/or hardware, and the device can be configured in a client of an electronic device, such as a client of a terminal device. As shown in FIG. 4, the device may include: a feedback result request and receiving module 410 and a feedback result display module 420.
- the feedback result request and receiving module 410 is configured to send a review data acquisition request corresponding to the target user to the server, and receive a feedback result for the review data acquisition request provided by the server; wherein the review data acquisition request is used To instruct the server to obtain the first comment data whose comment open state is not open and the publishing user is the target user in the matched target comment data set, and the comment open state is open and meets the requirements corresponding to the target user
- the second comment data of the comment visibility condition constitutes the feedback result
- the feedback result display module 420 is configured to display the second comment data in the feedback result at the end of the first comment data after displaying the first comment data in the feedback result on top.
- the client requests the server to obtain comment data, and according to the feedback result of the server, the first comment data that is not open and published for the target user is displayed on top, and then the second comment data that is open and visible to the target user is displayed.
- the comment data is all obtained through the server, which reduces the storage resources of the client by the comment data, as well as the resource consumption and workload for processing the comment data, and improves the display efficiency of the comment data.
- the comment data can be displayed in different ways, which improves the flexibility of displaying the comment data and reduces the difficulty of maintaining and expanding the comment data.
- the first comment data or the second comment data includes: picture type data
- the picture type data includes: positioning information of a thumbnail of at least one picture.
- the feedback result display module 420 includes: a display interface layout unit, configured to perform the layout of the comment display interface on the first comment data in a top-notch display mode; After the layout of the data comment display interface is completed, the comment display interface layout is performed on the second comment data in the manner displayed at the end of the first comment data; if it is determined that the target image data of the current layout is a first-level comment Data, obtain at least one thumbnail corresponding to the positioning information in the target image data, and generate the image comment display data of the target image data according to the at least one thumbnail, and place it in the In the comment display interface; if it is determined that the target picture data of the current layout is the second-level comment data, then generate the picture comment display data of the target picture data according to the picture prompt information, and arrange it in the comment display interface; The completed comment display interface is displayed.
- a display interface layout unit configured to perform the layout of the comment display interface on the first comment data in a top-notch display mode
- the comment data display device provided in the embodiment of the present disclosure.
- the comment data display device of the embodiment of the present disclosure and the comment data display method provided in the above-mentioned embodiment have The same beneficial effect.
- FIG. 5 shows a schematic structural diagram of an electronic device (such as a terminal device or a server) 500 suitable for implementing the embodiments of the present disclosure.
- the electronic devices in the embodiments of the present disclosure may include mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computers (Portable Android Device, PAD), and portable multimedia players (Personal Multimedia). Player, PMP), mobile terminals such as vehicle-mounted terminals (for example, vehicle navigation terminals), and fixed terminals such as digital television (television, TV), desktop computers, and the like.
- PDA Personal Digital Assistant
- PAD Portable Android Device
- PMP portable multimedia players
- PMP mobile terminals
- vehicle-mounted terminals for example, vehicle navigation terminals
- fixed terminals such as digital television (television, TV), desktop computers, and the like.
- the electronic device shown in FIG. 5 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
- the electronic device 500 may include a processing device (such as a central processing unit, a graphics processor, etc.) 501.
- the processing device 501 may be based on a program stored in a read-only memory (Read-only Memory, ROM) 502 or from The storage device 508 loads a program in a random access memory (Random Access Memory, RAM) 503 to perform various appropriate actions and processes.
- RAM Random Access Memory
- various programs and data required for the operation of the electronic device 500 are also stored.
- the processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504.
- An input/output (I/O) interface 505 is also connected to the bus 504.
- the following devices can be connected to the I/O interface 505: including input devices 506 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD) Output devices 507 such as speakers, vibrators, etc.; storage devices 508 such as magnetic tapes, hard disks, etc.; and communication devices 509.
- the communication device 509 may allow the electronic device 500 to perform wireless or wired communication with other devices to exchange data.
- FIG. 5 shows an electronic device 500 having various devices, it is not required to implement or have all the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
- the process described above with reference to the flowchart may be implemented as a computer software program.
- the embodiments of the present disclosure include a computer program product.
- the computer program product includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
- the computer program may be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502.
- the processing device 501 the above-mentioned functions defined in the method for providing comment data or the method for displaying comment data of the embodiment of the present disclosure are executed.
- the embodiments of the present disclosure also provide a computer-readable storage medium.
- the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
- the computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the above.
- Computer-readable storage media may include: electrical connections with one or more wires, portable computer disks, hard disks, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM) or flash memory, Optical fiber, compact Disc Read-Only Memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including electromagnetic signals, optical signals, or any suitable combination of the above.
- the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
- the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
- the program code contained on the computer-readable medium can be transmitted by any suitable medium, including: wire, optical cable, radio frequency (RF), etc., or any suitable combination of the above.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
- the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the server obtains target comment data matching the comment data obtaining request of the target user among all the comment data.
- the comment data includes the identification information of the posting user and the comment open status; the server obtains the target comment data set, the comment open status is non-open and the posting user is the first comment data of the target user;
- the server obtains the second comment data in the target comment data set, the comment open state is open and meets the comment visibility condition corresponding to the target user; the server is formed according to the first comment data and the second comment data
- the feedback result corresponding to the comment data acquisition request is provided to the target user for display.
- the client is caused to send a comment data acquisition request corresponding to the target user to the server, and receive the feedback result of the comment data acquisition request provided by the server;
- the comment data obtaining request is used to instruct the server to obtain the first comment data whose comment open state is not open and the publishing user is the target user in the matched target comment data set, and the comment open state is open
- the second comment data that satisfies the comment visibility condition corresponding to the target user constitutes the feedback result; after the client puts the first comment data in the feedback result on top and displays it on top of the first comment data, The tail part displays the second comment data in the feedback result.
- the computer program code used to perform the operations of the present disclosure may be written in one or more programming languages or a combination thereof.
- the above-mentioned programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
- the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
- the remote computer can be connected to the user's computer through any kind of network-including Local Area Network (LAN) or Wide Area Network (WAN)-or it can be connected to an external computer (for example, use an Internet service provider to connect via the Internet).
- LAN Local Area Network
- WAN Wide Area Network
- each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
- the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
- each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
- the modules involved in the embodiments described in the present disclosure can be implemented in software or hardware.
- the name of the module does not constitute a limitation on the module itself in some cases.
- the target comment data set acquisition module can also be described as "in all the comment data, get the comment data acquisition request matching the target user
- the target comment data set, the comment data includes the identification information of the publishing user and the module of the comment open state".
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- General Health & Medical Sciences (AREA)
- Economics (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
Claims (13)
- 一种评论数据的提供方法,包括:服务器在全部评论数据中,获取与目标用户的评论数据获取请求匹配的目标评论数据集,所述评论数据中包括发布用户的标识信息,以及评论开放状态;所述服务器获取所述目标评论数据集中,所述评论开放状态为非开放且发布用户为所述目标用户的第一评论数据;所述服务器获取所述目标评论数据集中,所述评论开放状态为开放且满足与所述目标用户对应的评论可见条件的第二评论数据;所述服务器根据所述第一评论数据以及所述第二评论数据构成与所述评论数据获取请求对应的反馈结果,将所述反馈结果提供给所述目标用户进行显示。
- 根据权利要求1所述的方法,其中,在所述服务器在全部评论数据中,获取与目标用户的评论数据获取请求匹配的目标评论数据集之前,还包括:所述服务器接收评论发布用户上报的待审核的评论数据;所述服务器在所述待审核的评论数据中添加所述发布用户的标识信息,并将所述待审核的评论数据的评论开放状态设置为非开放;所述服务器将所述待审核的评论数据发送至审核平台进行评论开放状态的审核。
- 根据权利要求2所述的方法,还包括:所述服务器在接收到所述审核平台反馈的针对待审核的评论数据的审核通过响应的情况下,将所述待审核的评论数据的评论开放状态修改为开放。
- 根据权利要求1所述的方法,其中,所述服务器在全部评论数据中,获取与目标用户的评论数据获取请求匹配的目标评论数据集,包括:所述服务器提取与所述评论数据获取请求对应的发布内容;所述服务器在全部评论数据中,获取用于评论所述发布内容的评论数据,以及,用于评论所述发布内容的评论数据的评论数据构成所述目标评论数据集。
- 根据权利要求1-4任一项所述的方法,其中,所述服务器获取所述目标评论数据集中,所述评论开放状态为开放且满足与所述目标用户对应的评论可见条件的第二评论数据,包括:所述服务器获取所述目标评论数据集中,所述评论开放状态为开放的备选评论数据;所述服务器在所述备选评论数据中,获取对全部用户可见的评论数据,或者,可见用户列表中包括所述目标用户的评论数据作为所述第二评论数据。
- 根据权利要求1-4任一项所述的方法,其中,所述全部评论数据中包括:图片类数据,所述图片类数据包括:至少一张图片的缩略图的定位信息。
- 一种评论数据的显示方法,包括:客户端向服务器发送与目标用户对应的评论数据获取请求,并接收所述服务器提供的针对所述评论数据获取请求的反馈结果;其中,所述评论数据获取请求用于指示所述服务器在匹配的目标评论数据集中,获取评论开放状态为非开放且发布用户为所述目标用户的第一评论数据,以及,所述评论开放状态为开放且满足与所述目标用户对应的评论可见条件的第二评论数据构成所述反馈结果;所述客户端将所述反馈结果中的第一评论数据置顶显示后,在所述第一评论数据的尾部显示所述反馈结果中的所述第二评论数据。
- 根据权利要求7所述的方法,其中,所述第一评论数据或者所述第二评论数据中包括:图片类数据,所述图片类数据包括:至少一张图片的缩略图的定位信息。
- 根据权利要求8所述的方法,其中,所述客户端将所述反馈结果中的第一评论数据置顶显示后,在所述第一评论数据的尾部显示所述反馈结果中的所述第二评论数据,包括:所述客户端按照置顶显示的方式,对所述第一评论数据进行评论显示界面的布局;所述客户端在对所述第一评论数据进行评论显示界面的布局完成后,按照在所述第一评论数据尾部显示的方式,对所述第二评论数据进行所述评论显示界面的布局;所述客户端在确定当前布局的目标图片类数据为一级评论数据的情况下,获取与所述目标图片类数据中的定位信息对应的至少一张缩略图,并根据所述至少一张缩略图生成所述目标图片类数据的图片类评论展示数据,布局于所述评论显示界面中;所述客户端在确定所述当前布局的目标图片类数据为二级评论数据的情况下,根据图片提示信息生成所述目标图片类数据的图片类评论展示数据,布局于所述评论显示界面中;所述客户端将布局完成的所述评论显示界面进行展示。
- 一种评论数据的提供装置,包括:目标评论数据集获取模块,设置为在全部评论数据中,获取与目标用户的 评论数据获取请求匹配的目标评论数据集,所述评论数据中包括发布用户的标识信息,以及评论开放状态;第一评论数据获取模块,设置为获取所述目标评论数据集中,所述评论开放状态为非开放且发布用户为所述目标用户的第一评论数据;第二评论数据获取模块,设置为获取所述目标评论数据集中,所述评论开放状态为开放且满足与所述目标用户对应的评论可见条件的第二评论数据;反馈结果提供模块,设置为根据所述第一评论数据以及所述第二评论数据构成与所述评论数据获取请求对应的反馈结果,将所述反馈结果提供给所述目标用户进行显示。
- 一种评论数据的显示装置,包括:反馈结果请求并接收模块,设置为向服务器发送与目标用户对应的评论数据获取请求,并接收所述服务器提供的针对所述评论数据获取请求的反馈结果;其中,所述评论数据获取请求用于指示所述服务器在匹配的目标评论数据集中,获取评论开放状态为非开放且发布用户为所述目标用户的第一评论数据,以及,所述评论开放状态为开放且满足与所述目标用户对应的评论可见条件的第二评论数据构成所述反馈结果;反馈结果显示模块,设置为将所述反馈结果中的第一评论数据置顶显示后,在所述第一评论数据的尾部显示所述反馈结果中的所述第二评论数据。
- 一种电子设备,包括:一个或多个处理器;存储器,设置为存储一个或多个程序;所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-6任一所述的评论数据的提供方法或如权利要求7-9任一所述的评论数据的显示方法。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-6任一所述的评论数据的提供方法或如权利要求7-9任一所述的评论数据的显示方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910420660.8A CN110134880B (zh) | 2019-05-20 | 2019-05-20 | 评论数据的提供、显示方法、装置、电子设备及存储介质 |
CN201910420660.8 | 2019-05-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020233166A1 true WO2020233166A1 (zh) | 2020-11-26 |
Family
ID=67571764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/073743 WO2020233166A1 (zh) | 2019-05-20 | 2020-01-22 | 评论数据的提供、显示方法、装置、电子设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110134880B (zh) |
WO (1) | WO2020233166A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112990741A (zh) * | 2021-03-31 | 2021-06-18 | 建信金融科技有限责任公司 | 一种工作量评估方法、装置、设备及存储介质 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134880B (zh) * | 2019-05-20 | 2022-04-15 | 北京字节跳动网络技术有限公司 | 评论数据的提供、显示方法、装置、电子设备及存储介质 |
CN110708294A (zh) * | 2019-09-12 | 2020-01-17 | 上海掌门科技有限公司 | 互动信息发布、处理方法、装置、电子设备及介质 |
CN112307394A (zh) * | 2019-10-21 | 2021-02-02 | 北京字节跳动网络技术有限公司 | 信息显示方法、装置和电子设备 |
CN111783013A (zh) * | 2020-06-28 | 2020-10-16 | 百度在线网络技术(北京)有限公司 | 评论信息发布的方法、装置、设备及计算机可读存储介质 |
CN112528185A (zh) * | 2020-12-17 | 2021-03-19 | 北京达佳互联信息技术有限公司 | 评论信息展示方法、装置、服务器、终端 |
CN112559890B (zh) * | 2020-12-25 | 2024-02-09 | 深圳市富途网络科技有限公司 | 一种显示方法、服务器、电子设备和存储介质 |
CN115134615A (zh) * | 2021-03-29 | 2022-09-30 | 北京字节跳动网络技术有限公司 | 语音评论信息处理方法、装置、电子设备及存储介质 |
CN113177170B (zh) * | 2021-04-12 | 2023-05-23 | 维沃移动通信有限公司 | 评论展示方法、装置及电子设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102664895A (zh) * | 2012-04-28 | 2012-09-12 | 珠海报业文化传播有限公司 | 分区回显的先发后审评论系统 |
CN109150689A (zh) * | 2017-06-16 | 2019-01-04 | 北京搜狗科技发展有限公司 | 评论处理方法和装置、用于评论处理的装置 |
CN109684589A (zh) * | 2018-12-25 | 2019-04-26 | 北京微播视界科技有限公司 | 客户端的评论数据的处理方法、装置及计算机存储介质 |
CN110134880A (zh) * | 2019-05-20 | 2019-08-16 | 北京字节跳动网络技术有限公司 | 评论数据的提供、显示方法、装置、电子设备及存储介质 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9348921B2 (en) * | 2012-05-01 | 2016-05-24 | Google Inc. | Determining access to comments |
CN104156390A (zh) * | 2014-07-07 | 2014-11-19 | 乐视网信息技术(北京)股份有限公司 | 一种评论推荐方法和系统 |
CN105528550B (zh) * | 2014-09-28 | 2020-03-06 | 阿里巴巴集团控股有限公司 | 一种信息显示控制方法和装置 |
US10277362B2 (en) * | 2015-12-30 | 2019-04-30 | Facebook, Inc. | Optimistic data fetching and rendering |
CN107391536A (zh) * | 2017-04-24 | 2017-11-24 | 阿里巴巴集团控股有限公司 | 社区应用的评论处理方法、装置和系统 |
-
2019
- 2019-05-20 CN CN201910420660.8A patent/CN110134880B/zh active Active
-
2020
- 2020-01-22 WO PCT/CN2020/073743 patent/WO2020233166A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102664895A (zh) * | 2012-04-28 | 2012-09-12 | 珠海报业文化传播有限公司 | 分区回显的先发后审评论系统 |
CN109150689A (zh) * | 2017-06-16 | 2019-01-04 | 北京搜狗科技发展有限公司 | 评论处理方法和装置、用于评论处理的装置 |
CN109684589A (zh) * | 2018-12-25 | 2019-04-26 | 北京微播视界科技有限公司 | 客户端的评论数据的处理方法、装置及计算机存储介质 |
CN110134880A (zh) * | 2019-05-20 | 2019-08-16 | 北京字节跳动网络技术有限公司 | 评论数据的提供、显示方法、装置、电子设备及存储介质 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112990741A (zh) * | 2021-03-31 | 2021-06-18 | 建信金融科技有限责任公司 | 一种工作量评估方法、装置、设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN110134880B (zh) | 2022-04-15 |
CN110134880A (zh) | 2019-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020233166A1 (zh) | 评论数据的提供、显示方法、装置、电子设备及存储介质 | |
US11750683B2 (en) | Computer application promotion | |
WO2021223752A1 (zh) | 展示方法、装置和电子设备 | |
WO2020233444A1 (zh) | 在线文档插入信息方法及装置 | |
CN110866193B (zh) | 基于在线文档评论的反馈方法、装置、设备及存储介质 | |
WO2020151599A1 (zh) | 视频同步发布方法、装置、电子设备及可读存储介质 | |
US10972528B2 (en) | Methods and systems for accessing third-party services within applications | |
WO2020199749A1 (zh) | 基于反馈的信息推送方法、装置及电子设备 | |
WO2023040443A1 (zh) | 用于绘制画布的方法和装置 | |
CN109684589B (zh) | 客户端的评论数据的处理方法、装置及计算机存储介质 | |
WO2020042376A1 (zh) | 用于输出信息的方法和装置 | |
US10061761B2 (en) | Real-time dynamic visual aid implementation based on context obtained from heterogeneous sources | |
CN110096665B (zh) | 图片类评论数据的展示方法、装置、设备及介质 | |
WO2021197023A1 (zh) | 多媒体资源筛选方法、装置、电子设备及计算机存储介质 | |
CN111309240B (zh) | 内容显示方法、装置和电子设备 | |
WO2022057348A1 (zh) | 音乐海报生成方法、装置、电子设备及介质 | |
CN102902451A (zh) | 信息处理设备、程序和协调处理方法 | |
CN109767257B (zh) | 基于大数据分析的广告投放方法、系统及电子设备 | |
WO2024179308A1 (zh) | 一种信息处理方法、装置、电子设备、计算机可读介质 | |
CN115190366B (zh) | 一种信息展示方法、装置、电子设备、计算机可读介质 | |
WO2020233144A1 (zh) | 一种用于提供评论输入模式的方法与装置 | |
WO2021164540A1 (zh) | 页面操作处理方法、装置、设备及存储介质 | |
CN113807889A (zh) | 推广信息生成方法、装置、设备及介质 | |
WO2024001612A1 (zh) | 一种评论展示方法、装置、电子设备、计算机可读介质 | |
US20150012354A1 (en) | Method and System for Placing and Presenting Advertisements |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20809176 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20809176 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 18/03/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20809176 Country of ref document: EP Kind code of ref document: A1 |