Method, apparatus, device and medium for searching data in an electronic book reader

By identifying user search intent and utilizing multi-index weights and hierarchical indexing, the accuracy and efficiency issues of e-book search are solved, resulting in a more efficient data search experience.

CN117609593BActive Publication Date: 2026-11-24BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311651880.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-04
Publication Date
2026-11-24
Estimated Expiration
2043-12-04

AI Technical Summary

Technical Problem

Existing e-book search solutions lack accuracy, fail to understand user intent, resulting in search results that do not match user needs, and are inefficient with large amounts of data.

Method used

By identifying the user's search intent, using different weights of multiple indexes to determine the sequence of search results, and employing a combination of hierarchical indexing and online/offline systems for searching and index updates.

Benefits of technology

It improves the accuracy and efficiency of search results, better matches user needs, and enhances the data search experience of e-book readers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117609593B_ABST
    Figure CN117609593B_ABST
Patent Text Reader

Abstract

A method, apparatus, device, and medium for searching data in an e-book reader are provided. The method includes: in response to a search request, identifying a user's search intent based on the search request; determining a first weight of a first index and a second weight of a second index among multiple indexes of a database of the e-book reader, respectively, based on the search intent; determining a first search result sequence and a second search result sequence matching the search request using the first index and the second index, respectively; and providing at least a portion of the search results from the first search result sequence and the second search result sequence based on the first weight and the second weight. In this manner, the search intent corresponding to the search request can be determined, and multiple search result sequences can be obtained using multiple indexes. Subsequently, search results matching the user's search intent can be determined and preferentially presented based on the corresponding weights of the multiple indexes, which helps improve search accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The various implementations of this disclosure relate to the field of computers, and in particular to methods, apparatus, devices, and computer-readable storage media for searching data in an e-book reader. Background Technology

[0002] With the development of digital technology, an increasing number of applications and websites are capable of presenting various media data (e.g., articles, e-books, reviews, etc.). Users can select content of interest to read within these applications and / or websites. To enable users to easily and quickly find content of interest, applications and / or websites often provide data search services. These services can search media data based on user-input keywords to find content of interest. However, the accuracy of existing search solutions is not entirely satisfactory, and there is a desire to improve the accuracy of data searches. Summary of the Invention

[0003] In a first aspect of this disclosure, a method for searching data in an e-book reader is provided. In this method, in response to a search request, a user's search intent is identified based on the search request; a first weight of a first index and a second weight of a second index among a plurality of indexes in the e-book reader's database are determined based on the search intent; a first search result sequence and a second search result sequence matching the search request are determined using the first index and the second index respectively; and at least a portion of the search results from the first search result sequence and the second search result sequence are provided based on the first weight and the second weight.

[0004] In a second aspect of this disclosure, an apparatus for searching data in an e-book reader is provided. The apparatus includes: an identification module configured to identify a user's search intent based on a search request in response to a search request; a weight determination module configured to determine a first weight of a first index and a second weight of a second index among a plurality of indexes in a database of the e-book reader, respectively, based on the search intent; a sequence determination module configured to determine a first search result sequence and a second search result sequence matching the search request using the first index and the second index, respectively; and a providing module configured to provide at least a portion of the search results from the first search result sequence and the second search result sequence based on the first weight and the second weight.

[0005] In a third aspect of this disclosure, an electronic device is provided. The electronic device includes: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to a first aspect of this disclosure when executed by the at least one processing unit.

[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, causes the processor to implement the method according to a first aspect of this disclosure.

[0007] It should be understood that the content described in this content section is not intended to limit the key or essential features of the implementation of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0008] In the following detailed description, the above and other features, advantages, and aspects of the various implementations of this disclosure will become more apparent, taken in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals denote the same or similar elements, wherein:

[0009] Figure 1 A schematic diagram of an example environment in which the implementation of this disclosure can be achieved is shown;

[0010] Figure 2 A block diagram illustrating a process for searching data in an e-book reader according to some implementations of this disclosure is shown schematically.

[0011] Figure 3 A block diagram of a storage system according to some implementations of this disclosure is shown schematically;

[0012] Figure 4 A block diagram illustrating the search and update process according to some implementations of this disclosure is shown schematically;

[0013] Figure 5 A block diagram illustrating the determination of search intent according to some implementations of this disclosure is shown schematically;

[0014] Figure 6 A block diagram illustrating the process of updating an index according to some implementations of this disclosure is shown schematically;

[0015] Figure 7 An example of a result page is illustrated schematically according to some implementations of this disclosure;

[0016] Figure 8 A flowchart is shown illustrating a method for searching data in an e-book reader according to some implementations of this disclosure;

[0017] Figure 9 A block diagram of an apparatus for searching data in an e-book reader according to some implementations of this disclosure is shown; and

[0018] Figure 10A block diagram of a device capable of implementing various implementations of the present disclosure is shown. Detailed Implementation

[0019] Implementations of this disclosure will now be described in more detail with reference to the accompanying drawings. While some implementations of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the implementations set forth herein. Rather, these implementations are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and implementations of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0020] In the description of the implementation methods disclosed herein, the term "comprising" and similar terms should be understood as open inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "an implementation method" or "the implementation method" should be understood as "at least one implementation method". The term "some implementation methods" should be understood as "at least some implementation methods". The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0021] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.

[0022] It is understood that before using the technical solutions disclosed in each implementation of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure through appropriate means in accordance with relevant laws and regulations, and user authorization should be obtained.

[0023] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0024] As an optional but non-restrictive implementation, in response to a user's active request, a prompt message can be sent to the user, for example, via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose whether to "agree" or "disagree" to provide personal information to the electronic device.

[0025] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0026] The term "in response to" as used herein refers to a state in which a corresponding event occurs or a condition is satisfied. It will be understood that the timing of subsequent actions performed in response to such event or condition is not necessarily strongly correlated with the time when the event occurs or the condition is met. For example, in some cases, subsequent actions may be performed immediately upon the occurrence of the event or the fulfillment of the condition; while in others, they may be performed some time after the occurrence of the event or the fulfillment of the condition.

[0027] Example Environment

[0028] Figure 1 A schematic diagram of an example environment 100 in which the implementation of this disclosure can be carried out is shown. In environment 100, user 110 may provide search request 120 to storage system 130. Search request 120 may, for example, include keywords entered by the user for performing a data search.

[0029] Storage system 120 includes an index 132 and a repository 134. Index 132 may be used to store data items and their corresponding location information. For example, index 132 may be used to store the location information of keywords within repository 134. Repository 134 may store a large amount of data. For ease of description, in the context of this disclosure, taking the user 110's intention to search for data items related to e-books as an example, repository 134 may include at least a large amount of data associated with e-books.

[0030] Based on search request 120, and using the data items indicated in index 132 and their corresponding location information, data items matching search request 120 can be retrieved from repository 134. These data items can be used as search results 140 and provided to user 110.

[0031] Storage system 130 can operate on any suitable electronic device. This electronic device can be any type of computing-capable device, including terminal devices or server devices. Terminal devices can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. Server devices can include, for example, computing systems / servers, such as mainframes, edge computing nodes, computing devices in cloud environments, and so on. In some implementations, storage system 130 can be implemented based on cloud services.

[0032] It should be understood that the structure and function of environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.

[0033] As discussed above, applications and / or websites can provide data search services. Applications and / or websites can search for relevant data about ebooks based on user-input keywords to find content of interest to the user. Traditionally, ebook paragraphs are segmented into words according to fixed rules and stored in an inverted index. During a data search, relevant content is retrieved from the repository using keywords through the inverted index, and the results are ranked according to text relevance scores. In other words, traditional search systems are often based on simple, fixed word segmentation rules, then text matching in the index and sorting by text relevance before returning the results to the user.

[0034] However, search solutions that rely solely on text relevance matching fail to understand user intent, and the limited content returned by a single index can impact search accuracy, potentially leading to discrepancies between search results and the user's actual needs. Furthermore, as the repository size increases, the need for word segmentation and indexing of all content becomes prohibitively expensive, impacting search efficiency. Additionally, the reduced real-time updates to the index further affect search accuracy. Moreover, traditional data search solutions only support full-text search within a book, failing to leverage user-input search queries to find other relevant data.

[0035] The process of data search

[0036] To at least partially address the shortcomings of the prior art, a method for searching data in an e-book reader is proposed based on some example implementations of this disclosure. In summary, in response to a search request, the user's search intent is identified based on the search request. A first weight of a first index and a second weight of a second index among multiple indexes of the e-book reader's database are determined based on the search intent. A first search result sequence and a second search result sequence matching the search request are determined using the first and second indexes, respectively. At least a portion of the search results from the first and second search result sequences are provided based on the first and second weights.

[0037] See Figure 2 The description describes an exemplary implementation of this disclosure, which... Figure 2 A block diagram 200 schematically illustrates a process for searching data in an e-book reader according to some implementations of this disclosure. For example... Figure 2 As shown, a search can be performed in parallel using multiple indexes in the storage system 250 based on search request 210. The storage system 250 may include multiple indexes. These multiple indexes may be data items created according to at least one of the following: characters in the e-book, main characters in the e-book, time in the e-book, location in the e-book, events in the e-book, titles in the e-book, plot points in the e-book, paragraphs in the e-book, key paragraphs in the e-book, bookmarks in the e-book, notes in the e-book, usage history data of the e-book, and review data of the e-book.

[0038] According to an example implementation of this disclosure, a sequence of search results can be obtained based on each index. For example, a sequence of search results 230, ..., can be obtained based on index 220, and a sequence of search results 232 can be obtained based on index 222. Each search result in the sequence of search results can have a rating. Furthermore, the weight of each index can be determined based on the search intent 212, and the ratings of the search results in each sequence can be weighted using each weight. Thus, search results 242, ..., 244, sorted by weighted ratings, can be presented on the results page 240. In this way, search results that are more closely matched to the user's search intent 212 can be presented first, thereby improving the accuracy of the search.

[0039] In some implementations, storage system 250 may include hierarchical indexes in order to classify multiple indexes. Figure 3 A block diagram 300 schematically illustrates a storage system 250 according to some implementations of this disclosure. For example... Figure 3As shown, the storage system 250 may include a hierarchical index 330 and a data storage 340. The data storage 340 may, for example, correspond to... Figure 1 Repository 134 in the database.

[0040] In storage system 250, different indexes can be categorized to determine hierarchical index 330. Hierarchical index 330 may include multiple levels. For example, it may include level 310 and level 320. Different levels may include different types of indexes. For example, level 310 may include an index corresponding to popular main characters 312, an index corresponding to ordinary main characters 314, an index corresponding to chapter titles 316, and so on. Level 320 may include an index corresponding to important paragraphs 322, an index corresponding to summary paragraphs 324, an index corresponding to ordinary paragraphs 326, and so on. It should be noted that hierarchical index 330 may include more or fewer levels, and each level may include any appropriate indexes. Figure 3 This is just one example, and this disclosure does not limit the specific number of levels or the indexes contained in each level.

[0041] In some implementations, the storage system 250 may include data such as e-books, audio e-books, e-book information, e-book usage history data, e-book bookmark data, and e-book review data. Specifically, the data storage 340 of the storage system 250 may include, for example, multiple databases or tables corresponding to different data items. For example, it may include a database corresponding to e-books 341, a database corresponding to usage history 342, a database corresponding to bookshelves 343, a database corresponding to book information 344, a database corresponding to bookmark data 345, a database corresponding to review data 346, and so on.

[0042] According to one example implementation of this disclosure, a user's search intent 212 can be identified based on search request 210. Search intent 212 may correspond, for example, to at least one data item in the storage system 250. For instance, if the user-input search request 210 includes keyword A, then search intent 212 may indicate at least one data item in the repository corresponding to keyword A. In some implementations, search intent 212 can be determined based on an intent model. For example, the intent model can be implemented based on machine learning techniques, and this disclosure does not limit the specific model.

[0043] The intent model may include, for example, an intent recognition model. The intent recognition model can describe the association between a search request and at least one data item that is expected to be searched as specified by the search request. In some implementations, text processing may be performed on the search request 210 before performing intent recognition. For example, redundant information (e.g., interjections) in the search request 210 may be filtered, and the search intent 212 may be determined based on the search request 210 using the intent recognition model.

[0044] Figure 4 A block diagram 400 schematically illustrates the search and update process according to some implementations of this disclosure. For example... Figure 4 As shown, an online system 410 can be provided to serve user searches, and an offline system 420 can be provided to update various indexes. The online system 410 includes a filtering layer 411. In response to receiving a user-input search request 210, the filtering layer 411 can perform filtering processing on the search request. Specifically, the filtering layer 411 can determine whether the search request 210 conforms to a predetermined syntax specification. Furthermore, an intent recognition model can be used to determine the search intent 212 corresponding to the search request 210.

[0045] See Figure 5 To describe more details of intent recognition, the Figure 5 A block diagram 500 schematically illustrates the determination of search intent according to some implementations of this disclosure. For example... Figure 5 As shown, the filtered search request can be provided to the intent recognition model 510. The intent recognition model 510 can determine the user intent 520 corresponding to the search request. The user intent 520 can, for example, determine the word attributes 521 of the search request (e.g., whether it is a book title, author name, alias, etc.). When the search request indicates that the keyword is associated with a person, the intent recognition model 510 can also determine whether the task is a popular protagonist 522. The intent recognition model 510 can also determine the category 523 of the book indicated by the search request (e.g., fantasy, publication, romance, etc.), synonyms and near-synonyms associated with the search request 524, etc. The intent recognition model 510 can also perform clustering and completion 525, correction 526, etc. on the search request.

[0046] Return to reference Figure 4 More details about online system 410 are provided. Figure 4As shown, in the search system 413, the multiplexed recall layer 414 can be used to invoke various indexes to determine the search result sequence corresponding to each index from the repository (not shown) of the storage system 250. That is, the search result sequence matching the search request 210 can be determined using the various indexes. For example, taking index 220 (i.e., the first index) and index 222 (i.e., the second index) as examples, the search result sequence 230 (i.e., the first search result sequence) corresponding to index 220 and the search result sequence 232 (i.e., the second search result sequence) corresponding to index 222 can be determined from the repository.

[0047] It is understood that the first and second indexes described herein are merely specific examples of indexes. Within the context of this disclosure, more indexes may exist. Specifically, a greater number of indexes may be determined based on search request 210; the two indexes described here are merely examples, and this disclosure does not limit the specific number of indexes. If a greater number of indexes is determined, a greater number of search result sequences can be determined.

[0048] Furthermore, the ranking layer 415 can be used to rank the search results from the multi-path recall layer 414. According to an example implementation of this disclosure, the sequence of search results from each index may include multiple search results, and each search result may have its own rating.

[0049] In some implementations, the search scope of the search request can be determined based on the context information of the user's input search request. Within the search scope, various indexes are used to determine the sequence of search results matching the search request 210. It is understood that at least one index and at least one sequence of search results both conform to the search scope. For example, the context information may indicate that the user is reading a book, in which case a search can be performed within the scope of that book. Another example is that the context information may indicate that the user is browsing book reviews, in which case a search can be performed within the scope of book reviews. Yet another example is that the context information may indicate that the user has just logged into an e-book application, in which case a search can be performed within the entire scope of that application, and so on.

[0050] According to an example implementation of this disclosure, the weights of each index can be determined based on a defined intent, thereby determining the weighted score of each search result. Furthermore, the search results can be sorted according to the weighted scores to determine the final results provided to the user. For example, a predetermined number of search results with the highest scores can be selected.

[0051] Specifically, the search results can be weighted based on search intent 212. As mentioned earlier, the search intent corresponds to at least one data item in the storage system 250. For each index in the at least one index, at least one degree of matching between the data item of that index and the at least one data item can be determined, and the weight corresponding to that index can be determined based on the at least one degree of matching. The degree of matching here can be determined, for example, by using a matching degree determination model, or by using a predefined matching degree determination rule. The weight corresponding to each index can be inherited, for example, by the search result sequence corresponding to that index. That is, the weight corresponding to the first search result sequence determined based on the first index is the weight of the first index. Alternatively or additionally, in some implementations, the weight corresponding to each search result sequence in the at least one search result sequence can also be directly determined based on search intent 212. In this way, higher weights can be assigned to search results that are more closely matched to the search intent, thereby prioritizing the presentation of those search results.

[0052] According to an example implementation of this disclosure, at least one search result sequence can be weighted based on the weights corresponding to at least one determined index, or the weights corresponding to at least one search result sequence. For example, the weights corresponding to indexes 220 and 222 can be determined based on search intent 212, and search result sequence 230 can be weighted based on the weight corresponding to index 220, while search result sequence 232 can be weighted based on the weight corresponding to index 222. Alternatively, the weights corresponding to search result sequences 230 and 232 can be directly determined, and search result sequences 230 and 232 can be weighted based on their respective weights.

[0053] According to an example implementation of this disclosure, search results can be sorted according to their relevance to the search request. In this case, higher-ranking search results can have higher scores, and lower-ranking search results can have lower scores. The scores of each search result can be weighted. In this way, the score of each search can be determined in a simple and effective manner, thereby helping to prioritize the presentation of search results with the highest scores.

[0054] Each search result sequence may include multiple search results. At least one search result corresponding to search request 210 can be determined based on at least one weighted search result sequence. In some implementations, for user convenience, at least one search result corresponding to search request 210 may be presented on results page 240. For example, search results 242 and 244 may be presented on results page 240.

[0055] In some implementations, the global position corresponding to each search result can also be determined to sort the search results. All data items associated with the search request 210 are determined from the storage system 250. Exemplarily, a multiplexing recall layer 414 is used to determine multiple sequences of search results based on multiple indexes. A sorting layer 415 can determine the global position of each search result in the multiple sequences of search results to sort all search results included in the at least one sequence of search results.

[0056] Specifically, the ranking layer 415 can determine the global position of a search result based on the local position of each search result within the corresponding search result sequence and the weight corresponding to each search result sequence (e.g., determining the global position based on the weighted score described above). Furthermore, in the global search results used to respond to search request 210, the ranking layer 415 can present the target search result based on its global position. For example, the higher the weighted score, the higher its corresponding global position. In this way, search results that are of greater interest to the user can be determined in a simple and effective manner, thereby improving search efficiency.

[0057] The process of performing a search using online system 410 has already been described. The process of updating indexes using offline system 420 is described below. In some implementations, multiple indexes in storage system 250 can be updated in response to updates to data in storage system 250 (i.e., data in the repository). In some implementations, at least one index among multiple indexes involving data updates can be updated based on a full update mode and / or an incremental update mode. In full update mode, multiple indexes can be updated uniformly based on the updated data in storage system 250 within a predetermined time period (e.g., one day). In incremental update mode, the corresponding index can be updated based on the updated data in response to a specific data update in storage system 250. In this case, if data is added / deleted, the corresponding index can be adjusted accordingly.

[0058] like Figure 4 As shown, in offline system 420, a full update task 421 can be executed to obtain message queue 422. An incremental update task 431 can also be executed to obtain message queue 432. Message queue 422 indicates the various tasks performing full updates, and message queue 432 indicates the various tasks performing incremental updates; both can indicate, for example, which data has been updated and what kind of update has occurred. Offline system 420 also includes an update system 423. Message queues 422 and 432 are provided to update system 423 to instruct update system 423 to update the index. Update system 423 may include a chapter / paragraph parsing layer 424 and a content understanding layer 425.

[0059] See Figure 6 To describe more details about updating the index, the Figure 6 A block diagram 600 schematically illustrates the process of updating an index according to some implementations of this disclosure. For example... Figure 6 As shown, the chapter / segment parsing layer 424 and content understanding layer 425 in the update system 423 can determine the content 610 corresponding to the updated data based on message queues 422 and / or 432. For example, it can be determined which content item the updated data corresponds to, such as protagonist 611, high-energy paragraph 612, character 613, plot summary 614, location / event 615, or category 616. The update system 420 can then update the index based on the determined content.

[0060] According to an example implementation of this disclosure, the method described above can be implemented in an e-book reader. This approach can improve the efficiency of readers finding information related to e-books. See also... Figure 7 This describes more details about performing a search in an e-book reader. Figure 7 An example 700 of the result page is illustrated schematically according to some implementations of this disclosure. For example... Figure 7 As shown, a search can be performed on the homepage of the e-book reader. For example, if you want to search for all books, a results page 710 can be provided. Users can enter their search request in the input box 712, and the results page 710 will then display the search results (e.g., search results 714, search results 716, etc.) that correspond to the search request "sun" entered by the user in the input box 712, found in all e-books.

[0061] For example, when a user is reading a book (e.g., the book "The Sun..."), they can enter a search request in input box 722. This will search for the content included in the book and provide results page 720. Results page 720 displays search results obtained from the book that correspond to the search request "the sun" entered by the user in input box 722 (e.g., search results 724, search results 726, etc.).

[0062] According to one example implementation of this disclosure, a user can further interact with the search results. If user interaction with a target search result in at least a portion of the search results is detected, detailed data including the target search result is provided. For example, assuming the user clicks search result 714 on results page 710, the found book "The Sun..." can be displayed on a subsequent page. As another example, assuming the user clicks search result 724 on results page 720, the book's preface can be displayed on a subsequent page, and so on. In this way, users can quickly view more information about the search results, making it easier for them to find content of greater interest.

[0063] According to one example implementation of this disclosure, a user can disable detailed data. If a request to disable the detailed data is detected, a page providing at least a portion of the search results can be returned, i.e., a page can be returned. Figure 7 The results page shown is 710 or 720. This allows users to flexibly switch between the results page and detailed information, making it easier for them to find content of greater interest.

[0064] According to the implementation of this disclosure, intent recognition can be performed on user-inputted search requests to determine the corresponding search intent, and the weights of each index and / or corresponding search result sequence can be determined based on the search intent. At least one search result sequence can be weighted based on the weights to determine search results that match the user's search intent, thus helping to improve search accuracy. Furthermore, employing a hierarchical indexing approach and using both online and offline systems can help improve search efficiency and content update efficiency.

[0065] Example process

[0066] Figure 8 A flowchart of a method 800 for searching data in an e-book reader according to some implementations of this disclosure is shown. At block 810, in response to a search request, the user's search intent is identified based on the search request. At block 820, a first weight of a first index and a second weight of a second index among a plurality of indexes in the e-book reader's database are determined based on the search intent. At block 830, a first search result sequence and a second search result sequence matching the search request are determined using the first index and the second index, respectively. At block 840, at least a portion of the search results from the first search result sequence and the second search result sequence are provided based on the first weight and the second weight.

[0067] According to one example implementation of this disclosure, identifying a user's search intent based on a search request includes: using an intent recognition model to determine at least one data item that the user expects to search for, based on the search request.

[0068] According to one example implementation of this disclosure, the database includes at least one of the following data items: characters in an e-book, main characters in an e-book, time in an e-book, location in an e-book, events in an e-book, titles in an e-book, plots in an e-book, paragraphs in an e-book, key paragraphs in an e-book, bookmarks in an e-book, notes in an e-book, usage history data of an e-book, and review data of an e-book; and the indexes among the multiple indexes are indexes built according to the data items in the database.

[0069] According to an example implementation of this disclosure, determining the first weight of the first index includes: determining at least one degree of matching between a data item of the first index and at least one data item; and determining the first weight based on the at least one degree of matching.

[0070] According to an example implementation of this disclosure, providing at least a portion of the search results in a first search result sequence and a second search result sequence includes: determining the global position of a target search result in the first search result sequence and the second search result sequence based on the local position of the target search result in the first search result sequence or the second search result sequence, as well as a first weight and a second weight; and presenting the target search result in the global search results for responding to a search request based on the global position.

[0071] According to one example implementation of this disclosure, the database includes at least a portion of the following data ranges: e-books, audio e-books, information about e-books, usage history data of e-books, bookmark data in e-books, and review data of e-books. The method further includes: determining the search scope of a search request from the multiple data ranges based on contextual information of a user input search request; and wherein determining a first search result sequence and a second search result sequence matching the search request includes: within the search scope, determining the first search result sequence and the second search result sequence matching the search request.

[0072] According to one example implementation of this disclosure, the method further includes: in response to detecting user interaction with a target search result in at least a subset of search results, providing detailed data including the target search result.

[0073] According to one example implementation of this disclosure, the method further includes: in response to detecting a close request for closing detailed data, returning a page for providing at least a portion of the search results.

[0074] According to one example implementation of this disclosure, multiple indexes are updated in response to data updates in the database.

[0075] According to one example implementation of this disclosure, at least one of a plurality of indexes involving data updates is updated, and at least one index is updated based on at least one of the following: full update mode, incremental update mode.

[0076] Example devices and equipment

[0077] The specific details of the data search method have been described above. According to an exemplary implementation of this disclosure, an apparatus for searching data in an e-book reader is provided. Figure 9 A block diagram of an apparatus 900 for searching data in an e-book reader according to some implementations of the present disclosure is shown. The apparatus 900 includes: an identification module 910 configured to identify a user's search intent based on a search request in response to a search request; a weight determination module 920 configured to determine a first weight of a first index and a second weight of a second index among a plurality of indexes in a database of the e-book reader, respectively, based on the search intent; a sequence determination module 930 configured to determine a first search result sequence and a second search result sequence matching the search request using the first index and the second index, respectively; and a providing module 940 configured to provide at least a portion of the search results from the first search result sequence and the second search result sequence based on the first weight and the second weight.

[0078] According to one example implementation of this disclosure, the identification module includes: an intent identification module configured to determine, based on a search request, at least one data item that the user expects to search for using an intent identification model.

[0079] According to one example implementation of this disclosure, the database includes at least one of the following data items: characters in an e-book, main characters in an e-book, time in an e-book, location in an e-book, events in an e-book, titles in an e-book, plots in an e-book, paragraphs in an e-book, key paragraphs in an e-book, bookmarks in an e-book, notes in an e-book, usage history data of an e-book, and review data of an e-book; and the indexes among the multiple indexes are indexes built according to the data items in the database.

[0080] According to an example implementation of this disclosure, the weight determination module includes: a matching degree determination module configured to determine at least one matching degree between a data item of the first index and at least one data item; and a matching degree-based determination module configured to determine a first weight based on at least one matching degree.

[0081] According to an example implementation of this disclosure, the provided module includes: a position determination module configured to determine the global position of the target search result based on the local position of the target search result in the first search result sequence or the second search result sequence, and a first weight and a second weight, for a target search result in a first search result sequence and a second search result sequence; and a presentation module configured to present the target search result based on the global position in the global search results for responding to a search request.

[0082] According to one example implementation of this disclosure, the database includes at least a portion of the following data ranges: e-books, audio e-books, information about e-books, usage history data of e-books, bookmark data in e-books, and review data of e-books. The apparatus further includes: a range determination module configured to determine the search range of a search request from the multiple data ranges based on context information of a user-input search request; and a sequence determination module including: a range-based determination module configured to determine, within the search range, a first search result sequence and a second search result sequence matching the search request.

[0083] According to one example implementation of this disclosure, the apparatus further includes: a data providing module configured to provide detailed data including the target search results in response to detecting user interaction with a user on a target search result in at least a subset of search results.

[0084] According to one example implementation of this disclosure, the apparatus further includes: a return module configured to return a page providing at least a portion of the search results in response to detecting a close request for closing detailed data.

[0085] According to one example implementation of this disclosure, multiple indexes are updated in response to data updates in the database.

[0086] According to one example implementation of this disclosure, at least one of a plurality of indexes involving data updates is updated, and at least one index is updated based on at least one of the following: full update mode, incremental update mode.

[0087] Figure 10 A block diagram of an electronic device 1000 capable of implementing various embodiments of the present disclosure is shown. It should be understood that... Figure 10 The electronic device 1000 shown is merely exemplary and should not be construed as limiting the functionality and scope of the implementation described herein. Figure 10 The electronic device 1000 shown can be used to implement the method described above.

[0088] like Figure 10 As shown, electronic device 1000 is in the form of a general-purpose computing device. Components of electronic device 1000 may include, but are not limited to, one or more processors or processing units 1010, memory 1020, storage device 1030, one or more communication units 1040, one or more input devices 1050, and one or more output devices 1060. Processing unit 1010 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 1020. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 1000.

[0089] Electronic device 1000 typically includes multiple computer storage media. Such media can be any available media accessible to electronic device 1000, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 1020 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 1030 can be removable or non-removable media and may include machine-readable media, such as flash drives, disks, or any other media capable of storing information and / or data and accessible within electronic device 1000.

[0090] Electronic device 1000 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 10 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 1020 may include computer program product 1025 having one or more program modules configured to perform various methods or actions of various implementations of this disclosure.

[0091] The communication unit 1040 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 1000 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 1000 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.

[0092] Input device 1050 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 1060 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 1000 can also communicate with one or more external devices (not shown) via communication unit 1040 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 1000, or with any device that enables electronic device 1000 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).

[0093] According to some implementations of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to some implementations of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above. According to some implementations of this disclosure, a computer program product is provided that stores a computer program thereon, which, when executed by a processor, implements the methods described above.

[0094] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0095] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0096] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0097] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0098] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for searching data in an e-book reader, comprising: In response to a search request, the user's search intent is identified based on the search request; Determining the first weight of a first index and the second weight of a second index among multiple indexes in the database of the e-book reader based on the search intent includes: Determine at least one first matching degree between a data item in the first index and at least one data item, wherein the at least one data item is the at least one data item that the user expects to search for; and determine the first weight based on the at least one first matching degree; and Determine at least one second matching degree between the data item of the second index and the at least one data item; and determine the second weight based on the at least one second matching degree. The first index and the second index are used respectively to determine the first search result sequence and the second search result sequence matching the search request; and Providing at least a portion of search results from the first search result sequence and the second search result sequence based on the first weight and the second weight includes: weighting the first search result sequence and the second search result sequence based on the first weight and the second weight respectively, and providing the at least a portion of search results based on the sorting of the weighted first search result sequence and the weighted second search result sequence.

2. The method of claim 1, wherein identifying the user's search intent based on the search request comprises: Based on the search request, an intent recognition model is used to determine at least one data item that the user expects to search for.

3. The method according to claim 2, wherein the database includes at least any one of the following data items: characters in the e-book, main characters in the e-book, time in the e-book, location in the e-book, events in the e-book, titles in the e-book, plots in the e-book, paragraphs in the e-book, key paragraphs in the e-book, bookmarks in the e-book, notes in the e-book, usage history data of the e-book, and comment data of the e-book; and the indexes among the plurality of indexes are indexes built according to the data items in the database.

4. The method of claim 1, wherein providing at least a portion of the search results from the first search result sequence and the second search result sequence comprises: For the target search results in the first search result sequence and the second search result sequence, The global position of the target search result is determined based on its local position in the first search result sequence or the second search result sequence, as well as the first weight and the second weight. as well as In the global search results used to respond to the search request, the target search result is presented based on the global location.

5. The method of claim 1, wherein the database comprises at least a portion of the following data ranges: e-books, audio e-books, information about e-books, usage history data of e-books, bookmark data in e-books, and review data of e-books, and the method further comprises: Based on the context information of the user input of the search request, the search scope of the search request is determined from the plurality of data ranges; as well as Determining the first search result sequence and the second search result sequence that match the search request includes: within the search scope, determining the first search result sequence and the second search result sequence that match the search request.

6. The method of claim 1, further comprising: In response to detecting user interaction by the user with respect to a target search result in at least a subset of the search results, detailed data including the target search result is provided.

7. The method of claim 6, further comprising: In response to detecting a close request to disable the detailed data, a page providing at least a portion of the search results is returned.

8. The method of claim 1, wherein the plurality of indexes are updated in response to data updates in the database.

9. The method of claim 8, wherein at least one of the plurality of indexes relating to the data update is updated, and the at least one index is updated based on at least one of the following: full update mode, incremental update mode.

10. An apparatus for searching data in an e-book reader, comprising: The identification module is configured to identify the user's search intent based on the search request in response to the search request; A weight determination module is configured to determine, based on the search intent, a first weight of a first index and a second weight of a second index among multiple indexes of the e-book reader's database, and the weight determination module is further configured to: Determine at least one first matching degree between a data item in the first index and at least one data item, wherein the at least one data item is the at least one data item that the user expects to search for; and determine the first weight based on the at least one first matching degree; as well as Determine at least one second matching degree between the data item of the second index and the at least one data item; And the second weight is determined based on the at least one second matching degree; A sequence determination module is configured to determine a first search result sequence and a second search result sequence that match the search request, respectively, using the first index and the second index. as well as A providing module is configured to provide at least a portion of search results from a first search result sequence and a second search result sequence based on a first weight and a second weight, the providing module being further configured to: weight the first search result sequence and the second search result sequence based on the first weight and the second weight respectively, and provide the at least a portion of search results based on the sorting of the weighted first search result sequence and the weighted second search result sequence.

11. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, which, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1 to 9.

12. A computer-readable storage medium having a computer program stored thereon, the computer program causing the processor to implement the method according to any one of claims 1 to 9 when executed by a processor.

Citation Information

Patent Citations

  • Information retrieval method, device and equipment and computer readable storage medium

    CN111753060A

  • Searching method and device, equipment and medium

    CN116975413A