Query method and device in online game, storage medium and electronic equipment

By providing a title query interface and intelligent matching algorithm in online games, the problem of players finding difficulties in a large number of titles is solved, and fast and efficient title selection is achieved, improving the game experience.

CN119746397APending Publication Date: 2025-04-04BEIJING PIXEL SOFTWARE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411916017.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In online games, as the online time of the game increases, the titles obtained by game characters are becoming increasingly rich, resulting in players spending a lot of time and energy when looking for a title that suits them, and manually searching among a variety of title types, which increases the burden on players.

Method used

Provide a query method in online games. By providing a title query interface, accepting player query operations, determining candidate titles matching the input keywords from the title set, and displaying them in the query display interface. The method also includes calculating semantic similarity between candidate titles and keywords, obtaining and sorting the historical usages of titles, and managing local color profiles.

Benefits of technology

Through this method, players can quickly find the desired title from a large number of titles, reducing the time and energy to search, improving the efficiency of title selection, and improving the gaming experience through intelligent sorting and color profile management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119746397A_ABST
    Figure CN119746397A_ABST
Patent Text Reader

Abstract

The invention provides a query method and device in an online game, a storage medium and electronic equipment, and relates to the field of games. Wherein the electronic equipment provides a name query interface of a game role; receiving and responding to a query operation of a player on the title query interface, and determining at least one candidate title matched with the input keyword from a title set, the title set comprising a plurality of titles to be matched, and the plurality of titles can be used for endowing different role attributes for the game role; and displaying the at least one candidate title in a query display interface. In this way, the player can quickly find the wanted name from a large number of names.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of games, and in particular, to a query method, device, storage medium and electronic device in an online game. Background Art

[0002] In some games, titles play a unique role. They are not only a symbol of honor for game characters, but also an important element to enhance the gaming experience. Therefore, titles are special labels given to game characters to show their achievements, characteristics or status in the game. These titles have their own characteristics and play different roles, which can add a lot of fun and depth to the game.

[0003] For example, combat titles are usually awarded to players who have performed well in battle, which can improve the character's combat ability and enhance its deterrence on the battlefield. Power titles represent the player's status and influence in the game world. Players with such titles often have an advantage in social and power struggles.

[0004] Skill titles are a recognition of the player's professional skills. Whether it is alchemy, forging or cooking, these titles can improve the character's attainments in the corresponding skills. Natural disaster titles are related to the player's ability to deal with natural disasters and mysterious events. Players with these titles have more advantages in dealing with emergencies in the game.

[0005] Social relationship titles reflect the player's social network in the game world. These titles help players build and maintain interpersonal relationships, thereby gaining more support in the game. Scenery titles are rewards for players' exploration of the game world, and they inspire players' enthusiasm for exploring the unknown.

[0006] Cultivation titles focus on the player's cultivation process and are used to witness the player's growth and progress in the game. Glory titles are the highest honor given to players by the game. Players with these titles will undoubtedly become the focus of everyone's attention.

[0007] Therefore, players can selectively use these titles according to the game tasks to improve the success rate of executing game tasks. However, in practice, it is found that as the online time of the game increases, the titles obtained by the game characters are becoming more and more abundant. This makes it often necessary for players to spend a lot of time and energy to find a title that suits them. Manually searching among the various types of titles undoubtedly increases the burden on players. Therefore, how to optimize the title system so that players can more conveniently obtain and choose titles that suit them has become an urgent problem to be solved. Summary of the invention

[0008] In order to overcome at least one of the deficiencies in the prior art, the present application provides a query method, device, storage medium and electronic device in an online game, specifically including:

[0009] In a first aspect, the present application provides a query method in an online game, the method comprising:

[0010] Provides a game character title query interface;

[0011] Accepting and responding to a query operation of the player in the title query interface, determining at least one candidate title matching the input keyword from a title set, wherein the title set includes a plurality of titles to be matched, and the plurality of titles can be used to assign different character attributes to the game character;

[0012] The at least one candidate title is displayed in the query display interface.

[0013] In conjunction with the optional implementation manner of the first aspect, determining at least one candidate title matching the input keyword from the title set includes:

[0014] For each candidate title in the title set, calculating the semantic similarity between the candidate title and the keyword;

[0015] If the semantic similarity meets the preset matching condition, the candidate title is used as the candidate title.

[0016] In conjunction with the optional implementation manner of the first aspect, the calculating the semantic similarity between the candidate title and the keyword includes:

[0017] Calculating the Levenshtein distance between the candidate title and the keyword;

[0018] The Levenshtein distance is used as the semantic similarity between the candidate title and the keyword.

[0019] In conjunction with the optional implementation manner of the first aspect, displaying the at least one candidate title in the query display interface includes:

[0020] Obtain the historical usage count of each candidate title in the current game task;

[0021] Sorting at least one candidate title according to their respective historical usage times to obtain a ranking result of the at least one candidate title;

[0022] The at least one candidate title is displayed in the query display interface according to the ranking result.

[0023] In combination with an optional implementation manner of the first aspect, a local color configuration file is provided for the multiple titles, and the color configuration file is used to record the colors of the multiple titles when displayed. The method further includes:

[0024] Accepting and responding to the player's color editing operation on the target title in the query display interface, and determining the target color configured by the player for the target title;

[0025] The current color of the target title and the color configuration file are updated according to the target color to obtain an updated color configuration file.

[0026] In combination with the optional implementation manner of the first aspect, the method further includes:

[0027] Accepting and responding to the player's game exit operation, synchronizing the updated color configuration file to the server.

[0028] In combination with an optional implementation manner of the first aspect, a local color configuration file is provided for the multiple titles, and the color configuration file is used to record the colors of the multiple titles when displayed. The method further includes:

[0029] Accepting and responding to a game login operation of the player, and determining whether the local color configuration file is consistent with the color configuration file in the server;

[0030] If not, the local color configuration file is updated through the color configuration file in the server.

[0031] In a second aspect, the present application further provides a query device in an online game, the device comprising:

[0032] Title display module, used to provide a game character title query interface;

[0033] a title management module, for accepting and responding to a query operation of a player in the title query interface, and determining at least one candidate title matching the input keyword from a title set, wherein the title set includes a plurality of titles to be matched, and the plurality of titles can be used to assign different character attributes to the game character;

[0034] The title display module is further used to display the at least one candidate title in the query display interface.

[0035] In conjunction with the optional implementation manner of the second aspect, the title management module is further specifically used for:

[0036] For each candidate title in the title set, calculating the semantic similarity between the candidate title and the keyword;

[0037] If the semantic similarity meets the preset matching condition, the candidate title is used as the candidate title.

[0038] In conjunction with the optional implementation manner of the second aspect, the title management module is further specifically used for:

[0039] Calculating the Levenshtein distance between the candidate title and the keyword;

[0040] The Levenshtein distance is used as the semantic similarity between the candidate title and the keyword.

[0041] In conjunction with the optional implementation manner of the second aspect, the title display module is further specifically used for:

[0042] Obtain the historical usage count of each candidate title in the current game task;

[0043] Sorting at least one candidate title according to their respective historical usage times to obtain a ranking result of the at least one candidate title;

[0044] The at least one candidate title is displayed in the query display interface according to the ranking result.

[0045] In conjunction with an optional implementation manner of the second aspect, a local color configuration file is provided for the multiple titles, the color configuration file is used to record the colors of the multiple titles when displayed, and the title management module is further used to:

[0046] Accepting and responding to the player's color editing operation on the target title in the query display interface, and determining the target color configured by the player for the target title;

[0047] The current color of the target title and the color configuration file are updated according to the target color to obtain an updated color configuration file.

[0048] In conjunction with the optional implementation manner of the second aspect, the title management module is further used to:

[0049] Accepting and responding to the player's game exit operation, synchronizing the updated color configuration file to the server.

[0050] In conjunction with an optional implementation manner of the second aspect, a local color configuration file is provided for the multiple titles, the color configuration file is used to record the colors of the multiple titles when displayed, and the title management module is further used to:

[0051] Accepting and responding to a game login operation of the player, and determining whether the local color configuration file is consistent with the color configuration file in the server;

[0052] If not, the local color configuration file is updated through the color configuration file in the server.

[0053] In a third aspect, the present application further provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the query method in the online game is implemented.

[0054] In a fourth aspect, the present application further provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the query method in the online game is implemented.

[0055] Compared with the prior art, this application has the following beneficial effects:

[0056] The present application provides a query method, device, storage medium and electronic device in an online game. The electronic device provides a game character title query interface; accepts and responds to the player's query operation in the title query interface, determines at least one candidate title matching the input keyword from a title set, wherein the title set includes multiple titles to be matched, and the multiple titles can be used to give different character attributes to the game character; and displays at least one candidate title in the query display interface. In this way, the player can quickly find the desired title from a large number of titles. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0058] Figure 1 One of the flow charts of the query method in the online game provided in the embodiment of the present application;

[0059] Figure 2 A schematic diagram of a title query interface provided in an embodiment of the present application;

[0060] Figure 3 A schematic diagram of a query display interface provided in an embodiment of the present application;

[0061] Figure 4 A second flowchart of a query method in an online game provided in an embodiment of the present application;

[0062] Figure 5 A schematic diagram of the structure of a query device in an online game provided by an embodiment of the present application;

[0063] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0065] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0066] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0067] In the description of this application, it should be noted that the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0068] Based on the above statement, as introduced in the background technology, as the online time of the game increases, the titles of the game characters are increasingly rich. This makes it necessary for players to spend a lot of time and energy to find a title that suits them, and manually search among the various title types, which undoubtedly increases the burden on players.

[0069] Based on the discovery of the above technical problems, the inventors have proposed the following technical solutions to solve or improve the above problems through creative work. It should be noted that the defects in the solutions in the above prior art are the results obtained by the inventors after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed in the embodiments of the present application for the above problems below should all be the contributions made by the inventors to the present application in the process of invention and creation, and should not be understood as technical contents known to those skilled in the art.

[0070] In view of this, this embodiment provides a query method in an online game, which is used to improve the efficiency of finding titles. In this method, the electronic device provides a title query interface for game characters; accepts and responds to the query operation of the player in the title query interface, determines at least one candidate title matching the input keyword from the title set, wherein the title set includes multiple titles to be matched, and the multiple titles can be used to give different role attributes to the game character; and displays at least one candidate title in the query display interface. In this way, the player can quickly find the desired title from a large number of titles.

[0071] It should be noted that the electronic device implementing the method may be, but is not limited to, a mobile terminal, a tablet computer, a laptop computer, a desktop computer, and a server, etc. When it is a server, the server may be a single server or a server group. The server group may be centralized or distributed (for example, the server may be a distributed system). In some embodiments, the server may be local or remote relative to the player terminal. In some embodiments, the server may be implemented on a cloud platform; as an example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud (Community Cloud), a distributed cloud, an inter-cloud (Inter-Cloud), a multi-cloud (Multi-Cloud), etc., or any combination thereof. In some embodiments, the server may be implemented on an electronic device having one or more components.

[0072] To make the solution provided by this embodiment clearer, a desktop computer is used as an electronic device to implement the method, and combined with Figure 1 Each step of the method is described in detail. However, it should be understood that the operations of the flowchart may not be implemented in order, and steps without logical contextual relationships may be reversed in order or implemented simultaneously. In addition, those skilled in the art may add one or more other operations to the flowchart, or remove one or more operations from the flowchart under the guidance of the content of this application. Figure 1 As shown, the method includes:

[0073] S1, provides a game character title query interface.

[0074] For example, Figure 2 In the title query interface, some titles in the title set are displayed, and the user can view them by dragging the scroll bar 11. In addition, the query interface also provides a keyword input bar and a query button 13. After the player enters the keyword to be queried in the keyword input bar 12, he clicks the query button 13 to query the titles in the title set.

[0075] S2, accepting and responding to the player's query operation in the title query interface, and determining at least one candidate title matching the input keyword from the title set.

[0076] The title set includes multiple titles to be matched, and the multiple titles can be used to give different character attributes to the game character.

[0077] In this embodiment, for each candidate title in the title set, the desktop computer calculates the semantic similarity between the candidate title and the keyword; if the semantic similarity meets the preset matching condition, the candidate title is used as the candidate title. When calculating the semantic similarity between the candidate title and the keyword, the desktop computer can calculate the Levenshtein distance between the candidate title and the keyword; and the Levenshtein distance is used as the semantic similarity between the candidate title and the keyword.

[0078] It should be understood that Levenshtein distance, also known as edit distance, is a calculation method to measure the difference between two strings. It determines the similarity of two strings by calculating the minimum number of single-character editing operations (including insertion, deletion and substitution) required to convert one string into another.

[0079] For example, assuming that the keyword is a word: "example", the title set includes the following titles:

[0080] ["samples","examplar","exemplary","example","test","sample text"]

[0081] The desktop computer calculates the Levenshtein distance between "example" and each title, and sets the corresponding threshold to 2, that is, a maximum of 2 characters are allowed to be different. Therefore, each title in the title set is matched, and the following candidate titles that are less than or equal to the threshold are screened out:

[0082] ["samples","examplar","example"]

[0083] The above examples are explained in English only for ease of understanding, but it should be noted that the algorithm is also applicable to keywords and titles in Chinese.

[0084] Based on the above implementation, the candidate titles are introduced. Figure 1 , the method provided in this embodiment also includes:

[0085] S3, displaying at least one candidate title in a query display interface.

[0086] In this way, players only need to Figure 2 Enter the title text you want to find, or some characters in the name in the keyword input bar 12 shown, and you can perform fuzzy search to find candidate titles that meet the matching conditions. As a display method, if there are many matching candidate titles in the title set, the first candidate title found is displayed first, and then the other candidate titles found are arranged accordingly. In addition, the desktop computer can also sort the candidate titles according to the similarity between the candidate titles and the keywords, and put the most similar ones at the beginning. In this way, players can quickly lock the target among many candidate titles, ensuring that each search is accurate and efficient, allowing players to easily find the desired titles in the game.

[0087] As other implementation methods provided by this embodiment, the desktop computer can also obtain the historical usage times of each candidate title in the current game task; sort at least one candidate title according to their respective historical usage times to obtain the sorting result of at least one candidate title; and display one less candidate title in the query display interface according to the sorting result.

[0088] For example, for candidate titles such as "Battlefield Pioneer", "Alchemy Master", and "Skills Master", the game system will record how many players have selected these titles when performing specific combat missions in the past month. Then, the desktop computer obtains the historical usage count of each candidate title from the game system. Assuming that "Battlefield Pioneer" has been used 500 times, "Alchemy Master" has been used 300 times, and "Skills Master" has been used 30 times, then in the sorting results, "Battlefield Pioneer" will be ranked before "Alchemy Master" and "Skills Master".

[0089] The desktop computer displays the titles in the query display interface based on this sorting result. This means that when a player browses the query display interface, he will first see the most frequently used titles, such as "Battlefield Pioneer". This display method allows players to quickly identify which titles are more popular and practical in the current game tasks, so as to make more appropriate choices. In this way, through the above display method, players no longer need to manually screen among many titles one by one, which greatly saves time and energy in finding suitable titles. At the same time, this intelligent sorting based on historical data can also help players discover titles that may be overlooked but are actually very valuable, thereby improving the gaming experience.

[0090] In this embodiment, a secondary query function is also provided for the query display interface to facilitate players to quickly find the description of related skills under the candidate title. Figure 3 The query display interface shown displays multiple candidate titles matched by keywords (Tianjie Road, Fengwuzhi. Collection, Fengwuzhi. Scenery, Fengwuzhi. Things, Master and Apprentice, Love, etc.), and also displays a secondary query display column 21, which displays relevant descriptive information of the skill "Absolutely Beautiful and Gorgeous", including a brief introduction to the skill and additional attributes.

[0091] In practice, we also found that due to the large number of titles, in order to facilitate players to quickly find the desired titles, players can also set the color of the titles themselves. Therefore, if the player is not satisfied with the classification color given by the system, he can set the corresponding color according to his own preferences and save it locally on the desktop computer without being affected by the server. Therefore, the desktop computer also provides local color configuration files for multiple titles. Figure 4 As shown, based on the color profile, the method provided by this implementation further includes:

[0092] S4, accepting and responding to the player's color editing operation on the target title in the query display interface, and determining the target color configured by the player for the target title.

[0093] For example, see Figure 3 The query display interface also provides a color change button 22. The player selects the candidate title "Master and Apprentice" from the left as the target title, and assumes that the color at this time is "white". Then, click the color change button 22, and click "red" as the target color to be changed in the pop-up color selection interface, so that the color of the two words "Master and Apprentice" changes from "white" to "red". In this way, the next time the player wants to find the title of "Master and Apprentice", the different colors can attract the player's attention.

[0094] S5, updating the current color of the target title and the color configuration file according to the target color, to obtain an updated color configuration file.

[0095] Since the changed target color is updated to the current color profile to obtain a new color profile, the changed color can take effect permanently.

[0096] In addition, in order to make the colors configured by the player take effect on other devices, the desktop computer also accepts and responds to the player's game exit operation, and synchronizes the updated color configuration file to the server. Then, the desktop computer accepts and responds to the player's game login operation, and determines whether the local color configuration file is consistent with the color configuration file in the server; if not, the local color configuration file is updated through the color configuration file in the server.

[0097] In this way, even if the player logs in to the game on any device, the server can be used to synchronize the colors configured on other devices to the current device.

[0098] For example, in order to ensure the synchronization and update of player data, a set of file upload and download mechanisms is adopted. Every time the player goes offline, the desktop computer will automatically compare the local color configuration file with the color configuration file on the server. If a difference is found in the file, the desktop computer will use the local color configuration file to update the color configuration file on the server; if the file has not changed, no operation will be performed.

[0099] Similarly, every time a player logs in, the desktop computer will also compare the color profile on the server. If there is no change, it will be ignored; if there is a difference, or the corresponding file is not found locally, the color profile on the server will be synchronized to the local; and compared with the local color profile and its metadata to determine whether the hash value, size and last modification time of the two files are consistent. If they are inconsistent, the desktop computer will download the latest version of the color profile from the server and replace the local color profile on the desktop computer with the downloaded file. Of course, considering that the player has modified the color profile locally but has not uploaded it to the server, the color profile on the server can also be merged with the local color profile to resolve the conflict.

[0100] Among them, when downloading the color profile from the server, the integrity of the file is ensured in the following way. First, the desktop computer pulls the color profile and its metadata (including file size, modification time, hash value, etc.) from the server, and ensures the integrity of the downloaded file through hash verification. In the specific verification method, after the desktop computer completes downloading the color profile from the server, it uses a hash algorithm consistent with the server to calculate the hash value of the color profile downloaded from the server, and compares it with the hash value provided by the server. If the two hash values ​​are the same, the file is complete and has not been tampered with; if they are different, the file may be damaged or incomplete during transmission.

[0101] Finally, record the update log: record the name and version information of the update file in detail for subsequent tracking and management. Through this series of operations, we ensure the real-time synchronization and security of player data.

[0102] Based on the same inventive concept as the query method in the online game provided in this embodiment, this embodiment also provides a query device in the online game. The device includes at least one software function module that can be stored in the memory 42 in the form of software or solidified in the electronic device. The processor 41 in the electronic device is used to execute the executable module stored in the memory 42. For example, the software function module and computer program included in the device 110. Please refer to Figure 5 Functionally, the device 110 may include:

[0103] The title display module 31 is used to provide a game character title query interface;

[0104] The title management module 32 is used to accept and respond to the query operation of the player in the title query interface, and determine at least one candidate title matching the input keyword from the title set, wherein the title set includes multiple titles to be matched, and the multiple titles can be used to give different character attributes to the game character;

[0105] The title display module 31 is further used to display at least one candidate title in the query display interface.

[0106] In this embodiment, the title display module 31 is used to implement Figure 1 Steps S1 and S3 in the above example, the title management module 32 is used to implement Figure 1 Therefore, for the detailed description of each of the above modules, please refer to the specific implementation of the corresponding step. It should also be noted that, in view of the same inventive concept as the query method in the online game, the query device in the online game can also implement other steps or sub-steps of the method through the above modules or other possible modules, which will not be described in detail in this embodiment.

[0107] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0108] It should also be understood that if the above implementation is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.

[0109] Therefore, this embodiment further provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the query method in the online game provided by this embodiment is implemented. Among them, the storage medium can be a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, etc., which can store program codes.

[0110] This embodiment provides an electronic device for implementing a query method in an online game, such as Figure 6 As shown, the electronic device includes a processor 41 and a memory 42. In addition, the memory 42 stores a computer program, and the processor implements the query method in the online game provided in this embodiment by reading and executing the computer program corresponding to the above implementation in the memory 42.

[0111] Continue to see Figure 6 The electronic device further includes a communication unit 43. The memory 42, the processor 41 and the communication unit 43 are directly or indirectly electrically connected to each other through a system bus 44 to achieve data transmission or interaction.

[0112] The memory 42 may be an information recording device based on any electronic, magnetic, optical or other physical principle, for recording execution instructions, data, etc. In some embodiments, the memory 42 may be, but is not limited to, a volatile memory, a non-volatile memory, a storage drive, etc.

[0113] In some embodiments, the volatile memory may be a random access memory (RAM); in some embodiments, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), a flash memory, etc.; in some embodiments, the storage drive may be a disk drive, a solid-state drive, any type of storage disk (such as a CD, a DVD, etc.), or a similar storage medium, or a combination thereof, etc.

[0114] The communication unit 43 is used to send and receive data through a network. In some embodiments, the network may include a wired network, a wireless network, a fiber optic network, a telecommunication network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a wide area network (WAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, or any combination thereof. In some embodiments, the network may include one or more network access points. For example, the network may include a wired or wireless network access point, such as a base station and / or a network switching node, through which one or more components of the service request processing system may be connected to the network to exchange data and / or information.

[0115] The processor 41 may be an integrated circuit chip having a signal processing capability, and the processor may include one or more processing cores (e.g., a single-core processor or a multi-core processor). By way of example only, the processor may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction set processor (ASIP), a graphics processing unit (GPU), a physical processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a microcontroller unit, a reduced instruction set computer (RISC), or a microprocessor, or any combination thereof.

[0116] Understandably, Figure 6 The structure shown is for illustration only. The electronic device may also have Figure 6 More or fewer components than shown, or with Figure 6 Different configurations shown. Figure 6 The components shown may be implemented in hardware, software or a combination thereof.

[0117] It should be understood that the apparatus and method disclosed in the above-mentioned embodiments can also be implemented in other ways. The apparatus embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the apparatus, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0118] The above are only various implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A query method in an online game, characterized in that: The method comprises: Provides a game character title query interface; Accepting and responding to a query operation of the player in the title query interface, determining at least one candidate title matching the input keyword from a title set, wherein the title set includes a plurality of titles to be matched, and the plurality of titles can be used to assign different character attributes to the game character; The at least one candidate title is displayed in the query display interface.

2. The query method in the online game according to claim 1, characterized in that: The step of determining at least one candidate title matching the input keyword from the title set includes: For each candidate title in the title set, calculating the semantic similarity between the candidate title and the keyword; If the semantic similarity meets the preset matching condition, the candidate title is used as the candidate title.

3. The query method in the online game according to claim 2, characterized in that: The calculating the semantic similarity between the candidate title and the keyword includes: Calculating the Levenshtein distance between the candidate title and the keyword; The Levenshtein distance is used as the semantic similarity between the candidate title and the keyword.

4. The query method in the online game according to claim 1, characterized in that: The step of displaying the at least one candidate title in the query display interface includes: Obtain the historical usage count of each candidate title in the current game task; Sorting at least one candidate title according to their respective historical usage times to obtain a ranking result of the at least one candidate title; The at least one candidate title is displayed in the query display interface according to the ranking result.

5. The query method in the online game according to claim 1, characterized in that: A local color configuration file is provided for the multiple titles, and the color configuration file is used to record the colors of the multiple titles when displayed. The method further includes: Accepting and responding to the player's color editing operation on the target title in the query display interface, and determining the target color configured by the player for the target title; The current color of the target title and the color configuration file are updated according to the target color to obtain an updated color configuration file.

6. The query method in the online game according to claim 5, characterized in that: The method further comprises: Accepting and responding to the player's game exit operation, synchronizing the updated color configuration file to the server.

7. The query method in the online game according to claim 1, characterized in that: A local color configuration file is provided for the multiple titles, and the color configuration file is used to record the colors of the multiple titles when displayed. The method further includes: Accepting and responding to a game login operation of the player, and determining whether the local color configuration file is consistent with the color configuration file in the server; If not, the local color configuration file is updated through the color configuration file in the server.

8. A query device in an online game, characterized in that: The device comprises: Title display module, used to provide a game character title query interface; a title management module, for accepting and responding to a query operation of a player in the title query interface, and determining at least one candidate title matching the input keyword from a title set, wherein the title set includes a plurality of titles to be matched, and the plurality of titles can be used to assign different character attributes to the game character; The title display module is further used to display the at least one candidate title in the query display interface.

9. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the query method in the online game described in any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the query method in the online game described in any one of claims 1 to 7 is implemented.