Method for searching film and television resources in full-text mode through smart television

By building the Solr basic framework and defining the copying strategy of basic information fields of film and television resources, the problem of low accuracy of smart TV film and television search is solved, full-text search is realized, and search accuracy is improved.

CN119622020APending Publication Date: 2025-03-14SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411701661.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The existing smart TV film and television search methods have low accuracy and cannot meet users' vague search needs.

Method used

By building the Solr basic framework, including schema.xml, copyField and defaultSearchField, define the basic information fields of film and television resources, and copy these fields into the combined field through copyField, and set the combined field as the default search field to realize full-text search.

Benefits of technology

Improve the accuracy of fuzzy search, allowing users to not only search for movies and TV names in the movie name field that contain search content, but also search for movies and TV shows that contain search content in other fields to meet users' search needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119622020A_ABST
    Figure CN119622020A_ABST
Patent Text Reader

Abstract

The invention provides a method for full-text search of movie and television resources for a smart television, and relates to the technical field of information search, a Solr basic framework is built, the Solr basic framework comprises a schem.xml, a copiField and a defultSearchField, the defultSearchField comprises a solrconfig.xml configuration file, a movie and television resource basic information field is defined in the schem.xml, a combined field is defined in the schem.xml, and the basic information field of the movie and television resources is defined in the combined field; the method comprises the following steps: inputting basic information fields of film and television resources, copying all fields in the basic information fields of the film and television resources into a combined field through copy Field, inputting search content by a user, searching all the basic information fields of the film and television resources containing the search content in the combined field, and obtaining the corresponding film and television resources, so that when the user searches, the search efficiency of the user is improved. According to the method, not only can the film and television with the film and television name field containing the search content be searched, but also the film and television with other fields containing the search content can be searched, the problem that existing film and television search is low in accuracy is solved, and the method is suitable for full-text film and television resource search of the smart television.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of information search, and in particular to a method for full-text search of film and television resources for smart televisions. Background Art

[0002] With the increasing abundance of film and television resources, users have an increasing demand for quickly and accurately searching for the film and television resources they need. Traditional smart TV search methods usually use film and television titles as search conditions to search for films and televisions that contain the search content in their titles. This is not applicable to fuzzy searches, resulting in low accuracy when users perform fuzzy searches and failing to meet user needs.

[0003] As a powerful open source search platform, Solr provides a wealth of features to achieve efficient information search. However, how to make full use of Solr's features, especially copyField and defaultSearchField, to optimize the full-text search of film and television resources is still a technical problem that needs to be solved. Summary of the invention

[0004] Technical problem solved by the present invention: The present invention provides a method for full-text search of film and television resources for a smart TV, which solves the problem of low accuracy of existing film and television searches.

[0005] The present invention solves the above technical problems by adopting a technical solution: a method for full-text search of film and television resources by a smart TV, comprising the following steps:

[0006] S1. Build a Solr basic framework, which includes schema.xml, copyField and defaultSearchField, and the defaultSearchField includes a solrconfig.xml configuration file;

[0007] S2. Define the basic information fields of film and television resources in schema.xml;

[0008] S3. Define a combined field, and copy each field in the basic information field of the film and television resource to the combined field through copyField;

[0009] S4. Setting the default search field to the combination field in the solrconfig.xml configuration file;

[0010] S5. The user inputs search content, and all basic information fields of film and television resources containing the search content are searched in the combination field to obtain corresponding film and television resources.

[0011] Furthermore, the basic information fields of the film and television resources include multiple ones of name, director, actor, introduction, highlights, region, classification, label, language and awards.

[0012] Furthermore, all fields in the basic information field of the film and television resource are copied to the full_text field through copyField, and the copy statement used is: copyField source = "a certain field" dest = "combined field", where source represents the source field of the copied content, and dest represents the target field.

[0013] Beneficial effects of the present invention: The present invention provides a method for full-text search of film and television resources for a smart TV, by building a Solr basic framework, the Solr basic framework includes schema.xml, copyField and defaultSearchField, the defaultSearchField includes a solrconfig.xml configuration file, the basic information field of the film and television resources is defined in the schema.xml, the combination field is defined, and all fields in the basic information field of the film and television resources are copied to the combination field through copyField, the user inputs the search content, all the basic information fields of the film and television resources containing the search content are searched in the combination field, and the corresponding film and television resources are obtained, so that when the user searches, not only the film and television whose film and television name field contains the search content can be searched, but also the film and television whose other fields contain the search content can be searched, thereby solving the problem of low accuracy of the existing film and television search. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a flow chart of a method for full-text search of film and television resources for a smart television provided by the present invention. DETAILED DESCRIPTION

[0015] Aiming at the problem that the existing smart TV has low accuracy when performing fuzzy search for movies and TV shows, the present invention provides a method for full-text search of movie and TV resources by a smart TV, uses Solr to complete the full-text search, and improves the accuracy of the fuzzy search.

[0016] like Figure 1 As shown, the present invention provides a method for a smart TV to search for full-text film and television resources, comprising the following steps:

[0017] S1. Build a Solr basic framework, which includes schema.xml, copyField and defaultSearchField, and the defaultSearchField includes a solrconfig.xml configuration file. Specifically, you can download a compressed package of Solr from the official website to the Linux service of the smart TV, and decompress it to obtain the Solr basic framework.

[0018] S2. Define the basic information fields of film and television resources in schema.xml; specifically, the basic information fields of film and television resources include multiple types of names, directors, actors, introductions, highlights, regions, categories, tags, languages ​​and awards. For example, the basic information fields of film and television resources can be expressed in English, such as id, name, cast, director, categories, countries, tag, summary and award, etc.

[0019] S3. Define a combined field, and copy each field in the basic information field of film and television resources to the combined field through copyField; specifically, the copy statement is: copyField source = "a certain field" dest = "combined field", where source represents the source field of the copied content, dest represents the target field, and the name of the combined field can be full_text, such as: copyField source = "id" dest = "full_text"; copyField source = "name" dest = "full_text"; copyField source = "cast" dest = "full_text"; copyField source = "director" dest = "full_text"; copyField source = "categorys" dest = "full_text"; copyField source = "countrys" dest = "full_text"; copyField source = "tag" dest = "full_text"; copyField source = "summary" dest = "full_text"; copyField source = "award" dest = "full_text"; etc.

[0020] S4. In the solrconfig.xml configuration file, the default search field is set to the combination field, thereby extending the search field to the combination field and expanding the field category where the search content is located.

[0021] S5. The user inputs search content, and all basic information fields of film and television resources containing the search content are searched in the combination field to obtain corresponding film and television resources.

[0022] For example, taking the search content A as an example, you can get movies and TV shows with A in the name, movies and TV shows with A in the director, movies and TV shows with A in the actor, movies and TV shows with A in the introduction, movies and TV shows with A in the highlights, movies and TV shows with A in the region, movies and TV shows with A in the category, movies and TV shows with A in the label, movies and TV shows with A in the language, and movies and TV shows with A in the award, etc. This enriches the field categories where the search content is located, makes the search results meet the expectations of fuzzy search, and improves the accuracy of movie and TV search.

Claims

1. A method for full-text search of film and television resources for smart televisions, characterized in that: The following steps are involved: S1. Build a Solr basic framework, which includes schema.xml, copyField and defaultSearchField, and the defaultSearchField includes a solrconfig.xml configuration file; S2. Define the basic information fields of film and television resources in schema.xml; S3. Define a combined field, and copy each field in the basic information field of the film and television resource to the combined field through copyField; S4. Setting the default search field to the combination field in the solrconfig.xml configuration file; S5. The user inputs search content, and all basic information fields of film and television resources containing the search content are searched in the combination field to obtain corresponding film and television resources.

2. The method for full-text search of film and television resources by a smart TV according to claim 1, characterized in that: The basic information fields of the film and television resources include multiple ones of name, director, actor, introduction, highlight, region, classification, label, language and awards.

3. The method for full-text search of film and television resources by a smart TV according to claim 1, characterized in that: Copy each field in the basic information field of the film and television resource to the combined field through copyField. The copy statement used is: copyField source = "a certain field" dest = "combined field", where source indicates the source field of the copied content, and dest indicates the target field.