WO2021129122A1 - Display method for book query page, electronic device and computer storage medium - Google Patents

Display method for book query page, electronic device and computer storage medium Download PDF

Info

Publication number
WO2021129122A1
WO2021129122A1 PCT/CN2020/124449 CN2020124449W WO2021129122A1 WO 2021129122 A1 WO2021129122 A1 WO 2021129122A1 CN 2020124449 W CN2020124449 W CN 2020124449W WO 2021129122 A1 WO2021129122 A1 WO 2021129122A1
Authority
WO
WIPO (PCT)
Prior art keywords
book
user
type
audio
reading
Prior art date
Application number
PCT/CN2020/124449
Other languages
French (fr)
Chinese (zh)
Inventor
刘洋
阎瑞娇
陈新港
Original Assignee
掌阅科技股份有限公司
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 掌阅科技股份有限公司 filed Critical 掌阅科技股份有限公司
Publication of WO2021129122A1 publication Critical patent/WO2021129122A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution

Definitions

  • the present disclosure relates to the field of computers, and in particular to a method for displaying a book query page, an electronic device, and a computer storage medium.
  • the inventor found that the above-mentioned solution in the prior art has at least the following defects: the existing book query page can only display the brief information of multiple e-books for users to browse one by one.
  • the browsing process is very time-consuming, and therefore, it is easy to cause visual fatigue of the user.
  • the user cannot obtain more valuable auxiliary information.
  • the present disclosure is proposed to provide a method, electronic device and computer storage medium for displaying a book query page that overcomes the above-mentioned problems or at least partially solves the above-mentioned problems.
  • a method for displaying a book query page including:
  • the audio playback component is displayed on the book query page.
  • an electronic device including: a processor, a memory, a communication interface, and a communication bus.
  • the processor, the memory, and the communication interface communicate with each other through the communication bus;
  • the memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
  • the audio playback component is displayed on the book query page.
  • non-volatile computer-readable storage medium stores at least one executable instruction, and the executable instruction causes a processor to perform the following operations :
  • the audio playback component is displayed on the book query page.
  • a computer program product which includes a calculation program stored on the aforementioned non-volatile computer-readable storage medium.
  • the user interaction triggered by the reading user on the book query page can be dynamically monitored during the display process of the book query page, and the user interaction operation is triggered according to each user
  • the audio playback element is displayed on the book query page. It can be seen that this method can accurately determine whether the user is currently in the book reading state according to the type of user interaction operation and the operation frequency. If the user is not in the book reading state, it means that the user is still in the stage of book browsing and screening. Accordingly, The way of playing audio content through the audio playback element relieves the user's visual fatigue, enables the user to obtain more valuable information with the aid of auditory and sensory methods, thereby facilitating the book screening process.
  • FIG. 1 shows a flowchart of a method for displaying a book query page provided by an embodiment of the present disclosure
  • FIG. 2 shows a flowchart of a method for displaying a book query page according to another embodiment of the present disclosure
  • Fig. 3 shows a schematic structural diagram of an electronic device according to another embodiment of the present disclosure.
  • Fig. 1 shows a flowchart of a method for displaying a book query page provided by an embodiment of the present disclosure. As shown in Figure 1, the method includes the following steps:
  • Step S110 During the display process of the book query page, dynamically monitor various user interaction operations triggered by the reading user on the book query page.
  • the book query page is used to realize the book search function. It can be the home page of the e-book application, the preset e-book list page, or the bookstore page of the e-book, which is used to display the e-book. Each e-book in the book database.
  • the present disclosure does not limit the specific form of the book query page, as long as multiple e-books can be displayed to the user for the user to select books of interest to read.
  • the book query page can present a large number of book resources to the user through information flow. Accordingly, the user needs to continuously pull down the book query page through a sliding operation, so that the book resource at the bottom of the page can be displayed on the display interface of the terminal device .
  • the book query page further contains multiple function entries, through which various interactive behaviors such as previewing, collecting, and receiving specific books can be performed through each function entry.
  • the user interaction operation can be of various types, for example, it can be a sliding operation used to pull down a book query page, or it can be a book preview operation, a book collection operation, a book receiving operation, etc. triggered by a function portal.
  • the present disclosure does not limit the specific types of user interaction operations to be monitored.
  • Step S120 Determine the operation type of the user interaction operation, and determine whether the reading user is in the book reading state according to the operation type of the user interaction operation.
  • the operation types of user interaction operations include: page sliding type, click type, browsing type, adding bookshelf type, reading text type, and book acquisition type, etc.
  • some operation types are related to the reading state, such as reading body type, book acquisition type, etc., and some operation types are not related to the reading state, such as page sliding type, browsing type, etc.
  • Step S130 When the judgment result is no, display the audio playback element on the book query page.
  • the audio playback element can be implemented in various ways such as a floating layer, a player, etc., which is not limited in the present disclosure.
  • the audio playback element is used to play the preset audio content during the display process of the book query page, so that the user can obtain more auxiliary information during the search process.
  • the preset audio content can be determined based on the current browsing content in the book query page, or based on the user type or user level of the reading user, which is not limited in the present disclosure.
  • the audio playback element can directly play audio content, or it can also set a play button on the audio play element, and play the audio content when a playback confirmation request triggered by the play button is received.
  • the present disclosure does not give specific implementation forms. Make a limit.
  • this method can accurately determine whether the user is currently in the book reading state according to the type of user interaction operation and the operation frequency. If the user is not in the book reading state, it means that the user is still in the stage of book browsing and screening. Accordingly, The way of playing audio content through the audio playback element relieves the user's visual fatigue, enables the user to obtain more valuable information with the aid of auditory and sensory methods, thereby facilitating the book screening process.
  • Fig. 2 shows a flowchart of a method for displaying a book query page provided by another embodiment of the present disclosure. As shown in Figure 2, the method includes the following steps:
  • Step S210 During the display process of the book query page, dynamically monitor various user interaction operations triggered by the reading user on the book query page.
  • the book query page mainly refers to the e-book list page provided by the e-book application.
  • the book query page usually contains the following page elements: a search input box for entering search keywords, a type switching entry for switching book types, and a tag for querying a list of books that match a preset tag.
  • the preset tags include: new book tags, novel tags, historical tags, ranking tags, etc.
  • the book query page usually contains multiple list blocks, and each list block is used to display different types of e-book collections, so that users can search by type.
  • this embodiment aims to monitor various interactive operations of the user in real time, and analyze the user behavior according to the monitoring result, so as to provide the user with audio auxiliary information according to the analysis result.
  • Step S220 Determine the operation type of each user interaction operation, and determine whether the reading user is in the book reading state according to the operation type of each user interaction operation.
  • the first preset interaction type mainly refers to a type that has nothing to do with the reading state of the book, for example, it includes at least one of the following: a page sliding type, a click type, and a browsing type.
  • the page sliding type is used to slide up or down the page to adjust the content exposed in the book query page;
  • the click type is used to click on the specified book in the book query page to jump to the book detail page of the specified book;
  • browse Type is used to swipe up and down on the book detail page to browse the entire content of the book detail page.
  • the first preset interaction type may also include: a list switching type.
  • the user interaction operation of the list switching type is triggered by the type switching entry or the preset label in the book query page to realize the switching of the list block. , So as to browse different types of list content. In short, any type that has nothing to do with the reading state of the book can be used as the first preset interaction type.
  • the operation frequency is represented by the number of operations within a preset time period. If the operation frequency is high, it means that the user is in a state of frequently switching browsing content, and obviously not immersed in the book reading process. For example, when a user browses various e-books on the e-book list page, frequent user interaction operations of page sliding type are performed, which indicates that the user is at the stage of roughly browsing each e-book and is not immersed in the reading process.
  • the number of sliding times of the page sliding operation can be detected, for example, after 3 consecutive slidings, it is determined that the reading user is not in a book reading state.
  • the sliding length of the book query page can also be detected. If it is detected that the book query page has swiped two screens of content, it is determined that the reading user is not in the book reading state.
  • the display duration of the book query page is used to reflect the duration of the user in the book search state. Since the user interaction operation of the first preset interaction type is an operation that has nothing to do with the reading process, it means that the user has been performing non-reading operations such as book search. If the display time of the book query page is longer than the first preset time, it means The user is in the process of frequently browsing e-books, and he is obviously not in a book-reading state at this time.
  • N is a natural number greater than 1.
  • the operation types of the interactive operations of every two adjacent users are not the same, it means that the user is in the active search stage at this time and has a strong willingness to search; on the contrary, if the adjacent N users
  • the operation types of the interactive operations are the same, such as page sliding operations, indicating that the user may currently be in the passive search stage, that is, simply relying on behavioral inertia to perform simple interactions, and there is no strong search willingness.
  • the user interaction operation type is further determined Whether it belongs to the second preset interaction type is used to determine whether the user has currently entered the book reading state.
  • the second preset interaction type mainly refers to a type related to the reading state of a book, for example, it includes at least one of the following: a book shelf type, a reading text type, and a book acquisition type.
  • the interactive operation of adding the bookshelf type is equivalent to the book collection behavior, and the function is to add books to the user's bookshelf for easy reading;
  • the interactive operation of reading the text type is usually triggered by the book trial entrance or the e-book reading entrance to display the electronic
  • the text of the book is for users to read;
  • the book acquisition type is used to acquire and download the corresponding e-book resources from the e-book database for easy reading.
  • the duration refers to the length of time the user reads the body of the e-book. If the display time of the e-book body page exceeds the preset second preset duration, it means that the user has been immersed in the reading process. At this time, avoid playing audio And bother users.
  • the second preset interaction type further includes various types of operations related to the book reading process, such as page turning operations, note operations, and marking operations.
  • Step S230 When the judgment result is no, display the audio playback element on the book query page, and play the preset audio content during the display process of the book query page through the audio playback element.
  • the audio resource file corresponding to the content type is played through the audio player component.
  • the content type of real-time browsing content includes at least one of the following: e-book type, audio book type, and user interaction type; wherein, the audio resource file corresponding to the e-book type includes: books corresponding to the e-book Introduction file; audio resource files corresponding to the audio book type include: audio fragment files contained in the audio book; audio resource files corresponding to the user interaction type include: background music files.
  • the target e-book that matches the current user can be selected based on the user’s historical behavior data, and The book profile file of the selected target e-book is used as the audio resource file to be played, so that the user can listen to the profile information of the target e-book during the book search process, so that the user can quickly find books of interest.
  • the target audio book that matches the current user can be selected based on the user's historical behavior data, and the selected target audio book
  • the wonderful audio clips contained in the book are used as audio resource files to be played for the user to listen to part of the target audio book during the book search process, so that the user can quickly find the book of interest.
  • the real-time browsing content currently displayed in the book query page is a user interaction type, for example, the user is browsing UGC content information
  • background music files can be played for the user, such as selecting light music, so that the user can relieve reading fatigue.
  • the audio content can be further determined by combining the content type of the real-time browsing content. For example, when the content type of the real-time browsing content is a child type, such as children's psychology, children's book ranking, etc., audio content of the child's knowledge type can be played. For another example, when the content type of the real-time browsing content is an excellent course, the audio content of the course can be auditioned.
  • a child type such as children's psychology, children's book ranking, etc.
  • audio content of the child's knowledge type can be played.
  • the audio content of the course can be auditioned.
  • the audio content can also be determined based on the user level. Specifically, first obtain the historical user data of the reading user, and determine the user level of the reading user according to the historical user data; then, obtain the audio resource file corresponding to the user level, and play the audio resource file corresponding to the user level through the audio playback element .
  • the user level can be divided according to the amount of historical books browsed and the amount of historical collected data of the user, for example, divided into primary users and advanced users. Since primary users are usually users who browse a small number of books, guidance audio related to the book query process can be played for this part of users to guide users to find books quickly.
  • the audio playback components are displayed in the form of floating windows on the book query page.
  • the audio playback component can be located at a preset position such as the bottom or top of the page, or it can automatically identify the blank area on the page by calculating the pixel value of each area in the page, so that the audio playback component can be displayed in the blank area of the page , It is better not to obscure the content of the page.
  • the user Before playing the audio content, the user can be prompted by a pop-up window, and the user can be played after receiving the user's confirmation message, or the audio content can be played directly.
  • the present disclosure does not limit the specific details.
  • the audio playback element further includes a control entry element; wherein the control entry element includes at least one of the following: a play entry element, a pause entry element, a jump entry element, a close entry element, and a switch entry element.
  • the play entry element is used to trigger a play operation
  • the pause entry element is used to perform a pause operation during playback
  • the close entry element is used to close the audio playback element
  • the switch entry element is used to switch to other audio content.
  • the jump entry element is used to jump directly to the target content associated with the current playing content.
  • the playing content is a book introduction file corresponding to an e-book
  • Corresponding e-book content for users to quickly browse
  • the playback content is an audio clip file contained in an audio book
  • the audio playback prompt message can be shown to the user first, and when a confirmation playback request triggered by the audio playback prompt message is received, the audio The playback component plays the preset audio content during the display of the book query page.
  • the audio playback prompt message can be displayed simultaneously with the audio playback element, or the audio playback prompt message can be displayed first, and the audio playback element can be displayed after receiving the confirmation playback request.
  • the specific details are not limited in the present disclosure.
  • the audio playback prompt message contains the confirmation entry and the cancellation entry.
  • the confirmation request can be triggered through the confirmation entry, so that the audio playback element can play the preset audio content during the display of the book query page; when the user does not want to listen to the audio content, the entry can be canceled A request to cancel the playback is triggered, thereby canceling the display and playback process of the audio playback component.
  • Step S240 Whenever a control instruction triggered by a control entry element is detected, determine the instruction type of the control instruction, and generate positive feedback data or negative feedback data corresponding to the control instruction according to the instruction type; according to the generated positive feedback data or Negative feedback data revises the preset content push model.
  • the audio playback element in order to make the played audio content more catering to the current user’s interest preferences, when the audio playback element is used to play the preset audio content during the display of the book query page, this is achieved in the following manner: Obtaining The user attribute data corresponding to the reading user, and the audio content matching the user attribute data is determined according to a preset content push model.
  • the user attribute data includes data related to the user's operating behavior and data related to the user's basic characteristics (such as age, gender, etc.).
  • the preset content push model is based on the sample attribute data of multiple sample users It is trained and used to mine the correspondence between user attribute data and its preferred audio content. Therefore, the preset content push model can accurately determine the audio content that matches the user attribute data, so that the played audio content matches the user's interest preferences.
  • the control instruction triggered by the control entry element is further detected.
  • the jump instruction triggered by the jump entry element it indicates that the user is interested in the content being played, and therefore the jump Go to the corresponding book page, therefore, generate positive feedback data; conversely, when a switch instruction triggered by a switch entry element is detected, it means that the user is not interested in the content being played, therefore, negative feedback data is generated.
  • the preset content push model obtains an incremental sample set based on the feedback positive feedback data and positive feedback data, and updates it based on the incremental sample set to make the final push result more accurate.
  • this method can accurately determine whether the user is currently in the book reading state according to the type of user interaction operation and the operation frequency. If the user is not in the book reading state, it means that the user is still in the stage of book browsing and screening. Accordingly, The way of playing audio content through the audio playback element relieves the user's visual fatigue, enables the user to obtain more valuable information with the aid of auditory and sensory methods, thereby facilitating the book screening process.
  • the audio content can be determined in combination with the content of the page currently being browsed by the user, so as to provide convenience for the user's browsing process.
  • the feedback operation triggered by the user on the audio content can be further monitored, so that the subsequently played audio content more closely matches the user's interest and preferences.
  • the embodiments of the present disclosure provide a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one executable instruction, and the computer-executable instruction can execute any of the foregoing method embodiments.
  • the executable instructions can be specifically used to cause the processor to perform the following operations:
  • the audio playback component is displayed on the book query page.
  • the executable instruction causes the processor to perform at least one of the following operations:
  • the operation type of the user interaction operation belongs to the first preset interaction type and the operation frequency is greater than the first preset frequency, it is determined that the reading user is not in a book reading state;
  • the operation type of the user interaction operation belongs to the first preset interaction type and the display duration of the book query page is greater than the first preset duration, it is determined that the reading user is not in a book reading state.
  • the first preset interaction type includes at least one of the following: a page sliding type, a click type, and a browsing type.
  • executable instructions cause the processor to perform the following operations:
  • the second preset interaction type of the book acquisition type includes at least one of the following: adding a bookshelf, reading the text, and book acquisition.
  • executable instructions cause the processor to perform the following operations:
  • executable instructions cause the processor to perform the following operations:
  • the audio playback component is displayed on the book query page, and the preset audio content is played during the display of the book query page through the audio playback component.
  • executable instructions cause the processor to perform the following operations:
  • the content type of the real-time browsing content includes at least one of the following: an e-book type, an audio book type, and a user interaction type; among them,
  • the audio resource files corresponding to the type of e-book include: book introduction files corresponding to the e-book;
  • the audio resource files corresponding to the audio book type include: audio clip files contained in the audio book;
  • the audio resource files corresponding to the user interaction type include: background music files.
  • executable instructions cause the processor to perform the following operations:
  • executable instructions cause the processor to perform the following operations:
  • the audio playback element is displayed in the form of a floating window on the book query page; and the audio playback element further includes a control entry element; wherein the control entry element includes at least one of the following: a play entry element, a pause entry element, a jump entry element, Close the entry element, and switch the entry element.
  • executable instructions cause the processor to perform the following operations:
  • the instruction type of the control instruction is determined, and the positive feedback data or negative feedback data corresponding to the control instruction is generated according to the instruction type; according to the generated positive feedback data or negative feedback data Revise the content push model.
  • executable instructions cause the processor to perform the following operations:
  • the audio playback prompt message is displayed, and when a playback confirmation request triggered by the audio playback prompt message is received, the audio playback element is used to play the preset audio content during the display process of the book query page.
  • FIG. 3 shows a schematic structural diagram of an electronic device according to another embodiment of the present disclosure, and the specific embodiment of the present disclosure does not limit the specific implementation of the electronic device.
  • the electronic device may include a processor (processor) 302, a communication interface (Communications Interface) 304, a memory (memory) 306, and a communication bus 308.
  • processor processor
  • Communication interface Communication Interface
  • memory memory
  • the processor 302, the communication interface 304, and the memory 306 communicate with each other through the communication bus 308.
  • the communication interface 304 is used to communicate with other devices such as network elements such as clients or other servers.
  • the processor 302 is configured to execute the program 310, and specifically can execute the relevant steps in the embodiment of the method for displaying the book query page.
  • the program 310 may include program code, and the program code includes computer operation instructions.
  • the processor 302 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 disclosure.
  • the one or more processors included in the electronic device may be the same type of processor, such as one or more CPUs, or different types of processors, such as one or more CPUs and one or more ASICs.
  • the memory 306 is used to store the program 310.
  • the memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), for example, at least one disk memory.
  • the program 310 may be specifically used to cause the processor 302 to perform the following operations:
  • the audio playback element is displayed on the book query page, and the preset audio content is played during the display process of the book query page through the audio playback element.
  • the executable instruction causes the processor to perform at least one of the following operations:
  • the operation type of the user interaction operation belongs to the first preset interaction type and the operation frequency is greater than the first preset frequency, it is determined that the reading user is not in a book reading state;
  • the operation type of the user interaction operation belongs to the first preset interaction type and the display duration of the book query page is greater than the first preset duration, it is determined that the reading user is not in a book reading state.
  • the first preset interaction type includes at least one of the following: a page sliding type, a click type, and a browsing type.
  • executable instructions cause the processor to perform the following operations:
  • the second preset interaction type of the book acquisition type includes at least one of the following: adding a bookshelf, reading the text, and book acquisition.
  • executable instructions cause the processor to perform the following operations:
  • executable instructions cause the processor to perform the following operations:
  • the audio playback component is displayed on the book query page, and the preset audio content is played during the display of the book query page through the audio playback component.
  • executable instructions cause the processor to perform the following operations:
  • the content type of the real-time browsing content includes at least one of the following: an e-book type, an audio book type, and a user interaction type; among them,
  • the audio resource files corresponding to the type of e-book include: book introduction files corresponding to the e-book;
  • the audio resource files corresponding to the audio book type include: audio clip files contained in the audio book;
  • the audio resource files corresponding to the user interaction type include: background music files.
  • executable instructions cause the processor to perform the following operations:
  • executable instructions cause the processor to perform the following operations:
  • the audio playback element is displayed in the form of a floating window on the book query page; and the audio playback element further includes a control entry element; wherein the control entry element includes at least one of the following: a play entry element, a pause entry element, a jump entry element, Close the entry element, and switch the entry element.
  • executable instructions cause the processor to perform the following operations:
  • the instruction type of the control instruction is determined, and the positive feedback data or negative feedback data corresponding to the control instruction is generated according to the instruction type; according to the generated positive feedback data or negative feedback data Revise the content push model.
  • executable instructions cause the processor to perform the following operations:
  • the audio playback prompt message is displayed, and when a playback confirmation request triggered by the audio playback prompt message is received, the audio playback element is used to play the preset audio content during the display process of the book query page.
  • modules or units or components in the embodiments can be combined into one module or unit or component, and in addition, they can be divided into multiple sub-modules or sub-units or sub-components. Except that at least some of such features and/or processes or units are mutually exclusive, any combination can be used to compare all the features disclosed in this specification (including the accompanying claims, abstract and drawings) and any method or methods disclosed in this manner or All the processes or units of the equipment are combined. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A display method for a book query page, an electronic device and a computer storage medium. The method comprises: in the display process of a book query page, dynamically monitoring a user interaction operation triggered by a visitor with respect to the book query page (S110); determining the operation type of the user interaction operation, and according to the operation type of the user interaction operation, determining whether the visitor is in a book reading state (S120); and when the determination result is no, displaying an audio playback element in the book query page (S130).

Description

书籍查询页面的展示方法、电子设备及计算机存储介质Display method, electronic device and computer storage medium of book query page
相关申请的交叉参考Cross reference of related applications
本申请要求于2019年12月25日提交中国专利局、申请号为201911355145.2、名称为“书籍查询页面的展示方法、电子设备及计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office with the application number 201911355145.2 and titled "The Display Method of Book Search Pages, Electronic Equipment and Computer Storage Media" on December 25, 2019, the entire content of which is incorporated by reference Incorporated in this application.
技术领域Technical field
本公开涉及计算机领域,具体涉及一种书籍查询页面的展示方法、电子设备及计算机存储介质。The present disclosure relates to the field of computers, and in particular to a method for displaying a book query page, an electronic device, and a computer storage medium.
背景技术Background technique
目前,随着电子设备的日益普及,越来越多的用户习惯于通过电子设备阅读电子书,以替代传统的纸质书籍。但是,由于电子书的种类和数量多种多样,因此,用户需要从书籍查询页面所包含的大量电子书中筛选目标书籍进行阅读。At present, with the increasing popularity of electronic devices, more and more users are accustomed to reading e-books through electronic devices to replace traditional paper books. However, due to the various types and quantities of e-books, users need to select target books for reading from a large number of e-books contained in the book query page.
但是,在实现本公开的过程中,发明人发现现有技术中的上述方案至少存在下述缺陷:现有的书籍查询页面只能固定展示多个电子书的简介信息以供用户逐一浏览,由于浏览过程非常耗时,因此,容易导致用户视觉疲劳。并且,在上述过程中,用户无法获取到更多有价值的辅助信息。However, in the process of implementing the present disclosure, the inventor found that the above-mentioned solution in the prior art has at least the following defects: the existing book query page can only display the brief information of multiple e-books for users to browse one by one. The browsing process is very time-consuming, and therefore, it is easy to cause visual fatigue of the user. Moreover, in the above process, the user cannot obtain more valuable auxiliary information.
发明内容Summary of the invention
鉴于上述问题,提出了本公开以便提供一种克服上述问题或者至少部分地解决上述问题的书籍查询页面的展示方法、电子设备及计算机存储介质。In view of the above-mentioned problems, the present disclosure is proposed to provide a method, electronic device and computer storage medium for displaying a book query page that overcomes the above-mentioned problems or at least partially solves the above-mentioned problems.
根据本公开的一个方面,提供了一种书籍查询页面的展示方法,包括:According to one aspect of the present disclosure, a method for displaying a book query page is provided, including:
在书籍查询页面的展示过程中,动态监测阅读用户针对书籍查询页面触发的用户交互操作;During the display process of the book query page, dynamically monitor the user interaction operations triggered by the reading user on the book query page;
确定用户交互操作的操作类型,根据用户交互操作的操作类型判断阅读用户是否处于书籍阅读状态;Determine the operation type of the user interaction operation, and determine whether the reading user is in the book reading state according to the operation type of the user interaction operation;
当判断结果为否时,在书籍查询页面中展示音频播放元件。When the judgment result is no, the audio playback component is displayed on the book query page.
根据本公开的另一方面,提供了一种电子设备,包括:处理器、存储器、 通信接口和通信总线,处理器、存储器和通信接口通过通信总线完成相互间的通信;According to another aspect of the present disclosure, there is provided an electronic device, including: a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface communicate with each other through the communication bus;
存储器用于存放至少一可执行指令,可执行指令使处理器执行以下操作:The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
在书籍查询页面的展示过程中,动态监测阅读用户针对书籍查询页面触发的用户交互操作;During the display process of the book query page, dynamically monitor the user interaction operations triggered by the reading user on the book query page;
确定用户交互操作的操作类型,根据用户交互操作的操作类型判断阅读用户是否处于书籍阅读状态;Determine the operation type of the user interaction operation, and determine whether the reading user is in the book reading state according to the operation type of the user interaction operation;
当判断结果为否时,在书籍查询页面中展示音频播放元件。When the judgment result is no, the audio playback component is displayed on the book query page.
根据本公开的又一方面,提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质中存储有至少一可执行指令,可执行指令使处理器执行以下操作:According to another aspect of the present disclosure, there is provided a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one executable instruction, and the executable instruction causes a processor to perform the following operations :
在书籍查询页面的展示过程中,动态监测阅读用户针对书籍查询页面触发的用户交互操作;During the display process of the book query page, dynamically monitor the user interaction operations triggered by the reading user on the book query page;
确定用户交互操作的操作类型,根据用户交互操作的操作类型判断阅读用户是否处于书籍阅读状态;Determine the operation type of the user interaction operation, and determine whether the reading user is in the book reading state according to the operation type of the user interaction operation;
当判断结果为否时,在书籍查询页面中展示音频播放元件。When the judgment result is no, the audio playback component is displayed on the book query page.
根据本公开的再一方面,还提供了一种计算机程序产品,该计算机程序产品包括存储在上述非易失性计算机可读存储介质上的计算程序。According to another aspect of the present disclosure, there is also provided a computer program product, which includes a calculation program stored on the aforementioned non-volatile computer-readable storage medium.
在本公开提供的书籍查询页面的展示方法、电子设备及计算机存储介质中,能够在书籍查询页面的展示过程中,动态监测阅读用户针对书籍查询页面触发的用户交互操作,并在根据各次用户交互操作的操作类型以及操作频次判断出阅读用户未处于书籍阅读状态时,在书籍查询页面中展示音频播放元件。由此可见,该方式能够根据用户交互操作的操作类型以及操作频次准确判断用户当前是否处于书籍阅读状态,若用户未处于书籍阅读状态,则说明用户仍处于书籍浏览及筛选的阶段,相应地,通过音频播放元件播放音频内容的方式舒缓用户的视觉疲劳,使用户能够借助听觉感官方式获取更多有价值的信息,从而为书籍筛选过程提供便利。In the book query page display method, electronic device, and computer storage medium provided in the present disclosure, the user interaction triggered by the reading user on the book query page can be dynamically monitored during the display process of the book query page, and the user interaction operation is triggered according to each user When it is determined by the operation type and operation frequency of the interactive operation that the reading user is not in the book reading state, the audio playback element is displayed on the book query page. It can be seen that this method can accurately determine whether the user is currently in the book reading state according to the type of user interaction operation and the operation frequency. If the user is not in the book reading state, it means that the user is still in the stage of book browsing and screening. Accordingly, The way of playing audio content through the audio playback element relieves the user's visual fatigue, enables the user to obtain more valuable information with the aid of auditory and sensory methods, thereby facilitating the book screening process.
上述说明仅是本公开技术方案的概述,为了能够更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为了让本公开的上述和其它目的、特征和优点能够更明显易懂,以下特举本公开的具体实施方式。The above description is only an overview of the technical solutions of the present disclosure. In order to understand the technical means of the present disclosure more clearly, they can be implemented in accordance with the content of the specification, and in order to make the above and other objectives, features and advantages of the present disclosure more obvious and easy to understand. In the following, specific embodiments of the present disclosure are specifically cited.
附图概述Brief description of the drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本公开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:By reading the detailed description of the preferred embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only used for the purpose of illustrating the preferred embodiments, and are not considered as a limitation to the present disclosure. Also, throughout the drawings, the same reference symbols are used to denote the same components. In the attached picture:
图1示出了本公开一个实施例提供的书籍查询页面的展示方法的流程图;FIG. 1 shows a flowchart of a method for displaying a book query page provided by an embodiment of the present disclosure;
图2示出了本公开另一个实施例提供的书籍查询页面的展示方法的流程图;FIG. 2 shows a flowchart of a method for displaying a book query page according to another embodiment of the present disclosure;
图3示出了根据本公开另一个实施例的一种电子设备的结构示意图。Fig. 3 shows a schematic structural diagram of an electronic device according to another embodiment of the present disclosure.
本公开的较佳实施方式Preferred embodiment of the present disclosure
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although the drawings show exemplary embodiments of the present disclosure, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
实施例一Example one
图1示出了本公开一个实施例提供的书籍查询页面的展示方法的流程图。如图1所示,该方法包括以下步骤:Fig. 1 shows a flowchart of a method for displaying a book query page provided by an embodiment of the present disclosure. As shown in Figure 1, the method includes the following steps:
步骤S110:在书籍查询页面的展示过程中,动态监测阅读用户针对书籍查询页面触发的各次用户交互操作。Step S110: During the display process of the book query page, dynamically monitor various user interaction operations triggered by the reading user on the book query page.
其中,书籍查询页面用于实现书籍查找功能,既可以是电子书应用的应用首页,也可以是预设的电子书榜单页面,还可以是电子书的书城页面,该书城页面用于展示电子书数据库中的各个电子书。本公开对书籍查询页面的具体形式不做限定,只要能够向用户展示多个电子书以供用户从中选择感兴趣的书籍进行阅读即可。Among them, the book query page is used to realize the book search function. It can be the home page of the e-book application, the preset e-book list page, or the bookstore page of the e-book, which is used to display the e-book. Each e-book in the book database. The present disclosure does not limit the specific form of the book query page, as long as multiple e-books can be displayed to the user for the user to select books of interest to read.
具体地,书籍查询页面可以通过信息流方式为用户呈现大量的书籍资源,相应地,用户需要通过滑动操作不断下拉书籍查询页面,以使位于页面底部的书籍资源能够展示在终端设备的显示界面中。并且,书籍查询页面中 进一步包含多个功能入口,通过各个功能入口能够针对指定书籍进行预览、收藏、领取等各种交互行为。Specifically, the book query page can present a large number of book resources to the user through information flow. Accordingly, the user needs to continuously pull down the book query page through a sliding operation, so that the book resource at the bottom of the page can be displayed on the display interface of the terminal device . In addition, the book query page further contains multiple function entries, through which various interactive behaviors such as previewing, collecting, and receiving specific books can be performed through each function entry.
相应地,在本实施例中,需要动态监测阅读用户针对书籍查询页面触发的各次用户交互操作。其中,用户交互操作可以为各种类型,例如,可以是用于下拉书籍查询页面的滑动操作,也可以是通过功能入口触发的书籍预览操作、书籍收藏操作、书籍领取操作等等。本公开对待监测的用户交互操作的具体种类不做限定。Correspondingly, in this embodiment, it is necessary to dynamically monitor various user interaction operations triggered by the reading user on the book query page. Among them, the user interaction operation can be of various types, for example, it can be a sliding operation used to pull down a book query page, or it can be a book preview operation, a book collection operation, a book receiving operation, etc. triggered by a function portal. The present disclosure does not limit the specific types of user interaction operations to be monitored.
步骤S120:确定用户交互操作的操作类型,根据用户交互操作的操作类型判断阅读用户是否处于书籍阅读状态。Step S120: Determine the operation type of the user interaction operation, and determine whether the reading user is in the book reading state according to the operation type of the user interaction operation.
具体地,用户交互操作的操作类型包括:页面滑动类型、点击类型、浏览类型、加入书架类型、阅读正文类型、以及书籍获取类型等。其中,有些操作类型是与阅读状态相关的类型,如阅读正文类型、书籍获取类型等,还有些操作类型是与阅读状态无关的类型,如页面滑动类型、浏览类型等。相应地,根据操作类型能够判断阅读用户当前是否处于书籍阅读状态。Specifically, the operation types of user interaction operations include: page sliding type, click type, browsing type, adding bookshelf type, reading text type, and book acquisition type, etc. Among them, some operation types are related to the reading state, such as reading body type, book acquisition type, etc., and some operation types are not related to the reading state, such as page sliding type, browsing type, etc. Correspondingly, it can be determined whether the reading user is currently in a book reading state according to the operation type.
具体地,可以进一步根据相邻的多个用户交互操作的操作类型是否相同来判断阅读用户是否处于书籍阅读状态。例如,当相邻的多个用户交互操作的操作类型相同且均为页面滑动类型时,说明用户当前未处于书籍阅读状态。Specifically, it may be further determined whether the reading user is in a book reading state according to whether the operation types of multiple adjacent user interaction operations are the same. For example, when multiple adjacent user interaction operations have the same operation type and are all page sliding types, it means that the user is not currently in a book reading state.
另外,除操作类型外,还可以进一步结合操作频次等特征进行辅助判断。具体地,用户在阅读时,由于沉浸在阅读过程中,因此不会频繁触发多个用户交互操作,相应地,当用户交互操作的频次较高时,则说明阅读用户当前未处于书籍阅读状态。具体实施时,本领域技术人员可通过各种方式判断阅读用户是否处于书籍阅读状态,本公开对具体细节不做限定。In addition, in addition to the type of operation, it can be further combined with features such as operation frequency to assist in judgment. Specifically, when the user is reading, because he is immersed in the reading process, multiple user interaction operations are not frequently triggered. Correspondingly, when the frequency of user interaction operations is high, it means that the reading user is not currently in a book reading state. During specific implementation, those skilled in the art can determine whether the reading user is in a book reading state in various ways, and the present disclosure does not limit the specific details.
步骤S130:当判断结果为否时,在书籍查询页面中展示音频播放元件。Step S130: When the judgment result is no, display the audio playback element on the book query page.
具体地,当阅读用户当前未处于书籍阅读状态时,说明该用户尚未查找到与阅读需求匹配的目标书籍,为了提升用户的查找效率,也为了缓解用户的视觉疲劳,在书籍查询页面中展示音频播放元件,该音频播放元件可通过浮层、播放器等各种方式实现,本公开对此不做限定。该音频播放元件用于在书籍查询页面的展示过程中播放预设的音频内容,从而使用户能够在查找过程中获取到更多的辅助信息。其中,预设的音频内容可以根据书籍查询页面中的当前浏览内容确定,也可以根据阅读用户的用户类型或用户等级确 定,本公开对此不做限定。具体地,该音频播放元件可以直接播放音频内容,或者,也可以在音频播放元件上设置播放按钮,并在接收到通过播放按钮触发的播放确认请求时播放音频内容,本公开对具体实现形式不做限定。Specifically, when the reading user is not currently in the book reading state, it means that the user has not found a target book that matches the reading needs. In order to improve the search efficiency of the user and also to relieve the user’s visual fatigue, the audio is displayed on the book query page The playback element, the audio playback element can be implemented in various ways such as a floating layer, a player, etc., which is not limited in the present disclosure. The audio playback element is used to play the preset audio content during the display process of the book query page, so that the user can obtain more auxiliary information during the search process. Among them, the preset audio content can be determined based on the current browsing content in the book query page, or based on the user type or user level of the reading user, which is not limited in the present disclosure. Specifically, the audio playback element can directly play audio content, or it can also set a play button on the audio play element, and play the audio content when a playback confirmation request triggered by the play button is received. The present disclosure does not give specific implementation forms. Make a limit.
由此可见,该方式能够根据用户交互操作的操作类型以及操作频次准确判断用户当前是否处于书籍阅读状态,若用户未处于书籍阅读状态,则说明用户仍处于书籍浏览及筛选的阶段,相应地,通过音频播放元件播放音频内容的方式舒缓用户的视觉疲劳,使用户能够借助听觉感官方式获取更多有价值的信息,从而为书籍筛选过程提供便利。It can be seen that this method can accurately determine whether the user is currently in the book reading state according to the type of user interaction operation and the operation frequency. If the user is not in the book reading state, it means that the user is still in the stage of book browsing and screening. Accordingly, The way of playing audio content through the audio playback element relieves the user's visual fatigue, enables the user to obtain more valuable information with the aid of auditory and sensory methods, thereby facilitating the book screening process.
实施例二Example two
图2示出了本公开另一个实施例提供的书籍查询页面的展示方法的流程图。如图2所示,该方法包括以下步骤:Fig. 2 shows a flowchart of a method for displaying a book query page provided by another embodiment of the present disclosure. As shown in Figure 2, the method includes the following steps:
步骤S210:在书籍查询页面的展示过程中,动态监测阅读用户针对书籍查询页面触发的各次用户交互操作。Step S210: During the display process of the book query page, dynamically monitor various user interaction operations triggered by the reading user on the book query page.
在本实施例中,书籍查询页面主要是指电子书应用提供的电子书榜单页面。具体地,在书籍查询页面中,通常包含以下页面元素:用于输入搜索关键词的搜索输入框、用于切换书籍类型的类型切换入口、用于查询与预设标签相匹配的书籍列表的标签查询入口。其中,预设标签包括:新书标签、小说标签、历史标签、排行标签等。另外,在书籍查询页面中,通常还包含多个榜单区块,各个榜单区块分别用于展示不同类型的电子书集合,以便于用户分类型查找。In this embodiment, the book query page mainly refers to the e-book list page provided by the e-book application. Specifically, the book query page usually contains the following page elements: a search input box for entering search keywords, a type switching entry for switching book types, and a tag for querying a list of books that match a preset tag. Query entry. Among them, the preset tags include: new book tags, novel tags, historical tags, ranking tags, etc. In addition, the book query page usually contains multiple list blocks, and each list block is used to display different types of e-book collections, so that users can search by type.
由此可见,用户在通过书籍查询页面查找目标书籍时,能够针对书籍查询页面触发各种类型的用户交互操作。相应地,本实施例旨在实时监测用户的各次交互操作,并根据监测结果分析用户行为,从而根据分析结果为用户提供音频辅助信息。It can be seen that when the user searches for a target book through the book query page, various types of user interaction operations can be triggered on the book query page. Correspondingly, this embodiment aims to monitor various interactive operations of the user in real time, and analyze the user behavior according to the monitoring result, so as to provide the user with audio auxiliary information according to the analysis result.
步骤S220:确定各次用户交互操作的操作类型,根据各次用户交互操作的操作类型判断阅读用户是否处于书籍阅读状态。Step S220: Determine the operation type of each user interaction operation, and determine whether the reading user is in the book reading state according to the operation type of each user interaction operation.
具体地,在判断阅读用户是否处于书籍阅读状态时,可以通过用户交互操作的操作类型是否属于第一预设交互类型进行判断。其中,第一预设交互类型主要是指与书籍阅读状态无关的类型,例如,包括以下中的至少一个:页面滑动类型、点击类型、以及浏览类型。其中,页面滑动类型用于上滑或 下滑页面,以调整书籍查询页面中曝光的内容;点击类型用于针对书籍查询页面中的指定书籍进行点击,以跳转到指定书籍的书籍详情页;浏览类型用于针对书籍详情页进行上下滑动,以浏览书籍详情页的全部内容。另外,第一预设交互类型还可以包括:榜单切换类型,该榜单切换类型的用户交互操作通过书籍查询页面中的类型切换入口或预设标签触发,以实现针对榜单区块的切换,从而浏览不同类型的榜单内容。总之,凡是与书籍阅读状态无关的类型均可作为第一预设交互类型。Specifically, when judging whether the reading user is in the book reading state, the judgment can be made by whether the operation type of the user interaction operation belongs to the first preset interaction type. Among them, the first preset interaction type mainly refers to a type that has nothing to do with the reading state of the book, for example, it includes at least one of the following: a page sliding type, a click type, and a browsing type. Among them, the page sliding type is used to slide up or down the page to adjust the content exposed in the book query page; the click type is used to click on the specified book in the book query page to jump to the book detail page of the specified book; browse Type is used to swipe up and down on the book detail page to browse the entire content of the book detail page. In addition, the first preset interaction type may also include: a list switching type. The user interaction operation of the list switching type is triggered by the type switching entry or the preset label in the book query page to realize the switching of the list block. , So as to browse different types of list content. In short, any type that has nothing to do with the reading state of the book can be used as the first preset interaction type.
具体实施时,可以进一步结合各个用户交互操作的操作频次、书籍查询页面的展示时长、相邻的至少两个用户交互操作的操作类型是否相同等因素进行综合判定,具体可通过以下多种实现方式中的至少一种实现:In specific implementation, it can be further combined with the operation frequency of each user interaction operation, the display time of the book query page, and whether the operation types of at least two adjacent user interaction operations are the same for comprehensive determination. Specifically, the following multiple implementation methods can be used At least one of:
在第一种实现方式中,当用户交互操作的操作类型属于第一预设交互类型且操作频次大于第一预设频次时,确定阅读用户未处于书籍阅读状态。其中,操作频次通过预设时段内的操作次数表示,若操作频次较高,则说明用户处于频繁切换浏览内容的状态,显然未沉浸到书籍阅读过程中。例如,当用户在电子书榜单页面中浏览各个电子书时,频繁执行页面滑动类型的用户交互操作,则说明用户处于粗略浏览各个电子书的阶段,未沉浸到阅读过程之中。具体地,可以检测页面滑动操作的滑动次数,例如,连续滑动3次后则确定阅读用户未处于书籍阅读状态。或者,也可以检测书籍查询页面的滑动长度,若检测到书籍查询页面已滑动两屏内容时,则确定阅读用户未处于书籍阅读状态。In the first implementation manner, when the operation type of the user interaction operation belongs to the first preset interaction type and the operation frequency is greater than the first preset frequency, it is determined that the reading user is not in a book reading state. Among them, the operation frequency is represented by the number of operations within a preset time period. If the operation frequency is high, it means that the user is in a state of frequently switching browsing content, and obviously not immersed in the book reading process. For example, when a user browses various e-books on the e-book list page, frequent user interaction operations of page sliding type are performed, which indicates that the user is at the stage of roughly browsing each e-book and is not immersed in the reading process. Specifically, the number of sliding times of the page sliding operation can be detected, for example, after 3 consecutive slidings, it is determined that the reading user is not in a book reading state. Alternatively, the sliding length of the book query page can also be detected. If it is detected that the book query page has swiped two screens of content, it is determined that the reading user is not in the book reading state.
在第二种实现方式中,当用户交互操作的操作类型属于第一预设交互类型且书籍查询页面的展示时长大于第一预设时长时,确定阅读用户未处于书籍阅读状态。其中,书籍查询页面的展示时长用于反映用户处于书籍查找状态的持续时长。由于第一预设交互类型的用户交互操作属于与阅读过程无关的操作,因此,说明用户一直在进行书籍查找等非阅读类操作,若书籍查询页面的展示时长大于第一预设时长,则说明用户正处于频繁浏览电子书的过程之中,此时显然未处于书籍阅读状态。换言之,即使用户执行交互操作的频次不高,但是,由于用户长时间停留在书籍查找过程中,则说明用户需要获取更多的信息以提升查找效率。例如,当用户通过书籍查询页面浏览UGC(User Generated Content,用户生成内容)信息时,则说明用户尚未处于书籍阅读状态。In the second implementation manner, when the operation type of the user interaction operation belongs to the first preset interaction type and the display duration of the book query page is greater than the first preset duration, it is determined that the reading user is not in the book reading state. Among them, the display duration of the book query page is used to reflect the duration of the user in the book search state. Since the user interaction operation of the first preset interaction type is an operation that has nothing to do with the reading process, it means that the user has been performing non-reading operations such as book search. If the display time of the book query page is longer than the first preset time, it means The user is in the process of frequently browsing e-books, and he is obviously not in a book-reading state at this time. In other words, even if the frequency of the user performing interactive operations is not high, because the user stays in the book search process for a long time, it means that the user needs to obtain more information to improve the search efficiency. For example, when a user browses UGC (User Generated Content) information through a book query page, it means that the user is not yet in a book reading state.
另外,还可以进一步结合相邻的至少两个用户交互操作的操作类型是否 相同进行辅助判断。具体地,当用户交互操作的操作类型属于第一预设交互类型且相邻的N个用户交互操作的操作类型相同时,说明阅读用户未处于书籍阅读状态。其中,N为大于1的自然数。例如,实际情况中,若每相邻的两个用户交互操作的操作类型均不相同,则说明用户此时处于主动查找的阶段,有较强的查找意愿;反之,若相邻的N个用户交互操作的操作类型相同,比如均为页面滑动操作,则说明用户当前可能处于被动查找阶段,即:仅仅依靠行为惯性进行简单交互,不存在较强的查找意愿。此时,为了缓解用户的视觉疲劳,提升用户的查找效率,需要通过音频方式为用户提供更多的辅助信息。In addition, it is also possible to further determine whether the operation types of at least two adjacent user interaction operations are the same. Specifically, when the operation type of the user interaction operation belongs to the first preset interaction type and the operation types of the N adjacent user interaction operations are the same, it indicates that the reading user is not in the book reading state. Among them, N is a natural number greater than 1. For example, in actual situations, if the operation types of the interactive operations of every two adjacent users are not the same, it means that the user is in the active search stage at this time and has a strong willingness to search; on the contrary, if the adjacent N users The operation types of the interactive operations are the same, such as page sliding operations, indicating that the user may currently be in the passive search stage, that is, simply relying on behavioral inertia to perform simple interactions, and there is no strong search willingness. At this time, in order to relieve the user's visual fatigue and improve the user's search efficiency, it is necessary to provide the user with more auxiliary information through audio.
通过上述方式能够判断用户当前处于非阅读状态,从而需要进一步执行后续步骤。实际情况中,用户可能已经查找到目标书籍并且已经进入书籍阅读状态,为了避免在用户已经进入书籍阅读状态后播放音频对用户造成干扰,在本实施例中,进一步通过判断用户交互操作的操作类型是否属于第二预设交互类型来确定用户当前是否已进入书籍阅读状态。其中,第二预设交互类型主要是指与书籍阅读状态相关的类型,例如,包括以下中的至少一个:加入书架类型、阅读正文类型、以及书籍获取类型。其中,加入书架类型的交互操作相当于书籍收藏行为,作用在于将书籍添加到用户书架中以便于阅读;阅读正文类型的交互操作通常通过书籍试读入口或电子书阅读入口触发,用于展示电子书正文以供用户阅读;书籍获取类型用于从电子书数据库中获取并下载对应的电子书资源,以便于阅读。由此可见,上述类型的交互操作均说明用户已经查找到目标书籍并已启动阅读过程。为了避免在阅读过程中对用户造成干扰,需要准确识别用户的阅读状态。Through the above method, it can be determined that the user is currently in a non-reading state, so that further subsequent steps need to be performed. In actual situations, the user may have found the target book and has entered the book reading state. In order to avoid interference to the user by playing audio after the user has entered the book reading state, in this embodiment, the user interaction operation type is further determined Whether it belongs to the second preset interaction type is used to determine whether the user has currently entered the book reading state. Wherein, the second preset interaction type mainly refers to a type related to the reading state of a book, for example, it includes at least one of the following: a book shelf type, a reading text type, and a book acquisition type. Among them, the interactive operation of adding the bookshelf type is equivalent to the book collection behavior, and the function is to add books to the user's bookshelf for easy reading; the interactive operation of reading the text type is usually triggered by the book trial entrance or the e-book reading entrance to display the electronic The text of the book is for users to read; the book acquisition type is used to acquire and download the corresponding e-book resources from the e-book database for easy reading. It can be seen that the foregoing types of interactive operations all indicate that the user has found the target book and has started the reading process. In order to avoid causing interference to the user during the reading process, it is necessary to accurately identify the user's reading state.
在本实施例中,当用户交互操作的操作类型属于第二预设交互类型且持续时长大于第二预设时长时,确定阅读用户处于书籍阅读状态。实际情况中,可能存在用户试读几页后发现不感兴趣而离开的情况,为了避免上述情况,在本实施例中,当监测到用户交互操作的操作类型属于第二预设交互类型时,进一步监测持续时长是否大于第二预设时长。其中,该持续时长是指用户阅读电子书正文的时长,若电子书正文页面的显示时长超过预设第二预设时长,则说明用户已沉浸在阅读过程之中,此时,应避免播放音频而打扰用户。In this embodiment, when the operation type of the user interaction operation belongs to the second preset interaction type and the duration is greater than the second preset duration, it is determined that the reading user is in a book reading state. In actual situations, there may be situations where the user finds that he is not interested and leaves after trying to read a few pages. In order to avoid the above situation, in this embodiment, when it is monitored that the operation type of the user interaction operation belongs to the second preset interaction type, further Whether the monitoring duration is greater than the second preset duration. Among them, the duration refers to the length of time the user reads the body of the e-book. If the display time of the e-book body page exceeds the preset second preset duration, it means that the user has been immersed in the reading process. At this time, avoid playing audio And bother users.
另外,除根据阅读时长判断用户是否已沉浸在阅读过程之外,还可以进一步根据相邻的至少两个用户交互操作的操作类型是否相同来判断用户是 否已沉浸在阅读过程中。相应地,当用户交互操作的操作类型属于第二预设交互类型且相邻的M个用户交互操作的操作类型相同时,确定阅读用户处于书籍阅读状态。其中,M为大于1的自然数。在该示例中,第二预设交互类型进一步包括各类与书籍阅读过程相关的操作类型,如翻页操作、笔记操作、标记操作等。相应地,通过检测相邻的M个第二预设交互类型的用户交互操作的操作类型是否相同能够判断用户当前是否处于深度阅读状态。例如,若用户连续执行多次翻页操作,则说明用户已沉浸在阅读过程中,处于深度阅读状态。In addition, in addition to judging whether the user has been immersed in the reading process according to the reading time, it is also possible to further judge whether the user has been immersed in the reading process according to whether the operation types of at least two adjacent user interaction operations are the same. Correspondingly, when the operation type of the user interaction operation belongs to the second preset interaction type and the operation types of the adjacent M user interaction operations are the same, it is determined that the reading user is in the book reading state. Among them, M is a natural number greater than 1. In this example, the second preset interaction type further includes various types of operations related to the book reading process, such as page turning operations, note operations, and marking operations. Correspondingly, it can be determined whether the user is currently in a deep reading state by detecting whether the operation types of the user interaction operations of the adjacent M second preset interaction types are the same. For example, if the user performs multiple page turning operations in succession, it means that the user has been immersed in the reading process and is in a deep reading state.
另外,需要说明的是,在本实施例中,在确定各次用户交互操作的操作类型,根据各次用户交互操作的操作类型判断阅读用户是否处于书籍阅读状态之后,进一步包括以下操作:当判断结果为是时,监测阅读用户是否退出书籍阅读状态,并在监测到阅读用户退出书籍阅读状态后,重新执行动态监测阅读用户针对书籍查询页面触发的各次用户交互操作的步骤。也就是说,只要用户退出了书籍阅读状态,则需要重新监测用户交互操作,以便在用户处于书籍查询阶段时为其播放音频内容。In addition, it should be noted that in this embodiment, after determining the operation type of each user interaction operation, and judging whether the reading user is in the book reading state according to the operation type of each user interaction operation, the following operations are further included: When the result is yes, monitor whether the reading user exits the book reading state, and after monitoring that the reading user exits the book reading state, re-execute the steps of dynamically monitoring each user interaction operation triggered by the reading user on the book query page. In other words, as long as the user exits the book reading state, the user interaction operation needs to be re-monitored to play audio content for the user when the user is in the book query stage.
步骤S230:当判断结果为否时,在书籍查询页面中展示音频播放元件,通过音频播放元件在书籍查询页面的展示过程中播放预设的音频内容。Step S230: When the judgment result is no, display the audio playback element on the book query page, and play the preset audio content during the display process of the book query page through the audio playback element.
具体地,为了使音频内容与用户当前的浏览操作更加匹配,在本步骤中,首先,获取书籍查询页面中的实时浏览内容;然后,确定实时浏览内容的内容类型,获取与该内容类型相对应的音频资源文件,通过音频播放元件播放与该内容类型相对应的音频资源文件。其中,实时浏览内容的内容类型包括以下中的至少一种:电子书类型、有声书类型、以及用户互动类型;其中,与电子书类型相对应的音频资源文件包括:与电子书相对应的书籍简介文件;与有声书类型相对应的音频资源文件包括:有声书中包含的音频片段文件;与用户互动类型相对应的音频资源文件包括:背景音乐文件。Specifically, in order to make the audio content more compatible with the user's current browsing operation, in this step, firstly, obtain the real-time browsing content in the book query page; then, determine the content type of the real-time browsing content, and obtain the content type corresponding to the content type. The audio resource file corresponding to the content type is played through the audio player component. Wherein, the content type of real-time browsing content includes at least one of the following: e-book type, audio book type, and user interaction type; wherein, the audio resource file corresponding to the e-book type includes: books corresponding to the e-book Introduction file; audio resource files corresponding to the audio book type include: audio fragment files contained in the audio book; audio resource files corresponding to the user interaction type include: background music files.
举例而言,当书籍查询页面中当前展示的实时浏览内容为电子书类型时,例如用户正在浏览电子书榜单数据,可以根据用户的历史行为数据选择与当前用户匹配的目标电子书,并将选择的目标电子书的书籍简介文件作为待播放的音频资源文件,以供用户在找书过程中收听目标电子书的简介信息,从而便于用户快速找到感兴趣的书籍。当书籍查询页面中当前展示的实时浏览内容为有声书类型时,例如用户正在浏览有声书榜单数据,可以根据用户的历史行为数据选择与当前用户匹配的目标有声书,并将选择的目标有 声书中包含的精彩音频片段作为待播放的音频资源文件,以供用户在找书过程中收听目标有声书的部分内容,从而便于用户快速找到感兴趣的书籍。当书籍查询页面中当前展示的实时浏览内容为用户互动类型时,例如用户正在浏览UGC内容信息,可以为用户播放背景音乐文件,如选择轻音乐等以供用户缓解阅读疲劳。For example, when the real-time browsing content currently displayed on the book query page is an e-book type, for example, the user is browsing e-book list data, the target e-book that matches the current user can be selected based on the user’s historical behavior data, and The book profile file of the selected target e-book is used as the audio resource file to be played, so that the user can listen to the profile information of the target e-book during the book search process, so that the user can quickly find books of interest. When the real-time browsing content currently displayed in the book query page is an audio book type, for example, the user is browsing the audio book list data, the target audio book that matches the current user can be selected based on the user's historical behavior data, and the selected target audio book The wonderful audio clips contained in the book are used as audio resource files to be played for the user to listen to part of the target audio book during the book search process, so that the user can quickly find the book of interest. When the real-time browsing content currently displayed in the book query page is a user interaction type, for example, the user is browsing UGC content information, background music files can be played for the user, such as selecting light music, so that the user can relieve reading fatigue.
另外,还可以进一步结合实时浏览内容的内容种类确定音频内容。例如,当实时浏览内容的内容种类为儿童种类时,如儿童心理、童书排行等,则可以播放儿童知识类型的音频内容。又如,当实时浏览内容的内容种类为精品课程时,则可以课程试听类型的音频内容。In addition, the audio content can be further determined by combining the content type of the real-time browsing content. For example, when the content type of the real-time browsing content is a child type, such as children's psychology, children's book ranking, etc., audio content of the child's knowledge type can be played. For another example, when the content type of the real-time browsing content is an excellent course, the audio content of the course can be auditioned.
另外,除根据实时浏览内容确定音频内容外,还可以根据用户等级确定音频内容。具体地,首先获取阅读用户的历史用户数据,根据历史用户数据确定阅读用户的用户等级;然后,获取与用户等级相对应的音频资源文件,通过音频播放元件播放与用户等级相对应的音频资源文件。其中,用户等级可以根据用户的历史浏览书籍量、历史领取数据量进行划分,例如,划分为初级用户以及高级用户。由于初级用户通常为浏览书籍数量较少的用户,因此,可以针对该部分用户播放与书籍查询过程相关的引导类音频,以引导用户快速找书。In addition, in addition to determining the audio content based on the real-time browsing content, the audio content can also be determined based on the user level. Specifically, first obtain the historical user data of the reading user, and determine the user level of the reading user according to the historical user data; then, obtain the audio resource file corresponding to the user level, and play the audio resource file corresponding to the user level through the audio playback element . Among them, the user level can be divided according to the amount of historical books browsed and the amount of historical collected data of the user, for example, divided into primary users and advanced users. Since primary users are usually users who browse a small number of books, guidance audio related to the book query process can be played for this part of users to guide users to find books quickly.
另外,具体展示时,在书籍查询页面中以浮窗形式展示音频播放元件。该音频播放元件可位于页面的底部或顶部等预设位置,或者,也可以通过计算页面中的各个区域的像素值,自动识别页面中的空白区域,从而将音频播放元件展示在页面的空白区域,以不遮挡页面内容为宜。在播放音频内容之前,可通过弹窗方式提示用户,并在收到用户的确认消息后进行播放,或者也可以直接播放音频内容,本公开对具体细节不做限定。In addition, during the specific display, the audio playback components are displayed in the form of floating windows on the book query page. The audio playback component can be located at a preset position such as the bottom or top of the page, or it can automatically identify the blank area on the page by calculating the pixel value of each area in the page, so that the audio playback component can be displayed in the blank area of the page , It is better not to obscure the content of the page. Before playing the audio content, the user can be prompted by a pop-up window, and the user can be played after receiving the user's confirmation message, or the audio content can be played directly. The present disclosure does not limit the specific details.
为了便于用户控制播放过程,音频播放元件进一步包含控制入口元素;其中,控制入口元素包括以下中的至少一个:播放入口元素、暂停入口元素、跳转入口元素、关闭入口元素、以及切换入口元素。其中,播放入口元素用于触发播放操作,暂停入口元素用于在播放过程中执行暂停操作,关闭入口元素用于关闭音频播放元件,切换入口元素用于切换至其他音频内容。跳转入口元素用于直接跳转到与当前播放内容相关联的目标内容,例如,当播放内容为电子书对应的书籍简介文件时,可通过跳转入口元素直接跳转到与该书籍简介文件相对应的电子书内容,以供用户快速浏览;当播放内容为有声书中包含的音频片段文件时,可通过跳转入口元素直接跳转到该音频片段文 件所在的有声书,以供用户快速浏览。In order to facilitate the user to control the playback process, the audio playback element further includes a control entry element; wherein the control entry element includes at least one of the following: a play entry element, a pause entry element, a jump entry element, a close entry element, and a switch entry element. Among them, the play entry element is used to trigger a play operation, the pause entry element is used to perform a pause operation during playback, the close entry element is used to close the audio playback element, and the switch entry element is used to switch to other audio content. The jump entry element is used to jump directly to the target content associated with the current playing content. For example, when the playing content is a book introduction file corresponding to an e-book, you can directly jump to the book introduction file through the jump entry element Corresponding e-book content for users to quickly browse; when the playback content is an audio clip file contained in an audio book, you can directly jump to the audio book where the audio clip file is located through the jump entry element for the user to quickly Browse.
另外,可选的,为了使用户具有更多的选择空间,在本步骤中,可以先向用户展示音频播放提示消息,并在接收到针对该音频播放提示消息触发的确认播放请求时,通过音频播放元件在书籍查询页面的展示过程中播放预设的音频内容。其中,音频播放提示消息可以与音频播放元件同时展示,也可以先展示音频播放提示消息,并在收到确认播放请求后再展示音频播放元件,本公开对具体细节不做限定。在音频播放提示消息中包含确认入口以及取消入口。当用户希望收听音频内容时,可通过确认入口触发确认播放请求,从而通过音频播放元件在书籍查询页面的展示过程中播放预设的音频内容;当用户不希望收听音频内容时,可通过取消入口触发取消播放请求,从而取消音频播放元件的展示及播放过程。该方式能够使用户灵活根据当前阅读场景进行选择。In addition, optionally, in order to allow the user to have more choices, in this step, the audio playback prompt message can be shown to the user first, and when a confirmation playback request triggered by the audio playback prompt message is received, the audio The playback component plays the preset audio content during the display of the book query page. Among them, the audio playback prompt message can be displayed simultaneously with the audio playback element, or the audio playback prompt message can be displayed first, and the audio playback element can be displayed after receiving the confirmation playback request. The specific details are not limited in the present disclosure. The audio playback prompt message contains the confirmation entry and the cancellation entry. When the user wants to listen to the audio content, the confirmation request can be triggered through the confirmation entry, so that the audio playback element can play the preset audio content during the display of the book query page; when the user does not want to listen to the audio content, the entry can be canceled A request to cancel the playback is triggered, thereby canceling the display and playback process of the audio playback component. This method enables the user to flexibly choose according to the current reading scene.
步骤S240:每当检测到通过控制入口元素触发的控制指令时,确定控制指令的指令类型,根据指令类型生成与控制指令相对应的正反馈数据或负反馈数据;根据已生成的正反馈数据或负反馈数据对预设的内容推送模型进行修正。Step S240: Whenever a control instruction triggered by a control entry element is detected, determine the instruction type of the control instruction, and generate positive feedback data or negative feedback data corresponding to the control instruction according to the instruction type; according to the generated positive feedback data or Negative feedback data revises the preset content push model.
具体地,在本实施例中,为了使播放的音频内容更加迎合当前用户的兴趣偏好,在通过音频播放元件在书籍查询页面的展示过程中播放预设的音频内容时,通过以下方式实现:获取与阅读用户相对应的用户属性数据,根据预设的内容推送模型确定与用户属性数据相匹配的音频内容。其中,用户属性数据包含与用户的操作行为相关的数据,以及与用户的基本特征(如年龄、性别等)相关的数据,相应地,预设的内容推送模型根据多个样本用户的样本属性数据训练得到,用于挖掘用户属性数据与其偏好的音频内容之间的对应关系。因此,通过预设的内容推送模型能够准确确定与用户属性数据相匹配的音频内容,从而使播放的音频内容与用户的兴趣偏好匹配。Specifically, in this embodiment, in order to make the played audio content more catering to the current user’s interest preferences, when the audio playback element is used to play the preset audio content during the display of the book query page, this is achieved in the following manner: Obtaining The user attribute data corresponding to the reading user, and the audio content matching the user attribute data is determined according to a preset content push model. Among them, the user attribute data includes data related to the user's operating behavior and data related to the user's basic characteristics (such as age, gender, etc.). Accordingly, the preset content push model is based on the sample attribute data of multiple sample users It is trained and used to mine the correspondence between user attribute data and its preferred audio content. Therefore, the preset content push model can accurately determine the audio content that matches the user attribute data, so that the played audio content matches the user's interest preferences.
相应地,在本实施例中,进一步检测到通过控制入口元素触发的控制指令,当检测到通过跳转入口元素触发的跳转指令时,说明用户对正在播放的内容感兴趣,因而才会跳转到对应的书籍页面,因此,生成正反馈数据;反之,当检测到通过切换入口元素触发的切换指令时,说明用户对正在播放的内容不感兴趣,因此,生成负反馈数据。预设的内容推送模型根据反馈的正反馈数据以及正反馈数据得到增量样本集合,并根据增量样本集合进行更新,以使最终的推送结果更加准确。Correspondingly, in this embodiment, the control instruction triggered by the control entry element is further detected. When the jump instruction triggered by the jump entry element is detected, it indicates that the user is interested in the content being played, and therefore the jump Go to the corresponding book page, therefore, generate positive feedback data; conversely, when a switch instruction triggered by a switch entry element is detected, it means that the user is not interested in the content being played, therefore, negative feedback data is generated. The preset content push model obtains an incremental sample set based on the feedback positive feedback data and positive feedback data, and updates it based on the incremental sample set to make the final push result more accurate.
综上可知,该方式能够根据用户交互操作的操作类型以及操作频次准确判断用户当前是否处于书籍阅读状态,若用户未处于书籍阅读状态,则说明用户仍处于书籍浏览及筛选的阶段,相应地,通过音频播放元件播放音频内容的方式舒缓用户的视觉疲劳,使用户能够借助听觉感官方式获取更多有价值的信息,从而为书籍筛选过程提供便利。其中,音频内容可以结合用户当前正在浏览的页面内容确定,从而能够为用户的浏览过程提供便利。并且,还可以进一步监测用户针对音频内容触发的反馈操作,以使后续播放的音频内容与用户的兴趣偏好更加匹配。In summary, this method can accurately determine whether the user is currently in the book reading state according to the type of user interaction operation and the operation frequency. If the user is not in the book reading state, it means that the user is still in the stage of book browsing and screening. Accordingly, The way of playing audio content through the audio playback element relieves the user's visual fatigue, enables the user to obtain more valuable information with the aid of auditory and sensory methods, thereby facilitating the book screening process. Among them, the audio content can be determined in combination with the content of the page currently being browsed by the user, so as to provide convenience for the user's browsing process. In addition, the feedback operation triggered by the user on the audio content can be further monitored, so that the subsequently played audio content more closely matches the user's interest and preferences.
实施例三Example three
本公开实施例提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的书籍查询页面的展示方法。The embodiments of the present disclosure provide a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one executable instruction, and the computer-executable instruction can execute any of the foregoing method embodiments. The display method of the book query page.
可执行指令具体可以用于使得处理器执行以下操作:The executable instructions can be specifically used to cause the processor to perform the following operations:
在书籍查询页面的展示过程中,动态监测阅读用户针对书籍查询页面触发的用户交互操作;During the display process of the book query page, dynamically monitor the user interaction operations triggered by the reading user on the book query page;
确定用户交互操作的操作类型,根据用户交互操作的操作类型判断阅读用户是否处于书籍阅读状态;Determine the operation type of the user interaction operation, and determine whether the reading user is in the book reading state according to the operation type of the user interaction operation;
当判断结果为否时,在书籍查询页面中展示音频播放元件。When the judgment result is no, the audio playback component is displayed on the book query page.
在一种可选的实现方式中,可执行指令使处理器执行以下至少一种操作:In an optional implementation manner, the executable instruction causes the processor to perform at least one of the following operations:
当用户交互操作的操作类型属于第一预设交互类型且操作频次大于第一预设频次时,确定阅读用户未处于书籍阅读状态;When the operation type of the user interaction operation belongs to the first preset interaction type and the operation frequency is greater than the first preset frequency, it is determined that the reading user is not in a book reading state;
当用户交互操作的操作类型属于第一预设交互类型且书籍查询页面的展示时长大于第一预设时长时,确定阅读用户未处于书籍阅读状态。When the operation type of the user interaction operation belongs to the first preset interaction type and the display duration of the book query page is greater than the first preset duration, it is determined that the reading user is not in a book reading state.
在一种可选的实现方式中,第一预设交互类型包括以下中的至少一个:页面滑动类型、点击类型、以及浏览类型。In an optional implementation manner, the first preset interaction type includes at least one of the following: a page sliding type, a click type, and a browsing type.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
当用户交互操作的操作类型属于第二预设交互类型时,确定阅读用户处于书籍阅读状态;When the operation type of the user interaction operation belongs to the second preset interaction type, it is determined that the reading user is in a book reading state;
其中,书籍获取类型第二预设交互类型包括以下中的至少一个:加入书架、阅读正文、以及书籍获取。Wherein, the second preset interaction type of the book acquisition type includes at least one of the following: adding a bookshelf, reading the text, and book acquisition.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
当判断结果为是时,监测阅读用户是否退出书籍阅读状态,并在监测到阅读用户退出书籍阅读状态后,重新执行动态监测阅读用户针对书籍查询页面触发的各次用户交互操作的步骤。When the judgment result is yes, monitor whether the reading user exits the book reading state, and after monitoring that the reading user exits the book reading state, re-execute the step of dynamically monitoring each user interaction operation triggered by the reading user on the book query page.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
在书籍查询页面中展示音频播放元件,通过音频播放元件在书籍查询页面的展示过程中播放预设的音频内容。The audio playback component is displayed on the book query page, and the preset audio content is played during the display of the book query page through the audio playback component.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
获取书籍查询页面中的实时浏览内容;Get the real-time browsing content in the book query page;
确定实时浏览内容的内容类型,获取与内容类型相对应的音频资源文件,通过音频播放元件播放与内容类型相对应的音频资源文件。Determine the content type of the real-time browsing content, obtain the audio resource file corresponding to the content type, and play the audio resource file corresponding to the content type through the audio playback element.
在一种可选的实现方式中,实时浏览内容的内容类型包括以下中的至少一种:电子书类型、有声书类型、以及用户互动类型;其中,In an optional implementation manner, the content type of the real-time browsing content includes at least one of the following: an e-book type, an audio book type, and a user interaction type; among them,
与电子书类型相对应的音频资源文件包括:与电子书相对应的书籍简介文件;The audio resource files corresponding to the type of e-book include: book introduction files corresponding to the e-book;
与有声书类型相对应的音频资源文件包括:有声书中包含的音频片段文件;The audio resource files corresponding to the audio book type include: audio clip files contained in the audio book;
与用户互动类型相对应的音频资源文件包括:背景音乐文件。The audio resource files corresponding to the user interaction type include: background music files.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
获取阅读用户的历史用户数据,根据历史用户数据确定阅读用户的用户等级;Obtain the historical user data of the reading user, and determine the user level of the reading user based on the historical user data;
获取与用户等级相对应的音频资源文件,通过音频播放元件播放与用户等级相对应的音频资源文件。Acquire the audio resource file corresponding to the user level, and play the audio resource file corresponding to the user level through the audio playback element.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
在书籍查询页面中以浮窗形式展示音频播放元件;并且,音频播放元件进一步包含控制入口元素;其中,控制入口元素包括以下中的至少一个:播放入口元素、暂停入口元素、跳转入口元素、关闭入口元素、以及切换入口元素。The audio playback element is displayed in the form of a floating window on the book query page; and the audio playback element further includes a control entry element; wherein the control entry element includes at least one of the following: a play entry element, a pause entry element, a jump entry element, Close the entry element, and switch the entry element.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
获取与阅读用户相对应的用户属性数据,根据预设的内容推送模型确定与用户属性数据相匹配的音频内容;Obtain user attribute data corresponding to the reading user, and determine the audio content that matches the user attribute data according to a preset content push model;
每当检测到通过控制入口元素触发的控制指令时,确定控制指令的指令类型,根据指令类型生成与控制指令相对应的正反馈数据或负反馈数据;根据已生成的正反馈数据或负反馈数据对内容推送模型进行修正。Whenever a control instruction triggered by a control entry element is detected, the instruction type of the control instruction is determined, and the positive feedback data or negative feedback data corresponding to the control instruction is generated according to the instruction type; according to the generated positive feedback data or negative feedback data Revise the content push model.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
展示音频播放提示消息,并在接收到针对音频播放提示消息触发的确认播放请求时,通过音频播放元件在书籍查询页面的展示过程中播放预设的音频内容。The audio playback prompt message is displayed, and when a playback confirmation request triggered by the audio playback prompt message is received, the audio playback element is used to play the preset audio content during the display process of the book query page.
实施例四Example four
图3示出了根据本公开另一个实施例的一种电子设备的结构示意图,本公开具体实施例并不对电子设备的具体实现做限定。FIG. 3 shows a schematic structural diagram of an electronic device according to another embodiment of the present disclosure, and the specific embodiment of the present disclosure does not limit the specific implementation of the electronic device.
如图3所示,该电子设备可以包括:处理器(processor)302、通信接口(Communications Interface)304、存储器(memory)306、以及通信总线308。As shown in FIG. 3, the electronic device may include a processor (processor) 302, a communication interface (Communications Interface) 304, a memory (memory) 306, and a communication bus 308.
其中:处理器302、通信接口304、以及存储器306通过通信总线308完成相互间的通信。通信接口304,用于与其它设备比如客户端或其它服务器等的网元通信。处理器302,用于执行程序310,具体可以执行上述书籍查询页面的展示方法实施例中的相关步骤。Among them, the processor 302, the communication interface 304, and the memory 306 communicate with each other through the communication bus 308. The communication interface 304 is used to communicate with other devices such as network elements such as clients or other servers. The processor 302 is configured to execute the program 310, and specifically can execute the relevant steps in the embodiment of the method for displaying the book query page.
具体地,程序310可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the program 310 may include program code, and the program code includes computer operation instructions.
处理器302可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本公开实施例的一个或多个集成电路。电子设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 302 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 disclosure. The one or more processors included in the electronic device may be the same type of processor, such as one or more CPUs, or different types of processors, such as one or more CPUs and one or more ASICs.
存储器306,用于存放程序310。存储器306可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), for example, at least one disk memory.
程序310具体可以用于使得处理器302执行以下操作:The program 310 may be specifically used to cause the processor 302 to perform the following operations:
在书籍查询页面的展示过程中,动态监测阅读用户针对书籍查询页面触 发的用户交互操作;During the display of the book query page, dynamically monitor user interactions triggered by the reading user on the book query page;
确定用户交互操作的操作类型,根据用户交互操作的操作类型判断阅读用户是否处于书籍阅读状态;Determine the operation type of the user interaction operation, and determine whether the reading user is in the book reading state according to the operation type of the user interaction operation;
当判断结果为否时,在书籍查询页面中展示音频播放元件,通过音频播放元件在书籍查询页面的展示过程中播放预设的音频内容。When the judgment result is no, the audio playback element is displayed on the book query page, and the preset audio content is played during the display process of the book query page through the audio playback element.
在一种可选的实现方式中,可执行指令使处理器执行以下至少一种操作:In an optional implementation manner, the executable instruction causes the processor to perform at least one of the following operations:
当用户交互操作的操作类型属于第一预设交互类型且操作频次大于第一预设频次时,确定阅读用户未处于书籍阅读状态;When the operation type of the user interaction operation belongs to the first preset interaction type and the operation frequency is greater than the first preset frequency, it is determined that the reading user is not in a book reading state;
当用户交互操作的操作类型属于第一预设交互类型且书籍查询页面的展示时长大于第一预设时长时,确定阅读用户未处于书籍阅读状态。When the operation type of the user interaction operation belongs to the first preset interaction type and the display duration of the book query page is greater than the first preset duration, it is determined that the reading user is not in a book reading state.
在一种可选的实现方式中,第一预设交互类型包括以下中的至少一个:页面滑动类型、点击类型、以及浏览类型。In an optional implementation manner, the first preset interaction type includes at least one of the following: a page sliding type, a click type, and a browsing type.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
当用户交互操作的操作类型属于第二预设交互类型时,确定阅读用户处于书籍阅读状态;When the operation type of the user interaction operation belongs to the second preset interaction type, it is determined that the reading user is in a book reading state;
其中,书籍获取类型第二预设交互类型包括以下中的至少一个:加入书架、阅读正文、以及书籍获取。Wherein, the second preset interaction type of the book acquisition type includes at least one of the following: adding a bookshelf, reading the text, and book acquisition.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
当判断结果为是时,监测阅读用户是否退出书籍阅读状态,并在监测到阅读用户退出书籍阅读状态后,重新执行动态监测阅读用户针对书籍查询页面触发的各次用户交互操作的步骤。When the judgment result is yes, monitor whether the reading user exits the book reading state, and after monitoring that the reading user exits the book reading state, re-execute the step of dynamically monitoring each user interaction operation triggered by the reading user on the book query page.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
在书籍查询页面中展示音频播放元件,通过音频播放元件在书籍查询页面的展示过程中播放预设的音频内容。The audio playback component is displayed on the book query page, and the preset audio content is played during the display of the book query page through the audio playback component.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
获取书籍查询页面中的实时浏览内容;Get the real-time browsing content in the book query page;
确定实时浏览内容的内容类型,获取与内容类型相对应的音频资源文件,通过音频播放元件播放与内容类型相对应的音频资源文件。Determine the content type of the real-time browsing content, obtain the audio resource file corresponding to the content type, and play the audio resource file corresponding to the content type through the audio playback element.
在一种可选的实现方式中,实时浏览内容的内容类型包括以下中的至少一种:电子书类型、有声书类型、以及用户互动类型;其中,In an optional implementation manner, the content type of the real-time browsing content includes at least one of the following: an e-book type, an audio book type, and a user interaction type; among them,
与电子书类型相对应的音频资源文件包括:与电子书相对应的书籍简介文件;The audio resource files corresponding to the type of e-book include: book introduction files corresponding to the e-book;
与有声书类型相对应的音频资源文件包括:有声书中包含的音频片段文件;The audio resource files corresponding to the audio book type include: audio clip files contained in the audio book;
与用户互动类型相对应的音频资源文件包括:背景音乐文件。The audio resource files corresponding to the user interaction type include: background music files.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
获取阅读用户的历史用户数据,根据历史用户数据确定阅读用户的用户等级;Obtain the historical user data of the reading user, and determine the user level of the reading user based on the historical user data;
获取与用户等级相对应的音频资源文件,通过音频播放元件播放与用户等级相对应的音频资源文件。Acquire the audio resource file corresponding to the user level, and play the audio resource file corresponding to the user level through the audio playback element.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
在书籍查询页面中以浮窗形式展示音频播放元件;并且,音频播放元件进一步包含控制入口元素;其中,控制入口元素包括以下中的至少一个:播放入口元素、暂停入口元素、跳转入口元素、关闭入口元素、以及切换入口元素。The audio playback element is displayed in the form of a floating window on the book query page; and the audio playback element further includes a control entry element; wherein the control entry element includes at least one of the following: a play entry element, a pause entry element, a jump entry element, Close the entry element, and switch the entry element.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
获取与阅读用户相对应的用户属性数据,根据预设的内容推送模型确定与用户属性数据相匹配的音频内容;Obtain user attribute data corresponding to the reading user, and determine the audio content that matches the user attribute data according to a preset content push model;
每当检测到通过控制入口元素触发的控制指令时,确定控制指令的指令类型,根据指令类型生成与控制指令相对应的正反馈数据或负反馈数据;根据已生成的正反馈数据或负反馈数据对内容推送模型进行修正。Whenever a control instruction triggered by a control entry element is detected, the instruction type of the control instruction is determined, and the positive feedback data or negative feedback data corresponding to the control instruction is generated according to the instruction type; according to the generated positive feedback data or negative feedback data Revise the content push model.
在一种可选的实现方式中,可执行指令使处理器执行以下操作:In an alternative implementation, the executable instructions cause the processor to perform the following operations:
展示音频播放提示消息,并在接收到针对音频播放提示消息触发的确认播放请求时,通过音频播放元件在书籍查询页面的展示过程中播放预设的音频内容。The audio playback prompt message is displayed, and when a playback confirmation request triggered by the audio playback prompt message is received, the audio playback element is used to play the preset audio content during the display process of the book query page.
在此提供的算法和显示不与任何特定计算机、虚拟***或者其它设备固有相关。各种通用***也可以与基于在此的示教一起使用。根据上面的描述,构造这类***所要求的结构是显而易见的。此外,本公开也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本公开的内容, 并且上面对特定语言所做的描述是为了披露本公开的最佳实施方式。The algorithms and displays provided here are not inherently related to any particular computer, virtual system or other equipment. Various general-purpose systems can also be used with the teaching based on this. Based on the above description, the structure required to construct this type of system is obvious. In addition, the present disclosure is not directed to any specific programming language. It should be understood that various programming languages can be used to implement the content of the present disclosure described herein, and the above description of a specific language is for the purpose of disclosing the best embodiment of the present disclosure.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本公开的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the instructions provided here, a lot of specific details are explained. However, it can be understood that the embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures, and technologies are not shown in detail, so as not to obscure the understanding of this specification.
类似地,应当理解,为了精简本公开并帮助理解各个公开方面中的一个或多个,在上面对本公开的示例性实施例的描述中,本公开的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本公开要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,公开方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本公开的单独实施例。Similarly, it should be understood that in order to simplify the present disclosure and help understand one or more of the various disclosed aspects, in the above description of the exemplary embodiments of the present disclosure, the various features of the present disclosure are sometimes grouped together into a single embodiment, Figure, or its description. However, the disclosed method should not be interpreted as reflecting the intention that the claimed disclosure requires more features than those explicitly recorded in each claim. More precisely, as reflected in the following claims, the disclosure aspect lies in less than all the features of a single embodiment previously disclosed. Therefore, the claims following the specific embodiment are thus explicitly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present disclosure.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that it is possible to adaptively change the modules in the device in the embodiment and set them in one or more devices different from the embodiment. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition, they can be divided into multiple sub-modules or sub-units or sub-components. Except that at least some of such features and/or processes or units are mutually exclusive, any combination can be used to compare all the features disclosed in this specification (including the accompanying claims, abstract and drawings) and any method or methods disclosed in this manner or All the processes or units of the equipment are combined. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本公开的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art can understand that although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments means that they are within the scope of the present disclosure. And form different embodiments. For example, in the following claims, any one of the claimed embodiments can be used in any combination.
应该注意的是上述实施例对本公开进行说明而不是对本公开进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本公开可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the present disclosure, and those skilled in the art can design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of multiple such elements. The present disclosure can be realized by means of hardware including several different elements and by means of a suitably programmed computer. In the unit claims listing several devices, several of these devices may be embodied in the same hardware item. The use of the words first, second, and third, etc. do not indicate any order. These words can be interpreted as names.

Claims (26)

  1. 一种书籍查询页面的展示方法,包括:A display method for book query pages, including:
    在书籍查询页面的展示过程中,动态监测阅读用户针对所述书籍查询页面触发的用户交互操作;During the display process of the book query page, dynamically monitor user interaction operations triggered by the reading user on the book query page;
    确定用户交互操作的操作类型,根据所述用户交互操作的操作类型判断所述阅读用户是否处于书籍阅读状态;Determine the operation type of the user interaction operation, and determine whether the reading user is in a book reading state according to the operation type of the user interaction operation;
    当判断结果为否时,在所述书籍查询页面中展示音频播放元件。When the judgment result is no, the audio playback element is displayed on the book query page.
  2. 根据权利要求1所述的方法,其中,所述确定用户交互操作的操作类型,根据所述用户交互操作的操作类型判断所述阅读用户是否处于书籍阅读状态包括:The method according to claim 1, wherein the determining the operation type of the user interaction operation, and determining whether the reading user is in a book reading state according to the operation type of the user interaction operation comprises:
    进行下述至少一种处理:当用户交互操作的操作类型属于第一预设交互类型且操作频次大于第一预设频次时,确定所述阅读用户未处于书籍阅读状态;Perform at least one of the following processing: when the operation type of the user interaction operation belongs to the first preset interaction type and the operation frequency is greater than the first preset frequency, it is determined that the reading user is not in a book reading state;
    当用户交互操作的操作类型属于第一预设交互类型且所述书籍查询页面的展示时长大于第一预设时长时,确定所述阅读用户未处于书籍阅读状态。When the operation type of the user interaction operation belongs to the first preset interaction type and the display duration of the book query page is greater than the first preset duration, it is determined that the reading user is not in a book reading state.
  3. 根据权利要求2所述的方法,其中,所述第一预设交互类型包括以下中的至少一个:页面滑动类型、点击类型、以及浏览类型。The method according to claim 2, wherein the first preset interaction type includes at least one of the following: a page sliding type, a click type, and a browsing type.
  4. 根据权利要求1-3任一所述的方法,其中,所述确定用户交互操作的操作类型,根据所述用户交互操作的操作类型判断所述阅读用户是否处于书籍阅读状态包括:The method according to any one of claims 1 to 3, wherein the determining the operation type of the user interactive operation, and judging whether the reading user is in a book reading state according to the operation type of the user interactive operation comprises:
    当用户交互操作的操作类型属于第二预设交互类型时,确定所述阅读用户处于书籍阅读状态;When the operation type of the user interaction operation belongs to the second preset interaction type, it is determined that the reading user is in a book reading state;
    其中,所述第二预设交互类型包括以下中的至少一个:加入书架、阅读正文、以及书籍获取。Wherein, the second preset interaction type includes at least one of the following: adding a bookshelf, reading a text, and obtaining a book.
  5. 根据权利要求1-4任一所述的方法,其中,所述确定用户交互操作的操作类型,根据所述用户交互操作的操作类型判断所述阅读用户是否处于书籍阅读状态之后,进一步包括:The method according to any one of claims 1 to 4, wherein the determining the operation type of the user interaction operation, after judging whether the reading user is in a book reading state according to the operation type of the user interaction operation, further comprises:
    当判断结果为是时,监测所述阅读用户是否退出书籍阅读状态,并在监测到所述阅读用户退出书籍阅读状态后,重新执行所述动态监测阅读用户针对所述书籍查询页面触发的各次用户交互操作的步骤。When the judgment result is yes, monitor whether the reading user has exited the book reading state, and after monitoring that the reading user has exited the book reading state, re-execute the dynamic monitoring that the reading user triggers for the book query page User interaction steps.
  6. 根据权利要求1-5任一所述的方法,其中,所述在所述书籍查询页面中展示音频播放元件包括:5. The method according to any one of claims 1-5, wherein said displaying an audio playback element in the book query page comprises:
    在所述书籍查询页面中展示音频播放元件,通过所述音频播放元件在所述书籍查询页面的展示过程中播放预设的音频内容。An audio playback element is displayed in the book query page, and preset audio content is played through the audio playback element during the display process of the book query page.
  7. 根据权利要求6所述的方法,其中,所述在所述书籍查询页面中展示音频播放元件,通过所述音频播放元件在所述书籍查询页面的展示过程中播放预设的音频内容包括:7. The method according to claim 6, wherein said displaying an audio playing element in the book query page, and playing preset audio content through the audio playing element during the process of displaying the book query page comprises:
    获取所述书籍查询页面中的实时浏览内容;Acquiring real-time browsing content in the book query page;
    确定所述实时浏览内容的内容类型,获取与所述内容类型相对应的音频资源文件,通过所述音频播放元件播放所述与所述内容类型相对应的音频资源文件。The content type of the real-time browsing content is determined, the audio resource file corresponding to the content type is obtained, and the audio resource file corresponding to the content type is played through the audio playback element.
  8. 根据权利要求7所述的方法,其中,所述实时浏览内容的内容类型包括以下中的至少一种:电子书类型、有声书类型、以及用户互动类型;其中,The method according to claim 7, wherein the content type of the real-time browsing content includes at least one of the following: an e-book type, an audio book type, and a user interaction type; wherein,
    与电子书类型相对应的音频资源文件包括:与电子书相对应的书籍简介文件;The audio resource files corresponding to the type of e-book include: book introduction files corresponding to the e-book;
    与有声书类型相对应的音频资源文件包括:有声书中包含的音频片段文件;The audio resource files corresponding to the audio book type include: audio clip files contained in the audio book;
    与用户互动类型相对应的音频资源文件包括:背景音乐文件。The audio resource files corresponding to the user interaction type include: background music files.
  9. 根据权利要求6-7任一所述的方法,其中,所述在所述书籍查询页面中展示音频播放元件,通过所述音频播放元件在所述书籍查询页面的展示过程中播放预设的音频内容包括:7. The method according to any one of claims 6-7, wherein the audio playback element is displayed in the book query page, and a preset audio is played through the audio playback element during the display process of the book query page content include:
    获取所述阅读用户的历史用户数据,根据所述历史用户数据确定所述阅读用户的用户等级;Acquiring historical user data of the reading user, and determining the user level of the reading user according to the historical user data;
    获取与所述用户等级相对应的音频资源文件,通过所述音频播放元件播放所述与所述用户等级相对应的音频资源文件。Acquire the audio resource file corresponding to the user level, and play the audio resource file corresponding to the user level through the audio playback element.
  10. 根据权利要求6-9任一所述的方法,其中,所述在所述书籍查询页面中展示音频播放元件包括:9. The method according to any one of claims 6-9, wherein said displaying an audio playback element in the book query page comprises:
    在所述书籍查询页面中以浮窗形式展示音频播放元件;并且,所述音频播放元件进一步包含控制入口元素;其中,所述控制入口元素包括以下中的至少一个:播放入口元素、暂停入口元素、跳转入口元素、关闭入口元素、以及切换入口元素。The audio playback element is displayed in the form of a floating window on the book query page; and the audio playback element further includes a control entry element; wherein the control entry element includes at least one of the following: a play entry element, a pause entry element , Jump entry element, close entry element, and switch entry element.
  11. 根据权利要求10所述的方法,其中,通过所述音频播放元件在所述书籍查询页面的展示过程中播放预设的音频内容包括:获取与所述阅读用户相对应的用户属性数据,根据预设的内容推送模型确定与所述用户属性数据相匹配的音频内容;The method according to claim 10, wherein playing the preset audio content during the display of the book query page through the audio playing element comprises: obtaining user attribute data corresponding to the reading user, and according to the preset The set content push model determines the audio content that matches the user attribute data;
    则所述通过所述音频播放元件在所述书籍查询页面的展示过程中播放预设的音频内容之后,进一步包括:Then, after the audio playback element plays the preset audio content during the display process of the book query page, it further includes:
    每当检测到通过所述控制入口元素触发的控制指令时,确定所述控制指令的指令类型,根据所述指令类型生成与所述控制指令相对应的正反馈数据或负反馈数据;根据已生成的正反馈数据或负反馈数据对所述内容推送模型进行修正。Whenever a control instruction triggered by the control entry element is detected, the instruction type of the control instruction is determined, and the positive feedback data or negative feedback data corresponding to the control instruction is generated according to the instruction type; The positive feedback data or negative feedback data of, correct the content push model.
  12. 根据权利要求6-10任一所述的方法,其中,所述在所述书籍查询页面中展示音频播放元件,通过所述音频播放元件在所述书籍查询页面的展示过程中播放预设的音频内容包括:The method according to any one of claims 6-10, wherein the audio playback element is displayed in the book query page, and a preset audio is played through the audio playback element during the display process of the book query page content include:
    展示音频播放提示消息,并在接收到针对所述音频播放提示消息触发的确认播放请求时,通过所述音频播放元件在所述书籍查询页面的展示过程中播放预设的音频内容。An audio playback prompt message is displayed, and when a playback confirmation request triggered by the audio playback prompt message is received, the audio playback element is used to play the preset audio content during the display process of the book query page.
  13. 一种电子设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;An electronic device, comprising: a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface communicate with each other through the communication bus;
    所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行以下操作:The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
    在书籍查询页面的展示过程中,动态监测阅读用户针对所述书籍查询页面触发的用户交互操作;During the display process of the book query page, dynamically monitor user interaction operations triggered by the reading user on the book query page;
    确定用户交互操作的操作类型,根据所述用户交互操作的操作类型判断所述阅读用户是否处于书籍阅读状态;Determine the operation type of the user interaction operation, and determine whether the reading user is in a book reading state according to the operation type of the user interaction operation;
    当判断结果为否时,在所述书籍查询页面中展示音频播放元件,通过所述音频播放元件在所述书籍查询页面的展示过程中播放预设的音频内容。When the judgment result is no, an audio playback element is displayed in the book query page, and the preset audio content is played through the audio playback element during the display process of the book query page.
  14. 根据权利要求13所述的电子设备,其中,所述可执行指令使处理器执行以下至少一种操作:The electronic device according to claim 13, wherein the executable instruction causes the processor to perform at least one of the following operations:
    当用户交互操作的操作类型属于第一预设交互类型且操作频次大于第一预设频次时,确定所述阅读用户未处于书籍阅读状态;When the operation type of the user interaction operation belongs to the first preset interaction type and the operation frequency is greater than the first preset frequency, it is determined that the reading user is not in a book reading state;
    当用户交互操作的操作类型属于第一预设交互类型且所述书籍查询页面的展示时长大于第一预设时长时,确定所述阅读用户未处于书籍阅读状态。When the operation type of the user interaction operation belongs to the first preset interaction type and the display duration of the book query page is greater than the first preset duration, it is determined that the reading user is not in a book reading state.
  15. 根据权利要求14所述的电子设备,其中,所述第一预设交互类型包括以下中的至少一个:页面滑动类型、点击类型、以及浏览类型。The electronic device according to claim 14, wherein the first preset interaction type includes at least one of the following: a page sliding type, a click type, and a browsing type.
  16. 根据权利要求13-15任一所述的电子设备,其中,所述可执行指令使处理器执行以下操作:15. The electronic device according to any one of claims 13-15, wherein the executable instructions cause the processor to perform the following operations:
    当用户交互操作的操作类型属于第二预设交互类型时,确定所述阅读用户处于书籍阅读状态;When the operation type of the user interaction operation belongs to the second preset interaction type, it is determined that the reading user is in a book reading state;
    其中,书籍获取类型所述第二预设交互类型包括以下中的至少一个:加入书架、阅读正文、以及书籍获取。Wherein, the second preset interaction type of the book acquisition type includes at least one of the following: adding a bookshelf, reading the text, and book acquisition.
  17. 根据权利要求13-16任一所述的电子设备,其中,所述可执行指令使处理器执行以下操作:The electronic device according to any one of claims 13-16, wherein the executable instructions cause the processor to perform the following operations:
    当判断结果为是时,监测所述阅读用户是否退出书籍阅读状态,并在监测到所述阅读用户退出书籍阅读状态后,重新执行所述动态监测阅读用户针对所述书籍查询页面触发的各次用户交互操作的步骤。When the judgment result is yes, monitor whether the reading user has exited the book reading state, and after monitoring that the reading user has exited the book reading state, re-execute the dynamic monitoring that the reading user triggers for the book query page User interaction steps.
  18. 根据权利要求13-17任一所述的电子设备,其中,所述可执行指令使处理器执行以下操作:The electronic device according to any one of claims 13-17, wherein the executable instruction causes the processor to perform the following operations:
    在所述书籍查询页面中展示音频播放元件,通过所述音频播放元件在所述书籍查询页面的展示过程中播放预设的音频内容。An audio playback element is displayed in the book query page, and preset audio content is played through the audio playback element during the display process of the book query page.
  19. 根据权利要求13-18任一所述的电子设备,其中,所述可执行指令使处理器执行以下操作:The electronic device according to any one of claims 13-18, wherein the executable instructions cause the processor to perform the following operations:
    获取所述书籍查询页面中的实时浏览内容;Acquiring real-time browsing content in the book query page;
    确定所述实时浏览内容的内容类型,获取与所述内容类型相对应的音频资源文件,通过所述音频播放元件播放所述与所述内容类型相对应的音频资源文件。The content type of the real-time browsing content is determined, the audio resource file corresponding to the content type is obtained, and the audio resource file corresponding to the content type is played through the audio playback element.
  20. 根据权利要求19所述的电子设备,其中,所述实时浏览内容的内容类型包括以下中的至少一种:电子书类型、有声书类型、以及用户互动类型;其中,The electronic device according to claim 19, wherein the content type of the real-time browsing content includes at least one of the following: an e-book type, an audio book type, and a user interaction type; wherein,
    与电子书类型相对应的音频资源文件包括:与电子书相对应的书籍简介文件;The audio resource files corresponding to the type of e-book include: book introduction files corresponding to the e-book;
    与有声书类型相对应的音频资源文件包括:有声书中包含的音频片段文件;The audio resource files corresponding to the audio book type include: audio clip files contained in the audio book;
    与用户互动类型相对应的音频资源文件包括:背景音乐文件。The audio resource files corresponding to the user interaction type include: background music files.
  21. 根据权利要求13-20任一所述的电子设备,其中,所述可执行指令使处理器执行以下操作:The electronic device according to any one of claims 13-20, wherein the executable instruction causes the processor to perform the following operations:
    获取所述阅读用户的历史用户数据,根据所述历史用户数据确定所述阅读用户的用户等级;Acquiring historical user data of the reading user, and determining the user level of the reading user according to the historical user data;
    获取与所述用户等级相对应的音频资源文件,通过所述音频播放元件播放所述与所述用户等级相对应的音频资源文件。Acquire the audio resource file corresponding to the user level, and play the audio resource file corresponding to the user level through the audio playback element.
  22. 根据权利要求13-21任一所述的电子设备,其中,所述可执行指令使处理器执行以下操作:The electronic device according to any one of claims 13-21, wherein the executable instruction causes the processor to perform the following operations:
    在所述书籍查询页面中以浮窗形式展示音频播放元件;并且,所述音频播放元件进一步包含控制入口元素;其中,所述控制入口元素包括以下中的至少一个:播放入口元素、暂停入口元素、跳转入口元素、关闭入口元素、以及切换入口元素。The audio playback element is displayed in the form of a floating window on the book query page; and the audio playback element further includes a control entry element; wherein the control entry element includes at least one of the following: a play entry element, a pause entry element , Jump entry element, close entry element, and switch entry element.
  23. 根据权利要求22所述的电子设备,其中,所述可执行指令使处理器执行以下操作:The electronic device of claim 22, wherein the executable instructions cause the processor to perform the following operations:
    获取与所述阅读用户相对应的用户属性数据,根据预设的内容推送模型确定与所述用户属性数据相匹配的音频内容;Acquiring user attribute data corresponding to the reading user, and determining audio content matching the user attribute data according to a preset content push model;
    每当检测到通过所述控制入口元素触发的控制指令时,确定所述控制指令的指令类型,根据所述指令类型生成与所述控制指令相对应的正反馈数据或负反馈数据;根据已生成的正反馈数据或负反馈数据对所述内容推送模型进行修正。Whenever a control instruction triggered by the control entry element is detected, the instruction type of the control instruction is determined, and the positive feedback data or negative feedback data corresponding to the control instruction is generated according to the instruction type; The positive feedback data or negative feedback data of, correct the content push model.
  24. 根据权利要求13-23所述的电子设备,其中,所述可执行指令使处理器执行以下操作:The electronic device according to claims 13-23, wherein the executable instructions cause the processor to perform the following operations:
    展示音频播放提示消息,并在接收到针对所述音频播放提示消息触发的确认播放请求时,通过所述音频播放元件在所述书籍查询页面的展示过程中播放预设的音频内容。An audio playback prompt message is displayed, and when a playback confirmation request triggered for the audio playback prompt message is received, the audio playback element is used to play the preset audio content during the display process of the book query page.
  25. 一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行权利要求1-12任一项所述的书籍查询页面的展示方法。A non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one executable instruction, the executable instruction causes a processor to execute any one of claims 1-12 The display method of the book query page described above.
  26. 一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被处理器执行时,使所述处理器执行权利要求1-12任一项所述的书籍查询页面的展示方法。A computer program product, the computer program product includes a calculation program stored on a non-volatile computer-readable storage medium, the computer program includes program instructions, when the program instructions are executed by a processor, cause the The processor executes the method for displaying a book query page according to any one of claims 1-12.
PCT/CN2020/124449 2019-12-25 2020-10-28 Display method for book query page, electronic device and computer storage medium WO2021129122A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911355145.2 2019-12-25
CN201911355145.2A CN111125314B (en) 2019-12-25 2019-12-25 Display method of book query page, electronic device and computer storage medium

Publications (1)

Publication Number Publication Date
WO2021129122A1 true WO2021129122A1 (en) 2021-07-01

Family

ID=70503536

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124449 WO2021129122A1 (en) 2019-12-25 2020-10-28 Display method for book query page, electronic device and computer storage medium

Country Status (2)

Country Link
CN (1) CN111125314B (en)
WO (1) WO2021129122A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116821411A (en) * 2023-08-29 2023-09-29 北京众创众阅网络科技有限公司 Sound mode recommendation method, system and equipment for electronic books

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125314B (en) * 2019-12-25 2020-11-10 掌阅科技股份有限公司 Display method of book query page, electronic device and computer storage medium
CN114115670A (en) * 2021-07-30 2022-03-01 荣耀终端有限公司 Method for prompting generation of text abstract and method and device for generating text abstract
CN113726870A (en) * 2021-08-27 2021-11-30 掌阅科技股份有限公司 Method for displaying in-station messages in electronic book client, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009136411A2 (en) * 2008-04-23 2009-11-12 Ugenie Inc Online literary social network
CN108875694A (en) * 2018-07-04 2018-11-23 百度在线网络技术(北京)有限公司 Speech output method and device
CN109240973A (en) * 2018-08-30 2019-01-18 掌阅科技股份有限公司 Based on the determination method and electronic equipment of the read state information of e-book
CN111125314A (en) * 2019-12-25 2020-05-08 掌阅科技股份有限公司 Display method of book query page, electronic device and computer storage medium

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1204511C (en) * 2001-10-17 2005-06-01 英华达(南京)科技有限公司 Device capable of playing background music and reading electronic book aloud and its method
KR101257306B1 (en) * 2011-03-21 2013-04-23 안상종 e-book service method and apparatus
CN102510419A (en) * 2011-09-29 2012-06-20 深圳市五巨科技有限公司 Mobile terminal music management method and system
CN103186330B (en) * 2011-12-27 2016-03-30 联想(北京)有限公司 A kind of display interface changing method and electronic equipment
US10209876B2 (en) * 2014-11-13 2019-02-19 Here Global B.V. Method and apparatus for providing a segmented scrollbar
CN105302908B (en) * 2015-11-02 2020-06-26 北京奇虎科技有限公司 Electronic book related audible audio resource recommendation method and device
US11501054B2 (en) * 2016-06-12 2022-11-15 Apple Inc. Layout generation for an electronic document that includes a web object
CN106383630A (en) * 2016-09-07 2017-02-08 网易(杭州)网络有限公司 Book reading method and apparatus
CN106960051B (en) * 2017-03-31 2019-12-10 掌阅科技股份有限公司 Audio playing method and device based on electronic book and terminal equipment
CN107168934B (en) * 2017-05-15 2019-01-25 掌阅科技股份有限公司 E-book plot reminding method, electronic equipment and computer storage medium
CN107657973B (en) * 2017-09-27 2020-05-08 风变科技(深圳)有限公司 Text and audio mixed display method and device, terminal equipment and storage medium
CN109189879B (en) * 2018-09-14 2020-11-06 腾讯科技(北京)有限公司 Electronic book display method and device
CN109558559B (en) * 2018-11-30 2019-12-31 掌阅科技股份有限公司 Bookshelf page display method, electronic equipment and computer storage medium
CN110489573A (en) * 2019-07-30 2019-11-22 维沃移动通信有限公司 Interface display method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009136411A2 (en) * 2008-04-23 2009-11-12 Ugenie Inc Online literary social network
CN108875694A (en) * 2018-07-04 2018-11-23 百度在线网络技术(北京)有限公司 Speech output method and device
CN109240973A (en) * 2018-08-30 2019-01-18 掌阅科技股份有限公司 Based on the determination method and electronic equipment of the read state information of e-book
CN111125314A (en) * 2019-12-25 2020-05-08 掌阅科技股份有限公司 Display method of book query page, electronic device and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116821411A (en) * 2023-08-29 2023-09-29 北京众创众阅网络科技有限公司 Sound mode recommendation method, system and equipment for electronic books

Also Published As

Publication number Publication date
CN111125314B (en) 2020-11-10
CN111125314A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
WO2021129122A1 (en) Display method for book query page, electronic device and computer storage medium
CA2917048C (en) Method and apparatus for determining user browsing behavior
US10387115B2 (en) Method and apparatus for generating a recommended set of items
JP6554685B2 (en) Method and apparatus for providing search results
JP5956569B2 (en) Identify relevant applications based on browsing activity
RU2693323C2 (en) Recommendations for the user elements selection method and server
US10977317B2 (en) Search result displaying method and apparatus
US20190163758A1 (en) Method and server for presenting a recommended content item to a user
US10565255B2 (en) Method and system for selecting images based on user contextual information in response to search queries
WO2019000710A1 (en) Page loading method, apparatus and electronic device
US20170351709A1 (en) Method and system for dynamically rankings images to be matched with content in response to a search query
TWI540448B (en) Methods and apparatus for selecting a search engine to which to provide a search query
RU2629638C2 (en) Method and server of creating recommended set of elements for user
WO2015062380A1 (en) Method and device for playing webpage video
US20140052751A1 (en) Smart user-centric information aggregation
JP2018504686A (en) Method and apparatus for processing search data
US20160335359A1 (en) Processing search queries and generating a search result page including search object related information
RU2586249C2 (en) Search request processing method and server
JP5406794B2 (en) Search query recommendation device and search query recommendation program
US20180240023A1 (en) Methods and systems for selecting targeted content by machine learning algorithm
CN104899287B (en) The display methods and device of webpage
RU2605001C2 (en) Method for processing user's search request and server used therein
WO2019176102A1 (en) Search system, search method, and program
US10552478B1 (en) Image search using intersected predicted queries
KR101494516B1 (en) Method and system for providing content using web history

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20906513

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20906513

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20906513

Country of ref document: EP

Kind code of ref document: A1