CN111679778A - Interactive display method of electronic book comment information, electronic equipment and storage medium - Google Patents

Interactive display method of electronic book comment information, electronic equipment and storage medium Download PDF

Info

Publication number
CN111679778A
CN111679778A CN202010486412.6A CN202010486412A CN111679778A CN 111679778 A CN111679778 A CN 111679778A CN 202010486412 A CN202010486412 A CN 202010486412A CN 111679778 A CN111679778 A CN 111679778A
Authority
CN
China
Prior art keywords
interaction component
comment
action
touch
comment interaction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010486412.6A
Other languages
Chinese (zh)
Inventor
务晓敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ireader Technology Co Ltd
Original Assignee
Ireader 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 Ireader Technology Co Ltd filed Critical Ireader Technology Co Ltd
Priority to CN202010486412.6A priority Critical patent/CN111679778A/en
Publication of CN111679778A publication Critical patent/CN111679778A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The invention discloses an interactive display method of electronic book comment information, electronic equipment and a storage medium, wherein the method comprises the following steps: monitoring a touch starting action of a user on a current reading page of the electronic book; if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of at least one comment interaction component; when a touch movement action which is continuous after a touch starting action is monitored, sequentially switching and setting a display state of at least one comment interaction component to be a selected state; and when a touch control ending action which is continuous after the touch control starting action or the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state. According to the method and the device, the corresponding comment interaction component is selected by monitoring the specific touch action of the user on the current reading page of the electronic book, and the comment information corresponding to the comment interaction component in the selected state is displayed, so that the user operation is facilitated, and the user experience is improved.

Description

Interactive display method of electronic book comment information, electronic equipment and storage medium
Technical Field
The invention relates to the field of terminal application interaction, in particular to an electronic book comment information interaction display method, electronic equipment and a computer storage medium.
Background
With the increasing popularity of electronic devices, more and more users are used to read electronic books through electronic devices to replace the traditional paper books. At present, in part of electronic book applications, users are allowed to write own ideas as comments in the perceived places when reading, so that the users can add comments on the current reading page through the electronic book applications. The e-book application server collects comments of a large number of users, and loads the comments into the e-book for other reading users to view.
In the prior art, a comment interaction component is usually added at the end of each paragraph of a reading page of an electronic book, for example, a bubble is added, and a number is displayed in the bubble to represent the number of comments generated in the paragraph. If the reading user is interested in the comment of the paragraph, the bubble can be clicked, and the electronic book application displays the comment content of the paragraph through the popup window.
Generally, when a user uses an electronic book application to read, the user is used to perform a click operation by using a one-hand operation, but because a screen of a terminal device (such as a mobile phone, a pad, an electronic book reader, and the like) is too large and too long at present, when the user wants to browse comments located on a top portion of a page or on a touch area which is difficult to reach by using the one-hand operation, the one-hand operation is very inconvenient, so that the comment content cannot be conveniently viewed, and the user experience is poor.
Disclosure of Invention
In view of the above problems, the present invention is proposed to provide an interactive presentation method, an electronic device and a computer storage medium for electronic book comment information, which overcome the above problems or at least partially solve the above problems.
According to one aspect of the invention, an interactive display method for electronic book comment information is provided, which comprises the following steps:
monitoring a touch starting action of a user on a current reading page of an electronic book, wherein the current reading page comprises at least one comment interaction component;
if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of the comment interaction component, and setting the display state of the comment interaction component as a selected state;
when a touch movement action which is continuous after the touch starting action is monitored, sequentially switching and setting the display state of the comment interaction component to be a selected state according to the position sequence of the comment interaction component;
and when a touch control ending action which is continuous to the touch control starting action or after the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
monitoring a touch starting action of a user on a current reading page of an electronic book, wherein the current reading page comprises at least one comment interaction component; if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of the comment interaction component, and setting the display state of the comment interaction component as a selected state; when a touch movement action which is continuous after the touch starting action is monitored, sequentially switching and setting the display state of the comment interaction component to be a selected state according to the position sequence of the comment interaction component; and when a touch control ending action which is continuous to the touch control starting action or after the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
According to yet another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
monitoring a touch starting action of a user on a current reading page of an electronic book, wherein the current reading page comprises at least one comment interaction component; if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of the comment interaction component, and setting the display state of the comment interaction component as a selected state; when a touch movement action which is continuous after the touch starting action is monitored, sequentially switching and setting the display state of the comment interaction component to be a selected state according to the position sequence of the comment interaction component; and when a touch control ending action which is continuous to the touch control starting action or after the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
According to the interactive display method of the electronic book comment information, the electronic equipment and the computer storage medium, the action is started by monitoring the touch of the user on the current reading page of the electronic book, wherein the current reading page comprises at least one comment interaction component; if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of at least one comment interaction component, and setting the display state of the comment interaction component as a selected state; when a touch movement action which is continuously behind a touch starting action is monitored, sequentially switching and setting the display state of at least one comment interaction component to be a selected state according to the position sequence of at least one comment interaction component; and when a touch control ending action which is continuous after the touch control starting action or the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state. According to the comment interactive component selection method and device, the touch start action, the touch moving action and the touch ending action of the user are identified, the corresponding comment interactive components are selected in sequence according to specific operations, and the comment information corresponding to the comment interactive components in the selected state is displayed after the touch is ended, so that the comment interactive components can be conveniently selected by the user through one-hand operation, the corresponding comment information can be consulted, the user operation is facilitated, and the user experience is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flowchart illustrating an interactive display method for comment information of an electronic book according to an embodiment of the present invention;
FIG. 2 is a schematic illustration showing an example of an electronic book reading page provided by an embodiment of the present invention;
FIG. 3 is a schematic illustration of another illustration of an ebook reading page provided by an embodiment of the invention;
FIG. 4 is a flowchart illustrating another method for interactively presenting comment information of an electronic book according to an embodiment of the present invention;
fig. 5 shows a schematic structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 shows a flowchart of an embodiment of an interactive presentation method for electronic book comment information, as shown in fig. 1, the method includes the following steps:
step S110: and monitoring a touch starting action of a user on a current reading page of the electronic book, wherein the current reading page comprises at least one comment interaction component.
Specifically, fig. 2 is a schematic diagram showing a reading page of an electronic book, and as shown in fig. 2, a comment interaction component (i) 10, a comment interaction component (i) 11, and a comment interaction component (i) 12 in the diagram are comment interaction components added by a history reading user in a corresponding paragraph. The numbers 1, 2 and 3 represent the number of comments added by the history reading user, for example, the comment interaction component (r 10) indicates that the paragraph has a comment of the history reading user; a comment interaction component II 11 shows that the paragraph has two comments of history reading users; and a comment interaction component (12) shows that the paragraph has three comments of history reading users. Generally, when a user reads a reading page including at least one comment interaction component, the comment information corresponding to the comment interaction component of the reading page can be selected to be read by the method of the embodiment.
Step S120: and if the touch start action meets the preset condition, selecting the most front comment interaction component in the arrangement sequence according to the arrangement sequence of at least one comment interaction component in the current reading page, and setting the display state of the comment interaction component to be the selected state.
In an optional manner, the touch start action is specifically a long press action, and the preset condition is that the touch time of the long press action is greater than a preset time threshold and/or the touch contact area of the long press action is greater than a preset area threshold.
Specifically, it is monitored in step S110 whether a long press action occurs on a current reading page of the electronic book by the user, and the touch time of the long press action is greater than a preset time threshold, where the preset time threshold may be set according to actual needs, for example, the preset time threshold is set to 500 milliseconds, when the touch time of the long press action is greater than 500 milliseconds, it is considered that the touch start action meets a preset condition, and in addition, the preset time threshold may also be set to a reasonable time such as 300 milliseconds, 800 milliseconds, 1000 milliseconds, and the like, which is not limited in this disclosure.
If the reading page of the electronic book application is preset with other existing response mechanisms for the long-press action with the touch time larger than the preset time threshold, in order to avoid conflict with the existing response mechanisms, the embodiment of the invention can limit the touch contact area of the touch starting action, monitor whether the long-press action occurs on the current reading page of the electronic book by the user, and the touch contact area of the long-press action is larger than the preset area threshold. For example, the area of the finger that the user clings to the screen is monitored, and if the area of the finger that clings to the screen is more than half of the finger pad area, the touch start action is considered to meet the preset condition.
Optionally, the preset condition in the embodiment of the present invention may be set to simultaneously satisfy that the touch time of the long press action is greater than the preset time threshold and the touch contact area of the long press action is greater than the preset area threshold, which is not limited in this respect.
It should be noted that, in the embodiment of the present invention, the touch position of the touch start action is not limited, and the touch position of the touch start action may be any position of the screen. Therefore, when the user is interested in the comment of a certain target paragraph, the touch start action can be executed at any position of the screen, the corresponding action does not need to be executed in the touch area of the comment interaction component of the target paragraph, and the user can conveniently operate the comment with one hand.
In this step, if the touch start action meets the preset condition, setting the display state of the most advanced comment interaction component in the arrangement sequence as the selected state according to the arrangement sequence of the one or more comment interaction components of the current reading page. The arrangement sequence is generally determined according to the arrangement sequence of the text contents of the electronic book on the current reading page, that is, the reading direction of the user, if the characters of the electronic book are transversely arranged, the arrangement sequence of the text contents of the electronic book is in the vertical direction, the reading direction of the user is sequentially reading from top to bottom, for example, in the current reading page shown in fig. 2, three comment interaction components are a comment interaction component (i 10), a comment interaction component (i 11) and a comment interaction component (iii 12) in sequence according to the arrangement sequence from top to bottom, and the most front comment interaction component (i 10) in the arrangement sequence is the comment interaction component (i 10).
In an optional manner, setting the display state of the comment interaction component to the selected state specifically includes: the display state of the selected comment interaction component is set to be different from the display states of other comment interaction components, so that a user can clearly determine which comment interaction component is in the selected state at present. For example, if the comment interaction component is a bubble component, the presentation state of the selected bubble component is set to the inflated state.
Step S130: when a touch movement action which is continuously behind the touch starting action is monitored, the display state of at least one comment interaction component is sequentially switched and set to be a selected state according to the position sequence of the at least one comment interaction component.
In an optional manner, step S130 further includes: determining a switching sequence according to the moving direction of the touch moving action and the arrangement sequence of the at least one comment interaction component; and switching and setting the display state of at least one comment interaction component to be a selected state according to the switching sequence.
In an alternative mode, the comment interaction component is a bubble component, and step S130 further includes: when the touch movement action after the touch starting action is monitored continuously, the display state of at least one bubble component is sequentially switched and set to be the expansion state according to the arrangement sequence of at least one comment interaction component.
Specifically, after the top comment interaction component in the arrangement order is selected in step S120, it is continuously monitored whether there is a touch movement motion that is continuous with the long pressing motion, generally speaking, the touch movement motion should move according to the arrangement order direction of the comment interaction components in the current reading page, for example, when the comment interaction components in the current reading page are arranged in the vertical direction, the touch movement motion moves up and down on the current reading page. Fig. 3 is another display schematic diagram of the e-book reading page provided by this embodiment, as shown in fig. 3, an arrangement sequence of at least one comment interaction component includes, from top to bottom, a comment interaction component (i 10), a comment interaction component (ii 11), and a comment interaction component (iii 12), and if the comment interaction component (i 10) that is the most front component in the arrangement sequence is selected according to step S120, the display state of the bubble component corresponding to the comment interaction component (i 10) is set to be an expanded state.
On the basis, a touch control moving action which is continuous to a touch control starting action is monitored, if the moving direction of the touch control moving action is upward movement, the switching sequence is determined to be a comment interaction component I10 → a comment interaction component III 12 → a comment interaction component III 11, and the comment interaction component I10, the comment interaction component III 12 and the comment interaction component III 11 are sequentially switched in a circulating mode according to the switching sequence to be in an expansion state; if the moving direction of the touch moving action is downward movement, determining a switching sequence of the comment interaction component (I10 → the comment interaction component (II) 11 → the comment interaction component (III) 12, and sequentially and circularly switching the comment interaction component (I10), the comment interaction component (II) 11 and the comment interaction component (III) 12 to be in an expanded state according to the switching sequence.
Step S140: and when a touch control ending action which is continuous after the touch control starting action or the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
In an optional manner, step S140 further includes: and displaying the comment information corresponding to the comment interaction component in the selected state in a popup window mode.
In this step, the touch ending action is a user stopping the screen touch action, and specifically may be a lifting action of a finger or a stylus of the user, that is, leaving the screen; for example, after the user selects the most front comment interaction component in the arrangement sequence through step S120, that is, when the touch end motion continuous to the touch start motion is monitored, that is, the user releases the finger or the touch pen to stop the touch screen, the comment interaction component currently in the selected state, that is, the comment information corresponding to the most front comment interaction component in the arrangement sequence is displayed in a pop-up window form, for example, the most front comment interaction component in the arrangement sequence selected in step S120 is the first comment interaction component 10. If the user continues to execute the touch movement action after the touch start action, in this step, when a touch end action that is continuous to the touch movement action is monitored, that is, the user releases the finger or the touch pen to stop the touch screen, the comment information corresponding to the comment interactive component in the finally selected state in step S130 is displayed in a pop-up window form.
In an optional manner, the method may further include step S150: and when the clicking action of the user in the blank area of the current reading page of the electronic book is monitored, closing the pop-up window.
Specifically, if the user finishes reading the comment information corresponding to the comment interactive component in the finally selected state, the blank area of the current reading page of the electronic book can be clicked at will, and at the moment, when the clicking action of the user in the blank area of the current reading page of the electronic book is monitored, the reading of the comment information is finished, and the pop-up window is closed.
Fig. 4 is a flowchart illustrating another embodiment of an interactive display method for electronic book comment information according to the present invention, and as shown in fig. 1, the method includes the following steps:
step S410: and monitoring a touch starting action of a user on a current reading page of the electronic book, wherein the current reading page comprises at least one comment interaction component.
In this step, when a user reads a reading page including at least one comment interaction component, a touch start action of the user on a current reading page of the electronic book is monitored, where the touch start action may be that the user touches a screen of the electronic book terminal through a finger or a touch pen.
Step S420: and if the touch start action meets the preset condition, selecting a comment interaction component closest to the touch area of the touch start action according to the position sequence of at least one comment interaction component, and setting the display state of the comment interaction component to be the selected state.
In this step, if the touch start action meets the preset condition, the preset condition of the embodiment of the present invention may be set to simultaneously meet the condition that the touch time of the long press action is greater than the preset time threshold and the touch contact area of the long press action is greater than the preset area threshold, select a comment interaction component closest to the touch area of the touch start action according to the position sequence of the at least one comment interaction component, and set the display state of the comment interaction component to the selected state. For example, in the current reading page shown in fig. 3, the comment interaction component (c 12) closest to the touch area of the user's finger is selected, and the display state of the comment interaction component (c 12) is set to the selected state.
Step S430: when a touch movement action which is continuously behind the touch starting action is monitored, the display state of at least one comment interaction component is sequentially switched and set to be a selected state according to the position sequence of the at least one comment interaction component.
In the step, when a touch movement action which is continuous after the touch start action is monitored, determining a switching sequence according to the movement direction of the touch movement action and the arrangement sequence of at least one comment interaction component; and switching and setting the display state of at least one comment interaction component to be a selected state according to the switching sequence. Specifically, as shown in fig. 3, after the comment interaction component (c 12) is selected according to step S420, a touch movement motion that is continuous with a touch start motion is monitored, if the movement direction of the touch movement motion is upward movement, it is determined that the switching order is comment interaction component (c 12 → comment interaction component (c) 11 → comment interaction component (r) 10, and the comment interaction component (c 12), the comment interaction component (c) 11, and the comment interaction component (r) 10 are cyclically switched in sequence according to the switching order to be in an expanded state; if the moving direction of the touch moving action is downward movement, determining a switching sequence of the comment interaction component (12 → the comment interaction component (10 → the comment interaction component (11)), and sequentially and circularly switching the comment interaction component (12), the comment interaction component (10) and the comment interaction component (11) to be in an expansion state according to the switching sequence.
Step S440: and when a touch control ending action which is continuous after the touch control starting action or the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
In this step, the touch ending action is a user stopping the screen touch action, and specifically may be a lifting action of a finger or a stylus of the user, that is, leaving the screen; for example, after the user selects a comment interaction component closest to the touch area of the touch start action in step S420, that is, when the touch end action continuous to the touch start action is monitored, that is, the user releases the finger or the stylus to stop the touch screen, the comment interaction component currently in the selected state, that is, the comment information corresponding to the comment interaction component closest to the touch area of the touch start action is displayed in the form of a pop-up window, for example, the most front comment interaction component in the arrangement sequence selected in step S420 is the comment interaction component 12. If the user continues to execute the touch movement action after the touch start action, in this step, when a touch end action that is continuous to the touch movement action is monitored, that is, the user releases the finger or the touch pen to stop the touch screen, the comment information corresponding to the comment interactive component in the finally selected state in step S430 is displayed in a pop-up window form.
By adopting the method provided by the embodiment, the action is started by monitoring the touch of the user on the current reading page of the electronic book, wherein the current reading page comprises at least one comment interaction component; if the touch start action meets a preset condition, selecting a comment interaction component according to the arrangement sequence of at least one comment interaction component, and setting the display state of the comment interaction component as a selected state; when a touch movement action which is continuous after a touch starting action is monitored, sequentially switching and setting a display state of at least one comment interaction component to be a selected state according to the arrangement sequence of at least one comment interaction component; and when a touch control ending action which is continuous after the touch control starting action or the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state. According to the comment interactive component selection method and device, the touch start action, the touch moving action and the touch ending action of the user are identified, the corresponding comment interactive components are selected in sequence according to specific operations, and the comment information corresponding to the comment interactive components in the selected state is displayed after the touch is ended, so that the comment interactive components can be conveniently selected by the user through one-hand operation, the corresponding comment information can be consulted, the user operation is facilitated, and the user experience is improved.
The embodiment of the invention provides a nonvolatile computer storage medium, wherein at least one executable instruction is stored in the computer storage medium, and the computer executable instruction can execute the interactive display method of the electronic book comment information in any method embodiment.
The executable instructions may be specifically configured to cause the processor to:
monitoring a touch starting action of a user on a current reading page of an electronic book, wherein the current reading page comprises at least one comment interaction component;
if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of the comment interaction component, and setting the display state of the comment interaction component as a selected state;
when a touch movement action which is continuous after the touch starting action is monitored, sequentially switching and setting the display state of the comment interaction component to be a selected state according to the position sequence of the comment interaction component;
and when a touch control ending action which is continuous to the touch control starting action or after the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
In an optional manner, the touch start action is specifically a long press action, and the preset condition is that the touch time of the long press action is greater than a preset time threshold and/or the touch contact area of the long press action is greater than a preset area threshold.
In an alternative, the executable instructions cause the processor to: and selecting a comment interaction component closest to the touch area of the touch starting action according to the position sequence of the comment interaction components.
In an alternative, the executable instructions cause the processor to: and selecting the most front comment interaction component in the arrangement sequence according to the arrangement sequence of the at least one comment interaction component in the current reading page.
In an alternative, the executable instructions cause the processor to: determining a switching sequence according to the moving direction of the touch moving action and the arrangement sequence of the at least one comment interaction component;
and switching and setting the display state of the at least one comment interaction component to be a selected state according to the switching sequence.
In an alternative approach, the comment interaction component is a bubble component, and the executable instructions cause the processor to: the display state of the bubble assembly is set to an expanded state.
In an alternative, the executable instructions cause the processor to: and displaying the comment information corresponding to the comment interaction component in the selected state in a popup window mode.
In an alternative, the executable instructions cause the processor to: and when the clicking action of the user in the blank area of the current reading page of the electronic book is monitored, closing the pop-up window.
Fig. 5 is a schematic structural diagram of an embodiment of the electronic device according to the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 5, the electronic device may include: a processor (processor)502, a Communications Interface 504, a memory 506, and a communication bus 508.
Wherein: the processor 502, communication interface 504, and memory 506 communicate with one another via a communication bus 508. A communication interface 504 for communicating with network elements of other devices, such as clients or other servers. The processor 502 is configured to execute the program 510, and may specifically execute related steps in the above-described method for interactively displaying comment information of an electronic book.
In particular, program 510 may include program code that includes computer operating instructions.
The processor 502 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 506 for storing a program 510. The memory 506 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 510 may specifically be used to cause the processor 502 to perform the following operations:
monitoring a touch starting action of a user on a current reading page of an electronic book, wherein the current reading page comprises at least one comment interaction component;
if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of the comment interaction component, and setting the display state of the comment interaction component as a selected state;
when a touch movement action which is continuous after the touch starting action is monitored, sequentially switching and setting the display state of the comment interaction component to be a selected state according to the position sequence of the comment interaction component;
and when a touch control ending action which is continuous to the touch control starting action or after the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
In an optional manner, the touch start action is specifically a long press action, and the preset condition is that the touch time of the long press action is greater than a preset time threshold and/or the touch contact area of the long press action is greater than a preset area threshold.
In an alternative, the program 510 causes the processor 502 to:
and selecting a comment interaction component closest to the touch area of the touch starting action according to the position sequence of the comment interaction components.
In an alternative, the program 510 causes the processor 502 to:
and selecting the most front comment interaction component in the arrangement sequence according to the arrangement sequence of the at least one comment interaction component in the current reading page.
In an alternative, the program 510 causes the processor 502 to:
determining a switching sequence according to the moving direction of the touch moving action and the arrangement sequence of the at least one comment interaction component;
and switching and setting the display state of the at least one comment interaction component to be a selected state according to the switching sequence.
In an alternative approach, where the comment interaction component is a bubble component, the program 510 causes the processor 502 to: the display state of the bubble assembly is set to an expanded state.
In an alternative, the program 510 causes the processor 502 to:
and displaying the comment information corresponding to the comment interaction component in the selected state in a popup window mode.
In an alternative, the program 510 causes the processor 502 to:
and when the clicking action of the user in the blank area of the current reading page of the electronic book is monitored, closing the pop-up window.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.
A1. An interactive display method for comment information of an electronic book comprises the following steps:
monitoring a touch starting action of a user on a current reading page of an electronic book, wherein the current reading page comprises at least one comment interaction component;
if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of the comment interaction component, and setting the display state of the comment interaction component as a selected state;
when a touch movement action which is continuous after the touch starting action is monitored, sequentially switching and setting the display state of the comment interaction component to be a selected state according to the position sequence of the comment interaction component;
and when a touch control ending action which is continuous to the touch control starting action or after the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
A2. The method according to claim a1, wherein the touch start action is a long press action, and the preset condition is that a touch time of the long press action is greater than a preset time threshold and/or a touch contact area of the long press action is greater than a preset area threshold.
A3. The method of claim a1 or a2, the selecting one comment interaction component in accordance with the order of position of the at least one comment interaction component further comprising:
and selecting a comment interaction component closest to the touch area of the touch starting action according to the position sequence of the comment interaction components.
A4. The method of claim a1 or a2, the selecting one comment interaction component in accordance with the order of position of the at least one comment interaction component further comprising:
and selecting the most front comment interaction component in the arrangement sequence according to the arrangement sequence of the at least one comment interaction component in the current reading page.
A5. The method of any of claims a1-a4, the sequentially toggling setting the presentation state of the at least one comment interaction component to a selected state further comprising:
determining a switching sequence according to the moving direction of the touch moving action and the arrangement sequence of the at least one comment interaction component;
and switching and setting the display state of the at least one comment interaction component to be a selected state according to the switching sequence.
A6. The method of any of claims a1-a5, wherein the comment interaction component is a bubble component, and the setting of the presentation state of the comment interaction component to the selected state is specifically: the display state of the bubble assembly is set to an expanded state.
A7. The method of any of claims a1-a6, the presenting review information corresponding to a review interaction component that is currently in a selected state further comprising: and displaying the comment information corresponding to the comment interaction component in the selected state in a popup window mode.
A8. The method of claim a7, after the presenting comment information corresponding to a comment interaction component currently in a selected state, the method further comprising:
and when the clicking action of the user in the blank area of the current reading page of the electronic book is monitored, closing the pop-up window.
B9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
monitoring a touch starting action of a user on a current reading page of an electronic book, wherein the current reading page comprises at least one comment interaction component;
if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of the comment interaction component, and setting the display state of the comment interaction component as a selected state;
when a touch movement action which is continuous after the touch starting action is monitored, sequentially switching and setting the display state of the comment interaction component to be a selected state according to the position sequence of the comment interaction component;
and when a touch control ending action which is continuous to the touch control starting action or after the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
B10. The electronic device according to claim B9, wherein the touch start action is specifically a long press action, and the preset condition is that a touch time of the long press action is greater than a preset time threshold and/or a touch contact area of the long press action is greater than a preset area threshold.
B11. The electronic device of claim B9 or B10, the executable instructions further cause the processor to:
and selecting a comment interaction component closest to the touch area of the touch starting action according to the position sequence of the comment interaction components.
B12. The electronic device of claim B9 or B10, the executable instructions further cause the processor to:
and selecting the most front comment interaction component in the arrangement sequence according to the arrangement sequence of the at least one comment interaction component in the current reading page.
B13. The electronic device of any of claims B9-B12, the executable instructions further cause the processor to:
determining a switching sequence according to the moving direction of the touch moving action and the arrangement sequence of the at least one comment interaction component;
and switching and setting the display state of the at least one comment interaction component to be a selected state according to the switching sequence.
B14. The electronic device of any of claims B9-B13, the comment interaction component being a bubble component, the executable instructions further causing the processor to: the display state of the bubble assembly is set to an expanded state.
B15. The electronic device of any of claims B9-B14, the executable instructions further cause the processor to:
and displaying the comment information corresponding to the comment interaction component in the selected state in a popup window mode.
B16. The electronic device of claim B15, the executable instructions further cause the processor to: and when the clicking action of the user in the blank area of the current reading page of the electronic book is monitored, closing the pop-up window.
C17. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
monitoring a touch starting action of a user on a current reading page of an electronic book, wherein the current reading page comprises at least one comment interaction component;
if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of the comment interaction component, and setting the display state of the comment interaction component as a selected state;
when a touch movement action which is continuous after the touch starting action is monitored, sequentially switching and setting the display state of the comment interaction component to be a selected state according to the position sequence of the comment interaction component;
and when a touch control ending action which is continuous to the touch control starting action or after the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
C18. The computer storage medium of claim C17, wherein the touch start action is a long press action, and the preset condition is that a touch time of the long press action is greater than a preset time threshold and/or a touch contact area of the long press action is greater than a preset area threshold.
C19. The computer storage medium of claim C17 or C18, the executable instructions further cause the processor to:
and selecting a comment interaction component closest to the touch area of the touch starting action according to the position sequence of the comment interaction components.
C20. The computer storage medium of claim C17 or C18, the executable instructions further cause the processor to:
and selecting the most front comment interaction component in the arrangement sequence according to the arrangement sequence of the at least one comment interaction component in the current reading page.
C21. The computer storage medium of any one of claims C17-C20, the executable instructions further cause the processor to:
determining a switching sequence according to the moving direction of the touch moving action and the arrangement sequence of the at least one comment interaction component;
and switching and setting the display state of the at least one comment interaction component to be a selected state according to the switching sequence.
C22. The computer storage medium of any one of claims C17-C21, the comment interaction component being a bubble component, the executable instructions causing a processor to: the display state of the bubble assembly is set to an expanded state.
C23. The computer storage medium of any one of claims C17-C22, the executable instructions further cause the processor to:
and displaying the comment information corresponding to the comment interaction component in the selected state in a popup window mode.
C24. The computer storage medium of claim C23, the executable instructions further causing the processor to:
and when the clicking action of the user in the blank area of the current reading page of the electronic book is monitored, closing the pop-up window.

Claims (10)

1. An interactive display method for comment information of an electronic book comprises the following steps:
monitoring a touch starting action of a user on a current reading page of an electronic book, wherein the current reading page comprises at least one comment interaction component;
if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of the comment interaction component, and setting the display state of the comment interaction component as a selected state;
when a touch movement action which is continuous after the touch starting action is monitored, sequentially switching and setting the display state of the comment interaction component to be a selected state according to the position sequence of the comment interaction component;
and when a touch control ending action which is continuous to the touch control starting action or after the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
2. The method according to claim 1, wherein the touch start action is a long press action, and the preset condition is that a touch time of the long press action is greater than a preset time threshold and/or a touch contact area of the long press action is greater than a preset area threshold.
3. The method of claim 1 or 2, said selecting one comment interaction component in accordance with a positional order of the at least one comment interaction component further comprising:
and selecting a comment interaction component closest to the touch area of the touch starting action according to the position sequence of the comment interaction components.
4. The method of claim 1 or 2, said selecting a comment interaction component in accordance with a positional order of the at least one comment interaction component further comprising:
and selecting the most front comment interaction component in the arrangement sequence according to the arrangement sequence of the at least one comment interaction component in the current reading page.
5. The method of any of claims 1-4, the sequentially switching setting the presentation state of the at least one comment interaction component to a selected state further comprising:
determining a switching sequence according to the moving direction of the touch moving action and the arrangement sequence of the at least one comment interaction component;
and switching and setting the display state of the at least one comment interaction component to be a selected state according to the switching sequence.
6. The method according to any one of claims 1 to 5, wherein the comment interaction component is a bubble component, and the setting of the presentation state of the comment interaction component as the selected state specifically includes: the display state of the bubble assembly is set to an expanded state.
7. The method of any of claims 1-6, wherein presenting comment information corresponding to a comment interaction component currently in a selected state further comprises: and displaying the comment information corresponding to the comment interaction component in the selected state in a popup window mode.
8. The method of claim 7, after said presenting comment information corresponding to a comment interaction component currently in a selected state, further comprising:
and when the clicking action of the user in the blank area of the current reading page of the electronic book is monitored, closing the pop-up window.
9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
monitoring a touch starting action of a user on a current reading page of an electronic book, wherein the current reading page comprises at least one comment interaction component;
if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of the comment interaction component, and setting the display state of the comment interaction component as a selected state;
when a touch movement action which is continuous after the touch starting action is monitored, sequentially switching and setting the display state of the comment interaction component to be a selected state according to the position sequence of the comment interaction component;
and when a touch control ending action which is continuous to the touch control starting action or after the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:
monitoring a touch starting action of a user on a current reading page of an electronic book, wherein the current reading page comprises at least one comment interaction component;
if the touch start action meets a preset condition, selecting a comment interaction component according to the position sequence of the comment interaction component, and setting the display state of the comment interaction component as a selected state;
when a touch movement action which is continuous after the touch starting action is monitored, sequentially switching and setting the display state of the comment interaction component to be a selected state according to the position sequence of the comment interaction component;
and when a touch control ending action which is continuous to the touch control starting action or after the touch control moving action is monitored, displaying comment information corresponding to the comment interaction component which is currently in the selected state.
CN202010486412.6A 2020-06-01 2020-06-01 Interactive display method of electronic book comment information, electronic equipment and storage medium Pending CN111679778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010486412.6A CN111679778A (en) 2020-06-01 2020-06-01 Interactive display method of electronic book comment information, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010486412.6A CN111679778A (en) 2020-06-01 2020-06-01 Interactive display method of electronic book comment information, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111679778A true CN111679778A (en) 2020-09-18

Family

ID=72453086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010486412.6A Pending CN111679778A (en) 2020-06-01 2020-06-01 Interactive display method of electronic book comment information, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111679778A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568536A (en) * 2021-07-29 2021-10-29 掌阅科技股份有限公司 Online learning method, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823835A (en) * 2013-12-03 2014-05-28 小米科技有限责任公司 Method and device for processing e-book directory and terminal equipment
CN109753196A (en) * 2017-11-06 2019-05-14 阿里巴巴集团控股有限公司 Processing method, device, equipment and machine readable media
CN111061409A (en) * 2019-12-03 2020-04-24 Oppo广东移动通信有限公司 Function triggering method and device, electronic equipment and storage medium
CN111147660A (en) * 2019-12-04 2020-05-12 华为技术有限公司 Control operation method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823835A (en) * 2013-12-03 2014-05-28 小米科技有限责任公司 Method and device for processing e-book directory and terminal equipment
CN109753196A (en) * 2017-11-06 2019-05-14 阿里巴巴集团控股有限公司 Processing method, device, equipment and machine readable media
CN111061409A (en) * 2019-12-03 2020-04-24 Oppo广东移动通信有限公司 Function triggering method and device, electronic equipment and storage medium
CN111147660A (en) * 2019-12-04 2020-05-12 华为技术有限公司 Control operation method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568536A (en) * 2021-07-29 2021-10-29 掌阅科技股份有限公司 Online learning method, terminal and storage medium

Similar Documents

Publication Publication Date Title
US20200342338A1 (en) Method for preloading application, storage medium, and terminal
EP4123438A1 (en) Positioning user interface components based on application layout and user workflows
JP5911599B2 (en) Method and portable device for switching classified web pages
CN107122119B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
EP2284728A1 (en) Web browsing method and web browsing device
US20140089824A1 (en) Systems And Methods For Dynamically Altering A User Interface Based On User Interface Actions
CN103649902B (en) Immersive and desktop shell display
CN102985904A (en) Jump, checkmark, and strikethrough gestures
TWI545450B (en) Browser and method for displaying subsites
CN112486451B (en) Voice broadcasting method, computing device and computer storage medium
JP2017501479A (en) Display page elements
CN105302458A (en) Message display method and apparatus
CN102981818A (en) Scenario based animation library
CN103870191A (en) Method and electronic equipment for saving webpage
CN107220377B (en) Search method, electronic device, and computer storage medium
CN108874282B (en) Method for selecting characters across pages, electronic equipment and computer storage medium
CN111679778A (en) Interactive display method of electronic book comment information, electronic equipment and storage medium
US11531719B2 (en) Navigation tab control organization and management for web browsers
CN109992649B (en) Conversation method, conversation device and conversation terminal of chat robot
CN113722630B (en) Method and equipment for presenting resource data in web page based on client rendering
CN114780193A (en) Toolbar display method, apparatus, electronic device and storage medium
CN110945468B (en) Method for processing list of contents each of which is associated with sub-contents on mobile terminal
CN105117114B (en) A kind of method and terminal that the page is shown
CN114564275A (en) Element list refreshing control method and device, storage medium and electronic equipment
CN113158621A (en) Bookshelf page display method, computing device and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200918