CN111939569B - Method, device and terminal for searching virtual articles in game - Google Patents
Method, device and terminal for searching virtual articles in game Download PDFInfo
- Publication number
- CN111939569B CN111939569B CN202010901160.9A CN202010901160A CN111939569B CN 111939569 B CN111939569 B CN 111939569B CN 202010901160 A CN202010901160 A CN 202010901160A CN 111939569 B CN111939569 B CN 111939569B
- Authority
- CN
- China
- Prior art keywords
- attribute
- virtual
- information
- attribute bit
- search
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/85—Providing additional services to players
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method, a device and a terminal for searching virtual articles in a game, comprising the following steps: acquiring an attribute bit identifier of a virtual article to be searched in a game; determining an attribute bit index based on the search type information and the search attribute information of the virtual article carried in the virtual article search request; and determining a target virtual article which accords with the search type information and the search attribute information carried by the virtual article search request in the virtual articles to be searched based on the attribute bit identifiers and the attribute bit indexes of the virtual articles to be searched. When the target virtual article is determined, the invention only needs to calculate the attribute bit index and each attribute bit identifier, thereby improving the efficiency of searching the target virtual article which accords with the search type information and the search attribute information.
Description
Technical Field
The present invention relates to the field of information query technologies, and in particular, to a method, an apparatus, and a terminal for searching for virtual articles in a game.
Background
Currently, when searching for virtual items in a game, the following two schemes are generally included: one is to traverse all virtual articles according to the search attribute items selected by the player, and filter and screen one by one to obtain the searched virtual articles. The scheme has the advantages of less resources, simple method and suitability for the condition of very small data volume. When the commodity data size is large, the calculation amount of the scheme is very large, and the user cannot be responded quickly; and the other is to independently establish index for each item of attribute of commodity in advance, search the set conforming to each attribute according to the attribute item selected by the user, and finally make intersection. The scheme has high query speed and can meet the query requirement of real-time performance, but an index set needs to be independently established for each attribute, and occupied physical resources (such as memory, hard disk and the like) are large.
In summary, the existing virtual article searching method has the technical problem that searching efficiency and resource expense cannot be considered.
Disclosure of Invention
The invention aims to provide a method, a device and a terminal for searching virtual articles in a game, so as to solve the technical problem that the existing method for searching the virtual articles cannot achieve both searching efficiency and resource expense.
In a first aspect, an embodiment of the present invention provides a method for searching for a virtual object in a game, including: acquiring attribute bit identifiers of virtual articles to be searched in a game, wherein each attribute bit identifier is used for representing various attribute information of the corresponding virtual articles to be searched; responding to a virtual article searching request, and determining an attribute bit index based on searching type information and searching attribute information of the virtual article carried in the virtual article searching request; and determining a target virtual article which accords with the search type information and the search attribute information carried by the virtual article search request in the virtual articles to be searched based on the attribute bit identifier and the attribute bit index of the virtual articles to be searched.
Further, obtaining the attribute bit identifier of the virtual object to be searched in the game includes: classifying each virtual article to be searched in the game according to the type of the virtual article to obtain the virtual article to be searched corresponding to each virtual article type; acquiring an attribute bit table corresponding to each virtual article type, wherein the attribute bit table comprises position information of each attribute item in the attribute bit identifier and number information corresponding to each attribute value of each attribute item; and calculating the attribute bit identifier of each virtual article to be searched in the corresponding virtual article type based on the attribute bit table.
Further, calculating the attribute bit identifier of each virtual item to be searched in the corresponding virtual item type based on the attribute bit table comprises: acquiring attribute information of the virtual article to be searched; determining serial number information corresponding to each attribute value in the attribute information of the virtual article to be searched according to the attribute information of the virtual article to be searched and the attribute bit table; and coding according to the number information corresponding to each attribute value in the attribute information and the position information of each attribute item in the attribute bit list in the attribute bit identifier to obtain the attribute bit identifier of each virtual item to be searched.
Further, encoding according to the number information corresponding to each attribute value in the attribute information and the position information of each attribute item in the attribute bit identifier in the attribute bit table includes: the serial number information corresponding to each attribute value in the attribute information is moved in the same direction according to the position information of the corresponding attribute item in the attribute bit identifier, so that the bit identifier corresponding to each attribute value in the attribute information is obtained; and performing OR operation on the bit identifiers corresponding to the attribute values in the attribute information to obtain the attribute bit identifiers of the virtual articles to be searched.
Further, determining the attribute bit index based on the search type information and the search attribute information of the virtual article carried in the virtual article search request includes: determining a target attribute bit table based on the search type information, wherein the target attribute bit table is an attribute bit table conforming to the search type information, and the target attribute bit table contains position information of each attribute item in the attribute bit index and number information corresponding to each attribute value of each attribute item; and determining the attribute bit index according to the search attribute information and the target attribute bit table.
Further, determining the attribute bit index from the search attribute information and the target attribute bit table includes: determining the number information corresponding to each attribute value in the search attribute information according to the search attribute information and the target attribute bit table; the number information corresponding to each attribute value in the search attribute information is moved in the same direction according to the position information of the corresponding attribute item in the attribute bit index to obtain a bit identifier corresponding to each attribute value in the search attribute information; and performing OR operation on bit identifiers corresponding to all attribute values in the search attribute information to obtain the attribute bit index.
Further, determining, based on the attribute bit identifier of the virtual article to be searched and the attribute bit index, a target virtual article which matches the search type information and the search attribute information carried by the virtual article search request in the virtual article to be searched includes: determining an attribute bit identifier of a target type virtual article in the attribute bit identifiers of the virtual articles to be searched, wherein the type of the target type virtual article accords with the search type information; the target virtual item is determined in the target type virtual item based on the attribute bit identifier and the attribute bit index of the target type virtual item.
Further, when different bits in the attribute bit identifier represent different attribute information, determining the target virtual item in the target type virtual item based on the attribute bit identifier and the attribute bit index of the target type virtual item includes: determining a first attribute bit identifier in attribute bit identifiers of the target type virtual article, wherein the first attribute bit identifier is not smaller than the attribute bit identifier; performing AND operation on the first attribute bit identifier and the attribute bit index, and determining a second attribute bit identifier in the first attribute bit identifier according to an operation result; and determining the target virtual article according to the second attribute bit identifier.
Further, when different bits in the attribute bit identifier commonly represent the same attribute information, determining the target virtual item in the target type virtual item based on the attribute bit identifier and the attribute bit index of the target type virtual item includes: determining a third attribute bit identifier in the attribute bit identifiers of the target type virtual articles, wherein the third attribute bit identifier is not smaller than the attribute bit identifier; performing exclusive OR operation on the third attribute bit identifier and the attribute bit index to obtain a fourth attribute bit identifier; performing non-operation on the fourth attribute bit identifier to obtain a fifth attribute bit identifier; performing AND operation on the fifth attribute bit identifier and a full-bit identifier of a search attribute item, and determining a sixth attribute bit identifier in the third attribute bit identifier according to an operation result, wherein the full-bit identifier of the search attribute item is that an identifier of a target position in the attribute bit identifiers is a first preset value, identifiers of other positions are second preset values, and the target position is that a position of an attribute item corresponding to the search attribute information in the attribute bit identifiers; and determining the target virtual article according to the sixth attribute bit identifier.
In a second aspect, an embodiment of the present invention further provides a device for searching for a virtual object in a game, including: the game device comprises an acquisition unit, a search unit and a search unit, wherein the acquisition unit is used for acquiring attribute bit identifiers of virtual articles to be searched in a game, and each attribute bit identifier is used for representing various attribute information of the corresponding virtual articles to be searched; a first determining unit, configured to determine an attribute bit index based on search type information and search attribute information of a virtual article carried in a virtual article search request in response to the virtual article search request; and the second determining unit is used for determining a target virtual article which accords with the search type information and the search attribute information carried by the virtual article search request in the virtual articles to be searched based on the attribute bit identifier and the attribute bit index of the virtual articles to be searched.
In a third aspect, an embodiment of the present invention further provides a terminal, including a memory, and a processor, where the memory stores a computer program that can be run on the processor, and the processor implements the steps of the method in any one of the first aspects when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing machine-executable instructions which, when invoked and executed by a processor, cause the processor to perform the method of any one of the first aspects.
In an embodiment of the present invention, a method for searching for virtual articles in a game is provided, where the method includes: acquiring attribute bit identifiers of virtual articles to be searched in a game, wherein each attribute bit identifier is used for representing various attribute information of the corresponding virtual articles to be searched; responding to the virtual article searching request, and determining an attribute bit index based on the searching type information and the searching attribute information of the virtual article carried in the virtual article searching request; and determining a target virtual article which accords with the search type information and the search attribute information carried by the virtual article search request in the virtual articles to be searched based on the attribute bit identifiers and the attribute bit indexes of the virtual articles to be searched. According to the description, when the target virtual article which is consistent with the search type information and the search attribute information carried by the virtual article search request is finally determined on the basis that the various attribute information of each virtual article to be searched is represented by one attribute bit identifier and the virtual article search request is represented by the attribute bit index, the attribute bit index and each attribute bit identifier are calculated, and all virtual articles are not required to be traversed according to the search attribute information, so that the efficiency of searching the target virtual article which is consistent with the search type information and the search attribute information is improved, the requirement of real-time searching can be met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for searching virtual articles in a game according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for obtaining an attribute bit identifier of a virtual object to be searched in a game according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for determining an attribute bit index according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for determining an attribute bit index according to search attribute information and a target attribute bit table according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a method for determining a target virtual article in virtual articles to be searched according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a searching device for virtual articles in a game according to an embodiment of the present invention;
Fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be clearly and completely described in connection with the embodiments, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Currently, when a game player searches for virtual articles according to search attribute information in a game, the search efficiency and the resource cost cannot be simultaneously considered.
Based on the above, the embodiment of the invention provides a method, a device and a terminal for searching virtual articles in a game, so as to solve the technical problem that the existing method for searching virtual articles cannot achieve both searching efficiency and resource expense.
For the understanding of the present embodiment, first, a method for searching for virtual articles in a game disclosed in the present embodiment of the present invention will be described in detail, with reference to a flowchart of a method for searching for virtual articles in a game shown in fig. 1, where the method may be executed by a server, and mainly includes the following steps:
Step S102, obtaining an attribute bit identifier of a virtual object to be searched in the game.
Each attribute bit identifier is used for representing various attribute information of the corresponding virtual article to be searched;
in the actual process, the obtained attribute bit identifiers of the virtual articles to be searched are actually the attribute bit identifiers of the virtual articles classified according to the types of the virtual articles. For example, the attribute bit identifiers of the virtual articles to be searched are: an attribute bit identifier of each virtual item to be searched for a cup type, an attribute bit identifier of each virtual item to be searched for a shoe type, and so forth.
Step S104, responding to the virtual article searching request, and determining an attribute bit index based on the searching type information and the searching attribute information of the virtual article carried in the virtual article searching request.
The attribute bit index is an index for searching for a target virtual article.
Step S106, determining the target virtual article which accords with the search type information and the search attribute information carried by the virtual article search request in the virtual articles to be searched based on the attribute bit identifiers and the attribute bit indexes of the virtual articles to be searched.
It should be noted that, the target virtual articles determined in the above process may be one or more.
In an embodiment of the present invention, a method for searching for virtual articles in a game is provided, where the method includes: acquiring attribute bit identifiers of virtual articles to be searched in a game, wherein each attribute bit identifier is used for representing various attribute information of the corresponding virtual articles to be searched; responding to the virtual article searching request, and determining an attribute bit index based on the searching type information and the searching attribute information of the virtual article carried in the virtual article searching request; and determining a target virtual article which accords with the search type information and the search attribute information carried by the virtual article search request in the virtual articles to be searched based on the attribute bit identifiers and the attribute bit indexes of the virtual articles to be searched. According to the description, when the target virtual article which is consistent with the search type information and the search attribute information carried by the virtual article search request is finally determined on the basis that the various attribute information of each virtual article to be searched is represented by one attribute bit identifier and the virtual article search request is represented by the attribute bit index, the attribute bit index and each attribute bit identifier are calculated, and all virtual articles are not required to be traversed according to the search attribute information, so that the efficiency of searching the target virtual article which is consistent with the search type information and the search attribute information is improved, the requirement of real-time searching can be met.
The above-mentioned contents briefly describe a method for searching for virtual articles in a game of the present invention, and detailed descriptions will be given below with respect to specific contents thereof.
In an alternative embodiment of the present invention, referring to fig. 2, step S102, obtaining an attribute bit identifier of a virtual item to be searched in a game includes the steps of:
step S201, classifying each virtual object to be searched in the game according to the virtual object type to obtain the virtual object to be searched corresponding to each virtual object type.
To facilitate understanding of the present invention, the following describes the method of searching for virtual objects in a game of the present invention in terms of a specific real-life example.
Assuming that each virtual article to be searched in the game is provided with a water cup 1, a water cup 2, a water cup 3, a water cup 4, a water cup 5, a water cup 6, a shoe 1, a shoe 2, a shoe 3, a shoe 4 and a shoe 5, classifying each virtual article to be searched according to the type of the virtual article to obtain the corresponding virtual article to be searched with the water cup type, wherein the virtual article to be searched is provided with the water cup 1, the water cup 2, the water cup 3, the water cup 4, the water cup 5 and the water cup 6; the virtual articles to be searched for corresponding to the types of shoes are a shoe 1, a shoe 2, a shoe 3, a shoe 4 and a shoe 5.
Step S202, obtaining an attribute bit table corresponding to each virtual article type.
The attribute bit table contains position information of each attribute item in the attribute bit identifier and number information corresponding to each attribute value of each attribute item.
For example, the attribute bit table corresponding to the type of the water cup is:
the attribute bit table corresponding to the type of the shoe is as follows:
the attribute bit table is obtained by self-defining, the size of the attribute value set of each attribute term determines the bit length of the number information, for example, for the color attribute term of the water cup, the attribute value set of the color attribute term is 4 (red, yellow, black and white respectively), and the bit length of the corresponding number information is 2, namely, two numbers are used for representing each color; for the caliber attribute item of the water cup, the attribute value set of the caliber attribute item is 2 (respectively, 3 cm and 5 cm), and the bit length of the corresponding number information is 1, namely, one number is used for representing each caliber size. In the attribute bit table corresponding to the type of the water cup, the position information of the color attribute item is 0 bit, and the 0 th bit and the 1 st bit in the attribute bit identifier represent colors; the position information of the caliber attribute item is 2 bits, and the 2 nd bit in the attribute bit identifier represents caliber; the position information bit of the height attribute item is 3 bits, indicating that the 3 rd bit represents the height in the attribute bit identifier.
For example, if the attribute bit identifier of the water cup 1 is 0010, attribute information indicating that the water cup 1 is: red, the caliber is 5 cm, and the height is 15 cm.
It should be noted that, according to the above attribute bit table, the attribute values include two types, one is a string type, the other is an integer type, and the string type attribute values of the finite set and the integer type attribute values of the finite set can be represented by bits of a certain length, so that a plurality of bits are combined and compressed to form an attribute bit identifier. Each attribute value of the color of the water cup and each attribute value of the caliber can be represented by a bit with a certain length, and then a plurality of bits are combined and compressed to form an attribute bit identifier for representing various attribute information, and the attribute bit identifier (i.e. independently index) can be independently established for an infinite set of character string type attribute values and an infinite set of integer type attribute values.
Step S203, calculating an attribute bit identifier of each virtual article to be searched in the corresponding virtual article type based on the attribute bit table.
Specifically, the method comprises the following processes (1) to (3):
(1) And acquiring attribute information of the virtual article to be searched.
For example, the attribute information of the cup 2 is black, the caliber is 5 cm, and the height is 15 cm.
(2) And determining the number information corresponding to each attribute value in the attribute information of the virtual article to be searched according to the attribute information and the attribute bit table of the virtual article to be searched.
As an example in (1) above, in combination with the attribute bit table of the above-mentioned water cup, it can be determined that the number information corresponding to the black attribute value of the water cup 2 is 10, the number information corresponding to the 5 cm caliber attribute value of the water cup 2 is 1, and the number information corresponding to the 15 cm height attribute value of the water cup 2 is 0.
(3) And coding according to the number information corresponding to each attribute value in the attribute information and the position information of each attribute item in the attribute bit identifier in the attribute bit table to obtain the attribute bit identifier of each virtual item to be searched.
The method specifically comprises the following steps:
(31) And moving the number information corresponding to each attribute value in the attribute information in the same direction according to the position information of the attribute item corresponding to the number information in the attribute bit identifier to obtain the bit identifier corresponding to each attribute value in the attribute information.
As an example in the above (2), the number information of the black attribute value is 10, and the position information (i.e., 0 bits) of the attribute item (i.e., color item) corresponding to the 10 is shifted according to the position information (i.e., 0 bits) in the attribute bit identifier, that is, the 10 is shifted to the right by 0 bits, and the bit identifier corresponding to the obtained black attribute value is 10;
The number information of the 5 cm caliber attribute value is 1, the 1 is moved in the same direction according to the position information (namely 2 bits) of the attribute item (namely caliber item) corresponding to the 1 in the attribute bit identifier, namely the 1 is also moved rightwards, 2 bits are moved, and the bit identifier corresponding to the obtained 5 cm caliber attribute value is 001;
the number information of the 15 cm height attribute value is 0, the 0 is moved in the same direction according to the position information (namely 3 bits) of the attribute item (namely the height item) corresponding to the 0 in the attribute bit identifier, namely the 0 is moved rightwards in the same way, 3 bits are moved, and the bit identifier corresponding to the obtained 15 cm height attribute value is 0000.
It should be noted that the rightward movement may be a leftward movement, and the direction of the movement is not specifically limited in the embodiment of the present invention.
The process of obtaining the bit identifier corresponding to the attribute value is expressed by a displacement algorithm, and can be expressed as follows: number information < < position information corresponding to v [ i ] = attribute value, or number information > > position information corresponding to v [ i ] = attribute value.
(32) And performing OR operation on bit identifiers corresponding to the attribute values in the attribute information to obtain the attribute bit identifiers of the virtual articles to be searched.
As exemplified in (31) above, namely, 10, 001 and 0000 are ored to obtain the attribute bit identifier of the water cup 2 as follows: 1010, wherein the first two bits (i.e. bit 0 and bit 1) 10 represent black, bit 2 1 represents 5 cm caliber, bit 30 represents 15 cm height, that is, the attribute information of the water cup 2 is known by the attribute bit identifier 1010: black, with a caliber of 5 cm and a height of 15 cm.
The process of OR operation is expressed by algorithm, and can be expressed as follows: v|=v [ i ] (i=0..n), wherein, v [ i ] represents a bit identifier corresponding to each attribute value in the attribute information.
The above description describes the process of obtaining the attribute bit identifier of each virtual article to be searched in detail, and the process of determining the attribute bit index is described in detail below.
In an alternative embodiment of the present invention, referring to fig. 3, step S104 of determining an attribute bit index based on search type information and search attribute information of a virtual item carried in a virtual item search request includes the steps of:
step S301, a target attribute bit table is determined based on the search type information.
The target attribute bit table is an attribute bit table conforming to the search type information, and the target attribute bit table comprises position information of each attribute item in the attribute bit index and number information corresponding to each attribute value of each attribute item.
For example, if the search type information is a water cup, the determined target attribute bit table is the attribute bit table of the water cup:
step S302, determining an attribute bit index according to the search attribute information and the target attribute bit table.
Referring to fig. 4, specifically, the steps S3021 to S3023 are included as follows:
step S3021, determining number information corresponding to each attribute value in the search attribute information according to the search attribute information and the target attribute bit table.
Assume that the search attribute information is: the 3 cm caliber and the 25 cm height can determine that the number information corresponding to the 3 cm caliber attribute value in the attribute information is 0 and the number information corresponding to the 25 cm height attribute value is 1 according to the target attribute bit table.
Step S3022, moving the number information corresponding to each attribute value in the search attribute information in the same direction according to the position information of the attribute item corresponding to the number information in the attribute bit index, to obtain the bit identifier corresponding to each attribute value in the search attribute information.
As exemplified in step S3021, the number information of the 3 cm caliber attribute value is 0, and the 0 is moved in the same direction according to the position information (i.e., 2 bits) of the attribute item (i.e., caliber item) corresponding to the 0 in the attribute bit index, that is, the 0 is moved to the right in the same way, 2 bits are moved, and the obtained bit identifier corresponding to the 3 cm caliber attribute value is 000;
The number information of the 25 cm height attribute value is 1, the 1 is moved in the same direction according to the position information (namely 3 bits) of the attribute item (namely the height item) corresponding to the 1 in the attribute bit index, namely the 1 is also moved to the right by 3 bits, and the bit identifier corresponding to the obtained 25 cm height attribute value is 0001.
The moving direction of the same-direction movement is the same as the moving direction in the attribute bit identifier for acquiring the virtual article to be searched.
In step S3023, the bit identifiers corresponding to the attribute values in the search attribute information are or-operated to obtain the attribute bit index.
As exemplified above in step S3022, i.e., performing an or operation on 000 and 0001, the attribute bit index is: 0001.
the above description describes the process of determining the attribute bit index in detail, and the process of determining the target virtual article is described in detail below.
In an alternative embodiment of the present invention, referring to fig. 5, determining, in a virtual item to be searched, a target virtual item that matches search type information and search attribute information carried by a virtual item search request based on an attribute bit identifier and an attribute bit index of the virtual item to be searched includes:
Step S501, determining an attribute bit identifier of a virtual article of a target type from attribute bit identifiers of virtual articles to be searched.
Wherein the type of the target type virtual article coincides with the search type information.
Step S502, determining the target virtual article in the target type virtual article based on the attribute bit identifier and the attribute bit index of the target type virtual article.
In the embodiment of the present invention, the process of step S502 is divided into two cases, where the first case is a case of determining a target virtual article in the target type virtual article when different bits in the attribute bit identifier represent different attribute information; and the second case is a case of determining the target virtual article in the target type virtual article when different bits exist in the attribute bit identifier to jointly represent the same attribute information. The following describes the two cases respectively:
case one: when different bits in the attribute bit identifier represent different attribute information, determining the target virtual item in the target type virtual item based on the attribute bit identifier and the attribute bit index of the target type virtual item comprises:
1) A first attribute bit identifier is determined among the attribute bit identifiers of the target type virtual item.
Wherein the first attribute bit identifier is not less than the attribute bit index;
this will be described below with a specific example when the attribute bits of the cup are as shown in the following table (different bits in the attribute bit identifier can represent different attribute information only when the number of attribute values of each attribute item is not more than 2):
assuming that the search type information is a cup and the search attribute information is 5 cm caliber, the attribute bit index is calculated to be 01 according to the process of the content.
Assume that the cup type virtual article-attribute information-attribute bit identifiers (calculated from the attribute information and the attribute bit table) are respectively: 1-red cup, 5 cm caliber and 15 cm height-010; 2-yellow, 5 cm caliber and 15 cm height-110; 3-yellow, 3 cm caliber and 25 cm height-101; 4-yellow, 3 cm caliber and 15 cm height-100; the cup is 5-red, 3 cm caliber and 25 cm height-001; 6-red, 5 cm caliber and 25 cm height-011.
That is, the attribute bit identifier of the cup type virtual article includes: {010, 110, 101, 100, 001, 011}, which is arranged in order of small to large, the result is: {001, 010, 011, 100, 101, 110}, and the attribute bit index is 01, then the determined first attribute bit identifier (i.e., an attribute bit identifier not less than 01) includes: {010, 011, 100, 101, 110}.
2) And performing AND operation on the first attribute bit identifier and the attribute bit index, and determining a second attribute bit identifier in the first attribute bit identifier according to an operation result.
As an example in 1) above, the first attribute bit identifiers {010, 011, 100, 101, 110} are respectively and-calculated with the attribute bit index 01, the obtained result corresponds to {010, 010, 000, 001, 010}, and the result is equal to the first attribute bit identifier {010, 011, 110} corresponding to the attribute bit index 01 as the second attribute bit identifier.
3) And determining the target virtual article according to the second attribute bit identifier.
As exemplified in 2) above, the second attribute bit identifier is {010, 011, 110}, and as exemplified in 1), the corresponding target virtual object is: cup 1, cup 6 and cup 2.
The above-described process of determining a target virtual article can be represented by the following expression: v > = v_f and v & v_f= v_f, where v_f represents the attribute bit index and v represents the second attribute bit identifier.
And a second case: when different bits in the attribute bit identifier commonly represent the same attribute information, the step of determining the target virtual article in the target type virtual article based on the attribute bit identifier and the attribute bit index of the target type virtual article comprises:
a) A third attribute bit identifier is determined among the attribute bit identifiers of the target type virtual item.
Wherein the third attribute bit identifier is not less than the attribute bit index;
this will be described below with a specific example when the attribute bits of a cup are represented in the following table (when there is a number of attribute values of one attribute greater than 2, the different bits in the attribute bit identifier collectively represent the same attribute information):
assuming that the search type information is a cup and the search attribute information is black and 5 cm caliber, the attribute bit index is 101 according to the process of the above content.
Assume that the cup type virtual article-attribute information-attribute bit identifiers (calculated from the attribute information and the attribute bit table) are respectively: 1-black cup, 5 cm caliber and 15 cm height-1010; 2-yellow, 5 cm caliber and 15 cm height-0110; 3-yellow, 3 cm caliber and 25 cm height-0101; 4-white, 3 cm caliber and 15 cm height-1100; 5-red, 3 cm caliber and 25 cm height-0001; 6-white, 5 cm caliber and 25 cm height-1111.
That is, the attribute bit identifier of the cup type virtual article includes: {1010, 0110, 0101, 1100, 0001, 1111}, which is arranged in order from small to large, the result is: {0001, 0101, 0110, 1010, 1100, 1111}, and the attribute bit index is 101, then the determined third attribute bit identifier (i.e., an attribute bit identifier not less than 101) comprises: {1010, 1100, 1111}.
b) And performing exclusive OR operation on the third attribute bit identifier and the attribute bit index to obtain a fourth attribute bit identifier.
As exemplified in a) above, the third attribute bit identifiers {1010, 1100, 1111} are exclusive ored with the attribute bit indices 101, respectively, to yield fourth attribute bit identifiers {0000, 0110, 0101}.
c) And performing non-operation on the fourth attribute bit identifier to obtain a fifth attribute bit identifier.
As exemplified in b) above, the fourth attribute bit identifier {0000, 0110, 0101} is not operated on, resulting in a fifth attribute bit identifier {1111, 1001, 1010}.
d) And performing AND operation on the fifth attribute bit identifier and the all-bit identifier of the search attribute item, and determining a sixth attribute bit identifier in the third attribute bit identifier according to the operation result.
The method comprises the steps that all identifiers of the search attribute items are identifiers of target positions in the attribute identifiers, the identifiers of the rest positions are second preset values, and the target positions are positions of the attribute items corresponding to the search attribute information in the attribute identifiers;
specifically, the first preset value may be 1, and the second preset value may be 0.
As an example in a) above, the search attribute information is black, 5 cm caliber, and the known search attribute items include: the color and caliber, the corresponding search attribute item all-bit identifier is: 1110.
And c) performing an AND operation on the fifth attribute bit identifiers {1111, 1001, 1010} in the above c) and the search attribute item all bit identifier 1110, where the obtained result corresponds to {1110, 1000, 1011}, and the third attribute bit identifier {1010} corresponding to the search attribute item all bit identifier 1110 is used as the sixth attribute bit identifier.
e) A target virtual article is determined from the sixth attribute bit identifier.
As illustrated in d), the sixth attribute bit identifier is {1010}, and as illustrated in a), the corresponding target virtual object is: a water cup 1.
The above-described process of determining the target virtual article can be expressed by the following expression: v > = v_f and = (v xor v_f) & v_m= v_m, where v_f represents the attribute bit index, v represents the sixth attribute bit identifier, xor represents the exclusive or operation, — represents the non-operation, and v_m represents the search attribute item all bit identifier.
The searching method of virtual articles in the game can quickly search the set of target virtual articles meeting the searching attribute information according to the searching attribute information selected by a game player, and can calculate the result in real time; the multiple attribute information is represented by one attribute bit identifier (i.e. the attribute information of the compressed virtual article is combined, and the multiple attribute information shares the index field of one attribute bit identifier), so that the multiple attribute information can be prevented from corresponding to the multiple attribute bit identifiers (i.e. multiple indexes), and occupation of memory, hard disk resources and the like is reduced.
The embodiment of the invention also provides a searching device for the virtual articles in the game, which is mainly used for executing the searching method for the virtual articles in the game provided by the embodiment of the invention, and the searching device for the virtual articles in the game provided by the embodiment of the invention is specifically introduced.
Fig. 6 is a schematic diagram of a searching device for virtual articles in a game according to an embodiment of the present invention, and as shown in fig. 6, the searching device for virtual articles in a game mainly includes: an acquisition unit 10, a first determination unit 20, and a second determination unit 30, wherein:
an obtaining unit 10, configured to obtain attribute bit identifiers of virtual articles to be searched in a game, where each attribute bit identifier is used to characterize multiple attribute information of a corresponding virtual article to be searched;
a first determining unit 20 for determining an attribute bit index based on search type information and search attribute information of the virtual article carried in the virtual article search request in response to the virtual article search request;
the second determining unit 30 is configured to determine, among the virtual items to be searched, a target virtual item that matches the search type information and the search attribute information carried by the virtual item search request, based on the attribute bit identifier and the attribute bit index of the virtual item to be searched.
In an embodiment of the present invention, a method for searching for virtual articles in a game is provided, where the method includes: acquiring attribute bit identifiers of virtual articles to be searched in a game, wherein each attribute bit identifier is used for representing various attribute information of the corresponding virtual articles to be searched; responding to the virtual article searching request, and determining an attribute bit index based on the searching type information and the searching attribute information of the virtual article carried in the virtual article searching request; and determining a target virtual article which accords with the search type information and the search attribute information carried by the virtual article search request in the virtual articles to be searched based on the attribute bit identifiers and the attribute bit indexes of the virtual articles to be searched. According to the description, when the target virtual article which is consistent with the search type information and the search attribute information carried by the virtual article search request is finally determined on the basis that the various attribute information of each virtual article to be searched is represented by one attribute bit identifier and the virtual article search request is represented by the attribute bit index, the attribute bit index and each attribute bit identifier are calculated, and all virtual articles are not required to be traversed according to the search attribute information, so that the efficiency of searching the target virtual article which is consistent with the search type information and the search attribute information is improved, the requirement of real-time searching can be met.
Optionally, the obtaining unit is further configured to: classifying each virtual article to be searched in the game according to the type of the virtual article to obtain the virtual article to be searched corresponding to each virtual article type; acquiring an attribute bit table corresponding to each virtual article type, wherein the attribute bit table comprises position information of each attribute item in an attribute bit identifier and number information corresponding to each attribute value of each attribute item; and calculating the attribute bit identifier of each virtual article to be searched in the corresponding virtual article type based on the attribute bit table.
Optionally, the obtaining unit is further configured to: acquiring attribute information of a virtual article to be searched; determining serial number information corresponding to each attribute value in the attribute information of the virtual article to be searched according to the attribute information and the attribute bit table of the virtual article to be searched; and coding according to the number information corresponding to each attribute value in the attribute information and the position information of each attribute item in the attribute bit identifier in the attribute bit table to obtain the attribute bit identifier of each virtual item to be searched.
Optionally, the obtaining unit is further configured to: the serial number information corresponding to each attribute value in the attribute information is moved in the same direction according to the position information of the attribute item corresponding to the serial number information in the attribute bit identifier, so that the bit identifier corresponding to each attribute value in the attribute information is obtained; and performing OR operation on bit identifiers corresponding to the attribute values in the attribute information to obtain the attribute bit identifiers of the virtual articles to be searched.
Optionally, the first determining unit is further configured to: determining a target attribute bit table based on the search type information, wherein the target attribute bit table is an attribute bit table conforming to the search type information, and the target attribute bit table contains position information of each attribute item in an attribute bit index and number information corresponding to each attribute value of each attribute item; an attribute bit index is determined from the search attribute information and the target attribute bit table.
Optionally, the first determining unit is further configured to: determining the number information corresponding to each attribute value in the search attribute information according to the search attribute information and the target attribute bit table; the serial number information corresponding to each attribute value in the search attribute information is moved in the same direction according to the position information of the corresponding attribute item in the attribute bit index to obtain the bit identifier corresponding to each attribute value in the search attribute information; and performing OR operation on bit identifiers corresponding to all attribute values in the search attribute information to obtain an attribute bit index.
Optionally, the second determining unit is further configured to: determining an attribute bit identifier of a target type virtual article in the attribute bit identifiers of the virtual articles to be searched, wherein the type of the target type virtual article accords with the search type information; a target virtual item is determined in the target type virtual item based on the attribute bit identifier and the attribute bit index of the target type virtual item.
Optionally, when different bits in the attribute bit identifier represent different attribute information, the second determining unit is further configured to: determining a first attribute bit identifier in the attribute bit identifiers of the target type virtual articles, wherein the first attribute bit identifier is not smaller than the attribute bit index; performing AND operation on the first attribute bit identifier and the attribute bit index, and determining a second attribute bit identifier in the first attribute bit identifier according to an operation result; and determining the target virtual article according to the second attribute bit identifier.
Optionally, when there are different bits in the attribute bit identifier that collectively represent the same attribute information, the second determining unit is further configured to: determining a third attribute bit identifier in the attribute bit identifiers of the target type virtual articles, wherein the third attribute bit identifier is not smaller than the attribute bit index; performing exclusive OR operation on the third attribute bit identifier and the attribute bit index to obtain a fourth attribute bit identifier; performing non-operation on the fourth attribute bit identifier to obtain a fifth attribute bit identifier; performing AND operation on the fifth attribute bit identifier and the full-bit identifier of the search attribute item, and determining a sixth attribute bit identifier in the third attribute bit identifier according to an operation result, wherein the full-bit identifier of the search attribute item is an identifier of a target position in the attribute bit identifiers, which is a first preset value, the identifiers of the rest positions are second preset values, and the target position is the position of the attribute item corresponding to the search attribute information in the attribute bit identifiers; a target virtual article is determined from the sixth attribute bit identifier.
The device provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the foregoing method embodiment, and for the sake of brevity, reference may be made to the corresponding content in the foregoing method embodiment where the device embodiment is not mentioned.
It will be clear to those skilled in the art that, for convenience and brevity, the specific operation of the system, apparatus and unit described above may refer to the corresponding process in the above method embodiment, which is not described in detail herein. The determining device of the in-game booth provided by the embodiment of the application has the same technical characteristics as the determining method of the in-game booth provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The embodiment of the application also provides a terminal, which specifically comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method according to the above embodiments.
As an example, as shown in fig. 7, a computer device 400 provided in an embodiment of the present application includes: the method comprises the steps of a processor 401, a memory 402 and a bus, wherein the memory 402 stores machine-readable instructions executable by the processor 401, and when the computer device runs, the processor 401 and the memory 402 communicate through the bus, and the processor 401 executes the machine-readable instructions to execute the steps of the method for searching virtual articles in the game.
Specifically, the memory 402 and the processor 401 can be general-purpose memories and processors, and are not particularly limited herein, and when the processor 401 runs a computer program stored in the memory 402, the method for searching for virtual articles in the game can be performed.
The computer device 400 may be used to perform the method for searching for virtual objects in the game shown in fig. 1, where the computer device 400 may be a development terminal.
Corresponding to the above method for searching for virtual articles in a game, the embodiments of the present application further provide a computer readable storage medium storing machine executable instructions that, when invoked and executed by a processor, cause the processor to execute the steps of the above method for searching for virtual articles in a game.
The searching device for virtual articles in the game provided by the embodiment of the application can be specific hardware on the equipment or software or firmware installed on the equipment. The device provided in the embodiments of the present application has the same implementation principle and technical effects as those of the foregoing method embodiments, and for a brief description, reference may be made to corresponding matters in the foregoing method embodiments where the device embodiment section is not mentioned. It will be clear to those skilled in the art that, for convenience and brevity, the specific operation of the system, apparatus and unit described above may refer to the corresponding process in the above method embodiment, which is not described in detail herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners as well. The apparatus embodiments described above are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional unit in the embodiments provided in the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the mobile control method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that: like reference numerals and letters in the following figures denote like items, and thus once an item is defined in one figure, no further definition or explanation of it is required in the following figures, and furthermore, the terms "first," "second," "third," etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present application, and are not intended to limit the scope of the present application, but the present application is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, the present application is not limited thereto. Any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the scope of the embodiments of the present application, and are intended to be included within the scope of the present application.
Claims (10)
1. A method for searching for virtual objects in a game, comprising:
acquiring attribute bit identifiers of virtual articles to be searched in a game, wherein each attribute bit identifier is used for representing various attribute information of the corresponding virtual articles to be searched;
responding to a virtual article searching request, and determining an attribute bit index based on searching type information and searching attribute information of the virtual article carried in the virtual article searching request;
Determining a target virtual article which accords with the search type information and the search attribute information carried by the virtual article search request in the virtual articles to be searched based on the attribute bit identifiers and the attribute bit indexes of the virtual articles to be searched;
wherein, obtaining the attribute bit identifier of the virtual article to be searched in the game comprises:
classifying each virtual article to be searched in the game according to the type of the virtual article to obtain the virtual article to be searched corresponding to each virtual article type;
acquiring an attribute bit table corresponding to each virtual article type, wherein the attribute bit table comprises position information of each attribute item in the attribute bit identifier and number information corresponding to each attribute value of each attribute item;
calculating an attribute bit identifier of each virtual article to be searched in the corresponding virtual article type based on the attribute bit table;
wherein determining the attribute bit index based on the search type information and the search attribute information of the virtual article carried in the virtual article search request includes:
determining a target attribute bit table based on the search type information, wherein the target attribute bit table is an attribute bit table conforming to the search type information, and the target attribute bit table contains position information of each attribute item in the attribute bit index and number information corresponding to each attribute value of each attribute item;
And determining the attribute bit index according to the search attribute information and the target attribute bit table.
2. The method of claim 1, wherein calculating an attribute bit identifier for each virtual item to be searched in its corresponding virtual item type based on the attribute bit table comprises:
acquiring attribute information of the virtual article to be searched;
determining serial number information corresponding to each attribute value in the attribute information of the virtual article to be searched according to the attribute information of the virtual article to be searched and the attribute bit table;
and coding according to the number information corresponding to each attribute value in the attribute information and the position information of each attribute item in the attribute bit list in the attribute bit identifier to obtain the attribute bit identifier of each virtual item to be searched.
3. The method of claim 2, wherein encoding based on the number information corresponding to each attribute value in the attribute information and the position information of each attribute item in the attribute bit table in the attribute bit identifier comprises:
the serial number information corresponding to each attribute value in the attribute information is moved in the same direction according to the position information of the corresponding attribute item in the attribute bit identifier, so that the bit identifier corresponding to each attribute value in the attribute information is obtained;
And performing OR operation on the bit identifiers corresponding to the attribute values in the attribute information to obtain the attribute bit identifiers of the virtual articles to be searched.
4. The method of claim 1, wherein determining the attribute bit index from the search attribute information and the target attribute bit table comprises:
determining the number information corresponding to each attribute value in the search attribute information according to the search attribute information and the target attribute bit table;
the number information corresponding to each attribute value in the search attribute information is moved in the same direction according to the position information of the corresponding attribute item in the attribute bit index to obtain a bit identifier corresponding to each attribute value in the search attribute information;
and performing OR operation on bit identifiers corresponding to all attribute values in the search attribute information to obtain the attribute bit index.
5. The method of claim 1, wherein determining, among the virtual items to be searched, a target virtual item that matches the search type information and the search attribute information carried by the virtual item search request based on the attribute bit identifier and the attribute bit index of the virtual item to be searched comprises:
Determining an attribute bit identifier of a target type virtual article in the attribute bit identifiers of the virtual articles to be searched, wherein the type of the target type virtual article accords with the search type information;
the target virtual item is determined in the target type virtual item based on the attribute bit identifier and the attribute bit index of the target type virtual item.
6. The method of claim 5, wherein determining the target virtual item in the target type virtual item based on the attribute bit identifier and the attribute bit index when different bits in the attribute bit identifier represent different attribute information comprises:
determining a first attribute bit identifier in attribute bit identifiers of the target type virtual article, wherein the first attribute bit identifier is not smaller than the attribute bit identifier;
performing AND operation on the first attribute bit identifier and the attribute bit index, and determining a second attribute bit identifier in the first attribute bit identifier according to an operation result;
and determining the target virtual article according to the second attribute bit identifier.
7. The method of claim 5, wherein determining the target virtual item in the target type virtual item based on the attribute bit identifier and the attribute bit index when different bits exist in the attribute bit identifier that collectively represent the same attribute information comprises:
determining a third attribute bit identifier in the attribute bit identifiers of the target type virtual articles, wherein the third attribute bit identifier is not smaller than the attribute bit identifier;
performing exclusive OR operation on the third attribute bit identifier and the attribute bit index to obtain a fourth attribute bit identifier;
performing non-operation on the fourth attribute bit identifier to obtain a fifth attribute bit identifier;
performing AND operation on the fifth attribute bit identifier and a full-bit identifier of a search attribute item, and determining a sixth attribute bit identifier in the third attribute bit identifier according to an operation result, wherein the full-bit identifier of the search attribute item is that an identifier of a target position in the attribute bit identifiers is a first preset value, identifiers of other positions are second preset values, and the target position is that a position of an attribute item corresponding to the search attribute information in the attribute bit identifiers;
And determining the target virtual article according to the sixth attribute bit identifier.
8. A search device for virtual articles in a game, comprising:
the game device comprises an acquisition unit, a search unit and a search unit, wherein the acquisition unit is used for acquiring attribute bit identifiers of virtual articles to be searched in a game, and each attribute bit identifier is used for representing various attribute information of the corresponding virtual articles to be searched;
a first determining unit, configured to determine an attribute bit index based on search type information and search attribute information of a virtual article carried in a virtual article search request in response to the virtual article search request;
a second determining unit, configured to determine, based on the attribute bit identifier of the virtual article to be searched and the attribute bit index, a target virtual article that matches the search type information and the search attribute information carried by the virtual article search request, in the virtual article to be searched;
the acquisition unit is further configured to: classifying each virtual article to be searched in the game according to the type of the virtual article to obtain the virtual article to be searched corresponding to each virtual article type; acquiring an attribute bit table corresponding to each virtual article type, wherein the attribute bit table comprises position information of each attribute item in the attribute bit identifier and number information corresponding to each attribute value of each attribute item; calculating an attribute bit identifier of each virtual article to be searched in the corresponding virtual article type based on the attribute bit table;
The first determining unit is further configured to: determining a target attribute bit table based on the search type information, wherein the target attribute bit table is an attribute bit table conforming to the search type information, and the target attribute bit table contains position information of each attribute item in the attribute bit index and number information corresponding to each attribute value of each attribute item; and determining the attribute bit index according to the search attribute information and the target attribute bit table.
9. A terminal comprising a memory, a processor, the memory having stored therein a computer program executable on the processor, characterized in that the processor, when executing the computer program, implements the steps of the method of any of the preceding claims 1 to 7.
10. A computer readable storage medium storing machine executable instructions which, when invoked and executed by a processor, cause the processor to perform the method of any one of claims 1 to 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010901160.9A CN111939569B (en) | 2020-08-31 | 2020-08-31 | Method, device and terminal for searching virtual articles in game |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010901160.9A CN111939569B (en) | 2020-08-31 | 2020-08-31 | Method, device and terminal for searching virtual articles in game |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111939569A CN111939569A (en) | 2020-11-17 |
| CN111939569B true CN111939569B (en) | 2024-02-09 |
Family
ID=73367904
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010901160.9A Active CN111939569B (en) | 2020-08-31 | 2020-08-31 | Method, device and terminal for searching virtual articles in game |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111939569B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004102353A2 (en) * | 2003-05-12 | 2004-11-25 | Gtech Rhode Island Corporation | Method and system for authentication |
| WO2009067683A2 (en) * | 2007-11-21 | 2009-05-28 | Kiz Toys, Inc. | Systems and methods for providing a virtual world commodity device |
| CN107390875A (en) * | 2017-07-28 | 2017-11-24 | 腾讯科技(上海)有限公司 | Information processing method, device, terminal device and computer-readable recording medium |
| CN108176054A (en) * | 2017-12-27 | 2018-06-19 | 网易(杭州)网络有限公司 | Virtual article trading method, apparatus, electronic equipment and storage medium |
| CN108579090A (en) * | 2018-04-16 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Article display method, apparatus in virtual scene and storage medium |
-
2020
- 2020-08-31 CN CN202010901160.9A patent/CN111939569B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004102353A2 (en) * | 2003-05-12 | 2004-11-25 | Gtech Rhode Island Corporation | Method and system for authentication |
| WO2009067683A2 (en) * | 2007-11-21 | 2009-05-28 | Kiz Toys, Inc. | Systems and methods for providing a virtual world commodity device |
| CN107390875A (en) * | 2017-07-28 | 2017-11-24 | 腾讯科技(上海)有限公司 | Information processing method, device, terminal device and computer-readable recording medium |
| CN108176054A (en) * | 2017-12-27 | 2018-06-19 | 网易(杭州)网络有限公司 | Virtual article trading method, apparatus, electronic equipment and storage medium |
| CN108579090A (en) * | 2018-04-16 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Article display method, apparatus in virtual scene and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111939569A (en) | 2020-11-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102215299B1 (en) | Error correction method and device and computer readable medium | |
| US20230385353A1 (en) | Spatial search using key-value store | |
| CN104408163A (en) | Data hierarchical storage method and device | |
| CN111353012B (en) | Spatial text data caching processing method, device, electronic equipment and storage medium | |
| CN112800197A (en) | A method and device for determining target fault information | |
| CN112734837A (en) | Image matching method and device, electronic equipment and vehicle | |
| CN107644081A (en) | Data duplicate removal method and device | |
| CN111858609A (en) | Fuzzy query method and device for block chain | |
| CN115438081A (en) | Multi-stage aggregation and real-time updating method for massive ship position point clouds | |
| CN113473153B (en) | A point cloud attribute prediction method, encoding method, decoding method and equipment thereof | |
| CN111939569B (en) | Method, device and terminal for searching virtual articles in game | |
| CN113590922A (en) | Image searching method and electronic equipment | |
| CN108021678B (en) | A compact key-value pair storage structure and a fast key-value pair search method | |
| CN114817651A (en) | Data storage method, data query method, apparatus and device | |
| CN111414527A (en) | Similar item query method and device and storage medium | |
| CN111143582A (en) | Multimedia resource recommendation method and device for updating associative words in real time through double indexes | |
| CN109951275A (en) | Key generation method, device, computer equipment and storage medium | |
| CN111859192B (en) | Searching method, searching device, electronic equipment and storage medium | |
| CN109981755A (en) | Image-recognizing method, device and electronic equipment | |
| CN110019232B (en) | Method and device for saving message | |
| CN117156200B (en) | Method, system, electronic equipment and medium for removing duplication of massive videos | |
| CN117729176B (en) | Application program interface aggregation method and device based on network address and response body | |
| CN115525233B (en) | Data record storage method and device, storage medium and electronic equipment | |
| CN115292713B (en) | Vulnerability query method, device, equipment and storage medium | |
| CN120296008B (en) | Repeated data detection method, apparatus, storage medium and computer program product |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |