Method and device for displaying information in game, storage medium and electronic equipment
By displaying an interactive interface on the display interface of the terminal device and determining the target query keyword based on the original keyword, the problems of low search efficiency and untimely information display in the prior art are solved, and more efficient and convenient information retrieval and show.
Patent Information
- Application Number
- CN202311058522.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-21
- Publication Date
- 2025-02-21
AI Technical Summary
In the existing information display method, users need to enter all keyword information through the search box, resulting in low retrieval efficiency and untimely information display.
The first interactive interface is displayed on the display interface of the terminal device, including the original keywords, determine the target query keyword based on these keywords, and obtain the target game information card corresponding to the target query keyword, and finally display the Information card.
By retrieving and displaying information without entering all keyword information, the search efficiency and timeliness of information display are improved, and the convenience and user experience of users during information retrieval is improved.
Smart Images

Figure CN119488713A_ABST
Abstract
Description
Background Art
[0002] In the existing information display method, the user needs to input all the keyword information through the search box before information retrieval and information display can be performed. However, the retrieval efficiency of this method is low, which leads to untimely information display.
[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0004] The purpose of the present disclosure is to provide an information display method in a game, an information display device in a game, a computer-readable storage medium, and an electronic device, thereby at least to a certain extent overcoming the problems of low retrieval efficiency and untimely information display caused by the limitations and defects of related technologies.
[0005] According to one aspect of the present disclosure, there is provided a method for displaying information in a game, comprising:
[0006] Displaying a first interactive interface in a first display area on a display interface of a terminal device; wherein the first interactive interface includes original keywords;
[0007] Determine a target query keyword based on the original keyword, and obtain a target game information card corresponding to the target query keyword;
[0008] The target game information card corresponding to the target query keyword is displayed in the first display area.
[0009] According to one aspect of the present disclosure, there is provided an information display device in a game, comprising:
[0010] A first interactive interface display module, configured to display a first interactive interface in a first display area on a display interface of a terminal device; wherein the first interactive interface includes original keywords;
[0011] A target query keyword determination module, used to determine a target query keyword based on the original keyword, and obtain a target game information card corresponding to the target query keyword;
[0012] The target game information card display module is used to display the target game information card corresponding to the target query keyword in the first display area.
[0013] According to one aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for displaying information in a game described in any one of the above is implemented.
[0014] According to one aspect of the present disclosure, there is provided an electronic device, including:
[0015] Processor; and
[0016] A memory, configured to store executable instructions of the processor;
[0017] Wherein, the processor is configured to execute any one of the above-mentioned methods for displaying information in a game by executing the executable instructions.
[0018] An information display method in a game provided by an embodiment of the present disclosure, on the one hand, displays a first interactive interface in a first display area on a display interface of a terminal device; then determines a target query keyword based on an original keyword, and obtains a target game information card corresponding to the target query keyword; finally, displays the target game information card corresponding to the target query keyword in the first display area. Since the target query keyword can be determined based on the original keyword, information retrieval and information display can be performed without inputting all the keyword information, thereby improving the timeliness of information display on the basis of improving retrieval efficiency; on the other hand, since there is no need to input all the keyword information, the problem of inconvenient information retrieval due to excessive input of information can be avoided, thereby improving the convenience of users in information retrieval, thereby achieving the purpose of improving user experience.
[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0021] Figure 1 The flowchart schematically shows a method for displaying information in a game according to an exemplary embodiment of the present disclosure.
[0022] Figure 2 An example diagram of a display interface scene including a first display area and a second display area according to an example embodiment of the present disclosure is schematically shown.
[0023] Figure 3 An example diagram of an interface obtained by displaying preset system theme keywords according to an example embodiment of the present disclosure is schematically shown.
[0024] Figure 4 An example diagram of an interface obtained by displaying historical search keywords according to an example embodiment of the present disclosure is schematically shown.
[0025] Figure 5 An example diagram of an interface for performing a fuzzy search on the keyword to be queried in a first keyword library to obtain a current query result according to an example embodiment of the present disclosure is schematically shown.
[0026] Figure 6 An example diagram of an interface for displaying a target game information card according to an example embodiment of the present disclosure is schematically shown.
[0027] Figure 7 An example diagram of an interface for adding a target game information card according to an example embodiment of the present disclosure is schematically shown.
[0028] Figure 8 The flowchart schematically shows another method for displaying information in a game according to an exemplary embodiment of the present disclosure.
[0029] Fig. 9 A block diagram schematically illustrates an information display device in a game according to an exemplary embodiment of the present disclosure.
[0030] Fig.10 An electronic device for implementing the information display method in the game according to an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0031] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0032] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0033] In mobile games, players need to search for information through the search box, which involves text input and the presentation of search results. Specifically, in actual application, information retrieval in the game can be achieved in the following ways: first, click the search bar; second, enter the search text details, that is, keywords; then, click the search button; finally, the search results appear. However, there are some problems with this process, such as inconvenient input, low efficiency, and a lengthy search process. For these problems, the existing technology does not provide an effective solution.
[0034] Based on this, this example implementation first provides a method for displaying information in a game, which can be run on a terminal device; of course, those skilled in the art can also run the method of the present disclosure on other platforms as needed, and this exemplary embodiment does not specifically limit this. Exemplarily, the terminal device described here can be a TV, a computer, a mobile terminal (such as a smart phone, a tablet computer, etc.), a PC or a display, etc. It should be noted that the specific device form of the display terminal can be set according to actual conditions, and all belong to the scope of protection of the present disclosure. Specifically, refer to Figure 1 As shown, the information display method in the game may include the following steps:
[0035] Step S110. Displaying a first interactive interface in a first display area on a display interface of a terminal device; wherein the first interactive interface includes original keywords;
[0036] Step S120. Determine a target query keyword based on the original keyword, and obtain a target game information card corresponding to the target query keyword;
[0037] Step S130: Display the target game information card corresponding to the target query keyword in the first display area.
[0038] In the information display method in the above-mentioned game, on the one hand, the first interactive interface is displayed in the first display area on the display interface of the terminal device; then the target query keyword is determined based on the original keyword, and the target game information card corresponding to the target query keyword is obtained; finally, the target game information card corresponding to the target query keyword is displayed in the first display area. Since the target query keyword can be determined based on the original keyword, information retrieval and information display can be performed without entering all the keyword information, thereby improving the timeliness of information display on the basis of improving retrieval efficiency; on the other hand, since there is no need to enter all the keyword information, the problem of inconvenient information retrieval due to excessive input of information can be avoided, thereby improving the convenience of users in information retrieval, thereby achieving the purpose of improving user experience.
[0039] Hereinafter, the information display method in the game recorded in the exemplary embodiment of the present disclosure will be further explained and illustrated in conjunction with the accompanying drawings.
[0040] First, the application scenario of the information display method in the game recorded in the exemplary embodiment of the present disclosure is explained and illustrated. Specifically, the method recorded in the exemplary embodiment of the present disclosure can be applied to information retrieval tasks in various game scenarios; for example, in some MOBA (Multiplayer Online Battle Arena) games, some virtual objects have a variety of different skins; in this scenario, the skin you need can be determined by information retrieval; for another example, in some third-person perspective games, some virtual objects have a variety of different shooting angles or shooting speeds; in this scenario, the shooting angle or shooting speed you need can be determined by information retrieval.
[0041] Secondly, the technical principle of the exemplary embodiment of the present disclosure is explained and illustrated. Specifically, the information display method in the game proposed in the exemplary embodiment of the present disclosure provides an information retrieval solution based on associative memory; in the process of actual application, the information retrieval efficiency and experience of the player in the game can be improved through guidance, fuzzy search and information cards. Specifically, the solution mainly includes the following three steps: the first step: before the player performs information retrieval, assist the retrieval; at the same time, in this step, the player can be assisted in information retrieval through in-game keyword guidance and search records to improve the retrieval efficiency; the second step: fuzzy search based on keywords; specifically, in this step, after the player enters the text, the fuzzy search is used to quickly associate related information to improve the player's retrieval efficiency; the third step: information visualization preview; specifically, in this step, when the information content entered by the player corresponds to the content in the game one by one, the in-game information card of the content is directly displayed above the search bar, providing information summary and shortcut functions to help players quickly complete information retrieval. Based on the above-mentioned three steps and the determination of relevant rules, it can solve the problem of players quickly finding effective information and improving retrieval efficiency in the process of retrieving information in the game, thereby improving the game experience.
[0042] In the following, we will take the skin replacement scene of virtual objects in MOBA (Multiplayer Online Battle Arena) games as an example to explain the Figure 1 The information display method in the game described in the following is further explained and illustrated. Specifically:
[0043] In step S110, a first interactive interface is displayed in a first display area on a display interface of a terminal device; wherein the first interactive interface includes original keywords.
[0044] Specifically, the first display area described herein may be as follows: Figure 2 As shown in 201; the first interactive interface recorded here refers to an interactive interface in the game related to skin information retrieval; in the first interactive interface, multiple UI interactive controls related to skin information retrieval or replacement may be included; for example, Figure 2The "suit" interactive controls, "matching" interactive controls, "fashion" interactive controls, etc. shown in the figure; in the actual application process, the corresponding UI interactive controls can be set in the first display area according to actual needs, and this example does not impose special restrictions on this; of course, the first interactive interface can also include an information retrieval area; wherein, in the information retrieval area, corresponding keyword display area 202 and keyword retrieval area 203, etc. can be included. Further, the original keywords recorded here can include pre-set system theme keywords or historical retrieval keywords, etc.; wherein, the pre-set system theme keywords are the theme names set for each skin by the game developers during the game development process; wherein, the specific display results can be referred to. Figure 3 As shown; for example, the latest fashion, season limited, xx theme, xx hero exclusive, xx style exclusive, etc.; further, the historical search keywords can be used to represent the historical search records of the current user; wherein, the historical search records may include Niuqi Chongtian, Hupi Nuannuan, Yitiaolong, etc.; wherein, the specific display results can be referred to Figure 4 shown.
[0045] In step S120, a target query keyword is determined based on the original keyword, and a target game information card corresponding to the target query keyword is obtained.
[0046] In this example embodiment, first, the target query keyword is determined based on the original keyword; wherein, in the scenario of the original keyword recorded above, the determination of the target query keyword based on the original keyword recorded here can be implemented in the following two ways:
[0047] The first implementation method is: first, in response to a first touch event for the pre-set system subject keyword, the target subject keyword is determined, and a subject keyword library corresponding to the target subject keyword is loaded; secondly, the original keyword to be queried is determined, and a fuzzy search is performed on the original keyword to be queried in the subject keyword library to obtain the current query result; then, in response to a second touch event for the current query result, the target query keyword is determined from the current query result.
[0048] In an exemplary embodiment, determining the original keyword to be queried can be achieved in the following manner: first, displaying a second interactive interface in a second display area on the display interface; wherein the second interactive interface includes a virtual keyboard; second, in response to a third touch event for the virtual keyboard, obtaining character information of a keyboard control corresponding to the third touch event, and displaying a first original word corresponding to the character information in the second display area; then, performing associative memory on the first original word to obtain an associative memory result, and displaying the associative memory result in the second display area; finally, in response to a fourth touch event for the associative memory result, determining the original keyword to be queried.
[0049] In an example embodiment, in response to a first touch event for the pre-set system theme keyword, determining the target theme keyword can be achieved in the following manner: first, obtaining the pre-set system theme keyword, and determining the theme keyword to be displayed based on the number of times the system theme keyword has been searched; second, displaying the theme keyword to be displayed in the first interactive interface, and determining the target theme keyword in response to the first touch event for the theme keyword displayed in the first interactive interface.
[0050] Below, the specific implementation process of determining the target query keywords through the pre-set system theme keywords will be explained and illustrated. Specifically, in the actual application process, a new rule judgment can be added in the game to achieve the purpose of helping players to guide keyword searches (that is, quickly determine the target query keywords based on the pre-set system theme keywords). Among them, the rule judgment combines the positioning of the system function and the content recommended for players to search. For example, the search function in the game fashion system will push the latest fashion, season limited, XX theme and other keyword tags to players; at the same time, players click on the keyword tag to quickly filter out the information content that meets the tag; it should be supplemented here that for searches under different types of systems, the guided keywords are different; in the actual application process, it may be necessary to combine the specific game context and system function to determine the specific entry content of this system theme keyword.
[0051] In a possible example embodiment, when the player needs to change the skin of the virtual object controlled by the current terminal device, the player can click on the interactive control for changing the image in the game scene; when a touch event for the interactive control for changing the image is detected, the first interactive interface can be displayed; then, the corresponding search keywords, that is, the pre-set system theme keywords, are displayed in the keyword display area of the first interactive interface; wherein, in the actual application process, due to the limitation of the size of the display area, only a certain number of system theme keywords can be quantitatively displayed; based on this, in order to provide players with more accurate system theme keywords, they can be determined according to the popularity of each system theme keyword; wherein, the popularity of each system theme keyword can be determined according to the number of times the system theme keyword has been searched; of course, the theme keywords to be displayed can also be determined according to other factors, for example, according to factors such as the virtual objects included in the current game scene and the time nodes of the current game, and this example does not impose any special restrictions on this.
[0052] Furthermore, after obtaining the target subject keyword, the subject keyword library corresponding to the target subject keyword can be loaded; the reason why the subject keyword library needs to be loaded here is so that a fuzzy search can be performed in the subject keyword library in the subsequent process of the user inputting keywords; that is, the reason why the target subject keyword needs to be determined before conducting a formal search is so that the specific search scope can be limited to the system corresponding to the subject keyword library, thereby achieving the purpose of reducing the search scope, improving the accuracy of the search results retrieved, and improving the search efficiency.
[0053] Furthermore, it is necessary to determine the original keywords to be queried, and perform a fuzzy search on the original keywords to be queried in the subject keyword library to obtain the current query result. Figure 2As shown in 204; at the same time, the second interactive interface recorded here is an interactive interface corresponding to the virtual keyboard, which may include multiple different virtual keys; at the same time, based on the virtual keys, the original keywords to be queried entered by the user can be obtained; at the same time, in the actual application process, since the input method has a corresponding associative memory function, when the user (also known as the player) enters word by word or word by word, it will be in real time according to the word or word currently entered by the user. Memory and display the associative memory result; when the user finds that the original keyword to be queried exists in the associative memory result, the word can be clicked from the associative memory result as the original keyword to be queried. It should be noted here that the reason why the associative memory is used here is that the user has the problem of inconvenience in inputting during the game; therefore, the associative memory can be performed by a small number of input words or words to determine the keywords to be queried so as to achieve the purpose of reducing the complexity of input. Further, in the actual application process, if the required keywords to be queried do not appear in the associative memory result, continuous input can be performed until the required keywords to be queried exist in the corresponding display result.
[0054] It should be noted that the specific determination process of the original keywords to be queried recorded in the exemplary embodiment of the present disclosure is based on input of a virtual keyboard; of course, in the actual application process, it can also be input through an external device; that is, the corresponding character information can be input through an external hardware device to obtain the keywords to be queried; of course, when inputting through an external hardware device, there is also an associative memory process; through this method, the original keywords to be queried can also be quickly obtained. In the actual application process, the corresponding input method can be selected according to the actual situation of the terminal device, and this example does not impose any special restrictions on this.
[0055] In an exemplary embodiment, after obtaining the original query keyword, the original query keyword can be fuzzy searched in the subject keyword library to obtain the current query result. Specifically, all results corresponding to the original query keyword can be matched in the subject keyword; wherein the current query result can include query results with 100% similarity and query results with less similarity; in the actual application process, reference Figure 5As shown, assuming that the original keyword to be queried is "Niuqi", the current query results obtained may include but are not limited to "Niuqi Chongtian", "Niuqi Honghong", "Niuqi Niuniu" and "Niuqi Yaoyao", etc.; in the actual application process, the current query results can be determined according to the specific original keyword to be queried and the specific content in the subject keyword thesaurus, and this example does not make special restrictions on this. Finally, the target query keyword is determined from the current query results; the determined target query keyword can be, for example, "Niuqi Manman", of course, it can also be other keywords, and this example does not make special restrictions on this.
[0056] The second implementation method is: first, obtain the historical search keywords, and determine the target search keywords from the historical search keywords according to the historical search time of the historical search keywords; second, display the target search keywords in the first interactive interface, and determine the target search keywords in response to the fifth touch event for the target search keywords displayed in the first interactive interface. That is, in the actual application process, after the player uses the search function of the system for the first time, when the player searches for the second time, the first search record will be retained, sorted by time, and up to 4-5 will be displayed to help the player associate and search quickly again.
[0057] In a possible example embodiment, when the player needs to change the skin of the virtual object controlled by the current terminal device, the player can click on the interactive control for changing the image in the game scene; when a touch event for the interactive control for changing the image is detected, the first interactive interface can be displayed; then, the corresponding search keywords, that is, the historical search keywords, are displayed in the keyword display area of the first interactive interface; wherein, in the actual application process, due to the limitation of the size of the display area, only a certain number of historical search keywords can be quantitatively displayed; based on this, the target search keywords can be determined according to the search time of each historical search keyword; for example, the 4-5 historical search keywords closest to the current time node can be used as the target search keywords; of course, the user preferences can also be determined based on the user's historical search records, and then the target query keywords can be determined based on the user preferences, etc. This example does not impose any special restrictions on this.
[0058] It should be noted that if it is detected that the user is logging into the game for the first time and there are no historical search keywords, the system theme keywords can be directly recommended; at the same time, in a possible example embodiment, the system theme keywords and the historical search keywords can also be displayed at the same time; for example, the two keywords with the highest popularity values are selected from the system theme keywords as the target system keywords, and two keywords are selected from the historical search keywords as the target search keywords, and then the target system keywords and the target search keywords are displayed in the keyword display area. In the actual application process, the corresponding display rules can be configured according to actual needs, and this example does not impose special restrictions on this.
[0059] It should be further explained here that, in actual application, if method 2 cannot provide the target query keywords required by the user, the target query keywords can be determined by the method provided by method 1; of course, the target query keywords can also be determined based on both methods at the same time, and this example does not impose any special restrictions on this.
[0060] At this point, the specific determination process of the target query keyword has been fully realized. At the same time, after obtaining the target query keyword, it is also necessary to obtain the target game information card corresponding to the target query keyword. Specifically, the target game information card can be obtained in the following manner: matching the target game information card corresponding to the target query keyword from a preset game card database; wherein the target game information card includes a card information summary, a card operation guide, a card jump link, and the like.
[0061] In step S130, the target game information card corresponding to the target query keyword is displayed in the first display area.
[0062] Specifically, displaying the target game information card corresponding to the target query keyword in the first display area can be achieved in the following manner: first, judging whether there is a target game information card that is completely consistent with the target query keyword in the game card database based on the information card matching result; then, when it is determined that there is a target game information card that is completely consistent with the target query keyword in the game card database, the target game information card is displayed at the first preset position in the first display area. That is, in the actual application process, after obtaining the target query keyword (such as "Niu Qi Man Man"), it is also necessary to display the target game information card corresponding to "Niu Qi Man Man" in the corresponding display area; wherein the target game information card recorded here can be specially designed by game developers during the game development process, or can be generated by user customization, or can be generated by a legend generation model, and this example does not impose any special restrictions on this.
[0063] It should be noted that the target game information card is displayed only when a completely identical target game information card is matched; if a completely identical target game information card is not matched, the corresponding prompt information can be displayed. The completely identical recorded here can be considered to be that the target query keyword is completely included in the card name of the target game information card; for example, taking "Niuqimanman" as an example, the target game information card is displayed only when a target game information card that completely includes "Niuqimanman" is matched; otherwise, the corresponding prompt information is directly displayed. Through this method, the problem that the user needs to make a second selection can be avoided; at the same time, the problem of low user experience caused by the inconsistency between the displayed target game information card and the target game information card expected by the user can also be avoided.
[0064] In an exemplary embodiment, when the information content (target query keyword) input by the player corresponds to the content in the game, the in-game information card (target game information card) of the information will be directly displayed above the search bar; at the same time, the player can quickly understand the summary of the information and related operations through the target game information card, such as entering the mall to purchase, viewing details, etc.; at the same time, the target game information card can also include information content, related operations and jump links, etc., which not only facilitates the player's information retrieval, but also improves the interactive experience in the game. Among them, the specific display interface of the target game information card obtained can be referred to Figure 6 The display position of the target game information card in the first display area can be as shown Figure 6 As shown in 601.
[0065] In an example embodiment, the information display method in the game may also include: in response to the sixth touch event for the card jump link, generating an information acquisition request according to the card identifier of the target game information card, and sending the information acquisition request to the server; receiving the card details page fed back by the server in response to the information acquisition request, and displaying the card details page on the display interface. That is, the corresponding card details page can be obtained from the server through the card jump link in the motor target game information card and the card details page can be displayed. Among them, taking the matched target game information card as the skin suit card corresponding to Niuqimanman as an example, the card details page may include the attribute information, usage information and whether to pay for the skin suit card, and of course other information, which is not particularly limited in this example; through this method, players can obtain the corresponding information in a timely manner, thereby achieving the purpose of improving user experience.
[0066] In an exemplary embodiment, the information display method in the game may also include: in response to the seventh touch event of the target interactive control corresponding to the target game information card, obtaining the virtual clothing props corresponding to the target game information card; using the virtual clothing props to replace the current virtual clothing of the target virtual object in the current game scene, and displaying the target virtual object after the clothing replacement on the display interface. That is, the user can click the try-on button corresponding to the target game information card to dress up the suit on the corresponding virtual object, thereby achieving the purpose of clothing replacement. It should be supplemented here that this is only explained by taking the retrieval of the corresponding suit and the replacement of the suit as an example. In the actual application process, of course, other purposes can also be achieved based on the retrieval, such as prop selection, etc. This example does not impose special restrictions on this.
[0067] In an exemplary embodiment, the information display method in the game also includes: when it is determined that there is no target game information card in the game card database that is completely consistent with the target query keyword, generating prompt information that the target game information card does not exist, and displaying the prompt information in a first preset position in the first display area; in response to the seventh touch event of the interactive control for adding an information card in the prompt information, generating a target game information card corresponding to the target query keyword, and displaying the target game information card in the first preset position in the first display area. That is, if the target game information card is not matched, the target game information card can be directly generated online; wherein the generated prompt information can refer to Figure 7 As shown in 701.
[0068] In the actual application process, in response to the eighth touch event of the interactive control for adding an information card in the prompt information, generating a target game information card corresponding to the target query keyword can be achieved in the following two ways:
[0069] The first implementation method is: first, in response to the eighth touch event of the interactive control for adding an information card in the prompt information, the current game scene in the terminal device is obtained; secondly, the current game scene is image recognized based on a preset image recognition model to obtain a game style feature; wherein the preset image recognition model includes at least one of a convolutional neural network, a recurrent neural network model, and a deep neural network model; then, according to the game style feature and the target query keyword, the target game information card is generated. According to the game style and the target query keyword, the target game information card is generated, which can be achieved in the following manner: the game style and the target query keyword are input into a preset legend generation model to obtain the target game information card; wherein the preset legend generation model includes at least one of a convolutional neural network, a recurrent neural network model, and a deep neural network model. That is, in the actual application process, the target query keywords and game style can be combined to generate the corresponding target game information card; wherein, the game style can be obtained based on the current game scene; for example, the scene screen frame of the current game scene can be obtained, and then the scene screen frame can be input into the preset image recognition model to obtain the corresponding game style; wherein, the obtained game style can include but is not limited to simple style, retro style, luxury style, etc.; it should be supplemented here that the scene screen frame of the current game scene can include a virtual object controlled by a terminal device, that is, a virtual object corresponding to the player; the style of the virtual object can be identified by the image recognition model to obtain the corresponding game style; then, the game style and the target query keywords are input into the legend generation model to obtain the corresponding target game information card.
[0070] It should be noted here that the specific training process of the legend generation model and the image recognition model recorded here can be implemented through commonly used training methods, and this example does not impose any special restrictions on this; at the same time, the data set used in the training process of the legend generation model can be generated according to historical retrieval records; the data set used in the training process of the image recognition model can be obtained by manually marking the style of each virtual object; of course, it can also be implemented in other ways, and this example does not impose any special restrictions on this.
[0071] The second implementation is: first, in response to the eighth touch event of the interactive control of the add information card in the prompt information, the local picture library in the terminal device is obtained and the local picture library is displayed; secondly, in response to the eighth touch event of the local picture library, the picture to be uploaded is determined, and the picture to be uploaded is uploaded to the current game scene; then, according to the picture to be uploaded and the target query keyword, the target game information card is generated. That is, in the actual application process, the target game information card can also be generated by uploading pictures in the local album; at the same time, after the upload of the picture to be uploaded is completed, the uploaded picture can be directly used as the target game information card, or the uploaded picture and the target query keyword can be input into the legend generation model to obtain the corresponding target game information card; wherein, the uploaded pictures can include game screenshots, daily photos of users, and of course network pictures, and this example does not make special restrictions on this; at the same time, the main functions related to the keywords will still be displayed below the legend to help players to operate quickly.
[0072] The following will be combined Figure 8 The information display method in the game described in the exemplary embodiment of the present disclosure is further explained and illustrated. Figure 8 As shown, the information display method in the game may include the following steps:
[0073] Step S801, determining a target query keyword, and matching a target game information card corresponding to the target query keyword from a preset game card database;
[0074] Step S802, judging whether there is a target game information card that is completely consistent with the target query keyword in the game card database according to the information card matching result; if not, jumping to step S803; if so, jumping to step S805;
[0075] Step S803, generating prompt information indicating that the target game information card does not exist, and displaying the prompt information in a first preset position in the first display area;
[0076] Step S804, in response to a touch operation on an interactive control for adding an information card in the prompt information, generating a target game information card corresponding to the target query keyword;
[0077] Step S805: display the target game information card at the first preset position in the first display area.
[0078] So far, the information display method in the game recorded in the example embodiment of the present disclosure has been fully realized. Based on the above-mentioned recorded content, it can be known that the information display method in the game recorded in the example embodiment of the present disclosure, on the one hand, in response to the current situation of low search efficiency, unclear search keywords and lengthy search process of mobile games, innovatively proposed an information retrieval solution based on associative memory, which can effectively improve the efficiency and experience of information retrieval in mobile games, and help players to quickly and intuitively find the game information they want in various systems and game functions, which has practicality and broad application prospects; on the other hand, it can also improve the player's information retrieval efficiency and experience through guidance, fuzzy search and information cards; at the same time, this solution is universal and can be applied to game applications on various platforms.
[0079] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.
[0080] The exemplary embodiment of the present disclosure also provides an information display device in a game. Specifically, refer to Fig. 9 As shown, the information display device in the game may include a first interactive interface display module 910, a target query keyword determination module 920, and a game information card display module 930. Among them:
[0081] The first interactive interface display module 910 may be used to display a first interactive interface in a first display area on a display interface of a terminal device; wherein the first interactive interface includes original keywords;
[0082] The target query keyword determination module 920 may be used to determine the target query keyword based on the original keyword, and obtain the target game information card corresponding to the target query keyword;
[0083] The target game information card display module 930 may be configured to display the target game information card corresponding to the target query keyword in the first display area.
[0084] In an exemplary embodiment of the present disclosure, the original keywords include pre-set system subject keywords; wherein, determining the target query keywords based on the original keywords includes: determining the target subject keywords in response to a first touch event for the pre-set system subject keywords, and loading a subject keyword library corresponding to the target subject keywords; determining the original keywords to be queried, and performing a fuzzy search on the original keywords to be queried in the subject keyword library to obtain the current query result; and determining the target query keywords from the current query result in response to a second touch event for the current query result.
[0085] In an exemplary embodiment of the present disclosure, determining the original keyword to be queried includes: displaying a second interactive interface in a second display area on the display interface; wherein the second interactive interface includes a virtual keyboard; in response to a third touch event for the virtual keyboard, obtaining character information of a keyboard control corresponding to the third touch event, and displaying a first original word corresponding to the character information in the second display area; performing associative memory on the first original word to obtain an associative memory result, and displaying the associative memory result in the second display area; and determining the original keyword to be queried in response to a fourth touch event for the associative memory result.
[0086] In an exemplary embodiment of the present disclosure, in response to a first touch event for the pre-set system theme keyword, a target theme keyword is determined, including: obtaining the pre-set system theme keyword, and determining the theme keyword to be displayed based on the number of times the system theme keyword has been searched; displaying the theme keyword to be displayed in the first interactive interface, and determining the target theme keyword in response to the first touch event for the theme keyword displayed in the first interactive interface.
[0087] In an exemplary embodiment of the present disclosure, the original keywords include historical search keywords; wherein, determining the target query keywords based on the original keywords includes: obtaining the historical search keywords, and determining the target search keywords from the historical search keywords according to the historical search time of the historical search keywords; displaying the target search keywords in the first interactive interface, and determining the target query keywords in response to a fifth touch event for the target search keywords displayed in the first interactive interface.
[0088] In an exemplary embodiment of the present disclosure, obtaining a target game information card corresponding to the target query keyword includes: matching a target game information card corresponding to the target query keyword from a preset game card database; wherein the target game information card includes one or more of a card information summary, a card operation guide, and a card jump link;
[0089] Among them, the target game information card corresponding to the target query keyword is displayed in the first display area, including: judging whether there is a target game information card that is completely consistent with the target query keyword in the game card database according to the information card matching result; when it is determined that there is a target game information card that is completely consistent with the target query keyword in the game card database, the target game information card is displayed in a first preset position in the first display area.
[0090] In an exemplary embodiment of the present disclosure, the information display device in the game further includes:
[0091] An information acquisition request generation module may be used to generate an information acquisition request in response to a sixth touch event for the card jump link according to the card identifier of the target game information card, and send the information acquisition request to a server;
[0092] The card details page display module can be used to receive the card details page fed back by the server in response to the information acquisition request, and display the card details page on the display interface.
[0093] In an exemplary embodiment of the present disclosure, the information display device in the game further includes:
[0094] A virtual clothing item acquisition module may be used to acquire virtual clothing items corresponding to the target game information card in response to a seventh touch event on a target interactive control corresponding to the target game information card;
[0095] The virtual clothing replacement module can be used to replace the current virtual clothing of the target virtual object in the current game scene with the virtual clothing props, and display the target virtual object after the clothing replacement on the display interface.
[0096] In an exemplary embodiment of the present disclosure, the information display device in the game further includes:
[0097] The prompt information display module can be used to generate prompt information indicating that the target game information card does not exist when it is determined that the target game information card that is completely consistent with the target query keyword does not exist in the game card database, and display the prompt information in a first preset position in the first display area;
[0098] The target game information card generation module can be used to generate a target game information card corresponding to the target query keyword in response to the eighth touch event of the interactive control for adding an information card in the prompt information, and display the target game information card at the first preset position in the first display area.
[0099] In an exemplary embodiment of the present disclosure, in response to the eighth touch event of the interactive control for adding an information card in the prompt information, a target game information card corresponding to the target query keyword is generated, including: in response to the eighth touch event of the interactive control for adding an information card in the prompt information, obtaining the current game scene in the terminal device; performing image recognition on the current game scene based on a preset image recognition model to obtain game style features; wherein the preset image recognition model includes at least one of a convolutional neural network, a recurrent neural network model, and a deep neural network model; generating the target game information card according to the game style features and the target query keyword.
[0100] In an exemplary embodiment of the present disclosure, the target game information card is generated according to the game style and the target query keyword, including: inputting the game style and the target query keyword into a preset legend generation model to obtain the target game information card; wherein the preset legend generation model includes at least one of a convolutional neural network model, a recurrent neural network model, and a deep neural network model.
[0101] In an exemplary embodiment of the present disclosure, in response to the eighth touch event of the interactive control of the add information card in the prompt information, a target game information card corresponding to the target query keyword is generated, including: in response to the eighth touch event of the interactive control of the add information card in the prompt information, obtaining the local picture library in the terminal device and displaying the local picture library; in response to the eighth touch event of the local picture library, determining the picture to be uploaded, and uploading the picture to be uploaded to the current game scene; generating the target game information card according to the picture to be uploaded and the target query keyword.
[0102] The specific details of each module in the information display device in the above game have been described in detail in the information display method in the corresponding game, so they will not be repeated here.
[0103] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0104] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0105] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
[0106] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0107] Refer to the following Fig.10 The electronic device 1000 according to this embodiment of the present disclosure is described. Fig.10 The electronic device 1000 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0108] like Fig.10 As shown, the electronic device 1000 is in the form of a general computing device. The components of the electronic device 1000 may include, but are not limited to: the at least one processing unit 1010, the at least one storage unit 1020, a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010), and a display unit 1040.
[0109] The storage unit stores program codes, which can be executed by the processing unit 1010, so that the processing unit 1010 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 1010 can perform the following steps: Figure 1 Step S110 shown in: displaying a first interactive interface in a first display area on a display interface of a terminal device; wherein the first interactive interface includes original keywords; step S120: determining a target query keyword based on the original keyword, and obtaining a target game information card corresponding to the target query keyword; step S130: displaying a target game information card corresponding to the target query keyword in the first display area.
[0110] The storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 10201 and / or a cache storage unit 10202 , and may further include a read-only storage unit (ROM) 10203 .
[0111] The storage unit 1020 may also include a program / utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0112] Bus 1030 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0113] The electronic device 1000 may also communicate with one or more external devices 1100 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1000, and / or may communicate with any device that enables the electronic device 1000 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1050. Furthermore, the electronic device 1000 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 via a bus 1030. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0114] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0115] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above "Exemplary Method" section of the present specification.
[0116] According to the program product for implementing the above method in the embodiment of the present disclosure, it can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0117] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0118] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0119] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0120] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0121] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0122] Other embodiments of the present disclosure will be readily apparent to those skilled in the art after considering the specification and practicing the inventions invented herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not invented by the present disclosure. The specification and examples are to be considered merely exemplary, and the true scope and spirit of the present disclosure are indicated by the claims.
Claims
1. A method for displaying information in a game, characterized in that: include: Displaying a first interactive interface in a first display area on a display interface of a terminal device; wherein the first interactive interface includes original keywords; Determine a target query keyword based on the original keyword, and obtain a target game information card corresponding to the target query keyword; The target game information card corresponding to the target query keyword is displayed in the first display area.
2. The method for displaying information in a game according to claim 1, characterized in that: The original keywords include pre-set system theme keywords; Wherein, determining the target query keyword based on the original keyword includes: In response to a first touch event for the preset system theme keyword, determining a target theme keyword, and loading a theme keyword library corresponding to the target theme keyword; Determine the original keywords to be queried, and perform a fuzzy search on the original keywords to be queried in the subject keyword library to obtain the current query result; In response to a second touch event on the current query result, a target query keyword is determined from the current query result.
3. The method for displaying information in a game according to claim 2, characterized in that: Determine the original keywords to be searched, including: Displaying a second interactive interface in a second display area on the display interface; wherein the second interactive interface includes a virtual keyboard; In response to a third touch event on the virtual keyboard, acquiring character information of a keyboard control corresponding to the third touch event, and displaying a first original word corresponding to the character information in the second display area; Performing associative memory on the first original word to obtain an associative memory result, and displaying the associative memory result in the second display area; In response to the fourth touch event on the associative memory result, an original keyword to be queried is determined.
4. The method for displaying information in a game according to claim 2, characterized in that: In response to a first touch event for the preset system theme keyword, determining a target theme keyword includes: Obtaining a preset system theme keyword, and determining a theme keyword to be displayed according to the number of searches for the system theme keyword; The subject keyword to be displayed is displayed in the first interactive interface, and a target subject keyword is determined in response to a first touch event on the subject keyword displayed in the first interactive interface.
5. The method for displaying information in a game according to claim 1, wherein: The original keywords include historical search keywords; Wherein, determining the target query keyword based on the original keyword includes: Acquire historical search keywords, and determine target search keywords from the historical search keywords according to the historical search time of the historical search keywords; The target search keyword is displayed in the first interactive interface, and a target query keyword is determined in response to a fifth touch event for the target search keyword displayed in the first interactive interface.
6. The method for displaying information in a game according to claim 1, characterized in that: Obtaining a target game information card corresponding to the target query keyword includes: Matching a target game information card corresponding to the target query keyword from a preset game card database; wherein the target game information card includes one or more of a card information summary, a card operation guide, and a card jump link; The step of displaying the target game information card corresponding to the target query keyword in the first display area includes: Determine whether there is a target game information card that is completely consistent with the target query keyword in the game card database according to the information card matching result; When it is determined that there is a target game information card in the game card database that is completely consistent with the target query keyword, the target game information card is displayed at a first preset position in the first display area.
7. The method for displaying information in a game according to claim 6, characterized in that: The information display method in the game also includes: In response to a sixth touch event for the card jump link, generating an information acquisition request according to the card identifier of the target game information card, and sending the information acquisition request to a server; A card details page fed back by the server in response to the information acquisition request is received, and the card details page is displayed on the display interface.
8. The method for displaying information in a game according to claim 6, characterized in that: The information display method in the game also includes: In response to a seventh touch event on a target interactive control corresponding to the target game information card, acquiring a virtual clothing item corresponding to the target game information card; The virtual clothing props are used to replace the current virtual clothing of the target virtual object in the current game scene, and the target virtual object after the clothing replacement is displayed on the display interface.
9. The method for displaying information in a game according to claim 6, characterized in that: The information display method in the game also includes: When it is determined that there is no target game information card that is completely consistent with the target query keyword in the game card database, a prompt message indicating that there is no target game information card is generated, and the prompt message is displayed in a first preset position in the first display area; In response to an eighth touch event of the interactive control for adding an information card in the prompt information, a target game information card corresponding to the target query keyword is generated, and the target game information card is displayed at a first preset position in the first display area.
10. The method for displaying information in a game according to claim 9, characterized in that: In response to an eighth touch event of an interactive control for adding an information card in the prompt information, generating a target game information card corresponding to the target query keyword, including: In response to an eighth touch event of an interactive control for adding an information card in the prompt information, acquiring a current game scene in the terminal device; Performing image recognition on the current game scene based on a preset image recognition model to obtain game style features; wherein the preset image recognition model includes at least one of a convolutional neural network model, a recurrent neural network model, and a deep neural network model; The target game information card is generated according to the game style characteristics and the target query keywords.
11. The method for displaying information in a game according to claim 10, characterized in that: Generating the target game information card according to the game style and the target query keyword includes: Inputting the game style and the target query keyword into a preset legend generation model to obtain the target game information card; Among them, the preset legend generation model includes at least one of a convolutional neural network model, a recurrent neural network model and a deep neural network model.
12. The method for displaying information in a game according to claim 9, characterized in that: In response to an eighth touch event of an interactive control for adding an information card in the prompt information, generating a target game information card corresponding to the target query keyword, including: In response to an eighth touch event of the interactive control for adding an information card in the prompt information, obtaining a local picture library in the terminal device and displaying the local picture library; In response to an eighth touch event on the local picture library, determining a picture to be uploaded, and uploading the picture to be uploaded to the current game scene; The target game information card is generated according to the picture to be uploaded and the target query keyword.
13. An information display device in a game, characterized in that: include: A first interactive interface display module, configured to display a first interactive interface in a first display area on a display interface of a terminal device; wherein the first interactive interface includes original keywords; A target query keyword determination module, used to determine a target query keyword based on the original keyword, and obtain a target game information card corresponding to the target query keyword; The target game information card display module is used to display the target game information card corresponding to the target query keyword in the first display area.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for displaying information in a game according to any one of claims 1 to 12 is implemented.
15. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the information display method in the game described in any one of claims 1-12 by executing the executable instructions.