WO2021223752A1 - 展示方法、装置和电子设备 - Google Patents

展示方法、装置和电子设备 Download PDF

Info

Publication number
WO2021223752A1
WO2021223752A1 PCT/CN2021/092336 CN2021092336W WO2021223752A1 WO 2021223752 A1 WO2021223752 A1 WO 2021223752A1 CN 2021092336 W CN2021092336 W CN 2021092336W WO 2021223752 A1 WO2021223752 A1 WO 2021223752A1
Authority
WO
WIPO (PCT)
Prior art keywords
comment
display
message
layer
area
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.)
Ceased
Application number
PCT/CN2021/092336
Other languages
English (en)
French (fr)
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
Publication of WO2021223752A1 publication Critical patent/WO2021223752A1/zh
Priority to US17/877,992 priority Critical patent/US11783111B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9536Search customisation based on social or collaborative filtering
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/40Business processes related to social networking or social networking services

Definitions

  • the present disclosure relates to the field of Internet technology, and in particular to a display method, device and electronic equipment.
  • user A can browse various documents through the terminal device.
  • the above document may have recorded some comments made by other users on the document. Then the user A may be interested in the comments of other users and hope to see the comments of other users.
  • User A may also wish to post his own comments on the above-mentioned documents.
  • the embodiments of the present disclosure provide a display method, device, and electronic equipment.
  • an embodiment of the present disclosure provides a display method, which includes: displaying a browsing object in a first area;
  • the predefined display parameters determine the display structure of the comment layer, where the predefined display parameters are used to indicate the size of the second area where the comment layer is located; the comment layer is generated according to the determined display structure, and the generated In the comment layer, the comment message is displayed, wherein the second area overlaps the first area, and the range of the second area in the first direction or the second direction is smaller than the first area.
  • an embodiment of the present disclosure provides a display device, including: a first display unit for displaying a browsing object in a first area; a first determining unit for displaying a comment message for the browsing object in response The instruction of determining the display structure of the comment layer based on the predefined display parameters of the comment message of the browsing object, wherein the predefined display parameter is used to indicate the size of the second area where the comment layer is located; the second display Unit for generating a comment layer according to the determined display structure, and displaying the comment message in the generated comment layer, wherein the second area overlaps the first area, and the second area The range in the first direction or the second direction is smaller than the first area.
  • an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device, used to store one or more programs, when the above one or more programs are processed by the above one or more The processor executes, so that the above-mentioned one or more processors implement the above-mentioned display method as in the first aspect.
  • embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the steps of the display method as described in the first aspect are implemented.
  • the display method, device and electronic device determine whether to display the comment message for the browsing object when displaying the browsing object; if so, the comment is determined according to the predefined display parameters of the comment message of the browsing object
  • the display structure of the layer then, a comment layer is generated according to the determined display structure, and the comment message is displayed in the generated comment layer; thus, the actual situation indicated by the predefined display parameters of the comment message of the browsing object can be displayed ,
  • Generate a comment layer for the browsing object that is, the display structure of the generated comment layer matches the predefined display parameters.
  • the comment layers of different display structures consume different computing resources when generating, and the information display methods are also different; the information display methods need to meet the actual display requirements, and the computing resources consumed during generation need to be as small as possible.
  • the display structure determined according to the predefined display parameters and generated according to the actual display needs can not only meet the practical needs, but also avoid the waste of computing resources, that is, it balances the satisfaction of the actual display needs and the amount of calculation, and maximizes the savings Computing resources.
  • a unified comment layer is generated without distinguishing the display structure of the comments based on the predefined display parameters, it may cause a waste of computing resources or a waste of display resources.
  • the first area displays the browsing object
  • the second area displays the comment message
  • the second area overlaps the first area
  • the range of the second area in the first direction or the second direction is smaller than the first area, which can guarantee While displaying the comment message, display the browsing object.
  • the user can see the browsing object while browsing the comment message.
  • the user needs to view the comment message and the browsing object, he can see the comment message and the browsing object on the same interface without having to implement the comment message and the browsing object.
  • Switch between operations Thereby, it is possible to improve screen utilization (display comment messages and browse objects), reduce the user's operations caused by viewing comment messages and browsing objects, and thereby reduce the amount of calculation and screen generated by the executive body due to users viewing comment messages and browsing objects.
  • the amount of refresh that is, to save computing resources and the power of the executive body.
  • Fig. 1 is a flowchart of an embodiment of a presentation method according to the present disclosure
  • FIGS. 2A, 2B, and 2C are schematic diagrams of an application scenario of the display method according to the present disclosure
  • 3A and 3B are schematic diagrams of another application scenario of the display method according to the present disclosure.
  • FIG. 4 is a schematic diagram of another application scenario of the display method of the present disclosure.
  • Fig. 5 is a schematic structural diagram of an embodiment of a display device according to the present disclosure.
  • Fig. 6 is an exemplary system architecture in which the presentation method of an embodiment of the present disclosure can be applied;
  • Fig. 7 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
  • FIG. 1 shows the flow of an embodiment of the presentation method according to the present disclosure.
  • the display method includes the following steps:
  • Step 101 Display browsing objects in the first area.
  • the execution subject for example, the terminal device
  • the display method may display the browsing object in the first area.
  • the first area may be all or a part of the screen display area of the execution subject.
  • the above-mentioned browsing object may be any kind of information that can be browsed.
  • the foregoing browsing objects may include but are not limited to at least one of the following: documents, web pages, presentations, and so on.
  • the above-mentioned browsing object may be an online document.
  • the online document may be a document that can be browsed online.
  • the above-mentioned browsing object may be displayed in response to a user triggering the browsing object display control.
  • Step 102 In response to the instruction to display the comment message for the browsing object, determine the display structure of the comment layer based on the predefined display parameters of the comment message of the browsing object.
  • the above-mentioned execution subject may determine the display structure of the comment layer based on the predefined display parameters of the comment message of the browsing object in response to the instruction to display the comment message for the browsing object.
  • the aforementioned predefined display parameter may be used to indicate the size of the second area where the comment layer is located.
  • the aforementioned predefined display parameters can be used to characterize the size of the second area.
  • the specific types of pre-defined display parameters can be set according to actual conditions and are not limited here.
  • the number of comment messages can be used as a predefined display parameter
  • the predefined display parameters may have a correlation with the size of the second area.
  • the predefined display parameters may be positively correlated with the size of the second area.
  • the display area of the comment layer may be referred to as the second area.
  • the size of the second area can be expressed in different ways according to the shape of the second area. For example, if the second area is a circle, the size of the second area can be expressed by the radius of the circle; if the second area is a rectangle, the size of the second area can be expressed by the length and width of the rectangle.
  • the above-mentioned execution subject may preset the comment message display condition, and when the comment message display condition is satisfied, it is determined to display the comment message for the browsing object. As an example, a comment message reminder control may be set.
  • the comment message display condition is satisfied, and then the above-mentioned execution subject determines to display the comment message for the browsing object.
  • the above-mentioned execution subject determines to display the comment message for the browsing object, and can generate an instruction to display the message for the browsing object.
  • the second area overlaps the first area, and the range of the second area in the first direction or the second direction is smaller than the first area.
  • the above comment layer can be used to display comment messages, and can not completely occlude the browsing objects.
  • the above-mentioned first direction may be any direction.
  • the first direction may be parallel to the length direction of the display screen.
  • the second direction may be any direction different from the first direction.
  • the second direction may be parallel to the width direction of the display screen.
  • the display screen of the electronic device is a rectangle, and the rectangle may have a length direction and a width direction.
  • the user can comment on the browsed object and post a comment message for the browsed object.
  • the above comment message may be directed to the entire browsing object, or may be directed to part of the content in the browsing object. If the comment message is for part of the content in the comment, this part of the content can be called the commented content.
  • the browsing object may be stored corresponding to the predefined display parameters of the comment message. .
  • the type of the comment layer display structure may be predefined.
  • the above-mentioned execution subject may select a display structure suitable for the pre-defined display parameters of the review message from a plurality of pre-defined display structures according to the pre-defined display parameters of the review message.
  • the display structure of the comment layer may include but is not limited to at least one of the following: the size of the comment layer, the color of the comment layer, whether the comment layer can respond to user operations, and so on.
  • the comment layer can display one or more comment messages.
  • the comment layer may not completely occlude the browsing object, and may include completely not occluding or occluding a part of the browsing object. In other words, through the comment layer, the user can see part or all of the browsed object.
  • Step 103 Generate a comment layer according to the determined display structure, and display the comment message in the generated comment layer.
  • the above-mentioned execution subject may generate a comment layer according to the determined display structure, and display comment messages in the generated comment layer.
  • the determined display structure indicates that the size of the comment layer is A, then a comment layer of size A is generated, and then the comment message is displayed in the comment layer.
  • the comment layer responds to user operations.
  • the browsing object area ie, the first area
  • the comment layer responds to user operations.
  • the display method provided by the embodiment of the present application determines whether to display the comment message for the browsing object when displaying the browsing object; if so, the comment is determined according to the predefined display parameters of the comment message of the browsing object The display structure of the layer; then, a comment layer is generated according to the determined display structure, and the comment message is displayed in the generated comment layer; thus, the actual situation indicated by the predefined display parameters of the comment message of the browsing object can be displayed , Generate a comment layer for the browsing object, that is, the display structure of the generated comment layer matches the predefined display parameters.
  • the comment layers of different display structures consume different computing resources when generating, and the information display methods are also different; the information display methods need to meet the actual display requirements, and the computing resources consumed during generation need to be as small as possible.
  • the display structure determined according to the predefined display parameters and generated according to the actual display needs can not only meet the practical needs, but also avoid the waste of computing resources, that is, it balances the satisfaction of the actual display needs and the amount of calculation, and maximizes the savings Computing resources.
  • a unified comment layer is generated without distinguishing the display structure of the comments based on the predefined display parameters, it may cause a waste of computing resources or a waste of display resources.
  • the first area displays the browsing object
  • the second area displays the comment message
  • the second area overlaps the first area
  • the range of the second area in the first direction or the second direction is smaller than the first area, which can guarantee While displaying the comment message, display the browsing object.
  • the user can see the browsing object while browsing the comment message.
  • the user needs to view the comment message and the browsing object, he can see the comment message and the browsing object on the same interface without having to implement the comment message and the browsing object.
  • Switch between operations Thereby, it is possible to improve screen utilization (display comment messages and browse objects), reduce the user's operations caused by viewing comment messages and browsing objects, and thereby reduce the amount of calculation and screen generated by the executive body due to users viewing comment messages and browsing objects.
  • the amount of refresh that is, to save computing resources and the power of the executive body.
  • FIG. 2A, FIG. 2B, and FIG. 2C show exemplary application scenarios of the embodiment shown in FIG. 1. details as follows:
  • the terminal may display a browsing object 201.
  • the browsing object 201 may be "The Preface of the King of Teng", and what is currently displayed is a part of the browsing object.
  • the terminal can first determine whether to display the comment message for the browsing object. If it is determined to be displayed, the display structure of the comment layer is determined according to the predefined display parameters (for example, the number or height value of the comment messages) of the comment messages of the browsing object.
  • the predefined display parameters for example, the number or height value of the comment messages
  • the terminal can generate a comment layer according to the determined display structure, and display comment messages in the generated comment layer.
  • FIG. 2B shows that a comment message 203 and a comment message 204 are displayed in a comment layer 202.
  • FIG. 2C which shows that comment messages are displayed in another comment layer 205; it should be noted that there are many comment messages displayed in the comment layer 205, which are not numbered one by one here.
  • the above-mentioned predefined display parameters may include the height value of the comment message. It can be understood that the number of words in the comment message is different, and the height value of the comment message may be different when the width of the comment message is the same.
  • the above step 102 may include: obtaining the height value of each comment message of the browsing object, and obtaining the height parameter value based on each height value; and determining the comment level according to the height parameter value and a preset height threshold.
  • the display structure may include: obtaining the height value of each comment message of the browsing object, and obtaining the height parameter value based on each height value; and determining the comment level according to the height parameter value and a preset height threshold.
  • the height parameter value based on each height value according to the actual situation.
  • the sum of the various height values can be used as the height parameter value; the sum of the various height values and the sum of the gaps between the comment messages are added to obtain the height parameter value. It can be understood that there may be a certain gap between each comment message, and the amount of this gap may be preset.
  • determining the display structure of the comment layer according to the height parameter value and the preset height threshold may include: in response to determining that the height parameter value is not greater than the height threshold, determining the comment layer according to the height parameter value The height value.
  • the area of the screen required to display the comment message may be small, that is, when the area required to display the comment message is small, a smaller size is generated Comment layer.
  • the comment message can be fully displayed, while reducing the screen area occupied by the comment message, improving the utilization of the screen, and reducing the resources consumed by screen refresh (the smaller the second area for displaying the comment message, the smaller the second area that needs to be refreshed.
  • determining the display structure of the comment layer according to the height parameter value and the preset height threshold may include: in response to determining that the height parameter value is greater than the height threshold, according to at least one of the following: preset The height of the comment layer and the height of the screen displaying the browsing object determine the height of the comment layer.
  • the preset comment layer height may be a preset height value according to the actual application field, and the specific value is not limited here.
  • the size of the comment layer is determined according to the size of the screen.
  • the determined comment layer height may be approximately equal to the screen height or slightly smaller than the screen height.
  • the foregoing step 102 may include: in response to determining that the number of comment messages is less than a preset number threshold, determining the size of the comment layer according to the area occupied by the comment messages.
  • the aforementioned predefined display parameters may include the number of comment messages.
  • the specific value of the aforementioned preset number threshold can be set according to actual conditions, and is not limited here.
  • the area occupied by the comment message can be estimated by the above-mentioned executive body.
  • the area occupied by the comment message may be determined according to the content of each comment message and the unit display size of the comment message.
  • the area occupied by a single comment message may include one or more unit display sizes.
  • the unit display size can be a measure of the size occupied by the unit displaying the comment message when the comment message is displayed.
  • the unit display size may indicate the area occupied by a single word when the comment message is displayed.
  • the unit display size of the above comment message may indicate the area occupied by a single line when the comment message is displayed.
  • the area occupied by each comment message can be determined according to the unit display size and the content of each comment message. Then, the area occupied by each comment message is added to determine the area occupied by the display of the comment message, and then the area occupied by the comment message is determined as the size of the comment layer.
  • the area of the screen occupied by the comment messages may be small, that is, when the area occupied by the comment messages is small, a smaller size is generated
  • the comment layer thus, can ensure that the comment message can be fully displayed, while reducing the screen area occupied by the comment message, increasing the utilization rate of the screen, and reducing the resources consumed by the screen refresh (the smaller the second area for displaying the comment message , The smaller the number of pixels that need to be refreshed, the smaller the consumption of computing resources and display resources).
  • the foregoing step 102 may include: in response to determining that the number of comment messages is not less than a preset number threshold, determining the size of the comment layer according to the size of the screen on which the browsing object is displayed.
  • determining the size of the comment layer according to the size of the screen on which the browsing object is displayed can be implemented in various ways, which is not limited here.
  • the number of comment messages when the number of comment messages is not less than the preset number threshold, the number of comment messages may be large.
  • the size of the comment layer is determined, and the size of the comment layer can be compared with the screen size.
  • the size of the comment layer is matched, that is, the size of the comment layer is consistent with the size of the screen in height, and can be smaller than the size of the screen in width.
  • the size of the comment layer is determined according to the size of the screen.
  • the comment layer can be displayed as large as possible within the allowable range of the screen. Therefore, the comment layer list
  • the number of comment messages that can be carried at a time is large, thereby increasing the number of comment messages that a user can watch at a time, that is, improving the efficiency of information display.
  • the aforementioned comment layer may include at least one comment unit.
  • the above-mentioned comment unit is used to display a single comment message, and the comment unit may include at least one of the following areas but not limited to: a comment message display area, a reviewer identification display area, a comment time display area, and a feedback information display area for the comment message.
  • the above comment message display area can be used to display the comment message.
  • the above-mentioned reviewer identifier display area may be used to display the identifier of the reviewer who sent the review message.
  • the above-mentioned comment time display area can be used to display the time when the comment message is issued.
  • the above-mentioned feedback information display area can be used to display the feedback information for the comment message; here, the feedback information can also be called reply information, that is, the feedback information is information for replying to the comment information.
  • the above-mentioned comment layer includes at least one comment unit, and different comment messages can be displayed in a differentiated manner.
  • the content of the different comment information can be clearly known, and the misunderstanding of the user due to the mixing of different comment information can be avoided, thereby reducing the time for the user to understand the comment message and improving the user's browsing efficiency , That is, improve the display efficiency of comment messages, and further reduce the consumption of computing resources and display resources caused by displaying comment messages.
  • the comment unit may include each of the above-mentioned areas, and may prompt the comment message with relevant information (such as the identifier of the commenter, the comment time, and feedback information) of the comment message.
  • relevant information such as the identifier of the commenter, the comment time, and feedback information
  • the user can obtain the above-mentioned related information synchronously when browsing the comment message, which saves the user the time and calculation amount of searching for the above-mentioned related information, thereby increasing the amount of information related to the comment message obtained by the user in a unit time. , Which improves the user’s browsing efficiency and the display efficiency of comment messages, thereby reducing the consumption of computing resources and display resources caused by the display of comment messages.
  • the above method further includes: determining the comment message in the selected state according to the user's browsing operation in the comment layer; determining the commented content targeted by the comment message in the selected state as the first target commented content; Jump the display position of the browsing object to the commented content of the first target, and display the commented content of the first target.
  • the above-mentioned browsing operation of the comment layer can be used to move the content in the comment layer for the user to view the browsing comment message.
  • determining the comment message in the selected state can be implemented in various ways, which is not limited here.
  • each comment message may have a separate display area. Individual comments can be selected. As an example, if the user clicks on the display area of a certain comment message, the comment message can be selected, that is, the comment message is in the selected state.
  • the comment message near the middle position of the first area may be determined as the comment message in the selected state.
  • the comment message can be directed to the commented content.
  • the commented content targeted by the comment message in the selected state may be referred to as the commented content of the first target.
  • the display position of the browsing object is jumped to the commented content of the first target, and the commented content of the first target is displayed.
  • the commented message of the first target may also be changed; when the comment message displayed in the second area (in the selected state) changes, the comment message displayed in the first area may subsequently become the changed first target Be commented on the message.
  • the commented message displayed in the first area can be changed with the change of the comment message displayed in the second area, ensuring that the commented message displayed in the first area is the commented message for which the comment message is currently displayed.
  • the browsing object in the first area can be viewed on the same screen as the comment layer at the same time.
  • the commented content of the browsing object also changes.
  • the browsing objects under the comment layer can be viewed simultaneously on the same screen as the comment layer.
  • the body of the browsing objects can be viewed at the same time to ensure that the context content is not lost.
  • the aforementioned first target is displayed in association with the comment content and the target indicator.
  • the target indicator is used to highlight the content of the associated display.
  • the above-mentioned target indication mark may be used to indicate the target content, so that the target content is highlighted.
  • the specific implementation manner of the target indicator can be set according to actual application scenarios, which is not limited here.
  • the above-mentioned target indicator may include at least one of the following but not limited to: highlight color blocks, preset images, and the like.
  • the comment message currently displayed by the comment layer is for the commented content and can be displayed in association with the target indicator.
  • the target indication identifier can circulate among the commented content indicated by the comment messages successively in the selected state.
  • the target indication mark may be a yellow image or a shadow image, etc., or may also be an indicator, a changed font, etc., which is not limited here.
  • the browse object includes "Luoxia and Lonely Bird Flying Together".
  • the comment message in the first selected state is targeted at the commented content "Luoxia", and the comment message in the selected state later is targeted at the commented content of "Luoyu”.
  • the target indicator can be transferred from “Luoxia” to "Luoxia”. Lonely bird”.
  • FIG. 3A and FIG. 3B Please refer to FIG. 3A and FIG. 3B.
  • the comment message 301 is directed to the commented content "Luoxia”, so “Luoxia” is circled with the target indicator 302.
  • the comment message 303 is directed to the commented content "Lonely Bird", so "Lonely Bird” is circled with the target indicator 302.
  • the user can be prompted with the position of the commented content targeted by the current comment message in the browsing object, so that the user can increase the speed of obtaining the commented content targeted by the comment message and improve the user's browsing efficiency.
  • the content targeted by the comment message in the above-mentioned browsing object may be referred to as the commented content.
  • the browse object includes "Luoxia and Lonely Bird Flying Together".
  • the comment message may include a comment message for "Luoxia", and "Luoxia” may be referred to as the commented content.
  • the above method may further include: in response to detecting a predefined update operation, updating the comment message displayed in the comment layer.
  • the specific content of the predefined update operation can be set according to the actual situation, which is not limited here.
  • the update control can be displayed in the comment layer, and the user's click operation on the update control can be used as a predefined update operation.
  • a user's sliding operation on the comment layer greater than a preset distance can be used as a predefined update operation.
  • the size of the comment layer may match the screen size, but the number of comment messages is large. In this case, the comment layer cannot display all comment messages at one time. Therefore, the update operation can be predefined. The user provides a way to update the comment message.
  • updating the comment messages displayed in the comment layer a way for users to obtain all the comment messages can be provided.
  • updating the comment messages in the comment layer can increase the utilization rate of the comment layer, that is, by replacing Content, increase the number of comment messages displayed in the comment layer within a period of time.
  • the above method further includes: in response to determining that the commented content targeted by the comment message before and after the update is different, displaying the commented content targeted by the updated comment message.
  • the browse object includes "Luoxia and Lonely Bird Flying Together".
  • the comment message before the update refers to the commented content "Luoxia”
  • the comment message after the update refers to the commented content "Luoyu”
  • the commented content "Luoyu” for the updated comment message is displayed.
  • the browsing object in the first area can be seen on the same screen as the comment layer at the same time, and the commented content of the browsing object will also be changed during the update process of the comment message displayed in the comment layer.
  • the browsing objects below the comment layer can be viewed on the same screen as the comment layer.
  • the body of the browsing objects can be viewed at the same time to ensure that the context content is not lost.
  • it can be ensured that when the user is informed of the comment message, he can see the commented content targeted by the comment message at the same time, which saves the user the possible step of operating the first area to search for the commented content targeted by the comment message. Therefore, the efficiency of information display can be improved, and the amount of calculations generated by users searching through it can be saved.
  • the above method may further include: in response to detecting a predefined reply operation, displaying a comment input control; using the above comment input control to obtain a message for the commented content or comment message; displaying according to a preset message Sequence information, the obtained message is displayed in association with the comment message targeted by the message or the commented content.
  • the specific content of the aforementioned predefined reply operation can be set according to the actual situation, which is not limited here.
  • a reply control can be set in the comment layer, and the user's click operation on the reply control can be used as a reply operation.
  • the user's predefined gesture operation on the screen (for example, the operation of drawing a preset letter) can be used as a reply operation.
  • the aforementioned comment input control can be used to receive comment information, and the type of comment information is not limited here.
  • the type of the aforementioned comment information may be text information, picture information, or voice information.
  • the preset message display sequence information may indicate the message display sequence.
  • the message display order information may indicate that for the comment messages of the same commented content, the comment messages are arranged in the order from top to bottom in the comment layer.
  • the comment message displayed in the comment layer can be set to a selected state or a non-selected state.
  • the predefined reply operation is triggered, and the comment message input by the comment input control can be for the comment message in the comment layer, or it can be the commented content corresponding to the comment message currently in the selected state .
  • the above method provides a way for the user to reply in the process of viewing the comment message, and a way to display the comment information the user replies to, thereby providing a convenient way of interaction and improving the interaction efficiency for browsing objects.
  • the above method may further include determining whether to display a comment message for the browsing object.
  • the foregoing method may further include: in response to detecting a trigger operation for the notification message control, displaying a notification message; here, the foregoing notification message may include a comment message.
  • the notification message control can respond to user triggering, and the executive body can display the notification message after detecting that the notification message control is triggered.
  • the aforementioned notification message may include but is not limited to at least one of the following: comment message, friend message, and system message.
  • the friend message may be a message sent by a user who has established an association relationship with the user in advance.
  • the foregoing system message may be a message sent by a server that has a communication connection relationship with the foregoing execution subject.
  • the notification message control can be displayed in various functional interfaces.
  • the browse message control can be displayed in the interface that displays the browsing object.
  • the display style of the above notification message control can be various, which is not limited here.
  • the display style of the notification message control may be the shape of a bell.
  • the above method may further include: in response to detecting a viewing operation for the comment message in the notification message, displaying the comment message for the browsing object.
  • the messages in the above notification message may be arranged according to the receiving time of the message, and various types of messages in the notification message are mixed and displayed.
  • the comment message may be mixed with friend messages and system messages.
  • the above check operation can be used to check the details of the comment message.
  • the above-mentioned viewing operation can be implemented in various ways, such as clicking on the comment message, sliding left and right in the display area of the comment message, etc., which are not limited here.
  • the execution subject may generate an execution of displaying the comment message for the browsing object.
  • the above-mentioned execution subject may determine the display structure of the comment layer in response to the above-mentioned instruction. It can be understood that the above display of the comment message for the browsing object may be the display of the comment message for the browsing object in the comment layer.
  • comment messages can be displayed in a centralized manner through the comment layer, which improves the efficiency of users viewing comment messages, shortens the time for users to view comment messages, and thereby reduces the computing resources and power consumption of the executive body due to the display of comment messages.
  • displaying the comment message for the browsing object may include: determining the commented content targeted by the comment message for the viewing operation as the first Two target commented content; and the method may further include: jumping the display position of the browsing object to the commented content of the second target, and displaying the commented content of the second target and the comment message targeted by the viewing operation .
  • the comment message targeted by the viewing operation may be determined as the target comment message, and then the commented content targeted by the target comment message may be determined as the second target commented content.
  • the display position of the browsing object is jumped to the commented content of the second target, and the commented content of the second target is displayed.
  • the displayed content of the second target being commented has an association relationship with the comment message targeted by the target viewing operation, and is displayed in association. Therefore, when the comment message targeted by the viewing operation is displayed in the comment layer, the commented content targeted by the comment message is displayed in association, which can provide the user with the comment basis of the comment message, which saves the user from looking for the target of the currently displayed comment message.
  • the operation of the commented content saves the computational resource consumption and the power consumption of the executive body caused by the look-up operation.
  • displaying the commented content of the second target and the comment message targeted by the viewing operation may include: associating the display target indication identifier with the commented content of the second target.
  • the above-mentioned target indication mark may be used to indicate the target content, so that the target content is highlighted.
  • the specific implementation manner of the target indicator can be set according to actual application scenarios, which is not limited here.
  • the above-mentioned target indicator may include at least one of the following but not limited to: highlight color blocks, preset images, and the like.
  • the user can be prompted with the position of the commented content targeted by the current comment message in the browsing object, so that the user can increase the speed of obtaining the commented content targeted by the comment message and improve the user's browsing efficiency.
  • the content targeted by the comment message in the above-mentioned browsing object is the commented content.
  • the above method may further include: displaying the comment prompt control in association with the commented content in the browsing object; in response to detecting a trigger operation on the comment prompt control, displaying the commented content associated with the comment prompt control Comment information.
  • the aforementioned comment prompt control can be used to prompt that part of the content of the browsing object has a comment message.
  • the aforementioned comment prompt control can respond to user operations.
  • the style and position of the comment prompt control can be set according to the actual situation, which is not limited here.
  • the aforementioned comment prompt control can be set at the upper right of the commented content.
  • the aforementioned comment prompt control can be set on the right side of the browsing object, and point to the commented content through an indicator (for example, an arrow).
  • the number of comment messages can be displayed on the above comment prompt control.
  • the number of comment messages of each commented content can be indicated to the user, and the popularity of the commented content can be prompted. Therefore, it is convenient for the user to determine whether to view the comment message of the commented content according to the popularity of the commented content. That is, the user can quickly grasp the key commented content in each browsing object through the number of commented content commented content mentioned above, thereby helping Users can obtain key content in a short time, improve user browsing efficiency, and reduce users' blind operations due to not being able to catch key points.
  • FIG. 4 shows a comment prompt control 401.
  • the comment prompt control shown in FIG. 4 includes a box circled "Caixia" and the number of comment messages (ie, 1 in the circle).
  • the present disclosure provides an embodiment of a display device.
  • the device embodiment corresponds to the method embodiment shown in FIG. 1, and the device can be specifically applied Used in various electronic devices.
  • the display device of this embodiment includes: a first display unit 501, a first determination unit, and a second display unit 503.
  • the first display unit is used to display the browsing object in the first area
  • the first determination unit is used to respond to the instruction to display the comment message for the browsing object, based on the predefined display of the comment message of the browsing object Parameter to determine the display structure of the comment layer, wherein the predefined display parameter is used to indicate the size of the second area where the comment layer is located
  • the second display unit is used to generate the comment layer according to the determined display structure, and In the generated comment layer, the comment message is displayed, wherein the second area overlaps the first area, and the range of the second area in the first direction or the second direction is smaller than the first area.
  • step 101 the specific processing of the first display unit 501, the first determination unit 502, and the second display unit 503 of the display device and the technical effects brought by them can be referred to step 101 and step in the embodiment corresponding to FIG. 1 respectively.
  • step 102 and step 103 The related description of step 102 and step 103 will not be repeated here.
  • the predefined display parameter includes the height value of the comment message; and the predefined display parameter of the comment message based on the browsing object determines the display structure of the comment layer, including : Obtain the height value of each comment message of the browsing object, and obtain the height parameter value according to the sum of the height values; determine the display structure of the comment layer according to the height parameter value and the preset height threshold.
  • determining the display structure of the comment layer according to the height parameter value and a preset height threshold value includes: in response to determining that the height parameter value is not greater than the height threshold value, according to the height parameter value, Determine the height value of the comment layer.
  • determining the display structure of the comment layer according to the height parameter value and a preset height threshold includes: in response to determining that the height value is greater than the height threshold, according to the size of the screen on which the browsing object is displayed Height, determines the height of the comment layer.
  • the predefined display parameter includes the number of comment messages; and the predefined display parameter of the comment message based on the browsing object, determining the display structure of the comment layer includes: in response to determining the comment The number of messages is less than the preset number threshold, and the size of the comment layer is determined according to the area occupied by the displayed comment messages.
  • the determining the display structure of the comment layer based on the predefined display parameters of the comment messages of the browsing object includes: in response to determining that the number of the comment messages is not less than a preset number threshold, displaying according to the The size of the screen of the viewing object determines the size of the comment layer.
  • the comment layer includes at least one comment unit, wherein the comment unit is used to display a single comment message, and the comment unit includes at least one of the following areas: a comment message display area, a reviewer identification display area, and a comment time display area And the feedback information display area for comment messages.
  • the content targeted by the comment message in the browsing object is the content being commented; and the device is further configured to: determine the comment message in the selected state according to the user's browsing operation in the comment layer; The commented content targeted by the status comment message is determined to be the commented content of the first target; the display position of the browsing object is jumped to the commented content of the first target, and the commented content of the first target is displayed .
  • the device is further configured to associate a display target indicator with the commented content of the first target, wherein the target indicator is used to highlight the content to be displayed in association.
  • the device is further configured to: in response to detecting a predefined update operation, update the comment message displayed in the comment layer; in response to determining that the comment messages before and after the update are directed to different content being reviewed, display the update The following comment message is aimed at the commented content.
  • the device is further configured to: in response to detecting a predefined reply operation, display a comment input control; use the comment input control to obtain a message specific to the commented content or comment message;
  • the message display order information is to display the obtained message in association with the comment message targeted by the message or the commented content.
  • the device is further configured to: in response to detecting a trigger operation for the notification message control, display a notification message, wherein the notification message includes a comment message; Check the operation and display the comment message for the browsed object.
  • displaying the comment message for the browsing object includes: determining the commented content targeted by the comment message for the viewing operation as the second Target commented content; and the device is further used to: jump the display position of the browsing object to the commented content of the second target, and display the commented content of the second target.
  • the displaying the commented content of the second target includes: associating a display target indicator with the commented content of the second target, wherein the target indicator is used to highlight the content of the associated display show.
  • the content targeted by the comment message in the browsing object is the content being commented; and the device is further configured to: for the commented content in the browsing object, display a comment prompt control in association; in response to detection To the trigger operation of the comment prompt control, the comment message of the commented content associated with the comment prompt control is displayed.
  • the device is further configured to: display the number of comment messages for the commented content on the comment prompt control, wherein the number of comment messages indicates the commented content associated with the comment message control The number of comment messages.
  • FIG. 6 shows an exemplary system architecture in which the presentation method of an embodiment of the present disclosure can be applied.
  • the system architecture may include terminal devices 601, 602, and 603, a network 604, and a server 605.
  • the network 604 is used to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 605.
  • the network 604 may include various connection types, such as wired, wireless communication links, or fiber optic cables, and so on.
  • the terminal devices 601, 602, and 603 can interact with the server 605 via the network 604 to receive or send messages and so on.
  • client applications may be installed on the terminal devices 601, 602, and 603, such as web browser applications, search applications, and news applications.
  • the client applications in the terminal devices 601, 602, and 603 can receive instructions from the user, and complete corresponding functions according to the instructions of the user, for example, add corresponding information to the information according to the instructions of the user.
  • the terminal devices 601, 602, and 603 may be hardware or software.
  • the terminal devices 601, 602, and 603 can be various electronic devices that have a display screen and support web browsing, including but not limited to smart phones, tablet computers, e-book readers, and MP3 players (Moving Picture Experts Group). Audio Layer III, Motion Picture Experts compress standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Motion Picture Experts compress standard audio layer 4) Players, laptop portable computers and desktop computers, etc.
  • the terminal devices 601, 602, and 603 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, software or software modules used to provide distributed services), or as a single software or software module. There is no specific limitation here.
  • the server 605 may be a server that provides various services, for example, receiving information acquisition requests sent by the terminal devices 601, 602, and 603, and acquiring display information corresponding to the information acquisition request in various ways according to the information acquisition request. And the relevant data of the display information is sent to the terminal devices 601, 602, and 603.
  • the display method provided in the embodiment of the present disclosure may be executed by a terminal device, and accordingly, the display device may be set in the terminal devices 601, 602, and 603.
  • the display method provided by the embodiment of the present disclosure may also be executed by the server 605, and accordingly, the display device may be set in the server 605.
  • terminal devices, networks, and servers in FIG. 6 are merely illustrative. There can be any number of terminal devices, networks, and servers according to implementation needs.
  • FIG. 7 shows a schematic structural diagram of an electronic device (for example, the terminal device or the server in FIG. 5) suitable for implementing the embodiments of the present disclosure.
  • Terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 7 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 may include a processing device (such as a central processing unit, a graphics processor, etc.) 701, which may be loaded into a random access memory according to a program stored in a read-only memory (ROM) 702 or from a storage device 708 (RAM)
  • the program in 703 executes various appropriate actions and processing.
  • various programs and data required for the operation of the electronic device 700 are also stored.
  • the processing device 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704.
  • An input/output (I/O) interface 705 is also connected to the bus 704.
  • the following devices can be connected to the I/O interface 705: including input devices 706 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD), speakers, vibrations
  • input devices 706 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.
  • LCD liquid crystal displays
  • An output device 707 such as a device
  • a storage device 708 such as a magnetic tape, a hard disk, etc.
  • the communication device 709 may allow the electronic device to perform wireless or wired communication with other devices to exchange data.
  • FIG. 7 shows an electronic device having various devices, it should be understood that it is not required to implement or have all of the illustrated devices. It may be implemented alternatively or provided with more or fewer devices.
  • the process described above with reference to the flowchart can be implemented as a computer software program.
  • the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory 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 709, or installed from the storage device 708, or installed from the ROM 702.
  • the processing device 701 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure 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, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above.
  • Computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable removable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk 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 but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • 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 but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can communicate with any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
  • 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.
  • the electronic device displays the browsing object in the first area; and responds to displaying comments on the browsing object
  • the message instruction determines the display structure of the comment layer based on the predefined display parameters of the comment message of the browsing object, wherein the predefined display parameter is used to indicate the size of the second area where the comment layer is located;
  • the determined display structure generates a comment layer, and in the generated comment layer, the comment message is displayed, wherein the second area overlaps the first area, and the second area is in the first direction or in the first direction.
  • the range in the two directions is smaller than the first area.
  • the computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages.
  • 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 a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • 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 logic function.
  • Executable instructions can also occur in a different order from the order marked in the drawings. For example, two blocks shown one after another can actually be executed substantially in parallel, and 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 units involved in the embodiments described in the present disclosure can be implemented in software or hardware. Among them, the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • the first display unit can also be described as a "unit that displays the browsing object".
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on Chip
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium, which may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
  • machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM compact disk read only memory
  • magnetic storage device or any suitable combination of the foregoing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • General Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种展示方法、装置和电子设备,该方法包括:在第一区域展示浏览对象(101);响应于展示针对该浏览对象的评论消息的指令,基于该浏览对象的评论消息的预定义展示参数,确定评论层的展示结构(102);根据所确定的展示结构生成评论层,以及在所生成的评论层中,展示该评论消息(103)。其中,预定义展示参数用于指示该评论层所在的第二区域的尺寸;第二区域与第一区域重叠,且该第二区域在第一方向或第二方向上的范围小于该第一区域。

Description

展示方法、装置和电子设备
相关申请的交叉引用
本申请要求于2020年05月08日提交的,申请号为202010384779.7、发明名称为“展示方法、装置和电子设备”的中国专利申请的优先权,该申请的全文通过引用结合在本申请中。
技术领域
本公开涉及互联网技术领域,尤其涉及一种展示方法、装置和电子设备。
背景技术
随着互联网的发展,用户越来越多的使用终端设备浏览各类信息。例如,用户甲可以通过终端设备浏览各种文档。上述文档可能已经记录其它用户针对文档所做的一些评论。则该用户甲可能会对其它用户的评论有兴趣,希望可以看到其它用户的评论。在一些应用场景中,用户甲还可能希望针对上述文档发布自己的评论。
发明内容
提供该公开内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该公开内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
本公开实施例提供了一种展示方法、装置和电子设备。
第一方面,本公开实施例提供了一种展示方法,该方法包括:在第一区域展示浏览对象;响应于展示针对所述浏览对象的评论消息的指令,基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,其中,所述预定义展示参数用于指示所述评论层所在的第二区域的尺寸;根据所确定的展示结构生成评论层,以及在所生成的评论层中,展示所述评论消息,其中,所述第二区域与所述第一区域重叠,且所述第二区域在第一方向或第二方向上的范围小于所述第一区域。
第二方面,本公开实施例提供了一种展示装置,包括:第一展示单元,用于在第一区域展示浏览对象;第一确定单元,用于响应于展示针对所述浏览对象的评论消息的指令,基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,其中,所述预定义展示参数用于指示所述评论层所在的第二区域的尺寸;第二展示单元,用于根据所确定的展示结构生成评论层,以及在所生成的评论层中,展示所述评论消息,其中,所述第二区域与所述第一区域重叠,且所述第二区域在第一方向或第二方向上的范围小于所述第一区域。
第三方面,本公开实施例提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当上述一个或多个程序被上述一个或多个处理器执行,使得上述一个或多个处理器实现如第一方面上述的展示方法。
第四方面,本公开实施例提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面上述的展示方法的步骤。
本公开实施例提供的展示方法、装置和电子设备,通过在展示浏览对象的时候,确定是否展示针对浏览对象的评论消息;如果是,则根据浏览对象的评论消息的预定义展示参数,确定评论层的展示结构;然后,根据所确定的展示结构生成评论层,以及在所生成的评论层中,展示评论消息;由此,可以根据浏览对象的评论消息的预定义展示参数所指示的实际情况,生成针对该浏 览对象的评论层,即所生成的评论层的展示结构与预定义展示参数相匹配。可以理解,不同展示结构的评论层,生成时所消耗的计算资源不同,信息展示方式也不同;信息展示方式需要满足实际展示需求,而生成时所消耗的计算资源需要尽可能小一些。根据预定义展示参数确定的展示结构,根据实际展示需求生成,既能够满足实用需求,又能避免浪费计算资源,即平衡了实际展示需求的满足和计算量这两个方面,最大程度的节省了计算资源。对比来说,如果生成统一的评论层,而不根据预定义展示参数区分评论的展示结构,可能会产生计算资源浪费或者展示资源浪费的问题。
需要说明的是,第一区域展示浏览对象,第二区域展示评论消息,第二区域与第一区域重叠,并且第二区域在第一方向或者第二方向上的范围小于第一区域,可以保证展示评论消息的同时,展示浏览对象。由此,用户浏览评论消息的同时,也可以看到浏览对象,用户在需要查看评论消息和浏览对象的时候,可以在同一界面看到评论消息和浏览对象,而无需实施在评论消息和浏览对象之间的切换操作。从而,可以通过提高屏幕利用率(展示评论消息和浏览对象),减少用户因查看评论消息和浏览对象而产生的操作,进而减少执行主体因用户查看评论消息和浏览对象而产生的计算量和屏幕刷新量,即节省计算资源和执行主体电量。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1是根据本公开的展示方法的一个实施例的流程图;
图2A、图2B和图2C是根据本公开的展示方法的一个应用场景的示意图;
图3A和图3B是根据本公开的展示方法的另一个应用场景的 示意图;
图4是本公开的展示方法的又一个应用场景的示意图;
图5是根据本公开的展示装置的一个实施例的结构示意图;
图6是本公开的一个实施例的展示方法可以应用于其中的示例性系统架构;
图7是根据本公开实施例提供的电子设备的基本结构的示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
请参考图1,其示出了根据本公开的展示方法的一个实施例的流程。如图1所示该展示方法,包括以下步骤:
步骤101,在第一区域展示浏览对象。
在本实施例中,展示方法的执行主体(例如终端设备)可以在第一区域展示浏览对象。
在这里,上述第一区域可以是上述执行主体的屏幕显示区域的全部或者一部分。
在本实施例中,上述浏览对象可以是可供浏览的任何种类的信息。作为示例,上述浏览对象可以包括但是不限于以下至少一项:文档、网页、演示文稿等。
在一些实施例中,上述浏览对象可以是在线文档。在线文档可以是能够在线浏览的文档。
在一些应用场景中,上述浏览对象,可以是响应于用户触发浏览对象展示控件而展示的。
步骤102,响应于展示针对浏览对象的评论消息的指令,基于浏览对象的评论消息的预定义展示参数,确定评论层的展示结构。
在本实施例中,上述执行主体可以响应于展示针对所述浏览对象的评论消息的指令,基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构。
在这里,上述预定义展示参数可以用于指示所述评论层所在的第二区域的尺寸。换句话说,上述预定义展示参数可以用于表征第二区域的尺寸。预定义展示参数的具体种类,可以根据实际情况设置,在此不做限定。作为示例,可以将评论消息的数量作为预定义展示参数,
需要说明的是,预定义展示参数可以与第二区域的尺寸具有相关关系,一般情况下,预定义展示参数可以与第二区域的尺寸可以正相关。
在这里,上述评论层的展示区域可以称为第二区域。第二区域的尺寸,可以根据第二区域的形状采用不同的表达方式。例如,如果第二区域是圆形,第二区域的尺寸可以采用圆形的半径进行表达;如果第二区域是矩形,第二区域的尺寸可以采用矩形的长和宽进行表达。在本实施例中,上述执行主体可以预先设置评论消息展示条件,在评论消息展示条件满足的时候,确定展示针对浏览对象的评论消息。作为示例,可以设置评论消息提醒控件,响应于检测到评论消息提醒控件被触发,评论消息展示条件满足,然后,上述执行主体确定展示针对浏览对象的评论消息。上述执行主体确定展示针对浏览对象的评论消息,可以生成展示针对浏览对象的消息的指令。
在这里,第二区域与第一区域重叠,并且第二区域在第一方向或者第二方向上的范围小于第一区域。换句话说,上述评论层可以用于展示评论消息,并且能够不对浏览对象构成完全遮挡。
在这里,上述第一方向可以是任一方向,作为示例,第一方向可以平行于显示屏幕的长度方向。上述第二方向可以是不同于第一方向的任一方向,作为示例,上述第二方向可以平行于显示屏幕的宽度方向。可以理解,一般情况下,电子设备的显示屏幕为矩形,矩形可以具有长度方向和宽度方向。在一些应用场景中,用户可以针对浏览对象进行评论,发布针对浏览对象的评论消息。上述评论消息可以是针对浏览对象整体的,可以是针对浏览对象中部分内容的。如果评论消息是针对评论中的部分内容中,此部分内容可以称为被评论内容。在本实施例中,浏览对象可以与评论消息的预定义展示参数对应存储。。
在本实施例中,评论层展示结构的种类可以是预先定义。上述执行主体可以根据评论消息的预定义展示参数,从预先定义的多种展示结构中,选取适用于该评论消息的预定义展示参数的展示结构。
在本实施例中,评论层的展示结构可以包括但是不限于以下至少一项:评论层的尺寸、评论层的颜色、评论层是否可响应用 户操作等。
在本实施例中,评论层可以展示一条或者多条评论消息。
可以理解,评论层可以不对浏览对象构成完全遮挡,可以包括完全不构成遮挡或者遮挡浏览对象的部分区域。换句话说,透过评论层,用户可以看到浏览对象的部分或者全部。
步骤103,根据所确定的展示结构生成评论层,以及在所生成的评论层中,展示评论消息。
在本实施例中,上述执行主体可以根据所确定的展示结构生成评论层,以及在所生成的评论层中,展示评论消息。
作为示例,所确定的展示结构指示评论层的尺寸为A,则生成A尺寸的评论层,然后将评论消息展示在评论层中。
在一些应用场景中,对于评论层是否响应用户操作不做限定。对于展示在评论层之后,被评论层遮挡或者没有遮挡的浏览对象区域(即第一区域)是否响应用户操作,不做限定。
需要说明的是,本申请实施例提供的展示方法,通过在展示浏览对象的时候,确定是否展示针对浏览对象的评论消息;如果是,则根据浏览对象的评论消息的预定义展示参数,确定评论层的展示结构;然后,根据所确定的展示结构生成评论层,以及在所生成的评论层中,展示评论消息;由此,可以根据浏览对象的评论消息的预定义展示参数所指示的实际情况,生成针对该浏览对象的评论层,即所生成的评论层的展示结构与预定义展示参数相匹配。可以理解,不同展示结构的评论层,生成时所消耗的计算资源不同,信息展示方式也不同;信息展示方式需要满足实际展示需求,而生成时所消耗的计算资源需要尽可能小一些。根据预定义展示参数确定的展示结构,根据实际展示需求生成,既能够满足实用需求,又能避免浪费计算资源,即平衡了实际展示需求的满足和计算量这两个方面,最大程度的节省了计算资源。对比来说,如果生成统一的评论层,而不根据预定义展示参数区分评论的展示结构,可能会产生计算资源浪费或者展示资源浪费的问题。
需要说明的是,第一区域展示浏览对象,第二区域展示评论消息,第二区域与第一区域重叠,并且第二区域在第一方向或者第二方向上的范围小于第一区域,可以保证展示评论消息的同时,展示浏览对象。由此,用户浏览评论消息的同时,也可以看到浏览对象,用户在需要查看评论消息和浏览对象的时候,可以在同一界面看到评论消息和浏览对象,而无需实施在评论消息和浏览对象之间的切换操作。从而,可以通过提高屏幕利用率(展示评论消息和浏览对象),减少用户因查看评论消息和浏览对象而产生的操作,进而减少执行主体因用户查看评论消息和浏览对象而产生的计算量和屏幕刷新量,即节省计算资源和执行主体电量。
请参考图2A、图2B和图2C,图2A、图2B和图2C示出了图1所示实施例的示例性应用场景。具体如下:
首先,在图2A中,终端可以展示浏览对象201,作为示例,浏览对象201可以是《滕王阁序》,当前展示的是该浏览对象的一部分。
然后,终端可以先确定是否展示针对浏览对象的评论消息。如果确定展示,则根据浏览对象的评论消息的预定义展示参数(例如评论消息的数量或者高度值),确定评论层的展示结构。
最后,终端可以根据所确定展示结构生成评论层,以及在所生成的评论层中,展示评论消息。作为示例,请参考图2B,其示出了在一种评论层202中展示评论消息203和评论消息204。请参考图2C,其示出了在另一种评论层205中展示评论消息;需要说明的是,评论层205中展示的评论消息较多,在此不再一一编号。
在一些实施例中,上述预定义展示参数可以包括评论消息的高度值。可以理解,评论消息中的字数不同,在评论消息的宽度相同的情况下,评论消息的高度值可能不同。
在一些实施例中,上述步骤102可以包括:获取浏览对象的各个评论消息的高度值,以及基于各个高度值,得到高度参数值;根据所述高度参数值与预设的高度阈值,确定评论层的展示结构。
在这里,可以根据实际情况,基于各个高度值,得到高度参 数值。作为示例,可以将各个高度值的加和,作为高度参数值;对所述各个高度值的和以及各个评论消息之间的间隙量的和,进行加和得到所述高度参数值。可以理解,各个评论消息之间,可能存在一定的间隙,这个间隙的量可以是预设的。
在一些实施例中,上述根据所述高度参数值与预设的高度阈值,确定评论层的展示结构,可以包括:响应于确定高度参数值不大于高度阈值,根据高度参数值,确定评论层的高度值。
需要说明的是,在高度参数值不大于所述高度阈值的时候,展示评论消息所需屏幕的面积可能较小,即在展示评论消息所需的面积较小的情况下,生成较小尺寸的评论层。由此,可以保证评论消息能够完全展示的同时,减少展示评论消息所占的屏幕面积,提高屏幕的利用率,并且减少屏幕刷新所消耗的资源(展示评论消息的第二区域越小,需要刷新的像素数量越少,计算资源和显示资源的消耗越小)。
在一些实施例中,上述根据所述高度参数值与预设的高度阈值,确定评论层的展示结构,可以包括:响应于确定高度参数值大于所述高度阈值,根据以下至少一项:预设评论层高度、展示所述浏览对象的屏幕的高度,确定评论层的高度。
在这里,预设评论层高度可以是根据实际应用场,预先设置的高度值,具体数值在此不做限定。
在这里,在高度参数值大于高度阈值的时候,根据屏幕的尺寸,确定评论层的尺寸。作为示例,所确定的评论层高度,可以大致等于屏幕高度或者略小于屏幕高度。由此,可以在屏幕允许范围内,展示尽量大面积的评论层,由此,评论层单次可承载的评论消息的数量较多,进而提高用户单次可观看的评论消息的数量,即提高信息展示效率。
在一些实施例中,上述步骤102可以包括:响应于确定评论消息数量小于预设数量阈值,根据展示评论消息所占的面积,确定评论层的尺寸。
在一些实施例中,上述预定义展示参数可以包括评论消息的 数量。
在这里,上述预设数量阈值的具体数值,可以根据实际情况进行设置,在此不做限定。
在这里,展示评论消息所占的面积可以是上述执行主体预估的。
在一些实施例中,可以根据各个评论消息内容和评论消息的单位展示尺寸,确定评论消息所占的面积。
在这里,单个评论消息所占的面积可以包括一个或者多个单位展示尺寸。单位展示尺寸,可以是在评论消息展示的时候,衡量展示评论消息的单位所占的尺寸。作为示例,单位展示尺寸可以指示展示评论消息时单字所占的面积。作为示例,上述评论消息的单位展示尺寸,可以指示展示评论消息时单行所占的面积。
在这里,可以根据单位展示尺寸和每个评论消息的内容,确定每个评论消息所占的面积。然后,将各个评论消息所占的面积进行加和,确定展示评论消息所占的面积,进而将评论消息所占的面积,确定为评论层的尺寸。
需要说明的是,在评论消息数量小于预设数量阈值的时候,根据展示评论消息所占屏幕的面积可能较小,即在展示评论消息所占的面积较小的情况下,生成较小尺寸的评论层,由此,可以保证评论消息能够完全展示的同时,减少展示评论消息所占的屏幕面积,提高屏幕的利用率,并且减少屏幕刷新所消耗的资源(展示评论消息的第二区域越小,需要刷新的像素数量越少,计算资源和显示资源的消耗越小)。
在一些实施例中,上述步骤102可以包括:响应于确定评论消息数量不小于预设数量阈值,根据展示上述浏览对象的屏幕的尺寸,确定评论层的尺寸。
在这里,根据展示浏览对象的屏幕的尺寸,确定评论层的尺寸,可以采用各种方式实现,在此不做限定。
在一些应用场景中,在评论消息数量不小于预设数量阈值的 时候,评论消息数量可能较多,根据展示浏览对象的屏幕的尺寸,确定的评论层的尺寸,可以将评论层的尺寸与屏幕的尺寸匹配,即评论层的尺寸在高度上与屏幕的尺寸一致,宽度上可以小于屏幕的尺寸。
需要说明的是,在评论消息数量不小于预设数量阈值的时候,根据屏幕的尺寸,确定评论层的尺寸,可以在屏幕允许范围内,展示尽量大面积的评论层,由此,评论层单次可承载的评论消息的数量较多,进而提高用户单次可观看的评论消息的数量,即提高信息展示效率。
在一些实施例中,上述评论层可以包括至少一个评论单元。在这里,上述评论单元用于展示单个评论消息,评论单元可以包括以下至少一个区域但不限于:评论消息展示区域、评论人标识展示区域、评论时间展示区域和针对评论消息的反馈信息展示区域。
在这里,上述评论消息展示区域可以用于展示评论消息。
在这里,上述评论人标识展示区域,可以用于展示发出评论消息的评论人的标识。
在这里,上述评论时间展示区域,可以用于展示发出评论消息的时间。
在这里,上述反馈信息展示区域,可以用于展示针对评论消息的反馈信息;在这里,反馈信息也可以称为回复信息,即反馈信息是对评论信息作出回复的信息。
需要说明的是,上述评论层包括至少一个评论单元,可以对不同的评论消息进行区分展示。由此,可以在用户浏览评论信息的时候,明确获知不同的评论信息的内容,避免用户因不同的评论信息混在一起而产生误解,从而,可以减少用户理解评论消息的时间,提高用户的浏览效率,即提高评论消息的展示效率,进而,减少了因展示评论消息而产生的计算资源和显示资源的消耗。
需要说明的是,评论单元可以包括上述各个区域,可以针对评论消息,提示该评论消息的相关信息(例如评论人标识、评论 时间和反馈信息)。由此,可以使得用户在浏览评论消息的时候,同步获知上述相关信息,节省了用户查找上述相关信息的时间和计算量,从而,可以提高用户在单位时间内获取的评论消息相关信息的信息量,即提高了用户的浏览效率以及提高了评论消息的展示效率,进而减少了因展示评论消息而产生的计算资源和显示资源的消耗。
在一些实施例中,上述方法还包括:根据用户在评论层的浏览操作,确定处于选中状态的评论消息;将处于选中状态的评论消息针对的被评论内容,确定为第一目标被评论内容;将浏览对象的展示位置跳转到第一目标被评论内容处,以及展示第一目标被评论内容。
在这里,上述评论层的浏览操作可以用于对评论层中的内容进行移动,以供用户查看浏览评论消息。
在这里,确定处于选中状态的评论消息,可以根据各种方式实现,在此不做限定。
在一些应用场景,各个评论消息可以具有单独的展示区域。各个评论可以被选中。作为示例,用户点击某个评论消息的展示区域,则该评论消息可以被选中,即该评论消息处于选中状态。
在一些应用场景中,可以将处于第一区域中间位置附近的评论消息,确定为处于选中状态的评论消息。
在这里,评论消息可以针对被评论内容。选中状态的评论消息针对的被评论内容,可以称为第一目标被评论内容。
在这里,将浏览对象的展示位置,跳转到第一目标被评论内容处,以及展示第一目标被评论内容,可以理解为,随着浏览操作的进行,处于选中状态的评论消息可能发生改变,则第一目标被评论消息也可能发生改变;在第二区域展示的(处于选中状态的)评论消息发生改变的时候,第一区域展示的评论消息可以随之变为改变后的第一目标被评论消息。换句话说,第一区域展示的被评论消息,可以随着第二区域展示的评论消息的改变而改变,保证第一区域展示的被评论消息,是当前展示评论消息所针对的 被评论消息。
需要说明的是,第一区域中的浏览对象可以和评论层在同一个屏幕内同时被看到,在评论层展示的评论消息改变中,浏览对象的被评论内容也随之改变。换句话说,评论层下方的浏览对象可以和评论层在同一个屏幕内同时被看到,在评论层滚动的过程中,可以同时查看浏览对象的正文,保证上下文内容不丢失。由此,可以保证用户在获知评论消息的时候,同时可以看到该评论消息针对的被评论内容,节省了用户可能的再去操作第一区域而翻找该评论消息针对的被评论内容的步骤,从而,可以提高信息展示效率,节省用户翻找而产生的计算量。
在一些实施例中,上述第一目标被评论内容与目标指示标识关联展示。
在这里,所述目标指示标识用于将关联展示的内容突出显示。上述目标指示标识可以用于指示目标内容,使得目标内容突出显示。
在这里,目标指示标识的具体实现方式,可以根据实际应用场景设置,在此不做限定。
作为示例,上述目标指示标识可以包括以下至少一项但不限于:高亮色块、预设图像等。
在一些应用场景中,评论层当前展示的评论消息针对被评论内容,可以与目标指示标识关联展示。换句话说,跟随评论层中评论消息的更新,目标指示标识可以在先后处于选中状态的评论消息指示的被评论内容之间流转。在这里,目标指示标识可以是黄色图像或者阴影图像等,还可以是指示符、变化后的字体等,在此不做限定。
作为示例,浏览对象包括“落霞与孤鹜齐飞”。先处于选中状态的的评论消息针对的被评论内容为“落霞”,后处于选中状态的评论消息针对的被评论内容为“孤鹜”,目标指示标识可以从“落霞”,流转至“孤鹜”。请参考图3A和图3B,图3A中,评论消息301针对被评论内容“落霞”,因此“落霞”采用目标指示标识302 圈出。图3B中,评论消息303针对被评论内容“孤鹜”,因此“孤鹜”采用目标指示标识302圈出。
需要说明的是,通过目标指示标识,可以向用户提示当前评论消息针对的被评论内容在浏览对象中的位置,使得用户提高获取评论消息针对的被评论内容的速度,提高用户的浏览效率。在一些实施例中,上述浏览对象中评论消息针对的内容,可以称为被评论内容。
作为示例,浏览对象包括“落霞与孤鹜齐飞”。评论消息可以包括针对“落霞”的评论消息,“落霞”可以称为被评论内容。
在一些实施例中,上述方法还可以包括:响应于检测到预定义更新操作,更新评论层中展示的评论消息。
在这里,预定义更新操作的具体内容,可以根据实际情况设置,在此不做限定。
作为示例,可以在评论层展示更新控件,用户对更新控件的点击操作,可以作为预定义的更新操作。
作为示例,用户在评论层的大于预设距离的滑动操作,可以作为预定义的更新操作。
在一些应用场景中,评论层的尺寸可能与屏幕尺寸匹配,然而评论消息的数量较多,这种情况下,评论层不能一次性展示所有的评论消息,由此,可以预定义更新操作,为用户提供更新评论消息的消息方式。
需要说明的是,通过更新评论层中展示的评论消息,可以提供用户获取到全部的评论消息的方式,随着更新操作更新评论层中的评论消息,可以提高评论层的利用率,即通过更换内容,提高评论层一段时间内展示评论消息的数量。
在一些实施例中,上述方法还以包括:响应于确定更新前后的评论消息针对的被评论内容不同,展示更新后的评论消息针对的被评论内容。
作为示例,浏览对象包括“落霞与孤鹜齐飞”。更新前的评论消息针对的被评论内容为“落霞”,更新后的评论消息针对的被评 论内容为“孤鹜”,则展示更新后的评论消息针对的被评论内容“孤鹜”。
需要说明的是,第一区域中的浏览对象可以和评论层在同一个屏幕内同时被看到,在评论层展示的评论消息更新过程中,浏览对象的被评论内容也随之改变。换句话说,评论层下方的浏览对象可以和评论层在同一个屏幕内同时被看到,在评论层滚动的过程中,可以同时查看浏览对象的正文,保证上下文内容不丢失。由此,可以保证用户在获知评论消息的时候,同时可以看到该评论消息针对的被评论内容,节省了用户可能的再去操作第一区域而翻找该评论消息针对的被评论内容的步骤,从而,可以提高信息展示效率,节省用户翻找而产生的计算量。
在一些实施例中,上述方法还可以包括:响应于检测到预定义的回复操作,展示评论输入控件;利用上述评论输入控件,获取针对被评论内容或者评论消息的消息;按照预设的消息展示顺序信息,将所获取的消息,与消息针对的评论消息或者被评论内容关联展示。
在这里,上述预定义的回复操作的具体内容,可以根据实际情况进行设置,在此不做限定。作为示例,可以在评论层设置回复控件,用户对回复控件的点击操作,可以作为回复操作。作为示例,用户在屏幕的预定义手势操作(例如划出预设字母的操作),可以作为回复操作。
在这里,上述评论输入控件可以用于接收评论信息,评论信息的种类在此不做限定。作为示例,上述评论信息的种类可以是文字信息、图片信息或者语音信息。
在这里,上述预设的消息展示顺序信息,可以指示消息展示顺序。作为示例,消息展示顺序信息,可以指示对于同一被评论内容的评论消息,采用按照时间由前往后的顺序,在评论层由上到下排列评论消息。
在一些应用场景中,评论层中展示评论消息可以设置选中状态或者非选中状态。评论消息处于选中状态的时候,触发预定义 的回复操作,则利用评论输入控件输入的评论消息,可以是针对评论层中评论消息,也可以是针对当前处于选中状态的评论消息对应的被评论内容。
需要说明的是,上述方式提供了用户在观看评论消息的过程中的回复方式,以及展示用户回复的评论信息的方式,由此,可以提供便捷的交互方式,提高针对浏览对象的交互效率。在一些实施例中,上述方法还可以包括确定是否展示针对浏览对象的评论消息。
在一些实施例中,上述方法还可以包括:响应于检测到针对通知消息控件的触发操作,展示通知消息;在这里,上述通知消息可以包括评论消息。
在这里,通知消息控件可以响应用户触发,执行主体在检测到通知消息控件被触发之后,可以展示通知消息。
在这里,上述通知消息可以包括但是不限于以下至少一项:评论消息、好友消息、系统消息。在这里,好友消息可以是预先与用户建立关联关系的用户所发送的消息。上述系统消息可以是与上述执行主体具有通信连接关系的服务器发送的消息。
在这里,通知消息控件可以展示在各种功能界面中,作为示例,浏览消息控件可以展示在展示浏览对象的界面中。
在这里,上述通知消息控件的展示样式可以是各种各样的,在此不做限定。作为示例,通知消息控件的展示样式可以是铃铛的形状。
在一些实施例中,上述方法还可以包括:响应于检测到针对通知消息中评论消息的查看操作,展示针对浏览对象的评论消息。
在一些应用场景中,上述通知消息中的消息可能根据消息的接收时间进行排列,通知消息中各种类型的消息混在一起展示。换句话说,评论消息中可能夹杂着好友消息和系统消息。
在这里,上述查看操作可以用于查看评论消息的详情。在这里,上述查看操作的实现方式可以是各种各样,例如点击评论消息、在评论消息的展示区域左右滑动等,在此不做限定。
在这里,确定展示针对浏览对象的评论消息之后,执行主体可以生成展示针对浏览对象的评论消息的执行。上述执行主体可以响应于于上述指令,确定评论层的展示结构。可以理解,上述展示针对浏览对象的评论消息,可以是在评论层中展示浏览对象针对的评论消息。
需要说明的是,通过上述提供的通知消息控件,以及针对通知消息中评论消息的查看操作,可以进入展示评论信息的界面。由此,可以通过评论层集中展示评论消息,提高用户查看评论消息的效率,缩短用户查看评论消息的时间,进而减少因展示评论消息而消耗的计算资源和执行主体耗电量。
在一些实施例中,上述响应于检测到针对通知消息中的评论消息的查看操作,展示针对浏览对象的评论消息,可以包括:将查看操作针对的评论消息所针对的被评论内容,确定为第二目标被评论内容;以及所述方法还可以包括:将所述浏览对象的展示位置跳转到第二目标被评论内容处,以及展示所述第二目标被评论内容和查看操作针对的评论消息。
在这里,可以将查看操作针对的评论消息,确定为目标评论消息,然后将目标评论消息所针对的被评论内容,确定为第二目标被评论内容。
在这里,将浏览对象的展示位置跳转到第二目标被评论内容处,以及展示第二目标被评论内容。
换句话说,展示的第二目标被评论内容,与目标查看操作针对的评论消息,具有关联关系,并且进行关联展示。由此,在评论层展示查看操作针对的评论消息的时候,关联展示该评论消息针对的被评论内容,可以向用户提供评论消息的评论基础,节省了用户翻看查找当前展示的评论消息所针对的被评论内容的操作,节省了因翻看查找操作而产生的计算资源消耗和执行主体电量消耗。
在一些实施例中,上述展示所述第二目标被评论内容和查看操作针对的评论消息,可以包括:关联展示目标指示标识与第二 目标被评论内容。
在这里,在这里,上述目标指示标识可以用于指示目标内容,使得目标内容突出显示。
在这里,目标指示标识的具体实现方式,可以根据实际应用场景设置,在此不做限定。
作为示例,上述目标指示标识可以包括以下至少一项但不限于:高亮色块、预设图像等。
需要说明的是,通过目标指示标识,可以向用户提示当前评论消息针对的被评论内容在浏览对象中的位置,使得用户提高获取评论消息针对的被评论内容的速度,提高用户的浏览效率。
在一些实施例中,上述浏览对象中评论消息所针对的内容为被评论内容。
在一些实施例中,上述方法还可以包括:针对浏览对象中的被评论内容,关联展示评论提示控件;响应于检测到针对评论提示控件的触发操作,展示评论提示控件所关联的被评论内容的评论信息。
在这里,上述评论提示控件可以用于提示浏览对象的部分内容具有评论消息。并且,上述评论提示控件可以响应用户操作。
在这里,评论提示控件的样式和位置可以根据实际情况设置,在此不做限定。
作为示例,上述评论提示控件可以设置在被评论内容的右上方。
作为示例,上述评论提示控件可以设置在浏览对象的右侧,并且通过指示符号(例如箭头)指向被评论内容。
需要说明的是,通过在展示浏览对象的时候,与被评论内容关联展示评论提示控件,用户可以针对所关注的被评论内容,直接触发展示该被评论内容的评论消息,提高用户获取评论消息的效率,进而提高交互效率。
在一些应用场景中,上述评论提示控件上,可以展示评论消息数量。
由此,可以向用户指示各个被评论内容的评论消息数量,提示被评论内容的热度。从而,可以便于用户根据被评论内容的热度确定是否查看该被评论内容的评论消息,即用户可以通过上述被评论内容的评论消息数量,快速把握各个浏览对象中中的重点被评论内容,从而帮助用户在短时间内获取到重点内容,提高用户的浏览效率,减少用户因抓不到重点的盲目操作。
请参考图4,其示出了评论提示控件401,作为示例,图4中示出的评论提示控件包括圈出“彩霞”的框和评论消息数量(即圆圈中的1)。
进一步参考图5,作为对上述各图所示方法的实现,本公开提供了一种展示装置的一个实施例,该装置实施例与图1所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。
如图5所示,本实施例的展示装置包括:第一展示单元501、第一确定单元和第二展示单元503。其中,第一展示单元,用于在第一区域展示浏览对象;第一确定单元,用于响应于展示针对所述浏览对象的评论消息的指令,基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,其中,所述预定义展示参数用于指示所述评论层所在的第二区域的尺寸;第二展示单元,用于根据所确定的展示结构生成评论层,以及在所生成的评论层中,展示所述评论消息,其中,所述第二区域与所述第一区域重叠,且所述第二区域在第一方向或第二方向上的范围小于所述第一区域。
在本实施例中,展示装置的第一展示单元501、第一确定单元502和第二展示单元503的具体处理及其所带来的技术效果可分别参考图1对应实施例中步骤101、步骤102和步骤103的相关说明,在此不再赘述。
在一些实施例中,在一些实施例中,所述预定义展示参数包括评论消息的高度值;以及所述基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,包括:获取所述浏览对象的各个评论消息的高度值,以及根据各个高度值的加和,得 到高度参数值;根据所述高度参数值与预设的高度阈值,确定评论层的展示结构。
在一些实施例中,根据所述高度参数值与预设的高度阈值,确定评论层的展示结构,包括:响应于确定所述高度参数值不大于所述高度阈值,根据所述高度参数值,确定评论层的高度值。
在一些实施例中,根据所述高度参数值与预设的高度阈值,确定评论层的展示结构,包括:响应于确定所述高度值大于所述高度阈值,根据展示所述浏览对象的屏幕的高度,确定评论层的高度。
在一些实施例中,所述预定义展示参数包括评论消息的数量;以及所述基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,包括:响应于确定所述评论消息数量小于预设数量阈值,根据展示评论消息所占的面积,确定评论层的尺寸。
在一些实施例中,所述基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,包括:响应于确定所述评论消息数量不小于预设数量阈值,根据展示所述浏览对象的屏幕的尺寸,确定评论层的尺寸。
在一些实施例中,所述评论层包括至少一个评论单元,其中,评论单元用于展示单个评论消息,评论单元包括以下至少一个区域:评论消息展示区域、评论人标识展示区域、评论时间展示区域和针对评论消息的反馈信息展示区域。
在一些实施例中,所述浏览对象中评论消息所针对的内容为被评论内容;以及所述装置还用于:根据用户在评论层的浏览操作,确定处于选中状态的评论消息;将处于选中状态的评论消息针对的被评论内容,确定为第一目标被评论内容;将所述浏览对象的展示位置跳转到所述第一目标被评论内容处,以及展示所述第一目标被评论内容。
在一些实施例中,所述装置还用于:关联展示目标指示标识与所述第一目标被评论内容,其中,所述目标指示标识用于将关联展示的内容突出显示。
在一些实施例中,所述装置还用于:响应于检测到预定义更新操作,更新所述评论层中展示的评论消息;响应于确定更新前后的评论消息针对的被评论内容不同,展示更新后的评论消息针对的被评论内容。
在一些实施例中,所述装置还用于:响应于检测到预定义的回复操作,展示评论输入控件;利用所述评论输入控件,获取针对被评论内容或者评论消息的消息;按照预设的消息展示顺序信息,将所获取的消息,与消息针对的评论消息或者针对被评论内容,关联展示。
在一些实施例中,所述装置还用于:响应于检测到针对通知消息控件的触发操作,展示通知消息,其中,所述通知消息包括评论消息;响应于检测到针对通知消息中评论消息的查看操作,展示针对浏览对象的评论消息。
在一些实施例中,所述响应于检测到针对通知消息中评论消息的查看操作,展示针对浏览对象的评论消息,包括:将查看操作针对的评论消息所针对的被评论内容,确定为第二目标被评论内容;以及所述装置还用于:将所述浏览对象的展示位置跳转到所述第二目标被评论内容处,以及展示所述第二目标被评论内容。
在一些实施例中,所述展示所述第二目标被评论内容,包括:关联展示目标指示标识与所述第二目标被评论内容,其中,所述目标指示标识用于将关联展示的内容突出显示。
在一些实施例中,所述浏览对象中评论消息所针对的内容为被评论内容;以及所述装置还用于:针对所述浏览对象中的被评论内容,关联展示评论提示控件;响应于检测到针对评论提示控件的触发操作,展示评论提示控件所关联的被评论内容的评论消息。
在一些实施例中,所述装置还用于:在所述评论提示控件上,展示针对所述被评论内容的评论消息数量,其中,所述评论消息数量指示评论消息控件所关联的被评论内容的评论消息的数量。
请参考图6,图6示出了本公开的一个实施例的展示方法可以 应用于其中的示例性系统架构。
如图6所示,系统架构可以包括终端设备601、602、603,网络604,服务器605。网络604用以在终端设备601、602、603和服务器605之间提供通信链路的介质。网络604可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。
终端设备601、602、603可以通过网络604与服务器605交互,以接收或发送消息等。终端设备601、602、603上可以安装有各种客户端应用,例如网页浏览器应用、搜索类应用、新闻资讯类应用。终端设备601、602、603中的客户端应用可以接收用户的指令,并根据用户的指令完成相应的功能,例如根据用户的指令在信息中添加相应信息。
终端设备601、602、603可以是硬件,也可以是软件。当终端设备601、602、603为硬件时,可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。当终端设备601、602、603为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务的软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。
服务器605可以是提供各种服务的服务器,例如接收终端设备601、602、603发送的信息获取请求,根据信息获取请求通过各种方式获取信息获取请求对应的展示信息。并展示信息的相关数据发送给终端设备601、602、603。
需要说明的是,本公开实施例所提供的展示方法可以由终端设备执行,相应地,展示装置可以设置在终端设备601、602、603中。此外,本公开实施例所提供的展示方法还可以由服务器605执行,相应地,展示装置可以设置于服务器605中。
应该理解,图6中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。
下面参考图7,其示出了适于用来实现本公开实施例的电子设备(例如图5中的终端设备或服务器)的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图7所示,电子设备可以包括处理装置(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储装置708加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有电子设备700操作所需的各种程序和数据。处理装置701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。
通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置706;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许电子设备与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有各种装置的电子设备,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算 机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置708被安装,或者从ROM702被安装。在该计算机程序被处理装置701执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包 括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:在第一区域展示浏览对象;响应于展示针对所述浏览对象的评论消息的指令,基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,其中,所述预定义展示参数用于指示所述评论层所在的第二区域的尺寸;根据所确定的展示结构生成评论层,以及在所生成的评论层中,展示所述评论消息,其中,所述第二区域与所述第一区域重叠,且所述第二区域在第一方向或第二方向上的范围小于所述第一区域。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意, 在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一展示单元还可以被描述为“展示浏览对象的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围, 并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (23)

  1. 一种展示方法,其特征在于,包括:
    在第一区域展示浏览对象;
    响应于展示针对所述浏览对象的评论消息的指令,基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,其中,所述预定义展示参数用于指示所述评论层所在的第二区域的尺寸;
    根据所确定的展示结构生成评论层,以及在所生成的评论层中,展示所述评论消息,其中,且所述第二区域在第一方向或第二方向上的范围小于所述第一区域。
  2. 根据权利要求1所述的方法,其特征在于,所述第二区域与所述第一区域重叠。
  3. 根据权利要求1所述的方法,其特征在于,所述预定义展示参数包括评论消息的高度值;以及
    所述基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,包括:
    获取所述浏览对象的各个评论消息的高度值,以及基于各个高度值,得到高度参数值;
    根据所述高度参数值与预设的高度阈值,确定评论层的展示结构。
  4. 根据权利要求3所述的方法,其特征在于,所述基于各个高 度值,得到高度参数值,包括以下任一:
    将各个高度值的和,确定为所述高度参数值;
    对所述各个高度值的和以及各个评论消息之间的间隙量的和,进行加和得到所述高度参数值。
  5. 根据权利要求3所述的方法,其特征在于,根据所述高度参数值与预设的高度阈值,确定评论层的展示结构,包括:
    响应于确定所述高度参数值不大于所述高度阈值,根据所述高度参数值,确定评论层的高度值。
  6. 根据权利要求3所述的方法,其特征在于,根据所述高度参数值与预设的高度阈值,确定评论层的展示结构,包括:
    响应于确定所述高度值大于所述高度阈值,根据以下至少一项:预设评论层高度、展示所述浏览对象的屏幕的高度,确定评论层的高度。
  7. 根据权利要求1所述的方法,所述预定义展示参数包括评论消息的数量;以及
    所述基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,包括:
    响应于确定所述评论消息数量小于预设数量阈值,根据展示评论消息所占的面积,确定评论层的尺寸。
  8. 根据权利要求1所述的方法,其特征在于,所述基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,包括:
    响应于确定所述评论消息数量不小于预设数量阈值,根据展示所述浏览对象的屏幕的尺寸,确定评论层的尺寸。
  9. 根据权利要求1所述的方法,其特征在于,所述响应于展示针对所述浏览对象的评论消息的指令,基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,包括:
    响应于展示针对所述浏览对象中目标评论对象的评论消息的指令,基于所述目标评论对象的评论消息的预定义展示参数,确定目标评论层的展示结构,其中,所述目标评论层用于展示针对所述目标评论对象的评论消息。
  10. 根据权利要求1所述的方法,其特征在于,所述评论层包括至少一个评论单元,其中,评论单元用于展示单个评论消息,评论单元包括以下至少一个区域:评论消息展示区域、评论人标识展示区域、评论时间展示区域和针对评论消息的反馈信息展示区域。
  11. 根据权利要求1所述的方法,其特征在于,所述浏览对象中评论消息所针对的内容为被评论内容;以及
    所述方法还包括:
    根据用户在评论层的浏览操作,确定处于选中状态的评论消息;
    将处于选中状态的评论消息针对的被评论内容,确定为第一目标 被评论内容;
    将所述浏览对象的展示位置跳转到所述第一目标被评论内容处,以及展示所述第一目标被评论内容。
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    关联展示目标指示标识与所述第一目标被评论内容,其中,所述目标指示标识用于将关联展示的内容突出显示。
  13. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    响应于检测到预定义更新操作,更新所述评论层中展示的评论消息;
    响应于确定更新前后的评论消息针对的被评论内容不同,展示更新后的评论消息针对的被评论内容。
  14. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    响应于检测到预定义的回复操作,展示评论输入控件;
    利用所述评论输入控件,获取针对被评论内容或者评论消息的消息;
    按照预设的消息展示顺序信息,将所获取的消息,与消息针对的评论消息或者针对被评论内容,关联展示。
  15. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    响应于检测到针对通知消息控件的触发操作,展示通知消息,其中,所述通知消息包括评论消息;
    响应于检测到针对通知消息中评论消息的查看操作,展示针对浏览对象的评论消息。
  16. 根据权利要求15所述的方法,其特征在于,所述响应于检测到针对通知消息中评论消息的查看操作,展示针对浏览对象的评论消息,包括:
    将查看操作针对的评论消息所针对的被评论内容,确定为第二目标被评论内容;以及
    所述方法还包括:
    将所述浏览对象的展示位置跳转到所述第二目标被评论内容处,以及展示所述第二目标被评论内容。
  17. 根据权利要求16所述的方法,其特征在于,所述展示所述第二目标被评论内容,包括:
    关联展示目标指示标识与所述第二目标被评论内容,其中,所述目标指示标识用于将关联展示的内容突出显示。
  18. 根据权利要求1所述的方法,其特征在于,所述浏览对象中评论消息所针对的内容为被评论内容;以及
    所述方法还包括:
    针对所述浏览对象中的被评论内容,关联展示评论提示控件;
    响应于检测到针对评论提示控件的触发操作,展示评论提示控件所关联的被评论内容的评论消息。
  19. 根据权利要求18所述的方法,其特征在于,所述方法还包括:
    在所述评论提示控件上,展示针对所述被评论内容的评论消息数量,其中,所述评论消息数量指示评论消息控件所关联的被评论内容的评论消息的数量。
  20. 一种展示方法,其特征在于,包括:
    在第一区域展示浏览对象;
    响应于展示针对所述浏览对象的评论消息的指令,根据所述浏览对象的评论消息的数目,生成评论层,以及在第二区域展示评论层;
    在所述评论层中,展示所述评论消息,其中,所述第二区域在第一方向或第二方向上的范围小于所述第一区域。
  21. 一种展示装置,其特征在于,包括:
    第一展示单元,用于在第一区域展示浏览对象;
    第一确定单元,用于响应于展示针对所述浏览对象的评论消息的指令,基于所述浏览对象的评论消息的预定义展示参数,确定评论层的展示结构,其中,所述预定义展示参数用于指示所述评论层所在的第二区域的尺寸;
    第二展示单元,用于根据所确定的展示结构生成评论层,以及在 所生成的评论层中,展示所述评论消息,其中,所述第二区域与所述第一区域重叠,且所述第二区域在第一方向或第二方向上的范围小于所述第一区域。
  22. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-19中任一所述的方法,或者,如权利要求20所述的方法。
  23. 一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-19中任一所述的方法,或者,如权利要求20所述的方法。
PCT/CN2021/092336 2020-05-08 2021-05-08 展示方法、装置和电子设备 Ceased WO2021223752A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/877,992 US11783111B2 (en) 2020-05-08 2022-07-31 Display method and apparatus, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010384779.7 2020-05-08
CN202010384779.7A CN111597467A (zh) 2020-05-08 2020-05-08 展示方法、装置和电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/877,992 Continuation US11783111B2 (en) 2020-05-08 2022-07-31 Display method and apparatus, and electronic device

Publications (1)

Publication Number Publication Date
WO2021223752A1 true WO2021223752A1 (zh) 2021-11-11

Family

ID=72192089

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/092336 Ceased WO2021223752A1 (zh) 2020-05-08 2021-05-08 展示方法、装置和电子设备

Country Status (3)

Country Link
US (1) US11783111B2 (zh)
CN (1) CN111597467A (zh)
WO (1) WO2021223752A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597467A (zh) 2020-05-08 2020-08-28 北京字节跳动网络技术有限公司 展示方法、装置和电子设备
CN112612566B (zh) * 2020-12-18 2025-01-21 北京达佳互联信息技术有限公司 一种信息显示方法、装置和可读存储介质
CN114816603A (zh) * 2021-01-27 2022-07-29 北京字跳网络技术有限公司 作品的展示方法、装置、电子设备和存储介质
CN113157165A (zh) * 2021-05-12 2021-07-23 北京字跳网络技术有限公司 信息的显示方法、装置、电子设备及程序产品
CN113254136B (zh) * 2021-06-04 2025-02-11 北京城市网邻信息技术有限公司 信息推荐弹窗展示方法、装置、设备和计算机可读介质
CN113918845B (zh) * 2021-12-09 2022-03-15 天津联想协同科技有限公司 可识别状态的外链url的生成方法、装置及存储介质
CN114491098A (zh) * 2022-01-14 2022-05-13 北京字跳网络技术有限公司 评论提示方法、装置、电子设备、存储介质和程序产品
CN114417784A (zh) 2022-01-20 2022-04-29 北京字跳网络技术有限公司 一种文档的评论显示方法、装置、设备及介质
CN115309308A (zh) * 2022-07-20 2022-11-08 北京达佳互联信息技术有限公司 在线文档的评论方法、装置、设备、系统及存储介质
CN116820316A (zh) * 2023-03-04 2023-09-29 青岛市城市规划设计研究院 一种滑动更新单条内容的交互方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038253A (zh) * 2017-05-04 2017-08-11 浙江路港互通信息技术有限公司 评论内容显示方法及装置
CN107145513A (zh) * 2017-03-31 2017-09-08 北京猎豹移动科技有限公司 一种信息显示方法及装置、终端
CN110069620A (zh) * 2019-04-30 2019-07-30 上海掌门科技有限公司 评论信息展示方法、装置、电子设备及介质
CN110188298A (zh) * 2019-05-27 2019-08-30 合肥本源量子计算科技有限责任公司 评论展示方法及数据获取方法
CN111597467A (zh) * 2020-05-08 2020-08-28 北京字节跳动网络技术有限公司 展示方法、装置和电子设备

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6584479B2 (en) * 1998-06-17 2003-06-24 Xerox Corporation Overlay presentation of textual and graphical annotations
US6230170B1 (en) * 1998-06-17 2001-05-08 Xerox Corporation Spatial morphing of text to accommodate annotations
US20140289611A1 (en) * 2006-06-15 2014-09-25 Social Commenting, Llc System and method for end users to comment on webpage content for display on remote websites
US8190990B2 (en) * 2008-06-27 2012-05-29 Google Inc. Annotating webpage content
US20100131836A1 (en) * 2008-11-24 2010-05-27 Microsoft Corporation User-authored notes on shared documents
US9049258B2 (en) * 2009-09-17 2015-06-02 Border Stylo, LLC Systems and methods for anchoring content objects to structured documents
CA2807201C (en) * 2010-08-04 2019-01-08 Copia Interactive, Llc System for and method of collaborative annotation of digital content
SG11201506562WA (en) * 2013-04-29 2015-09-29 Landmark Graphics Corp Optimizing the placement of clustered textural annotations
US20150033109A1 (en) * 2013-07-26 2015-01-29 Alex Marek Presenting mutlimedia objects with annotations
JP2015049592A (ja) * 2013-08-30 2015-03-16 株式会社東芝 電子機器および方法
CN104461477A (zh) * 2013-09-13 2015-03-25 腾讯科技(北京)有限公司 网络评论信息的添加方法、系统和相应装置
US10042832B1 (en) * 2015-01-16 2018-08-07 Google Llc Systems and methods for stacking marginal annotations
KR20180072661A (ko) * 2015-11-17 2018-06-29 점보 테크놀로지 컴퍼니 리미티드 웹 페이지 주석 및 커뮤니티 공유 시스템
US10331758B2 (en) * 2016-09-23 2019-06-25 Hvr Technologies Inc. Digital communications platform for webpage overlay
US10360257B2 (en) * 2017-08-08 2019-07-23 TuSimple System and method for image annotation
KR101933558B1 (ko) * 2017-09-14 2018-12-31 네이버 주식회사 동영상 내 하이라이트 댓글을 처리하기 위한 방법 및 시스템
CN108093306A (zh) * 2017-12-11 2018-05-29 维沃移动通信有限公司 一种弹幕显示方法及移动终端
US10657318B2 (en) * 2018-08-01 2020-05-19 Microsoft Technology Licensing, Llc Comment notifications for electronic content
US10949176B2 (en) * 2019-05-23 2021-03-16 Sap Se Automatic view generation based on annotations
CN110764668B (zh) * 2019-10-30 2021-04-16 维沃移动通信有限公司 评论信息获取方法及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145513A (zh) * 2017-03-31 2017-09-08 北京猎豹移动科技有限公司 一种信息显示方法及装置、终端
CN107038253A (zh) * 2017-05-04 2017-08-11 浙江路港互通信息技术有限公司 评论内容显示方法及装置
CN110069620A (zh) * 2019-04-30 2019-07-30 上海掌门科技有限公司 评论信息展示方法、装置、电子设备及介质
CN110188298A (zh) * 2019-05-27 2019-08-30 合肥本源量子计算科技有限责任公司 评论展示方法及数据获取方法
CN111597467A (zh) * 2020-05-08 2020-08-28 北京字节跳动网络技术有限公司 展示方法、装置和电子设备

Also Published As

Publication number Publication date
US11783111B2 (en) 2023-10-10
US20220366124A1 (en) 2022-11-17
CN111597467A (zh) 2020-08-28

Similar Documents

Publication Publication Date Title
WO2021223752A1 (zh) 展示方法、装置和电子设备
WO2020233444A1 (zh) 在线文档插入信息方法及装置
WO2021160143A1 (zh) 用于显示视频的方法、装置、电子设备和介质
JP7760760B2 (ja) メディアコンテンツ処理の方法、装置、電子デバイス、記憶媒体及びコンピュータプログラム
WO2021068634A1 (zh) 页面跳转方法、装置、电子设备及计算机可读存储介质
WO2021135626A1 (zh) 菜单项选择方法、装置、可读介质及电子设备
CN113741756A (zh) 信息处理方法、装置、终端和存储介质
CN111596991A (zh) 交互操作执行方法、装置和电子设备
WO2025055917A1 (zh) 话题界面的显示方法、装置、电子设备和存储介质
WO2025011520A1 (zh) 媒体内容流处理方法、装置、设备及存储介质
WO2025092611A1 (zh) 信息展示方法、装置、电子设备和存储介质
CN111723309B (zh) 用于网页搜索的方法和装置
CN111273830A (zh) 显示数据方法、装置、电子设备和计算机可读介质
CN113032172B (zh) 异常检测方法、装置和电子设备
WO2022095942A1 (zh) 信息显示方法、装置、电子设备及计算机可读存储介质
CN111787043A (zh) 数据请求方法和装置
WO2022095932A1 (zh) 直播间页面跳转方法、返回方法、装置及电子设备
CN118277013A (zh) 消息展示方法、装置、设备及存储介质
CN110413920A (zh) 用于生成页面的方法和装置
CN110618811B (zh) 信息呈现方法和装置
WO2026061220A1 (zh) 信息交互方法、装置、设备、介质以及产品
CN115756683A (zh) 一种画面展示方法、装置、存储介质及电子设备
EP4207775A1 (en) Method and apparatus for determining object addition mode, electronic device, and medium
WO2022095941A1 (zh) 对象显示方法、装置、电子设备及计算机可读存储介质
EP4660841A1 (en) Multimedia content recommendation method and apparatus, electronic device and storage medium

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: 21800312

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 1205A DATED 07.03.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21800312

Country of ref document: EP

Kind code of ref document: A1