Information retrieval method and apparatus, electronic device, and computer-readable storage medium

By performing multi-dimensional analysis of live streaming data streams and knowledge graph matching, and dynamically updating the live streaming room index, the problem of high false negative rates caused by the reliance on static text for live streaming room retrieval is solved, enabling real-time and accurate retrieval and recommendation of live streaming rooms.

CN123178657APending Publication Date: 2026-11-27GUANGZHOU BOGUAN TELECOMM TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611304584.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-25
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The existing search system of live streaming platforms relies on static text data manually preset by the anchors, resulting in a high rate of missed detections in the live streaming room and an inability to reflect changes in the live streaming content in real time.

Method used

By periodically sampling the live data stream, using visual and speech recognition channels to parse the visual and audio data respectively, a real-time content tag set is generated and matched with a preset knowledge graph to dynamically update the content index of the live room and respond to users' search requests.

Benefits of technology

It reduced the false negative rate when searching for live stream content, enabling real-time and accurate retrieval of live stream content, and improving the accuracy of retrieval and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178657A_ABST
    Figure CN123178657A_ABST
Patent Text Reader

Abstract

The application discloses an information retrieval method and device, electronic equipment and a computer readable storage medium. Embodiments of the application periodically sample live data streams of a target live room to obtain picture data and audio data. The picture data is analyzed by a visual recognition channel to obtain first candidate content labels, and the audio data is analyzed by a speech recognition channel to obtain second candidate content labels. The first candidate content labels and the second candidate content labels are fused and determined, and the fusion determination result is matched with a preset knowledge graph to generate a real-time content label set of the target live room in a current sampling period. According to the real-time content label set, a dynamic content index of the target live room is updated. In response to a search request carrying a search term, a target search result is determined and returned according to the dynamic content index and the search term for display. Embodiments of the application can reduce the live room missing detection rate when searching for a live room.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of live streaming technology, specifically to an information retrieval method, apparatus, electronic device, and computer-readable storage medium. Background Technology

[0002] With the rise of the internet, live streaming has become increasingly prevalent in people's lives. Currently, the retrieval systems of mainstream live streaming platforms all rely on static text data manually preset by the streamer before or during the broadcast as the retrieval benchmark. This includes fixed text information such as the live stream title, category tags, streamer's profile, and announcements. The platform's search engine builds an index based on this static text, and users search using keyword matching algorithms to retrieve recommended results. However, because live stream retrieval depends on manually preset static text data, and streamers frequently discuss different subjects during broadcasts without labeling some of them, the rate of missed live streams during searches is relatively high. Summary of the Invention

[0003] This application provides an information retrieval method, apparatus, electronic device, and computer-readable storage medium, which can reduce the missed detection rate of live streaming rooms when searching for live streaming rooms.

[0004] In a first aspect, embodiments of this application provide an information retrieval method, the method comprising: Periodically sample the live stream data from the target live room to obtain video and audio data; The first candidate content label is obtained by parsing the image data through the visual recognition channel, and the second candidate content label is obtained by parsing the audio data through the speech recognition channel. The first and second candidate content tags are fused and judged, and the fusion judgment result is matched with the preset knowledge graph to generate the real-time content tag set of the target live room in the current sampling period. Update the dynamic content index of the target live stream based on the real-time content tag set; In response to a search request carrying search terms, the system determines and returns the target search results for display based on the dynamic content index and search terms.

[0005] Secondly, embodiments of this application provide an information retrieval device, the device comprising: The sampling module is used to periodically sample the live data stream of the target live room to obtain video and audio data. The tag parsing module is used to parse the image data through the visual recognition channel to obtain the first candidate content tag, and to parse the audio data through the speech recognition channel to obtain the second candidate content tag; The tag fusion module is used to perform fusion judgment on the first candidate content tag and the second candidate content tag, and to perform entity matching with the fusion judgment result and the preset knowledge graph to generate the real-time content tag set of the target live room in the current sampling period. The index update module is used to update the dynamic content index of the target live room based on the real-time content tag set; The results determination module is used to respond to search requests carrying search terms, determine and return target search results for display based on dynamic content index and search terms.

[0006] Thirdly, embodiments of this application also provide an electronic device, including a memory storing multiple instructions; a processor loads instructions from the memory to execute the steps of any of the information retrieval methods provided in embodiments of this application.

[0007] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to execute the steps of any of the information retrieval methods provided in embodiments of this application.

[0008] Fifthly, embodiments of this application also provide a computer program product, including a computer program or instructions, which, when executed by a processor, implement the steps in any of the information retrieval methods provided in embodiments of this application.

[0009] The solution adopted in this application embodiment can periodically sample the live data stream of the target live room to obtain image data and audio data; parse the image data through a visual recognition channel to obtain a first candidate content tag, and parse the audio data through a speech recognition channel to obtain a second candidate content tag; perform a fusion judgment on the first and second candidate content tags, and perform entity matching with a preset knowledge graph to generate a real-time content tag set for the target live room in the current sampling period; update the dynamic content index of the target live room according to the real-time content tag set; respond to a search request carrying search terms, determine and return the target search results for display based on the dynamic content index and search terms. This approach parses the live data of the live room in real time through both image and audio dimensions to generate content tags corresponding to the live room, fuses multi-dimensional content tags, and matches them with the associated knowledge graph to accurately update the dynamic content index based on the real-time content tags of the live room. This allows for the recommendation of corresponding live rooms based on the dynamic content index, thereby reducing the false negative rate when searching for live rooms. Attached Figure Description

[0010] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0011] Figure 1 This is a schematic flowchart of an embodiment of the information retrieval method provided in this application. Figure 2 This is a schematic diagram of the live streaming room search page provided in the embodiments of this application; Figure 3 This is a schematic diagram of the structure of the information retrieval device provided in the embodiments of this application; Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0012] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. At the same time, in the description of the embodiments of this application, the terms "first," "second," etc., are only used to distinguish descriptions and should not be construed as indicating or implying relative importance. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0013] This application provides an information retrieval method, apparatus, electronic device, and computer-readable storage medium.

[0014] Specifically, this embodiment will be described from the perspective of an information retrieval device, which can be integrated into an electronic device. That is, the information retrieval method of this embodiment can be executed by an electronic device. Optionally, the electronic device may include a terminal device. The terminal device may be a mobile phone, tablet computer, smart Bluetooth device, laptop computer, game console, or personal computer (PC), etc.

[0015] The information retrieval method provided in this application can be applied to information retrieval systems. These systems may include a player terminal device and a server. The terminal device can be a device that includes both receiving and transmitting hardware, i.e., a device with receiving and transmitting hardware capable of performing bidirectional communication over a bidirectional communication link. The player terminal device and the server can communicate bidirectionally via a network.

[0016] Optionally, the server can be a standalone server, or a server network or server cluster, including but not limited to computers, network hosts, single network servers, multiple network server sets, or cloud servers composed of multiple servers. Cloud servers consist of a large number of computers or network servers based on cloud computing.

[0017] The following detailed description, in conjunction with the accompanying drawings, illustrates the process. In this embodiment, the executing entity is a server. It should be noted that the order of description in the following embodiments is not intended to limit the preferred order of the embodiments. Although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown in the accompanying drawings.

[0018] The information retrieval method in this embodiment can reduce the rate of missed live streams when searching for live streams.

[0019] Please refer to Figure 1 Taking a server as an example, this embodiment provides an information retrieval method. The specific process of this information retrieval method can be described in the following steps 101 to 105, wherein: Step 101: Periodically sample the live data stream of the target live room to obtain video data and audio data.

[0020] The target live streaming room is a live streaming room on a network live streaming platform, such as a game live streaming room. This live streaming room is a real-time audio and video data channel where the streamer pushes the stream and distributes it through the live streaming server, and then the user pulls the stream to watch.

[0021] For example, in the case that the online live streaming platform includes at least one game live streaming room for displaying the target game, the target game is the core theme when the game live streaming room is broadcasting. The target games displayed by different game live streaming rooms can be the same or different, and can be set according to the needs, without limitation here.

[0022] The live stream data stream is a parsable data stream pushed in real time to the live room for real-time display. This live stream data stream can include at least one dimension of live data, including but not limited to visual data (such as game UI, character actions, scene maps, equipment and props, etc.), audio data (such as the anchor's verbal explanation of tactics and strategies, game background music, skill sound effects, etc.), and text data (such as live room comments, anchor titles, pinned text, etc.). The specific settings can be configured according to needs and are not limited here.

[0023] In this embodiment, the server can periodically sample the live data stream of the target live room to obtain at least the video and audio data of the target live room. This allows the server to more accurately analyze the content currently being broadcast in the target live room from at least two dimensions based on the sampled video and audio data, thereby obtaining a more accurate analysis result of the target live room. Based on this analysis result, the server can perform corresponding operations around the target live room, such as recommending live rooms.

[0024] Specifically, since live streaming data can contain at least two dimensions of data, such as video data and audio data, the server can extract one or more frames of video images from the current sampling period of the live video stream as video data, and extract audio segments from the current sampling period of the live audio stream as audio data.

[0025] Understandably, by introducing multi-dimensional live streaming data, the recognition rate is avoided when content tagging is performed solely based on visual content (i.e., screen data), which is affected by factors such as obstructed live stream images or non-standard UIs. This improves the robustness of recognizing live streaming data from target live streaming rooms.

[0026] In some embodiments, the server can perform periodic sampling of the live data stream of the target live room that is being broadcast through a fixed time window, for example, with a sampling period of 1 minute. During the sampling period, the server can operate on the live transcoded stream of the target live room to obtain the corresponding live data. This process does not affect the live broadcast experience of the broadcaster and the viewer.

[0027] Step 102: Analyze the image data through the visual recognition channel to obtain the first candidate content tag, and analyze the audio data through the speech recognition channel to obtain the second candidate content tag.

[0028] Content tags are used to characterize at least one significant feature in the live streaming data, such as the content intent, semantics, keywords, or category of the live streaming data. The specific tags can be set according to the needs and are not limited here.

[0029] In this embodiment, the server can parse the acquired live streaming data to obtain at least one content tag indicating the target live streaming room. This eliminates the need for manual labeling (e.g., no manual operation by the broadcaster), and automatically identifies the content characteristics of the live streaming data of each target live streaming room in real time. This solves the problem that content labeling relies entirely on manual labor, saves labor costs, and improves processing efficiency.

[0030] Furthermore, compared to relying solely on static information such as the live stream title and game name of the target live stream, content recognition can dynamically reflect the current substantive content of the target live stream, thus providing a better representation of the target live stream.

[0031] Understandably, in order to achieve automated real-time perception of live streaming data, the server can introduce visual recognition channels and voice recognition channels. The aforementioned video data can be used as input for the visual recognition channel, and the aforementioned audio data can be used as input for the voice recognition channel. In this way, AI analysis can be performed through the visual recognition channel and the voice recognition channel to automatically identify and analyze the specific game content being played in the current target live streaming room under different dimensions, so as to obtain the corresponding content tags.

[0032] In some embodiments, the visual recognition channel is equipped with a visual recognition model, and the speech recognition channel is equipped with a speech recognition model. The first candidate content label is obtained by parsing the image data through the visual recognition channel, and the second candidate content label is obtained by parsing the audio data through the speech recognition channel. This includes: parsing the image data through the visual recognition model to output the first candidate content label, and parsing the audio data through the speech recognition model to output the second candidate content label.

[0033] Among them, the aforementioned visual recognition model and speech recognition model can be pre-trained neural network models, that is, deep learning models used to perform content recognition (such as classification, feature extraction, etc.) on live data. Different neural network models correspond to different dimensions of live data.

[0034] Understandably, deep learning-based neural network models can learn deep features from live streaming data to improve the accuracy of content tag recognition.

[0035] In some embodiments, parsing audio data using a speech recognition model to output a second candidate content tag includes: converting the audio data into text to obtain audio text; performing semantic recognition on the audio text using a speech recognition model to obtain the content type of the audio data; extracting keywords from the audio text based on the content type using a speech recognition model to obtain keywords; and using the content type and / or keywords as the second candidate content tag.

[0036] For example, audio data could be the commentary of a broadcaster explaining tactics and strategies, allowing the broadcaster's current intention to be identified by focusing on the content of their speech.

[0037] In this embodiment, the server can use speech-to-text technology to convert audio data into text to obtain corresponding audio text. This audio text can retain the original semantics of what the broadcaster said, such as "Today we will learn about the game skills of character A".

[0038] Then, the audio text can be input into the speech recognition model to perform semantic recognition on the audio text and obtain the content type of the audio data, that is, the result of classifying the overall nature of the current explanation or live broadcast data of the anchor, such as role teaching type, map strategy type, event commentary type, random match type, etc.

[0039] Furthermore, based on the content type identified in the previous step, the speech recognition model can be used to extract keywords from the audio text, that is, specific words or phrases extracted from the audio text. For example, when the target game is displayed in the target live broadcast room, specific words or phrases such as character names, map names, skill names, and tactical terms directly related to the target game can be extracted.

[0040] Finally, use the above content types and / or keywords as content tags for the target live stream room.

[0041] It is understandable that at least one keyword can be extracted from the audio text.

[0042] Specifically, the aforementioned speech recognition model can be used for semantic understanding and information extraction from text data. For example, a pre-trained language model based on the Transformer architecture (such as the BERT model) can be used to identify content types and extract keywords.

[0043] Specifically, the input audio text can be encoded using a speech recognition model, that is, the input text can be converted into a vector representation to obtain a text feature vector. Then, based on the text feature vector, the speech recognition model can output the probability distribution of the live data belonging to multiple candidate content types, thereby determining the content type corresponding to the live data based on the probability distribution of multiple candidate content types.

[0044] Specifically, the input audio text can be sequence-labeled using a speech recognition model to identify segments that belong to game keywords. Then, the content type is weighted to determine the keywords to be output based on the weighted result. For example, if the content type is a character tutorial, the character name and skill name are extracted first; if the content type is a map guide, the map name is extracted first.

[0045] In some embodiments, parsing the image data using a visual recognition model to output a first candidate content tag includes: performing visual recognition on the image data in at least one object dimension using a visual recognition model to obtain a visual recognition result in at least one object dimension, and using the visual recognition result as a content tag.

[0046] Among them, the object dimension refers to the different angles or categories of identifying screen data. The dimension focuses on specific types of information in the screen, including but not limited to character dimension, map dimension, game state dimension, UI text dimension, etc.

[0047] The visual recognition result refers to the specific information identified under each of the above object dimensions, which may include character identifiers, map identifiers, game status identifiers, UI text content, etc. The visual recognition result can be directly used as a content tag.

[0048] Specifically, the visual recognition result in the character dimension is the character identifier. That is, in the character dimension, character recognition needs to be performed on the screen data, that is, to identify the currently appearing game character from the screen data. The identification basis in this character recognition process includes, but is not limited to, the appearance features of the character model (outline, color, weapon, etc.), the character avatar and name text in the character selection interface UI, and the character list information in the game loading interface.

[0049] Specifically, the visual recognition result in the map dimension is the map identifier. In other words, in the map dimension, map recognition needs to be performed on the screen data, that is, to identify the map scene where the current game is located from the screen data. The recognition criteria in this map recognition process include, but are not limited to, the iconic visual elements in the map (such as specific buildings, terrain features, vegetation types), the shape and color distribution of the minimap UI, and the map name text in the map loading interface.

[0050] Specifically, the visual recognition result in the game state dimension is the game state identifier. That is, in the game state dimension, the game state identification needs to be performed on the screen data, that is, to identify the current state stage of the game from the screen data. The identification basis in the game state identification process includes, but is not limited to, the character selection stage (such as hero selection or banning), the game loading stage, the game in progress (such as in battle or not in battle), the results interface (such as victory, defeat, data statistics, etc.), spectator mode, training ground, custom room, etc.

[0051] Specifically, the visual recognition result in the UI text dimension is the UI text content. In other words, in the UI text dimension, UI text recognition needs to be performed on the screen data, which means optical character recognition (OCR recognition) is performed on the in-game user interface text that appears in the screen data. During this UI text recognition process, key text information in the screen can be extracted, such as rank display, score, skill name, etc.

[0052] For example, the server can parse the live data of at least one dimension of the target live room in the current sampling period to obtain the candidate content tags corresponding to the live data of each dimension, thereby generating a set of candidate content tags for the target live room in the current sampling period, such as [Role: Role A, Map: Location A, Content Type: Attack Point Tutorial, Game Mode: Competitive Ranked].

[0053] Step 103: Perform a fusion judgment on the first candidate content tag and the second candidate content tag, and perform entity matching between the fusion judgment result and the preset knowledge graph to generate a set of real-time content tags for the target live room in the current sampling period.

[0054] The knowledge graph is a graph constructed for the live broadcast topic of the target live broadcast room. The knowledge graph contains multiple entity objects and the object association attributes corresponding to the entity objects, which are used to perform consistency verification on the content tags parsed in the live broadcast room, so as to constrain the content tags through the knowledge graph.

[0055] In this embodiment, by fusing and judging the first candidate content tag and the second candidate content tag, consistency verification and synonym association of candidate content tags of different dimensions are achieved to obtain the correlation between the first candidate content tag and the second priority content tag. The judgment result is further constrained by the knowledge graph, so as to obtain the real-time content tag set of the target live room in the current sampling period more accurately.

[0056] For example, in the case of a target live streaming room used to display a target game, the knowledge graph can be a game knowledge graph, which is a structured storage unit built for the target game to store game entity objects in the target game, as well as related information associated with the game entity objects.

[0057] Specifically, a game knowledge graph can include game entity objects of at least one entity category, which may include, but is not limited to, character entity categories, map entity categories, game mode entity categories, and tactical / strategy entity categories.

[0058] Accordingly, the associated attributes of game entity objects of different entity categories can be the same or different.

[0059] For example, a game knowledge graph may include game entity objects, as shown in the table below for the game entity objects corresponding to each entity category. The game knowledge graph also includes object association attributes associated with game entity objects, as shown in the table below:

[0060] Optionally, the process of constructing the game knowledge graph for the target game may include: First, configuring basic entities, whereby operations personnel are responsible for the basic construction of the game knowledge graph and, with each version update, synchronously maintaining and recording newly added official content such as characters and maps. Then, for player-created terms, non-standard names, and other content not yet included in the game knowledge graph, the semantic understanding capabilities of an AI model can be used for generalized recognition to ensure that no new content is missed. High-frequency new entities identified by the AI ​​model are automatically recommended to operations personnel for manual review; once approved, they can be added to the database.

[0061] Understandably, by working together with AI generalization recognition and high-frequency entity recommendation mechanisms, the knowledge graph content can be continuously iterated and expanded, so that the game knowledge graph of the target game can accurately represent the target game in real time.

[0062] In some embodiments, a fusion determination is made on the first candidate content tag and the second candidate content tag, and the fusion determination result is matched with a preset knowledge graph to generate a real-time content tag set for the target live streaming room in the current sampling period. This includes: fusion determination of the first candidate content tag and the second candidate content tag to determine the fused first content tag; matching the first content tag with a preset knowledge graph to update the first content tag based on the matching result to obtain the updated first content tag; and generating a real-time content tag set for the target live streaming room in the current sampling period based on the updated first content tag.

[0063] Specifically, the merged first content tag may include at least some of the tags from multiple first candidate content tags and multiple second candidate content tags; the merged first content tag may also include new tags generated by merging first candidate content tags and second candidate content tags, etc. The specific settings can be configured according to the requirements and are not limited here.

[0064] Specifically, the entity matching between the first content tag and the knowledge graph can be between the first content tag and the entity object in the knowledge graph, or between the first content tag and the object association attribute corresponding to the entity object in the knowledge graph, etc. The specific matching can be set according to the requirements and is not limited here.

[0065] In some embodiments, the knowledge graph includes multiple entity objects and object association attributes corresponding to the entity objects. Updating the first content tag based on the matching result to obtain the updated first content tag includes: if the first content tag matches a target entity object in the entity objects, then updating the first content tag based on the target entity object and / or the object association attributes of the target entity object to obtain the updated first content tag.

[0066] The methods for determining whether a content tag matches a target entity object may include, but are not limited to: if the content tag is the same as the target entity object, then the content tag matches the target entity object in the game entity object; if the content tag has the same semantics as the target entity object, then the content tag matches the target entity object in the game entity object, etc. The specific settings can be configured according to the requirements and are not limited here.

[0067] The methods for determining whether a content tag matches the object association attribute of the target entity object may include, but are not limited to: if the content tag matches the object association attribute of the target entity object, then the content tag matches the object association attribute of the target entity object; if the keyword semantics in the content tag and the object association attribute of the target entity object are consistent or the same, then the content tag matches the object association attribute of the target entity object, etc. The specific settings can be configured according to the requirements and are not limited here.

[0068] In some embodiments, when a content tag matches a game knowledge graph, in order to enable game entity objects already included in the game knowledge graph to be retrieved using standardized names, the method of updating the first content tag based on the target entity object and / or the object association attribute of the target entity object may include: directly using the target entity object and / or the corresponding object association attribute that matches the content tag as the content tag, so as to ensure the consistency of retrieval when using the content tag for live room retrieval and recommendation, and to ensure the accuracy of retrieval through the game knowledge graph.

[0069] In some embodiments, if the first content tag does not match the knowledge graph, the first content tag that does not match the knowledge graph can be used as a temporary tag, that is, the first content tag can still participate in the search of the live room, or the first content tag that does not match the knowledge graph can be removed. The specific settings can be set according to the needs, and there is no limitation here.

[0070] Optionally, for high-frequency temporary tags, a dynamic expansion mechanism with automatic recommendation for database entry can be adopted. This involves automatically recommending newly identified frequently occurring entities to operations personnel for manual review. Once approved, they can be added to the database, for example, by adding them to the knowledge graph. A high-frequency temporary tag can be defined as one whose occurrence frequency is greater than or equal to a preset number of times.

[0071] In some embodiments, generating a set of real-time content tags for the target live room in the current sampling period based on the updated first content tags includes: sorting the updated first content tags based on the relevance of the target live room corresponding to the first content tags to obtain a set of real-time content tags for the target live room in the current sampling period.

[0072] Among them, the target live room relevance is used to indicate the degree of relevance between the content tag and the target live room.

[0073] In this embodiment, the updated first content tags can be sorted based on the degree of correlation between each first content tag and the target live room. That is, the greater the degree of correlation, the higher the position of the updated first content tag, so as to obtain the real-time content tag set of the target live room in the current sampling period.

[0074] Among them, the relevance of the target live room to the first content tag is different for each updated first content tag.

[0075] It is understandable that the number of first content tags is greater than or equal to the number of first content tags after the update. That is, if the update of the first content tags is a content replacement, the number of first content tags is equal to the number of first content tags after the update. If the update of the first content tags is a tag removal, the number of first content tags is greater than the number of first content tags after the update.

[0076] In some embodiments, the first candidate content tag and the second candidate content tag each correspond to an initial live room relevance. The first candidate content tag and the second candidate content tag are merged to determine the merged first content tag. This includes: if the first candidate content tag and the second candidate content tag are the same, then the first candidate content tag and the second candidate content tag are merged into a first content tag. Based on the initial live room relevance of the first candidate content tag and the second candidate content tag, the target live room relevance of the first content tag is determined. The target live room relevance is greater than the initial live room relevance.

[0077] Among them, the first candidate content tag and the second candidate content tag being the same can include, but are not limited to, the same content, the same semantics, etc. The specific settings can be set according to the needs, and are not limited here.

[0078] It is understandable that different dimensions of live streaming data may simultaneously indicate the same content. For example, while the host is explaining a game character, the live stream screen displays the character's image, prompting visual recognition of character A. Character A is also mentioned in the audio, indicating that the entity is closely related to the target live stream, and the content currently being displayed by the host is closely related to the entity.

[0079] In this embodiment, the relevance of the first candidate content tag to the target live streaming room can be adjusted and determined based on whether the first candidate content tag and the second candidate content tag are the same. If they are the same, the first candidate content tag and the second candidate content tag can be merged into the first content tag.

[0080] Furthermore, since the two are the same, it indicates that the content currently displayed in the target live room is closely related to the entity object. Therefore, it is necessary to increase the initial live room relevance of the first candidate content tag and the second candidate content tag in order to obtain the target live room relevance after the first content tag is increased. That is, the target live room relevance of the first content tag is greater than the initial live room relevance of the first candidate content tag and the second candidate content tag respectively.

[0081] Specifically, an improvement ratio coefficient corresponding to the first content tag can be preset. When the first candidate content tag and the second candidate content tag are the same, the average value of the initial live room relevance of the first candidate content tag and the second candidate content tag can be calculated, and the product of the average value and the improvement ratio coefficient can be used as the target live room relevance. The maximum value can be selected from the initial live room relevance of the first candidate content tag and the second candidate content tag, and the product of the selected maximum value and the improvement ratio coefficient can be used as the target live room relevance. The specific settings can be set according to the needs and are not limited here.

[0082] Specifically, the method of merging the first candidate content tag and the second candidate content tag into a first content tag may include: if the content of the first candidate content tag and the second candidate content tag is the same, then the content that is the same in both is directly used as the first content tag; if the content of the first candidate content tag and the second candidate content tag is different but the semantics are the same, then the semantic content that is the same in both is extracted and the extracted content is used as the first content tag; if the content of the first candidate content tag and the second candidate content tag is different but the semantics are the same, then either the first candidate content tag or the second candidate content tag is randomly selected or selected according to a preset rule as the first content tag, etc. The specific settings can be set according to the needs and are not limited here.

[0083] In some embodiments, there are at least two first candidate content tags and at least two second candidate content tags. Based on the initial live room relevance of the first candidate content tags and the second candidate content tags, the target live room relevance of the first content tag is determined, including: determining the number of tags with the same tags in the first candidate content tags and the second candidate content tags, and determining a relevance adjustment parameter based on the number of tags; calculating the mean among the initial live room relevances of the same tags; increasing the mean based on the relevance adjustment parameter, and using the increased value as the target live room relevance of the first content tag.

[0084] Understandably, since the first candidate content tags are parsed from different visual object dimensions, at least two first candidate content tags can be obtained. The same applies to the second candidate content tags. Therefore, there may be cases where at least two first candidate content tags and / or at least two second candidate content tags are the same. The server can determine the number of tags with the same tag. This number of tags indicates the number of identical content tags identified in the current live data of different dimensions. The more tags there are, the closer the connection between the first content tag and the target live room.

[0085] The correlation adjustment parameter is positively correlated with the number of tags; that is, the larger the number of tags, the larger the correlation adjustment parameter. For example, the correlation adjustment parameter can be the product of the number of tags and the aforementioned improvement ratio coefficient.

[0086] In some embodiments, during a sampling period, if there is only one first content tag obtained by fusing a first candidate content tag and a second candidate content tag, the first content tag can be marked as a medium confidence tag. If there is at least two first candidate content tags and / or a first content tag obtained by fusing a second candidate content tag with at least one other candidate content tag, the first content tag can be marked as a high confidence tag. If it is a temporary tag, the temporary tag can be marked as a low confidence tag. The ranking weight of the high confidence tag is higher than that of the medium confidence tag, and the ranking weight of the medium confidence tag is higher than that of the low confidence tag.

[0087] In some embodiments, if the first content tag matches the knowledge graph, the relevance of the target live room to the first content tag is increased to obtain the updated relevance of the target live room; if the first content tag does not match the knowledge graph, the relevance of the target live room to the first content tag is decreased, or the relevance of the target live room to the first content tag is kept unchanged to obtain the updated relevance of the target live room.

[0088] In some embodiments, when the visual recognition model parses the image data to output a first candidate content label and the speech recognition model parses the audio data to output a second candidate content label, the method further includes: using the confidence score of the visual recognition model when outputting the first candidate content label as the initial live room relevance, and using the confidence score of the speech recognition model when outputting the second candidate content label as the initial live room relevance.

[0089] The confidence score refers to the probability value or confidence score that the neural network model assigns to its output content when outputting classification results. This score is usually between 0 and 1 (or 0 to 100%), indicating the degree of certainty of the neural network model regarding its output content. The higher the score, the more confident the model is that the content label belongs to the content recognition result of the live data.

[0090] In some embodiments, the aforementioned real-time content tag set may include not only the updated first content tag, but also the target live room relevance corresponding to the updated first content tag, so as to clarify the degree of relevance between each updated first content tag and the target live room when performing live room retrieval, that is, to understand the important content presented by the current target live room.

[0091] Step 104: Update the dynamic content index of the target live stream based on the real-time content tag set.

[0092] In this embodiment, a dynamic content index can be maintained for the target live room. The dynamic content index is used to represent the corresponding target live room when performing live room retrieval. The dynamic content index includes at least a real-time content index area, which is used to store a set of real-time content tags for the target live room to indicate the real-time content currently displayed by the target live room.

[0093] In response, after the server obtains the set of real-time content tags for the current sampling period, it can update the real-time content index area in the dynamic content index of the target live room, that is, update the set of historical content tags for the previous sampling period stored in the real-time content index area to the set of real-time content tags for the current sampling period.

[0094] In some embodiments, the dynamic content index also includes at least one of the following information; The set of historical content tags for a preset number of sampling periods, excluding the current sampling period; The moment when the content tag first appears in the target live stream; The duration of the content tag within the target live stream.

[0095] In this embodiment, the live streaming index information of the target live streaming room can be dynamically maintained by setting a sampling period. This involves writing a certain number of content tag sets with relatively recent sampling periods into the live streaming index information, and dynamically updating the live streaming index information of the target live streaming room over time by removing content tag sets with older sampling periods from the live streaming index information and adding content tag sets identified under the new sampling period. This enables the dynamic construction and updating of the live streaming index information of the target live streaming room.

[0096] Understandably, compared to indexing live streams by simply configuring static content indexes such as titles, tags, and keywords for the target live stream, building a dynamically updated content index allows for real-time display of the game entities that users are currently searching for in the recommended live streams, thereby improving the user experience.

[0097] For example, the live streaming index information of the target live streaming room may include at least one index field (e.g., the real-time content index area mentioned above), and different field information is stored in the index field, as shown in the table below:

[0098] The fusion confidence score of a content tag can be calculated by fusion based on the confidence scores of the content tags in each dimension when the content tag exists in live data in at least two dimensions (such as weighted average or mean calculation) to obtain the fusion confidence score, which is the aforementioned target live room relevance.

[0099] Understandably, after the sampling period ends, the server can write the tag set generated in the new sampling period into the dynamic live streaming index information, so as to overwrite the tag set of the previous sampling period in the index field corresponding to the current tag set, and append the tag set generated in the new sampling period to the index field corresponding to the recent tag sequence.

[0100] Understandably, the duration of the aforementioned content tags can be used to determine the stability of the content. That is, the longer the duration of a content tag, the more in-depth the explanation of the game content corresponding to that content tag is given by the streamer in the target live stream. Therefore, it can be given higher weight when sorting live streams.

[0101] Optionally, when a target live stream stops broadcasting, its dynamic live stream index information can be marked as invalid so that it no longer participates in real-time retrieval, but the extended functionality for historical replay retrieval can be retained.

[0102] Step 105: In response to a search request carrying search terms, determine and return the target search results for display based on the dynamic content index and search terms.

[0103] Among them, a search request refers to a request with a live streaming room as the search target, that is, a user hopes to find a specific live streaming room that meets specific conditions through this request.

[0104] For example, the search request can have at least one target entity object to be searched (the object indicated by the search term) to select from multiple target live streams, with the dynamic content index relating to the specific live stream of the target entity object.

[0105] Understandably, the server uses a neural network model to analyze multi-dimensional live data in real time and matches specific live rooms with multi-dimensional content tags based on AI analysis. This eliminates the need for single title keyword matching, solves the problem of missed real-time content detection, and enables coverage of live rooms whose titles are not labeled but are explaining specific content.

[0106] Moreover, by generating dynamic content indexes in real time, it adapts to the rhythm of high-frequency content switching, sudden highlights, and random matches in the live stream, with 100% timeliness matching the live stream process, eliminating the need for the streamer to manually mark content.

[0107] Furthermore, when users search for highly specific game content, they can directly find the live stream currently explaining the corresponding content, greatly improving search accuracy and the efficiency of users obtaining effective content.

[0108] In some embodiments, in response to a search request carrying a search term, determining and returning target search results for display based on a dynamic content index and the search term includes: in response to a search request carrying a search term, if a second content tag matching the search term exists in the dynamic content index, determining the recommendation priority of the target live stream based on the second content tag in the dynamic content index, and feeding back the target live stream and its recommendation priority, so as to recommend the target live stream based on the recommendation priority.

[0109] In this embodiment, if the recommendation priority is higher, then when recommending the target live room, the target live room will be recommended earlier, and / or the recommendation style of the target live room will be more prominent. For example, the brightness of the target live room will be higher, the outline of the target live room will be thicker, etc. The specific settings can be set according to the needs and are not limited here.

[0110] The second content tag that matches the search term can be a second content tag that has the same content or semantics as the search term.

[0111] In some embodiments, the recommendation priority is generated based on a preset priority rule, which includes at least one of the following: The second content tag has a higher priority when it is in the real-time content tag set than when it is in the historical content tag set. The higher the relevance of the second content tag to the live stream, the higher its priority. The longer the duration of the second content tag, the higher its priority; The later the first appearance of the second content tag, the higher its priority.

[0112] Understandably, the closer the sampling period corresponding to the second content tag is to the current time, or the later the first appearance of the second content tag, the more likely it is that the streamer in the target live stream is currently explaining the game content corresponding to the second content tag, and the corresponding recommendation priority for the target live stream can be given higher.

[0113] Understandably, the greater the relevance of the second content tag to the live stream, the more relevant the game content corresponding to that second content tag is to the target live stream, and the higher the recommendation priority can be given to the target live stream.

[0114] Understandably, the introduction of a tag duration mechanism ensures the relevance of search results. The longer the duration of the second content tag, the more likely the streamer in the target live stream is explaining the game content corresponding to that second content tag in depth, rather than just flashing by. Consequently, the target live stream can be given a higher recommendation priority, meaning that users are more likely to see the target content after clicking through.

[0115] For example, the recommendation priority of a target live stream can be determined based on the live stream relevance or confidence tag in the second content tag. That is, the greater the live stream relevance, the higher the corresponding recommendation priority; or the confidence tag is a high confidence tag, the corresponding recommendation priority is the highest; or the live stream relevance belongs to the first threshold interval, the corresponding recommendation priority is the highest; the live stream relevance belongs to the second threshold interval, the corresponding recommendation priority is relatively high; and the live stream relevance belongs to the third threshold interval, the corresponding recommendation priority is the lowest. Among these, the first threshold interval is greater than the second threshold interval, and the second threshold interval is greater than the third threshold interval.

[0116] In some embodiments, in order to more accurately retrieve target live streaming rooms, the server can also use both static and dynamic content indexes to participate in the retrieval, so as to retrieve and recommend target live streaming rooms.

[0117] Understandably, through dynamic indexing, when users search, they can not only match static titles, but also the live stream room that is currently playing the target content. This makes live stream rooms that were originally completely unsearchable due to the lack of title labeling become discoverable, greatly reducing the missed detection rate of real-time content.

[0118] Specifically, using static content indexing to retrieve target live streams can involve keyword matching using static fields such as the live stream title and category tags corresponding to the target live stream.

[0119] For example, after using both static and dynamic content indexes in the retrieval process, the retrieved target live streams can be sorted according to specific sorting rules (i.e., at least some of the aforementioned sorting rules), as shown in the table below:

[0120] Understandably, in this example, when sorting target live streams, the target live streams corresponding to high confidence labels can be ranked higher to avoid potential misidentification of content by medium confidence labels corresponding to a single identification channel, which could interfere with the user experience.

[0121] In some embodiments, the server can directly overwrite the live room title in the static content index of the target live room with the dynamically indexed content tags.

[0122] In some embodiments, recommending a target live room based on recommendation priority includes: displaying the live room information of the target live room at the corresponding recommendation position on the graphical user interface based on the recommendation priority, wherein the live room information includes the live room identifier of the target live room and the tag indication information corresponding to the second content tag.

[0123] In this embodiment, since the live room that hits the dynamic content index corresponds to the second content tag, when the server performs information retrieval for the live room, in addition to displaying the live room information indicating the specific live room, it can also display an additional tag indication information in the live room information to indicate the real-time content. This tag indication information is used to indicate the entity object corresponding to the user's content tag, so as to enable the user to intuitively understand what the anchor is currently explaining in the target live room, and help the user quickly determine whether the target live room is the content they are looking for.

[0124] In some embodiments, in order to make it easier for users to intuitively understand the relationship between the second content tag indicated by the tag indication information and the target live room, the display style of the tag indication information is determined based on the recommendation priority of the target live room. Alternatively, the display style of the tag indication information can be determined based on the relevance of the live room corresponding to the second content tag.

[0125] For example, based on the sorting priority in the example above, the tag indication information for the content tag of the target live room with the highest priority is displayed in red, the tag indication information for the content tag of the target live room with high priority is displayed in yellow, the tag indication information for the content tag of the target live room with medium priority is displayed in blue, and the target live room with low priority has no tag indication information.

[0126] Optionally, since there may be multiple search terms in the search request, and there may also be multiple corresponding second content tags, in order to make it easier for users to view the tag indication information, a preset number of content tag indication information can be displayed in the live broadcast room information, such as displaying the tag indication information of up to 3 content tags, such as location-content-current anchor status.

[0127] Among them, the second content tag that can display tag indication information can be the second content tag with the highest relevance to the target live room.

[0128] For example, such as Figure 2 As shown, Figure 2 The page displays a live stream search page. Users can enter at least one search term in the search box at the top of the page to generate a search request. This request prompts the server to execute the aforementioned information retrieval method to recommend content such as... Figure 2 The target live streaming rooms are shown, from live streaming room A to live streaming room F.

[0129] Among them, Figure 2 The top left corner of the information for live streams A through F displays label information. Specifically, the top left corner of the information for live stream A displays information A, the top left corner of the information for live stream B displays information B, the top left corner of the information for live stream C displays information C, the top left corner of the information for live stream D displays information D, the top left corner of the information for live stream E displays information E, and the top left corner of the information for live stream F displays information F.

[0130] Among them, the different recommendation priorities lead to different display styles of the tag indication information. For example, the target live room to which information A and information B belong has the highest priority, the target live room to which information C, information D and information E belong has a high priority, and the target live room to which information F belongs has a medium priority.

[0131] It is understandable that if there is another target live room without tag information after live room F, then that target live room is the target live room retrieved based on the static content index.

[0132] For example, the target search request is location A and plot: Therefore, the information A corresponding to livestream room A could be location A - first storyline; the tag B corresponding to livestream room B could be location A - second storyline; the tag C corresponding to livestream room C could be location A - first storyline; the tag D corresponding to livestream room D could be location A - third storyline; the tag E corresponding to livestream room E could be location A - second storyline; and the tag F corresponding to livestream room F could be location A - main storyline - fourth storyline. The storylines indicated by different tags may be the same.

[0133] In some embodiments, the server can perform historical playback retrieval, that is, generate a complete live stream timeline tag record based on the tag sequence under each sampling period in the generated dynamic content index. Specifically, when the live stream of the target live room ends and the recording is generated, the server can set corresponding time nodes based on each sampling period and associate the set time nodes with the content tags under the corresponding sampling period to generate full timeline tag data of the recording content corresponding to the target live room.

[0134] Then, when searching for recorded content, users can accurately locate the time segment of a specific topic, enabling them to search for content based on content tags and jump to the corresponding segment of the recorded content retrieval experience.

[0135] As can be seen from the above, by periodically sampling the live data stream of the target live room, visual and audio data are obtained; the visual data is analyzed through a visual recognition channel to obtain the first candidate content tag, and the audio data is analyzed through a speech recognition channel to obtain the second candidate content tag; the first and second candidate content tags are fused and judged, and the fusion judgment result is matched with a preset knowledge graph to generate a real-time content tag set for the target live room in the current sampling period; the dynamic content index of the target live room is updated based on the real-time content tag set; in response to a search request carrying search terms, the target search results are determined and returned for display based on the dynamic content index and search terms. Thus, by analyzing the live data of the live room in real time through both visual and audio dimensions to generate content tags corresponding to the live room, and fusing multi-dimensional content tags and matching them with the associated knowledge graph, the dynamic content index is accurately updated based on the real-time content tags of the live room. This allows for the recommendation of corresponding live rooms based on the dynamic content index, thereby reducing the false negative rate of live room searches.

[0136] This embodiment also provides an information retrieval device, which can be integrated into a terminal device. For example, such as Figure 3 As shown, the information retrieval device may include: The sampling module 301 is used to periodically sample the live data stream of the target live room to obtain video data and audio data; The tag parsing module 302 is used to parse the image data through the visual recognition channel to obtain the first candidate content tag, and to parse the audio data through the speech recognition channel to obtain the second candidate content tag; The tag fusion module 303 is used to perform fusion judgment on the first candidate content tag and the second candidate content tag, and to perform entity matching with the fusion judgment result and the preset knowledge graph to generate a real-time content tag set of the target live room in the current sampling period. The index update module 304 is used to update the dynamic content index of the target live room based on the real-time content tag set; The result determination module 305 is used to respond to a search request carrying search terms, determine and return the target search results for display based on the dynamic content index and search terms.

[0137] In some embodiments, the tag fusion module 303 is specifically used for: The first and second candidate content tags are merged to determine the merged first content tag. The first content tag is matched with the preset knowledge graph, and the first content tag is updated based on the matching result to obtain the updated first content tag. Based on the updated first content tag, generate a set of real-time content tags for the target live room in the current sampling period.

[0138] In some embodiments, the knowledge graph includes multiple entity objects and corresponding object association attributes. The tag fusion module 303 is specifically used for: If the first content tag matches the target entity object in the entity object, the first content tag is updated based on the target entity object and / or the object association attribute of the target entity object to obtain the updated first content tag.

[0139] In some embodiments, the tag fusion module 303 is specifically used for: Based on the relevance of the target live room corresponding to the first content tag, the updated first content tag is sorted to obtain the real-time content tag set of the target live room in the current sampling period.

[0140] In some embodiments, the first candidate content tag and the second candidate content tag each correspond to an initial live stream relevance, and the tag fusion module 303 is specifically used for: If the first candidate content tag and the second candidate content tag are the same, the first candidate content tag and the second candidate content tag are merged into the first content tag. Based on the initial live room relevance of the first candidate content tag and the second candidate content tag, the target live room relevance of the first content tag is determined. The target live room relevance is greater than the initial live room relevance.

[0141] In some embodiments, there are at least two first candidate content tags and at least two second candidate content tags, and the tag fusion module 303 is specifically used for: Determine the number of identical tags in the first and second candidate content tags, and determine the relevance adjustment parameters based on the number of tags; Calculate the mean of the initial relevance between live streams with the same tag; The mean value is increased by adjusting the parameters based on relevance, and the increased value is used as the target live room relevance for the first content tag.

[0142] In some embodiments, the visual recognition channel is equipped with a visual recognition model, the speech recognition channel is equipped with a speech recognition model, and the tag parsing module 302 is specifically used for: The visual recognition model is used to parse the image data and output the first candidate content label, and the speech recognition model is used to parse the audio data and output the second candidate content label. Information retrieval devices may include a relevance determination module, which is specifically used for: The confidence score of the visual recognition model when it outputs the first candidate content label is used as the initial relevance score of the live room, and the confidence score of the speech recognition model when it outputs the second candidate content label is used as the initial relevance score of the live room.

[0143] In some embodiments, the tag parsing module 302 is specifically used for: The audio data is converted into text to obtain the audio text. By using a speech recognition model, semantic recognition is performed on the audio text to obtain the content type of the audio data; Keywords are extracted from audio text based on content type using a speech recognition model. Use content type and / or keywords as the second candidate content tags.

[0144] In some embodiments, the result determination module 305 is specifically used for: In response to a search request carrying search terms, if a second content tag matching the search terms exists in the dynamic content index, the recommendation priority of the target live stream is determined based on the second content tag in the dynamic content index, and the target live stream and its recommendation priority are fed back, so as to recommend the target live stream based on the recommendation priority.

[0145] In some embodiments, the dynamic content index also includes at least one of the following information; The set of historical content tags for a preset number of sampling periods, excluding the current sampling period; The moment when the content tag first appears in the target live stream; The duration of the content tag within the target live stream.

[0146] In some embodiments, the recommendation priority is generated based on a preset priority rule, which includes at least one of the following: The second content tag has a higher priority when it is in the real-time content tag set than when it is in the historical content tag set. The higher the relevance of the second content tag to the live stream, the higher its priority. The longer the duration of the second content tag, the higher its priority; The later the first appearance of the second content tag, the higher its priority.

[0147] In some embodiments, the result determination module 305 is specifically used for: Based on recommendation priority, the live room information of the target live room is displayed at the corresponding recommended position on the graphical user interface. The live room information includes the live room identifier of the target live room and the tag indication information corresponding to the second content tag.

[0148] As can be seen from the above, by periodically sampling the live data stream of the target live room, visual and audio data are obtained; the visual data is analyzed through a visual recognition channel to obtain the first candidate content tag, and the audio data is analyzed through a speech recognition channel to obtain the second candidate content tag; the first and second candidate content tags are fused and judged, and the fusion judgment result is matched with a preset knowledge graph to generate a real-time content tag set for the target live room in the current sampling period; the dynamic content index of the target live room is updated based on the real-time content tag set; in response to a search request carrying search terms, the target search results are determined and returned for display based on the dynamic content index and search terms. Thus, by analyzing the live data of the live room in real time through both visual and audio dimensions to generate content tags corresponding to the live room, and fusing multi-dimensional content tags and matching them with the associated knowledge graph, the dynamic content index is accurately updated based on the real-time content tags of the live room. This allows for the recommendation of corresponding live rooms based on the dynamic content index, thereby reducing the false negative rate of live room searches.

[0149] Accordingly, this application also provides an electronic device, which can be a terminal, such as a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. Alternatively, the electronic device can be a server.

[0150] like Figure 4 As shown, Figure 4This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 400 includes a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, and a computer program stored in the memory 402 and executable on the processor. The processor 401 and the memory 402 are electrically connected. Those skilled in the art will understand that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0151] The processor 401 is the control center of the electronic device 400. It connects various parts of the electronic device 400 via various interfaces and lines. By running or loading software programs and / or units stored in the memory 402, and by calling data stored in the memory 402, it executes various functions and processes data of the electronic device 400, thereby providing overall monitoring of the electronic device 400. The processor 401 can be a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), etc., and can implement or execute the methods, steps, and logic diagrams disclosed in the embodiments of this application.

[0152] In this embodiment, the processor 401 in the electronic device 400 loads the instructions corresponding to the processes of one or more applications into the memory 402 according to the following steps, and the processor 401 runs the applications stored in the memory 402 to realize various functions, such as: Periodically sample the live stream data from the target live room to obtain video and audio data; The first candidate content label is obtained by parsing the image data through the visual recognition channel, and the second candidate content label is obtained by parsing the audio data through the speech recognition channel. The first and second candidate content tags are fused and judged, and the fusion judgment result is matched with the preset knowledge graph to generate the real-time content tag set of the target live room in the current sampling period. Update the dynamic content index of the target live stream based on the real-time content tag set; In response to a search request carrying search terms, the system determines and returns the target search results for display based on the dynamic content index and search terms.

[0153] Therefore, the electronic device 400 provided in this embodiment can bring the following technical effects: reduce the rate of missed detection of live rooms when searching for live rooms.

[0154] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0155] Optional, such as Figure 4 As shown, the electronic device 400 also includes: a touch display screen 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch display screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407. Those skilled in the art will understand that... Figure 4 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0156] The touch display screen 403 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The touch display screen 403 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar technologies. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program according to the operation commands. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 401. It can also receive and execute commands from the processor 401. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 401 to determine the type of touch event. Subsequently, the processor 401 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the touch display screen 403 to achieve input and output functions. However, in some embodiments, the touch panel and the touch display screen 403 can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 403 can also be used as part of the input unit 406 to achieve input functions.

[0157] The radio frequency circuit 404 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices, and to transmit and receive signals with network devices or other electronic devices.

[0158] Audio circuit 405 can be used to provide an audio interface between a user and an electronic device via a speaker and a microphone. Audio circuit 405 can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuit 405, converted back into audio data, and then processed by processor 401 before being transmitted via radio frequency circuit 404 to, for example, another electronic device, or output to memory 402 for further processing. Audio circuit 405 may also include an earphone jack to provide communication between peripheral headphones and electronic devices.

[0159] The input unit 406 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.

[0160] Power supply 407 is used to supply power to various components of electronic device 400. Optionally, power supply 407 can be logically connected to processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 407 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0161] although Figure 4 As not shown in the diagram, the electronic device 400 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.

[0162] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0163] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0164] Therefore, embodiments of this application provide a computer-readable storage medium storing multiple computer programs that can be loaded by a processor to execute any of the information retrieval methods provided in this application. The computer program can execute the steps of the following information retrieval method: Periodically sample the live stream data from the target live room to obtain video and audio data; The first candidate content label is obtained by parsing the image data through the visual recognition channel, and the second candidate content label is obtained by parsing the audio data through the speech recognition channel. The first and second candidate content tags are fused and judged, and the fusion judgment result is matched with the preset knowledge graph to generate the real-time content tag set of the target live room in the current sampling period. Update the dynamic content index of the target live stream based on the real-time content tag set; In response to a search request carrying search terms, the system determines and returns the target search results for display based on the dynamic content index and search terms.

[0165] As can be seen, the computer program can be loaded by the processor to execute any of the information retrieval methods provided in the embodiments of this application, thereby bringing about the following technical effects: reducing the false negative rate of live room searches.

[0166] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0167] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0168] Since the computer program stored in the computer-readable storage medium can execute any of the information retrieval methods provided in the embodiments of this application, it can achieve the beneficial effects that any of the information retrieval methods provided in the embodiments of this application can achieve, as detailed in the preceding embodiments, and will not be repeated here.

[0169] According to one aspect of this application, a computer program product or computer program is also provided, comprising computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in the various optional implementations of the above embodiments.

[0170] In the above embodiments of the information retrieval device, computer-readable storage medium, electronic device, and computer program product, the descriptions of each embodiment have different focuses. Parts not described in detail in a particular embodiment can be referred to in the relevant descriptions of other embodiments. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes and beneficial effects of the information retrieval device, computer-readable storage medium, computer program product, electronic device, and their corresponding units described above can be referred to the description of the information retrieval method in the above embodiments, and will not be repeated here.

[0171] The foregoing has provided a detailed description of an information retrieval method, apparatus, electronic device, computer-readable storage medium, and computer program product provided by the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. An information retrieval method, characterized in that, The method includes: Periodically sample the live stream data from the target live room to obtain video and audio data; The first candidate content tag is obtained by parsing the image data through the visual recognition channel, and the second candidate content tag is obtained by parsing the audio data through the speech recognition channel. The first candidate content tag and the second candidate content tag are fused and determined, and the fusion and determination result is matched with the preset knowledge graph to generate the real-time content tag set of the target live room in the current sampling period; Update the dynamic content index of the target live stream room based on the real-time content tag set; In response to a search request carrying search terms, the target search results are determined and returned for display based on the dynamic content index and the search terms.

2. The information retrieval method as described in claim 1, characterized in that, The step of fusing and determining the first candidate content tags and the second candidate content tags, and then matching the fusion determination result with a preset knowledge graph to generate a real-time content tag set for the target live streaming room in the current sampling period includes: The first candidate content tag and the second candidate content tag are merged to determine the merged first content tag; The first content tag is matched with a preset knowledge graph, and the first content tag is updated based on the matching result to obtain the updated first content tag. Based on the updated first content tag, a set of real-time content tags for the target live room in the current sampling period is generated.

3. The information retrieval method as described in claim 2, characterized in that, The knowledge graph includes multiple entity objects and object association attributes corresponding to the entity objects. Updating the first content tag based on the matching result to obtain the updated first content tag includes: If the first content tag matches the target entity object in the entity object, the first content tag is updated based on the target entity object and / or the object association attribute of the target entity object to obtain the updated first content tag.

4. The information retrieval method as described in claim 2, characterized in that, The step of generating a real-time content tag set for the target live stream room in the current sampling period based on the updated first content tag includes: Based on the relevance of the target live room corresponding to the first content tag, the updated first content tag is sorted to obtain the real-time content tag set of the target live room in the current sampling period.

5. The information retrieval method as described in claim 4, characterized in that, The first candidate content tag and the second candidate content tag each correspond to an initial live stream relevance. The step of fusing the first candidate content tag and the second candidate content tag to determine the fused first content tag includes: If the first candidate content tag and the second candidate content tag are the same, then the first candidate content tag and the second candidate content tag are merged into a first content tag, and the target live room relevance of the first content tag is determined based on the initial live room relevance of the first candidate content tag and the second candidate content tag, wherein the target live room relevance is greater than the initial live room relevance.

6. The information retrieval method as described in claim 5, characterized in that, There are at least two first candidate content tags and at least two second candidate content tags. The step of determining the target livestream relevance of the first content tag based on the initial livestream relevance of the first and second candidate content tags includes: Determine the number of identical tags in the first candidate content tags and the second candidate content tags, and determine the relevance adjustment parameter based on the number of tags; Calculate the mean of the initial relevance between live streams with the same tag; The mean value is increased based on the correlation adjustment parameters, and the increased value is used as the target live room correlation of the first content tag.

7. The information retrieval method as described in claim 5, characterized in that, The visual recognition channel is equipped with a visual recognition model, and the speech recognition channel is equipped with a speech recognition model. The process of parsing the image data through the visual recognition channel to obtain a first candidate content tag, and parsing the audio data through the speech recognition channel to obtain a second candidate content tag, includes: The visual recognition model is used to parse the image data and output a first candidate content label, and the speech recognition model is used to parse the audio data and output a second candidate content label. The method further includes: The confidence score of the visual recognition model when outputting the first candidate content label is used as the initial live room relevance score, and the confidence score of the speech recognition model when outputting the second candidate content label is used as the initial live room relevance score.

8. The information retrieval method as described in claim 7, characterized in that, The step of parsing the audio data using the speech recognition model and outputting a second candidate content tag includes: The audio data is converted into text to obtain audio text; The speech recognition model is used to perform semantic recognition on the audio text to obtain the content type of the audio data; Keywords are obtained by extracting keywords from the audio text based on the content type using the speech recognition model. The content type and / or the keywords are used as the second candidate content tags.

9. The information retrieval method as described in claim 1, characterized in that, The process of responding to a search request carrying search terms, determining and returning target search results for display based on the dynamic content index and the search terms, includes: In response to a search request carrying a search term, if a second content tag matching the search term exists in the dynamic content index, the recommendation priority of the target live room is determined based on the second content tag in the dynamic content index, and the target live room and its recommendation priority are fed back, so as to recommend the target live room based on the recommendation priority.

10. The information retrieval method as described in claim 9, characterized in that, The dynamic content index also includes at least one of the following information; The set of historical content tags for a preset number of sampling periods, excluding the current sampling period; The moment when the content tag first appears in the target live stream room; The duration of the content tags in the target live stream.

11. The information retrieval method as described in claim 10, characterized in that, The recommendation priority is generated based on a preset priority rule, which includes at least one of the following: The second content tag has a higher priority when it is in the real-time content tag set than when it is in the historical content tag set. The higher the relevance of the second content tag to the live stream, the higher its priority. The longer the duration of the second content tag, the higher its priority; The later the first appearance of the second content tag, the higher its priority.

12. The information retrieval method as described in claim 9, characterized in that, The step of recommending the target live stream room based on the recommendation priority includes: Based on the recommendation priority, the live room information of the target live room is displayed at the corresponding recommendation position on the graphical user interface. The live room information includes the live room identifier of the target live room and the tag indication information corresponding to the second content tag.

13. An information retrieval device, characterized in that, The device includes: The sampling module is used to periodically sample the live data stream of the target live room to obtain video and audio data. The tag parsing module is used to parse the image data through the visual recognition channel to obtain the first candidate content tag, and to parse the audio data through the speech recognition channel to obtain the second candidate content tag; The tag fusion module is used to perform fusion determination on the first candidate content tag and the second candidate content tag, and to perform entity matching with the fusion determination result and the preset knowledge graph to generate the real-time content tag set of the target live room in the current sampling period. The index update module is used to update the dynamic content index of the target live room according to the real-time content tag set; The result determination module is used to respond to a search request carrying search terms, and determine and return the target search results for display based on the dynamic content index and the search terms.

14. An electronic device, characterized in that, The method includes a processor and a memory, the memory storing multiple instructions; the processor loads instructions from the memory to perform the steps of the information retrieval method as described in any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a plurality of instructions adapted for loading by a processor to perform the steps of the information retrieval method as described in any one of claims 1 to 12.