Method for displaying in-site messages in e-book client, electronic device and storage medium
By storing in-site messages during immersive reading and displaying them later, the method improves user experience and retention by minimizing message interference and ensuring important notifications are not overlooked.
Patent Information
- Application Number
- CN202110995043.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-27
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2041-08-27
AI Technical Summary
Existing methods for displaying in-site messages in e-book clients interfere with immersive reading experiences, leading to reduced user experience and retention.
The method involves storing in-site messages in a local unread collection when the e-book client is in an immersive reading scenario and displaying them after the scenario ends, using criteria such as page type and user behavior to determine the scenario.
This approach enhances user experience by avoiding message interference during reading and ensures important messages are not missed, thereby improving user retention.
Smart Images

Figure CN113726870B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information processing technology, and in particular to a method for displaying in-site messages in an e-book client, an electronic device and a storage medium. Background Art
[0002] Internal messages are a service function set up by the platform to facilitate communication with users within the platform. Taking the e-book platform as an example, the e-book platform will push internal messages such as new book recommendation notifications, author letters, and promotional event notifications to users.
[0003] At present, when an e-book client receives an in-site message pushed by a server, it directly displays the in-site message. However, this method will greatly reduce the user experience and reduce the user retention rate of the e-book platform. Summary of the invention
[0004] In view of the above problems, the present invention is proposed to provide a method for displaying in-site messages in an e-book client, an electronic device and a storage medium that overcome the above problems or at least partially solve the above problems.
[0005] According to one aspect of the present invention, a method for displaying in-site messages in an e-book client is provided, comprising:
[0006] Receive push notifications;
[0007] Determine whether the e-book client is currently in an immersive reading scenario;
[0008] If the current scene is immersive reading, the received in-site message is stored in the local unread message collection of the e-book client;
[0009] After monitoring that the e-book client exits the immersive reading scene, at least one in-station message is obtained from the unread message collection, and the obtained in-station message is displayed.
[0010] According to another aspect of the present invention, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0011] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations:
[0012] Receive push notifications;
[0013] Determine whether the e-book client is currently in an immersive reading scenario;
[0014] If the current scene is immersive reading, the received in-site message is stored in the local unread message collection of the e-book client;
[0015] After monitoring that the e-book client exits the immersive reading scene, at least one in-station message is obtained from the unread message collection, and the obtained in-station message is displayed.
[0016] According to another aspect of the present invention, a computer storage medium is provided, wherein the storage medium stores at least one executable instruction, wherein the executable instruction enables a processor to execute operations corresponding to the method for displaying in-site messages in the above-mentioned e-book client.
[0017] According to the method, electronic device and storage medium for displaying in-station messages in an e-book client provided by the present invention. First, a pushed in-station message is received; and it is determined whether the e-book client is currently in an immersive reading scene; if it is determined that it is currently in an immersive reading scene, the received in-station message is stored in the unread message collection of the local e-book client; after monitoring that the e-book client exits the immersive reading scene, at least one in-station message is obtained from the unread message collection, and the obtained in-station message is displayed. This solution does not display the received in-station message when the user is in immersive reading, thereby avoiding interference with the user's immersive reading and improving the user experience; and after the user exits the immersive reading scene, the in-station message is obtained from the unread message collection for display, so that the user can quickly view the in-station message, avoiding the user from missing important messages, further improving the user experience, and improving the user retention rate of the e-book platform.
[0018] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0020] Figure 1 A schematic diagram showing a flow chart of a method for displaying in-site messages in an e-book client according to a first embodiment of the present invention is shown;
[0021] Figure 2 A schematic diagram showing a flow chart of a method for displaying in-site messages in an e-book client according to a second embodiment of the present invention is shown;
[0022] Figure 3 A schematic diagram showing a flow chart of a method for displaying in-site messages in an e-book client according to a third embodiment of the present invention is shown;
[0023] Figure 4 A schematic diagram showing a flow chart of a method for displaying in-site messages in an e-book client according to a fourth embodiment of the present invention is shown;
[0024] Figure 5 A schematic diagram of a tag list provided according to a fourth embodiment of the present invention is shown;
[0025] Figure 6 A schematic structural diagram of an electronic device provided in Embodiment 6 of the present invention is shown. DETAILED DESCRIPTION
[0026] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0027] Embodiment 1
[0028] Figure 1 The flowchart of a method for displaying in-site messages in an e-book client provided according to the first embodiment of the present invention is shown. The method for displaying in-site messages in an e-book client provided in this embodiment is executed on the e-book client side.
[0029] like Figure 1 As shown, the method comprises the following steps:
[0030] Step S110, receiving a pushed in-station message.
[0031] The e-book server pushes the internal message to each e-book client according to the corresponding delivery strategy. When the communication connection between the e-book client and the e-book server is in a normal state, the e-book client receives the internal message pushed by the server. The embodiment of the present invention does not limit the specific type of the internal message.
[0032] Step S120, determining whether the electronic book client is currently in an immersive reading scene; if so, executing step S130.
[0033] Different from the prior art, the embodiment of the present invention does not directly display the in-site message after receiving the in-site message pushed by the e-book server, but determines whether the e-book client is currently in an immersive reading scene through this step. The immersive reading scene refers to the user being in an immersive reading state, for example, the immersive reading scene can be a user concentrating on reading a book, or a user concentrating on watching a video, etc.
[0034] If it is determined that the e-book client is currently in an immersive reading scene, the subsequent step S130 is executed; if it is determined that the e-book client is not currently in an immersive reading scene, the in-site message is displayed to the user in a timely manner.
[0035] Step S130, storing the received in-site message into the local unread message collection of the e-book client.
[0036] If the e-book client is currently in an immersive reading scenario, in order to avoid interference of in-site messages to the user, the embodiment of the present invention does not directly display the received in-site messages, but stores the in-site messages in the local unread message collection of the e-book client, so that the in-site messages can be obtained from the unread message collection for subsequent display.
[0037] Step S140, after monitoring that the e-book client exits the immersive reading scene, obtaining at least one in-station message from the unread message collection, and displaying the obtained in-station message.
[0038] When the e-book client is running at the front end of the terminal system, the running scene of the e-book client is monitored in real time. If it is detected that the current e-book client has exited the immersive reading scene, that is, when it is detected that the e-book client is no longer in the immersive reading scene, at least one in-site message is obtained from the unread message collection, and the obtained in-site message is displayed in the e-book client. The embodiment of the present invention does not limit the specific display form of the in-site message. For example, the in-site message can be displayed at the top of the page in the form of a bubble pop-up window, and the bubble pop-up window can be closed after the display time reaches a preset time.
[0039] Among them, since the unread message collection is stored locally in the e-book client, the display of in-site messages in the unread message collection is not affected by the communication connection between the e-book client and the e-book server. In other words, even if the e-book client is not connected to the network, the in-site messages in the unread message collection can still be displayed normally in the e-book client.
[0040] It can be seen that after receiving the in-site message pushed by the e-book server, the embodiment of the present invention does not directly display the in-site message, but determines whether the e-book client is currently in an immersive reading scene. When it is determined that the e-book client is currently in an immersive reading scene, the received in-site message is stored in the unread message collection of the local e-book client, thereby avoiding the interference of the in-site message on the user's immersive reading; and after monitoring that the user has exited the immersive reading scene, the in-site message is obtained from the unread message collection for display, so that the user can quickly view the in-site message and avoid the user missing important messages, thereby improving the user experience and the user retention rate of the e-book platform.
[0041] Embodiment 2
[0042] Figure 2 The flowchart of a method for displaying in-site messages in an e-book client provided according to the second embodiment of the present invention is shown. The method for displaying in-site messages in an e-book client provided in this embodiment is executed on the e-book client side.
[0043] like Figure 2 As shown, the method comprises the following steps:
[0044] Step S210, receiving a pushed in-site message.
[0045] Step S220, judging whether the e-book client is currently in an immersive reading scene according to the page type of the page currently displayed in the e-book client; if so, executing step S230.
[0046] Specifically, if the currently displayed page in the e-book client is a reading page or a full-screen video playback page, it is determined that the e-book client is currently in an immersive reading scene, and step S230 is executed; if the page type of the currently displayed page in the e-book client is neither a reading page nor a full-screen video playback page, it is determined that the e-book client is not currently in an immersive reading scene, and the received in-site message is displayed.
[0047] In an optional implementation, in order to more accurately identify whether the e-book client is currently in an immersive reading scene, the embodiment of the present invention further determines whether the e-book client is currently in an immersive reading scene based on the page type of the currently displayed page in the e-book client and the user behavior data in the historical time window. The time end point of the historical time window can be the current time, for example, the historical time window can be the last 5 minutes, etc. It should be understood here that the embodiment of the present invention only obtains user behavior data with the user's authorization, and the obtained user behavior data is only used to serve the user itself.
[0048] In the process of judging whether the e-book client is currently in an immersive reading scene based on the page type of the currently displayed page in the e-book client and the user behavior data in the historical time window, it is specifically determined whether the currently displayed page is a reading page. If the currently displayed page is a reading page, the user behavior data in the historical time window is obtained, and whether an immersive reading behavior has occurred in the historical time window is identified based on the obtained user behavior data. If it is identified that an immersive reading behavior has occurred in the historical time window, it is determined that the e-book client is currently in an immersive reading scene. That is, when the page type of the currently displayed page in the e-book client is a reading page, and an immersive reading behavior has occurred in the historical time window, it is determined that the e-book client is currently in an immersive reading scene.
[0049] Among them, the immersive reading behavior includes at least one of the following behaviors: note entry behavior, idea viewing behavior, and page turning behavior with a frequency within a preset frequency band. The note entry behavior specifically includes note annotation behavior, idea entry behavior, etc.; idea viewing behavior specifically refers to the viewing behavior of generated ideas; page turning behavior with a frequency within a preset frequency band means that the user's page turning frequency within the historical time window is within the page turning frequency band of immersive reading. If the user's page turning frequency is too high or too low, it indicates that the probability of the user being in an immersive reading scenario is low.
[0050] Step S230: storing the received in-site message in the local unread message collection of the e-book client.
[0051] If the e-book client is currently in an immersive reading scenario, the received in-site message is stored in the local unread message collection of the e-book client.
[0052] Step S240, monitoring whether the electronic book client exits the immersive reading scene, if so, executing step S250.
[0053] The method for determining whether the e-book client has exited the immersive reading scene can refer to the description of determining whether the e-book client is currently in the immersive reading scene in step S220, which will not be described in detail here. If it is determined that the e-book client is not currently in the immersive reading scene, it indicates that the e-book client has exited the immersive reading scene, and step S250 is executed; if it is determined that the e-book client is still in the immersive reading scene, the operation scene of the e-book client is monitored again.
[0054] Step S250, obtaining at least one in-station message from the unread message collection, and displaying the obtained in-station message.
[0055] It can be seen that the embodiment of the present invention quickly determines whether the e-book client is currently in an immersive reading scene according to the page type of the currently displayed page in the e-book client, and does not display the received in-site messages when it is determined that the e-book client is currently in an immersive reading scene, thereby avoiding interference with the user's immersive reading and improving the user experience.
[0056] Moreover, the embodiment of the present invention further combines the page type of the currently displayed page and the user behavior data in the historical time window to identify whether the e-book client is currently in an immersive reading scene, thereby improving the recognition accuracy of the immersive reading scene, reducing the misjudgment rate, and improving the user experience.
[0057] Embodiment 3
[0058] Figure 3 The flowchart of a method for displaying in-site messages in an e-book client provided according to Embodiment 3 of the present invention is shown. The method for displaying in-site messages in an e-book client provided in this embodiment is executed on the e-book client side.
[0059] like Figure 3 As shown, the method comprises the following steps:
[0060] Step S310, receiving a pushed in-site message, and identifying the type of e-book and / or list associated with the in-site message.
[0061] After receiving the in-site message pushed by the e-book server, the embodiment of the present invention further identifies the e-book associated with the in-site message and records the e-book associated with the in-site message. In an optional identification method, the server pre-assigns an e-book tag to the in-site message before pushing the in-site message. For example, if an in-site message is a promotional message for e-book A, the server assigns the tag of e-book A to the in-site message. Therefore, after receiving the in-site message, the e-book client can quickly identify the e-book associated with the in-site message based on the e-book tag of the in-site message; in another optional identification method, the e-book associated with the in-site message is obtained by semantically parsing the in-site message.
[0062] In addition, the embodiment of the present invention can also identify the type of list associated with the in-site letter, and record the type of list associated with the in-site letter. In an optional identification method, the server pre-assigns a list type label to the in-site letter before pushing the in-site letter. For example, if an in-site letter is a promotional event message for a book of a certain list type, the server assigns a label of this list type to the in-site letter. Therefore, after receiving the in-site letter, the e-book client can quickly identify the type of list associated with the in-site letter based on the list type label of the in-site letter; in another optional identification method, the e-book associated with the in-site letter can be determined, and then the type of list associated with the in-site letter can be determined based on the list type to which the associated e-book belongs.
[0063] Step S320, determining whether the electronic book client is currently in an immersive reading scene; if so, executing step S330.
[0064] Step S330: store the received in-site message into the local unread message collection of the e-book client.
[0065] Step S340, after monitoring that the e-book client exits the immersive reading scene, identify the page type of the currently displayed page in the e-book client, obtain at least one in-station message from the unread message collection according to the page type, and display the obtained in-station message.
[0066] In order to make the displayed in-site message match the actual usage scenario of the user, the embodiment of the present invention specifically obtains the corresponding in-site message from the unread message collection according to the page type of the currently displayed page in the e-book client.
[0067] Specifically, if the page type of the currently displayed page in the e-book client is identified and it is determined that the currently displayed page is a bookshelf page, the e-books included in the user's bookshelf are determined, and the in-site messages associated with the e-books included in the user's bookshelf are obtained from the unread message collection. For example, if the currently displayed page is a bookshelf page, and the bookshelf of the user currently corresponding to the e-book client includes e-book A and e-book B, the in-site messages associated with e-book A and e-book B are obtained from the unread message collection. In this way, when browsing the bookshelf page, the user can directly view the unread in-site messages associated with the e-books in the bookshelf, thereby enhancing the user's desire to read the books in the bookshelf and improving the user experience.
[0068] If the page type of the currently displayed page in the e-book client is identified and it is determined that the currently displayed page is a book details page, the e-book corresponding to the book details page is determined, and the in-site message associated with the e-book corresponding to the book details page is obtained from the unread message collection. For example, if the currently displayed page is the book details page of e-book A, the in-site message associated with e-book A is obtained from the unread message collection. In this way, when a user browses a book details page, the unread in-site message associated with the e-book can be displayed to the user, thereby increasing the user's desire to read the e-book and improving the user experience.
[0069] If the page type of the currently displayed page in the e-book client is identified as a bookstore list page, the list type contained in the currently displayed page is determined, and the in-site message associated with the list type contained in the currently displayed page is obtained from the unread message collection. For example, if the currently displayed page contains list type X, the in-site message associated with list type X is obtained from the unread message collection; if the user slides or other operations to make the currently displayed page contain list type Y, the in-site message associated with list type Y is obtained from the unread message collection. This method can facilitate users to quickly filter out electronic books of interest and improve user experience.
[0070] In addition, as an optional implementation of the embodiment of the present invention, in the process of obtaining at least one in-station message from the unread message set, the in-station messages can also be obtained in sequence according to the order in which they were received for display, etc.
[0071] It can be seen that after monitoring that the e-book client exits the immersive reading scenario, the embodiment of the present invention identifies the page type of the currently displayed page in the e-book client, and obtains the in-site message from the unread message collection according to the page type, so that the displayed in-site message matches the user's actual usage scenario, further improving the user experience.
[0072] Embodiment 4
[0073] Figure 4 The flowchart of a method for displaying in-site messages in an e-book client provided according to the fourth embodiment of the present invention is shown. The method for displaying in-site messages in an e-book client provided in this embodiment is executed on the e-book client side.
[0074] like Figure 4 As shown, the method comprises the following steps:
[0075] Step S410, receiving a pushed in-site message, identifying the list type associated with the in-site message, and storing the in-site message in a full in-site message collection.
[0076] The full collection of in-site messages can be located locally in the e-book client, so that the user can still view all the in-site messages when the e-book client is not connected to the Internet.
[0077] Step S420, in response to the trigger operation on the in-site message function entrance, determine the list type label corresponding to the current full set of in-site messages according to the list type associated with the in-site messages contained in the current full set of in-site messages, and display a label list containing the list type label corresponding to the current full set of in-site messages.
[0078] The embodiment of the present invention provides a user with an in-station message function entrance, through which the user can view the in-station messages in the full in-station message collection. For example, the user can view the in-station messages in the full in-station message collection through "My" → "In-station Message" in the e-book client.
[0079] Specifically, after the embodiment of the present invention detects the triggering operation for the in-station message function entrance, it does not directly sort and display the in-station messages in the full in-station message set according to the reception time, etc. Instead, it determines the list type label corresponding to the current full in-station message set based on the list type associated with the in-station messages contained in the current full in-station message set. For example, the current full in-station message set contains in-station messages 1, 2, 3 and 4. Among them, the list type associated with in-station message 1 is list type A, the list type associated with in-station messages 2 and 3 is list type B, and in-station message 4 has no associated list type. Thus, it is determined that the list type labels corresponding to the current full in-station message set are: "List type A", "List type B" and "Others".
[0080] A tag list including the list type tags corresponding to the current full set of in-site messages is further displayed. The embodiment of the present invention does not limit the specific tag list display method.
[0081] Step S430, in response to a triggering operation on any list type tag in the tag list, displaying the in-site message associated with the list type corresponding to the list type tag.
[0082] like Figure 5 As shown, the label list includes three list type labels, namely "List Type A", "List Type B" and "Others". When the user clicks "List Type A", the in-site message 1 associated with list type A is displayed; when the user clicks "List Type B", the in-site messages 2 and 3 associated with list type B are displayed; when the user clicks "Others", the in-site message 4 is displayed.
[0083] It can be seen that after receiving the pushed in-site message, the embodiment of the present invention further identifies the list type associated with the in-site message, and stores the in-site message in the full in-site message set; and in response to the trigger operation on the in-site message function entrance, according to the list type associated with the in-site message contained in the current full in-site message set, determines the list type label corresponding to the current full in-site message set, and displays a tag list containing the list type label corresponding to the current full in-site message set, and further responds to the trigger operation on any list type label in the tag list, displays the in-site message associated with the list type corresponding to the list type label. The embodiment of the present invention can display each in-site message according to the list type associated with the in-site message when the user views the full in-site message, so as to facilitate the user to quickly find and filter the in-site messages, and further improve the user experience.
[0084] Embodiment 5
[0085] A fifth embodiment of the present invention provides a non-volatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the method for displaying in-site messages in an e-book client in any of the above method embodiments.
[0086] The executable instructions may be specifically used to cause the processor to perform the following operations:
[0087] Receive push notifications;
[0088] Determine whether the e-book client is currently in an immersive reading scenario;
[0089] If the current scene is immersive reading, the received in-site message is stored in the local unread message collection of the e-book client;
[0090] After monitoring that the e-book client exits the immersive reading scene, at least one in-station message is obtained from the unread message collection, and the obtained in-station message is displayed.
[0091] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0092] According to the page type of the currently displayed page in the e-book client, determining whether the e-book client is currently in an immersive reading scene;
[0093] If the currently displayed page in the e-book client is a reading page or a full-screen video playback page, the received in-site message is stored in the local unread message collection of the e-book client.
[0094] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0095] Judging whether the e-book client is currently in an immersive reading scenario based on the page type of the currently displayed page in the e-book client and the user behavior data in the historical time window;
[0096] If the currently displayed page in the e-book client is a reading page, and immersive reading behavior has occurred within the historical time window, the received in-site message is stored in the local unread message collection of the e-book client.
[0097] In an optional implementation, the immersive reading behavior includes at least one of the following behaviors:
[0098] Note entry behavior, idea viewing behavior, and page turning behavior with a page turning frequency within a preset frequency band.
[0099] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0100] After receiving the pushed in-site message, identifying the e-book associated with the in-site message; and / or identifying the list type associated with the in-site message.
[0101] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0102] Identify the page type of the currently displayed page in the e-book client;
[0103] If the currently displayed page is a bookshelf page, determine the e-books included in the user's bookshelf;
[0104] The in-site message associated with the electronic book included in the user bookshelf is obtained from the unread message collection.
[0105] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0106] Identify the page type of the currently displayed page in the e-book client;
[0107] If the currently displayed page is a book details page, determining the electronic book corresponding to the book details page;
[0108] The in-site message associated with the electronic book corresponding to the book details page is obtained from the unread message collection.
[0109] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0110] Identify the page type of the currently displayed page in the e-book client;
[0111] If the currently displayed page is a bookstore list page, then determine the list type included in the currently displayed page;
[0112] The in-site message associated with the list type included in the currently displayed page is obtained from the unread message collection.
[0113] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0114] After receiving the pushed in-station message, storing the in-station message in a full in-station message collection;
[0115] In response to a trigger operation on the in-station message function entrance, according to the list type associated with the in-station messages included in the current full in-station message set, determine the list type label corresponding to the current full in-station message set, and display a label list including the list type label corresponding to the current full in-station message set;
[0116] In response to a triggering operation on any list type tag in the tag list, an in-site message associated with the list type corresponding to the list type tag is displayed.
[0117] It can be seen that the embodiment of the present invention does not display the received in-site messages when the user is in immersive reading, thereby avoiding interference with the user and improving the user experience; and after the user exits the immersive reading scene, the in-site messages are obtained from the unread message collection for display, so that the user can view the in-site messages, avoiding the user from missing important messages, thereby improving the user experience and increasing the user retention rate of the e-book platform.
[0118] Embodiment 6
[0119] Figure 6 The sixth embodiment of the present invention provides a schematic diagram of the structure of an electronic device. The specific embodiment of the present invention does not limit the specific implementation of the electronic device.
[0120] like Figure 6 As shown, the electronic device may include: a processor (processor) 602 , a communication interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .
[0121] The processor 602, the communication interface 604, and the memory 606 communicate with each other via a communication bus 608. The communication interface 604 is used to communicate with other devices such as a client or a network element of another server. The processor 602 is used to execute a program 610, which can specifically execute the relevant steps in the above-mentioned embodiment of the method for in-site communication in an e-book client.
[0122] Specifically, the program 610 may include program codes, which include computer operation instructions.
[0123] The processor 602 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0124] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0125] The program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0126] Receive push notifications;
[0127] Determine whether the e-book client is currently in an immersive reading scenario;
[0128] If the current scene is immersive reading, the received in-site message is stored in the local unread message collection of the e-book client;
[0129] After monitoring that the e-book client exits the immersive reading scene, at least one in-station message is obtained from the unread message collection, and the obtained in-station message is displayed.
[0130] In an optional implementation, the program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0131] According to the page type of the currently displayed page in the e-book client, determining whether the e-book client is currently in an immersive reading scene;
[0132] If the currently displayed page in the e-book client is a reading page or a full-screen video playback page, the received in-site message is stored in the local unread message collection of the e-book client.
[0133] In an optional implementation, the program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0134] Judging whether the e-book client is currently in an immersive reading scenario based on the page type of the currently displayed page in the e-book client and the user behavior data in the historical time window;
[0135] If the currently displayed page in the e-book client is a reading page, and immersive reading behavior has occurred within the historical time window, the received in-site message is stored in the local unread message collection of the e-book client.
[0136] In an optional implementation, the immersive reading behavior includes at least one of the following behaviors:
[0137] Note entry behavior, idea viewing behavior, and page turning behavior with a page turning frequency within a preset frequency band.
[0138] In an optional implementation, the program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0139] After receiving the pushed in-site message, identifying the e-book associated with the in-site message; and / or identifying the list type associated with the in-site message.
[0140] In an optional implementation, the program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0141] Identify the page type of the currently displayed page in the e-book client;
[0142] If the currently displayed page is a bookshelf page, determine the e-books included in the user's bookshelf;
[0143] The in-site message associated with the electronic book included in the user bookshelf is obtained from the unread message collection.
[0144] In an optional implementation, the program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0145] Identify the page type of the currently displayed page in the e-book client;
[0146] If the currently displayed page is a book details page, determining the electronic book corresponding to the book details page;
[0147] The in-site message associated with the electronic book corresponding to the book details page is obtained from the unread message collection.
[0148] In an optional implementation, the program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0149] Identify the page type of the currently displayed page in the e-book client;
[0150] If the currently displayed page is a bookstore list page, then determine the list type included in the currently displayed page;
[0151] The in-site message associated with the list type included in the currently displayed page is obtained from the unread message collection.
[0152] In an optional implementation, the program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0153] After receiving the pushed in-station message, storing the in-station message in a full in-station message collection;
[0154] In response to a trigger operation on the in-station message function entrance, according to the list type associated with the in-station messages included in the current full in-station message set, determine the list type label corresponding to the current full in-station message set, and display a label list including the list type label corresponding to the current full in-station message set;
[0155] In response to a triggering operation on any list type tag in the tag list, an in-site message associated with the list type corresponding to the list type tag is displayed.
[0156] It can be seen that the embodiment of the present invention does not display the received in-site messages when the user is in immersive reading, thereby avoiding interference with the user and improving the user experience; and after the user exits the immersive reading scene, the in-site messages are obtained from the unread message collection for display, so that the user can view the in-site messages, avoiding the user from missing important messages, thereby improving the user experience and increasing the user retention rate of the e-book platform.
[0157] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language yet. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description made to specific languages above is for disclosing the best mode of the present invention.
[0158] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0159] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0160] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0161] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0162] The various component embodiments of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components according to embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0163] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A method for displaying in-site messages in an e-book client. include: Receive the pushed in-site message and identify the type of e-book and / or list associated with the in-site message; Determine whether the e-book client is currently in an immersive reading scenario; If the current scene is immersive reading, the received in-site message is stored in the local unread message collection of the e-book client; After monitoring that the e-book client exits the immersive reading scenario, identify the page type of the currently displayed page in the e-book client, obtain at least one in-site message from the unread message collection according to the page type, and display the obtained in-site message; wherein, if the currently displayed page is a bookshelf page, obtain the in-site message associated with the e-book included in the user's bookshelf from the unread message collection; if the currently displayed page is a book details page, obtain the in-site message associated with the e-book corresponding to the book details page from the unread message collection; if the currently displayed page is a bookstore list page, obtain the in-site message associated with the list type included in the currently displayed page from the unread message collection.
2. The method according to claim 1, in, The determining whether the e-book client is currently in an immersive reading scene further comprises: determining whether the e-book client is currently in an immersive reading scene according to a page type of a page currently displayed in the e-book client; If the current scene is an immersive reading scene, the received in-site message is stored in the unread message collection of the local electronic book client, further including: if the current displayed page in the electronic book client is a reading page or a full-screen video playback page, the received in-site message is stored in the unread message collection of the local electronic book client.
3. The method according to claim 2, in, The step of determining whether the e-book client is currently in an immersive reading scenario further includes: Judging whether the e-book client is currently in an immersive reading scenario based on the page type of the currently displayed page in the e-book client and the user behavior data in the historical time window; If the current scene is an immersive reading scene, the received in-site message is stored in the unread message collection of the local electronic book client, further including: if the currently displayed page in the electronic book client is a reading page, and immersive reading behavior has occurred within the historical time window, the received in-site message is stored in the unread message collection of the local electronic book client.
4. The method according to claim 3, in, The immersive reading behavior includes at least one of the following behaviors: Note entry behavior, idea viewing behavior, and page turning behavior with a page turning frequency within a preset frequency band.
5. The method according to any one of claims 1 to 4, in, After receiving the pushed in-site message, the method further includes: Storing the in-station message in a full in-station message collection; In response to a trigger operation on the in-station message function entrance, according to the list type associated with the in-station messages included in the current full in-station message set, determine the list type label corresponding to the current full in-station message set, and display a label list including the list type label corresponding to the current full in-station message set; In response to a triggering operation on any list type tag in the tag list, an in-site message associated with the list type corresponding to the list type tag is displayed.
6. An electronic device, include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations: Receive push notifications; Determine whether the e-book client is currently in an immersive reading scenario; If the current scene is immersive reading, the received in-site message is stored in the local unread message collection of the e-book client; After monitoring that the e-book client exits the immersive reading scenario, identify the page type of the currently displayed page in the e-book client, obtain at least one in-site message from the unread message collection according to the page type, and display the obtained in-site message; wherein, if the currently displayed page is a bookshelf page, obtain the in-site message associated with the e-book included in the user's bookshelf from the unread message collection; if the currently displayed page is a book details page, obtain the in-site message associated with the e-book corresponding to the book details page from the unread message collection; if the currently displayed page is a bookstore list page, obtain the in-site message associated with the list type included in the currently displayed page from the unread message collection.
7. The electronic device according to claim 6, in, The executable instructions cause the processor to perform the following operations: According to the page type of the currently displayed page in the e-book client, determining whether the e-book client is currently in an immersive reading scene; If the currently displayed page in the e-book client is a reading page or a full-screen video playback page, the received in-site message is stored in the local unread message collection of the e-book client.
8. The electronic device according to claim 7, in, The executable instructions cause the processor to perform the following operations: Judging whether the e-book client is currently in an immersive reading scenario based on the page type of the currently displayed page in the e-book client and the user behavior data in the historical time window; If the currently displayed page in the e-book client is a reading page, and immersive reading behavior has occurred within the historical time window, the received in-site message is stored in the local unread message collection of the e-book client.
9. The electronic device according to claim 8, in, The immersive reading behavior includes at least one of the following behaviors: Note entry behavior, idea viewing behavior, and page turning behavior with a page turning frequency within a preset frequency band.
10. The electronic device according to any one of claims 6 to 9, in, The executable instructions cause the processor to perform the following operations: After receiving the pushed in-station message, storing the in-station message in a full in-station message collection; In response to a trigger operation on the in-station message function entrance, according to the list type associated with the in-station messages included in the current full in-station message set, determine the list type label corresponding to the current full in-station message set, and display a label list including the list type label corresponding to the current full in-station message set; In response to a triggering operation on any list type tag in the tag list, an in-site message associated with the list type corresponding to the list type tag is displayed.
11. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and wherein the executable instruction enables a processor to execute an operation corresponding to the method for displaying in-site messages in an e-book client as described in any one of claims 1 to 5.
Citation Information
Patent Citations
A terminal control method and system beneficial to improving efficiency
CN109714479A
Book query page display method, electronic equipment and computer storage medium
CN111125314A
Message pushing method and device, electronic equipment and storage medium
CN111669460A
