A community picture trigger-based game retrieval method and related device
By displaying virtual controls in community images and retrieving image identifiers, features, and contextual information for game retrieval, the problem of users being unable to directly access game information is solved, improving operational efficiency and user experience.
Patent Information
- Application Number
- CN202611684432.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
In existing technologies, users cannot directly obtain corresponding game information from community images and need to search and compare multiple times, resulting in low operational efficiency and affecting user experience.
By responding to preset touch operations on the target image on the community page, virtual controls are displayed within the display area of the target image. The image identifier, image features, and contextual information are obtained. This information is used to perform game retrieval on a preset game platform, merge candidate games, determine the matching target game, and display game-related information within the display area of the target image.
This feature enables users to directly initiate game searches while browsing community images, reducing page switching and manual input, thus improving the efficiency of obtaining game information and enhancing the user experience.
Smart Images

Figure CN123178722A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of application display technology, and in particular to a game retrieval method and related equipment based on community images. Background Technology
[0002] With the development of game communities and game content platforms, users can browse game screenshots, game promotional images, game character images, and game scene images posted by other users in the community. While browsing these images, other users may become interested in the games shown in the images and further want to know the name of the corresponding game, game details, or purchase information.
[0003] In existing technologies, when users cannot directly identify the corresponding game from community images, they usually need to determine the game name themselves based on identifiable information such as text, characters, and scenes in the images, or exit the current community page and enter the game store, game platform, or other pages to search. It often requires multiple searches and comparisons to determine the corresponding game. Summary of the Invention
[0004] In view of this, embodiments of this application provide a game retrieval method and related device based on community images to solve the problem that the operation efficiency of obtaining corresponding game information from community images is low in the prior art, which affects the user experience.
[0005] A first aspect of this application provides a game retrieval method based on a community image trigger. The method includes: in response to a preset touch operation on a target image on a community page, displaying a virtual control for triggering game retrieval within the display area of the target image; in response to a trigger operation on the virtual control, obtaining an image identifier, image features, and context information corresponding to the target image; performing game retrieval on a preset game platform based on the image identifier, image features, and context information to obtain multiple candidate games and an initial relevance degree corresponding to each candidate game; merging the multiple candidate games based on the game identifiers corresponding to each candidate game, and determining a target game matching the target image from the multiple candidate games based on the initial relevance degree corresponding to each merged candidate game; obtaining game-related information corresponding to the target game, and displaying the game-related information within the display area of the target image.
[0006] A second aspect of this application provides a game retrieval device triggered by a community image. The device includes: a response module, configured to display a virtual control for triggering game retrieval within the display area of the target image in response to a preset touch operation on a target image in a community page; an acquisition module, configured to acquire an image identifier, image features, and context information corresponding to the target image in response to the trigger operation on the virtual control; a retrieval module, configured to perform game retrieval on a preset game platform based on the image identifier, image features, and context information, obtaining multiple candidate games and an initial correlation degree corresponding to each candidate game; a determination module, configured to merge multiple candidate games based on the game identifier corresponding to each candidate game, and determine a target game matching the target image from the multiple candidate games based on the initial correlation degree corresponding to each merged candidate game; and a display module, configured to acquire game-related information corresponding to the target game and display the game-related information within the display area of the target image.
[0007] A third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described method.
[0008] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method.
[0009] The beneficial effects of this application embodiment compared with the prior art are as follows: In response to a preset touch operation on a target image on a community page, the method displays a virtual control within the display range of the target image to trigger game retrieval; in response to the trigger operation on the virtual control, it obtains the image identifier, image features, and context information corresponding to the target image; it performs game retrieval on a preset game platform based on the image identifier, image features, and context information to obtain multiple candidate games and their initial relevance; it merges the multiple candidate games based on their corresponding game identifiers, and determines the target game matching the target image from among the multiple candidate games based on the initial relevance of the merged candidate games; it obtains game-related information corresponding to the target game and displays it on the target image. Within the display area, game-related information is displayed. Thus, while users are browsing community images, a game search can be initiated directly based on the target image the user is currently viewing. By combining the image identifier, image features, and contextual information of the target image, the system identifies games matching the target image from multiple dimensions. After identifying the target game, the corresponding game-related information is directly displayed within the target image's display area. This seamlessly connects the community image browsing process with the game search result display process, reducing the need for users to switch between the community page and the game search page, as well as manually inputting and repeatedly confirming game information. This improves the efficiency of obtaining game information from community images, enhances the user experience, and avoids the problem of low efficiency and negative user experience associated with other technologies. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the 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 flowchart illustrating a game retrieval method based on community images provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a game retrieval device based on community image triggering provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0012] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0013] The following will describe in detail, with reference to the accompanying drawings, a game retrieval method and apparatus based on community image triggering according to an embodiment of this application.
[0014] Figure 1 This is a flowchart illustrating a game retrieval method based on community images provided in an embodiment of this application, as shown below. Figure 1 As shown, the method includes: S101. In response to a preset touch operation on a target image on a community page, a virtual control for triggering game retrieval is displayed within the display area of the target image; S102. In response to a trigger operation on a virtual control, obtain the image identifier, image features, and context information corresponding to the target image; S103. Based on image identifiers, image features, and contextual information, perform game searches on preset game platforms to obtain multiple candidate games and the initial correlation degree corresponding to each candidate game. S104. Merge multiple candidate games according to the game identifiers corresponding to each candidate game, and determine the target game that matches the target image from the multiple candidate games based on the initial correlation degree of each merged candidate game. S105. Obtain the game-related information and purchase interface corresponding to the target game, and display the game-related information within the display range of the target image.
[0015] It is understandable that a community page can be a game community, game forum, or other page used to display game-related content. The community page can include community content such as posts, comments, or updates published by users. The community content can include one or more images. The target image is the image on which the user currently performs a preset touch operation. For example, if the community page displays images A, B, and C at the same time, if the user performs a preset touch operation on image A, image A will be determined as the target image; if the user performs a preset touch operation on image B, image B will be determined as the target image. In other words, the target image can be dynamically determined based on the image on which the user currently performs a preset touch operation, rather than being fixed in advance.
[0016] It is understandable that when a terminal device supports multi-touch, a user may simultaneously or within a preset time interval perform touch operations on multiple images on a community page. In this case, according to a preset target image determination rule, one image is selected as the target image from the multiple touched images. For example, the image that was touched first is selected as the target image; another example is the image that was touched last; yet another example is randomly selected from the multiple touched images as the target image.
[0017] In other examples, when a user is detected to be touching multiple images simultaneously, a prompt for image selection can be displayed on the community page. For example, the multiple touched images can be highlighted, and the user can be prompted to select one of them. In response to the user's selection of one of the images, the selected image can be identified as the target image.
[0018] Furthermore, the target image can also be determined based on information such as touch duration, touch pressure, touch position, or touch sequence corresponding to different touch operations. This application does not limit the specific method for determining the target image in multi-touch scenarios.
[0019] Preset touch operations include, but are not limited to, short press, long press, double tap, multiple consecutive taps, swipe, or other preset gesture operations, and this application does not make specific limitations on them.
[0020] After detecting that a user performs a preset touch operation on a target image, the client determines the display range of the target image on the current community page and displays virtual controls to trigger game search within that range. For example, virtual controls such as "Identify Game" or "Find Game" are displayed on the edge area of the target image or near the user's touch position. Thus, the user can initiate a game search based on the target image they are currently browsing without leaving the current community page.
[0021] The display range of the target image on the current community page refers to the visible area actually occupied by the target image on the current community page. For example, the display range is determined by the top, bottom, left, and right boundaries of the target image on the community page. When the target image is scaled, cropped, or its position changes as the community page scrolls, the display range is updated accordingly to represent the area of the target image that is actually presented on the community page in the current display state.
[0022] In some examples, a virtual control for triggering game retrieval is displayed within the display area of the target image, including: obtaining the touch position corresponding to a preset touch operation; determining the target display position of the virtual control based on the display area of the target image and the touch position, wherein the target display position is within the display area; and displaying the virtual control at the target display position.
[0023] Specifically, after obtaining the touch position corresponding to the preset touch operation, the touch position is used as the reference for determining the display position of the virtual control, and the target display position is determined in combination with the display range of the target image.
[0024] For example, according to a preset positional relationship, a candidate display position is determined at a preset distance from the touch position. Based on the display size of the virtual control, it is determined whether the virtual control exceeds the display range of the target image when displayed at the candidate display position. If it does not exceed the target display position, the candidate display position is determined as the target display position. If it exceeds the target image, the candidate display position is adjusted according to the display boundary of the target image until the virtual control is within the display range of the target image.
[0025] In other examples, one or more preset display areas for displaying virtual controls can be set in advance within the display range of the target image, such as the top, bottom, left, or right area of the target image, and the target display position can be determined from one or more preset display areas based on the touch position. For example, a preset display area that is closer to the touch position can be selected, or a preset display area that obscures the main content in the target image to a lesser extent can be selected.
[0026] In some examples, if the display area of the target image is insufficient to accommodate the virtual control, the virtual control is displayed in an adjacent area of the target image. For example, it can be displayed above, below, to the left, or to the right of the target image, and the virtual control is positioned relative to the target image to indicate that the virtual control corresponds to the target image.
[0027] This application does not limit the specific display position and determination method of the virtual control within the display range of the target image, as long as it can establish a clear correspondence between the virtual control and the target image currently being operated by the user.
[0028] After the user performs a trigger operation on the virtual control, various information related to this game search is further obtained. Specifically, the various information includes, but is not limited to, the image identifier, image features, and context information corresponding to the target image.
[0029] Among them, the image identifier is used to uniquely or relatively uniquely identify the target image, and can be the image number corresponding to the target image, the image object identifier, or other identification information that can distinguish different images.
[0030] Image features are used to characterize the image content of a target image. For example, image features can be used to characterize the scene layout, character images, game interface, graphic elements, or other visual content in a target image, and can be obtained by feature extraction from the image data corresponding to the target image.
[0031] Contextual information refers to information related to the community content where the target image is located. For example, it includes at least one of the following: the post title, post body, post tags, the section to which the post belongs, and other content information displayed together with the target image. By introducing contextual information, it is possible to provide auxiliary information for subsequent game retrieval when it is difficult to accurately determine the corresponding game based solely on the image content of the target image itself.
[0032] In some examples, obtaining the image identifier, image features, and context information corresponding to the target image includes: obtaining the image identifier bound to the target image from the page data corresponding to the community page; obtaining the image data corresponding to the target image and performing feature extraction on the image data to obtain image features; determining the target community content carrying the target image and extracting context information from the content information corresponding to the target community content.
[0033] Furthermore, the page data includes image object data maintained by the community page when loading the target image, which may record the image number or image object identifier corresponding to the target image; the image data may be the original image data of the target image, or the image data obtained based on the currently displayed content of the target image; the target community content is the post, activity, or other community content unit to which the target image belongs.
[0034] In other words, the first game retrieval is performed based on image identifiers to obtain one or more candidate games and their corresponding initial correlation scores; the game retrieval is performed based on image features to obtain one or more candidate games and their corresponding initial correlation scores; and the game retrieval is performed based on context information to obtain one or more candidate games and their corresponding initial correlation scores.
[0035] For example, for the same target image, candidate game A can be retrieved based on the image identifier; candidate game A and candidate game B can be retrieved based on the image features; and candidate game A and candidate game C can be retrieved based on the context information. Thus, multiple candidate games from different retrieval paths and their corresponding initial correlations can be formed, so that repeated candidate games can be merged in the future, and the target game that matches the target image can be further determined.
[0036] Then, this application merges multiple candidate games based on the game identifiers corresponding to each candidate game, and determines the target game that matches the target image from the multiple candidate games based on the initial correlation degree corresponding to each merged candidate game.
[0037] Since different search information may lead to the same game, candidate results generated by different search paths can be merged based on the game identifiers corresponding to each candidate game.
[0038] For example, when the same game is retrieved based on image identifiers, image features, and contextual information, candidate results generated by different search paths can be merged into the same candidate game according to the game identifier corresponding to that game; for games retrieved only by some search paths, they can also be uniformly organized according to their corresponding game identifiers.
[0039] After merging the candidate games, the association between each candidate game and the target image is determined based on one or more initial association degrees corresponding to each candidate game, and the target game that matches the target image is identified from multiple candidate games.
[0040] It should be noted that this application does not limit the specific method for determining the target game based on the initial correlation. For example, multiple initial correlations can be compared directly, or multiple initial correlations can be further integrated before determining the target game.
[0041] After identifying the target game, this application further obtains the game-related information corresponding to the target game from a preset game platform based on the game identifier corresponding to the target game. The game-related information may include at least one of the following: game name, game cover, game description, game type, current price, game version, etc.
[0042] Furthermore, the purchase interface for the target game can also be obtained. This interface can include a display area for showing product information related to the target game, as well as controllable elements for triggering the purchase. For example, if the target game has standard, deluxe, or platform-specific versions, the purchase interface can display the corresponding product information for the user to choose from.
[0043] The client can overlay or embed game-related information (including the purchase interface if it is included) within the display area of the target image on the community page, based on the current display area of the target image, so that the search results for the target game remain relevant to the target image that the user is currently browsing.
[0044] In this way, while browsing community images, users can directly initiate game searches based on target images and obtain relevant game information without leaving the current image browsing context, thereby reducing page switching between community content browsing and game searches. When a purchase interface is included, the corresponding purchase interface can also be accessed without leaving the current image browsing context, further reducing page switching between community content browsing, game searches, and subsequent purchase operations.
[0045] According to the solution provided in the embodiments of this application, in response to a preset touch operation on a target image on a community page, a virtual control for triggering game retrieval is displayed within the display area of the target image; in response to the trigger operation on the virtual control, the image identifier, image features, and context information corresponding to the target image are obtained; game retrieval is performed on a preset game platform based on the image identifier, image features, and context information to obtain multiple candidate games and their initial relevance; the multiple candidate games are merged based on their respective game identifiers, and the target game matching the target image is determined from the multiple candidate games based on the initial relevance of the merged candidate games; game-related information corresponding to the target game is obtained and displayed within the display area of the target image. This system retrieves game-related information from community images. As users browse community images, they can directly initiate game searches based on the target image they are currently viewing. It then uses image identifiers, features, and contextual information to determine the game matching the target image from multiple dimensions. Once the target game is identified, its relevant information is directly displayed within the target image's display area. This seamlessly integrates the community image browsing process with the game search result display, reducing the need for users to switch between the community page and the game search page, as well as manually inputting and repeatedly confirming game information. This improves the efficiency of retrieving game information from community images, enhances the user experience, and avoids the low efficiency and negative impact on user experience often found in other technologies.
[0046] In some embodiments, the multiple candidate games include a first candidate game, a second candidate game, and a third candidate game, and the initial correlation includes a first initial correlation, a second initial correlation, and a third initial correlation. Game retrieval is performed on a preset game platform based on image identifiers, image features, and contextual information to obtain multiple candidate games and their corresponding initial correlations. This includes: matching image identifiers with the established association relationships between image identifiers and game identifiers on the preset game platform, and obtaining the first candidate game and the first initial correlation based on the correlation credibility corresponding to the association relationships; matching image features with reference image features corresponding to each game on the preset game platform, and determining the second candidate game and the second initial correlation based on the visual similarity obtained from the matching; and matching contextual information with text information corresponding to each game on the preset game platform, and determining the third candidate game and the third initial correlation based on the text matching degree obtained from the matching.
[0047] Among them, the association credibility is used to characterize the reliability of the association relationship between the pre-established image identifier and the game identifier. For example, for images that are directly referenced by game information from the preset game platform and whose game has been verified, a higher association credibility is set for their corresponding association relationship; for association relationships established through other means and that have not yet been fully verified, a relatively lower association credibility is set.
[0048] Furthermore, visual similarity is used to characterize the degree of similarity between the image features of the target image and the reference image features of the corresponding game; text matching degree is used to characterize the degree of matching between the context information corresponding to the target image and the text information of the corresponding game. Thus, candidate games from different sources and their corresponding initial correlation degrees can be obtained through preset association relationships, the visual content of the target image itself, and the context information of the community content where the target image is located, providing a basis for merging multiple search results in the future.
[0049] In some examples, the target game that matches the target image is determined from multiple candidate games based on the initial relevance of each candidate game after merging. This includes: determining the comprehensive relevance of each candidate game based on the first, second, and third initial relevance of each candidate game after merging, as well as the preset weights corresponding to each initial relevance; and determining the target game from multiple candidate games based on the comprehensive relevance of each candidate game.
[0050] Here, the first initial correlation corresponds to the first preset weight, the second initial correlation corresponds to the second preset weight, and the third initial correlation corresponds to the third preset weight. Different preset weights can be preset according to the reliability of the corresponding search information. For example, since the first candidate game determined based on image identifiers comes from the pre-established association between image identifiers and game identifiers, the first preset weight can be set higher than the second and third preset weights. The visual matching results obtained based on image features can directly reflect the similarity between the target image and the game reference image, so the second preset weight can be set higher than the third preset weight. Contextual information such as post titles, tags, and the category to which they belong is mainly used to assist in the judgment, so a relatively low third preset weight can be set for the third initial correlation.
[0051] When the same candidate game is obtained through multiple search methods, the multiple initial relevance scores corresponding to the candidate game can be merged according to their respective preset weights to obtain the comprehensive relevance score. For example, if the first initial relevance score, the second initial relevance score, and the third initial relevance score are denoted as X, Y, and Z respectively, and the corresponding first preset weight, second preset weight, and third preset weight are denoted as a, b, and c respectively, then the comprehensive relevance score s corresponding to the candidate game is: S = aX + bY + cZ.
[0052] Among them, a, b, and c can be preset according to the reliability of different search information. For example, a>b>c can be satisfied so that the search results obtained based on the pre-established association between image identifiers and game identifiers have higher weight, the visual search results obtained based on image features are second, and the search results obtained based on context information are used as auxiliary.
[0053] Furthermore, multiple candidate games are ranked according to their comprehensive relevance, and the target game that matches the target image is determined based on the ranking results. Specifically, based on the comprehensive relevance of each candidate game, the highest-ranking candidate game with the highest comprehensive relevance and the second-highest-ranking candidate game with the second-highest comprehensive relevance are determined. If the comprehensive relevance of the highest-ranking candidate game is greater than or equal to a first preset threshold, and the difference in comprehensive relevance between the highest-ranking candidate game and the second-highest-ranking candidate game is greater than or equal to a second preset threshold, the highest-ranking candidate game is determined as the target game.
[0054] Understandably, if the overall correlation degree of the highest-correlation candidate game is greater than or equal to the first preset threshold, and the difference in overall correlation degree between the highest-correlation candidate game and the second-highest-correlation candidate game is greater than or equal to the second preset threshold, it indicates that the highest-correlation candidate game has a high degree of correlation with the target image and has a high degree of distinguishability compared to other candidate games. Therefore, the highest-correlation candidate game can be identified as the target game that matches the target image.
[0055] If the overall correlation degree of the candidate game with the highest correlation degree is less than the first preset threshold, it indicates that the correlation between the candidate game with the highest overall correlation degree and the target image is still insufficient to meet the determination conditions of the target game. At this time, it can be determined that no target game that meets the conditions has been found. For example, a prompt message that no matching game has been found can be output, or the user can be prompted to reselect the target image, reselect the area to be identified, or re-initiate the game search.
[0056] If the overall correlation degree of the highest-correlation candidate game is greater than or equal to the first preset threshold, but the difference in overall correlation degree between the highest-correlation candidate game and the second-highest-correlation candidate game is less than the second preset threshold, it indicates that although the current candidate game has a high degree of correlation with the target image, the distinction between the highest-correlation candidate game and the second-highest-correlation candidate game is low, making it difficult to reliably determine one of the candidate games as the target game. In this case, multiple candidate games, including the highest-correlation candidate game and the second-highest-correlation candidate game, can be displayed within the display range of the target image for the user to choose from. In response to the user's selection of one of the candidate games, the candidate game selected by the user can be determined as the target game. In other examples, supplementary image information or supplementary context information corresponding to the target image can also be further obtained, and the overall correlation degree of each candidate game can be re-determined based on the supplementary information.
[0057] For example, if the first preset threshold is 0.8, the second preset threshold is 0.1, the comprehensive correlation of candidate game A is 0.92, and the comprehensive correlation of candidate game B is 0.76, then the comprehensive correlation of candidate game A is greater than the first preset threshold, and the difference in comprehensive correlation between candidate game A and candidate game B is 0.16, which is greater than the second preset threshold. Therefore, candidate game A can be identified as the target game.
[0058] For example, if the overall correlation of candidate game A is 0.72, even if candidate game A is the candidate game with the highest overall correlation among multiple candidate games, since its overall correlation is lower than the first preset threshold of 0.8, it can be determined that there is currently no candidate game that meets the conditions for determining the target game.
[0059] For example, candidate game A has a comprehensive relevance score of 0.90, while candidate game B has a comprehensive relevance score of 0.86. Although the comprehensive relevance score of candidate game A is greater than the first preset threshold of 0.8, the difference in comprehensive relevance scores between candidate game A and candidate game B is only 0.04, which is less than the second preset threshold of 0.1. Therefore, it can be considered that the distinction between candidate game A and candidate game B is insufficient. In this case, candidate game A and candidate game B can be displayed to the user for selection.
[0060] In some simplified implementations, the first and second preset thresholds may not be used simultaneously. For example, the candidate game with the highest overall correlation can be directly identified as the target game; or, only the first preset threshold can be set, and if the overall correlation of the candidate game with the highest overall correlation is greater than or equal to the first preset threshold, that candidate game is identified as the target game. This application does not limit the specific method for determining the target game based on the overall correlation.
[0061] In some examples, game-related information is displayed within the display area of the target image, including: generating an interactive layer bound to the target image within the image container corresponding to the target image based on the display area of the target image; displaying game-related information in the interactive layer; and limiting the boundaries of the interactive layer according to the display area to ensure that the interactive layer is within the display area of the target image.
[0062] The image container is a page component in the community page used to hold and display the target image. The display area of the image container corresponds to the current display range of the target image. The interaction layer is overlaid on the target image and is used to hold at least one of the following information: game name, game cover, game description, game price, and operation information such as viewing details and purchasing.
[0063] Binding to the target image refers to establishing a correspondence between the interactive layer and the target image in terms of display position. When the target image changes position as the community page scrolls, the interactive layer can move synchronously with the target image. When the target image is scaled or its display area changes, the position or displayable area of the interactive layer is updated accordingly so that the interactive layer continues to correspond to the target image.
[0064] Furthermore, the display area of the interactive layer can be restricted based on the top, bottom, left, and right boundaries of the target image. For example, interactive layer content that exceeds the display range of the target image can be cropped or hidden, so that the game-related information actually presented to the user remains within the display range of the target image.
[0065] In some examples, the display area of the interactive layer can be determined within the display range of the target image based on the display space required for game-related information. For example, the interactive layer can be preferentially set in the bottom area of the target image or in an area that does not obscure the main content of the target image. When there is a lot of game-related information to be displayed, a scrolling area can be set in the interactive layer to display more game-related information without changing the display size of the target image.
[0066] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.
[0067] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0068] This embodiment also provides a game retrieval device based on community image triggering, such as Figure 2 As shown, the game retrieval device triggered by community images includes: The response module 201 is used to respond to a preset touch operation on a target image on the community page and display a virtual control for triggering game retrieval within the display area of the target image; The acquisition module 202 is used to acquire the image identifier, image features and context information corresponding to the target image in response to the trigger operation of the virtual control; The retrieval module 203 is used to perform game retrieval in the preset game platform according to image identifier, image features and context information, and obtain multiple candidate games and the initial relevance of each candidate game; The determination module 204 is used to merge multiple candidate games according to the game identifiers corresponding to each candidate game, and determine the target game that matches the target image from the multiple candidate games according to the initial correlation degree corresponding to each merged candidate game. The display module 205 is used to obtain game-related information corresponding to the target game and display the game-related information within the display range of the target image.
[0069] In some examples, a virtual control for triggering game retrieval is displayed within the display area of the target image, including: obtaining the touch position corresponding to a preset touch operation; determining the target display position of the virtual control based on the display area of the target image and the touch position, wherein the target display position is within the display area; and displaying the virtual control at the target display position.
[0070] In some examples, obtaining the image identifier, image features, and context information corresponding to the target image includes: obtaining the image identifier bound to the target image from the page data corresponding to the community page; obtaining the image data corresponding to the target image and performing feature extraction on the image data to obtain image features; determining the target community content to which the target image belongs and obtaining the content information corresponding to the target community content, using the content information as context information.
[0071] In some examples, multiple candidate games include a first candidate game, a second candidate game, and a third candidate game, and initial association scores include a first initial association score, a second initial association score, and a third initial association score. Game retrieval is performed on a preset game platform based on image identifiers, image features, and contextual information to obtain multiple candidate games and their corresponding initial association scores. This includes: matching image identifiers with the established association relationships between image identifiers and game identifiers on the preset game platform, and obtaining the first candidate game and the first initial association score based on the association credibility corresponding to the association relationships; matching image features with the reference image features corresponding to each game on the preset game platform, and determining the second candidate game and the second initial association score based on the visual similarity obtained from the matching; and matching contextual information with the text information corresponding to each game on the preset game platform, and determining the third candidate game and the third initial association score based on the text matching degree obtained from the matching.
[0072] In some examples, the target game that matches the target image is determined from multiple candidate games based on the initial relevance of each candidate game after merging. This includes: determining the comprehensive relevance of each candidate game based on the first, second, and third initial relevance of each candidate game after merging, as well as the preset weights corresponding to each initial relevance; and determining the target game from multiple candidate games based on the comprehensive relevance of each candidate game.
[0073] In some examples, the target game is determined from multiple candidate games based on the comprehensive correlation degree corresponding to each candidate game. This includes: determining the first candidate game with the highest comprehensive correlation degree and the second candidate game with the second highest comprehensive correlation degree based on the comprehensive correlation degree corresponding to each candidate game; and determining the first candidate game as the target game if the comprehensive correlation degree corresponding to the first candidate game is greater than or equal to a first preset threshold and the difference in comprehensive correlation degree between the first candidate game and the second candidate game is greater than or equal to a second preset threshold.
[0074] In some examples, game-related information is displayed within the display area of the target image, including: generating an interactive layer bound to the target image within the image container corresponding to the target image based on the display area of the target image; displaying game-related information in the interactive layer; and limiting the boundaries of the interactive layer according to the display area to ensure that the interactive layer is within the display area of the target image.
[0075] According to the technical solution provided in this application embodiment, the device responds to a preset touch operation on a target image on a community page by displaying a virtual control for triggering game retrieval within the display range of the target image; responds to the trigger operation on the virtual control by obtaining the image identifier, image features, and context information corresponding to the target image; performs game retrieval on a preset game platform based on the image identifier, image features, and context information to obtain multiple candidate games and their initial relevance; merges the multiple candidate games based on their respective game identifiers, and determines the target game matching the target image from among the multiple candidate games based on the initial relevance of the merged candidate games; obtains game-related information corresponding to the target game and displays it within the display range of the target image. By displaying game-related information, this technology allows users to directly initiate game searches based on the target image they are currently viewing while browsing community images. It combines the target image's identifier, image features, and contextual information to determine the game matching the target image from multiple dimensions. Once the target game is identified, its relevant information is directly displayed within the target image's display area. This seamlessly integrates the community image browsing process with the game search result display process, reducing the need for users to switch between the community page and the game search page, as well as manually inputting and repeatedly confirming game information. This improves the efficiency of retrieving game information from community images, enhances the user experience, and avoids the low efficiency and negative impact on user experience often found in other technologies.
[0076] Figure 3 This is a schematic diagram of the electronic device 3 provided in an embodiment of this application. Figure 3 As shown, the electronic device 3 of this embodiment includes: a processor 301, a memory 302, and a computer program 303 stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program 303, it implements the steps in the various method embodiments described above. Alternatively, when the processor 301 executes the computer program 303, it implements the functions of each module / unit in the various device embodiments described above.
[0077] Electronic device 3 can be a desktop computer, laptop, handheld computer, cloud server, or other electronic device. Electronic device 3 may include, but is not limited to, processor 301 and memory 302. Those skilled in the art will understand that... Figure 3 This is merely an example of electronic device 3 and does not constitute a limitation on electronic device 3. It may include more or fewer components than shown, or different components.
[0078] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0079] The memory 302 can be an internal storage unit of the electronic device 3, such as a hard disk or memory of the electronic device 3. The memory 302 can also be an external storage device of the electronic device 3, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic device 3. The memory 302 can also include both internal and external storage units of the electronic device 3. The memory 302 is used to store computer programs and other programs and data required by the electronic device.
[0080] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0081] If an integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program may include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. A computer-readable medium may include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in a computer-readable medium can be appropriately added to or subtracted according to the requirements of legislation and patent practice in a jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.
[0082] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A game retrieval method based on community image triggers, characterized in that, The method includes: In response to a preset touch operation on a target image on a community page, a virtual control for triggering game retrieval is displayed within the display area of the target image; In response to a trigger operation on the virtual control, the image identifier, image features, and context information corresponding to the target image are obtained; Based on the image identifier, the image features, and the context information, game searches are performed on preset game platforms to obtain multiple candidate games and the initial correlation degree corresponding to each candidate game. The candidate games are merged according to their respective game identifiers, and the target game that matches the target image is determined from the candidate games based on the initial correlation degree of each merged candidate game. Obtain game-related information corresponding to the target game, and display the game-related information within the display range of the target image.
2. The method according to claim 1, characterized in that, A virtual control for triggering game retrieval is displayed within the display area of the target image, including: Obtain the touch position corresponding to the preset touch operation; Based on the display range of the target image and the touch position, the target display position corresponding to the virtual control is determined, wherein the target display position is located within the display range; The virtual control is displayed at the target display location.
3. The method according to claim 1, characterized in that, Obtain the image identifier, image features, and context information corresponding to the target image, including: Obtain the image identifier bound to the target image from the page data corresponding to the community page; Obtain the image data corresponding to the target image, and perform feature extraction on the image data to obtain the image features; Determine the target community content to which the target image belongs, and obtain the content information corresponding to the target community content, using the content information as the context information.
4. The method according to any one of claims 1-3, characterized in that, The candidate games include a first candidate game, a second candidate game, and a third candidate game, and the initial correlation includes a first initial correlation, a second initial correlation, and a third initial correlation. Based on the image identifier, image features, and context information, game searches are performed on preset game platforms to obtain multiple candidate games and their corresponding initial relevance, including: The image identifier is matched with the association relationship between image identifiers and game identifiers established in the preset game platform, and the first candidate game and the first initial association degree are obtained according to the association credibility corresponding to the association relationship. The image features are matched with the reference image features corresponding to each game in the preset game platform, and the second candidate game and the second initial correlation degree are determined based on the visual similarity obtained from the matching. The context information is matched with the text information corresponding to each game in the preset game platform, and the third candidate game and the third initial correlation degree are determined based on the text matching degree obtained.
5. The method according to claim 4, characterized in that, Based on the initial correlation degree corresponding to each of the merged candidate games, a target game matching the target image is determined from the plurality of candidate games, including: Based on the first initial correlation degree, the second initial correlation degree, and the third initial correlation degree corresponding to each of the merged candidate games, and the preset weight corresponding to each initial correlation degree, the comprehensive correlation degree corresponding to each candidate game is determined. The target game is determined from the plurality of candidate games based on the comprehensive correlation degree corresponding to each of the candidate games.
6. The method according to claim 5, characterized in that, Based on the comprehensive correlation degree corresponding to each of the candidate games, the target game is determined from the plurality of candidate games, including: Based on the comprehensive correlation degree corresponding to each candidate game, determine the highest-correlation candidate game with the highest comprehensive correlation degree and the second-highest-correlation candidate game with the second-highest comprehensive correlation degree. If the overall correlation degree corresponding to the highest-correlation candidate game is greater than or equal to a first preset threshold, and the difference in overall correlation degree between the highest-correlation candidate game and the second-highest-correlation candidate game is greater than or equal to a second preset threshold, then the highest-correlation candidate game is determined as the target game.
7. The method according to claim 4, characterized in that, The game-related information is displayed within the display area of the target image, including: Based on the display range of the target image, an interactive layer bound to the target image is generated within the image container corresponding to the target image; The game-related information is displayed in the interaction layer, and the boundaries of the interaction layer are restricted according to the display range so that the interaction layer is within the display range of the target image.
8. A game retrieval device based on community image triggering, characterized in that, The device includes: The response module is used to respond to a preset touch operation on a target image on the community page and display a virtual control for triggering game retrieval within the display area of the target image; The acquisition module is used to acquire the image identifier, image features, and context information corresponding to the target image in response to a trigger operation on the virtual control. The retrieval module is used to perform game retrieval in a preset game platform based on the image identifier, the image features and the context information, and to obtain multiple candidate games and the initial correlation degree corresponding to each candidate game. The determining module is used to merge the multiple candidate games according to the game identifiers corresponding to each candidate game, and determine the target game that matches the target image from the multiple candidate games according to the initial correlation degree corresponding to each of the merged candidate games; The display module is used to obtain game-related information corresponding to the target game and display the game-related information within the display range of the target image.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 7.
