CN112307394A - Information display method and device and electronic equipment - Google Patents

Information display method and device and electronic equipment Download PDF

Info

Publication number
CN112307394A
CN112307394A CN201911004820.7A CN201911004820A CN112307394A CN 112307394 A CN112307394 A CN 112307394A CN 201911004820 A CN201911004820 A CN 201911004820A CN 112307394 A CN112307394 A CN 112307394A
Authority
CN
China
Prior art keywords
comment
information
identifier
type
identification
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
CN201911004820.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 ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201911004820.7A priority Critical patent/CN112307394A/en
Publication of CN112307394A publication Critical patent/CN112307394A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The embodiment of the disclosure discloses an information display method and device and electronic equipment. One embodiment of the method comprises: in response to the fact that comment viewing operation of a viewing user on published information is detected, a first comment identification and a second comment identification are determined from comment identifications of each comment information of the published information; determining comment information corresponding to each comment identifier included in the first comment identifier as first comment information, and determining comment information corresponding to each comment identifier included in the second comment identifier as second comment information; and displaying the first type of comment information and the second type of comment information in a distinguishing manner. According to the embodiment, the comment information published by the comment user with the preset incidence relation with the viewing user is distinguished from the comment information of the published information.

Description

Information display method and device and electronic equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to an information display method and apparatus, and an electronic device.
Background
In order to facilitate communication among a plurality of users, there are a variety of applications (apps) that allow users to post various information (e.g., text information, picture information, audio information, video information) and also allow users to post relevant comments with respect to information that has been posted. Generally, comments posted by users are sequentially displayed in the order of posting time.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides an information display method, an information display device and electronic equipment, which are used for distinguishing comment information issued by comment users who have a preset association relationship with a viewing user from comment information of issued information.
In a first aspect, an embodiment of the present disclosure provides an information display method applied to a terminal device, where the method includes: in response to the fact that comment viewing operation executed by a viewing user on published information is detected, a first comment identification and a second comment identification are determined from comment identifications of all comment information of the published information, wherein the first comment identification comprises comment identifications of all comment information issued by comment users who have a preset incidence relation with the viewing user, and the second comment identification comprises comment identifications of all comment information issued by comment users who do not have the preset incidence relation with the viewing user; determining comment information corresponding to each comment identifier included in the first comment identifier as first comment information, and determining comment information corresponding to each comment identifier included in the second comment identifier as second comment information; and displaying the first type of comment information and the second type of comment information in a distinguishing manner.
In a second aspect, an embodiment of the present disclosure provides an information display apparatus, applied to a terminal device, including: the first determining unit is used for determining a first-class comment identifier and a second-class comment identifier from comment identifiers of comment information of published information in response to the detection of comment viewing operation executed by a viewing user on the published information, wherein the first-class comment identifier comprises comment identifiers of comment information published by comment users who have a preset incidence relation with the viewing user, and the second-class comment identifier comprises comment identifiers of comment information published by comment users who do not have the preset incidence relation with the viewing user; the second determining unit is used for determining the comment information corresponding to each comment identifier included in the first comment identifier as the first comment information and determining the comment information corresponding to each comment identifier included in the second comment identifier as the second comment information; and the display unit is used for displaying the first type of comment information and the second type of comment information in a distinguishing manner.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the information display method of the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the steps of the information display method according to the first aspect.
According to the information display method, the device and the electronic equipment provided by the embodiment of the disclosure, after the comment viewing operation executed by the viewing user on the published information is detected, the first type comment identification and the second type comment identification are determined from the comment identifications of the comment information of the published information, then the comment information corresponding to the comment identifications included in the first type comment identification is determined as the first type comment information, the comment information corresponding to the comment identifications included in the second type comment identification is determined as the second type comment information, and further the first type comment information and the second type comment information are displayed in a distinguishing manner. Therefore, the comment information issued by the comment user with the preset incidence relation with the viewing user is distinguished from the comment information of the issued information. The comment information published by the comment user with the preset incidence relation among the comment information can be quickly browsed by the user, and the user experience is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a flow diagram of one embodiment of an information display method according to the present disclosure;
FIG. 2 is a schematic diagram of one application scenario of an information display method according to the present disclosure;
FIG. 3 is a flow diagram of yet another embodiment of an information display method according to the present disclosure;
FIG. 4 is a schematic block diagram of one embodiment of an information display device according to the present disclosure;
FIG. 5 is an exemplary system architecture to which the information display method of one embodiment of the present disclosure may be applied;
fig. 6 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Referring to fig. 1, a flow of an embodiment of an information display method according to the present disclosure is shown. The information display method as shown in fig. 1 includes the steps of:
step 101, in response to the detection of the comment viewing operation executed by the viewing user on the published information, determining a first comment identifier and a second comment identifier from the comment identifiers of each comment information of the published information.
In this embodiment, in response to detecting a comment viewing operation performed on published information by a viewing user, an electronic device executing the information display method may obtain comment identifiers of comment information of the published information from other electronic devices that are local or in communication connection with the electronic device.
The above-mentioned distributed information may be information of various forms that have been distributed. For example, the published information may include at least one of text, pictures, video, audio, and the like in a variety of forms.
In practice, after the published information is published, the user browsing the published information may act as a comment user, and comment information is formed for the viewpoint related to the published information publication. It is to be understood that the comment user may be a user who posts comment information for published information.
The viewing user may be a user viewing each piece of comment information of published information. In practice, after the checking user browses the published information, each piece of comment information of the published information can be checked by executing comment checking operation. According to actual requirements, the comment viewing operation can be embodied in various forms. For example, the comment viewing operation may be a click, slide, long press, or the like operation performed by the viewing user on the current page showing published information.
It should be noted that the published information may be published by the viewing user, or may be published by a user other than the viewing user. If the published information is published by the viewing user, at this time, the viewing user views each comment information of the published information. If the published information is published by other users besides the viewing user, the viewing user views each comment information of the information published by other users.
The comment identification may be a unique identification randomly generated for comment information of published information.
In this embodiment, after obtaining the comment identifier of each piece of comment information of the published information, the electronic device executing the information display method may determine the first type comment identifier and the second type comment identifier from the comment identifiers of each piece of comment information, that is, the comment identifiers of each piece of comment information are divided into the first type comment identifier and the second type comment identifier.
The first type of comment identification may include comment identifications of comment information issued by comment users having a preset association relationship with the viewing user. The second type of comment identification may include comment identifications of comment information posted by comment users for which no preset association relationship exists with the viewing user. Here, the preset association relationship may be a relationship existing between the viewing user and the commenting user established in advance. For example, the preset association relationship may be a friend relationship, a mutual attention relationship, and the like existing between the viewing user and the comment user.
Specifically, when the comment identifier of the comment information is generated, an indication identifier indicating whether the comment user who issued the comment information has an association relationship with the viewing user may be generated at the same time. Therefore, the electronic device executing the information display method can determine the first type comment identifier and the second type comment identifier from the comment identifiers of the comment information according to the indication identifier corresponding to each comment identifier.
Step 102, determining the comment information corresponding to each comment identification included in the first type of comment identification as first type of comment information, and determining the comment information corresponding to each comment identification included in the second type of comment identification as second type of comment information.
In this embodiment, after determining the first type comment identifier and the second type comment identifier, the electronic device executing the information display method may determine, as the first type comment information, comment information corresponding to each comment identifier included in the first type comment identifier, and determine, as the second type comment information, comment information corresponding to each comment identifier included in the second type comment identifier.
And 103, displaying the first type of comment information and the second type of comment information in a distinguishing manner.
In this embodiment, after determining the first type of comment information and the second type of comment information, the electronic device executing the information display method may display the first type of comment information and the second type of comment information in a differentiated manner. Here, the distinguishing display may be to distinguish the first type comment information from the second type comment information during the display.
As an example, the electronic device executing the information display method described above may thicken a font of each comment information included in the first-type comment information or thicken a font of each comment information included in the second-type comment information to achieve a distinctive display of the first-type comment information and the second-type comment information.
As still another example, the electronic device executing the information display method described above may change a font color of each comment information included in the first type comment information or change a font color of each comment information included in the second type comment information to achieve a distinctive display of the first type comment information and the second type comment information.
In some alternative implementations, the electronic device executing the information display method may display the first type of comment information and the second type of comment information in a differentiated manner as follows.
First, the electronic device executing the information display method may generate a first display area and a second display area on a current page.
Then, the electronic device executing the information display method may display the first type of comment information in the first display area and the second type of comment information in the second display area, respectively.
In these implementations, the first display area serves as an area for displaying the first type of comment information, and the second display area serves as an area for displaying the second type of comment information. The first display area may be located in an area of the page that is relatively easy to browse by the user. For example, the first display region may be located at the middle upper portion of the page and the second display region may be located below the first display region. Or the first display area is located to the left of the second display area, etc. In addition, the first display area and the second display area can be set at any position of the page.
In the optional implementation manners, the first display area is used for displaying the first type of comment information, and the second display area is used for displaying the second type of comment information, so that a user can browse the first type of comment information and the second type of comment information very intuitively, and the user experience can be further improved.
Referring to fig. 2, an application scenario of the information display method according to the embodiment of the present disclosure is shown. As shown in fig. 2, the current page of the terminal apparatus 201 is displayed with published information 202, comment information 2031 and comment information 2033 published by a comment user a for the published information 202, comment information 2032 published by a comment user B for the published information 202, and comment information 2034 published by a comment user C for the published information 202.
In response to detecting the review operation performed by the review user on the published information 202, the terminal device 201 may determine the first-type comment identifier and the second-type comment identifier from the comment identifiers of the comment information of the published information 202. As shown in fig. 2, the comment identification of the comment information 2031 and the comment identification of the comment information 2033 belong to a first-class comment identification, and the comment identification of the comment information 2032 and the comment identification of the comment information 2034 belong to a second-class comment identification.
After determining the first-type comment identifier and the second-type comment identifier, the terminal device 201 may determine the comment information 2031 and the comment information 2033 as the first-type comment information and determine the comment information 2032 and the comment information 2034 as the second-type comment information.
Further, the terminal device 201 can perform distinctive display by bolding the font colors of the comment information 2031 and the comment information 2033.
According to the information display method provided by the embodiment of the disclosure, the comment information issued by the comment user who has the preset association relation with the viewing user is distinguished from the comment information of the issued information by displaying the first-class comment information and the second-class comment information in a distinguishing manner. Therefore, the review information issued by the review user and related to the review information can be determined from the numerous review information by the review user in a short time.
Continuing to refer to FIG. 3, a flow diagram of yet another embodiment of an information display method according to the present disclosure is shown. The information display method is applied to the terminal equipment. As shown in fig. 3, the information display method includes the steps of:
step 301, in response to detecting a comment viewing operation performed on published information by a viewing user, acquiring a first comment identification sequence and a plurality of second comment identification sequences pre-established for the published information.
In this embodiment, in response to detecting a comment viewing operation performed by a viewing user on published information, an electronic device that performs an information display method may acquire a first comment identification sequence and a plurality of second comment identification sequences that are pre-established for the published information.
The first comment identification sequence may include comment identifications of comment information posted by the posted information by a plurality of comment users arranged in a posting time sequence. It is understood that each comment identification included in the first comment identification sequence may indicate comment information posted by a plurality of comment users with respect to posted information.
Each second comment identification sequence may include a comment identification of each comment information posted by the published information by the same comment user. It is understood that each comment identification included in the second comment identification sequence may indicate comment information posted by one user for posted information.
Step 302, selecting a second comment identification sequence corresponding to the comment user in the preset association relation list from the plurality of second comment identification sequences.
In this embodiment, after obtaining the first comment identification sequence and the plurality of second comment identification sequences, the electronic device executing the information display method may select, from the plurality of second comment identification sequences, a second comment identification sequence corresponding to a comment user located in the preset association relationship list.
The preset incidence relation list may include at least one associated user having a preset incidence relation with the viewing user.
As will be understood, selecting the second comment identification sequence corresponding to the comment user located in the preset association relationship list means that the second comment identification sequence corresponding to each comment user having an association relationship with the viewing user is selected from the plurality of second comment identification sequences. It can be further understood that each selected second comment identification sequence contains comment identifications of comment information issued by each comment user who has an association relationship with the viewing user.
Step 303, determining the comment identifications included in the selected second comment identification sequences as first comment identifications, and determining comment identifications other than the comment identifications included in the first comment identifications in the first comment identification sequences as second comment identifications.
In this embodiment, after selecting the second comment identification sequence corresponding to the comment user located in the preset association relationship list, the electronic device executing the information display method may determine, as the first-class comment identification, the comment identification included in each selected second comment identification list, and determine, as the second-class comment identification, each comment identification in the first comment identification list other than the first-class comment identification.
Step 304, determining the comment information corresponding to each comment identifier included in the first type of comment identifier as first type of comment information, and determining the comment information corresponding to each comment identifier included in the second type of comment identifier as second type of comment information.
And 305, displaying the first type comment information and the second type comment information in a distinguishing manner.
Step 304 and step 305 may be performed in a similar manner as step 102 and step 103 in the embodiment shown in fig. 1, and the above description for step 102 and step 103 also applies to step 304 and step 305, which is not described herein again.
In some alternative implementations, the electronic device executing the information display method may display the first type of comment information and the second type of comment information in a differentiated manner as follows.
First, the main body may add each comment identifier included in the first-type comment identifier to a third comment identifier sequence established in advance.
Specifically, the electronic device executing the information display method may add, in any order, the comment identifiers included in the first type of comment identifier to a third comment identifier sequence established in advance. It is to be understood that the comment identifier added to the third identifier sequence at this time may be a comment identifier of each comment information posted by a user having an association relationship with the viewing user. It should be noted that the third comment identification sequence may be an empty sequence at the time of initial establishment.
Then, the electronic device executing the information display method may add, in the third comment sequence, each comment identifier belonging to the second type of comment identifier to each comment identifier included in the first type of comment identifier according to the order of posting times.
It is to be understood that, after the second-class comment identification is added to the third comment identification sequence, each comment identification included in the added second-class comment identification is located after each comment identification included in the first-class comment identification. That is, in the third comment identification sequence, the comment identifications of the comment information posted by the comment user who has an association relationship with the viewing user are arranged in front of each other, and the comment identifications of the comment information posted by the comment user who has no association relationship with the viewing user are arranged in back of each other.
Finally, the electronic device executing the information display method may display the comment information corresponding to each comment identifier in the third comment identifier sequence according to the arrangement order of each comment identifier in the third comment identifier sequence.
Specifically, the electronic device executing the information display method may obtain, from a local server or a server, the comment information corresponding to each comment identifier in the third comment identifier sequence, and then display, by using an arrangement order of each comment identifier in the third comment identifier sequence as an order displayed in the current page, the comment information corresponding to each comment identifier in the third comment identifier sequence.
At this time, after each piece of comment information is displayed, in the current page, comment information posted by a comment user who has an association with the viewing user is located at a position in front of the current page, and comment information posted by a comment user who has no association with the viewing user is located at a position behind the current page.
In the implementation manners, the comment information issued by the comment user who has an association relation with the viewing user is placed at the front position, and the comment information issued by the comment user who has no association relation with the viewing user is placed at the rear position, so that the comment information issued by the comment user who has a preset association relation with the viewing user is distinguished from the comment information of the issued information.
In some optional implementation manners, the electronic device executing the information display method may add, according to the order of the publication times, the comment identifiers included in the first type of comment identifier to a third comment identifier sequence established in advance. Therefore, the comment information corresponding to each comment identifier in the third comment identifier sequence is displayed according to the sequence of the publication time, so that the comment information published by the comment users who have an association relationship with the viewing user can be arranged in the current page according to the sequence of the publication time.
According to the information display method provided by the embodiment of the disclosure, on the basis of the comment identification of each piece of comment information of published information, a first comment identification sequence and a plurality of second comment identification sequences are established in advance for the published information, after the second comment identification sequence corresponding to the comment user in the preset incidence relation list is selected, the comment identification included in each selected second comment identification sequence is determined as the first-class comment identification, and the comment identification other than each comment identification included in the first-class comment identification in the first comment identification sequence is determined as the second-class comment identification, so that the first-class comment identification and the second-class comment identification are determined without the need of generating an indication identification for each piece of comment information.
With further reference to fig. 4, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an information display apparatus, which corresponds to the embodiment of the method shown in fig. 1, and which is particularly applicable in various electronic devices.
As shown in fig. 4, the information display device of the present embodiment includes: a first determination unit 401, a second determination unit 402, and a display unit 403. Wherein, the first determining unit 401 may be configured to: in response to the fact that comment viewing operation executed by a viewing user on the published information is detected, a first comment identification and a second comment identification are determined from comment identifications of all comment information of the published information, the first comment identification comprises comment identifications of all comment information issued by comment users who have a preset incidence relation with the viewing user, and the second comment identification comprises comment identifications of all comment information issued by comment users who do not have the preset incidence relation with the viewing user. The second determining unit 402 may be configured to: and determining the comment information corresponding to each comment identifier included in the first comment identifier as the first comment information, and determining the comment information corresponding to each comment identifier included in the second comment identifier as the second comment information. The display unit 403 may be used to display the first type comment information and the second type comment information distinctively.
In this embodiment, specific processing of the first determining unit 401, the second determining unit 402, and the displaying unit 403 of the information displaying apparatus and technical effects thereof can refer to related descriptions of step 101, step 102, and step 103 in the corresponding embodiment of fig. 1, which are not described herein again.
In some alternative implementations, the first determining unit 401 may include an obtaining subunit (not shown in the figure), a selecting subunit (not shown in the figure), and a determining subunit (not shown in the figure). Wherein the obtaining subunit is operable to: in response to the fact that comment checking operation executed by a checking user on published information is detected, a first comment identification sequence and a plurality of second comment identification sequences which are pre-established for the published information are obtained, the first comment identification sequence comprises comment identifications of the comment information published by the published information by a plurality of comment users arranged according to the publication time sequence, and each second comment identification sequence comprises comment identifications of the comment information published by the published information by the same comment user. The selection of subunits may be used to: and selecting a second comment identification sequence corresponding to the comment user in a preset association relation list from the plurality of second comment identification sequences, wherein the preset association relation list comprises at least one association user with a preset association relation with the viewing user. Determining the sub-unit may be for: and determining the comment identifications included in the selected second comment identification sequences as first-class comment identifications, and determining comment identifications except the comment identifications included in the first-class comment identifications in the first comment identification sequences as second-class comment identifications.
In some alternative implementations, the display unit 403 may include a first adding subunit (not shown), a second adding subunit (not shown), and a first display subunit (not shown). Wherein the first adding subunit is configured to: and adding each comment identification included by the first type of comment identification into a third comment identification sequence established in advance. The second adding subunit may be for: and in the third comment sequence, adding each comment identifier belonging to the second type of comment identifier to each comment identifier included in the first type of comment identifier according to the sequence of the publishing time. The first display subunit may be to: and displaying the comment information corresponding to each comment identifier in the third comment identifier sequence according to the arrangement sequence of each comment identifier in the third comment identifier sequence.
In some optional implementations, the first adding subunit may be further configured to: and adding each comment identifier included in the first type of comment identifier into a pre-established third comment identifier sequence according to the sequence of the publishing time.
In some alternative implementations, the display unit 403 may include a generation subunit (not shown in the figure) and a second display subunit (not shown in the figure). Wherein the generating subunit may be configured to: the method comprises the steps of generating a first display area and a second display area on a current page; and the second display subunit is used for respectively displaying the first type of comment information in the first display area and displaying the second type of comment information in the second display area.
With further reference to fig. 5, fig. 5 illustrates an exemplary system architecture to which the information display method of one embodiment of the present disclosure may be applied.
As shown in fig. 5, the system architecture may include terminal devices 501, 502, a network 503, and a server 504. The network 503 is the medium used to provide communication links between the terminal devices 501, 502 and the server 504. Network 503 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 501, 502 may interact with a server 504 via a network 503 to receive or send messages or the like. The terminal devices 501, 502 may have various client applications installed thereon, such as a web browser application, a search-type application, a news-information-type application, and a social-type application. The client application in the terminal device 501, 502 may classify the comment identifier of each comment information of the published information, and display each comment information of the published information according to the classification result.
The terminal devices 501 and 502 may be hardware or software. When the terminal devices 501 and 502 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal devices 501 and 502 are software, they can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 504 may be a server that provides various services, and for example, the server 504 may serve as a source from which the terminal apparatuses 501 and 502 acquire respective comment information of the published information.
The server 504 may be hardware or software. When the server 504 is hardware, it can be implemented as a distributed server cluster composed of a plurality of servers, or as a single server. When the server 504 is software, it may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the information display method provided by the embodiment of the present disclosure may be executed by the terminal devices 501 and 502, and accordingly, the information display apparatus may be disposed in the terminal devices 501 and 502. In addition, the information display method provided by the embodiment of the present disclosure may also be executed by the server 504, and accordingly, an information display apparatus may be provided in the server 504.
It should be understood that the number of terminal devices, networks, and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 6, shown is a schematic diagram of an electronic device (e.g., the terminal device of fig. 5) suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 6 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. 6, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer 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 of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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. In the present disclosure, a computer 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. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer 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 computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to the fact that comment viewing operation of a viewing user on published information is detected, a first comment identification and a second comment identification are determined from comment identifications of each comment information of the published information; determining comment information corresponding to each comment identifier included in the first comment identifier as first comment information, and determining comment information corresponding to each comment identifier included in the second comment identifier as second comment information; and displaying the first type of comment information and the second type of comment information in a distinguishing manner.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Here, the name of the unit does not constitute a limitation to the unit itself in some cases, and for example, the display unit may also be described as "a unit that displays the first-type comment information and the second-type comment information distinctively".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. An information display method, comprising:
in response to the fact that comment viewing operation executed by a viewing user on published information is detected, a first comment identification and a second comment identification are determined from comment identifications of all comment information of the published information, wherein the first comment identification comprises comment identifications of all comment information published by comment users who have a preset incidence relation with the viewing user, and the second comment identification comprises comment identifications of all comment information published by comment users who do not have the preset incidence relation with the viewing user;
determining comment information respectively corresponding to each comment identifier included in the first type of comment identifier as first type of comment information, and determining comment information respectively corresponding to each comment identifier included in the second type of comment identifier as second type of comment information;
and displaying the first type of comment information and the second type of comment information in a distinguishing manner.
2. The method of claim 1, wherein the determining, in response to detecting a comment viewing operation performed on published information by a viewing user, a first type comment identifier and a second type comment identifier from comment identifiers of comment information of the published information comprises:
in response to the fact that comment checking operation executed by a checking user on published information is detected, a first comment identification sequence and a plurality of second comment identification sequences which are pre-established for the published information are obtained, wherein the first comment identification sequence comprises comment identifications which are arranged according to the order of publication time and correspond to the comment information published by the published information by a plurality of comment users, and each second comment identification sequence comprises the comment identification of the same comment user on the comment information published by the published information;
selecting a second comment identification sequence corresponding to a comment user in a preset association relation list from the plurality of second comment identification sequences, wherein the preset association relation list comprises at least one association user with the preset association relation with the viewing user;
and determining the comment identifications included in the selected second comment identification sequences as first-class comment identifications, and determining comment identifications except the comment identifications included in the first-class comment identifications in the first comment identification sequences as second-class comment identifications.
3. The method of claim 1 or 2, wherein the differentially displaying the first type of comment information and the second type of comment information comprises:
adding each comment identifier included in the first type of comment identifier into a third comment identifier sequence established in advance;
in the third comment sequence, adding each comment identifier belonging to the second type comment identifier to each comment identifier included in the first type comment identifier according to the sequence of the publication time;
and displaying comment information corresponding to each comment identifier in the third comment identifier sequence according to the arrangement sequence of each comment identifier in the third comment identifier sequence.
4. The method of claim 3, wherein the adding each comment identifier included in the first comment identifier to a third comment identifier sequence established in advance comprises:
and adding each comment identifier included in the first type of comment identifier into a third comment identifier sequence established in advance according to the sequence of the publishing time.
5. The method of claim 1, wherein said displaying the first type of comment information and the second type of comment information distinctively comprises:
generating a first display area and a second display area on a current page;
and respectively displaying the first type of comment information in the first display area and displaying the second type of comment information in the second display area.
6. An information display device characterized by comprising:
the system comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is used for determining a first type comment identification and a second type comment identification from comment identifications of comment information of published information in response to the detection of comment viewing operation executed by a viewing user on the published information, the first type comment identification comprises comment identifications of comment information published by comment users who have a preset incidence relation with the viewing user, and the second type comment identification comprises comment identifications of comment information published by comment users who do not have the preset incidence relation with the viewing user;
the second determining unit is used for determining comment information corresponding to each comment identifier included in the first comment identifier as first comment information and determining comment information corresponding to each comment identifier included in the second comment identifier as second comment information;
and the display unit is used for displaying the first type of comment information and the second type of comment information in a distinguishing manner.
7. The apparatus of claim 6, wherein the first determining unit comprises:
the obtaining subunit is configured to, in response to a comment viewing operation performed on published information by a viewing user being detected, obtain a first comment identification sequence and a plurality of second comment identification sequences that are pre-established for the published information, where the first comment identification sequence includes comment identifications of comment information published by the published information by a plurality of comment users arranged in an order of publication time, and each of the second comment identification sequences includes comment identifications of comment information published by the same comment user for the published information;
a selecting subunit, configured to select, from the multiple second comment identification sequences, a second comment identification sequence corresponding to a comment user located in a preset association relationship list, where the preset association relationship list includes at least one association user having the preset association relationship with the viewing user;
and the determining subunit is configured to determine, as the first-class comment identifier, the comment identifier included in each selected second comment identifier sequence, and determine, as the second-class comment identifier, a comment identifier other than each comment identifier included in the first-class comment identifier in the first comment identifier sequence.
8. The apparatus according to claim 6 or 7, wherein the display unit comprises:
the first adding subunit is configured to add each comment identifier included in the first category comment identifier to a third comment identifier sequence established in advance;
a second adding subunit, configured to add, in the third comment sequence, each comment identifier that belongs to the second type of comment identifier to each comment identifier included in the first type of comment identifier according to a sequence of posting times;
and the first display subunit is configured to display, according to the arrangement order of the comment identifiers in the third comment identifier sequence, comment information corresponding to the comment identifiers in the third comment identifier sequence.
9. The apparatus of claim 8, wherein the first adding subunit is further configured to:
and adding each comment identifier included in the first type of comment identifier into a third comment identifier sequence established in advance according to the sequence of the publishing time.
10. The apparatus of claim 6, wherein the display unit comprises:
the generating subunit is used for generating a first display area and a second display area on the current page;
and the second display subunit is used for respectively displaying the first type of comment information in the first display area and displaying the second type of comment information in the second display area.
11. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
12. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN201911004820.7A 2019-10-21 2019-10-21 Information display method and device and electronic equipment Pending CN112307394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911004820.7A CN112307394A (en) 2019-10-21 2019-10-21 Information display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911004820.7A CN112307394A (en) 2019-10-21 2019-10-21 Information display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112307394A true CN112307394A (en) 2021-02-02

Family

ID=74485609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911004820.7A Pending CN112307394A (en) 2019-10-21 2019-10-21 Information display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112307394A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022262647A1 (en) * 2021-03-10 2022-12-22 北京字跳网络技术有限公司 Data display method, apparatus and device, and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809209A (en) * 2015-04-28 2015-07-29 小米科技有限责任公司 Display method, display device and server of social network information flow
US20160026732A1 (en) * 2010-12-15 2016-01-28 Facebook, Inc. Comment Ordering System
CN105843815A (en) * 2015-01-14 2016-08-10 腾讯科技(深圳)有限公司 Method and device for processing page comment, and browser
CN105869057A (en) * 2016-04-07 2016-08-17 腾讯科技(深圳)有限公司 Comment storage device, comment reading method and apparatus, and comment writing method and apparatus
US20170358006A1 (en) * 2016-06-13 2017-12-14 Alibaba Group Holding Limited Methods and systems for processing and displaying review data based on one or more stored relationship associations and one or more rule sets
CN108449255A (en) * 2018-02-06 2018-08-24 广州市动景计算机科技有限公司 Comment on exchange method, equipment, client terminal device and electronic equipment
CN109408748A (en) * 2018-10-15 2019-03-01 北京字节跳动网络技术有限公司 Method and apparatus for handling information
CN110134880A (en) * 2019-05-20 2019-08-16 北京字节跳动网络技术有限公司 Offer, display methods, device, electronic equipment and the storage medium of comment data

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160026732A1 (en) * 2010-12-15 2016-01-28 Facebook, Inc. Comment Ordering System
CN105843815A (en) * 2015-01-14 2016-08-10 腾讯科技(深圳)有限公司 Method and device for processing page comment, and browser
CN104809209A (en) * 2015-04-28 2015-07-29 小米科技有限责任公司 Display method, display device and server of social network information flow
CN105869057A (en) * 2016-04-07 2016-08-17 腾讯科技(深圳)有限公司 Comment storage device, comment reading method and apparatus, and comment writing method and apparatus
US20170358006A1 (en) * 2016-06-13 2017-12-14 Alibaba Group Holding Limited Methods and systems for processing and displaying review data based on one or more stored relationship associations and one or more rule sets
CN108449255A (en) * 2018-02-06 2018-08-24 广州市动景计算机科技有限公司 Comment on exchange method, equipment, client terminal device and electronic equipment
CN109408748A (en) * 2018-10-15 2019-03-01 北京字节跳动网络技术有限公司 Method and apparatus for handling information
CN110134880A (en) * 2019-05-20 2019-08-16 北京字节跳动网络技术有限公司 Offer, display methods, device, electronic equipment and the storage medium of comment data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022262647A1 (en) * 2021-03-10 2022-12-22 北京字跳网络技术有限公司 Data display method, apparatus and device, and medium

Similar Documents

Publication Publication Date Title
CN111597467A (en) Display method and device and electronic equipment
CN110633126B (en) Information display method and device and electronic equipment
CN110658960A (en) Message processing method and device and electronic equipment
CN111709732A (en) Display method and device and electronic equipment
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
EP4231143A1 (en) Information display method and apparatus, electronic device, and computer readable storage medium
CN113191726A (en) Task detail interface display method, device, equipment and computer readable medium
CN113935813A (en) Information display method and device, electronic equipment and storage medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN113128185A (en) Interaction method and device and electronic equipment
CN111596995B (en) Display method and device and electronic equipment
CN112035030A (en) Information display method and device and electronic equipment
WO2022233311A1 (en) Display method and apparatus, and electronic device
CN112256221A (en) Information display method and device and electronic equipment
CN110619101B (en) Method and apparatus for processing information
CN112307393A (en) Information issuing method and device and electronic equipment
CN112307394A (en) Information display method and device and electronic equipment
CN111310086A (en) Page jump method and device and electronic equipment
CN111246273A (en) Video delivery method and device, electronic equipment and computer readable medium
CN114417214A (en) Information display method and device and electronic equipment
CN110727882B (en) Information presentation method, electronic device and computer readable medium
CN114064593A (en) Document sharing method, device, equipment and medium
CN111770385A (en) Card display method and device, electronic equipment and medium
CN112380819A (en) Document editing method and device and electronic equipment
CN112307717A (en) Text labeling information display method and device, electronic equipment and medium

Legal Events

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