Book recommendation method and electronic device

By calculating the reading information of multiple users in a user group, the reading suitability of read books and the similarity of candidate books are determined, which solves the problem of low accuracy in book recommendation in existing technologies and achieves more efficient book recommendation.

CN114218490BActive Publication Date: 2024-11-22HISENSE GRP HLDG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111552688.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-17
Publication Date
2024-11-22
Estimated Expiration
2041-12-17

AI Technical Summary

Technical Problem

In existing technologies, the accuracy of teachers recommending books to the class as a whole is relatively low, and it cannot accurately meet the reading needs of multiple users.

Method used

By acquiring reading information from multiple users within a user group, the reading suitability of read books and the similarity to candidate books are determined. The recommendation score is then calculated, and recommended books are selected, avoiding human judgment based on experience.

Benefits of technology

This improves the accuracy and applicability of book recommendations, ensuring that recommended books match the reading interests and needs of the user group.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114218490B_ABST
    Figure CN114218490B_ABST
Patent Text Reader

Abstract

The present application discloses a book recommendation method and electronic device, and relates to the technical field of book recommendation. The electronic device can determine the reading suitability of each book that has been read by multiple users in a user group for the user group, and can determine the recommendation degree of each candidate book based on the similarity between at least one read book and the candidate book, and the reading suitability of at least one read book, and then determine the candidate book with a recommendation degree greater than a recommendation degree threshold as a recommended book. Since there is no need for manual determination based on experience, the accuracy of the recommended books determined by the electronic device provided by the present application is high, and it can ensure that the determined recommended books are suitable for reading by multiple users in the user group.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of book recommendation, and in particular to a book recommendation method and electronic equipment. Background Art

[0002] Teachers can recommend books to the class to improve the reading ability of the class. The class is a group of students organized into teaching classes.

[0003] In the related art, teachers can recommend books to the class based on their experience. However, the accuracy of the books recommended in this way is low. Summary of the invention

[0004] The present application provides a book recommendation method and electronic device, which can solve the problem of low accuracy of recommended books in related technologies. The technical solution is as follows:

[0005] In one aspect, a book recommendation method is provided, which is applied to an electronic device; the method comprises:

[0006] Acquire reading information of multiple users in a user group, wherein the reading information of each user includes: book identifiers of books that the user has read, and reading time of the user reading the books;

[0007] For each of the book identifiers included in the reading information of the multiple users, determining the reading suitability of the read book indicated by the book identifier for the user group, wherein the reading suitability is positively correlated with the ratio of the time each of the multiple users spends reading the read book, and the time ratio is the ratio of the time the user spends reading the read book to the total reading time of the user;

[0008] For each candidate book in the library, based on the similarity between the candidate book and at least one of the read books, and the reading suitability of at least one of the read books, the recommendation degree of the candidate book is determined, and the recommendation degree of the candidate book is positively correlated with the similarity, and positively correlated with the reading suitability of each of the read books;

[0009] If the recommendation degree of the candidate book is greater than the recommendation degree threshold, the candidate book is determined as a recommended book.

[0010] In another aspect, an electronic device is provided, the electronic device comprising: a processor; the processor is configured to:

[0011] Acquire reading information of multiple users in a user group, wherein the reading information of each user includes: book identifiers of books that the user has read, and reading time of the user reading the books;

[0012] For each of the book identifiers included in the reading information of the multiple users, determining the reading suitability of the read book indicated by the book identifier for the user group, wherein the reading suitability is positively correlated with the ratio of the time each of the multiple users spends reading the read book, and the time ratio is the ratio of the time the user spends reading the read book to the total reading time of the user;

[0013] For each candidate book in the library, based on the similarity between the candidate book and at least one of the read books, and the reading suitability of at least one of the read books, the recommendation degree of the candidate book is determined, and the recommendation degree of the candidate book is positively correlated with the similarity, and positively correlated with the reading suitability of each of the read books;

[0014] If the recommendation degree of the candidate book is greater than the recommendation degree threshold, the candidate book is determined as a recommended book.

[0015] Optionally, the processor is used to:

[0016] Determine the time ratio of the user reading the read book based on the reading time of each user reading the read book indicated by the book identifier and the total reading time of the user;

[0017] Determine a first proportion of the number of users who have read the read book among the multiple users;

[0018] Based on the proportion of time each of the multiple users spends reading the read books and the proportion of the first personnel, the reading suitability of the read books indicated by the book identifiers for the user group is determined, and the reading suitability is positively correlated with the sum of the time proportions and negatively correlated with the proportion of the first personnel.

[0019] Optionally, the processor is used to:

[0020] Determine the time ratio of the user reading the read book based on the reading time of each user reading the read book indicated by the book identifier and the total reading time of the user;

[0021] Determine a first proportion of the number of users who have read the read book among the multiple users;

[0022] Based on the proportion of time each of the multiple users spends reading the read books and the proportion of the first personnel, the reading suitability of the read books indicated by the book identifiers for the user group is determined, and the reading suitability is positively correlated with the sum of the time proportions and negatively correlated with the proportion of the first personnel.

[0023] Optionally, the reading fitness Y satisfies:

[0024]

[0025] Wherein, K is the proportion of the first personnel, m is the total number of the multiple users, S i is the proportion of time that the i-th user among the multiple users spends reading the read book, where i is a positive integer not greater than m.

[0026] Optionally, the processor is used to:

[0027] If the recommendation degree of the candidate book is higher than the recommendation degree threshold, and the proportion of the second person among the multiple users who have read the candidate book is lower than the proportion threshold, the candidate book is determined as a recommended book.

[0028] Optionally, the recommendation degree of the candidate book is positively correlated with the target product of at least one of the read books;

[0029] The target product of the jth read book satisfies: Y j ×sim(A j ,B);

[0030] Among them, Y j is the reading suitability of the jth read book for the user group, A j is the jth book among at least one of the books that have been read, B is the candidate book, sim(A j ,B) is the similarity between the candidate book and the jth read book.

[0031] Optionally, the recommendation degree T of the candidate books satisfies:

[0032]

[0033] Wherein, n is the total number of read books used to determine the recommendation degree of the candidate books.

[0034] Optionally, the reading suitability of each of at least one of the read books for the user group is greater than a suitability threshold.

[0035] Optionally, the processor is further configured to:

[0036] Sending book identifiers of at least two of the recommended books to a first mobile terminal for display by the first mobile terminal;

[0037] receiving a book identifier of a target book sent by the first mobile terminal, wherein the target book is determined by the first mobile terminal in response to a selection operation of the book identifier of the target book among at least two recommended books;

[0038] The book identification of the target book is sent to the second mobile terminal of each user in the user group respectively.

[0039] On the other hand, an electronic device is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the book recommendation method as described in the above aspects when executing the computer program.

[0040] On the other hand, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the book recommendation method as described in the above aspects.

[0041] On the other hand, a computer program product comprising instructions is provided, and when the computer program product is executed on the computer, the computer is enabled to execute the book recommendation method described in the above aspects.

[0042] The beneficial effects of the technical solution provided by this application include at least:

[0043] The present application provides a book recommendation method and electronic device, the electronic device can determine the reading suitability of each book that has been read by multiple users in a user group for the user group, and can determine the recommendation degree of each candidate book based on the similarity between at least one read book and the candidate book, and the reading suitability of at least one read book, and then determine the candidate book with a recommendation degree greater than a recommendation degree threshold as a recommended book. Since there is no need for manual experience-based determination, the accuracy of the recommended books determined by the electronic device provided by the present application is high, and it can ensure that the determined recommended books are suitable for reading by multiple users in the user group.

[0044] Furthermore, since the reading suitability of each read book is positively correlated with the ratio of the time each user among multiple users spends reading the book, and since the user's interest in the read book is positively correlated with the ratio of the time, it can be ensured that the determined recommended books meet the reading interests of multiple users in the user group. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0046] Figure 1 is a flow chart of a book recommendation method provided in an embodiment of the present application;

[0047] Figure 2 It is a structural diagram of an implementation environment involved in the book recommendation method provided in the embodiment of the present application;

[0048] Figure 3 is a flow chart of another book recommendation method provided in an embodiment of the present application;

[0049] Figure 4 This is a schematic diagram of an interface for a first mobile terminal to send a book recommendation request provided by an embodiment of the present application;

[0050] Figure 5 It is a schematic diagram of an interface for a first mobile terminal to display reading information of a group and obtain a book identification of a target book provided by an embodiment of the present application;

[0051] Figure 6 is a structural schematic diagram of a book recommendation device provided in an embodiment of the present application;

[0052] Figure 7 This is a software structure block diagram of a book recommendation device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0054] The embodiment of the present application provides a book recommendation method, which can be applied to an electronic device. Optionally, the electronic device can be a mobile terminal or a recommendation server. The mobile terminal can be installed with a reading application, and the mobile terminal can be a mobile phone, a tablet computer or a laptop computer. The recommendation server can be a recommendation server, or a recommendation server cluster composed of several recommendation servers, or a cloud computing service center. Figure 1 , the method comprising:

[0055] Step 101: Obtain reading information of multiple users in a user group.

[0056] The reading information of each user may include: the book ID of the user's read book and the reading time of the user reading the read book. The read book refers to: the book that the user has read, and the book ID of each read book may include: the international standard book number (ISBN) of the read book.

[0057] Optionally, the book identification may also include at least one of the name of the read book, the author's name, and the book cover. For example, the book identification may include the ISBN of the read book, the name of the read book, the author's name, and the book cover. The reading information of each user may also include the total reading time of the user. Each user may be a student.

[0058] In the embodiment of the present application, if the electronic device is a recommendation server, and see Figure 2 , the recommendation server 10 can be connected to the first mobile terminal 20, and the recommendation server 10 can obtain the reading information of multiple users in the user group after receiving the book recommendation request sent by the first mobile terminal 20.

[0059] Among them, the first mobile terminal can send a book recommendation request to the recommendation server when starting to run the reading application installed therein, or after receiving a touch operation on the recommendation control displayed on the application interface of the reading application. The book recommendation request can carry the first user identifier of each user in the user group. The first user identifier of each user can be the user account (such as a mobile phone number) currently logged in to the reading application installed in the second mobile terminal of the user. The embodiment of the present application does not limit the triggering method for the first mobile terminal to send a book recommendation request to the recommendation server.

[0060] In an alternative implementation, please continue to refer to Figure 2 The recommendation server 10 can also communicate with multiple users in the user group AA (for example Figure 2 The user group shown includes three users) connected to the second mobile terminal 30. When each user is reading a book through his / her second mobile terminal, the second mobile terminal can collect the reading information of the user. Afterwards, the second mobile terminal can send the reading information of the user to the recommendation server each time after collecting the reading information of the user. Accordingly, the recommendation server can store the reading information of each user in the user group. Alternatively, the second mobile terminal can store the reading information of the user. In response to the book recommendation request, the recommendation server can send a first information acquisition request to multiple second mobile terminals. Each second mobile terminal can send the stored reading information to the recommendation server in response to the first information acquisition request. The recommendation server can obtain the reading information of multiple users.

[0061] In another optional implementation, the recommendation server can be connected to a library management device, and the library management device can collect and store the reading information of each user through a smart bookshelf connected to the library management device. The smart bookshelf can refer to a bookshelf equipped with a radio frequency identification (RFID) electronic tag reader. After receiving the book recommendation request, the recommendation server can send a second information acquisition request to the library management device, and the second information acquisition request can include the user identification of each user in the user group. The library management device can send the reading information of each user to the recommendation server in response to the second information acquisition request, and the recommendation server can obtain the reading information of multiple users. If the user is a student, the user identification can be the student's student number. The reading information of each user can be collected by the user's second mobile terminal and sent to the recommendation server for storage by the recommendation server.

[0062] If the electronic device is a mobile terminal (hereinafter referred to as the third mobile terminal for ease of distinction), the triggering method for the third mobile terminal to obtain reading information of multiple users in the user group can refer to the triggering method for the first mobile terminal to send a book recommendation request to the recommendation server, and the embodiments of the present application will not be repeated here.

[0063] Optionally, if the reading information of each user is collected by the second mobile terminal of the user, the third mobile terminal can send a first information acquisition request to the second mobile terminals of multiple users respectively to obtain the reading information of multiple users. If the reading information of each user is collected by the book management device through the smart bookshelf connected to it, the third mobile terminal can send a second information acquisition request to the book management device to obtain the reading information of multiple users. Alternatively, each user in the user group can manually enter his or her own reading information in the third mobile terminal. Accordingly, the third mobile terminal can obtain the user's reading information in response to the user's input operation.

[0064] It is understandable that the third mobile terminal may be a second mobile terminal among the plurality of second mobile terminals. In addition, in this scenario, the third mobile terminal may send a second information acquisition request to a second mobile terminal other than the third mobile terminal among the plurality of second mobile terminals to acquire reading information of the plurality of users.

[0065] Step 102: for each book identifier included in the reading information of the plurality of users, determine the reading suitability of the read book indicated by the book identifier for the user group.

[0066] After the electronic device obtains the reading information of multiple users, for each book identifier included in the multiple reading information, the electronic device can determine the time ratio of each user among the multiple users reading the read book indicated by the book identifier, and then determine the reading suitability of the read book indicated by the book identifier for the user group based on the multiple time ratios, and the reading suitability can represent the suitability of the read book for the user group. The reading suitability of each read book is positively correlated with the time ratio of each user among the multiple users reading the read book. The time ratio of each user reading the read book can refer to: the ratio of the time the user reads the read book to the total reading time of the user.

[0067] Step 103: For each candidate book in the library, determine the recommendation degree of the candidate book based on the similarity between the candidate book and at least one read book, and the reading suitability of the at least one read book.

[0068] For each candidate book in the library, the electronic device can determine the similarity between the candidate book and at least one of the multiple read books. Afterwards, the recommendation server can determine the recommendation degree of the candidate book based on the similarity between the candidate book and the at least one read book and the reading suitability of the at least one read book.

[0069] The recommendation degree of each candidate book is positively correlated with the similarity and the reading suitability of each read book. The multiple candidate books in the library may include multiple read books indicated by multiple book identifiers included in the multiple reading information.

[0070] Step 104: If the recommendation degree of the candidate book is greater than the recommendation degree threshold, the candidate book is determined as a recommended book.

[0071] After obtaining the recommendation degree of each candidate book, the electronic device can select candidate books with a recommendation degree greater than a recommendation degree threshold from multiple candidate books, and determine the candidate books with a recommendation degree greater than the recommendation degree threshold as recommended books. The recommendation degree threshold can be pre-stored by the electronic device.

[0072] In summary, the embodiment of the present application provides a book recommendation method, where the electronic device can determine the reading suitability of each read book that multiple users in a user group have read for the user group, and can determine the recommendation degree of each candidate book based on the similarity between at least one read book and the candidate book, and the reading suitability of at least one read book, and then determine the candidate book with a recommendation degree greater than a recommendation degree threshold as a recommended book. Since there is no need for manual determination based on experience, the accuracy of the recommended books determined by the electronic device provided in the embodiment of the present application is high, and it can ensure that the determined recommended books are suitable for reading by multiple users in the user group.

[0073] Furthermore, since the reading suitability of each read book is positively correlated with the ratio of the time each user among multiple users spends reading the book, and since the user's interest in the read book is positively correlated with the ratio of the time, it can be ensured that the determined recommended books meet the reading interests of multiple users in the user group.

[0074] In the embodiment of the present application, an electronic device is used as a recommendation server, and the recommendation server is connected to a first mobile terminal. A first reading application is installed in the first mobile terminal, and each user reads books through a second reading application installed in a second mobile terminal. The recommendation server is a background recommendation server for the first reading application and the second reading application. The reading information of each user is sent to the recommendation server every time the user's second mobile terminal collects it. As an example, the book recommendation method provided in the embodiment of the present application is described in an exemplary manner. Figure 3 , the method may include:

[0075] Step 201: The second mobile terminal of each user in the user group sends the collected reading information of the user to the recommendation server.

[0076] The reading information of each user may include: the book ID of the book that the user has read, and the reading time of the book that the user has read. The book ID may include: the ISBN of the book that has been read.

[0077] Optionally, the book identification may also include at least one of the name of the read book, the author's name, and the book cover. For example, the book identification may include the ISBN of the read book, the name of the read book, the author's name, and the book cover. The reading information of each user may also include the total reading time of the user, and the reading progress of each book that the user has read. The user group may include several students in a class, for example, the user group may include all students in a class. That is, each user may be a student.

[0078] In the embodiment of the present application, when each user reads a book through his / her second mobile terminal, the second mobile terminal can collect the user's reading information. After that, the second mobile terminal can send the collected reading information to the recommendation server each time after collecting the user's reading information. Correspondingly, after receiving the reading information sent by the second mobile terminal, the recommendation server can store the reading information.

[0079] It is understandable that when the second mobile terminal sends the reading information to the recommendation server, it can also send the first user ID of the user of the second mobile terminal. After receiving the reading information and the first user ID, the recommendation server can record the reading information and the first user ID accordingly. The first user ID of each user can be the user account (e.g., mobile phone number) currently logged in to the second reading application installed in the second mobile terminal of the user.

[0080] Optionally, when the second mobile terminal is counting the reading time of a certain book that the user has read, if it is determined that the time difference between the time when the display of the read book starts and the time when the display of the read book ends is less than the difference threshold, the reading time counted up to the time when the display of the read book starts can be determined as the reading time of the user reading the read book. In this way, the problem of incorrect reading time counted due to user's misoperation can be avoided, thereby ensuring the accuracy of the determined recommended books.

[0081] Step 202: The first mobile terminal sends a book recommendation request to a recommendation server.

[0082] In an embodiment of the present application, a first reading application is installed in the first mobile terminal, and the first mobile terminal may send a book recommendation request to the recommendation server when starting to run the first reading application or after receiving a touch operation on a recommendation control displayed on an application interface of the first reading application. The embodiment of the present application does not limit the triggering method for the first mobile terminal to send a book recommendation request. Among them, the book recommendation request may include a first user identifier of each user in the user group, and the first user identifier of each user may be pre-stored in the first mobile terminal. Optionally, the first mobile terminal may be a teacher's mobile terminal.

[0083] Optionally, the first mobile terminal may display multiple candidate groups. Furthermore, the first mobile terminal may select a target group from the multiple candidate groups in response to a selection operation of the user, and send a book recommendation request for recommending books for the target group to the recommendation server. The users included in any two of the multiple candidate groups may be different from each other, or may be partially the same and partially different. The embodiments of the present application are not limited to this. For example, a certain candidate group may include students of a class, or may include some students of a class.

[0084] For example, suppose a class is divided into two groups. Among the multiple groups, user group A includes students from one class, user group A includes students from a group of the class, and user group C includes students from another group of the class. The teacher needs the recommendation server to recommend books to user group A among the three groups. Figure 4The application interface of the first reading application installed in the first mobile terminal displays a first selection control 01a corresponding to user group A among the three groups, a second selection control 01b corresponding to user group A, a third selection control 01c corresponding to user group C, and a recommendation control 02.

[0085] If the teacher determines that the recommendation server needs to recommend books for user group A, the teacher can first touch the first selection control 01a and then touch the recommendation control 01. Accordingly, the first mobile terminal can send a book recommendation request including the first user identification of each user in user group A to the recommendation server in response to the touch operation on the recommendation control 01.

[0086] Step 203: The recommendation server obtains reading information of multiple users in the user group in response to the book recommendation request.

[0087] After receiving the book recommendation request sent by the first mobile terminal, the recommendation server can obtain the reading information corresponding to each first user identifier included in the book recommendation request from multiple reading information based on the pre-stored correspondence between the first user identifier and the reading information, thereby obtaining the reading information of each user in the user group.

[0088] Step 204: For each book identifier included in the reading information of the multiple users, the recommendation server determines the reading suitability of the read book indicated by the book identifier for the user group.

[0089] After the recommendation server obtains the reading information of multiple users, for each book identifier included in the multiple reading information, the recommendation server can obtain the reading time of each user among the multiple users reading the read book indicated by the book identifier, as well as the total reading time of the user, and determine the ratio of the reading time to the total reading time as the time ratio of the user reading the read book, and then determine the reading suitability of the read book for the user group composed of multiple users based on the time ratio of the multiple users. Among them, the reading suitability of each read book is positively correlated with each time ratio. The time ratio of each user reading the read book can refer to: the ratio of the time the user reads the read book to the total reading time of the user.

[0090] Optionally, the recommendation server may determine the reading suitability of the read books indicated by each book identification in the multiple non-repeated book identifications included in the multiple reading information for the multiple user groups. In this way, the computational load of the recommendation server may be reduced, thereby reducing the overhead of the recommendation server.

[0091] In an optional implementation, for each read book, the recommendation server may directly determine the reading suitability of the read book for the user group as the sum of the time ratios of multiple users reading the read book.

[0092] In another optional implementation, for each read book, the recommendation server may first determine the proportion of time each user has spent reading the read book based on the reading time of each user among multiple users and the total reading time of the user. Then, the recommendation server may determine the proportion of the number of users among multiple users who have read the read book to the first person among multiple users. Afterwards, the recommendation server may determine the reading suitability of the read book for the user group based on the proportion of time each user has spent reading the read book and the proportion of the first person. In this way, the accuracy of the determined reading suitability of the read book for the user group can be ensured, and the problem that the determined recommended book has been read by most users in the user group can be avoided. Among them, the reading suitability of the read book may be positively correlated with each time ratio, and may be negatively correlated with the reading suitability. The first person proportion K satisfies the following formula:

[0093]

[0094] In formula (1), N s is the number of users who have read the book. t The total number of users.

[0095] Optionally, the reading suitability Y of each read book for the user group may satisfy the following formula:

[0096]

[0097] In formula (2), K is the proportion of the first person, m is the total number of users in the user group, S i is the proportion of time that the i-th user among multiple users spends reading the book. i satisfy: t1 is the time taken by the i-th user to read the book, t t is the total reading time of the i-th user. i is a positive integer not greater than m.

[0098] Step 205: For each candidate book in the library, the recommendation server determines the recommendation degree of the candidate book based on the similarity between the candidate book and at least one read book, and the reading suitability of the at least one read book.

[0099] For each candidate book in the plurality of candidate books, the recommendation server may determine the similarity between the candidate book and each read book in the at least one read book, and obtain at least one similarity. Afterwards, the recommendation server may determine the recommendation degree of the candidate book based on the reading fitness of each read book in the at least one read book and the at least one similarity. The recommendation degree of each candidate book is positively correlated with the reading fitness of each read book, and is positively correlated with each similarity in the at least one similarity. The plurality of candidate books may include a plurality of read books.

[0100] In an embodiment of the present application, at least one book may be all the books that have been read by multiple users in a user group. Alternatively, at least one book that has been read may be a book among the multiple books that have been read whose reading fitness is greater than a fitness threshold. That is, after obtaining the reading fitness of each of the multiple books that have been read, the recommendation server may first select at least one book that has been read from the multiple books that have been read whose reading fitness is greater than the fitness threshold. Afterwards, the recommendation server may determine the recommendation degree of the candidate book based on the reading fitness of the at least one book that has been read and the similarity between the candidate book and the at least one book that has been read. In this way, the computational complexity of the recommendation server may be reduced, and the overhead of the recommendation server may be reduced.

[0101] Optionally, the recommendation degree of each candidate book may be positively correlated with the target product of at least one read book. The target product of the j-th read book may satisfy: Y j ×sim(A j ,B). Among them, Y j is the reading suitability of the jth read book among at least one read book for the user group, A j is the jth book among at least one book that has been read, B is the candidate book, sim(A j ,B) is the similarity between the candidate book and the jth read book.

[0102] Optionally, the recommendation degree T of each candidate book may satisfy the following formula:

[0103]

[0104] In formula (3), n is the total number of read books used to determine the recommendation degree of the candidate books, that is, the total number of at least one read book.

[0105] Alternatively, the recommendation degree of each candidate book may be the sum of the product of the target of at least one read book and the corresponding weight.

[0106] In the embodiment of the present application, for each candidate book, the recommendation server can obtain the first vector group of the candidate book and obtain the second vector group of each read book in at least one read book. Afterwards, the recommendation server can process the first vector group and each second vector group using a similarity calculation formula to obtain the similarity between the candidate book and multiple read books.

[0107] The first vector group may include at least one first feature vector. For example, the first vector group may include three first feature vectors, which may be obtained based on the keywords, book type and author name of the candidate book. Each second vector group may include at least one second feature vector. For example, the second vector group may include three second feature vectors, which may be obtained based on the keywords, book type and author name of a read book.

[0108] It should be noted that the number of first feature vectors included in the first vector group is the same as the number of feature vectors included in each second vector group. Furthermore, the attributes of the candidate books corresponding to each first feature vector included in the first vector group (i.e., at least one of the keywords, book type, and author name mentioned above) are the same as the attributes of the read books corresponding to each second feature vector included in each second vector group. For example, if the first vector group includes a first feature vector obtained based on the keywords of the candidate books and a first feature vector obtained based on the book type of the candidate books, then each second vector group should also include a second feature vector corresponding to the keywords of the read books and a second feature vector obtained based on the book type of the read books.

[0109] In an embodiment of the present application, the recommendation server can obtain a first feature vector corresponding to a certain attribute of the candidate books based on the attribute value of the attribute. The first feature vector can include feature values ​​corresponding to all attribute values ​​of the attribute one by one, that is, the dimension (i.e., length) of the first feature vector can be the same as the total number of all attribute values ​​of the attribute, and the feature value corresponding to the attribute value of the attribute of the candidate books can be 1, and the remaining feature values ​​can be 0, that is, the first feature vector can be composed of binary numbers 0 and 1. Similarly, the recommendation server can obtain a second feature vector corresponding to a certain attribute of the read book based on the attribute value of the attribute.

[0110] It is understandable that before determining the first feature vector corresponding to a certain attribute of the candidate books based on the attribute value of the attribute, the recommendation server can set the arrangement order of all attribute values ​​of the attribute. Afterwards, the recommendation server determines the first feature vector corresponding to the attribute based on the multiple attribute values ​​after the arrangement order is set and the attribute value of the attribute of the candidate books. It should be noted that if the arrangement order of the multiple attribute values ​​of the attribute changes, the first feature vector corresponding to the attribute will also change accordingly.

[0111] For example, if the first vector group D1 of candidate books includes: a first feature vector P1 obtained based on the keywords of the candidate books, a first feature vector P2 obtained based on the book type of the candidate books, and a first feature vector P3 obtained based on the author name of the candidate books, that is, D1 = {P1, P2, P3}.

[0112] Assuming that the keywords of the books include: x1, x2, x3, x4, x5 and x6, and the keywords of the candidate books include x2 and x6, then the first eigenvector P1 = [0, 1, 0, 0, 0, 1]. Similarly, the first eigenvector P2 and the first eigenvector P3 can be obtained, and then the first vector group of the candidate books can be obtained, and the second vector group of each of the multiple read books can also be obtained.

[0113] If the first vector group of candidate books includes three first feature vectors, and the second vector group of the j-th read book includes three second feature vectors, then the similarity sim(A j , B) can satisfy the following formula:

[0114]

[0115] In formula (4), D2 is the second vector group, P r is the rth first eigenvector in the first vector group, Q r is the rth second eigenvector in the second vector group. sim(P r , Q r ) is the similarity between the rth first eigenvector and the rth second eigenvector. r is sim(P r , Q r )’s weight.

[0116] Optionally, the weight of sim(P1, Q1), the weight of sim(P2, Q2), and the weight of sim(P3, Q3) may be the same or different. And the weight of sim(P1, Q1), the weight of sim(P2, Q2), and the weight of sim(P3, Q3) may all be pre-stored in the recommendation server.

[0117] Among them, sim(P r , Q r ) can satisfy the following formula:

[0118]

[0119] In formula (5), v is P r and Q r The total number of eigenvalues ​​included, p g P r The g-th eigenvalue in g Q r The g-th eigenvalue in .

[0120] In the embodiment of the present application, each candidate book in the library may be pre-stored by the recommendation server. Figure 2 The recommendation server 10 may also be connected to the book library server 40. The recommendation server 10 may send a book acquisition request to the book library server 40, and the book library server 40 may send a candidate book to the recommendation server 10 in response to the book acquisition request.

[0121] Optional, please continue to see Figure 2 The recommendation server 10 may also be connected to the database server 50. The recommendation server 10 may send the reading information of each user to the database server 50 for storage by the database server 50.

[0122] Step 206: If the recommendation server determines that the recommendation degree of the candidate book is greater than the recommendation degree threshold, the candidate book is determined as a recommended book.

[0123] In an embodiment of the present application, after the recommendation server obtains the recommendation degree of each recommended book in the library, it can compare the recommendation degree of each recommended book with the recommendation degree threshold. Afterwards, the recommendation server can determine the candidate books in the library whose recommendation degree is higher than the recommendation degree threshold as recommended books. Among them, the recommendation degree threshold may be pre-stored by the electronic device. Alternatively, the recommendation degree threshold may be flexibly determined by the recommendation server based on the recommendation degrees of multiple candidate books. For example, the recommendation server may sort multiple candidate books in order of recommendation degree from large to small, and then determine the recommendation degree of the candidate books that are located at a specified number after sorting as the recommendation degree threshold. The specified number may be pre-stored by the recommendation server.

[0124] Alternatively, for each candidate book in the library, the recommendation server may also determine the proportion of the number of users among multiple users who have read the candidate book to the second person in the multiple users. Afterwards, if the recommendation server determines that the recommendation degree of the candidate book is higher than the recommendation degree threshold, and the number of users among multiple users who have read the candidate book to the second person in the multiple users is less than the proportion threshold, the candidate book is determined as a recommended book. The proportion threshold may be pre-stored in the recommendation server. For example, the proportion threshold may be 50%. In this way, the situation where the determined recommended book has been read by most of the multiple users can be further avoided.

[0125] Step 207: The recommendation server sends book identifiers of at least two recommended books to the first mobile terminal.

[0126] Optionally, the recommendation server may also send a brief introduction to the content of each recommended book to the first mobile terminal, so that the user of the first mobile terminal can learn more about the recommended books, thereby improving the user experience.

[0127] Step 208: The first mobile terminal displays the book identification of each recommended book.

[0128] After receiving the book identifications of at least two recommended books, the first mobile terminal may display the book identification of each recommended book.

[0129] Step 209: In response to the selection operation on the book identification of the target book among the at least two recommended books, the first mobile terminal sends the book identification of the target book to the recommendation server.

[0130] The user of the first mobile terminal can select the book identification of the target book from the book identifications of at least two recommended books. Accordingly, the first mobile terminal can send the book identification of the target book to the recommendation server in response to the user's selection operation on the book identification of the target book. The number of the target books can be one or more.

[0131] In the embodiment of the present application, after the recommendation server obtains the reading information of each user in the user group in step 203, it can also obtain the total number of all the books that the user group has read, the book type and author of each book that has been read based on the reading information of each user. Then, the recommendation server can determine the proportion of the read books of different book types in all the read books, the proportion of the read books written by different authors in all the read books, and the reading volume ratio of each read book, and send the proportion of the read books of different book types in all the read books, the proportion of the read books written by different authors in all the read books, and the reading volume ratio of each read book to the first mobile terminal for display by the first mobile terminal. Among them, the reading volume ratio of a certain read book by the user group can be determined based on the reading volume ratio of each user in the user group to the read book, for example, the reading volume of a certain read book by the user group can be the average value of the reading volume ratio of each user to the read book. The reading volume ratio may refer to: for a certain book that has been read, the ratio of the number of pages that have been read to the total number of pages of the book that has been read.

[0132] The proportion of different types of read books in all read books can reflect the user group's preference for different types of books, the proportion of read books written by different authors in all read books can reflect the user group's preference for different authors, and the reading volume ratio of each read book can reflect the user group's reading level of the book. In this way, more information about the user group's book reading can be provided to the user of the first mobile terminal, thereby ensuring that the target books selected by the user are more reasonable and more suitable for the user group.

[0133] Optionally, the first mobile terminal may display the proportion of different types of read books in all read books, the proportion of read books written by different authors in all read books, and the reading volume ratio of each read book in descending order.

[0134] For example, assume that all the books read by user group A include: books 1 to 6, the types of all the books read include: novels, science, and suspense, and the authors include: author A, author B, and author C. In addition, the proportion of the books read of the book type novel in all the books read (hereinafter referred to as the proportion of novels) is 80%, the proportion of the books read of the book type science in all the books read (hereinafter referred to as the proportion of science) is 60%, and the proportion of the books read of the book type suspense in all the books read (hereinafter referred to as the proportion of suspense) is 50%.

[0135] The proportion of books written by author A in all books read (hereinafter referred to as the proportion of author A) is 75%, the proportion of books written by author B in all books read (hereinafter referred to as the proportion of author B) is 58%, and the proportion of books written by author C in all books read (hereinafter referred to as the proportion of author C) is 40%. The proportion of reading volume of user group A for books read 1 to 6 is 87%, 27%, 58%, 20%, 49%, and 15% respectively.

[0136] Assume that the recommended books determined by the recommendation server for user group A include: recommended books 1 to recommended books 5, and the book identifier of each recommended book includes: the name of the recommended book and the name of the author. Figure 5 , the first mobile terminal may display Figure 5 The interface shown in the figure. Figure 5 As shown, the first mobile terminal can display the proportion of novels, the proportion of science, the proportion of suspense, the proportion of author A, the proportion of author B and the proportion of author C in a bar graph, and can display the reading volume ratio of read books 1 to read books 6 and the page turning control 03.

[0137] The first movement may be in response to the user's touch operation on the page turning control 03, and the book logos of recommended books 1 to 5 are displayed, that is, Figure 5 04a to 04e shown, the fourth selection control 05a to the eighth selection control 05e corresponding one by one to the recommended books 1 to the recommended books 5, and the confirmation control 06.

[0138] After learning the overall reading situation of the students in the class, the teacher touches the page turning control 03, the fourth selection control 05c to the eighth selection control 05e corresponding to the recommended books 1 to 3, and the confirmation control 06. Accordingly, the first mobile terminal can send the book identifications of the recommended book 1 to the book identifications of the recommended book 3 to the recommendation server in response to the user's touch operation.

[0139] From the above steps 201 to 208, it can be seen that the recommendation server can select recommended books from multiple candidate books. After that, the teacher selects the target book from the recommended books as the final recommended book to be recommended to the students. In this way, the rationality of the books recommended to the students can be ensured.

[0140] Step 210: The recommendation server sends a book identifier of the target book to the second mobile terminal of each user in the user group.

[0141] After receiving the book identification of the target book sent by the first mobile terminal, the recommendation server may send the book identification of the target book to the second mobile terminal of each user in the user group.

[0142] It should be noted that the order of the steps of the book recommendation method provided in the embodiment of the present application can be adjusted appropriately, and the steps can be increased or decreased accordingly according to the situation. For example, step 201 can be deleted according to the situation; step 202 can be deleted according to the situation; or steps 207 to 210 can also be deleted according to the situation. Any technician familiar with the technical field can easily think of a method of change within the technical scope disclosed in this application, which should be covered within the scope of protection of this application, so it will not be repeated.

[0143] In summary, the embodiment of the present application provides a book recommendation method, where the electronic device can determine the reading suitability of each read book that multiple users in a user group have read for the user group, and can determine the recommendation degree of each candidate book based on the similarity between at least one read book and the candidate book, and the reading suitability of at least one read book, and then determine the candidate book with a recommendation degree greater than a recommendation degree threshold as a recommended book. Since there is no need for manual determination based on experience, the accuracy of the recommended books determined by the electronic device provided in the embodiment of the present application is high, and it can ensure that the determined recommended books are suitable for reading by multiple users in the user group.

[0144] Furthermore, since the reading suitability of each read book is positively correlated with the ratio of the time each user among multiple users spends reading the book, and since the user's interest in the read book is positively correlated with the ratio of the time, it can be ensured that the determined recommended books meet the reading interests of multiple users in the user group.

[0145] Figure 6 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 6 , the electronic device 10 may include: a processor 110. The processor 110 is used to:

[0146] Obtaining reading information of multiple users in a user group, where each user's reading information includes: book identifiers of books that the user has read, and the reading time of the books that the user has read;

[0147] For each book identifier included in the reading information of the multiple users, determining the reading suitability of the read book indicated by the book identifier for the user group, wherein the reading suitability is positively correlated with the ratio of the time each user among the multiple users spends reading the read book, and the time ratio is the ratio of the time the user spends reading the read book to the total reading time of the user;

[0148] For each candidate book in the library, based on the similarity between the candidate book and at least one read book, and the reading suitability of at least one read book, the recommendation degree of the candidate book is determined, and the recommendation degree of the candidate book is positively correlated with the similarity, and positively correlated with the reading suitability of each read book;

[0149] If the recommendation degree of the candidate book is greater than the recommendation degree threshold, the candidate book is determined as a recommended book.

[0150] Optionally, the processor 110 may be configured to:

[0151] Determine the time ratio of the user's reading of the read books based on the reading time of the read books indicated by the book reading identifier of each user and the total reading time of the user;

[0152] Determine the ratio of the number of users who have read the read book among the multiple users to the first person ratio among the multiple users;

[0153] Based on the time ratio of each user among multiple users reading the read books and the proportion of first persons, the reading suitability of the read books indicated by the book identifiers for the user group is determined, and the reading suitability is positively correlated with the sum of the time ratios and negatively correlated with the proportion of first persons.

[0154] Optionally, the processor 110 may be configured to:

[0155] Determine the time ratio of the user's reading of the read books based on the reading time of the read books indicated by the book reading identifier of each user and the total reading time of the user;

[0156] Determine the ratio of the number of users who have read the read book among the multiple users to the first person ratio among the multiple users;

[0157] Based on the time ratio of each user among multiple users reading the read books and the proportion of first persons, the reading suitability of the read books indicated by the book identifiers for the user group is determined, and the reading suitability is positively correlated with the sum of the time ratios and negatively correlated with the proportion of first persons.

[0158] Optionally, read the fitness Y to satisfy:

[0159]

[0160] Among them, K is the proportion of the first person, m is the total number of multiple users, S i is the proportion of time that the i-th user among multiple users has spent reading the books they have read, where i is a positive integer not greater than m.

[0161] Optionally, the processor 110 may be configured to:

[0162] If the recommendation degree of the candidate book is higher than the recommendation degree threshold, and the second person ratio of users who have read the candidate book among the multiple users is lower than the ratio threshold, the candidate book is determined as a recommended book.

[0163] Optionally, the recommendation of the candidate book is positively correlated with the target product of at least one read book;

[0164] The target product of the j-th read book satisfies: Y j ×sim(A j ,B);

[0165] Among them, Y j is the reading suitability of the jth read book for the user group, A j is the jth book among at least one book that has been read, B is the candidate book, sim(A j ,B) is the similarity between the candidate books and the jth read book.

[0166] Optionally, the recommendation degree T of the candidate books satisfies:

[0167]

[0168] Wherein, n is the total number of read books used to determine the recommendation degree of the candidate books.

[0169] Optionally, the reading suitability of each of the at least one read book for the user group is greater than a suitability threshold.

[0170] Optionally, the processor 110 may be configured to:

[0171] Sending book identifiers of at least two recommended books to the first mobile terminal for display by the first mobile terminal;

[0172] receiving a book identifier of a target book sent by the first mobile terminal, where the target book is determined by the first mobile terminal in response to a selection operation of the book identifier of the target book among at least two recommended books;

[0173] The book identification of the target book is sent to the second mobile terminal of each user in the user group respectively.

[0174] In summary, the embodiment of the present application provides an electronic device, which can determine the reading suitability of each read book that multiple users in a user group have read for the user group, and can determine the recommendation degree of each candidate book based on the similarity between at least one read book and the candidate book, and the reading suitability of at least one read book, and then determine the candidate book with a recommendation degree greater than the recommendation degree threshold as a recommended book. Since there is no need for manual experience-based determination, the accuracy of the recommended books determined by the electronic device provided by the embodiment of the present application is high, and it can ensure that the determined recommended books are suitable for reading by multiple users in the user group.

[0175] Furthermore, since the reading suitability of each read book is positively correlated with the ratio of the time each user among multiple users spends reading the book, and since the user's interest in the read book is positively correlated with the ratio of the time, it can be ensured that the determined recommended books meet the reading interests of multiple users in the user group.

[0176] like Figure 6 As shown, the electronic device 10 provided in the embodiment of the present application may also include: a display unit 130, a radio frequency (RF) circuit 150, an audio circuit 160, a wireless fidelity (Wi-Fi) module 170, a Bluetooth module 180, a power supply 190 and a camera 121 and other components.

[0177] Among them, the camera 121 can be used to capture still pictures or videos. The object generates an optical picture through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the processor 110 to convert it into a digital picture signal.

[0178] The processor 110 is the control center of the electronic device 10. It uses various interfaces and lines to connect various parts of the entire terminal. It executes various functions of the electronic device 10 and processes data by running or executing software programs stored in the memory 140 and calling data stored in the memory 140. In some embodiments, the processor 110 may include one or more processing units; the processor 110 may also integrate an application processor and a baseband processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the baseband processor mainly processes wireless communications. It is understandable that the above-mentioned baseband processor may not be integrated into the processor 110. In the present application, the processor 110 can run an operating system and an application program, can control the user interface display, and can implement the book recommendation method provided in the embodiment of the present application. In addition, the processor 110 is coupled to the input unit and the display unit 130.

[0179] The display unit 130 may be used to receive input digital or character information, generate signal input related to user settings and function control of the electronic device 10, and optionally, the display unit 130 may also be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the electronic device 10. The display unit 130 may include a display screen 131 disposed on the front of the electronic device 10. The display screen 131 may be configured in the form of a liquid crystal display, a light emitting diode, etc. The display unit 130 may be used to display various graphical user interfaces described in the present application.

[0180] The display unit 130 includes: a display screen 131 and a touch screen 132 disposed on the front of the electronic device 10. The display screen 131 can be used to display preview images. The touch screen 132 can collect user touch operations on or near it, such as clicking a button, dragging a scroll box, etc. Among them, the touch screen 132 can be covered on the display screen 131, and the touch screen 132 can also be integrated with the display screen 131 to realize the input and output functions of the electronic device 10. After integration, it can be simply called a touch display screen.

[0181] The memory 140 can be used to store software programs and data. The processor 110 executes various functions and data processing of the electronic device 10 by running the software programs or data stored in the memory 140. The memory 140 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The memory 140 stores an operating system that enables the electronic device 10 to run. In the present application, the memory 140 can store an operating system and various application programs, and can also store code for executing the book recommendation method provided in the embodiment of the present application.

[0182] The RF circuit 150 can be used to receive and send signals during the process of sending and receiving information or making calls. It can receive downlink data from the base station and hand it over to the processor 110 for processing; it can send uplink data to the base station. Generally, the RF circuit includes but is not limited to antennas, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer and other devices.

[0183] The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the electronic device 10. The audio circuit 160 can transmit the electrical signal converted from the received audio data to the speaker 161, which is converted into a sound signal for output. The electronic device 10 can also be equipped with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then the audio data is output to the RF circuit 150 to be sent to, for example, another terminal, or the audio data is output to the memory 140 for further processing. In the present application, the microphone 162 can obtain the user's voice.

[0184] Wi-Fi is a short-range wireless transmission technology. The electronic device 10 can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 170, which provides users with wireless broadband Internet access.

[0185] The Bluetooth module 180 is used to exchange information with other Bluetooth devices having Bluetooth modules through the Bluetooth protocol. For example, the electronic device 10 can establish a Bluetooth connection with a wearable electronic device (such as a smart watch) that also has a Bluetooth module through the Bluetooth module 180 to exchange data.

[0186] The electronic device 10 also includes a power supply 190 (such as a battery) for supplying power to various components. The power supply can be logically connected to the processor 110 through a power management system, so that the power management system can manage functions such as charging, discharging, and power consumption. The electronic device 10 can also be configured with a power button for turning on and off the terminal, as well as locking the screen and other functions.

[0187] The electronic device 10 may include at least one sensor 1110, such as a motion sensor 11101, a distance sensor 11102, and a temperature sensor 11103. The electronic device 10 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.

[0188] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the electronic device and each device described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0189] Figure 7It is a software structure diagram of the electronic device provided in the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime environment (android runtime, ART) and the system library, and the kernel layer.

[0190] The application layer can include a series of application packages. Figure 7 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc. The application framework layer provides an application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0191] like Figure 7 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0192] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0193] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, pictures, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0194] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0195] The phone manager is used to provide communication functions for the electronic device 10, such as management of call status (including connecting, hanging up, etc.).

[0196] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0197] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt tone is emitted, the communication terminal vibrates, and the indicator light flashes.

[0198] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0199] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0200] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0201] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as openGL ES), 2D graphics engine (such as SGL), etc.

[0202] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0203] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0204] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.

[0205] A 2D graphics engine is a drawing engine for 2D drawings.

[0206] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0207] The present application embodiment provides a computer-readable storage medium, in which a computer program is stored. The computer program is loaded by a processor and executes the book recommendation method provided in the above embodiment, for example Figure 1 or Figure 2 The method shown.

[0208] The present application also provides a computer program product including instructions. When the computer program product is run on a computer, the computer executes the book recommendation method provided by the above method embodiment, for example: Figure 1 or Figure 2 The method shown.

[0209] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0210] It should be understood that the "and / or" mentioned in this article indicates that there may be three relationships. For example, A and / or B may indicate that A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated with each other are in an "or" relationship. In addition, the term "at least one" in this application means one or more, and the term "plurality" in this application means two or more.

[0211] In the present application, the terms "first", "second", etc. are used to distinguish the same or similar items with substantially the same role and function. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there a limitation on the quantity and execution order. For example, without departing from the scope of the various examples described, the first mobile terminal may be referred to as the second mobile terminal, and similarly, the second mobile terminal may be referred to as the first mobile terminal.

[0212] It is understandable that the reading information of the user obtained by the electronic device provided in the embodiment of the present application is obtained after the user's authorization. And the electronic device provided in the embodiment of the present application strictly abides by relevant laws and regulations in the process of collecting, using, and processing the reading information of the user.

[0213] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A book recommendation method, characterized in that: Used in electronic equipment; The method comprises: Acquire reading information of multiple users in a user group, wherein the reading information of each user includes: a book identifier of a book that the user has read, and a reading time that the user has spent reading the book; For each of the book identifiers included in the reading information of the multiple users, determine the reading suitability of the read book indicated by the book identifier for the user group, the reading suitability is positively correlated with the sum of the ratios of the time spent by the multiple users reading the read book, and is negatively correlated with the first personnel ratio, the time ratio is the ratio of the time spent by the user reading the read book to the total reading time of the user, the first personnel ratio is the ratio of the number of users who have read the read book among the multiple users, and the reading suitability represents the degree to which the read book is suitable for reading by the user group; For each candidate book in the library, based on the similarity between the candidate book and at least one of the read books, and the reading suitability of at least one of the read books, the recommendation degree of the candidate book is determined, and the recommendation degree of the candidate book is positively correlated with the similarity, and positively correlated with the reading suitability of each of the read books; If the recommendation degree of the candidate book is greater than the recommendation degree threshold, and the proportion of the second person among the multiple users who have read the candidate book is less than the proportion threshold, the candidate book is determined as a recommended book.

2. The method according to claim 1, characterized in that The determining the reading suitability of the read book indicated by the book identifier for the user group includes: Determine the time ratio of the user reading the read book based on the reading time of each user reading the read book indicated by the book identifier and the total reading time of the user; Determine a first proportion of the number of users who have read the read book among the multiple users; Based on the proportion of time each of the multiple users spends reading the read books and the proportion of the first persons, the reading suitability of the read books indicated by the book identifiers for the user group is determined.

3. The method according to claim 2, characterized in that The reading fitness Y satisfies: Wherein, K is the proportion of the first personnel, m is the total number of the multiple users, S i is the proportion of time that the i-th user among the multiple users spends reading the read book, where i is a positive integer not greater than m.

4. The method according to claim 1, characterized in that: The recommendation degree of the candidate book is positively correlated with the target product of at least one of the read books; The target product of the j-th read book satisfies: Y j ×sim(A j ,B); Among them, Y j is the reading suitability of the jth read book for the user group, A j is the jth book among at least one of the books that have been read, B is the candidate book, sim(A j ,B) is the similarity between the candidate book and the jth read book.

5. The method according to claim 4, characterized in that The recommendation degree T of the candidate books satisfies: Wherein, n is the total number of read books used to determine the recommendation degree of the candidate books.

6. The method according to any one of claims 1 to 5, characterized in that: The reading suitability of each of the at least one read book to the user group is greater than a suitability threshold.

7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Sending book identifiers of at least two of the recommended books to a first mobile terminal for display by the first mobile terminal; receiving a book identifier of a target book sent by the first mobile terminal, wherein the target book is determined by the first mobile terminal in response to a selection operation of the book identifier of the target book among at least two recommended books; The book identification of the target book is sent to the second mobile terminal of each user in the user group respectively.

8. An electronic device, characterized in that: The electronic device comprises: a processor; the processor is used for: Acquire reading information of multiple users in a user group, wherein the reading information of each user includes: book identifiers of books that the user has read, and reading time of the user reading the books; For each of the book identifiers included in the reading information of the multiple users, determine the reading suitability of the read book indicated by the book identifier for the user group, the reading suitability is positively correlated with the sum of the ratios of the time spent by the multiple users reading the read book, and is negatively correlated with the first personnel ratio, the time ratio is the ratio of the time spent by the user reading the read book to the total reading time of the user, the first personnel ratio is the ratio of the number of users who have read the read book among the multiple users, and the reading suitability represents the degree to which the read book is suitable for reading by the user group; For each candidate book in the library, based on the similarity between the candidate book and at least one of the read books, and the reading suitability of at least one of the read books, the recommendation degree of the candidate book is determined, and the recommendation degree of the candidate book is positively correlated with the similarity, and positively correlated with the reading suitability of each of the read books; If the recommendation degree of the candidate book is greater than the recommendation degree threshold, and the proportion of the second person among the multiple users who have read the candidate book is less than the proportion threshold, the candidate book is determined as a recommended book.

9. The electronic device according to claim 8, characterized in that: The processor is used to: Determine the time ratio of the user reading the read book based on the reading time of each user reading the read book indicated by the book identifier and the total reading time of the user; Determine a first proportion of the number of users who have read the read book among the multiple users; Based on the proportion of time each of the multiple users spends reading the read books and the proportion of the first persons, the reading suitability of the read books indicated by the book identifiers for the user group is determined.