Book recommendation method, electronic device and storage medium
By obtaining user reference information from third-party applications, combining book popularity and user behavior data, and generating intelligent recommendation sequences, the problem of insufficient intelligent electronic book recommendations in the existing technology is solved, and more accurate matching of user needs is provided.
Patent Information
- Application Number
- CN202111296061.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-03
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2041-11-03
AI Technical Summary
The prior art only relies on the user's search records in the application in the electronic book recommendation, resulting in the recommendation being not intelligent enough and cannot accurately match user needs.
Obtain relevant user reference information from third-party applications, combine the book popularity, characteristics and user behavior data in the library to generate recommendation order, and make intelligent book recommendations.
By obtaining reference information in third-party applications, determining the categories and recommendation order of multiple books to be recommended, and providing more intelligent book recommendations, solving the problem of insufficiently intelligent recommendations in the existing technology.
Smart Images

Figure CN113836432B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of book recommendation, and in particular to a method, electronic device and storage medium for book recommendation. Background Art
[0002] With the increasing application of Internet technology, the traditional paper reading method has been gradually replaced by the electronic reading method. People are increasingly inclined to use the Internet and computer technology to read books through book reading programs or readers. However, there are a large number of book resources. In order to facilitate users to select books suitable for themselves, many book platforms provide book recommendation functions. How to recommend books that meet user needs has also become a very critical issue. At present, the existing technology only recommends books to users based on the user's search records in the e-book application. This method is not intelligent enough. Summary of the invention
[0003] In order to solve the above technical problem or at least partially solve the above technical problem, an embodiment of the present disclosure provides a method for recommending books, an electronic device, and a storage medium.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for book recommendation, comprising: obtaining reference information from a third-party application, wherein the reference information is related to a target user corresponding to the mobile terminal; determining a plurality of books to be recommended from a library based on the reference information; generating a recommendation order of the plurality of books to be recommended based on at least one of the following information: book popularity corresponding to each book to be recommended, book features corresponding to each book to be recommended, and user behavior data; and performing a book recommendation operation based on the plurality of books to be recommended, the recommendation order, and the book recommendation condition when it is monitored that the book recommendation condition is met.
[0005] In a second aspect, an embodiment of the present disclosure provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following steps: obtaining reference information from a third-party application, wherein the reference information is related to a target user corresponding to the mobile terminal; determining a plurality of books to be recommended from a library based on the reference information; generating a recommendation order of the plurality of books to be recommended based on at least one of the following information: the popularity of books corresponding to each book to be recommended, the book features corresponding to each book to be recommended, and user behavior data; and when it is monitored that a book recommendation condition is met, performing a book recommendation operation based on the plurality of books to be recommended, the recommendation order and the book recommendation condition.
[0006] According to an embodiment of the present disclosure, in the electronic device provided by the first aspect and the second aspect, the obtaining of reference information from a third-party application includes: sending an information obtaining request to the third-party application with the authorization of the third-party application; and obtaining the reference information from the third-party application through an application interface corresponding to the third-party application.
[0007] According to an embodiment of the present disclosure, in the electronic device provided by the first aspect and the second aspect, the third-party application includes at least one of the following: a calendar application, a weather application, a music application, a file management application, a video application, a payment application, a navigation application, a shopping application and a search engine; the reference information includes at least one of the following: schedule information in the calendar application, weather information in the weather application, music playback information in the music application, local file information in the file management application, video browsing information in the video application, historical payment record information in the payment application, location information in the navigation application, historical shopping record information in the shopping application and search browsing record information in the search engine.
[0008] According to an embodiment of the present disclosure, in the electronic device provided by the first aspect and the second aspect, the method of determining a plurality of books to be recommended from a library based on the reference information comprises: determining book categories corresponding to the books to be recommended based on the reference information; and determining a plurality of books to be recommended based on book categories corresponding to each book in the library and book categories corresponding to the books to be recommended.
[0009] According to an embodiment of the present disclosure, in the electronic device provided by the first aspect and the second aspect, the method of determining a plurality of books to be recommended from a library based on the reference information comprises: determining a word in the reference information whose first number of occurrences is greater than a preset value; calculating a ratio of the first number of occurrences and a reverse number of occurrences of the word, wherein the reverse number is a logarithm with a base of 10 and a second number of occurrences as a true number, and the second number of occurrences is the number of times the word appears in a plurality of reference information corresponding to a plurality of other users; and determining a plurality of books to be recommended from the library based on the ratio.
[0010] According to an embodiment of the present disclosure, in the electronic device provided by the first aspect and the second aspect, the recommendation order of the multiple books to be recommended is generated according to at least one of the following information: the book popularity corresponding to each book to be recommended, the book features and user behavior data corresponding to each book to be recommended, including: respectively determining a first score corresponding to the book popularity, a second score corresponding to the book feature and a third score corresponding to the user behavior data; respectively calculating a first product of the first score and a first weight, a second product of the second score and a second weight, and a third product of the third score and a third weight; calculating the score sum of the first product, the second product and the third product, and determining to generate the recommendation order of the multiple books to be recommended according to the score sum.
[0011] According to an embodiment of the present disclosure, in the electronic device provided by the first aspect and the second aspect, when it is monitored that the book recommendation condition is met, before performing the book recommendation operation according to the multiple books to be recommended, the recommendation order and the book recommendation condition, the electronic device also includes: updating the book recommendation condition in the condition management center according to the instructions of the target user, wherein the book recommendation condition includes: starting the third-party application or running the third-party application; and / or updating the book recommendation condition in the condition management center according to the reference information and the default settings of the condition management center; obtaining the book recommendation condition from the condition management center in real time.
[0012] In a third aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for recommending books provided in the first aspect is implemented.
[0013] One or more technical solutions in the above embodiments have at least some or all of the following advantages:
[0014] Reference information is obtained from a third-party application, wherein the reference information is related to the target user corresponding to the mobile terminal; multiple books to be recommended are determined from the library based on the reference information; a recommendation order of the multiple books to be recommended is generated based on at least one of the following information: the popularity of each book to be recommended, the book features and user behavior data corresponding to each book to be recommended; when it is monitored that the book recommendation conditions are met, a book recommendation operation is performed based on the multiple books to be recommended, the recommendation order and the book recommendation conditions. Because multiple books to be recommended can be determined from the library based on the reference information in the third-party application, the above technical means can be used to solve the problem in the prior art that books can only be recommended to users based on their search records in the e-book application, and the recommended books are not intelligent enough, thereby providing a method for intelligently recommending books. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0017] Figure 1 A hardware structure block diagram of a computer terminal for a method for recommending books according to an embodiment of the present disclosure is schematically shown;
[0018] Figure 2 A flowchart schematically shows a method for recommending books according to an embodiment of the present disclosure;
[0019] Figure 3 A structural block diagram of a book recommendation device according to an embodiment of the present disclosure is schematically shown;
[0020] Figure 4 The structural block diagram of an electronic device provided by an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0021] The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present disclosure may be combined with each other without conflict.
[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0023] The method embodiments provided in the embodiments of the present disclosure can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 The hardware structure block diagram of a computer terminal of a book recommendation method according to an embodiment of the present disclosure is schematically shown. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 (the processor 102 may include but is not limited to a microprocessor (Microprocessor Unit, referred to as MPU) or a programmable logic device (Programmable logic device, referred to as PLD) and other processing devices and a memory 104 for storing data. Optionally, the above-mentioned computer terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Equivalent functions or comparisons shown Figure 1 A different configuration with more features is shown.
[0024] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for recommending books in the embodiment of the present disclosure. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0025] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0026] In an embodiment of the present disclosure, a method for recommending books is provided, which can be applied to electronic devices. Figure 2 A flowchart of a method for recommending books according to an embodiment of the present disclosure is schematically shown. Figure 2 As shown, the process includes the following steps:
[0027] Step S201, obtaining reference information from a third-party application, wherein the reference information is related to a target user corresponding to the mobile terminal;
[0028] Step S202, determining a plurality of books to be recommended from the library according to the reference information;
[0029] Step S203, generating a recommendation order of the plurality of books to be recommended according to at least one of the following information: the popularity of each book to be recommended, the book features of each book to be recommended, and the user behavior data;
[0030] Step S204: when it is detected that the book recommendation condition is met, a book recommendation operation is performed according to the plurality of books to be recommended, the recommendation sequence and the book recommendation condition.
[0031] The above technical solution provided by the disclosed embodiment has at least some or all of the following advantages compared with the prior art: obtaining reference information from a third-party application, wherein the reference information is related to the target user corresponding to the mobile terminal; determining multiple books to be recommended from the library based on the reference information; generating a recommendation order for the multiple books to be recommended based on at least one of the following information: the popularity of each book to be recommended, the book features and user behavior data corresponding to each book to be recommended; and performing a book recommendation operation based on the multiple books to be recommended, the recommendation order and the book recommendation conditions when it is monitored that the book recommendation conditions are met. Because multiple books to be recommended can be determined from the library based on the reference information in the third-party application, the above technical means can be used to solve the problem in the prior art that books can only be recommended to users based on their search records in the e-book application, and the recommendation of books is not intelligent enough, thereby providing a method for intelligently recommending books.
[0032] In step S201, obtaining reference information from a third-party application includes: sending an information acquisition request to the third-party application with authorization from the third-party application; and obtaining the reference information from the third-party application through an application interface corresponding to the third-party application.
[0033] Because different applications correspond to different application interfaces, the embodiments of the present disclosure obtain reference information through the application interface corresponding to the application.
[0034] In step S201, the third-party applications include at least one of the following: a calendar application, a weather application, a music application, a file management application, a video application, a payment application, a navigation application, a shopping application, and a search engine; the reference information includes at least one of the following: schedule information in the calendar application, weather information in the weather application, music playback information in the music application, local file information in the file management application, video browsing information in the video application, historical payment record information in the payment application, location information in the navigation application, historical shopping record information in the shopping application, and search browsing record information in the search engine.
[0035] It should be noted that the third-party applications mentioned above are not limited to the applications listed above.
[0036] For example, when the mobile terminal is a mobile phone, schedule information is obtained from the calendar application, and the schedule information may be journey information. The disclosed embodiment may determine that the book to be recommended is a book introducing the scenic spots in the journey based on the journey information; historical shopping record information is obtained from the shopping application, and the book to be recommended is an introduction book of related commodities in the historical shopping record information based on the historical shopping record information; search and browsing record information is obtained from the above-mentioned search engine, and the book to be recommended is determined to be a book related to the search and browsing record information based on the search and browsing record information; historical payment record information is obtained from the payment application, and the historical payment record information may be ticket payment information for subways and buses, etc. When the user gets on the bus, it may be determined that the book to be recommended is an e-book; location information is obtained from the above-mentioned navigation application, and the location information includes navigation information. When the navigation information indicates that the user is driving, it may be determined that the book to be recommended is an audio book, etc. Of course, the book to be recommended may also be determined comprehensively based on the information obtained from multiple applications. For example, a book to be recommended that is more suitable for the user may be determined based on the search and browsing record information and the historical shopping record information.
[0037] In step S202, the method determines a plurality of books to be recommended from the library based on the reference information, including: determining book categories corresponding to the books to be recommended based on the reference information; and determining a plurality of books to be recommended based on the book categories corresponding to the books in the library and the book categories corresponding to the books to be recommended.
[0038] It should be noted that, taking into account the reference information obtained from multiple applications or one application, the book categories corresponding to the above-mentioned books to be recommended are determined according to the reference information, wherein the book categories may be travel, shopping, e-books, audio books, etc. Specifically, e-books and audio books can also be divided into novels, essays, essays, etc., and novels can be divided into martial arts, romance, fantasy, and fantasy, etc. The book categories corresponding to the multiple books in the above-mentioned library are obtained, and the multiple books to be recommended are determined according to the book categories corresponding to the books in the above-mentioned library and the book categories corresponding to the above-mentioned books to be recommended.
[0039] A new method for calculating text similarity is proposed in the disclosed embodiment: determining the words in the reference information whose first occurrence times are greater than a preset value; calculating the ratio of the first occurrence times and the reverse number of the words, wherein the reverse number is the logarithm with a base of 10 and a second occurrence time as a real number, and the second occurrence time is the number of times the words appear in multiple reference information corresponding to multiple other users; and determining multiple books to be recommended from the library based on the ratio.
[0040] The second number of occurrences of the word in the multiple reference information corresponding to multiple other users is obtained online, and the logarithm with the second number of occurrences as the base is solved, and the logarithm is determined as the reverse number. According to the ratio of the first number of occurrences of the word and the reverse number, multiple books to be recommended are determined from the library. The larger the reverse number, the more times the word appears in the multiple reference information corresponding to multiple other users. The above ratio is the first number of occurrences to the reverse number. If the reverse number is larger, the above ratio is smaller, that is, if the word appears in the multiple reference information corresponding to multiple other users, the greater the similarity between the multiple reference information corresponding to other users and the reference information used by the target user, the smaller the above ratio is. The books recommended to a user should be in line with the user's personality, that is, different from other users. Therefore, when determining multiple books to be recommended, the books in the library with the smaller ratio are determined as multiple books to be recommended.
[0041] In addition, the cosine similarity calculation method, the TF-IDF similarity calculation method, etc. can also be used.
[0042] In step S203, a recommendation order of the multiple books to be recommended is generated according to at least one of the following information: the book popularity corresponding to each book to be recommended, the book features corresponding to each book to be recommended, and the user behavior data, including: respectively determining a first score corresponding to the book popularity, a second score corresponding to the book feature, and a third score corresponding to the user behavior data; respectively calculating a first product of the first score and a first weight, a second product of the second score and a second weight, and a third product of the third score and a third weight; calculating the sum of the scores of the first product, the second product, and the third product, and determining and generating a recommendation order of the multiple books to be recommended according to the sum of the scores.
[0043] Determine the scoring rules for book popularity, book features and user behavior data respectively, and determine the first score corresponding to the above book popularity, the second score corresponding to the above book features and the third score corresponding to the above user behavior data according to the scoring rules. For example, determine the first score corresponding to the above book popularity, wherein the above book popularity includes: book click popularity and / or book search popularity. Take 100 million clicks as the full score, the full score is 50 points, and 100 million search points as the full score, the full score is 50 points. Then calculate the score of the book click popularity and / or the book search popularity, and determine the sum of the two scores as the first score. The method for determining the second score and the third score is similar to the method for determining the first score.
[0044] The first weight, the second weight and the third weight are preset according to specific circumstances.
[0045] In step S204, when it is monitored that the book recommendation conditions are met, before performing the book recommendation operation according to the above-mentioned multiple books to be recommended, the above-mentioned recommendation order and the above-mentioned book recommendation conditions, the above-mentioned method also includes: updating the above-mentioned book recommendation conditions in the condition management center according to the instructions of the above-mentioned target user, wherein the above-mentioned book recommendation conditions include: starting the above-mentioned third-party application or running the above-mentioned third-party application; and / or updating the above-mentioned book recommendation conditions in the condition management center according to the above-mentioned reference information and the default settings of the above-mentioned condition management center; obtaining the above-mentioned book recommendation conditions from the above-mentioned condition management center in real time.
[0046] By adding a condition management center, the disclosed embodiment allows users to conveniently update book recommendation conditions. Specifically, users can send instructions to the condition management center, instructing the condition management center to update the book recommendation conditions according to the instructions; the condition management center can also find the default settings corresponding to the reference information based on the obtained reference information to update the book recommendation conditions. After the above-mentioned book recommendation conditions in the condition management center are updated, the above-mentioned book recommendation conditions are obtained from the above-mentioned condition management center in real time. When it is monitored that the book recommendation conditions are met, the book recommendation operation is performed according to the above-mentioned multiple books to be recommended, the above-mentioned recommendation order and the above-mentioned book recommendation conditions.
[0047] For example, when it is detected that the payment application is used to pay for subway and bus tickets, it is determined whether the user is getting on or off the bus. In the scenario where the user is getting on the bus, it can be determined that the book to be recommended is an e-book; when the navigation application determines that the user is driving, it can be determined that the book to be recommended is an audio book.
[0048] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk), including a number of instructions for a terminal device (which can be a mobile phone, a computer, a component server, or a network device, etc.) to execute the methods of each embodiment of the present disclosure.
[0049] In an embodiment of the present disclosure, a method for recommending books is provided, which can be applied to electronic devices. Figure 3 A schematic diagram of a book recommendation device according to an embodiment of the present disclosure is schematically shown. Figure 3 As shown, the device comprises:
[0050] An acquisition module 302 is used to acquire reference information from a third-party application, wherein the reference information is related to a target user corresponding to the mobile terminal;
[0051] A determination module 304 is used to determine a plurality of books to be recommended from the library according to the reference information;
[0052] A generating module 306 is used to generate a recommendation order of the plurality of books to be recommended according to at least one of the following information: the popularity of each book to be recommended, the book features and user behavior data corresponding to each book to be recommended;
[0053] The recommendation module 308 is used to perform a book recommendation operation according to the plurality of books to be recommended, the recommendation sequence and the book recommendation condition when it is detected that the book recommendation condition is met.
[0054] The above technical solution provided by the disclosed embodiment has at least some or all of the following advantages compared with the prior art: obtaining reference information from a third-party application, wherein the reference information is related to the target user corresponding to the mobile terminal; determining multiple books to be recommended from the library based on the reference information; generating a recommendation order for the multiple books to be recommended based on at least one of the following information: the popularity of each book to be recommended, the book features and user behavior data corresponding to each book to be recommended; and performing a book recommendation operation based on the multiple books to be recommended, the recommendation order and the book recommendation conditions when it is monitored that the book recommendation conditions are met. Because multiple books to be recommended can be determined from the library based on the reference information in the third-party application, the above technical means can be used to solve the problem in the prior art that books can only be recommended to users based on their search records in the e-book application, and the recommendation of books is not intelligent enough, thereby providing a method for intelligently recommending books.
[0055] Figure 4 The structural block diagram of an electronic device provided by an embodiment of the present disclosure is schematically shown.
[0056] Reference Figure 4As shown, the electronic device 400 provided by the embodiment of the present disclosure includes a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 communicate with each other through the communication bus 404; the memory 403 is used to store computer programs; the processor 401 is used to implement executable instructions when executing the program stored in the memory, and the above-mentioned executable instructions enable the above-mentioned processor to perform the following steps: obtain reference information from a third-party application, wherein the above-mentioned reference information is related to the target user corresponding to the above-mentioned mobile terminal; determine multiple books to be recommended from the library based on the above-mentioned reference information; generate a recommendation order of the above-mentioned multiple books to be recommended based on at least one of the following information: the book popularity corresponding to each book to be recommended, the book features corresponding to each book to be recommended, and the user behavior data; when it is monitored that the book recommendation conditions are met, perform a book recommendation operation based on the above-mentioned multiple books to be recommended, the above-mentioned recommendation order and the above-mentioned book recommendation conditions.
[0057] The embodiment of the present disclosure also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the following steps are implemented: obtaining reference information from a third-party application, wherein the reference information is related to the target user corresponding to the mobile terminal; determining multiple books to be recommended from the library according to the reference information; generating a recommendation order of the multiple books to be recommended according to at least one of the following information: the popularity of each book to be recommended, the book features and user behavior data corresponding to each book to be recommended; and performing a book recommendation operation according to the multiple books to be recommended, the recommendation order and the book recommendation conditions when the book recommendation conditions are met. The computer-readable storage medium may be included in the device / apparatus described in the above embodiment; or it may exist independently without being assembled into the device / apparatus. The computer-readable storage medium carries one or more programs, and when the one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0058] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0059] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0060] Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present disclosure can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present disclosure is not limited to any specific combination of hardware and software.
[0061] The above are only preferred embodiments of the present disclosure and are not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for recommending books, characterized in that: include: Acquire reference information from a third-party application, wherein the reference information is related to a target user corresponding to the mobile terminal; Determine a plurality of books to be recommended from a library according to the reference information; Determine a plurality of books to be recommended from a library according to the reference information, comprising: determining a word in the reference information whose first occurrence number is greater than a preset value; calculating a ratio of the first occurrence number and the reverse number of the word, wherein the reverse number is a logarithm with a base of 10 and a second occurrence number as a true number, and the second occurrence number is the number of times the word appears in a plurality of reference information corresponding to a plurality of other users; Determine a plurality of books to be recommended from the library according to the ratio; Generate a recommendation order of the multiple books to be recommended according to at least one of the following information: the book popularity corresponding to each book to be recommended, the book features and user behavior data corresponding to each book to be recommended; wherein, generating the recommendation order of the multiple books to be recommended according to at least one of the following information: the book popularity corresponding to each book to be recommended, the book features and user behavior data corresponding to each book to be recommended includes: respectively determining a first score corresponding to the book popularity, a second score corresponding to the book feature and a third score corresponding to the user behavior data; respectively calculating a first product of the first score and a first weight, a second product of the second score and a second weight and a third product of the third score and a third weight; calculating the score sum of the first product, the second product and the third product, and determining to generate a recommendation order of the multiple books to be recommended according to the score sum; When it is detected that the book recommendation condition is met, a book recommendation operation is performed according to the plurality of books to be recommended, the recommendation sequence and the book recommendation condition.
2. The method according to claim 1, characterized in that The obtaining of reference information from a third-party application includes: After obtaining authorization from the third-party application, sending an information acquisition request to the third-party application; The reference information is obtained from the third-party application through an application interface corresponding to the third-party application.
3. The method according to claim 1, characterized in that The third-party application includes at least one of the following: a calendar application, a weather application, a music application, a file management application, a video application, a payment application, a navigation application, a shopping application, and a search engine; The reference information includes at least one of the following: schedule information in the calendar application, weather information in the weather application, music playback information in the music application, local file information in the file management application, video browsing information in the video application, historical payment record information in the payment application, location information in the navigation application, historical shopping record information in the shopping application, and search browsing record information in the search engine.
4. The method according to claim 1, characterized in that: Determining a plurality of books to be recommended from a library according to the reference information includes: Determine, based on the reference information, the book category corresponding to the book to be recommended; A plurality of books to be recommended are determined according to the book categories corresponding to the books in the library and the book categories corresponding to the books to be recommended.
5. The method according to claim 1, characterized in that In the case where the book recommendation condition is detected to be met, before performing a book recommendation operation according to the plurality of books to be recommended, the recommendation order and the book recommendation condition, the method further comprises: updating the book recommendation condition in the condition management center according to the instruction of the target user, wherein the book recommendation condition includes: starting the third-party application or running the third-party application; and / or updating the book recommendation condition in the condition management center according to the reference information and the default setting of the condition management center; The book recommendation condition is obtained from the condition management center in real time.
6. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following steps: Acquire reference information from a third-party application, wherein the reference information is related to a target user corresponding to the mobile terminal; Determine a plurality of books to be recommended from a library according to the reference information; Determine a plurality of books to be recommended from a library according to the reference information, comprising: determining a word in the reference information whose first occurrence number is greater than a preset value; calculating a ratio of the first occurrence number and the reverse number of the word, wherein the reverse number is a logarithm with a base of 10 and a second occurrence number as a true number, and the second occurrence number is the number of times the word appears in a plurality of reference information corresponding to a plurality of other users; Determine a plurality of books to be recommended from the library according to the ratio; Generate a recommendation order of the multiple books to be recommended according to at least one of the following information: the book popularity corresponding to each book to be recommended, the book features and user behavior data corresponding to each book to be recommended; Generate a recommendation order of the multiple books to be recommended according to at least one of the following information: the book popularity corresponding to each book to be recommended, the book features and user behavior data corresponding to each book to be recommended, including: respectively determining a first score corresponding to the book popularity, a second score corresponding to the book feature, and a third score corresponding to the user behavior data; respectively calculating a first product of the first score and a first weight, a second product of the second score and a second weight, and a third product of the third score and a third weight; calculating the score sum of the first product, the second product, and the third product, and determining to generate a recommendation order of the multiple books to be recommended according to the score sum; When it is detected that the book recommendation condition is met, a book recommendation operation is performed according to the plurality of books to be recommended, the recommendation sequence and the book recommendation condition.
7. The electronic device according to claim 6, characterized in that: The obtaining of reference information from a third-party application includes: After obtaining authorization from the third-party application, sending an information acquisition request to the third-party application; The reference information is obtained from the third-party application through an application interface corresponding to the third-party application.
8. The electronic device according to claim 6, characterized in that: The third-party application includes at least one of the following: a calendar application, a weather application, a music application, a file management application, a video application, a payment application, a navigation application, a shopping application, and a search engine; The reference information includes at least one of the following: schedule information in the calendar application, weather information in the weather application, music playback information in the music application, local file information in the file management application, video browsing information in the video application, historical payment record information in the payment application, location information in the navigation application, historical shopping record information in the shopping application, and search browsing record information in the search engine.
9. The electronic device according to claim 6, characterized in that: Determining a plurality of books to be recommended from a library according to the reference information includes: Determine, based on the reference information, the book category corresponding to the book to be recommended; A plurality of books to be recommended are determined according to the book categories corresponding to the books in the library and the book categories corresponding to the books to be recommended.
10. The electronic device according to claim 6, characterized in that In the case where the book recommendation condition is detected to be met, before performing a book recommendation operation according to the plurality of books to be recommended, the recommendation order and the book recommendation condition, the electronic device further comprises: updating the book recommendation condition in the condition management center according to the instruction of the target user, wherein the book recommendation condition includes: starting the third-party application or running the third-party application; and / or updating the book recommendation condition in the condition management center according to the reference information and the default setting of the condition management center; The book recommendation condition is obtained from the condition management center in real time.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Cold start recommendation method and device and electronic equipment
CN111814032A