WO2023051076A1 - 一种搜索结果展现方法、装置、计算机设备及存储介质 - Google Patents

一种搜索结果展现方法、装置、计算机设备及存储介质 Download PDF

Info

Publication number
WO2023051076A1
WO2023051076A1 PCT/CN2022/113473 CN2022113473W WO2023051076A1 WO 2023051076 A1 WO2023051076 A1 WO 2023051076A1 CN 2022113473 W CN2022113473 W CN 2022113473W WO 2023051076 A1 WO2023051076 A1 WO 2023051076A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
read
target window
displaying
target
Prior art date
Application number
PCT/CN2022/113473
Other languages
English (en)
French (fr)
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 WO2023051076A1 publication Critical patent/WO2023051076A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9038Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Definitions

  • the present disclosure relates to the technical field of the Internet, and in particular, to a search result display method, device, computer equipment, and storage medium.
  • the search result page will display the title of the book, some chapters, etc., so that the user can choose whether to further consume novel-related information based on these information.
  • Embodiments of the present disclosure at least provide a search result display method, device, computer equipment, and storage medium.
  • an embodiment of the present disclosure provides a method for displaying search results, including:
  • the updated content to be read is displayed.
  • the content to be read includes the attribute information of the target book, and the chapter catalog of the target book or the text content of the target chapter;
  • the displaying the target window in the search result page, and displaying the content to be read in the target window includes:
  • the chapter table of contents or the text content of the target book is displayed in the second area of the target window.
  • the displaying the updated content to be read in response to a trigger operation acting on the target window includes:
  • the displaying the target window on the search result page, and displaying the content to be read in the target window includes:
  • the displaying the updated content to be read in response to the trigger operation acting on the target window includes:
  • the jumping to the reading page for continuous display of the content to be read includes:
  • displaying the content to be read from the target window, and transitioning to displaying the animation of the reading page in full screen includes:
  • the search request carries a user identifier
  • the content to be read is determined based on the reading progress of the target book corresponding to the user identifier.
  • the embodiment of the present disclosure also provides a search result display device, including:
  • An acquisition module configured to, in response to a search request initiated by a user, acquire content to be read corresponding to a target book matching the search request;
  • the first display module is used to display the target window in the search result page, and display the content to be read in the target window;
  • the second display module is configured to display the updated content to be read in response to a trigger operation acting on the target window.
  • an embodiment of the present disclosure further provides a computer device, including: a processor, a memory, and a bus, the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processing The processor communicates with the memory through a bus, and when the machine-readable instructions are executed by the processor, the above-mentioned first aspect, or the steps in any optional implementation manner in the first aspect are performed.
  • a computer device including: a processor, a memory, and a bus
  • the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processing
  • the processor communicates with the memory through a bus, and when the machine-readable instructions are executed by the processor, the above-mentioned first aspect, or the steps in any optional implementation manner in the first aspect are performed.
  • embodiments of the present disclosure further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned first aspect, or any of the first aspects of the first aspect, may be executed.
  • the updated content to be read can also be displayed in response to a trigger operation acting on the target window That is to say, the target window provided by the embodiment of the present disclosure can satisfy the user's further consumption of novel-related information, so that the user can directly read the novel-related information on the search result page without opening the novel reading page, which improves the Reading efficiency.
  • continuous consumption of novel content can be carried out in the target window, or a content upper limit can also be set in the target window, and the updated content to be read displayed in the target window reaches the content upper limit After that, it automatically jumps to the reading page to continue displaying the content to be read, and realizes the seamless switching of the novel content from the target window to the reading page, which not only improves the user's reading efficiency, but also brings users immersive reading Experience, improve user reading satisfaction.
  • FIG. 1 shows a flow chart of a method for displaying search results provided by an embodiment of the present disclosure
  • Fig. 2 shows a schematic diagram of the effect of the first search result page provided by the embodiment of the present disclosure
  • Fig. 3 shows a schematic diagram of the effect of the second search result page provided by the embodiment of the present disclosure
  • Fig. 4 shows a schematic diagram of the effect of the third search result page provided by the embodiment of the present disclosure
  • Fig. 5 shows a schematic diagram of the effect of the search result page before and after the animation display provided by the embodiment of the present disclosure
  • FIG. 6 shows a schematic diagram of the effect of the search result page before, during, and after the animation display provided by the embodiment of the present disclosure
  • Fig. 7 shows a schematic structural diagram of a device for displaying search results provided by an embodiment of the present disclosure
  • Fig. 8 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
  • a concept of a universal window is proposed, that is, a target window is provided on the search result page that can satisfy the user's further consumption of information other than the initially displayed novel-related information.
  • This enables the user to directly consume novel-related information on the search result page without opening the novel reading page.
  • the target window of the search result page displays the content to be read that matches the search request
  • the updated content to be read can also be displayed in response to a trigger operation acting on the target window, so that the target window can be used It satisfies the further reading of the relevant information of the novel by the user, reduces the operation steps of further reading, and improves the reading efficiency.
  • the execution subject of the method for displaying search results provided in the embodiments of the present disclosure is generally a computer device with certain computing capabilities.
  • the method for presenting search results may be implemented by a processor invoking computer-readable instructions stored in a memory.
  • FIG. 1 it is a flow chart of a method for displaying search results provided by an embodiment of the present disclosure.
  • the method for displaying search results in this embodiment of the present disclosure can be applied to the scene of searching novels, and mainly includes the following steps S101-S103:
  • S101 In response to a search request initiated by a user, acquire content to be read corresponding to a target book matching the search request.
  • the search request may refer to a request initiated by the user on the front-end page, specifically, may be inputting relevant search information in a search box on the front-end page.
  • the search request may include at least one of information such as book title, author name, chapter title, book content, character names in the book content, and keywords in the book content.
  • the books here can be any type of books, specifically, they can include ideological books, such as philosophy and other works; they can also be tool books, such as dictionaries, maps, teaching books, etc.; they can also include recreational books, such as novels, magazines, etc. .
  • the content to be read may include attribute information of the target book, chapter content, text content, and the like.
  • attribute information may include information such as book title, consumption of reading resources (such as reading cost), user evaluation (such as reader rating), author information (such as author’s pseudonym), update status, style type (romance, time travel, etc.).
  • the client when initiating a search request, the client can splice the user identification (such as user name, account number, device identification, etc.) Search request.
  • the user ID is actively authorized to the client when the user initiates a search request.
  • the server returns the content to be read based on the reading progress of the target book corresponding to the user ID. For example, if it is determined according to the reading progress that the user is a new user who has never read the target book, the returned content to be read may include the above attribute information and chapter directory, as shown in FIG. 2 .
  • the returned content to be read may include the above attribute information and text content, and the text content may be the content corresponding to the old user's reading progress, as shown in Figure 3 ; will be further introduced later.
  • S102 Display a target window on the search result page, and display the content to be read in the target window.
  • the target window may be displayed at the top of the search result page, and the target window may display the content to be read in the form of a card window.
  • the acquired content to be read may include attribute information of the target book, and a chapter list of the target book or text content of the target chapter.
  • the first area can be displayed above the second area, as shown in Figure 2 and Figure 3, the cover of the target book, the title of the book, and the consumption of reading resources (that is, the "full text” can be displayed in the first area).
  • Free the cover of the target book, the title of the book, and the consumption of reading resources (that is, the "full text” can be displayed in the first area).
  • Free the user ratings, author name, number of reading users, style type (that is, "romance”) and other attribute information.
  • the introduction information of the target book can also be displayed in the first area.
  • the brief introduction information includes brief introduction information of the text content of the target book; in specific implementation, the number of lines for displaying the brief introduction information may be limited, for example, 3 lines, so as to save display space.
  • the profile information may be displayed below the attribute information.
  • the to-be-read contents of the target books displayed in the second area are different.
  • the content to be read is determined based on the reading progress of the target book corresponding to the user identifier. Specifically, the type of reading user corresponding to the user ID determines the type of content to be read in the second area. For new users, part of the chapter catalog in the content to be read can be displayed in the second area of the target window. For old users , which can display the text content corresponding to the reading progress.
  • part of the chapter table of contents of the target book can be displayed in the second area, so that new users can first have a certain understanding of the target book.
  • some chapters can be displayed together.
  • the core content of the first part and the second part are the same, and can be displayed in the form of "Part1-2 xxx".
  • the update time is also displayed at the corresponding position of each chapter.
  • the user's latest reading position can be located in the second area, that is, the text content corresponding to the user's last reading position is displayed.
  • the text content, the chapter where the text content is located, and the corresponding reading progress can be displayed in the second area.
  • the second area can also display the prompt information of "automatically located the last read content", which is convenient for users to directly read the content to be read, and reduces the cost of tracing the read content.
  • the "Read Now” and “Continue Reading” buttons can be displayed below the chapter directory; for new users, in response to the trigger operation of the "Read Now” button, you can jump to The reading page displays the text content corresponding to the selected chapter or displays the text content corresponding to the first chapter by default. Or, in another way, in response to the trigger operation on the "Read Now” button, the text content corresponding to the selected chapter can also be directly displayed in the second area or the text content corresponding to the first chapter can be displayed by default . For old users, in response to the trigger operation on the "continue reading” button, they can jump to the reading page to display the continuation display of the main text content. Alternatively, it is also possible to continue displaying the content of the text in the second area.
  • the size of the target window is limited, but the target window in the embodiment of the present disclosure can satisfy the user's continuous consumption (that is, consume content other than the initially displayed content) in addition to the initial display of the content.
  • the specific implementation process is as follows:
  • the initial display content may be preset default display content.
  • the initial display content may be preset default display attribute information.
  • the first area can display all the attribute information; when there is more attribute information that needs to be displayed in the first area, that is, the first area is not enough to display all
  • the first area can display part of the filtered attribute information.
  • the initial display content may be the chapter table of contents or the body content that is preset and displayed by default.
  • fiction books have more chapters or text content, that is, the second area is not enough to display all chapters or text content, and the second area can display the content to be read within the preset size range
  • part of the chapter content or text content to be displayed may be determined according to the size of the target window, or the bibliographic information of a second preset number of chapters or the text content of a preset length may be limited to be displayed.
  • part of the chapter directory information can be displayed in the order of chapters in forward or reverse order; for old users, the content of the main text can be displayed in the order of the content from front to back, starting at the user's reading progress position .
  • step S103 When the user wants to read the chapter table of contents not displayed in the second area, or the text content not displayed in the second area, it can be realized through the process in step S103 , see below for details.
  • the triggering operation here is an operation for displaying undisplayed content to be read, and specifically may include operations such as sliding operations, clicking operations, and voice control.
  • the updated display content can be determined from the acquired content to be read in response to the trigger operation acting on the target window; and the determined updated display content can be rendered and displayed in the target window.
  • the sliding operation it may be determined according to the sliding direction and the sliding distance whether to obtain the updated display content from the previous content to be read in the initial display content, or to obtain the updated display content from the subsequent content to be read in the initial display content.
  • the click operation it is possible to determine and update the displayed content according to information such as the click position, the number of clicks, the duration of the click, and the force of the click.
  • the updated display content can be directly determined through semantic analysis and other means.
  • the sliding operation may be an operation only for the second area, that is, the content in the first area remains unchanged in response to the sliding operation acting on the target window , display the updated content to be read in the second area of the target window; the different display layers (1) of the target window corresponding to the first area and the second area; or, in response to a sliding operation acting on the target window, when After the updated content to be read displayed in the target window reaches the content upper limit, jump to the reading page for continuous display of the content to be read (2).
  • the target book content can be continuously consumed in the target window until the user triggers the stop.
  • the first area and the second area correspond to different display layers, wherein, for example, during the user's sliding operation, the content of the first area remains unchanged, while the updated chapter directory or
  • the text content, that is, in the (first) display mode, the content to be read displayed in the second area has no word limit, which can meet the user's reading needs on the search result page, as shown in Figure 4, in the second area
  • the prompt information of "swipe up to continue reading for free" can be displayed, that is, the second area can continuously respond to the sliding operation, and the updated text content can be continuously displayed in the second area of the search result page.
  • the consumption content upper limit is set for the target window.
  • the upper content limit is exceeded, it needs to jump to the reading page of the book (it can be a special book application (Application, APP) page, or the current customer The book reading page provided by the terminal) to continue displaying the content to be read.
  • the second area can start to display the updated chapter directory or text content according to the sliding operation, but only a certain upper limit of content is displayed in the second area (for example, for old users, within 200 words of text content, for For new users, due to the limited space of the chapter catalog itself, all the chapter catalog information can be displayed), when the content displayed in the second area reaches the upper limit, if you perform a sliding operation at this time, the target window will not be able to continuously update the content to be read. You can jump to the reading page to continue displaying the content to be read.
  • the reading page may be a reading page in a reader, and the reader may be an additional book APP or a current client.
  • the corresponding reading page content can be preloaded; Read the content, transition to a full-screen display of the animation of the reading page.
  • the content to be read here that is, the updated text content displayed in the second area, has reached the upper limit of the content. At this time, if you perform a sliding operation, the text content will no longer be updated in the second area, but will be displayed from the target window. The body content of the text transitions to a full-screen display animation of the reading page.
  • the position information of the content to be read in the target book may include the chapter corresponding to the text content currently displayed in the second area and the position in the chapter (such as the paragraph where it is located, the number of lines where it is located, etc.).
  • the preloaded reading page content may include the text content currently displayed in the second area, and when the content that can be displayed on the reading page is more than that displayed in the second area, the preloaded reading page content may also include the second area The subsequent body content of the currently displayed body content in .
  • the triggering operation here is, for example, the aforementioned sliding operation acting on the target window, specifically, it may be a sliding operation acting on the second area.
  • the transition animation from the text content of the target window to the full-screen display of the reading page may be a transition animation from the display image of the target window to the display image of the full-screen display of the reading page.
  • Figure 5 shows a schematic diagram of the search result page before and after the animation is displayed, wherein, Figure a is a schematic diagram of the effect of the search result page before the animation is displayed, and the second area in Figure a shows text content, and Figure a b is a schematic diagram of the effect of the reading page after the animation is displayed, and the reading page in Figure b shows the preloaded reading page content.
  • the content of the preloaded reading page that is consistent with the content to be read currently displayed in the target window can be used as the content to be initially rendered on the reading page, and after the initial rendering, the reading page is gradually rendered Other contents of the content, until the rendering is complete to read the entire page.
  • the initially rendered content in the reading page may only be consistent with the content to be read currently displayed in the target window, but the rendered format may be different. Specifically, the number of words rendered in each line of the reading page, The font size, color, type, etc. may be different from the word count, font size, color, type, etc. of the content to be read rendered in the target window.
  • Figure 6 shows a schematic diagram of the effect of the search result page before, during, and after the animation display, wherein Figure a is a schematic diagram of the effect of the search result page before the animation display, and the second area in Figure a shows Content of the text; Figure c is a schematic diagram of the effect of the reading page in the animation display.
  • the content of the reading page displayed in Figure c is the same as the content of the text in Figure a, that is, the content of the initial rendering, that is, the dotted line in Figure c and Figure a
  • the content in the box is consistent
  • Figure b is a schematic diagram of the effect of the reading page after the animation is displayed.
  • the content of the reading page displayed on the reading page in Figure b includes not only the initially rendered content, but also other content of the reading page content, that is, Content outside the dotted box.
  • the rendering time from figure c to figure b may be very short, and the user's immersive reading experience can be enhanced through the short rendering time.
  • the content of the text can be quickly switched from the target window to the reading page.
  • the fast switching of the interface from the small interface (ie, the target window) to the large interface (the reading page) is also realized at the same time.
  • the trigger operation when the trigger operation is performed on the target window, in response to the trigger operation acting on the target window, according to the coordinate information of the target window, the content in the target window, and the reading page to be displayed, from the position of the target window Start to display the corresponding content of the reading page (display the content of the reading page consistent with the content in the target window at the position of the target window), and transition to displaying the animation of the reading page in full screen.
  • the coordinate information of the target window and the reading page to be displayed can be sent to the client where the reading page is located through script bridge (JavaScript Bridge, JSBridge) technology.
  • a vertex (such as the upper left corner) of the search result page can be used as the origin to establish a two-dimensional plane coordinate system in the search result page, and then the first coordinate information of the upper left corner of the target window and the second coordinate information of the lower right corner sent to the client.
  • the front-end page can notify the client reader of the pre-loaded reading page address in advance, and the reader can pre-load it.
  • the front-end notifies the client reader of the current coordinate information and the information to be displayed through JSBridge technology.
  • the reader displays the page animation from the small window to the full screen, so as to realize the imperceptible switching of the page.
  • the writing order of each step does not mean a strict execution order and constitutes any limitation on the implementation process.
  • the specific execution order of each step should be based on its function and possible
  • the inner logic is OK.
  • the embodiment of the present disclosure also provides a search result display device corresponding to the search result display method. Since the problem-solving principle of the device in the embodiment of the present disclosure is similar to the above-mentioned search result display method of the embodiment of the present disclosure, therefore For the implementation of the device, reference may be made to the implementation of the method, and repeated descriptions will not be repeated.
  • FIG. 7 it is a schematic diagram of a search result display device provided by an embodiment of the present disclosure, including: an acquisition module 701, a first display module 702, and a second display module 703, wherein,
  • An acquisition module 701 configured to, in response to a search request initiated by a user, acquire content to be read corresponding to a target book matching the search request;
  • the first display module 702 is configured to display a target window in the search result page, and display the content to be read in the target window;
  • the second display module 703 is configured to display the updated content to be read in response to a trigger operation acting on the target window.
  • the content to be read includes the attribute information of the target book, and the chapter catalog of the target book or the text content of the target chapter;
  • the first display module 702 is specifically used for:
  • the chapter table of contents or the text content of the target book is displayed in the second area of the target window.
  • the second display module 703 is specifically used for:
  • the first display module 702 is specifically used for:
  • the second display module 703 is specifically used for:
  • the second display module 703 is specifically used for:
  • the second display module 703 is specifically used for:
  • the search request carries a user identifier
  • the content to be read is determined based on the reading progress of the target book corresponding to the user identifier.
  • FIG. 8 it is a schematic structural diagram of a computer device 800 provided by an embodiment of the present disclosure, including a processor 801 , a memory 802 , and a bus 803 .
  • the memory 802 is used to store execution instructions, including a memory 8021 and an external memory 8022; the memory 8021 here is also called an internal memory, and is used to temporarily store calculation data in the processor 801 and exchange data with an external memory 8022 such as a hard disk.
  • the processor 801 exchanges data with the external memory 8022 through the memory 8021.
  • the processor 801 communicates with the memory 802 through the bus 803, so that the processor 801 executes the following instructions:
  • the updated content to be read is displayed.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, the steps of the method for displaying search results described in the foregoing method embodiments are executed.
  • the storage medium may be a volatile or non-volatile computer-readable storage medium.
  • Embodiments of the present disclosure also provide a computer program product, the computer program product carries a program code, and the instructions included in the program code can be used to execute the steps of the method for displaying search results described in the above method embodiments.
  • the computer program product carries a program code
  • the instructions included in the program code can be used to execute the steps of the method for displaying search results described in the above method embodiments.
  • the method embodiment will not be repeated here.
  • the above-mentioned computer program product may be specifically implemented by means of hardware, software or a combination thereof.
  • the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) etc. wait.
  • a software development kit Software Development Kit, SDK
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor.
  • the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Landscapes

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

Abstract

本公开提供了一种搜索结果展现方法、装置、计算机设备及存储介质,,其中,该方法包括:响应于用户发起的搜索请求,获取与所述搜索请求匹配的目标书籍对应的待阅读内容;在搜索结果页中展示目标窗口,并在所述目标窗口中展示所述待阅读内容;响应于作用在所述目标窗口内的触发操作,展示更新后的待阅读内容。本公开实施例在搜索结果页的目标窗口展示出与搜索请求匹配的待阅读内容后,还可以响应于作用在目标窗口内的触发操作,展示更新后的待阅读内容,也即,本公开实施例提供的目标窗口可以满足用户对小说相关信息的进一步消费,使得用户能够在不打开小说阅读页面的情况下,在搜索结果页直接进行小说相关信息的阅读,提高了阅读效率。

Description

一种搜索结果展现方法、装置、计算机设备及存储介质
本申请要求于2021年09月29日提交国家知识产权局、申请号为202111153361.6、申请名称为“一种搜索结果展现方法、装置、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及互联网技术领域,具体而言,涉及一种搜索结果展现方法、装置、计算机设备及存储介质。
背景技术
用户可以通过搜索页面进行书籍类的搜索,比如在搜索某本小说时,搜索结果页中会展现书籍名称、部分章节目录等,以使用户根据这些信息选择是否进行小说相关信息的进一步消费。
当用户期望进行小说相关信息的进一步消费时,还需要打开小说阅读器,进入小说阅读页面中进行小说的搜索消费。上述阅读小说的方式过程中操作比较复杂,影响用户的阅读效率。
发明内容
本公开实施例至少提供一种搜索结果展现方法、装置、计算机设备及存储介质。
第一方面,本公开实施例提供一种搜索结果展现方法,包括:
响应于用户发起的搜索请求,获取与所述搜索请求匹配的目标书籍对应的待阅读内容;
在搜索结果页中展示目标窗口,并在所述目标窗口中展示所述待阅读内容;
响应于作用在所述目标窗口内的触发操作,展示更新后的待阅读内容。
一种可选的实施方式中,所述待阅读内容包括所述目标书籍的属性信息,以及所述目标书籍的章节目录或目标章节的正文内容;
所述在搜索结果页中展示目标窗口,并在所述目标窗口中展示所述待阅读内容,包括:
在搜索结果页中添加目标窗口;
在所述目标窗口的第一区域展示所述目标书籍的属性信息;
在所述目标窗口的第二区域展示所述目标书籍的所述章节目录或所述正文内容。
一种可选的实施方式中,所述响应于作用在所述目标窗口内的触发操作,展示更新后的待阅读内容,包括:
响应于作用在所述目标窗口内的滑动操作,保持所述第一区域内的内容不变,在所述目标窗口的第二区域中展示更新后的待阅读内容;所述第一区域和第二区域对应所述目标窗口的不同展示层;或者,
响应于作用在所述目标窗口内的滑动操作,当在所述目标窗口中展示的更新后的待阅读内容达到内容上限后,跳转到阅读页面进行待阅读内容的接续展示。
一种可选的实施方式中,所述在搜索结果页中展示目标窗口,并在所述目标窗口中展示所述待阅读内容,包括:
在搜索结果页中展示目标窗口,并根据所述目标窗口的尺寸大小,从获取的待阅读内 容中确定初始展示内容;在所述目标窗口中,对确定的所述初始展示内容进行渲染展示;
所述响应于作用在所述目标窗口内的触发操作,展示更新后的待阅读内容,包括:
响应于作用在所述目标窗口内的触发操作,从获取的待阅读内容中确定更新展示内容;在所述目标窗口中,对确定的所述更新展示内容进行渲染展示。
一种可选的实施方式中,所述跳转到阅读页面进行待阅读内容的接续展示,包括:
基于获取的所述待阅读内容在目标书籍中的位置信息,预加载对应的阅读页内容;
响应于所述触发操作,根据预加载的所述阅读页内容,展示从所述目标窗口的待阅读内容,过渡到全屏展示阅读页面的动画。
一种可选的实施方式中,所述根据预加载的所述阅读页内容,展示从所述目标窗口的待阅读内容,过渡到全屏展示阅读页面的动画,包括:
将所述预加载的阅读页内容中,与所述目标窗口当前展示的待阅读内容一致的内容,作为在阅读页面初始渲染的内容,并在进行初始渲染后,逐步渲染所述阅读页内容的其它内容,直到渲染完成整个阅读页面。
一种可选的实施方式中,所述搜索请求中携带有用户标识,所述待阅读内容是基于所述用户标识对应的所述目标书籍的阅读进度确定的。
第二方面,本公开实施例还提供一种搜索结果展现装置,包括:
获取模块,用于响应于用户发起的搜索请求,获取与所述搜索请求匹配的目标书籍对应的待阅读内容;
第一展示模块,用于在搜索结果页中展示目标窗口,并在所述目标窗口中展示所述待阅读内容;
第二展示模块,用于响应于作用在所述目标窗口内的触发操作,展示更新后的待阅读内容。
第三方面,本公开实施例还提供一种计算机设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行上述第一方面,或第一方面中任一种可选的实施方式中的步骤。
第四方面,本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述第一方面,或第一方面中任一种可选的实施方式中的步骤。
本公开实施例提供的搜索结果展现方法,在搜索结果页的目标窗口展示出与搜索请求匹配的待阅读内容后,还可以响应于作用在目标窗口内的触发操作,展示更新后的待阅读内容,也即,本公开实施例提供的目标窗口可以满足用户对小说相关信息的进一步消费,使得用户能够在不打开小说阅读页面的情况下,在搜索结果页直接进行小说相关信息的阅读,提高了阅读效率。
在本公开实施例提供的具体实施方式中,可以在目标窗口中进行小说内容的持续消费,或者,还可以在目标窗口设置内容上限,在目标窗口中展示的更新后的待阅读内容达到内容上限后,自动跳转到阅读页面进行待阅读内容的接续展示,并实现小说内容从目标窗口 跳转到阅读页面的无缝切换,不仅提高了用户的阅读效率,而且可以带给用户沉浸式的阅读体验,提升用户的阅读满意度。
关于上述搜索结果展现的装置、计算机设备、及计算机可读存储介质的效果描述参见上述信息展示的方法的说明,这里不再赘述。
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。
附图说明
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。
图1示出了本公开实施例所提供的一种搜索结果展现方法的流程图;
图2示出了本公开实施例所提供的第一种搜索结果页的效果示意图;
图3示出了本公开实施例所提供的第二种搜索结果页的效果示意图;
图4示出了本公开实施例所提供的第三种搜索结果页的效果示意图;
图5示出了本公开实施例所提供的动画展示前和动画展示后,搜索结果页的效果示意图;
图6示出了本公开实施例所提供的动画展示前、动画展示中、动画展示后,搜索结果页的效果示意图;
图7示出了本公开实施例所提供的一种搜索结果展现装置的结构示意图;
图8示出了本公开实施例所提供的一种计算机设备的示意图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。
本公开实施例提供的搜索结果展现方案中,提出了一种万能窗口的概念,也即在搜索结果页提供一种可以满足用户对除初始展示的小说相关信息以外的信息进一步消费的目标窗口,使得用户能够在不打开小说阅读页面的情况下,在搜索结果页直接进行小说相关信息的进一步消费。具体包括:在搜索结果页的目标窗口展示出与搜索请求匹配的待阅读内容后,还可以响应于作用在目标窗口内的触发操作,展示更新后的待阅读内容,如此,通过该目标窗口可以满足用户对小说相关信息的进一步阅读,减少了进一步阅读的操作步骤, 提高了阅读效率。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。
为便于对本实施例进行理解,首先对本公开实施例所公开的一种搜索结果展现方法进行详细介绍,本公开实施例所提供的搜索结果展现方法的执行主体一般为具有一定计算能力的计算机设备。在一些可能的实现方式中,该搜索结果展现方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。
下面对本公开实施例的搜索结果展现方法做详细说明。
如图1所示,为本公开实施例提供的一种搜索结果展现方法的流程图,本公开实施例的搜索结果展现方法可以应用于搜索小说的场景,主要包括以下步骤S101~S103:
S101:响应于用户发起的搜索请求,获取与所述搜索请求匹配的目标书籍对应的待阅读内容。
这里,搜索请求可以指用户在前端页面发起的请求,具体可以是在前端页面的搜索框中输入相关搜索信息。搜索请求中可以包括书籍名称、作者名称、章节名称、书籍内容、书籍内容中的人物名称以及书籍内容中的关键词等信息中的至少一种。这里的书籍可以是任意类型的书籍,具体地可以包括思想类书籍,例如哲学等著作;也可以工具类书籍,例如字典、地图、教学用书等;还可以包括消遣类书籍,例如小说、杂志等。
待阅读内容可以包括目标书籍的属性信息、章节目录、正文内容等内容。其中,属性信息可以包括书籍名称、阅读资源(例如阅读费用)消耗情况、用户评价(比如读者评分)、作者信息(比如作者笔名)、更新状态、风格类型(言情、穿越等)等信息。
在具体实施中,由于前端页面是存在于客户端内的,在发起搜索请求时,可以由客户端将用户标识(比如用户名称、账号、设备标识等)拼接到搜索信息中,向服务端发起搜索请求。这里,用户标识为用户在发起搜索请求时主动授权给客户端的。服务端基于用户标识所对应的目标书籍的阅读进度返回待阅读内容。比如,若根据阅读进度确定用户为未曾阅读目标书籍的新用户,返回的待阅读内容可以包括上述属性信息和章节目录,如图2所示。若根据阅读进度确定用户为已经阅读或正在阅读目标书籍的老用户,返回的待阅读内容可以包括上述属性信息和正文内容,正文内容可以是与老用户的阅读进度对应的内容,如图3所示;后续将会做进一步介绍。
S102:在搜索结果页中展示目标窗口,并在所述目标窗口中展示所述待阅读内容。
这里,目标窗口可以展示在搜索结果页的首位,目标窗口可以是以卡片的窗口形式展示待阅读内容。
在一种实施方式,上述获取的待阅读内容可以包括目标书籍的属性信息,以及目标书籍的章节目录或目标章节的正文内容。
在展示待阅读内容时,可以先在搜索结果页中添加目标窗口;然后在目标窗口的第一区域展示目标书籍的属性信息;然后在目标窗口的第二区域展示目标书籍的章节目录或正文内容。
在上述实施方式中,第一区域可以展示在第二区域的上方,如图2及图3所示,在第 一区域中可以展示目标书籍的封面、书籍名称、阅读资源消耗情况(即“全文免费”)、用户评分、作者名称、在读用户数量、风格类型(即“言情”)等属性信息。
针对目标书籍的新用户而言,为了让新用户对目标书籍的内容有一定的了解,还可以在第一区域展示目标书籍的简介信息。其中,简介信息包括对目标书籍的正文内容的简介信息;在具体实施中,可以限定简介信息展示的行数,比如3行,以节省展示空间。如图2所示,简介信息可以展示在属性信息的下方。
针对不同的用户,第二区域展示的目标书籍的待阅读内容是不同的。其中,待阅读内容是基于用户标识对应的目标书籍的阅读进度确定的。具体地,用户标识对应的阅读用户类型决定了第二区域的待阅读内容类型,对于新用户而言,可以在目标窗口的第二区域展示待阅读内容中的部分章节目录,对于老用户而言,可以展示阅读进度对应的正文内容。
这里,针对新用户而言,由于这些用户还未阅读过目标书籍,也就是还未产生针对目标书籍的历史阅读记录,即没有对应的阅读进度。因此,可以在第二区域中展示目标书籍的部分章节目录,以使新用户可以先对目标书籍产生一定的了解。如图2所示,第二区域中,可以将部分章节目录在一起进行展示,例如第一部分和第二部分的核心内容一致,可以是以“Part1-2 xxx”的形式进行展示。在各个章节的对应位置还展示有更新时间。
针对老用户(或称历史阅读用户)而言,这些用户已经阅读过或正在阅读目标书籍,也就是可以产生针对目标书籍的历史阅读记录,即可以产生对应的阅读进度(阅读进度可以是根据已阅读的正文内容与全文内容的比例确定的)。因此,为了方便历史阅读用户继续阅读,可以在第二区域定位到用户最近阅读位置,也即展示用户最近一次阅读的位置对应的正文内容。如图3所示,在第二区域可以展示正文内容、正文内容所在的章节以及对应的阅读进度。另外,第二区域还可以展示“已自动定位到上次阅读内容”的提示信息,便于用户直接对即将要阅读的内容进行阅读,减少对阅读内容的追溯成本。
在图2和图3中,在章节目录的下方还可以分别展示“立即阅读”和“继续阅读”按钮;针对新用户而言,响应于对“立即阅读”按钮的触发操作,可以跳转到阅读页面展示选中章节对应的正文内容或者是默认展示第一章节对应的正文内容。或者,在另一种方式中,响应于作用于对“立即阅读”按钮的触发操作,也可以在第二区域中直接展示选中章节对应的正文内容或者是默认展示第一章节对应的正文内容。针对老用户而言,响应于作用于对“继续阅读”按钮的触发操作,可以跳转到阅读页面展示正文内容的接续展示。或者,也可以继续在第二区域进行正文内容的接续展示。
在实际实施中,目标窗口的大小是有限的,而本公开实施例的目标窗口除了进行内容的初始展示外,还可以满足用户的接续消费(也即消费初始展示的内容之外的内容),具体实施过程如下:
在搜索结果页中展示目标窗口,并根据目标窗口的尺寸大小,从获取的待阅读内容中确定初始展示内容;在目标窗口中,对确定的初始展示内容进行渲染展示;另外,在存在作用在所述目标窗口内的触发操作后(也即用户存在进一步消费的需求),从获取的待阅读内容中确定更新展示内容;在所述目标窗口中,对确定的所述更新展示内容进行渲染展示(该步骤详见后续关于S103的实施描述)。
这里,初始展示内容可以是预设默认展示的内容。针对目标窗口中的第一区域,初始展示内容可以是预设默认展示的属性信息。这里,当需要展示在第一区域中的属性信息较少时,第一区域可以展示全部的属性信息;当需要展示在第一区域中的属性信息较多时,即第一区域内不足以展示全部的属性信息时,第一区域可以展示筛选的部分属性信息。
针对目标窗口中的第二区域,初始展示内容可以是预设默认展示的章节目录或正文内容。这里,一般地,小说类书籍的章节目录较多或者正文内容较多,即第二区域内不足以展示全部的章节目录或正文内容,在第二区域可以展示预设尺寸范围内的待阅读内容,具体可以根据目标窗口的尺寸大小来确定展示的部分章节目录或正文内容,也可以限定展示第二预设数量个章节的目录信息或预设篇幅的正文内容。具体地,针对新用户而言,可以按照章节正序排列或者倒序排列的顺序展示部分章节目录信息;针对老用户,可以在用户的阅读进度位置开始,按照内容由前到后的顺序展示正文内容。
当用户想要阅读未展示在第二区域中的章节目录、或者是未展示在第二区域中的正文内容时,可以通过步骤S103中的过程实现,具体详见后文。
S103:响应于作用在所述目标窗口内的触发操作,展示更新后的待阅读内容。
承接上述实施过程,这里的触发操作是用于展示未展示出来的待阅读内容的操作,具体地可以包括滑动操作、点击操作、语音控制等操作。
当在目标窗口内执行上述触发操作时,可以响应于作用在目标窗口内的触发操作,从获取的待阅读内容中确定更新展示内容;在目标窗口中,对确定的更新展示内容进行渲染展示。
这里,针对滑动操作,可以根据滑动方向和滑动距离确定是从初始展示内容中的前序待阅读内容中获取更新展示内容,还是从初始展示内容中的后序待阅读内容中获取更新展示内容。针对点击操作,可以根据点击位置、点击次数、点击时长、点击力度等信息确定更新展示内容。针对语音控制操作,可以通过语义分析等方式直接确定出更新展示内容。
在一种实施方式中,当上述触发操作为滑动操作时,滑动操作可以是只针对第二区域的操作,也就是响应于作用在目标窗口内的滑动操作,保持第一区域内的内容不变,在目标窗口的第二区域中展示更新后的待阅读内容;第一区域和第二区域对应的目标窗口的不同展示层(一);或者,响应于作用在目标窗口内的滑动操作,当在目标窗口中展示的更新后的待阅读内容达到内容上限后,跳转到阅读页面进行待阅读内容的接续展示(二)。
在上述第(一)展示方式中,可以在目标窗口进行目标书籍内容的持续消费,直到用户触发停止。这里,第一区域和第二区域对应不同的展示层,其中,在比如用户滑动操作过程中,第一区域的内容保持不变,而第二区域中可以根据滑动操作持续展示更新的章节目录或正文内容,也就是在第(一)展示方式中,第二区域中展示的待阅读内容没有字数的限制,可以满足用户在搜索结果页进行阅读的需求,如图4所示,在第二区域可以展示“上滑继续免费阅读”的提示信息,也就是第二区域可以持续响应滑动操作,在搜索结果页的第二区域持续展示更新的正文内容。
在第(二)展示方式中,对目标窗口设置了消费的内容上限,当超过内容上限后,需要跳转到书籍的阅读页面(可以是专门的书籍应用(Application,APP)页面,或者当前客户 端提供的书籍阅读页面)进行待阅读内容的接续展示。比如,用户在第二区域进行滑动,第二区域开始可以根据滑动操作展示更新的章节目录或正文内容,但第二区域中只展示一定内容上限(例如针对老用户展示200字正文内容以内,对于新用户,由于章节目录的篇幅本身有限,可以展示全部的章节目录信息),当第二区域中展示的内容达到上限后,此时再进行滑动操作,目标窗口将无法持续更新待阅读内容,此时可以跳转到阅读页面进行待阅读内容的接续展示。其中,阅读页面可以是阅读器中的阅读页面,阅读器可以是额外的书籍APP的,也可以是当前客户端的。
接下来,以待阅读内容包括正文内容为例,详细介绍第(二)展示方式中,跳转到阅读页面进行待阅读内容的接续展示的过程。
在一种实施方式中,可以基于获取的待阅读内容在目标书籍中的位置信息,预加载对应的阅读页内容;然后响应于触发操作,根据预加载的阅读页内容,展示从目标窗口的待阅读内容,过渡到全屏展示阅读页面的动画。
这里的待阅读内容,也就是展示在第二区域中的更新后的正文内容,已经达到内容上限,此时再进行滑动操作,第二区域中将不再更新正文内容,而是展示从目标窗口的正文内容,过渡到全屏展示阅读页面的动画。
这里,待阅读内容在目标书籍中的位置信息可以包括第二区域中当前所展示的正文内容对应的章节以及在该章节中的位置(例如所在段落、所在行数等)。
预加载的阅读页内容中可以包括第二区域中当前所展示的正文内容,当阅读页面可展示的内容比第二区域可展示的内容多时,预加载的阅读页内容中还可以包括第二区域中当前所展示的正文内容的后续正文内容。
这里的触发操作比如前述作用在目标窗口的滑动操作,具体地可以是作用在第二区域的滑动操作。
从目标窗口的正文内容,过渡到全屏展示阅读页面的动画可以是由目标窗口的展示画面到全屏展示阅读页面的展示画面的过渡动画。图5中示出了动画展示前和动画展示后,搜索结果页的效果示意图,其中,图a为动画展示前,搜索结果页的效果示意图,图a中的第二区域展示有正文内容,图b为动画展示后,阅读页面的效果示意图,图b中的阅读页面展示有预加载的阅读页内容。
在一种实施方式中,可以将预加载的阅读页内容中,与目标窗口当前展示的待阅读内容一致的内容,作为在阅读页面初始渲染的内容,并在进行初始渲染后,逐步渲染阅读页内容的其它内容,直到渲染完成整个阅读页面。
在上述实施方式中,阅读页面中初始渲染的内容,可以只与目标窗口当前展示的待阅读内容一致的内容,但是渲染的格式可以是不同的,具体地,阅读页面中每行渲染的字数、字体大小、颜色、类型等可以与目标窗口中渲染的待阅读内容的字数、字体大小、颜色、类型等不同。图6中示出了动画展示前、动画展示中、动画展示后,搜索结果页的效果示意图,其中,图a为动画展示前,搜索结果页的效果示意图,图a中的第二区域展示有正文内容;图c为动画展示中,阅读页面的效果示意图,图c中展示的阅读页内容是与图a中正文内容一致的内容,即初始渲染的内容,也就是图c与图a中虚线框中的内容是一致的; 图b为动画展示后,阅读页面的效果示意图,图b中的阅读页面展示的阅读页内容除了包括初始渲染的内容,还包括阅读页内容的其它内容,也就是虚线框以外的内容。这里,从图c到图b的渲染时间可以是非常短暂的,通过短暂的渲染时间可以增强用户沉浸式的阅读体验。
在上述实施方式中,描述了正文内容可以从目标窗口到阅读页面的快速切换,这里还同时实现了界面从小界面(即目标窗口)到大界面(阅读页面)的快速切换。在具体实施过程中,在对目标窗口进行触发操作时,响应于作用于目标窗口的触发操作,根据目标窗口的坐标信息、目标窗口内的内容、以及要展示的阅读页面,从目标窗口的位置开始展示阅读页面的对应内容(在目标窗口的位置展示与目标窗口内的内容一致的阅读页面内容),过渡到全屏展示阅读页面的动画。这里目标窗口的坐标信息以及要展示的阅读页面可以是通过脚本桥(JavaScript Bridge,JSBridge)技术发送给阅读页面所在的客户端的。这里可以是以搜索结果页的一个顶点(例如左上角)为原点,在搜索结果页内建立二维平面坐标系,然后将目标窗口的左上角的第一坐标信息和右下角的第二坐标信息发送给客户端。也即,可以由前端页面预先通知客户端阅读器预加载的阅读页地址,阅读器进行预先加载,比如当用户点击继续阅读的时候,前端通过JSBridge技术通知客户端阅读器当前坐标信息以及要展示的阅读页面,阅读器在打开阅读页过程中,展现从小窗到全屏的页面动画,从而实现页面的无感知切换。
本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。
基于同一发明构思,本公开实施例中还提供了与搜索结果展现方法对应的搜索结果展现装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述搜索结果展现方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。
如图7所示,为本公开实施例提供的一种搜索结果展现装置示意图,包括:获取模块701、第一展示模块702、第二展示模块703,其中,
获取模块701,用于响应于用户发起的搜索请求,获取与所述搜索请求匹配的目标书籍对应的待阅读内容;
第一展示模块702,用于在搜索结果页中展示目标窗口,并在所述目标窗口中展示所述待阅读内容;
第二展示模块703,用于响应于作用在所述目标窗口内的触发操作,展示更新后的待阅读内容。
一种可选的实施方式中,所述待阅读内容包括所述目标书籍的属性信息,以及所述目标书籍的章节目录或目标章节的正文内容;
所述第一展示模块702,具体用于:
在搜索结果页中添加目标窗口;
在所述目标窗口的第一区域展示所述目标书籍的属性信息;
在所述目标窗口的第二区域展示所述目标书籍的所述章节目录或所述正文内容。
一种可选的实施方式中,所述第二展示模块703,具体用于:
响应于作用在所述目标窗口内的滑动操作,保持所述第一区域内的内容不变,在所述目标窗口的第二区域中展示更新后的待阅读内容;所述第一区域和第二区域对应所述目标窗口的不同展示层;或者,
响应于作用在所述目标窗口内的滑动操作,当在所述目标窗口中展示的更新后的待阅读内容达到内容上限后,跳转到阅读页面进行待阅读内容的接续展示。
一种可选的实施方式中,所述第一展示模块702,具体用于:
在搜索结果页中展示目标窗口,并根据所述目标窗口的尺寸大小,从获取的待阅读内容中确定初始展示内容;在所述目标窗口中,对确定的所述初始展示内容进行渲染展示;
所述第二展示模块703,具体用于:
响应于作用在所述目标窗口内的触发操作,从获取的待阅读内容中确定更新展示内容;在所述目标窗口中,对确定的所述更新展示内容进行渲染展示。
一种可选的实施方式中,所述第二展示模块703,具体用于:
基于获取的所述待阅读内容在目标书籍中的位置信息,预加载对应的阅读页内容;
响应于所述触发操作,根据预加载的所述阅读页内容,展示从所述目标窗口的待阅读内容,过渡到全屏展示阅读页面的动画。
一种可选的实施方式中,所述第二展示模块703,具体用于:
将所述预加载的阅读页内容中,与所述目标窗口当前展示的待阅读内容一致的内容,作为在阅读页面初始渲染的内容,并在进行初始渲染后,逐步渲染所述阅读页内容的其它内容,直到渲染完成整个阅读页面。
一种可选的实施方式中,所述搜索请求中携带有用户标识,所述待阅读内容是基于所述用户标识对应的所述目标书籍的阅读进度确定的。
关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。
基于同一技术构思,本公开实施例还提供了一种计算机设备。参照图8所示,为本公开实施例提供的计算机设备800的结构示意图,包括处理器801、存储器802、和总线803。其中,存储器802用于存储执行指令,包括内存8021和外部存储器8022;这里的内存8021也称内存储器,用于暂时存放处理器801中的运算数据,以及与硬盘等外部存储器8022交换的数据,处理器801通过内存8021与外部存储器8022进行数据交换,当计算机设备800运行时,处理器801与存储器802之间通过总线803通信,使得处理器801在执行以下指令:
响应于用户发起的搜索请求,获取与所述搜索请求匹配的目标书籍对应的待阅读内容;
在搜索结果页中展示目标窗口,并在所述目标窗口中展示所述待阅读内容;
响应于作用在所述目标窗口内的触发操作,展示更新后的待阅读内容。
本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法实施例中所述的搜索结果展现方法的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。
本公开实施例还提供一种计算机程序产品,该计算机程序产品承载有程序代码,所述程序代码包括的指令可用于执行上述方法实施例中所述的搜索结果展现方法的步骤,具体可参见上述方法实施例,在此不再赘述。
其中,上述计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本公开所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。

Claims (10)

  1. 一种搜索结果展现方法,其特征在于,包括:
    响应于用户发起的搜索请求,获取与所述搜索请求匹配的目标书籍对应的待阅读内容;
    在搜索结果页中展示目标窗口,并在所述目标窗口中展示所述待阅读内容;
    响应于作用在所述目标窗口内的触发操作,展示更新后的待阅读内容。
  2. 根据权利要求1所述的方法,其特征在于,所述待阅读内容包括所述目标书籍的属性信息,以及所述目标书籍的章节目录或目标章节的正文内容;
    所述在搜索结果页中展示目标窗口,并在所述目标窗口中展示所述待阅读内容,包括:
    在搜索结果页中添加目标窗口;
    在所述目标窗口的第一区域展示所述目标书籍的属性信息;
    在所述目标窗口的第二区域展示所述目标书籍的所述章节目录或所述正文内容。
  3. 根据权利要求2所述的方法,其特征在于,所述响应于作用在所述目标窗口内的触发操作,展示更新后的待阅读内容,包括:
    响应于作用在所述目标窗口内的滑动操作,保持所述第一区域内的内容不变,在所述目标窗口的第二区域中展示更新后的待阅读内容;所述第一区域和第二区域对应所述目标窗口的不同展示层;或者,
    响应于作用在所述目标窗口内的滑动操作,当在所述目标窗口中展示的更新后的待阅读内容达到内容上限后,跳转到阅读页面进行待阅读内容的接续展示。
  4. 根据权利要求1所述的方法,其特征在于,所述在搜索结果页中展示目标窗口,并在所述目标窗口中展示所述待阅读内容,包括:
    在搜索结果页中展示目标窗口,并根据所述目标窗口的尺寸大小,从获取的待阅读内容中确定初始展示内容;在所述目标窗口中,对确定的所述初始展示内容进行渲染展示;
    所述响应于作用在所述目标窗口内的触发操作,展示更新后的待阅读内容,包括:
    响应于作用在所述目标窗口内的触发操作,从获取的待阅读内容中确定更新展示内容;在所述目标窗口中,对确定的所述更新展示内容进行渲染展示。
  5. 根据权利要求3所述的方法,其特征在于,所述跳转到阅读页面进行待阅读内容的接续展示,包括:
    基于获取的所述待阅读内容在目标书籍中的位置信息,预加载对应的阅读页内容;
    响应于所述触发操作,根据预加载的所述阅读页内容,展示从所述目标窗口的待阅读内容,过渡到全屏展示阅读页面的动画。
  6. 根据权利要求5所述的方法,其特征在于,所述根据预加载的所述阅读页内容,展示从所述目标窗口的待阅读内容,过渡到全屏展示阅读页面的动画,包括:
    将所述预加载的阅读页内容中,与所述目标窗口当前展示的待阅读内容一致的内容,作为在阅读页面初始渲染的内容,并在进行初始渲染后,逐步渲染所述阅读页内容的其它内容,直到渲染完成整个阅读页面。
  7. 根据权利要求1所述的方法,其特征在于,所述搜索请求中携带有用户标识,所述待阅读内容是基于所述用户标识对应的所述目标书籍的阅读进度确定的。
  8. 一种搜索结果展现装置,其特征在于,包括:
    获取模块,用于响应于用户发起的搜索请求,获取与所述搜索请求匹配的目标书籍对应的待阅读内容;
    第一展示模块,用于在搜索结果页中展示目标窗口,并在所述目标窗口中展示所述待阅读内容;
    第二展示模块,用于响应于作用在所述目标窗口内的触发操作,展示更新后的待阅读内容。
  9. 一种计算机设备,其特征在于,包括:处理器、存储器,所述存储器存储有所述处理器可执行的机器可读指令,所述处理器用于执行所述存储器中存储的机器可读指令,所述机器可读指令被所述处理器执行时,所述处理器执行如权利要求1至7任一项所述的搜索结果展现方法的步骤。
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被计算机设备运行时,所述计算机设备执行如权利要求1至7任一项所述的搜索结果展现方法的步骤。
PCT/CN2022/113473 2021-09-29 2022-08-19 一种搜索结果展现方法、装置、计算机设备及存储介质 WO2023051076A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111153361.6A CN113849713A (zh) 2021-09-29 2021-09-29 一种搜索结果展现方法、装置、计算机设备及存储介质
CN202111153361.6 2021-09-29

Publications (1)

Publication Number Publication Date
WO2023051076A1 true WO2023051076A1 (zh) 2023-04-06

Family

ID=78977005

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/113473 WO2023051076A1 (zh) 2021-09-29 2022-08-19 一种搜索结果展现方法、装置、计算机设备及存储介质

Country Status (2)

Country Link
CN (1) CN113849713A (zh)
WO (1) WO2023051076A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113849713A (zh) * 2021-09-29 2021-12-28 北京字跳网络技术有限公司 一种搜索结果展现方法、装置、计算机设备及存储介质
CN114898683A (zh) * 2022-05-18 2022-08-12 咪咕数字传媒有限公司 沉浸式阅读实现方法、系统、终端设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120060114A1 (en) * 2010-09-02 2012-03-08 Samsung Electronics Co., Ltd. Method for providing search service convertible between search window and image display window and display apparatus applying the same
US20140324835A1 (en) * 2010-05-20 2014-10-30 The Board Of Regents Of The Nevada System Of Higher Education On Behalf Of The University Of Ne Methods And Systems For Information Search
CN104699700A (zh) * 2013-12-05 2015-06-10 腾讯科技(深圳)有限公司 搜索方法及装置
CN106708885A (zh) * 2015-11-17 2017-05-24 百度在线网络技术(北京)有限公司 一种实现搜索的方法和装置
CN112825088A (zh) * 2019-11-21 2021-05-21 阿里巴巴集团控股有限公司 信息展示方法、装置、设备及存储介质
CN113849713A (zh) * 2021-09-29 2021-12-28 北京字跳网络技术有限公司 一种搜索结果展现方法、装置、计算机设备及存储介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581557B (zh) * 2020-04-27 2023-06-27 北京字节跳动网络技术有限公司 信息展示的方法、装置、电子设备和存储介质
CN112052374B (zh) * 2020-08-13 2024-03-29 企查查科技股份有限公司 一种页面展示方法、装置、计算机设备和存储介质
CN112084268B (zh) * 2020-09-04 2022-05-20 北京字节跳动网络技术有限公司 一种搜索结果展示的方法、装置及计算机存储介质
CN112328872A (zh) * 2020-10-27 2021-02-05 北京字节跳动网络技术有限公司 一种信息展示方法、信息搜索方法及装置
CN113157970A (zh) * 2021-04-26 2021-07-23 北京字节跳动网络技术有限公司 一种信息展示的方法、装置以及计算机存储介质
CN113378061B (zh) * 2021-07-02 2023-05-30 抖音视界有限公司 一种信息搜索方法、装置、计算机设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140324835A1 (en) * 2010-05-20 2014-10-30 The Board Of Regents Of The Nevada System Of Higher Education On Behalf Of The University Of Ne Methods And Systems For Information Search
US20120060114A1 (en) * 2010-09-02 2012-03-08 Samsung Electronics Co., Ltd. Method for providing search service convertible between search window and image display window and display apparatus applying the same
CN104699700A (zh) * 2013-12-05 2015-06-10 腾讯科技(深圳)有限公司 搜索方法及装置
CN106708885A (zh) * 2015-11-17 2017-05-24 百度在线网络技术(北京)有限公司 一种实现搜索的方法和装置
CN112825088A (zh) * 2019-11-21 2021-05-21 阿里巴巴集团控股有限公司 信息展示方法、装置、设备及存储介质
CN113849713A (zh) * 2021-09-29 2021-12-28 北京字跳网络技术有限公司 一种搜索结果展现方法、装置、计算机设备及存储介质

Also Published As

Publication number Publication date
CN113849713A (zh) 2021-12-28

Similar Documents

Publication Publication Date Title
JP7377319B2 (ja) タッチ感知式セカンダリディスプレイにおいてユーザインタフェースコントロールを動的に提供するシステム、デバイス、及び方法
WO2022227866A1 (zh) 信息展示的方法、装置以及非易失性计算机存储介质
WO2023051076A1 (zh) 一种搜索结果展现方法、装置、计算机设备及存储介质
JP5916866B2 (ja) デジタル作品のための補足情報の視覚表現
US8887044B1 (en) Visually distinguishing portions of content
WO2022166579A1 (zh) 信息展示的方法、装置以及计算机存储介质
US10241648B2 (en) Context-aware field value suggestions
RU2581840C2 (ru) Регистрация для поискового интерфейса пользователя системного уровня
WO2022135074A1 (zh) 书籍信息显示方法、装置、计算机设备及可读存储介质
WO2020187118A1 (zh) 页面的展示方法和装置
WO2022111249A1 (zh) 一种信息展示的方法、装置以及计算机存储介质
US9342233B1 (en) Dynamic dictionary based on context
CN108469970B (zh) 页面选项卡信息处理方法及装置
US9449526B1 (en) Generating a game related to a digital work
US20130268826A1 (en) Synchronizing progress in audio and text versions of electronic books
CN111758122A (zh) 用于混合现实系统的浏览器
US20110283215A1 (en) Integrated user interface controls for web dialogs
KR20160089379A (ko) 상황 정보 탐색 및 내비게이션 기법
US20170235706A1 (en) Effecting multi-step operations in an application in response to direct manipulation of a selected object
US20140164366A1 (en) Flat book to rich book conversion in e-readers
WO2022161022A1 (zh) 一种页面展示方法、装置、计算机设备及存储介质
US20230214094A1 (en) Methods and apparatus for related search within a browser
WO2023108974A1 (zh) 一种显示方法和装置、电子设备、存储介质及计算机程序产品
CN107423012A (zh) 一种数据显示方法、装置及电子设备
CN109145241B (zh) 浏览器及浏览器的内容展现管理方法

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05.07.2024)