A popular science content matching system based on attribute recognition
Through the popular science content matching system based on attribute recognition, video processing and attribute recognition modules are used to extract video attribute information, which is divided into pre- and post-properties for storage and retrieval. This solves the problem that the existing system cannot accurately match popular science content in new fields. A more efficient and accurate matching effect is achieved.
Patent Information
- Application Number
- CN202411017948.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-07-29
Smart Images

Figure CN118606513B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic digital data processing, and in particular to a popular science content matching system based on attribute recognition. Background Art
[0002] With the development of technology, the phenomenon of interdisciplinary studies is becoming more and more common. The popular science content of a new technology usually contains technical information in different fields, which makes it difficult to accurately retrieve popular science videos. Therefore, a new matching system is needed to match appropriate popular science videos faster and more accurately according to user demand information and recommend them for display.
[0003] The foregoing discussion of the background art is intended only to facilitate an understanding of the present invention. This discussion does not acknowledge or admit that any of the material referred to is part of the common general knowledge.
[0004] Now many popular science matching systems have been developed. After a lot of searching and reference, it is found that the existing matching systems are such as the system disclosed in the publication number CN116955832B. These system methods generally include the steps S1: establishing a popular science database, which includes a request matching module and a push matching module; S2: establishing a relationship model between popular science content and personal information; S3: using personal information as a request tag, matching the request tag with the relationship model, and extracting the matched popular science content corresponding to the request tag; S4: verifying the matching degree between the matched popular science content and the new user, and accurately pushing different popular science content according to the matching degree. However, this system matches through personal information, and has low scalability. When users need to understand popular science content in a new field, they cannot accurately match the corresponding popular science content. Summary of the invention
[0005] The purpose of the present invention is to propose a popular science content matching system based on attribute recognition in view of the existing deficiencies.
[0006] The present invention adopts the following technical solution:
[0007] A popular science content matching system based on attribute recognition, comprising a video processing module, an attribute recognition module, a content matching module and a user interaction module;
[0008] The video processing module is used to collect video information and perform format unification processing, the attribute recognition module is used to extract attribute information in the video, the content matching module obtains recommended videos based on user demand matching, and the user interaction module is used to input demand information and display recommended videos;
[0009] The video processing module includes a video acquisition unit, a format processing unit and a link cache unit. The video acquisition unit is used to acquire popular science videos on the Internet. The format processing unit is used to unify the popular science videos into a preset format. The link cache unit is used to temporarily store the link information of each popular science video.
[0010] The attribute recognition module includes a text recognition unit, an image recognition unit and an attribute storage unit. The text recognition unit is used to extract and recognize the voice and text information in the popular science video to obtain key information. The image recognition unit is used to analyze the frame image in the popular science video to obtain object category information. The attribute storage unit sets attribute information for each popular science video based on the key information and object category information and classifies and stores the link information based on the attribute information.
[0011] The content matching module includes a demand parsing unit, an attribute matching unit and a video retrieval unit, wherein the demand parsing unit is used to receive and parse the user's demand information, the attribute matching unit matches the attribute information based on the parsing result, and the video retrieval unit retrieves the link information of the corresponding video from the attribute storage unit based on the matching result;
[0012] Furthermore, the text recognition unit includes a subtitle detection processor, a text extraction processor, a feature extraction processor, a voice extraction processor and a text conversion processor, wherein the subtitle detection processor is used to detect whether there are subtitles in the popular science video, the text extraction processor is used to extract the subtitle information in the popular science video, the feature extraction processor is used to parse the text information to obtain key information, the voice extraction processor is used to extract the voice information in the popular science video, and the text conversion processor is used to convert the voice information into text information;
[0013] Furthermore, the image recognition unit includes a video segmentation processor, a frame extraction processor, a subject recognition processor and a subject classification processor. The video segmentation processor divides the popular science video into multiple segments based on the continuity of the video screen. The frame extraction processor extracts frame information from each segment. The subject recognition processor is used to recognize and extract the subject content from the frame information. The subject classification processor is used to analyze the subject content to determine the object category information of the subject.
[0014] Further, the attribute matching unit includes a matching calculation processor, an attribute screening processor and an accurate matching processor, wherein the matching calculation processor is used to calculate the matching values of all the pre-attributes and the coding information, the attribute screening processor is used to screen out the pre-attribute combination with the highest matching degree to determine the storage partition, and the accurate matching processor is used to accurately match the specific popular science video in the corresponding storage partition;
[0015] The matching calculation processor calculates the matching value Vp of each pre-attribute and the encoding information according to the following formula:
[0016] ;
[0017] Among them, k i represents the i-th rank weight coefficient, n is the rank length of the encoded information, a is the attribute value of the preceding attribute, b i represents the coded value of the i-th digit, and r is the length of the fine value;
[0018] Furthermore, the precise matching processor obtains the post-attribute of each popular science video in the storage area, and calculates the recommendation value Vq of each popular science video according to the following formula:
[0019] ;
[0020] Among them, m is the number of post-attributes in the popular science video, a j represents the attribute value of the jth post-attribute, and b(j) represents the ordinal encoding value closest to the jth post-attribute;
[0021] The precise matching processor sends the search information of the popular science videos to the user interaction module in the order of the recommendation values from low to high.
[0022] The beneficial effects achieved by the present invention are:
[0023] Based on the video attributes identified by this system, the attributes are divided into pre-attributes and post-attributes. The pre-attributes are used to partition and store the videos, and narrow and lock the retrieval area by matching with the user's demand information. The post-attributes are matched with the user's demand information to determine the specific science popularization video, which can improve both the matching efficiency and the matching accuracy.
[0024] To further understand the features and technical contents of the present invention, please refer to the following detailed description and drawings of the present invention. However, the drawings provided are only for reference and description and are not intended to limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a schematic diagram of the overall structural framework of the present invention;
[0026] Figure 2 It is a schematic diagram of the video processing module of the present invention;
[0027] Figure 3 This is a schematic diagram of the attribute recognition module of the present invention;
[0028] Figure 4 This is a schematic diagram of the content matching module of the present invention;
[0029] Figure 5 It is a schematic diagram of the attribute matching unit of the present invention. DETAILED DESCRIPTION
[0030] The following is an explanation of the embodiments of the present invention through specific embodiments. Those skilled in the art can understand the advantages and effects of the present invention from the contents disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and the details in this specification can also be modified and changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. In addition, the drawings of the present invention are only simple schematic illustrations and are not depicted according to actual sizes. It is stated in advance. The following embodiments will further explain the relevant technical contents of the present invention in detail, but the disclosed contents are not intended to limit the scope of protection of the present invention.
[0031] Embodiment 1.
[0032] This embodiment provides a popular science content matching system based on attribute recognition, combined with Figure 1 , including a video processing module, an attribute recognition module, a content matching module and a user interaction module;
[0033] The video processing module is used to collect video information and perform format unification processing, the attribute recognition module is used to extract attribute information in the video, the content matching module obtains recommended videos based on user demand matching, and the user interaction module is used to input demand information and display recommended videos;
[0034] The video processing module includes a video acquisition unit, a format processing unit and a link cache unit. The video acquisition unit is used to acquire popular science videos on the Internet. The format processing unit is used to unify the popular science videos into a preset format. The link cache unit is used to temporarily store the link information of each popular science video.
[0035] The attribute recognition module includes a text recognition unit, an image recognition unit and an attribute storage unit. The text recognition unit is used to extract and recognize the voice and text information in the popular science video to obtain key information. The image recognition unit is used to analyze the frame image in the popular science video to obtain object category information. The attribute storage unit sets attribute information for each popular science video based on the key information and object category information and classifies and stores the link information based on the attribute information.
[0036] The content matching module includes a demand parsing unit, an attribute matching unit and a video retrieval unit, wherein the demand parsing unit is used to receive and parse the user's demand information, the attribute matching unit matches the attribute information based on the parsing result, and the video retrieval unit retrieves the link information of the corresponding video from the attribute storage unit based on the matching result;
[0037] The text recognition unit includes a subtitle detection processor, a text extraction processor, a feature extraction processor, a voice extraction processor and a text conversion processor. The subtitle detection processor is used to detect whether there are subtitles in the popular science video, the text extraction processor is used to extract the subtitle information in the popular science video, the feature extraction processor is used to parse the text information to obtain key information, the voice extraction processor is used to extract the voice information in the popular science video, and the text conversion processor is used to convert the voice information into text information;
[0038] The image recognition unit includes a video segmentation processor, a frame extraction processor, a subject recognition processor and a subject classification processor. The video segmentation processor divides the popular science video into multiple segments based on the continuity of the video screen. The frame extraction processor extracts frame information from each segment. The subject recognition processor is used to recognize and extract the subject content from the frame information. The subject classification processor is used to analyze the subject content to determine the object category information of the subject.
[0039] The attribute matching unit includes a matching calculation processor, an attribute screening processor and an accurate matching processor, wherein the matching calculation processor is used to calculate the matching values of all the pre-attributes and the coding information, the attribute screening processor is used to screen out the pre-attribute combination with the highest matching degree to determine the storage partition, and the accurate matching processor is used to accurately match the specific popular science video in the corresponding storage partition;
[0040] The matching calculation processor calculates the matching value Vp of each pre-attribute and the encoding information according to the following formula:
[0041] ;
[0042] Among them, k i represents the i-th rank weight coefficient, n is the rank length of the encoded information, a is the attribute value of the preceding attribute, b i represents the coded value of the i-th digit, and r is the length of the fine value;
[0043] The precise matching processor obtains the post-attribute of each popular science video in the storage area, and calculates the recommendation value Vq of each popular science video according to the following formula:
[0044] ;
[0045] Among them, m is the number of post-attributes in the popular science video, a j represents the attribute value of the jth post-attribute, and b(j) represents the ordinal encoding value closest to the jth post-attribute;
[0046] The precise matching processor sends the search information of the popular science videos to the user interaction module in the order of the recommendation values from low to high.
[0047] Embodiment 2.
[0048] This embodiment includes all the contents of the first embodiment, and provides a popular science content matching system based on attribute recognition, including a video processing module, an attribute recognition module, a content matching module and a user interaction module;
[0049] The video processing module is used to collect video information and perform format unification processing, the attribute recognition module is used to extract attribute information in the video, the content matching module obtains recommended videos based on user demand matching, and the user interaction module is used to input demand information and display recommended videos;
[0050] Combination Figure 2 The video processing module includes a video acquisition unit, a format processing unit and a link cache unit. The video acquisition unit is used to collect popular science videos on the Internet, the format processing unit is used to unify the popular science videos into a preset format, and the link cache unit is used to temporarily save the link information of each popular science video;
[0051] Combination Figure 3 The attribute recognition module includes a text recognition unit, an image recognition unit and an attribute storage unit. The text recognition unit is used to extract and recognize the voice and text information in the popular science video to obtain key information. The image recognition unit is used to analyze the frame image in the popular science video to obtain the object category information. The attribute storage unit sets the attribute information for each popular science video based on the key information and the object category information and classifies and stores the link information based on the attribute information.
[0052] Combination Figure 4 The content matching module includes a demand parsing unit, an attribute matching unit and a video retrieval unit. The demand parsing unit is used to receive and parse the user's demand information. The attribute matching unit matches the attribute information based on the parsing result. The video retrieval unit retrieves the link information of the corresponding video from the attribute storage unit based on the matching result.
[0053] The user interaction module includes an information input unit and a video display unit, wherein the information input unit is used to input user demand information, and the video display unit is used to receive link information and obtain corresponding popular science videos for display;
[0054] The text recognition unit includes a subtitle detection processor, a text extraction processor, a feature extraction processor, a voice extraction processor and a text conversion processor. The subtitle detection processor is used to detect whether there are subtitles in the popular science video, the text extraction processor is used to extract the subtitle information in the popular science video, the feature extraction processor is used to parse the text information to obtain key information, the voice extraction processor is used to extract the voice information in the popular science video, and the text conversion processor is used to convert the voice information into text information;
[0055] The workflow of the text recognition unit includes the following steps:
[0056] S1, the subtitle detection processor detects whether there are subtitles in the popular science video, if yes, proceed to step S2, if no, proceed to step S3;
[0057] S2, the text extraction processor extracts the subtitle information in the popular science video, and sends the text to the feature extraction processor, and then goes to step S5;
[0058] S3, the speech extraction processor extracts the speech information in the popular science video and sends it to the text conversion processor;
[0059] S4, the text conversion processor converts the voice information into text information and sends it to the feature extraction processor, and then goes to step S5;
[0060] S5, the feature extraction processor parses the received text information to obtain key information;
[0061] The image recognition unit includes a video segmentation processor, a frame extraction processor, a subject recognition processor and a subject classification processor. The video segmentation processor divides the popular science video into multiple segments based on the continuity of the video screen. The frame extraction processor extracts frame information from each segment. The subject recognition processor is used to recognize and extract the subject content from the frame information. The subject classification processor is used to analyze the subject content to determine the object category information of the subject.
[0062] The attribute storage unit includes an attribute setting processor and a storage management processor. The attribute setting processor sets attributes for each popular science video based on key information and object information. The storage management processor stores and manages link information based on the attributes of the popular science video.
[0063] The attributes are divided into pre-attributes and post-attributes. The pre-attributes are used for storage partition management of popular science videos, and the post-attributes are used for precise positioning of popular science videos.
[0064] The process of the storage management processor dividing the attributes into pre-attributes and post-attributes comprises the following steps:
[0065] S21, counting the number of times each attribute appears in the popular science video;
[0066] S22, sorting the attributes from most to least according to the number of times to obtain an attribute sequence;
[0067] S23, obtaining the first attribute in the attribute sequence as the target attribute;
[0068] S24, obtaining the attribute in the attribute sequence that does not appear in the same popular science video as the target attribute and is ranked first, as the target attribute;
[0069] S25, repeat step S24 until no attribute meeting the requirement can be found;
[0070] S26, taking the acquired attribute as the preceding attribute, and deleting the preceding attribute from the attribute sequence;
[0071] S27, repeat steps S23 to S26 for u times, where u is the management level;
[0072] S28, taking the remaining attributes in the attribute sequence as post-attributes;
[0073] S29, establishing corresponding storage areas according to the pre-attribute information of u levels;
[0074] The demand parsing unit includes a function word filtering processor, a part-of-speech sorting processor and a coding conversion processor, wherein the function word filtering processor is used to filter the function word content in the demand information to retain the substantial vocabulary information, the part-of-speech sorting processor is used to judge the part-of-speech of the substantial vocabulary and sort the substantial vocabulary according to the part-of-speech, and the coding conversion processor is used to convert the sorted substantial vocabulary into coding information;
[0075] The coded information is composed of multiple sequence coded values, and each coded value is divided into a fixed-length classification value and a fine value;
[0076] Combination Figure 5 The attribute matching unit includes a matching calculation processor, an attribute screening processor and an accurate matching processor. The matching calculation processor is used to calculate the matching values of all the pre-attributes and the coding information. The attribute screening processor is used to screen out the pre-attribute combination with the highest matching degree to determine the storage partition. The accurate matching processor is used to accurately match the specific popular science video in the corresponding storage partition;
[0077] The matching calculation processor calculates the matching value Vp of each pre-attribute and the encoding information according to the following formula:
[0078] ;
[0079] Among them, ki represents the i-th rank weight coefficient, n is the rank length of the encoded information, a is the attribute value of the preceding attribute, b i represents the coded value of the i-th digit, and r is the length of the fine value;
[0080] The attribute screening processor obtains the combination information of the pre-attributes from the storage management processor, and based on the combination information, accumulates the corresponding matching values to obtain the area matching value, and screens out the storage area with the largest area matching value to most accurately match the matching range of the processor;
[0081] The precise matching processor obtains the post-attribute of each popular science video in the storage area, and calculates the recommendation value Vq of each popular science video according to the following formula:
[0082] ;
[0083] Among them, m is the number of post-attributes in the popular science video, a j represents the attribute value of the jth post-attribute, and b(j) represents the ordinal encoding value closest to the jth post-attribute;
[0084] The precise matching processor sends the search information of the popular science videos to the video search unit in the order of the recommended values from low to high;
[0085] The video retrieval unit includes an adaptation processor and a retrieval processor, wherein the adaptation processor is used to obtain the display quantity in the video display unit, and the retrieval processor obtains the corresponding quantity of link information from the storage management processor in sequence based on the retrieval information and sends it to the video display unit;
[0086] The i and j appearing in the above text are both ordinal numbers used to indicate serial numbers.
[0087] The contents disclosed above are only preferred feasible embodiments of the present invention, and do not limit the protection scope of the present invention. Therefore, all equivalent technical changes made using the contents of the present invention specification and drawings are included in the protection scope of the present invention. In addition, the elements therein can be updated as technology develops.
Claims
1. A popular science content matching system based on attribute recognition, characterized in that: It includes video processing module, attribute recognition module, content matching module and user interaction module; The video processing module is used to collect video information and perform format unification processing, the attribute recognition module is used to extract attribute information in the video, the content matching module obtains recommended videos based on user demand matching, and the user interaction module is used to input demand information and display recommended videos; The video processing module includes a video acquisition unit, a format processing unit and a link cache unit. The video acquisition unit is used to acquire popular science videos on the Internet. The format processing unit is used to unify the popular science videos into a preset format. The link cache unit is used to temporarily store the link information of each popular science video. The attribute recognition module includes a text recognition unit, an image recognition unit and an attribute storage unit. The text recognition unit is used to extract and recognize the voice and text information in the popular science video to obtain key information. The image recognition unit is used to analyze the frame image in the popular science video to obtain object category information. The attribute storage unit sets attribute information for each popular science video based on the key information and object category information and classifies and stores the link information based on the attribute information. The content matching module includes a demand parsing unit, an attribute matching unit and a video retrieval unit, wherein the demand parsing unit is used to receive and parse the user's demand information, the attribute matching unit matches the attribute information based on the parsing result, and the video retrieval unit retrieves the link information of the corresponding video from the attribute storage unit based on the matching result; The attribute matching unit includes a matching calculation processor, an attribute screening processor and an accurate matching processor, wherein the matching calculation processor is used to calculate the matching values of all the pre-attributes and the coding information, the attribute screening processor is used to screen out the pre-attribute combination with the highest matching degree to determine the storage partition, and the accurate matching processor is used to accurately match the specific popular science video in the corresponding storage partition; The matching calculation processor calculates the matching value Vp of each pre-attribute and the encoding information according to the following formula: ; Among them, k i represents the i-th rank weight coefficient, n is the rank length of the encoded information, a is the attribute value of the preceding attribute, b i represents the coded value of the i-th digit, and r is the length of the fine value; The precise matching processor obtains the post-attribute of each popular science video in the storage area, and calculates the recommendation value Vq of each popular science video according to the following formula: ; Among them, m is the number of post-attributes in the popular science video, a j represents the attribute value of the jth post-attribute, and b(j) represents the ordinal encoding value closest to the jth post-attribute; The precise matching processor sends the search information of the popular science videos to the user interaction module in the order of the recommendation values from low to high.
2. A popular science content matching system based on attribute recognition as claimed in claim 1, characterized in that: The text recognition unit includes a subtitle detection processor, a text extraction processor, a feature extraction processor, a voice extraction processor and a text conversion processor. The subtitle detection processor is used to detect whether there are subtitles in the popular science video, the text extraction processor is used to extract the subtitle information in the popular science video, the feature extraction processor is used to parse the text information to obtain key information, the voice extraction processor is used to extract the voice information in the popular science video, and the text conversion processor is used to convert the voice information into text information.
3. A popular science content matching system based on attribute recognition as claimed in claim 2, characterized in that: The image recognition unit includes a video segmentation processor, a frame extraction processor, a subject recognition processor and a subject classification processor. The video segmentation processor divides the popular science video into multiple segments based on the continuity of the video screen. The frame extraction processor extracts frame information from each segment. The subject recognition processor is used to identify and extract the subject content from the frame information. The subject classification processor is used to analyze the subject content to determine the category information of the subject.
