Health-care product science popularization recommendation model construction method and health-care product science popularization recommendation method

Through multi-modal data integration and vector coding, a health product science recommendation model is constructed, which solves the problem of users' lack of knowledge and difficulty in meeting personalized needs when selecting health products, and achieves highly accurate and personalized health product recommendations, improving improve user experience and health choices.

CN118866254APending Publication Date: 2024-10-29BEIJING RENSHENG INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411079247.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The existing technology lacks a systematic multi-category and comprehensive health product science recommendation system, resulting in users relying on word-of-mouth when selecting health products, unable to make the most beneficial judgment for their own health, prone to impulsive consumption and unable to satisfy personalization. demand, causing consumers to waste time and energy with no health benefits.

Method used

By acquiring users' health data, health product science data and user feedback data, we perform multi-modal data integration and vector coding to build a health product science recommendation model. We use pre-trained neural network models to process multi-modal data and reduce the complexity of model training. , improve the accuracy and personalization of recommendations, and ensure that recommended results meet user needs.

Benefits of technology

It is possible to recommend health product science introduction content that best suits their needs to users, improve user experience and satisfaction, ensure the accuracy and personalization of recommendation results, and reduce the waste of computing resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118866254A_ABST
    Figure CN118866254A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of artificial intelligence, and discloses a health-care product science popularization recommendation model construction method and a health-care product science popularization recommendation method.The health-care product science popularization recommendation method comprises the steps that sample user health data, health-care product science popularization data and sample feedback data are obtained; performing differentiation processing to obtain multi-modal data corresponding to the sample feedback data; performing vector coding and combination on the sample user health data, the health product science popularization data and the multi-modal data to obtain feature vectors; based on the sample feedback data, calculating to obtain a user health care product cognition degree; and inputting the feature vector into an initial health-care product science popularization recommendation model, outputting a cognitive score corresponding to the feature vector, and training the initial health-care product science popularization recommendation model based on the cognitive score and the user health-care product cognitive degree to obtain a target health-care product science popularization recommendation model. According to the method, multi-modal data are effectively integrated, the accuracy and individuation degree of health-care product science popularization recommendation are improved, and health-care product science popularization introduction content most suitable for the requirement of a user is recommended for the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method for constructing a health care product popular science recommendation model and a health care product popular science recommendation method. Background Art

[0002] There are many kinds of health products on the market, such as goat milk powder, protein peptides, krill oil, probiotics, etc. Faced with a wide variety of health products, since most users are not professionals and lack relevant knowledge of health products, they often cannot choose the most suitable health products according to their physical conditions.

[0003] In the related art, since there is no systematic and comprehensive health care product popular science recommendation system, when users select health care products, they mostly rely on word of mouth, and have little knowledge of health care products, and cannot make the most favorable judgment for their own health. Therefore, they have lost the understanding of truly valuable health care products, and are prone to impulse consumption. At the same time, it is also impossible to fully and accurately meet personalized needs, causing consumers to waste a lot of time and energy to make choices, but the result is still of no benefit to their health. Therefore, a platform that integrates the popularization of health care products and personalized recommendations is needed to meet users' needs for health care products. Summary of the invention

[0004] In view of this, the present invention provides a method for constructing a health care product popular science recommendation model and a health care product popular science recommendation method to solve the problem of lack of a platform for popularizing health care products and making personalized recommendations.

[0005] In a first aspect, the present invention provides a method for constructing a health care product popular science recommendation model, the method comprising:

[0006] Obtain sample user health data, health care product popular science data, and user sample feedback data on health care product popular science data;

[0007] Preprocess the sample feedback data, and perform differential processing according to the type of the sample feedback data to obtain multimodal data corresponding to the sample feedback data;

[0008] The sample user health data, health care product popular science data and multimodal data are vector-encoded and combined to obtain a feature vector;

[0009] Based on the sample feedback data, the user's awareness of health products is calculated;

[0010] The feature vector is input into the initial health care product popular science recommendation model, and the cognitive score corresponding to the feature vector is output. The initial health care product popular science recommendation model is trained based on the cognitive score and the user's health care product awareness to obtain the target health care product popular science recommendation model.

[0011] In the present invention, the multimodal data of the collected user's health data, health care product popular science data and user's feedback data on the health care product popular science data are effectively integrated, the user needs are comprehensively analyzed, and the feature vectors in a unified format are obtained by vector encoding. The vectors are applied to the training of the health care product recommendation model, which fully utilizes the rich information of the multimodal data, improves the accuracy and personalization of the health care product popular science recommendations, and recommends the health care product popular science introduction content that best suits the needs of the users, ensuring that the recommendation results are more in line with the actual needs of the users, helping the users to choose the health care products that best suit them, and improving the user experience and satisfaction.

[0012] In an optional implementation, the sample feedback data includes picture data, text data, science popularization video viewing record data and science popularization video behavior data posted by the user, and the sample user health data, health care product science popularization data and multimodal data are vector-encoded and combined to obtain a feature vector, including:

[0013] Use the pre-trained convolutional neural network model to pre-process the image data and generate image vectors;

[0014] Use the pre-trained text vectorization model to pre-process the text data and generate text vectors;

[0015] The gated recurrent unit sequence model is used to preprocess the popular science video viewing record data to generate sequence vectors;

[0016] Use one-hot encoding to preprocess the popular science video behavior data, sample user health data, and health care product popular science data to obtain the embedding layer vector;

[0017] The image vector, text vector, sequence vector and embedding layer vector are concatenated end to end to obtain the feature vector.

[0018] In this method, since the training process of the health product recommendation model uses a large amount of multimodal data, the data processing and model structure cannot be too complicated. By using a pre-trained large model to process the model input part of the multimodal data containing pictures and text, no secondary calculation training is required, and a vector encoding in a unified format is obtained. This ensures that the information of the multimodal data is not lost while greatly reducing the amount of data used in model training, thereby reducing the complexity of recommendation model training, thereby ensuring the accuracy and personalization of the recommendation model and avoiding wasting computing resources.

[0019] In an optional implementation, the science video viewing record data is preprocessed using a gated recurrent unit sequence model to generate a sequence vector, including:

[0020] Obtain a preset number of popular science videos that the user has recently watched, and generate a video vector corresponding to the viewing behavior of each popular science video;

[0021] Input the current video vector into the gated recurrent unit sequence model, perform reset gate calculation on the current video vector, and obtain a reset gate output;

[0022] Perform update gate calculation on the current video vector to obtain update gate output;

[0023] Calculate the candidate hidden state of the current video vector to obtain the candidate hidden state output;

[0024] The final hidden state is calculated for the reset gate output, the update gate output and the candidate hidden state output to obtain the final hidden state of the current video vector. The final hidden states of all video vectors are traversed and calculated to obtain a sequence vector.

[0025] In this method, since the health science video viewing record data is long, by using the gated recurrent unit sequence model as the input processing module for this part of the data, while fully considering the behavioral sequentiality of users watching science video data, the gated recurrent unit sequence model is used to calculate the sequence vector, thereby reducing the amount of data calculation and further reducing the amount of calculation for model training.

[0026] In an optional implementation, the user's health care product awareness is calculated based on the sample feedback data, including:

[0027] Based on the popular science video viewing record data, the popular science video viewing time score is calculated using the scaling function;

[0028] Based on the popular science video behavior data, determine the user's like behavior data, sharing behavior data and attention behavior data;

[0029] Calculate the product of the like behavior data and the first preset weight, the product of the share behavior data and the second preset weight, the product of the attention behavior data and the third preset weight, the sum of the completion rate of the popular science video and the viewing time score of the popular science video to obtain the user's awareness of health products.

[0030] In this way, the user's health product awareness is calculated from the user's feedback on popular science data as the training target of the health product recommendation model, which can comprehensively judge the user's demand and understanding of a certain health product. Compared with the single judgment of whether the user needs a certain health product based on manual experience, it pays more attention to the user's expressed needs, and the recommendation results meet the user's real needs, while achieving the purpose of popularizing health knowledge.

[0031] In a second aspect, the present invention provides a method for popularizing and recommending health products, the method comprising:

[0032] Obtain target user health data, target health product popular science data, and target feedback data of users on target health product popular science data;

[0033] Preprocess the target feedback data, and perform differential processing according to the type of the target feedback data to obtain target multimodal data corresponding to the target feedback data;

[0034] Vector encoding and combining the target user health data, target health product popular science data and target multimodal data to obtain a target feature vector;

[0035] The target feature vector is input into the health care product popular science recommendation model, the cognitive score is calculated, and health care products are recommended based on the cognitive score, wherein the health care product popular science recommendation model is constructed using the health care product popular science recommendation model construction method of any one of the first aspects.

[0036] In the present invention, user needs are comprehensively analyzed through multimodal data, and the constructed health care product popular science recommendation model is used to calculate the user's corresponding cognitive score, and the corresponding health care product recommendation is made according to the cognitive score, thereby improving the accuracy and personalization of health care product recommendations, and having an intuitive and friendly recommendation result display method to ensure that users can easily understand and adopt the recommendation results. At the same time, the recommendation results of the health care product popular science recommendation model can be dynamically adjusted according to the user's data to adapt to changes in user needs.

[0037] In a third aspect, the present invention provides a device for constructing a health care product popular science recommendation model, the device comprising:

[0038] The first data acquisition module is used to acquire sample user health data, health care product popular science data, and user sample feedback data on the health care product popular science data;

[0039] A first data preprocessing module is used to preprocess the sample feedback data, and perform differential processing according to the type of the sample feedback data to obtain multimodal data corresponding to the sample feedback data;

[0040] The first vector encoding and combining module is used to vector encode and combine the sample user health data, health care product popular science data and multimodal data to obtain a feature vector;

[0041] A recognition degree calculation module is used to calculate the user's recognition degree of health products based on sample feedback data;

[0042] The model building module is used to input the feature vector into the initial health care product popular science recommendation model, output the cognitive score corresponding to the feature vector, train the initial health care product popular science recommendation model based on the cognitive score and the user's health care product awareness, and obtain the target health care product popular science recommendation model.

[0043] In a fourth aspect, the present invention provides a health care product popular science recommendation device, the device comprising:

[0044] The second data acquisition module is used to acquire the health data of the target user, the popular science data of the target health care products, and the target feedback data of the user on the popular science data of the target health care products;

[0045] A second data preprocessing module is used to preprocess the target feedback data, and obtain target multimodal data corresponding to the target feedback data by differential processing according to the type of the target feedback data;

[0046] The second vector encoding and combining module is used to vector encode and combine the target user health data, the target health care product popular science data and the target multimodal data to obtain a target feature vector;

[0047] The health care product recommendation module is used to input the target feature vector into the health care product popular science recommendation model, calculate the cognitive score, and recommend health care products based on the cognitive score, wherein the health care product popular science recommendation model is constructed using the health care product popular science recommendation model construction device of the third aspect.

[0048] In a fifth aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to execute the method for constructing a health care product popular science recommendation model of the first aspect or any corresponding embodiment thereof, or to execute the method for popular science recommendation of health care products in the second aspect.

[0049] In a sixth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for constructing a health product popular science recommendation model of the first aspect or any corresponding embodiment thereof, or to execute the method for popular science recommendation of health products in the second aspect.

[0050] In a seventh aspect, the present invention provides a computer program product, comprising computer instructions, the computer instructions being used to enable a computer to execute the method for constructing a health care product popular science recommendation model according to the first aspect or any corresponding embodiment thereof, or to execute the method for popular science recommendation of health care products according to the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0052] Figure 1 It is a flowchart of a method for constructing a health care product popular science recommendation model according to an embodiment of the present invention.

[0053] Figure 2 It is a structural diagram of a health care product intelligent science popularization recommendation system based on multimodal artificial intelligence according to an embodiment of the present invention.

[0054] Figure 3 It is a structural diagram of a health care product intelligent science popularization recommendation model based on multimodal artificial intelligence according to an embodiment of the present invention.

[0055] Figure 4 4 is a flow chart of another method for constructing a health care product popular science recommendation model according to an embodiment of the present invention.

[0056] Figure 5 It is a flow chart of a method for popularizing and recommending health products according to an embodiment of the present invention.

[0057] Figure 6 4 is a structural block diagram of a device for constructing a health care product popular science recommendation model according to an embodiment of the present invention.

[0058] Figure 7 4 is a structural block diagram of a device for popularizing and recommending health products according to an embodiment of the present invention.

[0059] Figure 8 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0061] In the related art, since there is no systematic and comprehensive health care product popular science recommendation system, when users select health care products, they mostly rely on word of mouth, and have little knowledge of health care products, and cannot make the most favorable judgment for their own health. Therefore, they have lost the understanding of truly valuable health care products, and are prone to impulse consumption. At the same time, it is also impossible to fully and accurately meet personalized needs, causing consumers to waste a lot of time and energy to make choices, but the result is still of no benefit to their health. Therefore, a platform that integrates the popularization of health care products and personalized recommendations is needed to meet users' needs for health care products.

[0062] In order to solve the above problems, a method for constructing a health care product popular science recommendation model is provided in an embodiment of the present invention, which is used in a computer device. It should be noted that its execution subject can be a health care product popular science recommendation model construction device, which can be implemented as part or all of the computer device through software, hardware, or a combination of software and hardware. The computer device can be a terminal or a client or a server. The server can be a server or a server cluster composed of multiple servers. The terminal in the embodiment of the present application can be a smart phone, a personal computer, a tablet computer, or other intelligent hardware devices. In the following method embodiments, the execution subject is a computer device as an example for explanation.

[0063] The computer device in this embodiment is suitable for a software terminal platform dedicated to users in the field of health care products, and integrates and analyzes the use scenarios of health care products required by users for multimodal data such as users watching popular science introductions on the terminal platform, publishing pictures and texts related to their own health care experience, and publishing comments. The present invention provides a method for constructing a health care product popular science recommendation model, which effectively integrates the multimodal data of the user's health data, health care product popular science data, and user feedback data on the health care product popular science data obtained by the collection, comprehensively analyzes user needs, and obtains feature vectors in a unified format through vector encoding, which are applied to the training of the health care product recommendation model, making full use of the rich information of multimodal data, improving the accuracy and personalization of health care product popular science recommendations, and realizing the recommendation of health care product popular science introduction content that best suits their needs for users, ensuring that the recommendation results are more in line with the actual needs of users, helping users choose the health care products that best suit them, and improving the user experience and satisfaction.

[0064] According to an embodiment of the present invention, an embodiment of a method for constructing a health care product popular science recommendation model is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.

[0065] In this embodiment, a method for constructing a health care product popular science recommendation model is provided, which can be used in the above-mentioned computer device. Figure 1 is a flow chart of a method for constructing a health care product popular science recommendation model according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0066] Step S101, obtaining sample user health data, health care product popular science data, and user sample feedback data on the health care product popular science data.

[0067] In one example, user health data can be obtained by designing a questionnaire, including: 1) authorized basic information data: age, gender, height, weight and other data; 2) authorized health data: sub-health characteristics of the body (such as fatigue, indigestion, etc.), whether there is a history of allergies and other data; 3) authorized life habit data: eating habits (such as whether to prefer high-sugar and high-fat foods, whether to eat vegetables and fruits, etc.), sleeping habits (such as sleep time, quality, etc.), exercise habits (such as the number of exercises per week, type, etc.) and other data. User sample feedback data on health care product popular science data may include: 1) Popular science viewing: users watch product explanations, health care and other content products on the platform, such as likes, shares, attention, and viewing time. 2) Pictures: pictures posted and shared by users on the platform. 3) Comments: text content of user experience sharing posted on the platform. Health care product popular science data may include: 1) information on the efficacy of health care products; 2) data on the use specifications of health care products; 3) popular science and articles related to health care products. For example, smart wearable devices (such as smart bracelets and smart watches) can be used to collect users' physiological data. It is also possible to add an option for users to manually enter health data to supplement the deficiencies of automatically collected data.

[0068] Step S102 , preprocessing the sample feedback data, and performing differential processing according to the type of the sample feedback data to obtain multimodal data corresponding to the sample feedback data.

[0069] In one example, to ensure the accuracy and legality of the data, the data needs to be cleaned to remove noise and outliers in the data and remove content that does not meet the specifications. Specifically, it may include: Data normalization: normalize the numerical data, scale it to a decimal in the range of 0-1, use the current value (value) minus the minimum value (min_value), and then divide it by the maximum value (max_value) minus the minimum value (min_value), the formula is (value-min_value) / (max_value-min_value).

[0070] Encode and embed categorical data: Convert categorical data from different sources into integers through one-hot encoding. For example, the city where the user is located is represented by 1 for Beijing, 2 for Tianjin, and 3 for Shanghai. Input the one-hot encoded integers into the embedding layer of the artificial intelligence model. The embedding layer is an M*N-dimensional matrix composed of decimals in the range of 0-1, where M is the total number of row data in the current category and N is the number of dimensions after vector encoding. After entering the embedding layer, the corresponding N-dimensional vector can be found based on the input integer. This vector is the vector encoding of the categorical data.

[0071] For example, different data processing techniques can be used, such as ensemble learning methods in machine learning (such as random forests and gradient boosting trees) for feature extraction and data preprocessing. Distributed data processing techniques (such as Apache Spark) can also be used to improve the efficiency and scalability of data processing.

[0072] Step S103, vector encoding and combining the sample user health data, health care product popular science data and multimodal data to obtain a feature vector.

[0073] In one example, in order to pass multimodal data and basic data into the artificial intelligence model together, it is necessary to generate a vector composed of decimals between 0 and 1 from the multimodal data, that is, to vector encode the multimodal data. Numerical features are directly connected to the model after normalization; category features are directly connected to the model after generating vector encoding; text features are connected to the multi-head self-attention model after generating vector encoding using the pre-trained Word2Vec model; viewing record features are connected to the GRU model after generating vector encoding; image features are connected to the model after generating vector encoding using the VGG model; the output data of each module connected to the model is concatenated and merged to generate a 12,000-dimensional vector.

[0074] Step S104, based on the sample feedback data, calculate the user's health care product awareness.

[0075] In one example, the user's awareness of a certain health product is used as the training target of the health product popular science recommendation model.

[0076] Step S105, input the feature vector into the initial health care product popular science recommendation model, output the cognitive score corresponding to the feature vector, train the initial health care product popular science recommendation model based on the cognitive score and the user's health care product awareness, and obtain the target health care product popular science recommendation model.

[0077] In one example, the model structure after the multimodal data is spliced ​​and merged must consider the direct intersection of feature data and the need to reduce the complexity of the model structure. Therefore, a deep crossing layer is used as one of the basic model structures, and multiple deep crossing layers are used to establish a deep crossing network (DCNV2), which can achieve the purpose of deep crossing of feature data while keeping the amount of calculation at a low level. In addition to the deep crossing network, a deep neural network (DNN: Deep Neural Networks) is used as an auxiliary traditional model structure, and the output of the deep crossing network is used as the input of the deep neural network. Compared with the existing recommendation algorithm model, this design can both quickly calculate and achieve the expected effect.

[0078] Specifically, the structure and calculation steps of the health care product popular science recommendation model are as follows:

[0079] 1) Connect the feature vector output by the previous process and the output result of the preprocessing model end to end to generate a 12000-dimensional vector x0.

[0080] 2) Input the vector into the first layer of the deep cross model. The specific formula is: Where x0 is the input feature vector, x l is the output of layer l, W l and b l are the weights and biases of the first layer respectively.

[0081] 3) The output x1 of layer 1 and the initial input x0 are used as the input of the second layer deep cross model. This process is repeated 6 times, with a total of 6 deep crosses, and finally a 12,000-dimensional vector is output.

[0082] 4) The final 12,000 vectors are connected to a deep neural network with 1,024 neurons in the first layer, 512 in the second layer, 256 in the third layer, 128 in the fourth layer, 64 in the fifth layer, 8 in the sixth layer, and 1 in the last layer.

[0083] 5) The output value of the last layer of the deep neural network is the final output of the artificial intelligence model, that is, the training target.

[0084] For example, different artificial intelligence algorithms (such as collaborative filtering, matrix decomposition, graph neural network, etc.) can be used to build recommendation models. A rule-based recommendation system can also be introduced as a supplement to make recommendations using expert knowledge and experience to improve the credibility of the system.

[0085] In one implementation scenario, Figure 2 is a structural diagram of a health care product intelligent popular science recommendation system based on multimodal artificial intelligence according to an embodiment of the present invention, such as Figure 2 As shown, the intelligent popular science recommendation system for health products based on multimodal artificial intelligence includes: 1) Terminal module: The interaction between the health product popular science recommendation system and the user uses Android terminal software and WeChat applet. The terminal module contains popular science and articles about health products. Users can upload pictures and text to publish personal insights, thoughts, and comments. 2) User data module, which collects user basic data, user physiological data, user behavior sequence data, and text and picture data published by users through the terminal module. 3) Health science popularization data module, which provides health product description data and popular science knowledge data. 4) Cloud computing data processing module, which performs basic data processing on user basic data, user physiological data, health product description data, and popular science knowledge data, performs multimodal data processing on user behavior sequence data and text and picture data published by users, inputs the obtained feature vector into the artificial intelligence model, outputs the cognitive score corresponding to the feature vector, and recommends health products based on the cognitive score and sends it to the terminal module.

[0086] Specifically, the training process of the intelligent popular science recommendation model for health products based on multimodal artificial intelligence may include: training data acquisition: obtaining pictures, comments, sayings, likes, shares, follows, collections and other data posted by users from the big data repository; obtaining user posts from the big data repository, and using mature text extraction model tools to extract text feature data therefrom; obtaining feature data such as ID, category, specifications, and uses of health products from the business database; obtaining physiological data such as user questionnaire results from the business database; obtaining user playback records from the business database, and generating viewing records based on user historical playbacks, with a completion rate greater than 80% as an effective playback condition.

[0087] Training data preprocessing: remove outliers in numerical data, such as maximum values ​​and null values, and perform normalization. Use the pre-trained model VGG to generate vector encodings for images; use the pre-trained model Word2Vec to generate vector encodings for text; use numerical normalization to generate 0-1 range data for numerical data; use one-hot encoding and embedding to generate vector encodings for category features.

[0088] Feature data access model: Numerical features are directly connected to the model after normalization; categorical features are directly connected to the model after generating vector encoding; text features are connected to the multi-head self-attention model after generating vector encoding using the pre-trained Word2Vec model; viewing record features are connected to the GRU model after generating vector encoding; image features are connected to the model after generating vector encoding using the VGG model; the output data of each module connected to the model are concatenated and merged to generate a 12,000-dimensional vector.

[0089] Figure 3 is a structural diagram of a health care product intelligent popular science recommendation model based on multimodal artificial intelligence according to an embodiment of the present invention, such as Figure 3 As shown in the figure, the deep learning model structure: the deep learning model is divided into two parts, one part is composed of a deep cross network, and the other part is composed of a deep neural network. It first passes through the deep cross network to generate a 12,000-dimensional vector, and then passes through the deep neural network to obtain the final model output score value.

[0090] Training goal: The user's awareness of a health product is used as the final model training goal, where awareness is the comprehensive statistical calculation result of multiple indicators. The specific formula is awareness = viewing time score + completion rate + whether to like × 0.1 + whether to share × 0.1 + whether to follow × 0.1. Among them, the calculation formula for the viewing time score is sigmoid (viewing time), sigmoid is a scaling function, and the formula is x is the viewing time. Based on the fusion score of awareness, the user's demand for and understanding of a health product can be comprehensively judged.

[0091] The method for constructing a health care product popular science recommendation model provided in this embodiment effectively integrates the multimodal data of the user's health data, health care product popular science data and the user's feedback data on the health care product popular science data, comprehensively analyzes the user's needs, and obtains feature vectors in a unified format through vector encoding. The feature vectors are applied to the health care product recommendation model training, and the rich information of the multimodal data is fully utilized to improve the accuracy and personalization of the health care product popular science recommendation, and achieves the recommendation of the health care product popular science introduction content that best suits the user's needs, ensuring that the recommendation results are more in line with the user's actual needs, helping the user to choose the health care product that best suits him or her, and improving the user's usage experience and satisfaction.

[0092] In this embodiment, a method for constructing a health care product popular science recommendation model is provided, which can be used in the above-mentioned computer device. Figure 4 is a flowchart of another method for constructing a health care product popular science recommendation model according to an embodiment of the present invention. Figure 4 As shown, the process includes the following steps:

[0093] Step S401, obtain sample user health data, health care product popular science data and user sample feedback data on health care product popular science data. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0094] Step S402: pre-process the sample feedback data, and perform differential processing according to the type of the sample feedback data to obtain multi-modal data corresponding to the sample feedback data. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0095] Step S403, vector encoding and combining the sample user health data, health care product popular science data and multimodal data to obtain a feature vector.

[0096] Specifically, the sample feedback data includes picture data, text data, science popularization video viewing record data and science popularization video behavior data posted by users. The above step S403 includes:

[0097] Step S4031, preprocess the image data using a pre-trained convolutional neural network model to generate an image vector.

[0098] In one example, for different multimodal data, the specific vector encoding methods adopted may include: for image content, such as images posted by users, use a pre-trained convolutional neural network model (VGG, Very Deep Convolutional Networks for Large-Scale Image Recognition) to generate image vectors, where the model parameters have been trained and do not need to be trained and updated again, which can greatly reduce the amount of calculation and save computing resources. The specific steps include: 1. Format images of different sizes into a unified 224*224*3 pixel size image, and input the formatted image data into the pre-trained model. 2. The first layer of the pre-trained model: After two convolutions with 64 convolution kernels, max pooling is used; after the first convolution, there are (3*3*3)*64=1728 training parameters; after the second convolution, there are (3*3*64)*64=36864 training parameters, and the image data size becomes 112*112*64. 3. After two convolutions with 128 convolution kernels, max pooling is used, there are (3*3*128)*128=147456 training parameters, and the image data size becomes 56*56*128. 4. After three convolutions with 256 convolution kernels, a maximum pooling is used, with (3*3*256)*256=589824 training parameters, and the image data size becomes 28*28*256. 5. After three convolutions with 512 convolution kernels, a maximum pooling is used, with (3*3*512)*512=2359296 training parameters, and the image data size becomes 14*14*512. 6. After three more convolutions with 512 convolution kernels, a maximum pooling is used. Pooling), there are (3*3*512)*512=2359296 training parameters, and the size becomes 7*7*512. 7. After three full connections, the first full connection has 4096 neurons, the second full connection has 4096 neurons, and the third full connection has 1000 neurons. Finally, a 1000-dimensional vector is obtained. The vector encoding of the image data is completed, and the image vector is obtained.

[0099] Step S4032, preprocessing the text data using a pre-trained text vectorization model to generate a text vector.

[0100] In one example, for text content, such as comments posted by users, a pre-trained text vectorization model (word2vec, Efficient Estimation of Word Representations in Vector Space) is used to generate text vectors. The specific steps include: 1. Count the maximum length of text data, that is, the longest number of words in the comments posted by users. If the text length is insufficient, use the default word to supplement it so that all text data lengths are the same, and the final text length is 60 words. 2. According to the encoding result of the pre-trained vectorization model, convert Chinese characters into integer numbers, that is, use specific integer numbers to replace Chinese characters. If the default word is used, use the integer number corresponding to the default word. 3. According to the integer number of the text, find the vector corresponding to the integer number in the vector encoding result. The queried vector is the vector encoding result of the text, which is a 100-dimensional decimal between 0 and 1. 4. Concatenate the vector encoding of each word in a text, that is, connect the 60 vectors end to end to obtain a 100*60=6000-dimensional vector. At this point, the vector encoding of the text data is completed and the text vector is obtained. Among them, the pre-trained text vectorization model has completed the entire training and vector encoding process, so you only need to query the vector encoding results according to the specific words in the text. To process different data into feature vectors of the same format type, you only need to pass all the pre-processed data through their respective model data access modules.

[0101] For example, text data needs to be analyzed for text semantics, and a multi-head self-attention model is used as the input processing module for this part of the data. This attention model has a good effect and has become the basic model structure of large models in the industry, which can efficiently process text data. Specifically, the specific implementation of the multi-head self-attention model is:

[0102] 1) Encode 60 100-dimensional text vectors into a 60*100-dimensional input embedding matrix X.

[0103] 2) Perform three different linear transformations on the input embedding to obtain the query, key, and value matrices, Q i =Wi i Q ,K i =W i K , V i =W i V , where W i Q i K iV is the learned weight matrix, Q, K, V are the query, key, and value matrices respectively.

[0104] 3) Scaled dot product attention, the formula is The formula for softmax is d k Is the dimension of the key.

[0105] 4) Combine the outputs of the multi-head self-attention layer. The formula is MultiHead(Q,K,V)=oncat(hd1,head2,…,head h ), where Concat means concatenation along the last axis of the vector, and the subscript h is the number of multiple heads. In this scenario, the number of multiple heads is 5.

[0106] 5) Finally, the output result of this module is obtained through linear transformation, and the formula is Output = MultiHead (Q, K, V) W o , where W o It is the weight matrix of the last layer of linear transformation, and the final output is a 6000-dimensional vector.

[0107] Step S4033: Preprocess the popular science video viewing record data using a gated recurrent unit sequence model to generate a sequence vector.

[0108] In some optional implementations, the above step S4033 includes:

[0109] Step a1, obtaining a preset number of popular science videos that the user has recently watched, and generating a video vector corresponding to the viewing behavior of each popular science video.

[0110] Step a2, input the current video vector into the gated cycle unit sequence model, perform reset gate calculation on the current video vector, and obtain a reset gate output.

[0111] Step a3, perform update gate calculation on the current video vector to obtain update gate output.

[0112] Step a4, calculate the candidate hidden state of the current video vector to obtain the candidate hidden state output.

[0113] Step a5, calculate the final hidden state of the reset gate output, the update gate output and the candidate hidden state output to obtain the final hidden state of the current video vector, traverse and calculate the final hidden states of all video vectors to obtain a sequence vector.

[0114] In one example, since the health science video viewing record data is long, the gated recurrent unit sequence model (GRU) is used as the input processing module for this part of the data. This sequence model has a small amount of calculation and fully considers the behavioral sequentiality of users watching science video data for sequence modeling, which is very suitable for this recommendation system scenario.

[0115] Specifically, the gated recurrent unit sequence model is implemented as follows:

[0116] 1) According to the 20 health science popularization videos that the user has watched recently, the aforementioned data processing flow is used to process them into 20 100-dimensional vector codes. The number of health science popularization videos that have been watched recently is not limited in the present invention.

[0117] 2) Input the first video vector into the reset gate calculation of the model (formula r t =σ(W r ·[h t-1 ,t]+b r ),σ is the sigmoid activation function (formula W r is the weight matrix of the reset gate, h t-1 is the hidden state of the previous time step, that is, the output of the previous computational unit, x t is the input of the current time step, i.e. the vector encoding of the first video, b r is the bias vector for the reset gate, r t is the output of the current reset gate).

[0118] 3) Input the first video vector into the update gate calculation of the model (formula z t =(Wz·[h t-1 ,x t ]+b z ),σ is the sigmoid activation function (formula Wz is the weight matrix of the update gate, h t-1 is the hidden state of the previous time step, that is, the output of the previous computational unit, x t is the input of the current time step, i.e. the vector encoding of the first video, b z is the bias vector of the update gate, z t is the output of the current update gate).

[0119] 4) Input the first video vector into the candidate hidden state calculation of the model (formula tanh is the hyperbolic tangent activation function, W h is the weight matrix of the candidate hidden state, r t is the output of the current reset gate, ° represents element multiplication, ht-1 is the hidden state of the previous time step, that is, the output of the previous computational unit, x t is the input of the current time step, i.e. the vector encoding of the first video, b h is the bias vector of the candidate hidden state, is the output of the current candidate hidden state calculation).

[0120] 5) Take the output of steps 2) to 4) as input and calculate the final hidden state (formula Calculate the update gate z t , calculate the candidate hidden state Calculate the final hidden state h t ).

[0121] 6) Repeat the above steps 2) to 5) 20 times to complete the processing of the health science video viewing record data in the model. The output h of the last calculation unit is t , which is the final output of modeling the sequence, and the sequence vector is obtained.

[0122] In this method, since the health science video viewing record data is long, by using the gated recurrent unit sequence model as the input processing module for this part of the data, while fully considering the behavioral sequentiality of users watching science video data, the gated recurrent unit sequence model is used to calculate the sequence vector, thereby reducing the amount of data calculation and further reducing the amount of calculation for model training.

[0123] Step S4034, using one-hot encoding to pre-process the popular science video behavior data, sample user health data and health care product popular science data to obtain an embedding layer vector.

[0124] In one example, encoding and embedding categorical data to obtain an embedding layer vector may include: converting categorical data from different sources into integer numbers through one-hot encoding, such as the city where the user is located, using 1 to represent Beijing, 2 to represent Tianjin, and 3 to represent Shanghai. The integer numbers after one-hot encoding are input into the embedding layer of the artificial intelligence model, which is an M*N-dimensional matrix composed of decimals in the range of 0-1, where M is the total number of current category row data and N is the number of dimensions after a vector encoding. After entering the embedding layer, the corresponding N-dimensional vector can be found according to the input integer number, and the vector is the vector encoding of the categorical data.

[0125] Step S4035, concatenate the image vector, text vector, sequence vector and embedding layer vector head to tail to obtain a feature vector.

[0126] In one example, the vector encoding output by the above process and the output result of the preprocessing model are connected end to end to generate a 12,000-dimensional vector x0.

[0127] In this method, since the training process of the health product recommendation model uses a large amount of multimodal data, the data processing and model structure cannot be too complicated. By using a pre-trained large model to process the model input part of the multimodal data containing pictures and text, no secondary calculation training is required, and a vector encoding in a unified format is obtained. This ensures that the information of the multimodal data is not lost while greatly reducing the amount of data used in model training, thereby reducing the complexity of recommendation model training, thereby ensuring the accuracy and personalization of the recommendation model and avoiding wasting computing resources.

[0128] Step S404: Calculate the user's health care product awareness based on the sample feedback data.

[0129] Specifically, the above step S404 includes:

[0130] Step S4041, based on the popular science video viewing record data, using a scaling function, calculate the popular science video viewing time score.

[0131] Step S4042, based on the popular science video behavior data, determine the user's like behavior data, share behavior data and follow behavior data.

[0132] Step S4043, calculate the product of the like behavior data and the first preset weight, the product of the share behavior data and the second preset weight, the product of the attention behavior data and the third preset weight, the sum of the completion rate of the popular science video and the popular science video viewing time score, and obtain the user's awareness of health products.

[0133] In one example, the user's awareness of a health product is used as the final model training target, where awareness is the comprehensive statistical calculation result of multiple indicators. The specific formula is awareness = viewing time score + completion rate + whether to like × 0.1 + whether to share × 0.1 + whether to follow × 0.1. Among them, the calculation formula for the viewing time score is sigmoid (viewing time), sigmoid is a scaling function, and the formula is x is the viewing time.

[0134] In this way, the user's health product awareness is calculated from the user's feedback on popular science data as the training target of the health product recommendation model, which can comprehensively judge the user's demand and understanding of a certain health product. Compared with the single judgment of whether the user needs a certain health product based on manual experience, it pays more attention to the user's expressed needs, and the recommendation results meet the user's real needs, while achieving the purpose of popularizing health knowledge.

[0135] Step S405: Input the feature vector into the initial health care product popular science recommendation model, output the cognitive score corresponding to the feature vector, train the initial health care product popular science recommendation model based on the cognitive score and the user's health care product awareness, and obtain the target health care product popular science recommendation model. Figure 1 Step S105 of the illustrated embodiment will not be described in detail here.

[0136] The method for constructing a health care product popular science recommendation model provided in this embodiment uses a large amount of multimodal data in the training process of the health care product recommendation model, and the data processing and model structure cannot be too complicated. By using a pre-trained large model to process the model input part of the multimodal data containing pictures and text, no secondary calculation training is required to obtain a vector encoding in a unified format, which is convenient for ensuring that the information of the multimodal data is not lost, and greatly reducing the amount of data used in model training, reducing the complexity of the recommendation model training, and ensuring the accuracy and personalization of the recommendation model, and achieving no waste of computing resources. Since the health science video viewing record data is long, by using a gated recurrent unit sequence model as the data input processing module for this part, the gated recurrent unit sequence model is used to calculate the sequence vector while fully considering the behavioral sequence of the user watching the science video data, which reduces the amount of data calculation and further reduces the amount of calculation for model training. By calculating the user's health care product awareness based on the user's feedback on the science data as the training target of the health care product recommendation model, the user's demand and understanding of a certain health care product can be comprehensively judged. Compared with simply judging whether a user needs a certain health product based on manual experience, it pays more attention to the needs expressed by the user. The recommendation results meet the user's real needs and at the same time achieve the purpose of popularizing health knowledge.

[0137] In this embodiment, a method for popularizing and recommending health products is provided, which can be used in the above-mentioned computer device. Figure 5 is a flow chart of a method for popularizing and recommending health products according to an embodiment of the present invention. Figure 5 As shown, the process includes the following steps:

[0138] Step S501, obtaining target user health data, target health product popular science data, and user target feedback data on the target health product popular science data.

[0139] Step S502 , preprocessing the target feedback data, and performing differential processing according to the type of the target feedback data to obtain target multimodal data corresponding to the target feedback data.

[0140] Step S503, vector encoding and combining the target user health data, the target health product popular science data and the target multimodal data to obtain a target feature vector.

[0141] Step S504, input the target feature vector into the health care product popular science recommendation model, calculate the cognitive score, and recommend health care products based on the cognitive score.

[0142] In the embodiment of the present invention, the health care product popular science recommendation model is constructed by using the above-mentioned health care product popular science recommendation model construction method.

[0143] The health care product popular science recommendation method provided in this embodiment comprehensively analyzes user needs through multimodal data, calculates the user's corresponding cognitive score using the constructed health care product popular science recommendation model, and recommends corresponding health care products based on the cognitive score, thereby improving the accuracy and personalization of health care product recommendations, and having an intuitive and friendly way of displaying recommendation results, ensuring that users can easily understand and adopt the recommendation results. At the same time, the recommendation results of the health care product popular science recommendation model can be dynamically adjusted according to the user's data to adapt to changes in user needs.

[0144] In the present embodiment, a health care product popular science recommendation model construction device is also provided, and the device is used to implement the above-mentioned embodiments and preferred embodiments, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.

[0145] This embodiment provides a device for constructing a health care product popular science recommendation model. Figure 6 As shown, including:

[0146] The first data acquisition module 601 is used to acquire sample user health data, health care product popular science data, and sample feedback data of users on health care product popular science data. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0147] The first data preprocessing module 602 is used to preprocess the sample feedback data and obtain multimodal data corresponding to the sample feedback data by differential processing according to the type of the sample feedback data. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0148] The first vector encoding and combining module 603 is used to perform vector encoding and combining the sample user health data, health care product popular science data and multimodal data to obtain a feature vector. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.

[0149] The recognition degree calculation module 604 is used to calculate the user's recognition degree of health products based on the sample feedback data. Figure 1Step S104 of the illustrated embodiment will not be described in detail here.

[0150] The model building module 605 is used to input the feature vector into the initial health care product popular science recommendation model, output the cognitive score corresponding to the feature vector, train the initial health care product popular science recommendation model based on the cognitive score and the user's health care product awareness, and obtain the target health care product popular science recommendation model. Figure 1 Step S105 of the illustrated embodiment will not be described in detail here.

[0151] In some optional implementations, the sample feedback data includes picture data, text data, science popularization video viewing record data and science popularization video behavior data posted by the user, and the first vector encoding combination module 603 includes:

[0152] The image vector generation unit is used to pre-process the image data using a pre-trained convolutional neural network model to generate an image vector.

[0153] The text vector generation unit is used to pre-process the text data using a pre-trained text vectorization model to generate a text vector.

[0154] The sequence vector generating unit is used to pre-process the popular science video viewing record data by using a gated recurrent unit sequence model to generate a sequence vector.

[0155] The embedding layer vector unit is used to pre-process the popular science video behavior data, sample user health data and health care product popular science data using one-hot encoding to obtain the embedding layer vector.

[0156] The feature vector merging unit is used to combine the image vector, the text vector, the sequence vector and the embedding layer vector head to tail to obtain a feature vector.

[0157] In some optional implementations, the sequence vector generating unit includes:

[0158] The video vector generation subunit is used to obtain a preset number of popular science videos that the user has recently watched, and generate a video vector corresponding to the viewing behavior of each popular science video.

[0159] The reset gate calculation subunit is used to input the current video vector into the gated cycle unit sequence model, perform reset gate calculation on the current video vector, and obtain a reset gate output.

[0160] The update gate calculation subunit is used to perform update gate calculation on the current video vector to obtain an update gate output.

[0161] The candidate hidden state calculation subunit is used to calculate the candidate hidden state of the current video vector to obtain the candidate hidden state output.

[0162] The final hidden state calculation subunit is used to perform final hidden state calculation on the reset gate output, the update gate output and the candidate hidden state output to obtain the final hidden state of the current video vector, and traverse and calculate the final hidden states of all video vectors to obtain a sequence vector.

[0163] In some optional implementations, the recognition degree calculation module 604 includes:

[0164] The viewing time score calculation unit is used to calculate the viewing time score of the popular science video based on the popular science video viewing record data using a scaling function.

[0165] The behavior data determination unit is used to determine the user's like behavior data, share behavior data and follow behavior data based on the popular science video behavior data.

[0166] The awareness calculation unit is used to calculate the product of the like behavior data and the first preset weight, the product of the share behavior data and the second preset weight, the product of the attention behavior data and the third preset weight, the sum of the completion rate of the popular science video and the viewing time score of the popular science video, and obtain the user's health care product awareness.

[0167] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0168] The health care product popular science recommendation model building device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0169] In this embodiment, a health care product popular science recommendation device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0170] This embodiment provides a health care product popular science recommendation device, such as Figure 7 As shown, including:

[0171] The second data acquisition module 701 is used to acquire the health data of the target user, the popular science data of the target health care products, and the target feedback data of the user on the popular science data of the target health care products. Figure 5 Step S501 of the illustrated embodiment will not be described in detail here.

[0172] The second data preprocessing module 702 is used to preprocess the target feedback data, and obtain the target multimodal data corresponding to the target feedback data by differential processing according to the type of the target feedback data. Figure 5 Step S502 of the illustrated embodiment will not be described in detail here.

[0173] The second vector encoding and combining module 703 is used to vector encode and combine the target user health data, the target health care product popular science data and the target multimodal data to obtain the target feature vector. Figure 5 Step S503 of the illustrated embodiment will not be described in detail here.

[0174] The health care product recommendation module 704 is used to input the target feature vector into the health care product popular science recommendation model, calculate the cognitive score, and recommend health care products based on the cognitive score, wherein the health care product popular science recommendation model is constructed using the above-mentioned health care product popular science recommendation model construction device. Figure 5 Step S504 of the illustrated embodiment will not be described in detail here.

[0175] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0176] The health care product popular science recommendation device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0177] The embodiment of the present invention also provides a computer device having the above Figure 6 The health care product popular science recommendation model building device shown and Figure 7 The health care product popular science recommendation device shown.

[0178] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 8As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.

[0179] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0180] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0181] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0182] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0183] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0184] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0185] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0186] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0187] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for constructing a health care product popular science recommendation model, characterized in that: The method comprises: Obtain sample user health data, health care product popular science data, and sample user feedback data on the health care product popular science data; Preprocessing the sample feedback data, and performing differential processing according to the type of the sample feedback data to obtain multimodal data corresponding to the sample feedback data; Vector encoding and combining the sample user health data, the health care product popular science data and the multimodal data to obtain a feature vector; Based on the sample feedback data, calculate the user's health care product awareness; The feature vector is input into an initial health care product popular science recommendation model, and a cognitive score corresponding to the feature vector is output. The initial health care product popular science recommendation model is trained based on the cognitive score and the user's health care product awareness to obtain a target health care product popular science recommendation model.

2. The method according to claim 1, characterized in that The sample feedback data includes picture data, text data, science video viewing record data and science video behavior data posted by users, and the sample user health data, the health care product science data and the multimodal data are vector-encoded and combined. Get the feature vector, including: Preprocessing the image data using a pre-trained convolutional neural network model to generate an image vector; Preprocessing the text data using a pre-trained text vectorization model to generate a text vector; Preprocessing the popular science video viewing record data using a gated recurrent unit sequence model to generate a sequence vector; Preprocessing the popular science video behavior data, the sample user health data, and the health care product popular science data by using one-hot encoding to obtain an embedding layer vector; The picture vector, the text vector, the sequence vector and the embedding layer vector are joined head to tail to obtain the feature vector.

3. The method according to claim 2, characterized in that The method of preprocessing the science video viewing record data using a gated recurrent unit sequence model to generate a sequence vector includes: Obtaining a preset number of popular science videos recently watched by the user, and generating a video vector corresponding to the viewing behavior of each popular science video; Inputting the current video vector into the gated cycle unit sequence model, performing a reset gate calculation on the current video vector, and obtaining a reset gate output; Perform update gate calculation on the current video vector to obtain update gate output; Calculate the candidate hidden state of the current video vector to obtain the candidate hidden state output; The final hidden state is calculated for the reset gate output, the update gate output and the candidate hidden state output to obtain the final hidden state of the current video vector, and the final hidden states of all video vectors are traversed and calculated to obtain the sequence vector.

4. The method according to claim 2, characterized in that: The calculating of the user's health care product awareness based on the sample feedback data includes: Based on the popular science video viewing record data, using a scaling function, calculate the popular science video viewing time score; Based on the popular science video behavior data, determine the user's like behavior data, share behavior data and follow behavior data; Calculate the product of the like behavior data and the first preset weight, the product of the share behavior data and the second preset weight, the product of the attention behavior data and the third preset weight, the sum of the completion rate of the popular science video and the viewing time score of the popular science video to obtain the user's awareness of health products.

5. A method for popularizing and recommending health products, characterized in that: The method comprises: Obtaining target user health data, target health product popular science data, and user target feedback data on the target health product popular science data; Preprocessing the target feedback data, and performing differential processing according to the type of the target feedback data to obtain target multimodal data corresponding to the target feedback data; Vector encoding and combining the target user health data, the target health product popular science data and the target multimodal data to obtain a target feature vector; The target feature vector is input into a health care product popular science recommendation model to calculate a cognitive score, and health care products are recommended based on the cognitive score, wherein the health care product popular science recommendation model is constructed using the health care product popular science recommendation model construction method described in any one of claims 1 to 4.

6. A device for constructing a health care product popular science recommendation model, characterized in that: The device comprises: The first data acquisition module is used to acquire sample user health data, health care product popular science data, and sample feedback data of users on the health care product popular science data; A first data preprocessing module, configured to preprocess the sample feedback data, and perform differential processing according to the type of the sample feedback data to obtain multimodal data corresponding to the sample feedback data; A first vector encoding and combining module is used to perform vector encoding and combining the sample user health data, the health care product popular science data and the multimodal data to obtain a feature vector; A recognition degree calculation module, used to calculate the user's recognition degree of health products based on the sample feedback data; The model building module is used to input the feature vector into the initial health care product popular science recommendation model, output the cognitive score corresponding to the feature vector, train the initial health care product popular science recommendation model based on the cognitive score and the user's health care product awareness, and obtain the target health care product popular science recommendation model.

7. A health care product popular science recommendation device, characterized in that: The device comprises: The second data acquisition module is used to acquire the health data of the target user, the popular science data of the target health care products, and the target feedback data of the user with respect to the popular science data of the target health care products; A second data preprocessing module is used to preprocess the target feedback data, and obtain target multimodal data corresponding to the target feedback data by differential processing according to the type of the target feedback data; A second vector encoding and combining module is used to vector encode and combine the target user health data, the target health product popular science data and the target multimodal data to obtain a target feature vector; The health care product recommendation module is used to input the target feature vector into the health care product popular science recommendation model, calculate the cognitive score, and recommend health care products based on the cognitive score, wherein the health care product popular science recommendation model is constructed using the health care product popular science recommendation model construction device described in claim 6.

8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for constructing a health care product popular science recommendation model according to any one of claims 1 to 4 or the method for popular science recommendation of health care products according to claim 5 by executing the computer instructions.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, which are used to enable a computer to execute the method for constructing a health care product popular science recommendation model according to any one of claims 1 to 4 or the method for popular science recommendation of health care products according to claim 5.

10. A computer program product, characterized in that It includes computer instructions, which are used to enable a computer to execute the method for constructing a health care product popular science recommendation model according to any one of claims 1 to 4 or the method for popular science recommendation of health care products according to claim 5.