Online course recommendation method, device, electronic device and storage medium
By obtaining user identity characteristics and interaction behavior data, and using preset course prediction models and user index trees, it solves the problem that the existing online course recommendation system cannot meet the needs of new users, and achieves efficient course recommendation and user experience improvement.
Patent Information
- Application Number
- CN202011074633.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-09
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-10-09
AI Technical Summary
Existing online course recommendation systems cannot effectively meet the needs of new users, resulting in cold start problems and poor user experience.
By obtaining user identity characteristics, finding similar historical users, using preset course prediction models and user index trees, and combining interactive behavior data to recommend courses, accurate matching and recommendation of courses are achieved.
It improves the accuracy and user experience of course recommendations, solves the problem of cold start for new users, and enables real-time data analysis and recommendations through artificial intelligence learning capabilities.
Smart Images

Figure CN112214670B
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data technology, and in particular to an online course recommendation method, device, electronic device and storage medium in the field of smart education. Background Art
[0002] With the development of Internet technology, self-study with the help of Internet platforms has become a common means for people to learn knowledge, effectively helping learners who are unable to participate in on-site teaching and learning due to various restrictions.
[0003] Although the self-learning method based on the Internet platform has brought convenience to people, it allows learners to learn by viewing relevant learning courses at any time and any place according to their own needs. However, at present, when learners conduct self-learning based on the Internet platform, the learning courses recommended by various learning websites are mostly recommended by manual recommendation or simple matching. Therefore, the recommended learning courses often cannot meet the needs of learners, resulting in unsatisfactory learning effects.
[0004] The information carrier of online vocational education is mainly online courses. The course list displayed to users on the client's browsing interface must meet user needs in order to achieve the purpose of recommendation. This puts high demands on the recommendation system. The existing course recommendation system cannot provide good recommendation results for new users, resulting in cold start problems and poor user experience. Summary of the invention
[0005] In view of the above problems, an online course recommendation method, device, electronic device and storage medium are proposed to solve the problem that the existing online course recommendation cannot meet the needs of new users.
[0006] In order to solve the above problems, the present application embodiment discloses an online course recommendation method, including:
[0007] Acquire the current user identity characteristics, which include but are not limited to basic information and characteristic information;
[0008] Finding historical users with the same or similar basic information and / or feature information as the current user;
[0009] Through the preset course prediction model, the predicted course corresponding to the identity feature of the historical user is found, determined as the predicted course result, and recommended to the current user.
[0010] Further, the finding of historical users having the same or similar basic information and / or feature information as the current user includes:
[0011] If the current user is a new user, the historical user with the highest matching degree with the current user is queried through the pre-built user index tree, wherein if the predicted course corresponding to the same historical user identity feature as the current user cannot be found in the preset course prediction model, the current user is defined as a new user;
[0012] The predicted course result corresponding to the user identity feature of the historical user is determined through the corresponding relationship, determined as the predicted course result for the current user, and recommended to the current user.
[0013] Furthermore, before searching for a historical user having the same or similar basic information and / or feature information as the current user, the process includes:
[0014] Combining and vectorizing the data attributes of the historical users according to preset dimensions to obtain the user index tree;
[0015] The data attributes include:
[0016] Organization ID, and / or gender, and / or age, and / or custom hobbies.
[0017] Furthermore, the historical users with the highest matching degree with the current user queried through the pre-built user index tree include:
[0018] Retrieving a preset number of historical users with high similarity to the new user from the pre-built user index tree;
[0019] By using the Euclidean distance calculation method, the historical user with the smallest Euclidean distance to the new user is calculated and determined as the historical user with the highest matching degree to the current user.
[0020] Furthermore, the obtaining of the current user identity characteristics, which include but are not limited to basic information and characteristic information, includes:
[0021] Obtaining interactive behavior data for establishing the relationship between the user identity feature and the predicted course result; the interactive behavior data includes: the number of clicks on the course details page, and / or the collection of course records, and / or the free trial course records, and / or the number of course likes, and / or the course rating, and / or the number of course learning times;
[0022] Analyze the characteristics and laws of the user identity features, and determine the model structure and model parameters of the preset course prediction model based on the characteristics and laws;
[0023] The structural model and the model parameters are trained and tested using the interactive behavior data to determine the corresponding relationship between the user identity features and the predicted course results.
[0024] Further, the process of finding a predicted course corresponding to the identity feature of the historical user through a preset course prediction model, determining it as a predicted course result, and recommending it to the current user includes:
[0025] Obtain historical user interaction behavior data in the past three days, the interaction behavior data includes: the number of clicks on the course details page, and / or the collection of course records, and / or the free trial course records, and / or the number of course likes, and / or course ratings, and / or the number of course learning times;
[0026] The interactive behavior data is weighted and calculated to obtain a course interaction index;
[0027] Sort the courses according to the course interaction index to obtain a list of concerned courses;
[0028] A preset number of courses ranked high in the list of focused courses are screened out as focused course results, and the focused course results and / or the predicted course results are recommended to the current user.
[0029] Furthermore, after finding the predicted course corresponding to the identity feature of the historical user through the preset course prediction model, determining it as the predicted course result, and recommending it to the current user, it also includes:
[0030] Acquiring interactive behavior data for establishing interaction between the user identity feature and the predicted course result;
[0031] Forming a course heat map according to the interactive behavior data;
[0032] The focus courses in the course heat map are determined as popular courses, and the focus courses, and / or the predicted courses, and / or the popular courses are recommended to the user.
[0033] The present application embodiment discloses an online course recommendation device, comprising:
[0034] An acquisition module, used to acquire the identity characteristics of the current user, wherein the identity characteristics of the current user include but are not limited to basic information and characteristic information;
[0035] A query module, used to find historical users whose basic information and / or feature information is the same or similar to that of the current user;
[0036] The first recommendation module uses a preset course prediction model to find a predicted course corresponding to the identity feature of the historical user, determines it as a predicted course result, and recommends it to the current user.
[0037] An embodiment of the present application discloses an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the steps of the online course recommendation method as described above when executed by the processor.
[0038] An embodiment of the present application discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the online course recommendation method as described above are implemented.
[0039] The embodiments of the present application include the following advantages: the relationship between user identity features and predicted courses can be learned through the learning ability of artificial intelligence, and the accuracy of recommended courses can be achieved. The pre-built user index tree can be used to solve the cold start problem of new users, and the user experience satisfaction can be improved based on the analysis of real-time user behavior data. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 is a flowchart of steps of an embodiment of an online course recommendation method of the present application;
[0041] Figure 2 is a flowchart of steps of an embodiment of an online course recommendation method of the present application;
[0042] Figure 3 is a flowchart of steps of an embodiment of an online course recommendation method of the present application;
[0043] Figure 4 is a flowchart of steps of an embodiment of an online course recommendation method of the present application;
[0044] Figure 5 is a flowchart of steps of an embodiment of an online course recommendation method of the present application;
[0045] Figure 6 is a flowchart of steps of an embodiment of an online course recommendation method of the present application;
[0046] Figure 7 It is a structural block diagram of an embodiment of an online course recommendation device of the present application;
[0047] Figure 8 It is a structural block diagram of an embodiment of an online course recommendation device of the present application;
[0048] Fig. 9 It is a structural block diagram of an embodiment of an online course recommendation device of the present application;
[0049] Fig.10 It is a structural block diagram of an embodiment of an online course recommendation device of the present application;
[0050] Fig.11 It is a structural block diagram of an embodiment of an online course recommendation device of the present application;
[0051] Fig.12 It is a structural block diagram of an embodiment of an online course recommendation device of the present application;
[0052] Fig.13 It is a computer device of an online course recommendation method of the present application. DETAILED DESCRIPTION
[0053] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0054] Reference Figure 1 , shows a flowchart of the steps of an online course recommendation method embodiment of the present application, which may specifically include the following steps:
[0055] S100, obtaining current user identity characteristics, the current user identity characteristics including but not limited to basic information and characteristic information;
[0056] S200, finding historical users with the same or similar basic information and / or feature information as the current user;
[0057] S300, using a preset course prediction model, finding a predicted course corresponding to the identity feature of the historical user, determining it as a predicted course result, and recommending it to the current user.
[0058] In a specific embodiment, before step S100, the method further includes establishing a corresponding relationship between user identity features and predicted course results by using the self-learning ability of the artificial intelligence model. The relationship between user identity features and predicted courses is learned through the learning ability of artificial intelligence, thereby achieving the accuracy of recommended courses.
[0059] Based on the above step S100, the current user identity characteristics are obtained, and the current user identity characteristics include but are not limited to basic information and characteristic information. In a specific embodiment, the above basic information includes but is not limited to user ID and organization ID, and the above characteristic information includes but is not limited to gender and age. The online course recommendation method in this application is applicable to the online vocational education course recommendation method. The user ID is used to represent the user's unique identification code; the organization ID user obtains the enterprise information associated with the user, and the user's occupation category and related industry can be obtained based on the above enterprise information; gender and age are used for analysis and statistics in the self-study process of the artificial intelligence model, which is convenient for improving the diversity of data in the self-study process, adjusting the weights in the artificial intelligence model, and improving the course prediction effect of the artificial intelligence model.
[0060] Based on the above steps S200-S300, find the historical users with the same or similar basic information and / or feature information as the current user, find the predicted courses corresponding to the identity features of the historical users through the preset course prediction model, determine them as predicted course results, and recommend them to the current user. Determine the predicted course results corresponding to the identity features of the current user through the corresponding relationship established by artificial intelligence; specifically, determine the predicted courses corresponding to the identity features of the current user, including: determine the preset number of predicted courses corresponding to the identity features of the historical users that are the same or similar to the identity features of the current user in the corresponding relationship as predicted course results, and recommend them to the current user. If the current user is a historical user, directly use the pre-trained artificial intelligence model to recommend courses to the current user. If the current user is a new user, find the historical user with the highest similarity to the current user according to the artificial intelligence model, and recommend the learning courses of the historical user with the highest similarity to the current user. In this embodiment, the above historical user refers to a user who can find the same identity features as the current user in the artificial intelligence model, and a new user refers to a user who cannot find the same identity features in the artificial intelligence model.
[0061] Specifically, the present application adopts a collaborative filtering algorithm to train the artificial intelligence model, uses the historical interaction data between users and courses as sample data to train and test the artificial intelligence model, uses the identity characteristics of the current user as the input parameters of the collaborative filtering algorithm, and the predicted course results are the output parameters of the collaborative filtering algorithm, thereby realizing the recommendation of prior courses for multiple users, solving the problem in existing recommendation methods that new users lack historical browsing and learning records, resulting in inaccurate course recommendations due to data sparsity.
[0062] Reference Figure 2 In this embodiment, the step of finding a historical user S200 that has the same or similar basic information and / or feature information as the current user includes:
[0063] S210, if the current user is a new user, query the historical user with the highest matching degree with the current user through the pre-built user index tree, wherein if the preset course prediction model cannot find the predicted course corresponding to the historical user identity feature with the same as the current user, the current user is determined to be a new user;
[0064] S220, determining the predicted course result corresponding to the user identity feature of the historical user through the corresponding relationship, determining it as the predicted course result for the current user, and recommending it to the current user.
[0065] Based on the above steps, if the user is a user who has not studied the course, there is no browsing record and learning record of the new user in the artificial intelligence model. Due to the lack of interactive behavior data between the current user and the course, this application retrieves the historical users most similar to the new user through the pre-built user index tree, and recommends the topk favorite course list of the historical users to the new user; specifically, the step of retrieving the historical users most similar to the new user includes:
[0066] According to the user identity feature of the new user, the historical user with the highest matching degree is found. Specifically, the matching degree is measured by the weight of the user identity feature, and the user identity features in the historical users are ranked by weight similarity with the identity features of the new user, and the historical user with the highest weight ranking is defined as the historical user most similar to the current user. Through the above steps, the problem of cold start of new users due to sparse data can be effectively solved.
[0067] Further, before searching for a historical user having the same or similar basic information and / or feature information as the current user S200, the following steps are performed:
[0068] S230, combining and vectorizing the data attributes of the historical users according to preset dimensions to obtain the user index tree; the data attributes include: organization ID, and / or gender, and / or age, and / or customized hobbies.
[0069] Based on the above steps, in a specific embodiment, the data attributes of historical users are represented by vectorization, and the word vector representation obtained by training the Wikipedia Chinese word embedding model is used. Specifically, the word2vec model is used to train the word-divided corpus, and the result is that each word has a vector representation of a fixed dimension. The above data attributes include but are not limited to organization ID, gender, age, and customized hobbies. The above data attributes are represented by a vector of fixed dimension. Specifically, each word corresponds to a vector of 300. It can effectively solve the problem of cold start caused by the lack of historical browsing and learning records and sparse data of new users.
[0070] Reference Figure 3 In this embodiment, the historical user with the highest matching degree with the current user is found through the pre-built user index tree, including S310:
[0071] S311, retrieving a preset number of historical users with high similarity to the new user in the pre-built user index tree;
[0072] S312: Using the Euclidean distance calculation method, calculate the historical user with the smallest Euclidean distance to the new user, and determine it as the historical user with the highest matching degree with the current user.
[0073] Based on the above steps, the user index tree is the data geometry of the attribute vectors of historical users. Each user vector is a point in a high-dimensional space. Two points are randomly selected, and the set is divided into two parts using an equidistant hyperplane perpendicular to the two points. After the above steps, the set is split into two subsets, and the previous step is repeated in the two subsets until the number of points in the smallest subset reaches the preset value n=10. Receive a new user, retrieve the historical user most similar to the new user in the data set, use the Euclidean distance calculation method between vectors, and the time for searching in the user index tree is the query time O(logn). Among the 10 most similar candidate historical users queried, select the historical user with the smallest Euclidean distance as the most similar user to the new user, and take the top ten courses that the above historical users like to watch and recommend them to the current new user. The courses that the above historical users like to watch are found through artificial intelligence models.
[0074] Reference Figure 4 In this embodiment, the process of obtaining the identity feature of the current user S100 includes:
[0075] S110, obtaining interactive behavior data for establishing the relationship between the user identity feature and the predicted course result; the interactive behavior data includes: the number of clicks on the course details page, and / or the collection of course records, and / or the free trial course records, and / or the number of course likes, and / or the course rating, and / or the number of course study times.
[0076] S120, analyzing the characteristics and rules of the user identity features, and determining the model structure and model parameters of the preset course prediction model according to the characteristics and rules;
[0077] S130, using the interactive behavior data, training and testing the model structure and the model parameters to determine the corresponding relationship between the user identity features and the predicted course results.
[0078] Based on the above steps, the favorite course ranking is determined according to the historical behavior data of historical users, and the courses are ranked according to the degree to which historical users like the courses. The user's likes, ratings, collections, and learning times for the course can all be used as scoring dimensions for the degree of liking. In a specific embodiment, the user's liking score for the course = likes (1 point) + ratings (specific score) + collections (1 point) + learning times (1 point) + sharing times (specific sharing times (points)), which can realize the collection of user interaction behavior data, and sort the courses according to the above liking scores to obtain the historical user's favorite course schedule, and filter out a preset number of results based on the above sorting results and recommend them to the user.
[0079] Reference Figure 5In this embodiment, the process of finding a predicted course corresponding to the identity feature of the historical user through a preset course prediction model, determining it as a predicted course result, and recommending it to the current user S300 includes:
[0080] S400, obtaining historical user interaction behavior data in the past three days, wherein the interaction behavior data includes: the number of clicks on the course details page, and / or the collection of course records, and / or the free trial course records, and / or the number of course likes, and / or the course ratings, and / or the number of course learning times;
[0081] S500, performing weighted calculation on the interaction behavior data to obtain a course interaction index;
[0082] S600, sorting the courses according to the course interaction index to obtain a list of concerned courses;
[0083] S700, screening out a preset number of courses that are ranked high in the list of focused courses and determining them as focused course results, and recommending the focused course results and / or the predicted course results to the current user.
[0084] Referring to the above steps, the user's interaction behavior with the course in the previous three days is taken. Specifically, the interaction behavior includes but is not limited to the number of clicks on the course details page, the number of collection of course records, the number of free trial course records, the number of course likes, the course ratings and the number of course learning times. The above interaction behavior data are counted separately, and the scores are weighted respectively. The courses are sorted according to the above corresponding scores, and the sorted courses are recommended to the user. In a specific embodiment, the first five courses after the above sorting will be recommended to the user. Other embodiments can also adjust the number of recommended courses according to specific recommendation needs. Parse the data that customers have browsed and clicked, analyze the user's purchase intention in time, and push courses. Solve the problem of untimely update of existing pushed course data. The present application can add new users and new courses to the training data in a timely manner, and use the real-time update mechanism as a recommendation supplement.
[0085] Reference Figure 6 In this embodiment, after finding the predicted course corresponding to the identity feature of the historical user through the preset course prediction model, determining it as the predicted course result, and recommending it to the current user S300, it also includes:
[0086] S800, acquiring interaction behavior data for establishing interaction between the user identity feature and the predicted course result;
[0087] S900, forming a course heat map according to the interactive behavior data;
[0088] S1000, determining the focus course in the course heat map as a popular course, and recommending the focus course, and / or the predicted course, and / or the popular course to the user.
[0089] Referring to the above steps, courses with a large number of user selections in the global statistics are regarded as popular courses, and popular courses also include newly launched famous courses, and a preset number of courses ranked high among the above popular courses are recommended to users. The number of the above recommendations can be determined according to actual needs. In a specific embodiment, the top 5 popular courses are recommended to users, which can improve the integrity and diversity of course recommendation data.
[0090] In a specific embodiment, an online course recommendation method is disclosed, which specifically includes:
[0091] Utilize the self-learning ability of the artificial intelligence model to establish a correspondence between the user identity features and the predicted course results; specifically, obtain the interactive behavior data used to establish the relationship between the user identity features and the predicted course results; the interactive behavior data includes: the number of clicks on the course details page, and / or the collection of course records, and / or the free trial course records, and / or the number of course likes, and / or the course rating, and / or the number of course learning times. Analyze the characteristics and laws of the user identity features, and determine the model structure and model parameters of the artificial intelligence model based on the characteristics and laws; use the interactive behavior data to train and test the structural model and the model parameters to determine the correspondence between the user identity features and the predicted course results.
[0092] Obtaining the current user's identity characteristics, including but not limited to user ID, organization ID, gender and age;
[0093] The predicted course results corresponding to the identity characteristics of the current user are determined through the corresponding relationship; specifically, the predicted courses corresponding to the identity characteristics of the current user are determined, including: determining a preset number of predicted courses corresponding to the identity characteristics of historical users that are the same or similar to the identity characteristics of the current user in the corresponding relationship as predicted course results, and recommending them to the current user; combining and vectorizing the data attributes of the historical users according to preset dimensions to obtain the user index tree; the data attributes include: organization ID, and / or gender, and / or age, and / or customized hobbies; if the current user is a new user, a preset number of historical users with high similarity to the new user are retrieved from the pre-constructed user index tree; using the Euclidean distance calculation method, the historical user with the smallest Euclidean distance to the new user is calculated and determined as the historical user with the highest matching degree with the current user, and then querying the historical user with the highest matching degree with the current user through the pre-constructed user index tree, wherein, if the predicted course corresponding to the same historical user identity characteristics as the current user cannot be found in the corresponding relationship, the current user is determined as a new user;
[0094] Determine the predicted course result corresponding to the user identity feature of the historical user through the corresponding relationship, determine it as the predicted course result of the current user, and recommend it to the current user;
[0095] Obtain historical user interaction behavior data in the past three days, the interaction behavior data includes: the number of clicks on the course details page, and / or the collection of course records, and / or the free trial course records, and / or the number of course likes, and / or course ratings, and / or the number of course learning times;
[0096] The interactive behavior data is weighted and calculated to obtain a course interaction index;
[0097] Sort the courses according to the course interaction index to obtain a list of concerned courses;
[0098] Screening out a preset number of courses that rank high in the list of focused courses as focused course results, and recommending the focused course results and / or the predicted course results to the user;
[0099] Acquiring interactive behavior data for establishing interaction between the user identity feature and the predicted course result;
[0100] Forming a course heat map according to the interactive behavior data;
[0101] The focus courses in the course heat map are determined as popular courses, and the focus courses, and / or the predicted courses, and / or the popular courses are recommended to the user.
[0102] Through the learning ability of artificial intelligence, the relationship between user identity features and predicted courses can be learned to achieve the accuracy of recommended courses. The pre-built user index tree can be used to solve the cold start problem of new users, and the user experience satisfaction can be improved based on the analysis of real-time user behavior data.
[0103] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0104] Reference Figure 7 , shows a structural block diagram of an embodiment of an online course recommendation device of the present application, which may specifically include the following modules:
[0105] An acquisition module 100 is used to acquire the identity characteristics of the current user, wherein the identity characteristics of the current user include but are not limited to basic information and characteristic information;
[0106] Query module 200, used to find historical users whose basic information and / or feature information is the same or similar to that of the current user;
[0107] The first recommendation module 300 searches for a predicted course corresponding to the identity feature of the historical user through a preset course prediction model, determines it as a predicted course result, and recommends it to the current user.
[0108] Reference Figure 8 In this embodiment, the query module 200 includes:
[0109] The matching submodule 210 is used to query the historical user with the highest matching degree with the current user through the pre-built user index tree if the current user is a new user, wherein if the predicted course corresponding to the historical user identity feature with the same identity feature as the current user cannot be found in the preset course prediction model, the current user is defined as a new user;
[0110] The recommendation submodule 220 is used to determine the predicted course result corresponding to the user identity feature of the historical user through the corresponding relationship, determine it as the predicted course result of the current user, and recommend it to the current user.
[0111] Furthermore, it also includes:
[0112] The construction submodule 230 is used to combine and vectorize the data attributes of the historical users according to preset dimensions to obtain the user index tree; the data attributes include: organization ID, and / or gender, and / or age, and / or customized hobbies.
[0113] Reference Fig. 9 , in this embodiment, further comprising:
[0114] A retrieval module 311 is used to retrieve a preset number of historical users with high similarity to the new user in the pre-built user index tree;
[0115] The matching module 312 is used to calculate the historical user with the smallest Euclidean distance to the new user by using the Euclidean distance calculation method, and determine it as the historical user with the highest matching degree to the current user.
[0116] Reference Fig.10 , in this embodiment, further comprising:
[0117] The acquisition submodule 110 is used to acquire the interaction behavior data used to establish the interaction between the user identity feature and the predicted course result; the interaction behavior data includes: the number of clicks on the course details page, and / or the collection of course records, and / or the free trial course records, and / or the number of course likes, and / or the course rating, and / or the number of course learning times;
[0118] An analysis submodule 120 is used to analyze the characteristics and laws of the user identity features, and determine the model structure and model parameters of the artificial intelligence model according to the characteristics and laws;
[0119] The training submodule 130 is used to use the interactive behavior data to train and test the structural model and the model parameters, and determine the corresponding relationship between the user identity characteristics and the predicted course results.
[0120] Reference Fig.11 , in this embodiment, further comprising:
[0121] The second acquisition module 400 is used to obtain historical user interaction behavior data in the past three days, wherein the interaction behavior data includes: the number of clicks on the course details page, and / or the collection of course records, and / or the free trial course records, and / or the number of course likes, and / or the course ratings, and / or the number of course learning times;
[0122] A weighting module 500 is used to perform weighted calculation on the interaction behavior data to obtain a course interaction index;
[0123] A sorting module 600 is used to sort the courses according to the course interaction index to obtain a list of concerned courses;
[0124] The second recommendation module 700 is used to filter out a preset number of courses that are ranked high in the list of focused courses as focused course results, and recommend the focused course results and / or the predicted course results to the current user.
[0125] Reference Fig.12 , in this embodiment, further comprising:
[0126] The third acquisition module 800 is used to acquire the interaction behavior data used to establish the interaction between the user identity feature and the predicted course result;
[0127] A thermal analysis module 900, for forming a course thermal map according to the interactive behavior data;
[0128] The third recommendation module 1000 is used to determine the focus course in the course heat map as a popular course, and recommend the focus course, and / or the predicted course, and / or the popular course to the user.
[0129] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0130] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0131] Reference Fig.13 , showing a computer device of an online course recommendation method of the present application, which may specifically include the following:
[0132] The computer device 12 is in the form of a general-purpose computing device, and the components of the computer device 12 may include but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
[0133] The bus 18 represents one or more of several types of bus 18 structures, including a memory bus 18 or memory controller, a peripheral bus 18, an accelerated graphics port, a processor or a local bus 18 using any of a variety of bus 18 architectures. These architectures include, by way of example, but are not limited to, an Industry Standard Architecture (ISA) bus 18, a Micro Channel Architecture (MAC) bus 18, an Enhanced ISA bus 18, an Audio Video Electronics Standards Association (VESA) local bus 18, and a Peripheral Component Interconnect (PCI) bus 18.
[0134] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0135] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (commonly referred to as a "hard drive"). Although Fig.13 Not shown, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM or other optical medium) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory may include at least one program product having a set (e.g., at least one) of program modules 42, which are configured to perform the functions of the various embodiments of the present application.
[0136] A program / utility 40 having a set (at least one) of program modules 42 may be stored in, for example, a memory, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules 42, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0137] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, cameras, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the computer device 12 may also communicate with one or more networks (e.g., local area networks (LANs)), wide area networks (WANs), and / or public networks (e.g., the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. It should be understood that although Fig.13Not shown, other hardware and / or software modules may be used in conjunction with the computer device 12, including but not limited to: microcode, device drivers, redundant processing units 16, external disk drive arrays, RAID systems, tape drives, and data backup storage systems 34, etc.
[0138] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, such as implementing the online course recommendation method provided in the embodiment of the present application.
[0139] That is, when the processing unit 16 executes the program, it achieves: obtaining the identity characteristics of the current user, which include but are not limited to basic information and characteristic information; finding historical users whose basic information and / or characteristic information are the same or similar to those of the current user; finding the predicted courses corresponding to the identity characteristics of the historical users through a preset course prediction model according to the learning ability of artificial intelligence, determining them as predicted course results, and recommending them to the current user.
[0140] In an embodiment of the present application, the present application further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the online course recommendation method provided in all embodiments of the present application is implemented:
[0141] That is, when the program is executed by the processor, it is implemented as follows: obtaining the identity characteristics of the current user, which include but are not limited to basic information and feature information; finding historical users who have the same or similar basic information and / or feature information as the current user; finding the predicted courses corresponding to the identity characteristics of the historical users through a preset course prediction model according to the learning ability of artificial intelligence, determining them as predicted course results, and recommending them to the current user.
[0142] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPOM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, 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, device or device.
[0143] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0144] The computer program code for performing the operation of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on the remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other.
[0145] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0146] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0147] The online course recommendation method, device, electronic device and storage medium provided by the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. An online course recommendation method, characterized in that: include: Acquire interactive behavior data for establishing a corresponding relationship between user identity features and predicted course results; The interactive behavior data includes: the number of clicks on the course details page, and / or the record of collecting the course, and / or the record of free trial courses, and / or the number of likes on the course, and / or the course rating, and / or the number of course study times; Analyze the characteristics and laws of the user identity features, and determine the model structure and model parameters of the preset course prediction model based on the characteristics and laws; Using the interactive behavior data, training and testing the model structure and the model parameters to determine the corresponding relationship between the user identity features and the predicted course results; Acquire the current user identity characteristics, which include but are not limited to basic information and characteristic information; Finding historical users with the same or similar basic information and / or feature information as the current user; including: if the current user is a new user, searching for historical users with the highest matching degree with the current user through a pre-built user index tree, wherein if the preset course prediction model cannot find a predicted course corresponding to the same historical user identity feature as the current user, the current user is defined as a new user; Through the preset course prediction model, the predicted courses corresponding to the identity characteristics of the historical user are found according to the learning ability of artificial intelligence, determined as the predicted course results, and recommended to the current user; specifically, if the current user is a historical user, the pre-trained artificial intelligence model is used to recommend courses to the current user. If the current user is a new user, the historical user with the highest similarity to the current user is found according to the artificial intelligence model, and the learning courses of the historical user with the highest similarity are recommended to the current user.
2. The method according to claim 1, characterized in that Before finding a historical user with the same or similar basic information and / or feature information as the current user, the process includes: Combining and vectorizing the data attributes of the historical users according to preset dimensions to obtain the user index tree; The data attributes include: Organization ID, and / or gender, and / or age, and / or custom hobbies.
3. The method according to claim 1 or 2, characterized in that: The historical users with the highest matching degree with the current user queried through the pre-built user index tree include: Retrieving a preset number of historical users with high similarity to the new user from the pre-built user index tree; By using the Euclidean distance calculation method, the historical user with the smallest Euclidean distance to the new user is calculated and determined as the historical user with the highest matching degree to the current user.
4. The method according to claim 1, characterized in that: The method of finding a predicted course corresponding to the identity feature of the historical user through a preset course prediction model, determining it as a predicted course result, and recommending it to the current user includes: Obtain historical user interaction behavior data in the past three days, the interaction behavior data includes: the number of clicks on the course details page, and / or the collection of course records, and / or the free trial course records, and / or the number of course likes, and / or course ratings, and / or the number of course learning times; The interactive behavior data is weighted and calculated to obtain a course interaction index; Sort the courses according to the course interaction index to obtain a list of concerned courses; A preset number of courses ranked high in the list of focused courses are screened out as focused course results, and the focused course results and / or the predicted course results are recommended to the current user.
5. The method according to claim 4, characterized in that After finding the predicted course corresponding to the identity feature of the historical user through the preset course prediction model, determining it as the predicted course result, and recommending it to the current user, the method further includes: Acquiring interactive behavior data for establishing a corresponding relationship between the user identity feature and the predicted course result; Forming a course heat map according to the interactive behavior data; The focus courses in the course heat map are determined as popular courses, and the focus courses, and / or the predicted courses, and / or the popular courses are recommended to the user.
6. An online course recommendation device, characterized in that: include: An acquisition submodule, used to acquire interactive behavior data for establishing a corresponding relationship between user identity features and predicted course results; The interactive behavior data includes: the number of clicks on the course details page, and / or the record of collecting the course, and / or the record of free trial courses, and / or the number of likes on the course, and / or the course rating, and / or the number of course study times; An analysis submodule, used to analyze the characteristics and laws of the user identity features, and determine the model structure and model parameters of the preset course prediction model according to the characteristics and laws; A training submodule, used to train and test the model structure and the model parameters using the interaction behavior data, and determine the corresponding relationship between the user identity feature and the predicted course result; An acquisition module, used to acquire the identity characteristics of the current user, wherein the identity characteristics of the current user include but are not limited to basic information and characteristic information; A query module is used to find historical users with the same or similar basic information and / or feature information as the current user; including: if the current user is a new user, query the historical user with the highest matching degree with the current user through a pre-built user index tree, wherein if the preset course prediction model cannot find a predicted course corresponding to the historical user identity feature with the same identity feature as the current user, the current user is defined as a new user; The first recommendation module uses a preset course prediction model to find the predicted course corresponding to the identity characteristics of the historical user, determines it as the predicted course result, and recommends it to the current user; specifically, if the current user is a historical user, a pre-trained artificial intelligence model is used to recommend courses to the current user; if the current user is a new user, the historical user with the highest similarity to the current user is found according to the artificial intelligence model, and the learning course of the historical user with the highest similarity is recommended to the current user.
7. An electronic device, characterized in that The invention comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the online course recommendation method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the online course recommendation method according to any one of claims 1 to 5 are implemented.
