Professional recommendation method, device, computer equipment and storage medium

By receiving user answer data, using a clustering model to determine personality categories and combining it with a subject weight table, it solves the problem of low accuracy in college entrance examination volunteer recommendations and achieves more accurate professional recommendations.

CN111191129BActive Publication Date: 2024-08-23GUANGDONG DECHENG NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911378127.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-27
Publication Date
2024-08-23
Estimated Expiration
2039-12-27

AI Technical Summary

Technical Problem

The existing method of recommending majors for the college entrance examination has low accuracy, making it difficult to accurately match candidates' occupations and majors.

Method used

By receiving user answer data, a clustering model is used to determine the user's personality category, and the target occupation is found based on the personality category. It is combined with the preset subject weight table to determine the weight of the college entrance examination elective subjects, thereby selecting the most suitable target from multiple recommended majors. Professional recommended.

Benefits of technology

It improves the accuracy of recommended majors for the college entrance examination and provides more accurate professional recommendation results by matching the user's personality and the weight of the college entrance examination subjects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111191129B
    Figure CN111191129B
Patent Text Reader

Abstract

The present application relates to a method, device, computer equipment and storage medium for recommending a major. The method comprises: receiving a major recommendation instruction, the major recommendation instruction carries a user identification and user answer data; inputting the user answer data into an established clustering model to obtain a personality category corresponding to the user identification; obtaining the corresponding target occupation according to the personality category, and searching for the corresponding recommended majors according to the target occupation; obtaining the college entrance examination elective subject corresponding to the user identification, and searching for the weight of the college entrance examination elective subject in a preset subject weight table according to each recommended major; obtaining the weight of each recommended major according to the weight of the college entrance examination elective subject corresponding to each recommended major; determining a target recommended major from each recommended major according to the weight of each recommended major, and returning the target recommended major to the user terminal corresponding to the user identification. The use of this method can improve the accuracy of the recommendation of college entrance examination volunteer majors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a professional recommendation method, apparatus, computer equipment and storage medium. Background Art

[0002] With the continuous development of the college entrance examination, a new "3+【6 choose 3】" subject selection model has emerged. In the 3+【6 choose 3】 subject selection model, 3 represents Chinese, mathematics, and foreign language subjects. 6 choose 3 means choosing 3 subjects from physics, chemistry, biology, geography, history, and politics to take the college entrance examination. Under the new "3+【6 choose 3】" subject selection model, filling in the college entrance examination major volunteer application has become a difficult point at present. At present, the filling in of the college entrance examination major volunteer application is usually recommended based on the college entrance examination subjects selected by the college entrance examination candidates.

[0003] However, the current method of recommending college entrance examination majors has the problem of low accuracy. Summary of the invention

[0004] Based on this, it is necessary to provide a professional recommendation method, device, computer equipment and storage medium that can improve the accuracy of professional recommendations for college entrance examination volunteers in response to the above-mentioned technical problems.

[0005] A professional recommendation method, comprising:

[0006] Receive a professional recommendation instruction, which carries a user ID and user answer data;

[0007] Input the user's answer data into the established clustering model to obtain the personality category corresponding to the user ID;

[0008] Get the corresponding target occupation according to the personality category, and find the corresponding recommended majors according to the target occupation;

[0009] Get the college entrance examination elective subject corresponding to the user ID, and search the weight of the college entrance examination elective subject in the preset subject weight table according to each recommended major;

[0010] The weight of each recommended major is obtained according to the weight of the college entrance examination elective subjects corresponding to each recommended major;

[0011] A target recommended major is determined from among the recommended majors according to the weights of the recommended majors, and the target recommended major is returned to a user terminal corresponding to the user identifier.

[0012] In one embodiment, before receiving the professional recommendation instruction, which carries the user identification and the user answer data, the method further includes:

[0013] Obtain historical user answer data, use a clustering algorithm to perform clustering calculations based on the historical user answer data, and obtain an established clustering model.

[0014] In one embodiment, before receiving the professional recommendation instruction, which carries the user identification and the user answer data, the method further includes:

[0015] Establish a preset subject weight table, which is used to find the corresponding weights of each college entrance examination subject based on the recommended major.

[0016] In one embodiment, establishing a preset subject weight table includes:

[0017] Obtain an initial subject weight table, and send a college entrance examination subject selection number query instruction to the target server, the college entrance examination subject selection number query instruction carries the target major, so that the target server queries the number of selections of the college entrance examination subject selection subject corresponding to the target major according to the college entrance examination subject selection number query instruction;

[0018] Get the number of selections for each college entrance examination elective subject corresponding to the target major returned by the target server, update the weights of each college entrance examination elective subject corresponding to the target major in the initial subject weight table according to the number of selections for each college entrance examination elective subject, and obtain the preset subject weight table.

[0019] In one embodiment, the user's answer data is input into an established clustering model to obtain a target personality corresponding to the user identification, including:

[0020] Determine the user's personality vector based on the user's answer data;

[0021] The similarity between the user's personality vector and each personality category in the established clustering model is calculated, and the personality category corresponding to the user identifier is determined based on the similarity.

[0022] In one embodiment, determining a target recommended major from each recommended major according to the weight of each recommended major, and returning the target recommended major to a user terminal corresponding to the user identifier includes:

[0023] Sort the recommended majors according to their weights to obtain sorted recommended majors;

[0024] A preset number of recommended majors are selected from the sorted recommended majors, and the preset number of recommended majors are sequentially returned to the user terminal corresponding to the user identifier.

[0025] A professional recommendation device, comprising:

[0026] An instruction receiving module is used to receive a professional recommendation instruction, which carries a user identifier and user answer data;

[0027] The clustering module is used to input the user's answer data into the established clustering model to obtain the personality category corresponding to the user ID;

[0028] The professional search module is used to obtain the corresponding target profession according to the personality category, and search for the corresponding recommended professions according to the target profession;

[0029] The subject weight search module is used to obtain the college entrance examination subject selection corresponding to the user ID, and search the weight of the college entrance examination subject selection in the preset subject weight table according to each recommended major;

[0030] The module for obtaining professional weights is used to obtain the weights of each recommended major based on the weights of the college entrance examination elective subjects corresponding to each recommended major;

[0031] The recommended major determination module is used to determine a target recommended major from various recommended majors according to the weights of various recommended majors, and return the target recommended major to the user terminal corresponding to the user identifier.

[0032] In one embodiment, the device further comprises:

[0033] The weight table establishment module is used to establish a preset subject weight table. The preset subject weight table is used to find the corresponding weights of each college entrance examination elective subject based on the recommended major.

[0034] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0035] Receive a professional recommendation instruction, which carries a user ID and user answer data;

[0036] Input the user's answer data into the established clustering model to obtain the personality category corresponding to the user ID;

[0037] Get the corresponding target occupation according to the personality category, and find the corresponding recommended majors according to the target occupation;

[0038] Get the college entrance examination elective subject corresponding to the user ID, and search the weight of the college entrance examination elective subject in the preset subject weight table according to each recommended major;

[0039] The weight of each recommended major is obtained according to the weight of the college entrance examination elective subjects corresponding to each recommended major;

[0040] A target recommended major is determined from among the recommended majors according to the weights of the recommended majors, and the target recommended major is returned to a user terminal corresponding to the user identifier.

[0041] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0042] Receive a professional recommendation instruction, which carries a user ID and user answer data;

[0043] Input the user's answer data into the established clustering model to obtain the personality category corresponding to the user ID;

[0044] Get the corresponding target occupation according to the personality category, and find the corresponding recommended majors according to the target occupation;

[0045] Get the college entrance examination elective subject corresponding to the user ID, and search the weight of the college entrance examination elective subject in the preset subject weight table according to each recommended major;

[0046] The weight of each recommended major is obtained according to the weight of the college entrance examination elective subjects corresponding to each recommended major;

[0047] A target recommended major is determined from among the recommended majors according to the weights of the recommended majors, and the target recommended major is returned to a user terminal corresponding to the user identifier.

[0048] The above-mentioned method, device, computer equipment and storage medium for recommending majors receive a major recommendation instruction, which carries a user ID and user answer data; input the user answer data into the established clustering model to obtain the personality category corresponding to the user ID; obtain the corresponding target occupation according to the personality category, and search for the corresponding recommended majors according to the target occupation; obtain the college entrance examination elective subject corresponding to the user ID, and search for the weight of the college entrance examination elective subject in the preset subject weight table according to each recommended major; obtain the weight of each recommended major according to the weight of the college entrance examination elective subject corresponding to each recommended major; determine the target recommended major from each recommended major according to the weight of each recommended major, and return the target recommended major to the user terminal corresponding to the user ID. That is, the user's personality is determined through the user answer data, the corresponding recommended majors are searched according to the user's personality, and then the target recommended major is obtained from each recommended major according to the user's college entrance examination elective subject, and the target recommended major is determined by the user's personality and the college entrance examination elective subject, thereby improving the accuracy of the college entrance examination volunteer major recommendation. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 An application environment diagram of a professional recommendation method in an embodiment;

[0050] Figure 2 A schematic diagram of a process of a professional recommendation method in an embodiment;

[0051] Figure 3A schematic diagram of a flow chart for obtaining a preset subject weight table in one embodiment;

[0052] Figure 4 A schematic diagram of a process for determining a personality category in one embodiment;

[0053] Figure 5 A schematic diagram of a process for selecting a recommended major in an embodiment;

[0054] Figure 6 is a structural block diagram of a professional recommendation device in an embodiment;

[0055] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0057] The professional recommendation method provided by this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The server 104 receives the professional recommendation instruction sent by the user terminal 102, and the professional recommendation instruction carries the user identification and the user answer data; the server 104 inputs the user answer data into the established clustering model to obtain the personality category corresponding to the user identification; obtains the corresponding target occupation according to the personality category, and searches for the corresponding recommended majors according to the target occupation; obtains the college entrance examination elective subject corresponding to the user identification, and searches for the weight of the college entrance examination elective subject in the preset subject weight table according to each recommended major; obtains the weight of each recommended major according to the weight of the college entrance examination elective subject corresponding to each recommended major; the server 104 determines the target recommended major from each recommended major according to the weight of each recommended major, and returns the target recommended major to the user terminal 102 corresponding to the user identification, and the terminal 102 receives the target recommended major for display. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented by an independent server or a server cluster composed of multiple servers.

[0058] In one embodiment, Figure 2 As shown, a professional recommendation method is provided, which is applied to Figure 1 The terminal in is used as an example to illustrate, including the following steps:

[0059] S202, receiving a professional recommendation instruction, the professional recommendation instruction carries a user identifier and user answer data.

[0060] Among them, the user ID is used to uniquely identify the user, and the user can be a college entrance examination candidate. Major refers to the academic category of colleges and universities or secondary vocational schools. For example: information and computing science major, software engineering major, finance major, etc. User answer data refers to the user's response to pre-set personality test questions. For example, the test questions can be displayed on the user terminal in the form of multiple-choice questions through a web page, and the test questions can be displayed through mini-programs, APPs (mobile software), etc. The user answers and selects the test questions, and the server obtains the answer selected by the user. For example, 100 test questions are set, and each question corresponds to an answer selected by the user.

[0061] Specifically, when the user finishes answering the questions, a professional recommendation instruction is sent to the server through a button on the answering interface. The server receives the professional recommendation instruction, parses the professional recommendation instruction to obtain the carried user ID and the user answer data corresponding to the user ID.

[0062] S204, inputting the user's answer data into the established clustering model to obtain the personality category corresponding to the user identification.

[0063] Among them, the established clustering model is used to classify the user's personality according to the user's answer data. The categories may include: cognition, truthfulness, openness, wisdom, imagination, activity, etc.

[0064] Specifically, the server inputs the user's answer data into the established clustering model to obtain the personality category corresponding to the user ID. For example, the similarity between the user's answer data and each personality category in the established clustering model is calculated to obtain the personality category corresponding to the user ID. The user ID may correspond to different personality categories.

[0065] S206, obtaining a corresponding target occupation according to the personality category, and searching for corresponding recommended majors according to the target occupation.

[0066] Specifically, the occupation corresponding to each personality category is pre-set, and the occupation is the work that an individual is engaged in to serve the society and serve as the main source of livelihood. For example, people with cognitive personality have strong basic learning ability and can engage in occupations that require a high level of intelligence, such as scientific researchers, doctors, engineers, etc. People with strong basic learning ability generally have strong ability to recognize and understand objective things and use knowledge and experience to solve problems. They also have good performance in memory, observation, attention, imagination, and thinking. For example, to engage in the profession of doctor, you must have a high level of intelligence and strong basic learning ability. If you want to engage in the profession of nurse, you only need a medium level of intelligence and good basic learning ability. If you want to engage in the profession of caregiver, you only need people with average basic learning ability.

[0067] Specifically, the server obtains the corresponding target occupation according to the personality category, and the target occupation may have multiple different occupations. The corresponding recommended majors are searched according to the target occupation. For example, suitable recommended majors found for scientific researchers, doctors, and engineers may include Chinese language and literature, chemistry, finance, geographical science, biological science, economics, material chemistry, measurement and control technology and instruments, ecology, nuclear engineering and nuclear technology, automation, electronic information engineering, mining engineering, communication engineering, computer science and technology, mineral processing engineering, basic medicine, preventive medicine, and traditional Chinese medicine, etc.

[0068] S208, obtaining the college entrance examination elective subjects corresponding to the user identification, and searching the weights of the college entrance examination elective subjects in a preset subject weight table according to each recommended major.

[0069] Among them, the college entrance examination elective subjects refer to the subjects selected by the user for the college entrance examination, which refers to 3 subjects selected from physics, chemistry, biology, geography, history and politics. For example, the user selected geography, chemistry and history subjects to take the college entrance examination. The preset subject weight table refers to the pre-set subject weight data table corresponding to each major. The preset subject weight table can be shown in Table 1 below:

[0070] Table 1

[0071] physics Chemical biology geography history politics Oral medicine 28.74% 40.23% 27.59% 1.15% 1.15% 1.15% Material Forming and Control Engineering 85.11% 6.38% 2.13% 2.13% 2.13% 2.13% civil Engineering 93.04% 3.48% 0.87% 0.87% 0.87% 0.87% architecture 36.67% 3.33% 3.33% 3.33% 26.67% 26.67% … … … … … … …

[0072] Specifically, the server obtains the corresponding college entrance examination elective subjects according to the user ID, and searches for the corresponding college entrance examination elective subject weights in the preset subject weight table according to each recommended major corresponding to the user ID. As shown in Table 1, if the recommended major is civil engineering, the college entrance examination elective subjects are physics, chemistry and history, and the weight of the physics subject is 93.04%. The weight of the chemistry subject is 3.48%, and the weight of the history subject is 0.87%. The weights of the college entrance examination elective subjects corresponding to each recommended major are found.

[0073] S210, obtaining the weight of each recommended major according to the weight of the college entrance examination elective subject corresponding to each recommended major.

[0074] Specifically, the weights of the college entrance examination elective subjects corresponding to each recommended major are summed up to obtain the weight of each recommended major. For example, the weight of the civil engineering major is 97.39% when the weight of the physics subject is 93.04%, the weight of the chemistry subject is 3.48%, and the weight of the history subject is 0.87%.

[0075] S212, determining a target recommended major from among the recommended majors according to the weights of the recommended majors, and returning the target recommended major to a user terminal corresponding to the user identifier.

[0076] Specifically, the weights of the recommended majors are compared, and the recommended major with the largest weight is obtained as the target recommended major. The target recommended major is returned to the user terminal corresponding to the user identifier, and the user terminal receives the target recommended major for display.

[0077] In the above-mentioned professional recommendation method, by receiving a professional recommendation instruction, the professional recommendation instruction carries a user ID and user answer data; inputting the user answer data into the established clustering model to obtain the personality category corresponding to the user ID; obtaining the corresponding target occupation according to the personality category, and searching for the corresponding recommended majors according to the target occupation; obtaining the college entrance examination elective subject corresponding to the user ID, searching for the weight of the college entrance examination elective subject in the preset subject weight table according to each recommended major; obtaining the weight of each recommended major according to the weight of the college entrance examination elective subject corresponding to each recommended major; determining the target recommended major from each recommended major according to the weight of each recommended major, and returning the target recommended major to the user terminal corresponding to the user ID. That is, the user's personality is determined through the user answer data, the corresponding recommended majors are searched according to the user's personality, and then the target recommended major is obtained from each recommended major according to the user's college entrance examination elective subject, and the target recommended major is determined by the user's personality and the college entrance examination elective subject, thereby improving the accuracy of the college entrance examination volunteer major recommendation.

[0078] In one embodiment, before step S202, that is, before receiving the professional recommendation instruction, which carries the user identification and the user answer data, the following steps are also included:

[0079] Obtain historical user answer data, use a clustering algorithm to perform clustering calculations based on the historical user answer data, and obtain an established clustering model.

[0080] Specifically, the historical user answer data is the user answer data obtained by pushing personality test questions to a large number of users in various historical time periods. Among them, the clustering algorithm can be a K-means clustering algorithm, a mean shift clustering algorithm, an expectation maximization (EM) clustering algorithm based on a Gaussian mixture model (GMM), an agglomerative hierarchical clustering algorithm, and a density-based clustering algorithm, etc. The historical user answer data corresponding to a large number of users are clustered using a clustering algorithm. When the clustering is completed, an established clustering model is obtained. By pre-establishing a clustering model, subsequent use is facilitated and efficiency is improved.

[0081] In one embodiment, before step S202, that is, before receiving the professional recommendation instruction, which carries the user identification and the user answer data, the following steps are also included:

[0082] Establish a preset subject weight table, which is used to find the corresponding weights of each college entrance examination subject based on the recommended major.

[0083] Specifically, the server establishes a pre-subject weight data table, which is used to find the corresponding weights of each college entrance examination subject according to the recommended major. By pre-establishing the subject weight table, subsequent use is convenient and efficiency is improved.

[0084] In one embodiment, Figure 3 As shown, establishing a preset subject weight table includes the following steps:

[0085] S302, obtain the initial subject weight table, and send a college entrance examination subject selection number query instruction to the target server. The college entrance examination subject selection number query instruction carries the target major, so that the target server queries the number of selections of the college entrance examination subject corresponding to the target major according to the college entrance examination subject selection number query instruction.

[0086] Among them, the initial subject weight table is a manually set subject weight table, and the weight corresponding to each major in the subject weight table is the same. The target major refers to the major that needs to be weighted, which can be the name of the major, the logo of the major, etc. Each major that needs to be weighted can be used as the target major. The target server refers to the data source server, which stores the number of selections of the college entrance examination subjects corresponding to the target major.

[0087] Specifically, the server obtains an initial subject weight table, which may be as shown in Table 2:

[0088] Table 2

[0089] physics Chemical biology geography history politics Major 1 1 1 1 1 1 1 Major 2 1 1 1 1 1 1 Major 3 1 1 1 1 1 1 Major 4 1 1 1 1 1 1 … … … … … … …

[0090] The server sends a college entrance examination subject selection query instruction to the target server, and the college entrance examination subject selection query instruction carries the target major, so that the target server queries the number of selections of the college entrance examination subject corresponding to the target major according to the college entrance examination subject selection query instruction. For example, the server sends a college entrance examination subject selection query instruction for software engineering to the target server, and the target server queries the number of selections of the college entrance examination subject corresponding to the software engineering major, such as physics, according to the college entrance examination subject selection query instruction.

[0091] S304, obtaining the number of selections of each elective subject of the college entrance examination corresponding to the target major returned by the target server, and updating the weights of each elective subject of the college entrance examination corresponding to the target major in the initial subject weight table according to the number of selections of each elective subject of the college entrance examination, to obtain a preset subject weight table.

[0092] Specifically, the server receives the number of selections of each elective subject of the college entrance examination corresponding to the target major returned by the target server, calculates the sum of the number of selections of all subjects corresponding to the target major according to the number of selections of each elective subject of the college entrance examination, calculates the ratio of the number of selections of each elective subject of the college entrance examination to the sum of the number of selections of all subjects, and obtains the weight of each elective subject of the college entrance examination corresponding to the target major. The server obtains the weight of each elective subject of the college entrance examination corresponding to each major, replaces the weight of each elective subject of the college entrance examination corresponding to the target major in the initial subject weight table with the calculated weight of each elective subject of the college entrance examination, and obtains the preset subject weight table. For example, the number of times the physics subject is selected for the software engineering major is 5 times, the chemistry subject is 5 times, the biology subject is 4 times, the geography subject is 1 time, the history subject is 1 time, and the politics subject is 1 time, and the total number of times is 17. The weight of the software engineering physics subject is 29.41%, the weight of the chemistry subject is 29.41%, the weight of the biology subject is 23.53%, the weight of the geography subject is 5.88%, the weight of the history subject is 5.88%, and the weight of the politics subject is 5.88%.

[0093] In the above embodiment, by obtaining the initial subject weight table and sending a college entrance examination subject selection number query instruction to the target server, the college entrance examination subject selection number query instruction carries the target major, so that the target server queries the number of selections of the college entrance examination subject selection subjects corresponding to the target major according to the college entrance examination subject selection number query instruction, obtains the number of selections of each college entrance examination subject selection subject corresponding to the target major returned by the target server, and updates the weights of each college entrance examination subject selection subject corresponding to the target major in the initial subject weight table according to the number of selections of each college entrance examination subject selection subject, and obtains the preset subject weight table, so that the preset subject weight table can be established using the number of subject selections in the target database, thereby improving the accuracy of the established preset subject weight table.

[0094] In one embodiment, Figure 4 As shown, step S204, that is, inputting the user's answer data into the established clustering model to obtain the target personality corresponding to the user identification, includes the steps of:

[0095] S402, determining the user's personality vector according to the user's answer data.

[0096] S404, calculating the similarity between the user's personality vector and each personality category in the established clustering model, and determining the personality category corresponding to the user identifier according to the similarity.

[0097] The user personality vector is used to represent the vector of the user's answer data. For example, when the user's answer data is a selection answer, the preset score of each option can be obtained, and the user's personality can be obtained according to the preset score of each option. For example, the user's answer data is the answer to 4 multiple-choice questions, including the first option of the first question, the preset score can be 1. The second option of the second question, the preset score can be 2. The second option of the third question, the preset score can be 3. The first option of the fourth question, the preset score can be 4. Then the obtained user personality vector can be (1,2,3,4).

[0098] Specifically, the server determines the user's personality vector based on the user's answer data, and calculates the similarity between the user's personality vector and each personality category in the established clustering model, and can calculate the similarity with the center vector of each personality category in the established clustering model. The similarity can be calculated using the Euclidean distance similarity algorithm, the cosine distance similarity algorithm, the Pearson correlation coefficient algorithm, etc. The similarities of each personality category are compared, and the personality category corresponding to the maximum similarity is used as the personality category corresponding to the user identifier.

[0099] In the above embodiment, the personality category corresponding to the user identification is determined by calculating the similarity, which can improve the efficiency of obtaining the personality category corresponding to the user identification.

[0100] In one embodiment, Figure 5 As shown, step S212, i.e. determining a target recommended major from each recommended major according to the weight of each recommended major, and returning the target recommended major to the user terminal corresponding to the user identifier, includes the steps of:

[0101] S502, sorting the recommended majors according to their weights to obtain sorted recommended majors.

[0102] S504, selecting a preset number of recommended majors from the sorted recommended majors, and returning the preset number of recommended majors in sequence to the user terminal corresponding to the user identifier.

[0103] Specifically, the server sorts the weights of the recommended majors to obtain the sorted recommended majors, and selects a preset number of recommended majors from the sorted recommended majors in order from large to small. The preset number is a preset number of recommended majors, for example, the top three recommended majors can be selected. The preset number of recommended majors is returned to the user terminal corresponding to the user identifier in order, and the user terminal receives the preset number of recommended majors sent by the server for display.

[0104] In the above embodiment, the accuracy of the recommendation of college entrance examination majors is improved by sorting the recommended majors and selecting a preset number of recommended majors from the sorted recommended majors for recommendation.

[0105] It should be understood that although Figure 2-5 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-5 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0106] In one embodiment, Figure 6 As shown, a professional recommendation device 600 is provided, including: an instruction receiving module 602, a clustering module 604, a professional search module 606, a subject weight search module 608, a professional weight obtaining module 610 and a recommended professional determination module 612, wherein:

[0107] The instruction receiving module 602 is used to receive a professional recommendation instruction, which carries a user identifier and user answer data;

[0108] The clustering module 604 is used to input the user's answer data into the established clustering model to obtain the personality category corresponding to the user identification;

[0109] A professional search module 606 is used to obtain a corresponding target profession according to the personality category, and search for corresponding recommended professions according to the target profession;

[0110] The subject weight search module 608 is used to obtain the college entrance examination subject corresponding to the user identification, and search the weight of the college entrance examination subject in the preset subject weight table according to each recommended major;

[0111] A module 610 for obtaining a major weight is used to obtain a weight of each recommended major according to the weight of the college entrance examination elective subject corresponding to each recommended major;

[0112] The recommended major determining module 612 is used to determine a target recommended major from among the recommended majors according to the weights of the recommended majors, and return the target recommended major to the user terminal corresponding to the user identifier.

[0113] In one embodiment, the professional recommendation device 600 further includes:

[0114] The model building module is used to obtain historical user answer data, perform clustering calculations using a clustering algorithm based on the historical user answer data, and obtain an established clustering model.

[0115] In one embodiment, the professional recommendation device 600 further includes:

[0116] The weight table establishment module is used to establish a preset subject weight table. The preset subject weight table is used to find the corresponding weights of each college entrance examination elective subject based on the recommended major.

[0117] In one embodiment, the weight table establishment module is also used to obtain the initial subject weight table and send a college entrance examination subject selection number query instruction to the target server. The college entrance examination subject selection number query instruction carries the target major, so that the target server queries the number of selections of the college entrance examination subject selection subjects corresponding to the target major according to the college entrance examination subject selection number query instruction; obtain the number of selections of each college entrance examination subject selection subject corresponding to the target major returned by the target server, and update the weights of each college entrance examination subject selection subject corresponding to the target major in the initial subject weight table according to the number of selections of each college entrance examination subject selection subject to obtain a preset subject weight table.

[0118] In one embodiment, the clustering module 604 is further used to determine the user's personality vector based on the user's answer data; calculate the similarity between the user's personality vector and each personality category in the established clustering model, and determine the personality category corresponding to the user identifier based on the similarity.

[0119] In one embodiment, the recommended major determination module 612 is also used to sort the recommended majors according to their weights to obtain sorted recommended majors; select a preset number of recommended majors from the sorted recommended majors, and return the preset number of recommended majors in sequence to the user terminal corresponding to the user identifier.

[0120] For the specific definition of the professional recommendation device, please refer to the definition of the professional recommendation method above, which will not be repeated here. Each module in the above professional recommendation device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0121] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store user answer data, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a professional recommendation method is implemented.

[0122] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0123] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: receiving a major recommendation instruction, the major recommendation instruction carrying a user identifier and user answer data; inputting the user answer data into an established clustering model to obtain a personality category corresponding to the user identifier; obtaining a corresponding target occupation according to the personality category, and searching for corresponding recommended majors according to the target occupation; obtaining college entrance examination elective subjects corresponding to the user identifier, and searching for weights of college entrance examination elective subjects in a preset subject weight table according to each recommended major; obtaining weights of each recommended major according to the weights of college entrance examination elective subjects corresponding to each recommended major; determining a target recommended major from each recommended major according to the weights of each recommended major, and returning the target recommended major to a user terminal corresponding to the user identifier.

[0124] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining historical user answer data, performing clustering calculations using a clustering algorithm based on the historical user answer data, and obtaining an established clustering model.

[0125] In one embodiment, when the processor executes the computer program, it also implements the following steps: establishing a preset subject weight table, which is used to find the corresponding weights of each college entrance examination subject based on the recommended major.

[0126] In one embodiment, the processor also implements the following steps when executing the computer program: obtaining an initial subject weight table, and sending a college entrance examination subject selection number query instruction to the target server, the college entrance examination subject selection number query instruction carries the target major, so that the target server queries the number of selections of the college entrance examination subject selection subjects corresponding to the target major according to the college entrance examination subject selection number query instruction; obtaining the number of selections of each college entrance examination subject selection subject corresponding to the target major returned by the target server, and updating the weights of each college entrance examination subject selection subject corresponding to the target major in the initial subject weight table according to the number of selections of each college entrance examination subject selection subject, to obtain a preset subject weight table.

[0127] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining the user's personality vector based on the user's answer data; calculating the similarity between the user's personality vector and each personality category in the established clustering model, and determining the personality category corresponding to the user identifier based on the similarity.

[0128] In one embodiment, when the processor executes the computer program, the following steps are also implemented: sorting each recommended major according to the weight of each recommended major to obtain sorted recommended majors; selecting a preset number of recommended majors from the sorted recommended majors, and returning the preset number of recommended majors in sequence to the user terminal corresponding to the user identifier.

[0129] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program implements the following steps when executed by a processor: receiving a major recommendation instruction, the major recommendation instruction carrying a user identifier and user answer data; inputting the user answer data into an established clustering model to obtain a personality category corresponding to the user identifier; obtaining a corresponding target occupation according to the personality category, and searching for corresponding recommended majors according to the target occupation; obtaining college entrance examination elective subjects corresponding to the user identifier, and searching for weights of college entrance examination elective subjects in a preset subject weight table according to each recommended major; obtaining weights of each recommended major according to the weights of the college entrance examination elective subjects corresponding to each recommended major; determining a target recommended major from each recommended major according to the weights of each recommended major, and returning the target recommended major to a user terminal corresponding to the user identifier.

[0130] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented, including: obtaining historical user answer data, performing clustering calculations using a clustering algorithm based on the historical user answer data, and obtaining an established clustering model.

[0131] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: establishing a preset subject weight table, which is used to find the corresponding weights of each college entrance examination subject based on the recommended major.

[0132] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining an initial subject weight table, and sending a college entrance examination subject selection number query instruction to the target server, the college entrance examination subject selection number query instruction carries the target major, so that the target server queries the number of selections of the college entrance examination subject selection subjects corresponding to the target major according to the college entrance examination subject selection number query instruction; obtaining the number of selections of each college entrance examination subject selection subject corresponding to the target major returned by the target server, and updating the weights of each college entrance examination subject selection subject corresponding to the target major in the initial subject weight table according to the number of selections of each college entrance examination subject selection subject, to obtain a preset subject weight table.

[0133] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the user's personality vector based on the user's answer data; calculating the similarity between the user's personality vector and each personality category in the established clustering model, and determining the personality category corresponding to the user identifier based on the similarity.

[0134] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: sorting each recommended major according to the weight of each recommended major to obtain sorted recommended majors; selecting a preset number of recommended majors from the sorted recommended majors, and returning the preset number of recommended majors in sequence to the user terminal corresponding to the user identifier.

[0135] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0136] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0137] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A professional recommendation method, comprising: Obtain an initial subject weight table, in which each target major has the same initial weight; Sending a college entrance examination subject selection number query instruction to the target server, the college entrance examination subject selection number query instruction carries each of the target majors, so that the target server queries the number of selections of the college entrance examination subject selection subject corresponding to each of the target majors according to the college entrance examination subject selection number query instruction; Obtain the number of selections of each college entrance examination elective subject corresponding to each of the target majors returned by the target server, calculate the sum of the number of selections of all subjects corresponding to each of the target majors according to the number of selections of each college entrance examination elective subject, calculate the ratio of the number of selections of each college entrance examination elective subject to the sum of the number of selections of all subjects, and obtain the weight of each college entrance examination elective subject corresponding to each of the target majors; According to the weight of each college entrance examination elective subject corresponding to each target major, the weight of each college entrance examination elective subject corresponding to the target major in the initial subject weight table is updated to obtain a preset subject weight table; Receive a professional recommendation instruction, the professional recommendation instruction carrying a user identifier and user answer data, the user answer data including user answer data corresponding to each of a plurality of answer options; For each of the multiple answer options, determine the user answer data corresponding to the answer option; Determine the preset score corresponding to the answer option according to whether the user answer data corresponding to the answer option and the selected answer corresponding to the answer option are the same; Determining a user personality vector corresponding to the user identifier according to the preset scores corresponding to the determined multiple answer options; Obtaining central vectors corresponding to each of the plurality of personality categories, and for each of the plurality of personality categories, calculating the Euclidean distance between the central vector corresponding to the personality category and the user personality vector corresponding to the user identifier; Among the calculated Euclidean distances corresponding to the plurality of personality categories, selecting the personality category corresponding to the minimum Euclidean distance as the personality category corresponding to the user identifier; Acquire a target occupation corresponding to the personality category corresponding to the user identifier, and search for corresponding recommended majors according to the target occupation; Obtain the college entrance examination elective subjects selected by the user pointed to by the user identifier, and search the preset subject weight table for the weights jointly determined by the recommended majors and the college entrance examination elective subjects selected by the user; The weight of the college entrance examination elective subject corresponding to the major in the preset subject weight table is the ratio of the number of selections of the college entrance examination elective subject corresponding to the major to the sum of the number of selections of all subjects corresponding to the major; Calculate the sum of the weights determined in each recommended major to obtain the weights corresponding to each of the recommended majors; A target recommended major is determined from among the recommended majors according to the weights of the recommended majors, and the target recommended major is returned to a user terminal corresponding to the user identifier.

2. The method according to claim 1, characterized in that Before receiving a professional recommendation instruction, wherein the professional recommendation instruction carries a user identifier and user answer data, the method further includes: The historical user answering data is obtained, and a clustering algorithm is used to perform clustering calculation according to the historical user answering data to obtain an established clustering model.

3. The method according to claim 1, characterized in that: Before the receiving of the professional recommendation instruction, wherein the professional recommendation instruction carries the user identification and the user answer data, the method further includes: A preset subject weight table is established, and the preset subject weight table is used to find the corresponding weights of each college entrance examination elective subject according to the recommended major.

4. The method according to claim 3, characterized in that The step of establishing a preset subject weight table includes: Obtain an initial subject weight table, and send a college entrance examination subject selection number query instruction to a target server, wherein the college entrance examination subject selection number query instruction carries a target major, so that the target server queries the number of selections of the college entrance examination subject selection subject corresponding to the target major according to the college entrance examination subject selection number query instruction; Obtain the number of selections of each college entrance examination elective subject corresponding to the target major returned by the target server, update the weights of each college entrance examination elective subject corresponding to the target major in the initial subject weight table according to the number of selections of each college entrance examination elective subject, and obtain the preset subject weight table.

5. The method according to claim 1, characterized in that Determining a target recommended major from the recommended majors according to the weights of the recommended majors, and returning the target recommended major to a user terminal corresponding to the user identifier, including: Sorting the recommended majors according to their weights to obtain sorted recommended majors; A preset number of recommended majors are selected from the ranked recommended majors, and the preset number of recommended majors are sequentially returned to the user terminal corresponding to the user identifier.

6. A professional recommendation device, characterized in that: The device comprises: A weight table establishment module is used to obtain an initial subject weight table, in which each target major has the same initial weight; Sending a college entrance examination subject selection number query instruction to the target server, the college entrance examination subject selection number query instruction carries each of the target majors, so that the target server queries the number of selections of the college entrance examination subject selection subject corresponding to each of the target majors according to the college entrance examination subject selection number query instruction; Obtain the number of selections of each college entrance examination elective subject corresponding to each of the target majors returned by the target server, calculate the sum of the number of selections of all subjects corresponding to each of the target majors according to the number of selections of each college entrance examination elective subject, calculate the ratio of the number of selections of each college entrance examination elective subject to the sum of the number of selections of all subjects, and obtain the weight of each college entrance examination elective subject corresponding to each of the target majors; According to the weight of each college entrance examination elective subject corresponding to each target major, the weight of each college entrance examination elective subject corresponding to the target major in the initial subject weight table is updated to obtain a preset subject weight table; An instruction receiving module, used for receiving a professional recommendation instruction, wherein the professional recommendation instruction carries a user identifier and user answer data, wherein the user answer data includes user answer data corresponding to each of a plurality of answer options; A clustering module, for determining, for each of the multiple answer options, user answer data corresponding to the answer option; Determine the preset score corresponding to the answer option according to whether the user answer data corresponding to the answer option and the selected answer corresponding to the answer option are the same; Determining a user personality vector corresponding to the user identifier according to the preset scores corresponding to the determined multiple answer options; Obtaining central vectors corresponding to each of the plurality of personality categories, and for each of the plurality of personality categories, calculating the Euclidean distance between the central vector corresponding to the personality category and the user personality vector corresponding to the user identifier; Among the calculated Euclidean distances corresponding to the plurality of personality categories, selecting the personality category corresponding to the minimum Euclidean distance as the personality category corresponding to the user identifier; A professional search module, used to obtain a corresponding target profession according to the personality category corresponding to the user identifier, and search for corresponding recommended professions according to the target profession; A subject weight search module is used to obtain the college entrance examination elective subject selected by the user pointed to by the user identifier, and search the preset subject weight table for the weight jointly determined by the recommended majors and the college entrance examination elective subjects selected by the user; the weight of the college entrance examination elective subject corresponding to the major in the preset subject weight table is the ratio of the number of selections of the college entrance examination elective subject corresponding to the major to the sum of the number of selections of all subjects corresponding to the major; A module for obtaining professional weights is used to calculate the sum of the weights determined in each recommended professional to obtain the weights corresponding to each of the recommended professional; The recommended major determination module is used to determine a target recommended major from the recommended majors according to the weights of the recommended majors, and return the target recommended major to the user terminal corresponding to the user identifier.

7. The device according to claim 6, characterized in that The device also includes a model building module, which is used to obtain historical user answering data, and perform clustering calculations using a clustering algorithm based on the historical user answering data to obtain an established clustering model.

8. The device according to claim 6, characterized in that The device further comprises a recommended major determination module, which is used to sort the recommended majors according to the weights of the recommended majors to obtain sorted recommended majors; A preset number of recommended majors are selected from the ranked recommended majors, and the preset number of recommended majors are sequentially returned to the user terminal corresponding to the user identifier.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.