Virtual item generation method and system

CN116109747BActive Publication Date: 2026-08-21SHANGHAI HODE INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211634442.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-19
Publication Date
2026-08-21
Estimated Expiration
2042-12-19

AI Technical Summary

Technical Problem

本申请同时涉及虚拟物品生成系统,一种计算设备,以及一种计算机可读存储介质,以解决现有技术中存在的游戏抽卡方式单一的问题

Benefits of technology

[0020]本申请提供的虚拟物品生成方法,应用于客户端,包括:识别目标实体物品携带的待识别标签;获取所述待识别标签对应的标签信息;将所述标签信息发送至服务器,接收所述服务器基于所述标签信息返回的所述目标实体物品对应的目标虚拟物品信息;基于所述目标虚拟物品信息进行渲染,生成并展示目标虚拟物品。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116109747B_ABST
    Figure CN116109747B_ABST
Patent Text Reader

Abstract

The application provides a virtual object generation method and device, wherein the virtual object generation method is applied to a client and includes the following steps: identifying a to-be-identified label carried by a target entity object; acquiring label information corresponding to the to-be-identified label; sending the label information to a server, receiving target virtual object information corresponding to the target entity object returned by the server based on the label information; and rendering based on the target virtual object information, generating and displaying a target virtual object. In this way, the process of extracting a corresponding virtual object online is realized through offline identification of an entity object, the real world and the virtual world are combined, and the interactive experience of a player is enriched.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method for generating virtual items. This application also relates to a virtual item generation system, a computing device, and a computer-readable storage medium. Background Technology

[0002] In existing mobile games, game operators often increase the appeal of the game to players and improve their gaming experience by providing them with different virtual characters or items.

[0003] Players can acquire different virtual characters or items through gacha pulls during game missions. Current gacha pull methods typically involve a gacha interface displayed on the player's device's graphical user interface. When the player clicks on the interface, a gacha pull is performed, and the result is displayed. However, this method, being a purely virtual interactive gacha system, offers a poor player experience. Summary of the Invention

[0004] In view of this, embodiments of this application provide a method for generating virtual items. This application also relates to a virtual item generation system, a computing device, and a computer-readable storage medium, to address the problem of the limited variety of gacha (card-drawing) methods in existing games.

[0005] According to a first aspect of the embodiments of this application, a method for generating virtual items is provided, applied to a client, including:

[0006] Identify the tags to be identified on the target physical object;

[0007] Obtain the tag information corresponding to the tag to be identified;

[0008] The tag information is sent to the server, and the server returns the target virtual item information corresponding to the target physical item based on the tag information.

[0009] The target virtual item is rendered based on the target virtual item information, and the target virtual item is generated and displayed.

[0010] According to a second aspect of the embodiments of this application, a method for generating virtual items is provided, applied to a server, including:

[0011] Receive tag information sent by the client, wherein the tag information carries tag identification information of the tag to be identified and category information of the virtual item extraction rule;

[0012] Based on the tag identification information, the target physical item carrying the tag to be identified is determined, and based on the category information of the virtual item extraction rule, the target virtual item extraction rule corresponding to the target physical item is determined.

[0013] Based on the target virtual item extraction rules, the target virtual item information corresponding to the target physical item is determined;

[0014] The target virtual item information is sent to the client.

[0015] According to a third aspect of the embodiments of this application, a virtual item generation system is provided, including a client and a server;

[0016] The client identifies the tag to be identified carried by the target object; obtains the tag information corresponding to the tag to be identified; and sends the tag information to the server.

[0017] The server receives the tag information, wherein the tag information carries category information of virtual item extraction rules; determines the target virtual item extraction rule corresponding to the target physical item based on the category information of the virtual item extraction rules; determines the target virtual item information corresponding to the target physical item based on the target virtual item extraction rule; and sends the target virtual item information to the client.

[0018] According to a fourth aspect of the present application, a computing device is provided, including a memory, a processor, and computer instructions stored in the memory and executable on the processor, wherein the processor executes the computer instructions to implement the steps of the virtual item generation method.

[0019] According to a fifth aspect of the present application, a computer-readable storage medium is provided that stores computer instructions which, when executed by a processor, implement the steps of the virtual item generation method.

[0020] The virtual item generation method provided in this application is applied to a client and includes: identifying a tag to be identified carried by a target physical item; obtaining tag information corresponding to the tag to be identified; sending the tag information to a server; receiving target virtual item information corresponding to the target physical item returned by the server based on the tag information; rendering based on the target virtual item information to generate and display the target virtual item.

[0021] In one embodiment of this application, the client identifies a tag to be identified carried in the target physical item, triggering the server to determine the target virtual item information based on the tag information in the tag to be identified, and then renders and displays the target virtual item information on the client. This method realizes the process of extracting the corresponding virtual item online by identifying the physical item offline, combining the real world and the virtual world, and enriching the player's interactive experience. Attached Figure Description

[0022] Figure 1 This is a schematic diagram of the system structure of a virtual item generation system provided in an embodiment of this application.

[0023] Figure 2 This is a flowchart of a virtual item generation method provided in an embodiment of this application;

[0024] Figure 3 This is a flowchart of another virtual item generation method provided in an embodiment of this application;

[0025] Figure 4 This is a schematic diagram of the prize pool rules for a virtual item generation method provided in one embodiment of this application;

[0026] Figure 5 This is a flowchart illustrating a method for generating virtual items in a game gacha system, as provided in one embodiment of this application.

[0027] Figure 6 This is a schematic diagram of the NFC NDEF record information allocation structure in a virtual item generation method provided in an embodiment of this application;

[0028] Figure 7 This is a schematic diagram of the structure of a virtual item generation device provided in one embodiment of this application;

[0029] Figure 8 This is a schematic diagram of the structure of another virtual item generation device provided in one embodiment of this application;

[0030] Figure 9 This is a structural block diagram of a computing device provided in one embodiment of this application. Detailed Implementation

[0031] Many specific details are set forth in the following description to provide a full understanding of this application. However, this application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this application; therefore, this application is not limited to the specific embodiments disclosed below.

[0032] The terminology used in one or more embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the scope of one or more embodiments of this application. The singular forms “a,” “the,” and “the” used in one or more embodiments of this application and in the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” used in one or more embodiments of this application refers to and includes any or all possible combinations of one or more associated listed items.

[0033] It should be understood that although the terms first, second, etc., may be used to describe various information in one or more embodiments of this application, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second without departing from the scope of one or more embodiments of this application, and similarly, second may also be referred to as first. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."

[0034] First, the terms and concepts involved in one or more embodiments of this application will be explained.

[0035] NFC: Near Field Communication is a short-range wireless communication technology. It typically enables device connection and communication within a distance of 4cm or less.

[0036] Blind boxes: These are toy boxes where consumers cannot know the specific product in advance. They have a random attribute, and you will only know what you have when you open them.

[0037] Gashapon: A product similar to blind boxes.

[0038] Gacha: Gacha is a common way to spend money in mobile games. It typically involves drawing characters, character fragments, or costume items. The main method involves recharging to exchange for a certain amount of virtual currency, which is then used to participate in a gacha draw. The probability of winning usually depends on whether a pity system is included.

[0039] NDEF (NFC Data Exchange Format): NDEF is a lightweight, compact binary format that can carry URLs, vCards, and various data types defined by NFC. An NDEF consists of various data records, each composed of a header and a payload. The data type and size of the NDEF record are indicated by the payload header, which contains three parts: Length, Type, and Identifier. NDEF is used when the LLCP link is activated. Use case: An upper-layer application generates NDEF information from one or more files. This message is passed to the lower-layer LLC layer and transmitted to the other party. The other party can receive and process it directly or write it into a tag as an intermediate stage. When other devices approach the tag, they read the contents of the tag and pass the read NDEF message to the upper-layer application for analysis and processing.

[0040] Short-range wireless communication technologies: NFC, Wi-Fi, RFID (Radio Frequency Identification), Bluetooth.

[0041] Gacha mechanics is a common monetization method in mobile games and represents the biggest difference between mobile games and traditional PC games (single-player or online games). Traditional PC single-player or console games typically operate on a buy-to-play model, requiring a one-time purchase of the digital or physical copy of the game. PC online games, on the other hand, combine a subscription model (purchasing game time) with in-game item purchases. In contrast, mobile games are characterized by convenience and short time commitments, making full use of players' fragmented time. Furthermore, by leveraging consumer psychology and introducing paid gacha mechanics for character fragments or items, mobile games can significantly increase players' willingness to purchase.

[0042] Blind boxes (or similar gashapon toys) are toy boxes where consumers cannot know the specific product in advance. They have a random element; you only know what you've got when you open it. This uncertainty stimulates repeat purchases, making blind boxes addictive. Blind boxes have become a popular way for young people to collect specific items, even giving rise to the concept of a "blind box economy."

[0043] NFC (Near Field Communication) is a short-range wireless communication technology. It typically enables device connection and communication within a distance of 4cm or less. NFC allows you to share small amounts of data between an NFC tag and an NFC-enabled device, or between two NFC-enabled devices.

[0044] Based on this, this application provides a method for generating virtual items, which modifies the traditional random card-drawing algorithm to realize interactive card-drawing between the virtual world and reality. By recognizing physical blind boxes in the real world, the method realizes the process of drawing virtual items in the virtual world, which helps the current virtual game field and provides more innovative means of collecting game elements.

[0045] In practical applications, game clients need to integrate tag recognition capabilities, possessing tag reading, parsing, and real-time verification abilities. Game servers provide APIs for tag verification and identification. After determining whether a product is a blind box item being distributed on behalf of the game, virtual items can be drawn and displayed back to the game client, improving the player's gacha experience.

[0046] This application provides a method for generating virtual items, and also relates to a virtual item generation system, a computing device, and a computer-readable storage medium, which will be described in detail in the following embodiments.

[0047] Figure 1 A schematic diagram of the system structure of a virtual item generation system according to an embodiment of this application is shown.

[0048] Figure 1 The virtual item generation system 100 may include a client 102 and a server 104; in specific implementation, the client 102 identifies the tag to be identified carried by the target physical item; obtains the tag information corresponding to the tag to be identified; and sends the tag information to the server 104.

[0049] The server 104 receives the tag information, wherein the tag information carries category information of virtual item extraction rules; determines the target virtual item extraction rule corresponding to the target physical item based on the category information of the virtual item extraction rules; determines the target virtual item information corresponding to the target physical item based on the target virtual item extraction rule; and sends the target virtual item information to the client 102.

[0050] The virtual item generation system can be understood as a system in which the client identifies the tag carried on the physical item, triggers the server to execute a lottery program, and determines the virtual item corresponding to the physical item according to the virtual item drawing rules.

[0051] The target physical item can be understood as a physical item such as a game character figurine, keychain, or gashapon; the tag to be identified can be understood as a tag attached to the target physical item, including but not limited to NFC tags, QR codes, barcodes, etc.; the tag information can be understood as the information contained in the tag to be identified on the physical item, including but not limited to the physical item's identification, lottery rules, verification marks, etc.

[0052] In practical applications, after a client comes into close contact with a target physical object, it can identify the tag carried on the target physical object and obtain the tag information corresponding to the tag. Then, it sends the tag information to the server. After receiving the tag information, the server begins to parse it to determine the category information of the virtual item drawing rule carried in the tag information. The category information of the virtual item drawing rule can be understood as the category of the lottery rule for virtual items, such as game item collection, game character probability drawing, etc. Further, based on the determined category information, the server extracts the target virtual item information corresponding to the target physical object and returns the target virtual item information to the client.

[0053] It should be noted that the virtual item generation system provided in this embodiment can trigger the extraction of virtual items through offline physical items, providing an updated game interaction process in the gaming field and achieving the effect of offline activities and game interaction.

[0054] Figure 2 The flowchart illustrates a virtual item generation method according to an embodiment of this application, which specifically includes the following steps:

[0055] It should be noted that the virtual item generation method provided in this application embodiment is applied to the client side, and is described with an example of its application in a game scenario; the client side is used to identify the tags in physical items obtained by players offline in order to realize the extraction of virtual items in the game program. The offline physical items can be game figurines with NFC tags, game gashapon with QR codes, etc.

[0056] Step 202: Identify the tag to be identified on the target physical item.

[0057] The target physical items can be game blind boxes, game figurines, game gashapon, game commemorative cards, etc.; the tags to be identified can be understood as tags attached to physical items, which can be embedded inside the items, such as NFC tags; or they can be attached to the surface of the items, such as QR codes or barcodes, etc.

[0058] In practical applications, the client can identify the tags carried on the target physical item, such as the NFC tag in a figurine, or the barcode or QR code in a gashapon toy.

[0059] Furthermore, the tag to be identified carried by the target entity item includes:

[0060] In response to the login request from the target user, log in to the target application;

[0061] Based on the target application, identify the tags to be identified carried by the target physical item.

[0062] The target application can be understood as an application that performs the extraction of virtual items from physical items, including but not limited to game applications, video playback applications, etc.

[0063] In practical applications, the target user triggers the execution of the target application through the client. The client responds to the target user's login request and logs into the target application, which contains a tag to be identified on the target physical object. As an example, after logging into the target application on the client, the target user can bring the client close to the target physical object and identify the tag on the target physical object through short-range wireless communication technology.

[0064] It should be noted that short-range wireless communication technologies include, but are not limited to, NFC, Wi-Fi, RFID (Contactless Radio Frequency Identification), Bluetooth, etc., and this embodiment does not make specific limitations on them.

[0065] Step 204: Obtain the tag information corresponding to the tag to be identified.

[0066] The tag information can be understood as information about the physical items carried in the tags to be identified, as well as information about the lottery rules, including but not limited to target user identification information, tag identification information, and category information of virtual item drawing rules.

[0067] In practical applications, the client can obtain the tag information corresponding to the tag by identifying the tag in the target physical item, so as to trigger the extraction process for the virtual item later.

[0068] Further, obtaining the tag information corresponding to the tag to be identified includes:

[0069] The tag to be identified is parsed to obtain the tag information corresponding to the tag to be identified, wherein the tag information includes a verification code used to verify the validity of the tag to be identified.

[0070] In practical applications, the client parses the tag to be identified to obtain the tag information corresponding to the tag. The tag information carries a verification code to verify the validity of the tag, which facilitates the subsequent determination that the tag is a legitimate tag, such as verifying that the tag is a legitimate NFC tag.

[0071] Step 206: Send the tag information to the server and receive the target virtual item information corresponding to the target physical item returned by the server based on the tag information.

[0072] In practical applications, the client can send the acquired tag information to the server, so that the server can trigger a lottery program based on the tag information. After the server triggers the corresponding lottery program and completes the determination of the virtual item information, it can receive the target virtual item information corresponding to the target physical item returned by the server.

[0073] Furthermore, the client can also provide a function to verify the tag information, verify the verification code carried in the tag information, and send the tag information to the server only after confirming its validity; specifically, sending the tag information to the server includes:

[0074] Compare the verification code with the preset verification conditions;

[0075] If the verification code meets the preset verification conditions, the tag information is sent to the server.

[0076] The verification code can be understood as a verification code pre-written into the label to be identified, used to verify the legitimacy of the label and thus prevent the counterfeiting of the target physical item.

[0077] In practical applications, the client can verify the authenticity of the CAPTCHA carried in the tag information by comparing various conditions in the CAPTCHA to see if it meets preset verification criteria, such as the number of characters in the CAPTCHA, whether the first and last characters of the CAPTCHA contain preset characters, or whether the value of the CAPTCHA after being decrypted according to preset rules meets preset thresholds, etc. Furthermore, only after the client has verified the validity of the CAPTCHA can it call the server API to send the tag information to the server.

[0078] By verifying the legitimacy of the tag information in the tags to be identified, the server can effectively trigger the lottery program based on the tag information, thus avoiding the waste of computing resources.

[0079] Furthermore, receiving the target virtual item information corresponding to the target physical item returned by the server based on the tag information includes:

[0080] Verify the virtual item extraction results returned by the server based on the tag information;

[0081] If the verification result is successful, the target virtual item information corresponding to the target physical item is received.

[0082] Among them, the target virtual item information can be understood as the virtual item information extracted from the physical item, such as virtual character information in the game, item fragment information in the game, etc.

[0083] In practical applications, before receiving the target virtual item information corresponding to the target physical item returned by the server based on the tag information, the client can also verify the virtual item extraction result returned by the server to verify whether the extraction result is valid. In some cases, the extraction result may be empty or invalid due to abnormal execution of the lottery program. Therefore, the client can also provide a process to verify the virtual item extraction result. If the verification is successful, the client can receive the target virtual item information corresponding to the target physical item.

[0084] Step 208: Render the target virtual item based on the target virtual item information to generate and display the target virtual item.

[0085] Furthermore, the client uses the target virtual item information to render the target virtual item and can also generate a corresponding display animation, which is displayed to the target user in the target application of the client to inform the target user of the result of the virtual item drawn from the physical item. In addition, the client can also play corresponding prize-giving animations, etc. In this embodiment, there are no restrictions on the display method in the client, and it can be implemented in a variety of ways.

[0086] The virtual item generation method provided in this application embodiment enables the client to identify the tags carried in physical items, facilitating the subsequent extraction of virtual items in the application and enriching the interaction methods between physical and virtual items.

[0087] Figure 3 A flowchart of another virtual item generation method according to an embodiment of this application is shown, which specifically includes the following steps:

[0088] It should be noted that the virtual item generation method provided in this application embodiment is applied to a server, and is described using a game scenario as an example; the server is used to trigger the subsequent virtual item lottery program based on the tag information sent by the client, and complete the process of determining the virtual item corresponding to the physical item.

[0089] Step 302: Receive tag information sent by the client, wherein the tag information carries tag identification information of the tag to be identified and category information of the virtual item extraction rule.

[0090] The tag information can be understood as the information contained in the tag to be identified carried by the physical item. Since it is sent by the client, the tag information has the same meaning as the tag information mentioned in the above embodiments. Please refer to the description of the above embodiments, and it will not be repeated here.

[0091] In practical applications, the server can receive tag information sent by the client. This tag information carries the tag identification information of the tag to be identified and the category information of the virtual item extraction rules. This facilitates the subsequent selection of the corresponding virtual item extraction program based on the category information to complete the extraction of the virtual item corresponding to the tag to be identified.

[0092] Step 304: Based on the tag identification information, determine the target physical item carrying the tag to be identified, and based on the category information of the virtual item extraction rule, determine the target virtual item extraction rule corresponding to the target physical item.

[0093] The target virtual item extraction rules can be understood as the rules for extracting various types of virtual items preset in the server backend, mainly including the winning quantity rules, the maximum winning quantity rules for a single account, and the winning probability rules.

[0094] In practical applications, after obtaining the tag identification information, the server can determine what the target entity item corresponding to the tag to be identified is. Then, based on the category information of the virtual item extraction rule, it can determine the target virtual item extraction rule to be triggered subsequently. For example, based on the tag representation information A***, it can be determined that the target entity item of the tag to be identified is a game virtual character figurine. Then, based on the category information of the virtual item extraction rule, which is "normal" (no upper limit on the number of winnings, no upper limit on the number of items that can be obtained by the account, and a complete figurine can be obtained in a single winnings), it can be determined that the target virtual item extraction rule corresponding to the game virtual character figurine is the "normal" extraction rule (no upper limit on the number of winnings, no upper limit on the number of items that can be obtained by the account, and a complete figurine can be obtained in a single winnings).

[0095] Step 306: Based on the target virtual item extraction rules, determine the target virtual item information corresponding to the target physical item.

[0096] In practical applications, after determining the rules for drawing the target virtual item, the server can determine the target virtual item information corresponding to the target physical item based on the rules, thereby completing the lottery process.

[0097] Further, determining the target virtual item information corresponding to the target physical item based on the target virtual item extraction rule includes:

[0098] Based on the target virtual item extraction rules, the target item extraction program is called from the preset item extraction program set;

[0099] Based on the target item extraction procedure, the target virtual item information corresponding to the target physical item is determined.

[0100] The preset item drawing program set can be understood as a set of programs consisting of multiple preset virtual item drawing rules. This set of programs includes various types of drawing programs, including but not limited to drawing programs with fixed winning probabilities, drawing programs with uncertain winning probabilities, drawing programs for collecting fragments, and so on.

[0101] In practical applications, the server calls the target item extraction program from the preset item extraction program based on the target virtual item extraction rules carried in the tag information. For example, if the target virtual item extraction rule is a fragment collection type extraction rule, then the fragment collection lottery program in the preset item extraction program library can be called. Further, based on the target item extraction program, the target virtual item information corresponding to the target physical item is determined. Continuing with the above example, the fragment collection lottery program will be executed to determine the target virtual item information that can be extracted from the target physical item.

[0102] See Figure 4 , Figure 4 A schematic diagram of the prize pool rules for the virtual item generation method provided in this application embodiment is shown.

[0103] Figure 4 Taking NFC tags as an example, this example associates them with three types of prize pool rules. NFC tags can include tag ID, prize ID, and verification code; user assets include user ID, tag ID, prize ID, prize information, etc.; the associated lottery rules can be categorized into three types: limited-time rules (limited-time rules have a global inventory limit and fixed probability. The prize pool and tag quantity are calculated based on probability and constant coefficients), normal-time rules (normal-time rules have no global quantity limit, but a single person has a maximum winning limit. Probability can be set, and a single winning prize is the complete prize), and fragmented-time rules (fragmented-time rules have no global limit). Quantity is limited, and no probability is set. Different fragments are randomly obtained from the same tag (repeated is allowed); among them, the limited lottery rules may include game ID, prize ID, virtual item type, winning probability, upper limit value, etc.; the ordinary lottery rules may include game ID, prize ID, virtual item type, winning probability, user restriction information, etc.; the fragment lottery rules may include game ID, prize ID, fragment ID, repetition rate, etc.; in this embodiment, the information of the lottery rules in the above examples is not limited in any way, and multiple lottery rules can be set to enrich the interactive gameplay between offline and online.

[0104] Step 308: Send the target virtual item information to the client.

[0105] In practical applications, after the server determines the target virtual item information corresponding to the target physical item according to the target item extraction program, it can send the target virtual item information to the client to complete the extraction of virtual items in the server background.

[0106] In addition, the tag information received by the server also includes the target user identifier to identify the winning game account; specifically, the tag information also includes target user identifier information.

[0107] Accordingly, sending the target virtual item information to the client includes:

[0108] Update the preset virtual item inventory table based on the target virtual item information;

[0109] Based on the target user identification information, the target user of the client that logs into the target application is determined;

[0110] Based on the updated preset virtual item inventory table, a virtual item distribution notification is created and sent to the target user.

[0111] In practical applications, after determining the target virtual item information corresponding to the target physical item, the server can update the preset virtual item inventory table in the server backend, record the winning virtual items in the inventory table, and clarify which virtual items were drawn, so as to facilitate the subsequent determination of which virtual items are still remaining in the virtual item storage repository. Furthermore, after deducting the inventory, the server can also determine the target user based on the target user identification information, and create and send a corresponding virtual item distribution notification for the target user. The virtual item distribution notification may include the target virtual item identifier, distribution time, distribution progress, etc., which are not specifically limited in this embodiment.

[0112] In addition to issuing virtual item distribution notifications, the server also needs to record and confirm the target user's virtual assets; specifically, after sending the target virtual item information to the client, it also includes:

[0113] Identify the virtual assets of the target user in the target application;

[0114] Based on the target virtual item information, update the virtual assets corresponding to the target user.

[0115] In practical applications, the server can also confirm the virtual assets in the target user's account in the target application, and update the virtual assets corresponding to the target user based on the target virtual item information; for example, adding collected fragment-type items to the item attributes of virtual assets.

[0116] It should be noted that the process of server-supported virtual item issuance and asset confirmation in the backend is only shown as an example in this embodiment and is not specifically limited.

[0117] In summary, the virtual item generation method provided in this application embodiment allows the server to obtain and identify tag information, call the game's lottery program, determine the virtual item information corresponding to the physical item, integrate the platform's virtual item drawing service, enrich the interaction process between offline physical items and virtual items, and improve the user experience.

[0118] The following is in conjunction with the appendix Figure 5 Taking the application of the virtual item generation method provided in this application in game gacha as an example, the virtual item generation method will be further explained. Among other things, Figure 5 This application provides a flowchart illustrating a method for generating virtual items in a game gacha system, which includes the following steps:

[0119] Step 502: Launch the game and log in using the game client.

[0120] Step 504: Register SPI [hook].

[0121] Step 506: Return the result.

[0122] Step 508: The game client approaches and identifies physical objects.

[0123] Step 510: Read the item tag and verify it.

[0124] Step 512: Verification failed.

[0125] Step 514: Verification successful, send tag information.

[0126] Step 516: Verify the legality of the label information.

[0127] Step 518: Read the prize pool and drawing rules.

[0128] Step 520: Obtain prize pool configuration information.

[0129] Step 522: Execute the lottery procedure.

[0130] Step 524: Deduct inventory.

[0131] Step 526: Return the results.

[0132] Step 528: Create a prize information notification.

[0133] Step 530: The verification result is returned to the client.

[0134] Step 532: Virtual prize notification.

[0135] Step 534: Record user assets awaiting push.

[0136] Step 536: Notify the results.

[0137] Step 538: Call SPI[hook] prize.

[0138] Step 540: Verify the prize.

[0139] Step 542: Confirm user assets.

[0140] Step 544: Confirm the record.

[0141] Step 546: Return the verification result.

[0142] Step 548: Show the winning animation.

[0143] In practical application, taking the example of a game user receiving an item with an NFC tag (such as a commemorative card) from a distribution channel, the user launches the corresponding game, logs into their account, and enables the NFC function on their phone. The game is also granted NFC permissions. The game registers a prize-issuing SPI hook program with the SDK. The user brings the card close to the phone's NFC recognition area. The game SDK backend reads and identifies the NFC tag. The SDK determines it to be a valid NFC tag, calls the server-side API, and transmits the identified NDEF message. The server verifies the validity of the NDEF message and obtains the corresponding prize pool draw rule. The server parses the prize pool rule and begins executing the draw program. After the draw, the user's asset information is recorded, and the prize pool service is called to deduct inventory (if necessary). A prize-issuing notification message is created and added to the message queue. The server returns the SDK verification result. Based on the information returned by the server, the SDK calls the game's registered SPI hook to issue the prize. The game client calls the game server to verify the prize. The game server calls the SDK server to confirm the user's assets and informs the game client of the core result. The game client plays the corresponding prize-giving animation and other related programs.

[0144] It should be noted that the allocation of NFC NDEF record information mentioned in the above embodiments can be referenced as follows. Figure 6 A structural diagram, Figure 6 This is a schematic diagram of the NFC NDEF record information allocation structure in the virtual item generation method provided in this application embodiment.

[0145] Figure 6The NFC NDEF record mainly consists of three segments (auxiliary records are not detailed here). Among them, TAG ID: the unique identification code of the current NFC tag; REWARD ID: the prize RULE ID; KEY: the authorization KEY, used for backend verification.

[0146] The virtual item generation method provided in this application, by modifying the traditional random card-drawing algorithm, realizes an interactive card-drawing method that combines the virtual world of the game with reality, bringing players a "breakthrough" gaming experience that combines two-dimensional and three-dimensional elements. It also supports existing game businesses, providing more innovative means of collecting game elements, offering platform-wide goods and card-drawing hosting services for game developers to integrate. This achieves a one-point integration, multi-point connection effect: game card drawing, real-time reward distribution, goods registration and hosting, and tag creation and distribution. Based on this, the main technical support of this application includes the following: The client game package SDK (currently mainly for the Android platform) integrates NFC recognition capabilities. It has tag reading, parsing, and real-time verification capabilities. The game platform server provides a tag verification and identification API. The client calls this interface, and in addition to general parameters, it additionally transmits the identified tag information. The server-side business orchestration layer calls the unified goods management service for identification. It determines whether it is a blind box product being distributed on behalf of the game. If so, it calls the platform developer's pre-set SPI protocol for notification, and the corresponding tag rewards and game effects are implemented by the game developer. The game itself implements the delivery function according to the SPI protocol. It also provides exclusive NFC card-drawing animation effects, giving players a different sensory experience from traditional card draws. Therefore, it can be integrated with general operational activities or offline game events, and event prizes can be customized as products containing NFC tags. For example, in offline treasure hunts: players arrive at designated landmarks or search for hidden items, and then activate the game to achieve interaction between the offline event and the game.

[0147] Corresponding to the above method embodiments, this application also provides embodiments of a virtual item generation apparatus. Figure 7 A schematic diagram of a virtual item generation device according to an embodiment of this application is shown. Figure 7 As shown, the device is used on a client side and includes:

[0148] The tag recognition module 702 is configured to recognize the tag to be recognized carried by the target object;

[0149] Information acquisition module 704 is configured to acquire tag information corresponding to the tag to be identified;

[0150] The information sending and receiving module 706 is configured to send the tag information to the server and receive the target virtual item information corresponding to the target entity item returned by the server based on the tag information;

[0151] The item display module 708 is configured to render based on the target virtual item information, and generate and display the target virtual item.

[0152] Optionally, the label recognition module 702 is further configured to:

[0153] In response to the login request from the target user, log in to the target application;

[0154] Based on the target application, identify the tags to be identified carried by the target physical item.

[0155] Optionally, the information acquisition module 704 is further configured to:

[0156] The tag to be identified is parsed to obtain the tag information corresponding to the tag to be identified, wherein the tag information includes a verification code used to verify the validity of the tag to be identified.

[0157] Optionally, the information sending and receiving module 706 is further configured to:

[0158] Compare the verification code with the preset verification conditions;

[0159] If the verification code meets the preset verification conditions, the tag information is sent to the server.

[0160] Optionally, the information sending and receiving module 706 is further configured to:

[0161] Verify the virtual item extraction results returned by the server based on the tag information;

[0162] If the verification result is successful, the target virtual item information corresponding to the target physical item is received.

[0163] Optionally, the tag to be identified is an NFC tag, a QR code, or a barcode, and the tag information also includes target user identification information, tag identification information, and category information of virtual item extraction rules.

[0164] The virtual item generation device provided in this application embodiment enables the client to identify the tags carried in physical items, facilitating the subsequent extraction of virtual items from the application and enriching the interaction methods between physical and virtual items.

[0165] The above is an illustrative scheme of a virtual item generation device according to this embodiment. It should be noted that the technical solution of this virtual item generation device and the technical solution of the virtual item generation method described above belong to the same concept. For details not described in detail in the technical solution of the virtual item generation device, please refer to the description of the technical solution of the virtual item generation method described above.

[0166] Corresponding to the above method embodiments, this application also provides embodiments of a virtual item generation apparatus. Figure 8 A schematic diagram of a virtual item generation device according to an embodiment of this application is shown. Figure 8 As shown, this device is used in a server and includes:

[0167] The information receiving module 802 is configured to receive tag information sent by the client, wherein the tag information carries tag identification information of the tag to be identified and category information of the virtual item extraction rule;

[0168] The rule determination module 804 is configured to determine the target entity item carrying the tag to be identified based on the tag identification information, and to determine the target virtual item extraction rule corresponding to the target entity item based on the category information of the virtual item extraction rule.

[0169] The information determination module 806 is configured to determine the target virtual item information corresponding to the target physical item based on the target virtual item extraction rules;

[0170] The information sending module 808 is configured to send the target virtual item information to the client.

[0171] Optionally, the information determination module 806 is further configured to:

[0172] Based on the target virtual item extraction rules, the target item extraction program is called from the preset item extraction program set;

[0173] Based on the target item extraction procedure, the target virtual item information corresponding to the target physical item is determined.

[0174] Optionally, the tag information may also include target user identification information;

[0175] Optionally, the information sending module 808 is further configured to:

[0176] Update the preset virtual item inventory table based on the target virtual item information;

[0177] Based on the target user identification information, the target user of the client that logs into the target application is determined;

[0178] Based on the updated preset virtual item inventory table, a virtual item distribution notification is created and sent to the target user.

[0179] Optionally, the device further includes:

[0180] An asset update module is configured to determine the virtual assets of the target user in the target application;

[0181] Based on the target virtual item information, update the virtual assets corresponding to the target user.

[0182] The virtual item generation device provided in this application embodiment enables the server to obtain and identify tag information, call the game's lottery program, determine the virtual item information corresponding to the physical item, integrate the platform's virtual item drawing service, enrich the interaction process between offline physical items and virtual items, and improve the user experience.

[0183] The above is an illustrative scheme of a virtual item generation device according to this embodiment. It should be noted that the technical solution of this virtual item generation device and the technical solution of the virtual item generation method described above belong to the same concept. For details not described in detail in the technical solution of the virtual item generation device, please refer to the description of the technical solution of the virtual item generation method described above.

[0184] Figure 9 A structural block diagram of a computing device 900 according to an embodiment of this application is shown. The components of the computing device 900 include, but are not limited to, a memory 910 and a processor 920. The processor 920 is connected to the memory 910 via a bus 930, and a database 950 is used to store data.

[0185] The computing device 900 also includes an access device 940, which enables the computing device 900 to communicate via one or more networks 960. Examples of these networks include Public Switched Telephone Network (PSTN), Local Area Network (LAN), Wide Area Network (WAN), Personal Area Network (PAN), or combinations of communication networks such as the Internet. The access device 940 may include one or more of any type of wired or wireless network interface (e.g., a network interface controller (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) wireless interface, a Wi-MAX (Worldwide Interoperability for Microwave Access) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, and so on.

[0186] In one embodiment of this application, the aforementioned components of the computing device 900 and Figure 9 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 9 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this application. Those skilled in the art can add or replace other components as needed.

[0187] The computing device 900 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or personal computers (PCs). The computing device 900 can also be a mobile or stationary server.

[0188] The processor 920 executes the computer instructions to implement the steps of the virtual item generation method.

[0189] The above is an illustrative scheme of a computing device according to this embodiment. It should be noted that the technical solution of this computing device and the technical solution of the virtual item generation method described above belong to the same concept. For details not described in detail in the technical solution of the computing device, please refer to the description of the technical solution of the virtual item generation method described above.

[0190] An embodiment of this application also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the virtual item generation method described above.

[0191] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium and the technical solution of the virtual item generation method described above belong to the same concept. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the virtual item generation method described above.

[0192] The foregoing has described specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0193] The computer instructions include computer program code, which may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.

[0194] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

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

[0196] The preferred embodiments disclosed above are merely illustrative of this application. The optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the content of this application. These embodiments are selected and specifically described in this application to better explain the principles and practical applications of this application, thereby enabling those skilled in the art to better understand and utilize this application. This application is limited only by the claims and their full scope and equivalents.

Claims

1. A method for generating virtual items, characterized in that, Applied to the client side, including: Identify the tags to be identified on the target physical object; Obtain the tag information corresponding to the tag to be identified; The tag information is sent to the server, and the server returns the target virtual item information corresponding to the target physical item based on the tag information. Render the target virtual item based on the target virtual item information, generate and display the target virtual item; The step of obtaining the tag information corresponding to the tag to be identified includes: The tag to be identified is parsed to obtain the tag information corresponding to the tag to be identified, wherein the tag information includes a verification code used to verify the validity of the tag to be identified; The tag to be identified is an NFC tag, a QR code, or a barcode, and the tag information also includes target user identification information, tag identification information, and category information of virtual item extraction rules.

2. The method according to claim 1, characterized in that, The identification tag carried by the target entity item includes: In response to the login request from the target user, log in to the target application; Based on the target application, identify the tags to be identified carried by the target physical item.

3. The method according to claim 1, characterized in that, Sending the tag information to the server includes: Compare the verification code with the preset verification conditions; If the verification code meets the preset verification conditions, the tag information is sent to the server.

4. The method according to claim 3, characterized in that, Receiving the target virtual item information corresponding to the target physical item returned by the server based on the tag information includes: Verify the virtual item extraction results returned by the server based on the tag information; If the verification result is successful, the target virtual item information corresponding to the target physical item is received.

5. A method for generating virtual items, characterized in that, Applied to servers, including: Receive tag information sent by the client, wherein the tag information carries tag identification information of the tag to be identified and category information of the virtual item extraction rule; Based on the tag identification information, the target physical item carrying the tag to be identified is determined, and based on the category information of the virtual item extraction rule, the target virtual item extraction rule corresponding to the target physical item is determined. Based on the target virtual item extraction rules, the target virtual item information corresponding to the target physical item is determined; Send the target virtual item information to the client; The client is used to obtain the tag information corresponding to the tag to be identified, specifically including: The tag to be identified is parsed to obtain the tag information corresponding to the tag to be identified, wherein the tag information includes a verification code used to verify the validity of the tag to be identified; The tag to be identified is an NFC tag, a QR code, or a barcode, and the tag information also includes target user identification information, tag identification information, and category information of virtual item extraction rules.

6. The method according to claim 5, characterized in that, The step of determining the target virtual item information corresponding to the target physical item based on the target virtual item extraction rule includes: Based on the target virtual item extraction rules, the target item extraction program is called from the preset item extraction program set; Based on the target item extraction procedure, the target virtual item information corresponding to the target physical item is determined.

7. The method according to claim 5, characterized in that, The tag information also includes target user identification information; Accordingly, sending the target virtual item information to the client includes: Update the preset virtual item inventory table based on the target virtual item information; Based on the target user identification information, the target user of the client that logs into the target application is determined; Based on the updated preset virtual item inventory table, a virtual item distribution notification is created and sent to the target user.

8. The method according to claim 7, characterized in that, After sending the target virtual item information to the client, the process further includes: Identify the virtual assets of the target user in the target application; Based on the target virtual item information, update the virtual assets corresponding to the target user.

9. A virtual item generation system, characterized in that, Includes both client and server; The client identifies the tag to be identified carried by the target object; obtains the tag information corresponding to the tag to be identified; and sends the tag information to the server. The server receives the tag information, wherein the tag information carries category information of virtual item extraction rules; determines the target virtual item extraction rule corresponding to the target physical item based on the category information of the virtual item extraction rules; determines the target virtual item information corresponding to the target physical item based on the target virtual item extraction rule; and sends the target virtual item information to the client. The step of obtaining the tag information corresponding to the tag to be identified includes: The tag to be identified is parsed to obtain the tag information corresponding to the tag to be identified, wherein the tag information includes a verification code used to verify the validity of the tag to be identified; The tag to be identified is an NFC tag, a QR code, or a barcode, and the tag information also includes target user identification information, tag identification information, and category information of virtual item extraction rules.

10. A computing device, comprising a memory, a processor, and computer instructions stored in the memory and executable on the processor, characterized in that, When the processor executes the computer instructions, it implements the steps of the method according to any one of claims 1-4 or 5-8.

11. A computer-readable storage medium storing computer instructions, characterized in that, When executed by a processor, the computer instructions implement the steps of the method according to any one of claims 1-4 or 5-8.

12. A computer program product comprising computer instructions, characterized in that, When executed by a processor, the computer instructions implement the steps of the method according to any one of claims 1-4 or 5-8.

Citation Information

Patent Citations

  • Transaction processing method and device based on entity sales, and storage medium

    CN114663178A