Interactive methods, apparatus, storage media, and devices based on electronic credentials

By using augmented reality technology to hand-draw and identify target identifiers, which are then integrated into the AR real-world scene and trigger the allocation of electronic vouchers, the problem of insufficient interactivity in virtual resource allocation is solved, enhancing user engagement and interactivity.

CN122308668APending Publication Date: 2026-06-30ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
Filing Date
2022-01-14
Publication Date
2026-06-30

Smart Images

  • Figure CN122308668A_ABST
    Figure CN122308668A_ABST
Patent Text Reader

Abstract

This application proposes an interactive method, apparatus, storage medium, and device based on electronic credentials. The method is applied to a first client corresponding to a first user. The method includes: responding to an interactive operation by the first user, outputting an AR real-world image of the environment in which the first user is located to the first user; acquiring a target identifier hand-drawn by the first user, and, if the target identifier is a preset identifier, integrating the target identifier into the AR real-world image for enhanced display; wherein, the target identifier is used to trigger the server to allocate an electronic credential to the user who receives the target identifier; wherein, the electronic credential is used to obtain the right to receive virtual resources in a preset set of virtual resources.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This is a divisional application. The parent application has the application number 202210044526.4 and the application date is January 14, 2022. The invention is entitled "Interactive method, apparatus, storage medium and device based on electronic vouchers". Technical Field

[0002] This application relates to the field of communication technology, and in particular to an interactive method, apparatus, storage medium and device based on electronic credentials. Background Technology

[0003] With the development of internet technology, various methods for distributing virtual resources have emerged. Taking the distribution of virtual resources in the form of "red envelopes" as an example, users can put e-cards, cash gifts, etc., into "red envelopes" and set access permissions. Users can send the red envelopes to other users or within groups, and when another user or group member obtains the access permission, they can claim the "red envelope." However, as the scenarios for distributing virtual resources become increasingly diverse, improving the interactivity of virtual resource distribution is of great significance for enhancing user experience. Summary of the Invention

[0004] This application proposes an interactive method based on electronic credentials. The method is applied to a first client corresponding to a first user. The method may include: responding to an interactive operation initiated by the first user, outputting an AR real-world image of the environment in which the first user is located to the first user; acquiring a target identifier hand-drawn by the first user, and identifying whether the target identifier is a preset identifier; if the target identifier is a preset identifier, integrating the target identifier into the AR real-world image for enhanced display; wherein, the target identifier is used to trigger the server to allocate an electronic credential to the user who receives the target identifier; wherein, the electronic credential is used to obtain the right to receive virtual resources in a preset set of virtual resources.

[0005] In some embodiments, in response to a sharing operation initiated by the first user, the target identifier is shared to a second client corresponding to a second user specified by the first user, so that the second client, in response to a claim operation initiated by the second user for the target identifier, integrates the target identifier into the AR real-world scene of the second user's environment for enhanced display, and obtains the electronic credential assigned to the second user by the server.

[0006] In some embodiments, before fusing the target identifier into the AR real-world image for enhanced display, the method further includes: Perform 3D modeling on the target identifier to obtain a 3D model corresponding to the target identifier; Sharing the target identifier to the second client corresponding to the second user specified by the first user includes: The 3D model corresponding to the target identifier is shared to the second client corresponding to the second user specified by the first user.

[0007] In some embodiments, the method further includes: During the process of the first user manually inputting the target identifier, the manual input process of the target identifier is recorded to obtain a video corresponding to the manual input process of the target identifier; Sharing the 3D model corresponding to the target identifier to the second client corresponding to the second user specified by the first user includes: The 3D model corresponding to the target identifier and the video corresponding to the hand-drawn process of the target identifier are shared to the second client corresponding to the second user designated by the first user.

[0008] In some embodiments, in response to an interactive operation initiated by a first user, an AR real-world image of the environment in which the first user is located is output to the first user, including: in response to an interactive operation initiated by the first user, an AR-based first interactive interface is output to the first user, and an AR real-world image of the environment in which the first user is located is output in the first interactive interface.

[0009] In some embodiments, the first interactive interface supports hand-drawn input; obtaining the target identifier of the first user's hand-drawn input includes: obtaining the target identifier of the first user's hand-drawn input on the first interactive interface.

[0010] In some embodiments, the user interface provided by the first client to the first user includes a first user option for accessing the first interactive interface; in response to an interactive operation initiated by the first user, outputting an AR-based first interactive interface to the first user includes: in response to a trigger operation initiated by the first user for the first user option, outputting an AR-based first interactive interface to the first user.

[0011] In some embodiments, before integrating the target identifier into the AR real-world scene for enhanced display, the method further includes: performing three-dimensional modeling on the target identifier to obtain a three-dimensional model corresponding to the target identifier; integrating the target identifier into the AR real-world scene for enhanced display includes: integrating the three-dimensional model into the AR real-world scene for enhanced display.

[0012] In some embodiments, the step of integrating the three-dimensional model into the AR real-world scene for enhanced display includes: displaying a preset dynamic display effect for the three-dimensional model.

[0013] In some embodiments, the first interactive interface includes a second user option for performing three-dimensional modeling of the target identifier; performing three-dimensional modeling of the target identifier to obtain a three-dimensional model corresponding to the target identifier includes: responding to a trigger operation initiated by the first user for the second user option, performing three-dimensional modeling of the target identifier to obtain a three-dimensional model corresponding to the target identifier.

[0014] In some embodiments, the method further includes: in response to a trigger operation initiated by the first user for the second user's option, sending an electronic credential allocation request corresponding to the first user to the server, so that the server allocates an electronic credential to the first user in response to the electronic credential allocation request; obtaining the electronic credential allocated to the first user by the server, and displaying the obtained electronic credential to the first user through the first interactive interface.

[0015] In some embodiments, when the number of categories of the electronic credentials obtained by the first user reaches a preset threshold, the first user obtains the right to claim virtual resources in the preset virtual resource set.

[0016] In some embodiments, the method further includes: in response to a user-initiated trigger operation for a second user option, outputting at least one interactive option in the first interactive interface; wherein the at least one interactive option includes a sharing option corresponding to the target identifier; in response to a sharing operation initiated by the first user, sharing the target identifier to a second client corresponding to a second user specified by the first user, including: in response to a trigger operation by the first user for the sharing option, sharing the target identifier to a second client corresponding to a second user specified by the first user.

[0017] In some embodiments, a first interactive interface for outputting an AR real-world scene of the environment in which the first user is located to the first user includes: a recording option corresponding to the target identifier; the method further includes: recording a video of the AR real-world scene in response to a trigger operation by the first user on the recording option; and saving the recorded video locally in response to a save operation initiated by the first user.

[0018] In some embodiments, after the 3D model is integrated into the AR real-world scene for enhanced display, the method further includes: performing motion tracking on the user terminal where the first client is located during the process of integrating the target identifier into the AR real-world scene for enhanced display; and synchronously updating the display effect of the 3D model target identifier in the AR real-world scene for enhanced display based on the result of the motion tracking.

[0019] In some embodiments, the identifier includes characters.

[0020] In some embodiments, the virtual resource includes a virtual red envelope; the character includes the Chinese character "Fu".

[0021] This application also proposes an interaction method based on an electronic voucher. This method can be applied to a second client corresponding to a second user. The method may include: receiving a target identifier hand-drawn and input by the first user on the first client and shared by the first client corresponding to the first user; wherein the target identifier is used to trigger the server to allocate an electronic voucher to the user who retrieves the target identifier; in response to a retrieval operation initiated by the second user for the target identifier, outputting an AR live scene image of the environment where the second user is located to the second user, and enhancing the display by integrating the target identifier into the AR live scene image, and obtaining the electronic voucher allocated by the server to the second user; wherein the electronic voucher is used to obtain the retrieval permission for virtual resources in a preset virtual resource set.

[0022] In some embodiments, in response to a retrieval operation initiated by the second user for the target identifier, outputting an AR live scene image of the environment where the second user is located to the second user includes: in response to a retrieval operation initiated by the second user for the target identifier, outputting a second interaction interface based on AR, and outputting an AR live scene image of the environment where the second user is located in the second interaction interface.

[0023] In some embodiments, when the number of categories of the electronic vouchers obtained by the second user reaches a preset threshold, the second user obtains the retrieval permission for virtual resources in the preset virtual resource set.

[0024] In some embodiments, the target identifier shared by the first client includes a three-dimensional model corresponding to the target identifier; integrating the target identifier into the AR live scene image for enhanced display includes: integrating the three-dimensional model into the AR live scene image for enhanced display.

[0025] In some embodiments, the target identifier shared by the first client includes a three-dimensional model corresponding to the target identifier and a video corresponding to the hand-drawing process of the target identifier; integrating the target identifier into the AR live scene image for enhanced display includes: playing a video corresponding to the hand-drawing process of the target identifier in the AR live scene image, and after the video playback is completed, integrating the three-dimensional model corresponding to the target identifier into the AR live scene image for enhanced display.

[0026] In some embodiments, fusing the three-dimensional model in the AR live scene for enhanced display includes: Displaying a preset dynamic display effect for the three-dimensional model.

[0027] In some embodiments, the method further includes: in response to a claiming operation initiated by the second user for the target identifier, sending a claiming request corresponding to the target identifier to the server, so that the server, in response to the claiming request, allocates an electronic voucher for the second user; obtaining the electronic voucher allocated by the server to the second user, including: obtaining the electronic voucher allocated by the server to the second user in response to the claiming request, and outputting and displaying the obtained electronic voucher to the second user through the second interaction interface.

[0028] In some embodiments, the target identifier is hand-drawn by the first user on the AR live scene of the environment where the first user is located output by the first client, and the first client is configured to fuse the target identifier in the AR live scene of the environment where the first user is located for enhanced display when it is recognized that the target identifier hand-drawn and input by the first user is a preset identifier.

[0029] In some embodiments, the identifier includes a character.

[0030] In some embodiments, the virtual resource includes a virtual red envelope; the character includes the Chinese character "Fu".

[0031] The present application also provides an interactive device based on an electronic voucher, which is applied to a first client corresponding to a first user. The device includes: an output module, which outputs an AR live scene of the environment where the first user is located in response to an interactive operation initiated by the first user; a fusion module, which obtains a target identifier hand-drawn and input by the first user and identifies whether the target identifier is a preset identifier; if the target identifier is a preset identifier, fusing the target identifier in the AR live scene for enhanced display; wherein the target identifier is used to trigger the server to allocate an electronic voucher for the user who claims the target identifier; and wherein the electronic voucher is used to obtain the claiming right of virtual resources in a preset virtual resource set.

[0032] This application also proposes an interactive device based on electronic credentials, applied to a second client corresponding to a second user. The device includes: a receiving module, which receives a target identifier hand-drawn by the first user on the first client and shared by the first client corresponding to the first user; wherein the target identifier is used to trigger the server to allocate an electronic credential to the user who claims the target identifier; and a claiming module, which, in response to the claiming operation initiated by the second user for the target identifier, outputs an AR real-world image of the environment in which the second user is located to the second user, integrates the target identifier into the AR real-world image for enhanced display, and obtains the electronic credential allocated to the second user by the server; wherein the electronic credential is used to obtain the right to claim virtual resources in a preset set of virtual resources.

[0033] This application also proposes an electronic device, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor executes the executable instructions to implement a method of interaction based on electronic credentials as illustrated in any of the foregoing embodiments.

[0034] This application also proposes a computer-readable storage medium storing a computer program for causing a processor to perform an interactive method based on electronic credentials as shown in any of the foregoing embodiments.

[0035] In the aforementioned solution, firstly, the first client can respond to the interactive operation initiated by the first user, outputting an AR real-world image of the environment in which the first user is located to the first user, and can obtain the target mark hand-drawn by the first user. If the target mark is a preset mark, the target mark is integrated into the AR real-world image for enhanced display. This allows the first user to draw the target mark according to their own preferences in the AR real-world image corresponding to their own environment, so that when the first user obtains the electronic voucher through the target mark, they can incorporate more emotion, thereby enhancing the user's sense of participation and enthusiasm for obtaining the electronic voucher, and strengthening the interactivity when the user obtains the electronic voucher.

[0036] Secondly, the second client can respond to the second user's request to claim the target identifier by integrating the target identifier shared by the first user into the AR real-world scene of the second user's environment for enhanced display, and obtain the electronic voucher assigned to the second user by the server. This allows the second user to view the target identifier hand-drawn by the first user and enhanced by AR technology in the AR real-world scene corresponding to their own environment, and to claim the electronic voucher passed to them by the first user. This can enhance the user's sense of participation and user experience when obtaining electronic vouchers passed by other users, and enhance the interactivity when passing electronic vouchers between users. Attached Figure Description

[0037] Figure 1 This is a flowchart illustrating an interactive method based on electronic credentials proposed in an embodiment of this application. Figure 2 This is a schematic diagram illustrating a Fortune Card display interface according to an embodiment of this application; Figure 3 This is a schematic diagram illustrating an interactive activity entry display interface as shown in an embodiment of this application; Figure 4 This is a schematic diagram illustrating an AR handwriting interaction interface according to an embodiment of this application; Figure 5 This is a schematic diagram illustrating an AR handwriting interaction interface according to an embodiment of this application; Figure 6 This is a schematic diagram of a details interface shown in an embodiment of this application; Figure 7 This is a schematic diagram of an AR-based interactive interface for writing blessings, as shown in an embodiment of this application. Figure 8 This is a schematic diagram of a sharing interface shown in an embodiment of this application; Figure 9 This is a schematic diagram of a collection interface shown in an embodiment of this application; Figure 10 This is a schematic diagram of a second interactive interface shown in an embodiment of this application; Figure 11 This is a schematic diagram illustrating the structure of an interactive device based on electronic credentials, as shown in an embodiment of this application. Figure 12 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0038] In some virtual resource allocation scenarios, users can collect various types of electronic credentials. These electronic credentials are used to obtain the right to claim virtual resources from a preset set of virtual resources. When the number of different types of electronic credentials collected by the user reaches a preset threshold, the user obtains the right to allocate virtual resources from the preset set of virtual resources.

[0039] The virtual resources may include any type of virtual items that can be distributed online; for example, the virtual resources may be "virtual red envelopes" in a red envelope distribution scenario.

[0040] The preset virtual resource set specifically refers to a collection of virtual resources. This virtual resource set can be stored on a server. For example, in a red envelope distribution scenario, the virtual resource set could be a "red envelope fund pool."

[0041] The electronic credential refers to the credential used by a user to retrieve virtual resources from the server. In practical applications, the server can pre-configure a certain number of different types of electronic credentials and distribute different types of electronic credentials to specific user groups according to certain distribution rules; the specific form of the electronic credential is not limited and can be a string, number, character, password, virtual card, etc.

[0042] When the number of different types of electronic vouchers accumulated by a user reaches a preset threshold, the user can obtain the right to claim virtual resources from a preset set of virtual resources, thereby completing the claiming of virtual resources. The preset threshold can be any value preset according to needs.

[0043] For example, taking virtual resources as virtual red envelopes, in a "Five Blessings for a Big Prize" red envelope distribution scenario, the electronic voucher can include five types of virtual blessing cards: "Longevity and Health Blessing," "Friendship Blessing," "Prosperity Blessing," "Family Harmony Blessing," and "Wealth and Prosperity Blessing." Users can collect blessing cards through various means, and after collecting these five types of virtual blessing cards, they will gain the corresponding right to receive red envelopes, which will then be distributed to the user by the server.

[0044] In this application, based on the virtual resource allocation scenario shown above, an interactive method based on electronic credentials is proposed.

[0045] On one hand, the method can be applied to a first client corresponding to a first user. In this method, the first client can respond to an interactive operation initiated by the first user by outputting an AR real-world image of the environment in which the first user is located; acquiring a target identifier hand-drawn by the first user and identifying whether the target identifier is a preset identifier; if the target identifier is a preset identifier, integrating the target identifier into the AR real-world image for enhanced display; wherein, the target identifier is used to trigger the server to allocate an electronic credential to the user who receives the target identifier; in response to a sharing operation initiated by the first user, sharing the target identifier to a second client corresponding to a second user specified by the first user, so that the second client, in response to a receiving operation initiated by the second user for the target identifier, integrates the target identifier into the AR real-world image of the environment in which the second user is located for enhanced display, and acquires an electronic credential allocated to the second user by the server; wherein, the electronic credential is used to obtain the right to receive virtual resources in a preset set of virtual resources.

[0046] On the other hand, the method can be applied to a second client corresponding to a second user. In this method, the second client can receive a target identifier hand-drawn by the first user on the first client, shared by the first client corresponding to the first user; wherein the target identifier is used to trigger the server to allocate an electronic credential to the user who claims the target identifier; in response to the second user's claiming operation for the target identifier, an AR real-world image of the second user's environment is output to the second user, and the target identifier is integrated into the AR real-world image for enhanced display; and, the electronic credential allocated to the second user by the server is obtained; wherein the electronic credential is used to obtain the right to claim virtual resources in a preset set of virtual resources.

[0047] In the aforementioned scheme, firstly, the first client can respond to the interactive operation initiated by the first user, outputting an AR real-world image of the environment in which the first user is located to the first user, and can obtain the target identifier hand-drawn by the first user. If the target identifier is a preset identifier, the target identifier is integrated into the AR real-world image for enhanced display. This allows the first user to draw and share target identifiers according to their own preferences in the AR real-world image corresponding to their own environment. When the first user transmits electronic vouchers to other users, they can incorporate more emotion, thereby enhancing the user's sense of participation and enthusiasm for transmitting electronic vouchers, and strengthening the interactivity when transmitting electronic vouchers between users.

[0048] Secondly, the second client can respond to the second user's request to claim the target identifier by integrating the target identifier shared by the first user into the AR real-world scene of the second user's environment for enhanced display, and obtain the electronic voucher assigned to the second user by the server. This allows the second user to view the target identifier hand-drawn by the first user and enhanced by AR technology in the AR real-world scene corresponding to their own environment, and to claim the electronic voucher passed to them by the first user. This can enhance the user's sense of participation and user experience when obtaining electronic vouchers passed by other users, and enhance the interactivity when passing electronic vouchers between users.

[0049] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of this application.

[0050] Please see Figure 1 , Figure 1 This is a flowchart illustrating an interactive method based on electronic credentials proposed in an embodiment of this application.

[0051] Figure 1 The illustrated interaction method can be applied to a first client corresponding to a first user. This first client can be mounted on a first client device. The type of the first client device can be a laptop, computer, server, mobile phone, PDA, etc. This application does not specifically limit the type of the first client device.

[0052] like Figure 1 As shown, the method may include steps S102-S106. Unless otherwise specified, this application does not limit the order in which these steps are performed.

[0053] S102, in response to the interactive operation initiated by the first user, outputs the AR real-world image of the environment in which the first user is located to the first user.

[0054] The term "user" in this application can refer to the party extracting virtual resources. The user can extract electronic credentials through a client. In some embodiments, when the number of different types of electronic credentials obtained by the first user reaches a preset threshold, the first user acquires the right to claim virtual resources from the preset virtual resource set.

[0055] The preset threshold can be set according to requirements. For example, the preset threshold is 5. After logging into the client with a registered account, the user can interact with the corresponding server through the client to obtain electronic credentials. Once the first user obtains the 5 types of electronic credentials, they can acquire the right to claim virtual resources from the preset virtual resource set.

[0056] This application refers to the user who draws the target identifier as the first user and the user who receives the target identifier as the second user. In practical applications, the user's role can switch between the first user and the second user. For example, user A is the first user when drawing the target identifier and the second user when receiving the target identifier drawn by other users. This application refers to the client corresponding to the first user as the first client and the client corresponding to the second user as the second client.

[0057] The interaction referred to in this application refers to the interaction between a user and a client. This interaction may include drawing a target identifier, decorating a target identifier, sharing a target identifier, etc.

[0058] In some ways, the first client can provide the first user with interaction options to initiate the interaction referred to in this application. By triggering the interaction options, the first user can initiate the interaction operation.

[0059] After detecting the interaction operation, the first client can call the camera component of the first client device to enable the image acquisition function for collecting the augmented reality (AR) live scene image of the environment where the first user is located.

[0060] The AR live scene is a technology that real-time fuses virtual content and real scenes to form an interaction between virtual and real. The virtual content can be understood as a virtual interface developed by R & D personnel for the interaction, virtual props, target identifiers drawn by users, etc. The real scene is the real scene where the first user is located after initiating the interaction operation.

[0061] The AR live scene image refers to the image output after real-time fusion of virtual content and real scenes. This image can change in real time as the scene changes to restore the most real one.

[0062] The first user can draw a target identifier based on the AR live scene image, and the AR live scene image can display the process of the user drawing the target identifier.

[0063] S104, obtain the target identifier hand-drawn and input by the first user, and identify whether the target identifier is a preset identifier; if the target identifier is a preset identifier, fuse the target identifier in the AR live scene image for enhanced display.

[0064] The first user can complete the hand-drawn input through interaction with the first client to obtain the target identifier. In some ways, the first user can perform hand-drawn operations on the hand-drawn area (such as the display screen) provided by the first client device, and the first client can generate the target identifier corresponding to the hand-drawn operation in response to the hand-drawn operation and display it to the user through the screen.

[0065] [[ID=二十一]]The target identifier is used to trigger the server to allocate an electronic voucher to the user who receives the target identifier. In some ways, the first user can share the drawn target identifier, and when any user receives the target identifier, the server can allocate an electronic voucher to the any user in response to the receiving operation.

[0066] The preset identifier can be set according to business requirements. In some embodiments, the preset identifier can be a graphic, character, etc. In some embodiments, the preset identifier can be a preset Chinese character. For example, the identifier can be the Chinese character "Fu".

[0067] In S104, after the first client detects the target identifier drawn by the first user, it can compare the target identifier with the stored preset identifier to identify whether the target identifier is the preset identifier.

[0068] Taking a preset identifier as a preset Chinese character as an example, the Chinese character corresponding to the target identifier can be detected by OCR, and it can be identified whether the Chinese character is the preset Chinese character. If the Chinese character is the preset Chinese character, the target identifier is determined to be the preset identifier. If the Chinese character is not the preset Chinese character, then the target identifier is not the preset identifier.

[0069] It is understood that the identification operation can be completed independently by the first client or through interaction between the first client and the server.

[0070] In S104, if the target identifier is a preset identifier, the target identifier can be integrated into the AR real-world image for enhanced display.

[0071] In some embodiments, the target identifier can be a three-dimensional model. Specifically, a three-dimensional model is created for the target identifier to obtain a three-dimensional model corresponding to the target identifier. The three-dimensional model can then be rendered into the AR real-world scene. This enhances the augmented reality effect and further increases the user's engagement.

[0072] In some embodiments, in order to improve the augmented reality effect, motion tracking can be performed on the user terminal where the first client is located during the process of integrating the target identifier into the AR real-world scene for enhanced display; then, based on the result of the motion tracking, the display effect of the target identifier in the AR real-world scene for enhanced display is updated synchronously.

[0073] Motion tracking refers to the process of determining the user terminal's posture. The user terminal is the first client device. In some methods, posture determination hardware (such as a gyroscope) on the user terminal can be used to determine changes in the user terminal's posture. Then, based on the determined changes in the terminal's posture, the posture of the target marker can be adjusted in real time, allowing the user to observe the target marker from various angles by adjusting the terminal's posture, thereby enhancing the augmented reality effect and further increasing the user's engagement.

[0074] For example, by using a gyroscope to determine that the user terminal rotates 90 degrees to the right, the target marker in the AR scene can be rotated 90 degrees to the right, allowing the user to view the marker from the left. As another example, by using a gyroscope to determine that the user terminal rotates 90 degrees downwards, the target marker in the AR scene can be rotated 90 degrees downwards, allowing the user to view the marker from above.

[0075] After the target identifier is enhanced and displayed in the AR real-world scene, the first user can interact with the first client to share the target identifier.

[0076] In some methods, the first client can provide a sharing interface to the first user. The sharing interface may include multiple sharing channels. The first user can select any one of these sharing channels and choose a second user from among several users provided by that sharing channel to share the target identifier, thus completing the sharing operation on the sharing interface.

[0077] S106, in response to the sharing operation initiated by the first user, the target identifier is shared to the second client corresponding to the second user specified by the first user, so that the second client responds to the receiving operation initiated by the second user for the target identifier, integrates the target identifier into the AR real-world scene of the second user's environment for enhanced display, and obtains the electronic certificate assigned to the second user by the server.

[0078] The second user is the user who will receive the target identifier. In response to the sharing operation initiated by the first user, the first client can send the user identifier (e.g., user account) corresponding to the second user and the target identifier to the server. The server can generate a sharing message based on the target identifier and send it to the second client corresponding to the user identifier.

[0079] In some methods, the shared message can be a QR code, an Alipay password, or a claim link. The server can store the target identifier and generate a QR code, Alipay password, or claim link based on the storage address of the target identifier. After generating the QR code, Alipay password, or claim link, the server can send the QR code, Alipay password, or claim link to the second client.

[0080] The second client can display the message to the second user, who can trigger the message to perform a claim operation. In response to the claim operation initiated by the second user for the target identifier, the second client can output an AR real-world image of the second user's environment to the second user, enhance the display of the target identifier by integrating it into the AR real-world image, and obtain the electronic credential assigned to the second user by the server.

[0081] Through the schemes described in S102-S106, on the one hand, the first user draws and shares target icons in the AR real-world scene corresponding to their own environment according to their own preferences, so that when the first user transmits electronic vouchers to other users, they can incorporate more emotions, thereby enhancing the user's sense of participation and enthusiasm for transmitting electronic vouchers, and strengthening the interactivity when transmitting electronic vouchers between users. On the other hand, the second user can view the target icon that the first user hand-drawn and input, which is enhanced by AR technology, in the AR real-world scene corresponding to their own environment, and receive the electronic voucher that the first user passes to the second user. This can enhance the user's sense of participation and user experience when obtaining electronic vouchers passed by other users, and enhance the interactivity when passing electronic vouchers between users.

[0082] The following describes the technical solution of this application in detail, using "virtual red envelopes" as an example and Chinese characters as the preset identifier. It should be emphasized that using "virtual red envelopes" as an example is merely illustrative. In practical applications, the virtual resource can also be other virtual items that can be distributed and sent online, besides "virtual red envelopes" (hereinafter referred to as red envelopes); for example, electronic shopping vouchers, electronic coupons, electronic points, etc.

[0083] In this application, a certain number of different types of electronic vouchers can be pre-configured on the server side, and the server side can centrally manage the pre-configured electronic vouchers.

[0084] The pre-configured electronic voucher is the sole credential for a user to obtain the authority to distribute red envelopes. The number and types of the pre-configured electronic vouchers can be set based on actual needs.

[0085] Users can collect electronic vouchers through the client and gain the right to distribute red envelopes when the number of collected electronic voucher categories reaches a preset threshold. The number of categories refers to the number of types of electronic vouchers collected by the user. The specific value of the preset threshold is not limited in this application and can be determined according to actual needs in practical applications.

[0086] In this application, users can collect electronic credentials through a client in various ways.

[0087] For example, in one of the collection methods shown, users can collect electronic credentials issued proactively by the server when the user meets the issuance conditions through the client, or they can collect electronic credentials given by other users with social relationships.

[0088] In another approach shown, the client can be an AR (Augmented Reality) client, which allows a user to scan an image of a specific offline target to trigger the server to issue an electronic credential to the user.

[0089] For example, users can use an AR client to scan a preset graphic sign deployed offline to trigger the server to issue an electronic credential to the user; or, users can also use an AR client to scan the face of any or a specific person to trigger the server to issue an electronic credential to the user.

[0090] In practical applications, in addition to the collection methods described above, users can also interact with other users with whom they have social relationships to obtain electronic credentials held by other users.

[0091] In some embodiments, in addition to issuing electronic credentials to users, the server can also issue some virtual items to users, and users can use these virtual items to "steal" electronic credentials held by other users; For example, in implementation, these virtual items can be special electronic credentials. After "using" these special electronic credentials, a user can select a specific user from other users with social relationships and randomly draw electronic credentials from the electronic credentials held by that specific user to claim them for themselves.

[0092] In this example, AR hand-drawing can also be performed to create and share target icons.

[0093] In this example, the user who draws the target identifier is called the first user, the user who receives the target identifier is called the second user, the client corresponding to the first user is called the first client, and the client corresponding to the second user is called the second client.

[0094] The first client provides multiple entry points to the interactive interface. The first user can perform interactive operations through the entry point of the AR hand-drawn interactive interface. The first client can respond to the interactive operations initiated by the first user and output the AR-based first interactive interface to the first user.

[0095] In some embodiments, the user interface provided by the first client to the first user may include a first user option to access a first interactive interface. In response to a triggering operation initiated by the first user regarding the first user option, the first client outputs an AR-based first interactive interface to the first user. This application does not specifically limit the style of the first user or their position within the interface.

[0096] For example, the first user option could be "Enable AR Hand-drawing". The user can trigger this option. After the first client detects that the user has triggered this option, it can provide the first interactive interface to the first user.

[0097] The first user can complete the drawing and sharing of target logos through the first interactive interface. For example, the first interactive interface can provide a display area for drawing target logos, various brushes, various decorative props, a hand-drawing area, sharing options, etc., and users can complete the drawing and sharing of target logos using these tools provided by the first interactive interface.

[0098] In some embodiments, when the first client outputs the first interactive interface to the first user for the first time, it may display relevant operation instructions for AR hand-drawing, so that the first user can understand how to draw and share the target logo.

[0099] In some embodiments, the first client can output an AR real-world view of the environment in which the first user is located in the first interactive interface. This can present the real environment to the first user, enhance the fun, and thus increase the first user's participation.

[0100] In some embodiments, the first interactive interface may support hand-drawn input. A first user can hand-draw target identifiers on the first interactive interface to complete the drawing.

[0101] In some implementations, the hand-drawing area in the first interactive interface that supports hand-drawn input is the same size as the display area for showing the AR real-world image. The hand-drawing area is transparent, allowing the first interactive interface to still display the AR real-world image normally through the display area while the first user is drawing the target mark within it. This enhances the fun of hand-drawing for the user.

[0102] In some embodiments, the first interactive interface may provide a variety of brushes. In response to the first user's selection of any brush, the interface generates handwriting based on the handwriting effect corresponding to the brush, thereby obtaining a target identifier.

[0103] In some embodiments, the first interactive interface may include multiple font options. For example, the first interactive interface may include preset font options such as free creation, Song, Kai, and Yan. Optionally, the font option corresponding to each font may display an example of a preset logo drawn in that font.

[0104] In some methods, the first user can choose various font options to complete the target logo drawing. For example, if the first user selects the free font creation option, they can draw the target logo without being constrained by the font and according to their own drawing habits. This can enhance the user experience and increase the user's willingness to draw the logo.

[0105] For example, when a user selects the SimSun font option, the first client can render the target identifier drawn by the first user, resulting in a target identifier in SimSun font format. This can assist the user in drawing and improve the convenience of drawing identifiers.

[0106] In some embodiments, the first client can generate a trajectory of corresponding thickness and display it to the first user in the first interactive interface by detecting the pressure applied to the terminal screen by the first user during the hand-drawing input process, and / or the contact area with the terminal screen, so as to facilitate the user to draw more personalized marks, increase user interest, and improve user experience.

[0107] In some embodiments, the first client may save the logo drawn by the first user under different font options. Thus, the first user can compare the logos drawn under different fonts to select the most satisfactory target logo.

[0108] In some embodiments, the first interactive interface may further include rewrite and / or undo options. When the first user is not satisfied with the currently drawn logo, they can trigger the rewrite option to redraw the logo through clicking or other operations, or trigger the undo option to undo the most recently drawn step. This facilitates the drawing of satisfactory logos and improves the user experience.

[0109] In some embodiments, the first client may store a preset identifier. After the first user completes the drawing of the target identifier, the preset identifier can be used to verify the target identifier. An OCR model can be used to detect the target identifier drawn by the first user to obtain a first Chinese character represented by the initial identifier. If the first Chinese character is the same as the second Chinese character represented by the preset identifier, then the target identifier is determined to be the preset identifier; otherwise, the target identifier is determined not to be the preset identifier.

[0110] In some embodiments, if it is determined that the target identifier is the preset identifier, the first client may further provide the first user with decoration tools through the display interface for decorating and beautifying the target identifier.

[0111] In some embodiments, the first interactive interface further includes several decoration options corresponding to the target identifier. A first user can trigger operations on each of the provided decoration options through clicks or touches. In response to the first user's trigger operation on any of the several decoration options, the first client executes the decoration function corresponding to that option to decorate the target identifier.

[0112] In some embodiments, the decorative options include one or more combinations shown below: Modify the font's decoration options; Decoration options for adding decorative components to the target identifier; Decorative options to add the user's digital signature to the target identifier.

[0113] The dropdown menu corresponding to the font decoration option can include a variety of font options.

[0114] Once the first user has completed drawing the target logo, they can change the logo's font by selecting any font option under the decoration options. This makes it easier for users to choose the font.

[0115] The decoration options for adding decorative components to the target identifier can include various types of decorative sub-options. Optionally, the types can include popular types, types representing a certain custom, types representing blessings, etc. The popular types can include several decorative sub-options that have been selected multiple times by users within a certain period of time. Optionally, the display position in the interactive interface corresponding to the decorative sub-options can display image elements corresponding to each decorative sub-option. This allows users to intuitively select satisfactory image elements.

[0116] After the first user completes the logo drawing, the first client can display the target logo on the first interactive interface. When the first user triggers any decoration sub-option, the first client can add the corresponding image element to the first interactive interface. Optionally, the client can provide the user with operation options such as mirroring, deleting, zooming, and rotating the image element, allowing the user to perform related processing on the image element by triggering these operation options. The first user can drag the image element to move it to a suitable position. Thus, users can obtain satisfactory image elements, draw more personalized logos, increase user interest, and improve the user experience.

[0117] The decorative option for adding a user's digital signature to the target identifier may include a character input box. Optionally, after the first user triggers the decorative option, the character input box can be displayed on the first interactive interface. The first user can trigger the input function of the character input box through operations such as clicking. Optionally, an input interface for the first user to input characters can pop up. The first user can input the characters they want in the input interface. Optionally, to avoid the first user inputting too many characters and affecting the first user's drawing of the identifier, the number of characters the first user can input can be limited. Optionally, the first user can add a new character input box in the first interactive interface through operations such as long-pressing the screen.

[0118] In some embodiments, the number of decorative elements added by the first user while decorating the target logo can be detected in real time. These decorative elements may include image elements and character input boxes. When the number of decorative elements added by the first user reaches a preset limit, an over-decoration warning can be issued to the first user, prompting them to stop decorating or replace existing decorative elements. This prevents the aesthetics of the drawn logo from being negatively impacted by the addition of excessive decorative elements.

[0119] Once the first user completes the logo drawing (including the decoration of the logo), the first interactive interface can display the target logo drawn by the user.

[0120] In some embodiments, before displaying the target identifier, illegal content detection can be performed on the target identifier drawn by the first user, and the target identifier can be displayed after the illegal content detection passes.

[0121] In some methods, it can be identified whether the ratio of the size of the target identifier input by the first user to the size of the hand-drawn area provided by the first interactive interface reaches a preset ratio; if yes, the target identifier is further output to the first user; if no, the content in the hand-drawn area is cleared and the first user is prompted to re-enter the hand-drawn input.

[0122] By determining the ratio of the size of the first user input identifier to the size of the hand-drawn area, and outputting the target identifier when the ratio reaches a preset value, it is possible to avoid outputting identifiers with smaller font sizes, which are currently often used to spread illegal content. This is how illegal character detection can be completed.

[0123] In some methods, it can be identified whether the first user has entered an illegal symbol in the hand-drawn area; if so, the content in the hand-drawn area is cleared and the first user is prompted to re-enter the hand-drawn symbol; if not, the target symbol is displayed.

[0124] In some approaches, an illegal identifier database can be maintained in advance. During illegal identifier detection, the identifiers input by the user can be identified using an object detection model. Then, it is determined whether each identified identifier matches an identifier in the illegal identifier database. If none of the identifiers match, it is determined that the identifier drawn by the first user is not illegal. Conversely, if they match, it is determined that the first user drew an illegal identifier. This avoids the generation of illegal identifiers and thus prevents their propagation.

[0125] In some embodiments, the first interactive interface includes a second user option for performing 3D modeling of the target identifier. This application does not limit the style or location of the second user option.

[0126] In some implementations, after the first user completes the logo drawing (including any decorations), the first interactive interface can display the target logo drawn by the user. The first interactive interface includes options for the second user.

[0127] Users can trigger the second user option by clicking, touching, or other means. In response to the triggering operation initiated by the first user for the second user option, the first client can perform 3D modeling on the target identifier to obtain a 3D model corresponding to the target identifier. In some methods, a preset number (an empirical threshold, such as 20 or 30) of key points can be selected from the graphic corresponding to the target identifier, and the coordinates of the selected key points can be mapped from two-dimensional to three-dimensional to obtain the 3D model.

[0128] After the 3D reconstruction is completed, the 3D model can be integrated into the AR real-world scene for enhanced display, thereby increasing the fun and user engagement.

[0129] In some embodiments, integrating the 3D model into the AR real-world scene for enhanced display may include displaying preset dynamic display effects for the 3D model. In some ways, dynamic display effects can be preset, and after the 3D model is generated, the preset dynamic display effects can be displayed in the AR real-world scene to enhance interest and further increase user engagement.

[0130] In some embodiments, in order to improve the augmented reality effect, motion tracking can be performed on the user terminal where the first client is located during the process of integrating the target identifier into the AR real-world scene for enhanced display; then, based on the result of the motion tracking, the display effect of the target identifier in the AR real-world scene for enhanced display is updated synchronously.

[0131] The first user can rotate and move the first client device to change its orientation. The first client can determine the changes in the user terminal's orientation using orientation determination hardware (e.g., a gyroscope). Then, based on these determined changes in terminal orientation, the orientation of the target marker can be adjusted in real time, allowing the user to observe the target marker from various angles by adjusting the terminal's orientation. This enhances the augmented reality effect and further increases the first user's engagement.

[0132] For example, by using a gyroscope to determine that the user terminal rotates 90 degrees to the right, the target marker in the AR scene can be rotated 90 degrees to the right, allowing the user to view the model from the left side of the target marker. As another example, by using a gyroscope to determine that the user terminal rotates 90 degrees downwards, the target marker in the AR scene can be rotated 90 degrees downwards, allowing the user to view the model from above the target marker.

[0133] In some embodiments, the first client may, in response to a trigger operation initiated by the first user for the second user's option, send an electronic credential allocation request corresponding to the first user to the server, so that the server, in response to the electronic credential allocation request, allocates an electronic credential to the first user. Optionally, the electronic credential acquisition request includes indication information indicating that the target identifier is a preset identifier.

[0134] Upon receiving the request, the server can respond to the request by verifying the content of the indication information, and if the verification passes, allocate an electronic credential to the first user from a preset set of electronic credentials.

[0135] In some embodiments, the electronic vouchers in the electronic voucher set are each configured with an allocation probability; wherein, the allocation probability represents the probability that a first user obtains the electronic voucher. The electronic voucher allocated by the server to the first user from the electronic voucher set includes the electronic voucher with the lowest allocation probability in the electronic voucher set.

[0136] For example, the server maintains the allocation probability of electronic vouchers obtained by users through non-drawing identification methods such as scanning, with the first electronic voucher having the lowest allocation probability. When the first user obtains an electronic voucher through drawing identification, the first electronic voucher can be returned to the first user first, thereby increasing users' interest in obtaining electronic vouchers through drawing identification and facilitating the promotion of drawing identification gameplay.

[0137] In some embodiments, when the server returns the electronic credential assigned to the first user to the first client, it may also return a type tag corresponding to the electronic credential. After receiving the type tag, the first client can generate a details interface corresponding to the electronic credential based on the type of electronic credential indicated by the type tag and the target identifier drawn by the first user.

[0138] The details interface may include the option to claim the electronic voucher.

[0139] Triggering the claim option will add the electronic voucher returned by the server to the electronic voucher set corresponding to the first user.

[0140] If the first user needs the electronic voucher, they can trigger the claiming option by clicking or other actions. The first client can respond to the first user's triggering of the claiming option by switching to the display interface corresponding to the electronic voucher; wherein, the display interface includes multiple display positions corresponding to different types of electronic vouchers.

[0141] Then, the client can add the target identifier as an icon corresponding to the electronic voucher to the target display position in the display interface corresponding to the category of the electronic voucher.

[0142] In some embodiments, it can be determined whether an icon is displayed at the target display position corresponding to the category of the electronic voucher in the display interface. If yes, the displayed icon is replaced with the target identifier. If no, the target identifier is added as the icon corresponding to the electronic voucher to the target display position for display.

[0143] For example, the electronic voucher returned by the server is of type 1. The display interface includes multiple display positions corresponding to electronic vouchers of types 1 to N. The upper right corner of the icon in each display position indicates the number of electronic vouchers of that type. When displaying the electronic vouchers returned by the server, it can be determined whether an icon is displayed in the target display position corresponding to the first type of electronic voucher. If yes, the displayed icon is replaced with the target identifier. If no, the target identifier is added as the icon corresponding to the electronic voucher to the target display position for display. The number of upper right corner positions in this display position can then be increased.

[0144] This allows users to see their own customized electronic vouchers, thereby increasing their interest in participation.

[0145] In some embodiments, the first client may also replace the icons of electronic credentials displayed in other display locations besides the target display location with the target identifier. This allows for a more intuitive display of the user-drawn identifier to the user, enhancing the user experience.

[0146] In some embodiments, a first user can grant an electronic voucher corresponding to a displayed image to another user by triggering a display image added to the display location. This enables the granting of electronic vouchers.

[0147] In some embodiments, the first client can also determine in the background in real time whether the number of categories of locally stored electronic vouchers has reached a preset threshold; if the preset threshold is reached, the first user can then obtain the right to distribute red envelopes.

[0148] In this scenario, the first client can send a red envelope distribution request (equivalent to the virtual resource distribution request) to the server, and include several electronic credentials in the red envelope distribution request.

[0149] In some embodiments, the number and type of electronic vouchers carried in the red envelope distribution request can both be the preset threshold, so that after receiving the red envelope distribution request, the server can obtain the electronic vouchers carried in the red envelope distribution request and then verify them.

[0150] It should be noted that the operation of the first client sending a red envelope distribution request to the server can be triggered manually by the user, or it can be automatically triggered by the first client when it determines that the number of collected electronic vouchers of different categories has reached a first quantity.

[0151] For example, in one scenario, when the first client determines in the background that the collected electronic vouchers have reached a certain number, it can automatically initiate the red packet distribution request to the server. In another scenario, a trigger button can be provided at the display location corresponding to each electronic voucher to trigger the first client to initiate an object distribution request to the server. When the first client determines in the background that the collected electronic vouchers have reached a preset threshold, it can output a prompt to the first user (e.g., output relevant animation effects to prompt the user) to indicate that the first user has now obtained the permission to distribute red packets. Then, the first client can respond to the first user's trigger operation on the trigger button and send the red packet distribution request to the server.

[0152] After receiving the red envelope distribution request from the first client, the server can verify the number of categories of electronic vouchers carried in the request. If, after verifying the electronic vouchers carried in the red envelope distribution request, the server determines that the number of categories of electronic vouchers carried in the request reaches a preset threshold, the server can grant the first user the authority to distribute red envelopes and immediately distribute a certain amount of red envelopes to the first user from the preset "red envelope fund pool" (equivalent to the preset virtual resource set) based on the preset distribution rules, or distribute a certain amount of red envelopes to the first user from the preset "red envelope fund pool" based on the preset distribution rules after the specified red envelope distribution time arrives.

[0153] It should be noted that the allocation rules used by the server when distributing red envelopes to the first user from the preset "red envelope fund pool" can be formulated based on actual business needs.

[0154] In some methods, the server can count the number of users granted red packet distribution permissions and calculate the average distribution amount of the total amount of red packets to be distributed in the "red packet fund pool" based on the counted number of users. In this case, the calculated average distribution amount is the number of red packets to be distributed to each user. The server can then distribute the corresponding amount of red packets to each user from the "red packet fund pool" based on the calculated average distribution amount.

[0155] In some methods, when the server distributes red envelopes to the first user, it can also randomly draw a certain amount of red envelopes from the "red envelope fund pool" for the first user. For example, the server can calculate a random number for the first user based on a preset random algorithm combined with the total amount of red envelopes to be distributed in the "red envelope fund pool", and then distribute the corresponding amount of red envelopes to the first user according to the random number.

[0156] Of course, in addition to the allocation rules shown above, other allocation rules can be used in practical applications, which will not be listed one by one in this application.

[0157] In some embodiments, in response to a user-initiated trigger operation for the second user option, at least one interactive option is output in the first interactive interface. The interactive option may include a recording option corresponding to the target identifier. This application does not limit the style or position of the recording option.

[0158] The first user can trigger the recording option. The first client can respond to the first user's triggering of the recording option by recording a video of the AR real-world scene; it can also respond to the first user's save operation to save the recorded video locally. This enhances the fun of the interactive operation and thus increases participation.

[0159] For example, in some scenarios, after the target marker drawn by the first user is integrated into the AR real-world scene for enhanced display, the first client provides the first user with a recording option through a first interactive interface. The first user can trigger the recording option and then record a New Year's greeting video using the current AR real-world scene (including the user's real environment and the drawn target marker) as the video background. After the complete video recording, the first user can trigger the save option to save the recorded video locally on the client device. When there is a need to share, the first user can share the New Year's greeting video through the interactive platform corresponding to the interactive operation of this application or other platforms. This can enhance the fun of the interactive operation and thus increase participation.

[0160] In some embodiments, in response to a user-initiated trigger operation for the second user option, at least one interactive option is output in the first interactive interface. The interactive option may include a sharing option corresponding to the target identifier. This application does not limit the style or location of the sharing option.

[0161] The first user can trigger the sharing option. In response to the first user's triggering of the sharing option, the first client can share the target identifier to the second client corresponding to the second user specified by the first user.

[0162] In some methods, after the target identifier drawn by the first user is integrated into the AR real-world scene for enhanced display, the first client provides a sharing option to the first user through a first interactive interface. The first user can trigger the sharing option. In response to the first user's triggering of the sharing option, the first client can output a sharing interface corresponding to the target identifier. The sharing interface can include multiple sharing channels. The first user can select any one of the sharing channels and choose a second user from among the users provided by that channel to share the target identifier, thus completing the sharing operation on the sharing interface. In response to the first user's sharing operation on the sharing interface, the first client can send the user identifier (e.g., user account) corresponding to the second user and the target identifier to the server. The server can generate a QR code, a password, or a claim link based on the target identifier and send it to the second client corresponding to the user identifier. This completes the sharing of the user-drawn target identifier, further enhancing the user experience and increasing the fun of the red envelope activity.

[0163] In some embodiments, the target identifier is a 3D model. In response to a sharing operation by a first user, the first client may share the 3D model corresponding to the target identifier to a second client corresponding to a second user specified by the first user.

[0164] In some embodiments, during the process of the first user manually inputting the target identifier, the first client can record the manual input process to obtain a video corresponding to the manual input process. Then, when the first user shares the target identifier with the second user, the first client can share the 3D model corresponding to the target identifier and the video corresponding to the manual input process to the second client designated by the first user. This allows the second client to play the video after the second user receives the target identifier, enhancing the interactive experience.

[0165] In some embodiments, after the second client receives a target identifier hand-drawn by the first user on the first client and shared by the first client corresponding to the first user, in response to the second user's request for the target identifier, the second client outputs an AR real-world image of the second user's environment to the second user and integrates the target identifier into the AR real-world image for enhanced display; and obtains an electronic credential assigned to the second user by the server.

[0166] In some methods, the second client can display a sharing message sent by the first client to the second user. This sharing message includes a QR code, a Zhihu password, or a claim link corresponding to the target identifier. The second user can trigger the sharing message to perform a claim operation. For example, if the sharing message is a QR code, the second user can trigger the sharing message and perform the claim operation by recognizing it on the second client device (e.g., by scanning with a camera or image recognition). Another example is a Zhihu password; the second user can copy the Zhihu password and paste it into the second client to trigger the sharing message and perform the claim operation. Yet another example is a claim link; the second user can trigger the sharing message and perform the claim operation by clicking the claim link.

[0167] The second client can respond to the second user's request to claim the target identifier by outputting an AR-based second interactive interface to the second user, and displaying an AR real-world image of the second user's environment in the second interactive interface. Alternatively, the target identifier can be integrated into the AR real-world image for enhanced display.

[0168] In some approaches, the target identifier can be a three-dimensional model. The three-dimensional model can be integrated into the AR reality scene for enhanced display.

[0169] In some ways, the second client can display a preset dynamic effect corresponding to the target identifier to enhance the interaction fun. For example, a preset dynamic effect corresponding to the target identifier can be displayed in the AR live scene in the second interaction interface.

[0170] In some ways, the first client also shares a video corresponding to the process of hand-drawing the target identifier. The second client can also play a video corresponding to the hand-drawing process of the target identifier in the AR live scene, and after the video is played, fuse a three-dimensional model corresponding to the target identifier into the AR live scene for enhanced display.

[0171] In some ways, in response to a receiving operation initiated by the second user for the target identifier, the second client sends a receiving request corresponding to the target identifier to the server. The server can, in response to the receiving request, allocate an electronic voucher for the second user. The second client can obtain the electronic voucher allocated by the server for the second user in response to the receiving request, and output and display the obtained electronic voucher to the second user through the second interaction interface. The second user can click the confirmation receiving option included in the output display interface to complete the receiving of the electronic voucher. Thus, on the one hand, it can increase user interest, and on the other hand, it can improve the dissemination of the electronic voucher.

[0172] In some embodiments, the second client can also continuously judge in the background whether the number of types of electronic vouchers saved locally reaches a preset threshold; when the number of types of electronic vouchers obtained by the second user reaches the preset threshold, the second user obtains the receiving right to the virtual resources in the preset virtual resource set. The method for the second user to receive virtual resources can refer to the relevant description of the method for the first user to receive virtual resources mentioned above, and will not be elaborated here.

[0173] The following describes the technical solutions in the above embodiments in detail in combination with a red envelope distribution scenario of "Five Blessings to Win Big Prizes". In this example, the user who draws the target identifier (the character "Fu") is called the first user, the user who receives the target identifier is called the second user, the client corresponding to the first user is called the first client, and the client corresponding to the second user is called the second client.

[0174] In the distribution scenario, the first client and the second client can be Alipay clients. The server corresponding to the first client and the second client can be the Alipay platform (hereinafter referred to as the platform). The virtual resource set can refer to the capital account of the operator of the platform or an enterprise cooperating with the operator of the platform. The funds under this capital account are the total amount of funds used to distribute red envelopes to users.

[0175] The electronic vouchers may include five types of virtual blessing cards, such as "Shoukang Blessing", "Friendship Blessing", "Prosperity Blessing", "Harmonious Family Blessing", and "Wealthy Blessing". When the user collects the above five types of virtual blessing cards, they can automatically obtain the right to receive red envelopes.

[0176] In addition to the above five types of virtual blessing cards (hereinafter referred to as blessing cards), the server can also issue some special virtual blessing cards to users as virtual props. For example, the special virtual blessing card can be a "Good Luck Sharing Card". By "using" the Good Luck Sharing Card, the user can interact with other users with social relationships and randomly "copy" and obtain the blessing cards held by other users without reducing the blessing cards held by other users.

[0177] Please refer to Figure 2 , Figure 2 which is a schematic diagram of a blessing card display interface shown in an embodiment of the present application.

[0178] As Figure 2 shown, the blessing card display interface can be a "My Blessing Cards" interface. In this interface, corresponding display positions can be provided for the above five types of blessing cards and the Good Luck Sharing Card held by the user. There will be "Fu" character icons corresponding to each type of blessing card at the display positions corresponding to each type of blessing card. Optionally, if the user does not have a certain type of blessing card, no icon can be displayed at the display position corresponding to this blessing card, or an icon indicating that the user lacks this type of blessing card can be displayed.

[0179] In actual applications, the special virtual blessing cards issued by the server to users can also include special blessing cards such as "All-Purpose Blessing Cards" and "Flower Blessing Cards". That is, the operator of the platform can flexibly customize virtual props with various functions for users based on actual needs, which will not be listed one by one in this application.

[0180] Please refer to Figure 3 , Figure 3 which is a schematic diagram of an interactive activity entrance display interface shown in an embodiment of the present application.

[0181] As Figure 3 shown, when the user participates in the "Five Blessings Share Big Prizes" activity, the client can display an activity entrance display interface for the user. This interface can include options such as "My Blessing Cards", "Scan the Fu Character", and "AR Write Fu" (i.e., the first user option in the foregoing embodiment). It should be noted that Figure 3 the background image and page layout shown in

[0182] After the first user triggers the "AR Write Blessing" option by touching or other means, the first client can determine whether the first user is triggering this option for the first time. If the first user enters the "AR Write Blessing" interface for the first time, relevant instructions for "AR Write Blessing" can be displayed to the first user; otherwise, the interactive interface for the first user to perform AR writing of the blessing (the first interactive interface in the foregoing embodiment) can be directly displayed to the first user.

[0183] Please refer to Figure 4 , Figure 4 which is a schematic diagram of an AR write blessing interactive interface shown in an embodiment of the present application.

[0184] As Figure 4 shown, the AR write blessing interactive interface may include a hand-drawing area for the first user to perform AR writing of the blessing, a display area for displaying the AR real scene picture, and several paintbrushes. Schematically, Figure 4 shows gold, red, and blue paintbrushes. It should be noted that the ranges of the hand-drawing area and the display area are the same, and both are the entire terminal screen. When the user writes the blessing character by hand, the AR real scene picture can still be normally displayed, enhancing the趣味性.

[0185] Assume that the first user is outdoors. The AR write blessing interactive interface can display the AR real scene picture of the outdoors. As Figure 4 shown, it schematically shows that the outdoors where the first user is currently located includes mountains and the sun.

[0186] The user can select a red paintbrush and then write the blessing in the hand-drawing area according to their own writing habits. Here, the hand-drawing area can display writing tracks of different thicknesses according to factors such as the pressing force of the user's finger on the terminal screen and the contact area between the finger and the terminal device.

[0187] After finishing writing the blessing, the first user can trigger the next option in the AR write blessing interactive interface (as Figure 4 shown). The first client can, in response to the first user triggering this option, use an OCR model to identify the mark written by the user and determine whether the mark is the character "福". If so, corresponding decorative props for decorating the blessing character can be provided to the user; otherwise, the first user can be reminded to write the blessing again.

[0188] Please refer to Figure 5 , Figure 5 which is a schematic diagram of an AR write blessing interactive interface shown in an embodiment of the present application.

[0189] As Figure 5 shown, the AR write blessing interactive interface may include several decoration options. Schematically, Figure 5"Popular", "New Year flavor", "Blessings", and digital signatures and other decoration options are shown. Among them, when the first user clicks on a decoration option such as "Popular", the AR Write Blessing interactive interface can also display a number of sub-decoration options under the clicked decoration option for the first user to arbitrarily select for decoration.

[0190] As Figure 5 shown, the first user selects the "Cloud" sub-option under the "Popular" option, and the first client can add the image element corresponding to the "Cloud" sub-option to the AR Write Blessing interactive interface. The user can perform operations such as dragging, zooming in, rotating, deleting, etc. on the image element in the display area until a satisfactory decoration effect is obtained.

[0191] Please continue to refer to Figure 5 , the user can also click on the digital signature decoration option corresponding to "Good Luck in the Year of the Tiger", and then enter personalized characters in the pop-up input window. For example, characters such as "Made by XXX" can be entered.

[0192] It can be understood that the first user can still normally display the AR real scene picture when decorating the blessing character, enhancing the fun. As Figure 5 shown, during the process of decorating the blessing, the AR Write Blessing interactive interface still shows the outdoors where the first user is located.

[0193] When the first user finishes decorating the blessing, the Generate 3D Blessing option (the second user option in the foregoing embodiment) in the AR Write Blessing interactive interface can be triggered. The first client can respond to the first user's triggering of this option, and use a preset three-dimensional reconstruction algorithm to perform three-dimensional modeling on the blessing character hand-drawn by the first user to obtain a three-dimensional blessing character.

[0194] After obtaining the three-dimensional blessing character, a preset dynamic display effect can be displayed through the AR Write Blessing interactive interface to enhance the interactive fun.

[0195] The first client responds to the operation of the first user triggering the Generate 3D Blessing option, and sends a blessing card acquisition request to the platform. After receiving the acquisition request, the platform can select the type of blessing card with the lowest configured allocation probability from the saved set of blessing cards as the blessing card allocated to the first user. Then the platform can return the type identifier corresponding to the allocated blessing card (assuming it is the Prosperity Blessing) to the client. The first client can generate a details interface corresponding to the Prosperity Blessing based on the received type identifier and the image element corresponding to the "Blessing Character" currently displayed in the display area, and display this details interface to the user in the form of a pop-up window after the three-dimensional blessing character's dynamic display is completed.

[0196] Please refer to Figure 6 , Figure 6A schematic diagram of a details interface shown in an embodiment of the present application.

[0197] As Figure 6 shown, the popped-up details interface may include a display area for showing the electronic voucher as the prosperous wealth blessing and a hand-drawn blessing character, as well as several function options. Schematically, Figure 6 the shown details interface may include an option of "receive the blessing card".

[0198] After the first user clicks on this option, the first client can save this exclusive blessing card locally. Here, the first client can display a blessing card display interface as Figure 2 shown to the first user. And replace the icon at the display position corresponding to the prosperous wealth blessing with the exclusive blessing character hand-drawn by the first user. Optionally, the first user can also choose to replace the icons at other display positions in the blessing card display interface with the exclusive blessing character. Thus, not only can the first user be rewarded with an electronic voucher, but also the exclusive blessing character can be shown to the first user, enhancing the enthusiasm of the user to participate in AR writing of the blessing.

[0199] After the first user receives the secondary card, the first client can continue to display the AR writing blessing interaction interface. Among them, a three-dimensional blessing character is shown in the AR writing blessing interaction interface, and it can remind the user to observe the three-dimensional blessing character all around by rotating and moving the mobile phone.

[0200] Please refer to Figure 7 , Figure 7 a schematic diagram of an AR writing blessing interaction interface shown in an embodiment of the present application.

[0201] As Figure 7 shown, a three-dimensional blessing character is shown in the AR writing blessing interaction interface, and it can remind the first user to "look at it from another angle" at the three-dimensional blessing character. The first user can rotate the user terminal 90 degrees to the right. The first client can determine that the user terminal rotates 90 degrees to the right through the gyroscope, then can rotate the three-dimensional blessing character in the AR real scene picture 90 degrees to the right, so that the first user can observe the three-dimensional blessing character from the left side of the target logo. Similarly, the first user can adjust the angle of the user terminal all around to complete the all-round observation of the three-dimensional blessing character. Thus, the趣味性 of AR writing of the blessing can be enhanced, and further the enthusiasm of the user to participate in AR writing of the blessing can be enhanced.

[0202] The AR writing blessing interaction interface also includes a sharing option and a recording option. As Figure 7 shown, the AR writing blessing interaction interface may also include an option of "send to relatives and friends" (sharing option) and an option of "take a photo with the blessing character" (recording option).

[0203] The first user can trigger the "Take a photo with the 'Fu' character" option. The first client can respond to this by invoking the recording function. At this point, the first user can enter the user's camera area, and the first client can merge the user captured by the camera into the AR real-world scene, presenting an effect where the user, the 3D 'Fu' character, and the real environment are all in the same frame. After recording, the first client can provide the first user with the option to save the video, and in response to the user triggering this option, save the recorded video to the local album. The first user can then select the recorded video from the local album to share. For example, the video can be shared through a third-party chat tool like "Qiuqiu," thereby increasing the reach of the AR 'Fu' writing activity.

[0204] The first user can trigger the "Send to Friends and Family" option. The first client can send the hand-drawn 3D "Fu" character to the platform. The platform can store the 3D "Fu" character and generate a sharing interface based on it. The sharing interface can be a pop-up window. The sharing interface includes a QR code corresponding to the storage address of the 3D "Fu" character, a rendered image of the 3D "Fu" character, and at least one function option.

[0205] Please see Figure 8 , Figure 8 This is a schematic diagram of a sharing interface shown in an embodiment of this application.

[0206] like Figure 8 As shown, the sharing interface may include a QR code corresponding to the storage address of the 3D "Fu" character, a rendered image of the 3D "Fu" character, and three function options: save image, copy link, and DingTalk.

[0207] If the first user triggers the save image option, the first client can save the composite image containing the QR code and the rendered image locally and share it through third-party software.

[0208] If the first user triggers the copy link option, the first client can send a copy link request to the platform. The platform can generate a link based on the storage address of the 3D "Fu" character and return it. The first client can then paste the received link into the chat area of ​​a third-party software to share and spread the 3D "Fu" character.

[0209] If the first user triggers the DingTalk option, the first client can send a request for a DingTalk password to the platform. The platform can generate a DingTalk password based on the storage address of the 3D "Fu" character and return it. The first client then continues to interact with the user's terminal and is redirected to the DingTalk software interface. The first user can select several friends as second users in this software interface and paste the DingTalk password into the chat area with the second users to complete the sharing and dissemination of the 3D "Fu" character.

[0210] After the second client corresponding to the second user receives the sharing message (including pictures, links, and吱口令) sent by the first client, it can display the sharing message.

[0211] The second user can trigger the sharing message by identifying the QR code in the picture, clicking on the link, or copying the吱口令 to the second client, etc. In response to the second user triggering the sharing message, the second client can output a redemption interface to the second user.

[0212] The redemption interface includes a rendered picture of the three-dimensional blessing character and redemption options.

[0213] Please refer to Figure 9 , Figure 9 which is a schematic diagram of a redemption interface shown in an embodiment of this application.

[0214] As Figure 9 shown, the redemption interface includes the rendered picture and redemption options.

[0215] The second user can trigger the redemption option to complete the redemption operation. The second client can, in response to the redemption operation, output a second interactive interface based on AR and output the AR real scene picture of the environment where the second user is located in the second interactive interface. The second client can also send an application to the platform to obtain the three-dimensional blessing character. The platform can, in response to this application, return the three-dimensional blessing character, the corresponding dynamic display effect, and the process video when the first user drew the three-dimensional blessing character. The second client can sequentially display the process video and the dynamic display effect in the AR real scene picture, and render the three-dimensional blessing character into the AR real scene picture after the display is completed. Thus, the sharing and dissemination of the three-dimensional blessing character can be completed, enhancing the fun of writing blessings in AR.

[0216] Please refer to Figure 10 , Figure 10 which is a schematic diagram of a second interactive interface shown in an embodiment of this application. [[ID=३०]]

[0217] As Figure 10 shown, the second interactive interface can include an AR real scene picture that combines the real environment where the second user is currently located and the three-dimensional blessing character presented by the first user, as well as options such as "Take a photo with the blessing character" and "Go write one". Suppose the second user is facing the wall of the bedroom. The socket on the wall can be shown in the AR real scene picture.

[0218] If the second user triggers the "Take a photo with the blessing character" option, a video can be recorded with the three-dimensional blessing character in the same frame. If the second user triggers the "Go write one" option, they can be redirected to the AR blessing writing interactive interface to complete their own blessing character drawing.

[0219] In response to the claiming operation, the second client can also send a claiming request corresponding to the target identifier to the platform. The server can respond to the claiming request and allocate an electronic voucher to the second user. The second client can obtain the electronic voucher allocated to the second user by the server in response to the claiming request and display the obtained electronic voucher to the second user through the second interactive interface. The second user can click the "Confirm Claim" option included in the displayed interface to complete the claiming of the electronic voucher. This increases user engagement and enhances the dissemination of the electronic voucher.

[0220] The second assessment form can determine the number of categories of electronic vouchers stored locally. When the second client collects 5 or more categories of lucky cards, the second user can obtain the right to distribute red envelopes. The second client can send a "red envelope distribution request" (i.e., the virtual resource distribution request) to the platform to request the platform to distribute red envelopes to the user. The specific implementation process will not be described in detail.

[0221] In the aforementioned solution, by providing services such as hand-drawing and sharing AR "Fu" characters and giving away electronic vouchers, users can incorporate more emotion into the "Five Blessings for Big Prizes" activity, thereby enhancing the fun of the activity, increasing the user experience, increasing user participation, and increasing the spread of the "Fu" cards.

[0222] This application also proposes an interactive device based on electronic credentials. This device can be applied to a first client corresponding to a first user.

[0223] Please see Figure 11 , Figure 11 This is a schematic diagram illustrating the structure of an interactive device based on electronic credentials, as shown in an embodiment of this application.

[0224] like Figure 11 As shown, the interactive device 1100 based on electronic credentials may include: The output module 1110 responds to the interactive operation initiated by the first user and outputs the AR real-world image of the environment in which the first user is located to the first user. The fusion module 1120 acquires the target identifier hand-drawn by the first user and identifies whether the target identifier is a preset identifier; if the target identifier is a preset identifier, the target identifier is fused into the AR real-world scene for enhanced display; wherein, the target identifier is used to trigger the server to allocate electronic vouchers to users who receive the target identifier; The sharing module 1130, in response to a sharing operation initiated by the first user, shares the target identifier to a second client corresponding to a second user specified by the first user, so that the second client, in response to a claim operation initiated by the second user for the target identifier, integrates the target identifier into the AR real-world scene of the second user's environment for enhanced display, and obtains an electronic credential assigned to the second user by the server; wherein, the electronic credential is used to obtain the right to claim virtual resources in a preset set of virtual resources.

[0225] In some embodiments, the output module 1110 is specifically used for: In response to the interactive operation initiated by the first user, an AR-based first interactive interface is output to the first user, and an AR real-world scene of the environment in which the first user is located is output in the first interactive interface.

[0226] In some embodiments, the first interactive interface supports hand-drawn input; The fusion module 1120 is specifically used for: Obtain the target identifier hand-drawn by the first user on the first interactive interface.

[0227] In some embodiments, the user interface provided by the first client to the first user includes a first user option for accessing the first interactive interface. The output module 1110 is specifically used for: In response to a trigger operation initiated by the first user for the first user's selection, an AR-based first interactive interface is output to the first user.

[0228] In some embodiments, the device 1100 further includes: The 3D modeling module performs 3D modeling on the target identifier to obtain a 3D model corresponding to the target identifier; The fusion module 1120 is specifically used for: The 3D model is integrated into the AR real-world image for enhanced display. The sharing module 1130 is specifically used for: The 3D model corresponding to the target identifier is shared to the second client corresponding to the second user specified by the first user.

[0229] In some embodiments, the device 1100 further includes: The first recording module records the hand-drawing process of the target identifier during the process of the first user hand-drawing the target identifier, and obtains a video corresponding to the hand-drawing process of the target identifier; The sharing module 1130 is specifically used for: The 3D model corresponding to the target identifier and the video corresponding to the hand-drawn process of the target identifier are shared to the second client corresponding to the second user designated by the first user.

[0230] In some embodiments, the fusion module 1120 is specifically used for: The system displays a preset dynamic display effect for the 3D model.

[0231] In some embodiments, the first interactive interface includes a second user option for performing three-dimensional modeling of the target identifier; The 3D modeling module is specifically used for: In response to a trigger operation initiated by the first user for the second user's option, a three-dimensional model is performed on the target identifier to obtain a three-dimensional model corresponding to the target identifier.

[0232] In some embodiments, the device 1100 further includes: The sending module, in response to the triggering operation initiated by the first user for the second user's option, sends an electronic credential allocation request corresponding to the first user to the server, so that the server responds to the electronic credential allocation request and allocates an electronic credential to the first user; The acquisition and display module acquires the electronic credential assigned to the first user by the server and displays the acquired electronic credential to the first user through the first interactive interface.

[0233] In some embodiments, when the number of categories of the electronic credentials obtained by the first user reaches a preset threshold, the first user obtains the right to claim virtual resources in the preset virtual resource set.

[0234] In some embodiments, the device 1100 further includes: Option output module 1110, in response to a user-initiated trigger operation for the second user option, outputs at least one interactive option in the first interactive interface; wherein, the at least one interactive option includes a sharing option corresponding to the target identifier; The sharing module 1130 is specifically used for: In response to the first user's triggering operation on the sharing option, the target identifier is shared to the second client corresponding to the second user specified by the first user.

[0235] In some embodiments, the at least one interactive option further includes a recording option corresponding to the target identifier; The device 1100 further includes: The second recording module performs video recording on the AR live view in response to the triggering operation of the first user for the recording option; The saving module saves the recorded video locally in response to the saving operation initiated by the first user.

[0236] In some embodiments, the device 1100 further includes: The motion tracking module performs motion tracking on the user terminal where the first client is located during the process of enhancing the display by fusing the target identifier in the AR live view after fusing the three-dimensional model in the AR live view for enhanced display; The synchronous update module synchronously updates the display effect of the enhanced display of the three-dimensional model target identifier in the AR live view based on the result of the motion tracking.

[0237] In some embodiments, the identifier includes characters.

[0238] In some embodiments, the virtual resource includes a virtual red envelope; the character includes the character "Fu" in Chinese.

[0239] First, in the foregoing solution, the first client can output the AR live view of the environment where the first user is located in response to the interactive operation initiated by the first user, and can obtain the target identifier hand-drawn by the first user, and in the case where the target identifier is a preset identifier, fuse the target identifier in the AR live view for enhanced display, so that the first user can draw and share the target identifier according to his own preferences in the AR live view corresponding to his own environment, enabling the first user to incorporate more emotions when transmitting the electronic voucher to other users, thereby enhancing the user's sense of participation and enthusiasm for participating in transmitting the electronic voucher, and enhancing the interactivity when transmitting the electronic voucher among users.

[0240] Second, the second client can fuse the target identifier shared by the first user in the AR live view of the environment where the second user is located for enhanced display in response to the receiving operation of the second user for the target identifier, and obtain the electronic voucher assigned by the server to the second user, so that the second user can view the target identifier hand-drawn by the first user and enhanced by AR technology in the AR live view corresponding to his own environment, and receive the electronic voucher transmitted by the first user to the second user, thereby enhancing the user's sense of participation and user experience when obtaining the electronic voucher transmitted by other users, and enhancing the interactivity when transmitting the electronic voucher among users.

[0241] This application also proposes an interactive device based on electronic credentials. This device can be applied to a second client corresponding to a second user. The interactive device may include: The receiving module receives a target identifier that is hand-drawn and input by the first user on the first client, which is shared by the first client corresponding to the first user; wherein, the target identifier is used to trigger the server to allocate an electronic credential to the user who receives the target identifier; The claiming module, in response to the claiming operation initiated by the second user for the target identifier, outputs an AR real-world image of the second user's environment to the second user, and integrates the target identifier into the AR real-world image for enhanced display, and... Obtain the electronic credentials assigned to the second user by the server; wherein the electronic credentials are used to obtain the right to claim virtual resources in a preset set of virtual resources.

[0242] In some embodiments, the receiving module is specifically used for: In response to the second user's retrieval operation for the target identifier, an AR real-world image of the second user's environment is output to the second user, including: In response to the second user's request to claim the target identifier, an AR-based second interactive interface is output to the second user, and an AR real-world image of the environment in which the second user is located is displayed in the second interactive interface.

[0243] In some embodiments, when the number of categories of the electronic credentials obtained by the second user reaches a preset threshold, the second user obtains the right to claim virtual resources in the preset virtual resource set.

[0244] In some embodiments, the target identifier shared by the first client includes a three-dimensional model corresponding to the target identifier; The receiving module is specifically used for: The 3D model is integrated into the AR real-world image for enhanced display.

[0245] In some embodiments, the target identifier shared by the first client includes a 3D model corresponding to the target identifier and a video corresponding to the hand-drawn process of the target identifier; The receiving module is specifically used for: A video corresponding to the hand-drawn process of the target logo is played in the AR real-world scene, and after the video finishes playing, the 3D model corresponding to the target logo is integrated into the AR real-world scene for enhanced display.

[0246] In some embodiments, the receiving module is specifically used for: Display the preset dynamic display effect for the three-dimensional model.

[0247] In some embodiments, the device further includes: An electronic voucher receiving module, which, in response to the receiving operation initiated by the second user for the target identifier, sends a receiving request corresponding to the target identifier to the server, so that the server, in response to the receiving request, allocates an electronic voucher for the second user; The receiving module is specifically used for: Obtain the electronic voucher allocated by the server for the second user in response to the receiving request, and output and display the obtained electronic voucher to the second user through the second interaction interface.

[0248] In some embodiments, the identifier includes characters.

[0249] In some embodiments, the virtual resource includes a virtual red envelope; the character includes the character "Fu" in Chinese.

[0250] In the foregoing solution, first, the first client can, in response to the interaction operation initiated by the first user, output the AR live scene picture of the environment where the first user is located, and can obtain the target identifier hand-drawn and input by the first user, and in the case where the target identifier is a preset identifier, fuse the target identifier in the AR live scene picture for enhanced display, so that the first user can draw and share the target identifier according to his own preferences in the AR live scene picture corresponding to his own environment, enabling the first user to incorporate more emotions when transmitting the electronic voucher to other users, thereby improving the user's sense of participation and enthusiasm for participating in transmitting the electronic voucher, and enhancing the interactivity when transmitting the electronic voucher among users.

[0251] Second, the second client can, in response to the receiving operation initiated by the second user for the target identifier, fuse the target identifier shared by the first user in the AR live scene picture of the environment where the second user is located for enhanced display, and obtain the electronic voucher allocated by the server to the second user, so that the second user can view the target identifier hand-drawn and input by the first user and enhanced by AR technology in the AR live scene picture corresponding to his own environment, and receive the electronic voucher transmitted by the first user to the second user, thereby improving the user's sense of participation and user experience when obtaining the electronic voucher transmitted by other users, and enhancing the interactivity when transmitting the electronic voucher among users.

[0252] The embodiments of the interaction device shown in this application can be applied to an electronic device. Correspondingly, this application discloses an electronic device, which may include: a processor.

[0253] Memory used to store processor-executable instructions.

[0254] The processor is configured to invoke executable instructions stored in the memory to implement the interactive method as shown in any of the embodiments.

[0255] Please see Figure 12 , Figure 12 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application.

[0256] like Figure 12 As shown, the electronic device may include a processor for executing instructions, a network interface for network connectivity, memory for storing operational data for the processor, and non-volatile memory for storing instructions corresponding to the interactive device.

[0257] The interactive device can be implemented through software, hardware, or a combination of both. Taking software implementation as an example, as a logical device, it is formed by the processor of the electronic device loading corresponding computer program instructions from non-volatile memory into memory for execution. From a hardware perspective, besides... Figure 12 In addition to the processor, memory, network interface, and non-volatile memory shown, the electronic device in which the device is located in the embodiment may also include other hardware depending on the actual function of the electronic device, which will not be described in detail here.

[0258] Understandably, in order to improve processing speed, the corresponding instructions for interactive devices can also be stored directly in memory, and this is not a limitation here.

[0259] This application proposes a computer-readable storage medium storing a computer program for performing the interactive method shown in any of the embodiments.

[0260] Those skilled in the art will understand that one or more embodiments of this application can be provided as a method, system, or computer program product. Therefore, one or more embodiments of this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this application can take the form of a computer program product implemented on one or more computer-usable storage media (which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0261] In this application, “and / or” means having at least one of two options. For example, “A and / or B” can include three options: A, B, and “A and B”.

[0262] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the data processing device embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0263] The description focuses on specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims may be performed in a different order than those shown in the embodiments and 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 possible or may be advantageous.

[0264] The embodiments of the subject matter and functional operation described in this application can be implemented in: digital electronic circuits, tangibly embodied computer software or firmware, computer hardware that may include the structures disclosed in this application and their structural equivalents, or combinations thereof. Embodiments of the subject matter described in this application can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded in a tangible, non-transitory program carrier for execution by or control of the operation of a data processing device. Alternatively or additionally, the program instructions may be encoded in artificially generated propagation signals, such as machine-generated electrical, optical, or electromagnetic signals, generated to encode information and transmit it to a suitable receiving device for execution by the data processing device. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or combinations thereof.

[0265] The processing and logic flow described in this application can be executed by one or more programmable computers that execute one or more computer programs to perform corresponding functions by operating on input data and generating output. The processing and logic flow can also be executed by dedicated logic circuitry—such as FPGA (Field-Programmable Gate Array) or ASIC (Application-Specific Integrated Circuit)—and the device can also be implemented as dedicated logic circuitry.

[0266] A computer suitable for executing computer programs may include, for example, a general-purpose and / or special-purpose microprocessor, or any other type of central processing unit. Typically, the central processing unit receives instructions and data from read-only memory and / or random access memory. The basic components of a computer may include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Typically, a computer may also include one or more mass storage devices for storing data, such as disks, magneto-optical disks, or optical disks, or the computer may be operatively coupled to such mass storage devices to receive data from or transfer data to them, or both. However, a computer is not required to have such devices. Furthermore, a computer may be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device such as a universal serial bus (USB) flash drive, to name a few.

[0267] Computer-readable media suitable for storing computer program instructions and data can include all forms of non-volatile memory, media, and memory devices, such as semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., internal hard disks or removable disks), magneto-optical disks, and CD-ROMs and DVD-ROMs. Processors and memory may be supplemented by or incorporated into dedicated logic circuitry.

[0268] While this application contains numerous specific implementation details, these should not be construed as limiting the scope of any disclosure or the scope of the claims, but rather are primarily used to describe the features of specific embodiments of a particular disclosure. Certain features described in the multiple embodiments of this application may also be implemented in combination in a single embodiment. Conversely, various features described in a single embodiment may also be implemented separately in multiple embodiments or in any suitable sub-combination. Furthermore, while features may function in certain combinations as described and even initially claimed in this way, one or more features from a claimed combination may be removed from that combination in some cases, and a claimed combination may refer to a sub-combination or a variation of a sub-combination.

[0269] Similarly, although operations are depicted in a specific order in the accompanying drawings, this should not be construed as requiring these operations to be performed in the specific order shown or sequentially, or requiring all illustrated operations to be performed to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Furthermore, the separation of various system modules and components in the described embodiments should not be construed as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.

[0270] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings are not necessarily shown in a specific order or sequence to achieve the desired result. In some implementations, multitasking and parallel processing may be advantageous.

[0271] The above description is merely a preferred embodiment of one or more embodiments of this application and is not intended to limit the scope of one or more embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of one or more embodiments of this application should be included within the scope of protection of one or more embodiments of this application.

Claims

1. An interactive method based on electronic vouchers, characterized in that, Applied to a first client corresponding to a first user, the method includes: In response to the interactive operation initiated by the first user, the AR real-world image of the environment in which the first user is located is output to the first user; Obtain the target identifier hand-drawn by the first user and identify whether the target identifier is a preset identifier; if the target identifier is a preset identifier, integrate the target identifier into the AR real-world scene for enhanced display; wherein, the target identifier is used to trigger the server to allocate an electronic voucher to the user who receives the target identifier; wherein, the electronic voucher is used to obtain the right to receive virtual resources in a preset set of virtual resources.

2. The method according to claim 1, characterized in that, After integrating the target identifier into the AR real-world image for enhanced display, it also includes: In response to the sharing operation initiated by the first user, the target identifier is shared to the second client corresponding to the second user specified by the first user, so that the second client responds to the receiving operation initiated by the second user for the target identifier, integrates the target identifier into the AR real-world scene of the second user's environment for enhanced display, and obtains the electronic voucher assigned to the second user by the server.

3. The method according to claim 2, characterized in that, Before integrating the target identifier into the AR real-world image for enhanced display, the method further includes: Perform 3D modeling on the target identifier to obtain a 3D model corresponding to the target identifier; Sharing the target identifier to the second client corresponding to the second user specified by the first user includes: The 3D model corresponding to the target identifier is shared to the second client corresponding to the second user specified by the first user.

4. The method according to claim 3, characterized in that, The method further includes: During the process of the first user manually inputting the target identifier, the manual input process of the target identifier is recorded to obtain a video corresponding to the manual input process of the target identifier; Sharing the 3D model corresponding to the target identifier to the second client corresponding to the second user specified by the first user includes: The 3D model corresponding to the target identifier and the video corresponding to the hand-drawn process of the target identifier are shared to the second client corresponding to the second user designated by the first user.

5. The method according to claim 1, characterized in that, Before integrating the target identifier into the AR real-world image for enhanced display, the method further includes: Perform 3D modeling on the target identifier to obtain a 3D model corresponding to the target identifier; The target identifier is integrated into the AR real-world image for enhanced display, including: The 3D model is integrated into the AR real-world image for enhanced display.

6. The method according to claim 5, characterized in that, The process of integrating the 3D model into the AR real-world scene for enhanced display includes: The system displays a preset dynamic display effect for the 3D model.

7. The method according to claim 1, characterized in that, The first interactive interface for outputting an AR real-world image of the environment where the first user is located to the first user includes: a recording option corresponding to the target identifier; The method further includes: In response to the first user's trigger operation on the recording option, video recording is performed on the AR real-world scene; In response to the save operation initiated by the first user, the recorded video is saved locally.

8. The method according to claim 5, characterized in that, After fusing the 3D model in the AR live scene for enhanced display, the method further includes: During the process of fusing the target identifier in the AR live scene for enhanced display, perform motion tracking on the user terminal where the first client is located; Based on the result of the motion tracking, synchronously update the display effect of the 3D model target identifier for enhanced display in the AR live scene.

9. The method according to claim 1, characterized in that, The identifier includes characters.

10. The method according to claim 9, characterized in that, The virtual resource includes a virtual red envelope; the character includes the Chinese character "Fu".

11. An interactive method based on electronic vouchers, characterized in that, Applied to a second client corresponding to a second user, the method includes: Receive the target identifier hand-drawn and input by the first user on the first client and shared by the first client corresponding to the first user; wherein, the target identifier is used to trigger the server to allocate an electronic voucher to the user who receives the target identifier; In response to the second user's operation of receiving the target identifier, output the AR live scene of the environment where the second user is located to the second user, and fuse the target identifier in the AR live scene for enhanced display, and Obtain the electronic voucher allocated by the server to the second user; wherein, the electronic voucher is used to obtain the receiving permission of the virtual resources in the preset virtual resource set.

12. The method according to claim 11, characterized in that, The target identifier shared by the first client includes a 3D model corresponding to the target identifier; Fusing the target identifier in the AR live scene for enhanced display includes: Fusing the 3D model in the AR live scene for enhanced display.

13. The method according to claim 12, characterized in that, The target identifier shared by the first client includes a 3D model corresponding to the target identifier and a video corresponding to the hand-drawing process of the target identifier; Fusing the target identifier in the AR live scene for enhanced display includes: Play a video corresponding to the hand-drawing process of the target identifier in the AR live scene, and after the video is played, fuse the 3D model corresponding to the target identifier in the AR live scene for enhanced display.

14. The method according to claim 12, characterized in that, The fusing the 3D model in the AR live scene for enhanced display includes: Display a preset dynamic display effect for the 3D model.

15. The method according to claim 11, characterized in that, The target identifier is hand-drawn on the AR live scene of the environment where the first user is located output by the first user on the first client. The first client is used to fuse the target identifier in the AR live scene of the environment where the first user is located for enhanced display when it is recognized that the target identifier hand-drawn and input by the first user is a preset identifier.

16. The method according to claim 11, characterized in that, The identifier includes characters.

17. The method according to claim 16, characterized in that, The virtual resource includes a virtual red envelope; the character includes the Chinese character "Fu".

18. An interactive device based on electronic vouchers, characterized in that, Applied to a first client corresponding to a first user, the device includes: An output module, in response to an interaction operation initiated by the first user, output the AR live scene of the environment where the first user is located to the first user; The fusion module acquires the target identifier hand-drawn by the first user and identifies whether the target identifier is a preset identifier. If the target identifier is a preset identifier, the target identifier is fused into the AR real-world scene for enhanced display. The target identifier is used to trigger the server to allocate an electronic voucher to the user who receives the target identifier. The electronic voucher is used to obtain the right to receive virtual resources in a preset set of virtual resources.

19. An interactive device based on electronic vouchers, characterized in that, The device, applied to a second client corresponding to a second user, includes: The receiving module receives a target identifier that is hand-drawn and input by the first user on the first client, which is shared by the first client corresponding to the first user; wherein, the target identifier is used to trigger the server to allocate an electronic credential to the user who receives the target identifier; The claiming module, in response to the claiming operation initiated by the second user for the target identifier, outputs an AR real-world image of the second user's environment to the second user, and integrates the target identifier into the AR real-world image for enhanced display, and... Obtain the electronic credential assigned to the second user by the server; wherein the electronic credential is used to obtain the right to claim virtual resources in a preset set of virtual resources.

20. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor implements the interactive method based on electronic credentials as described in any one of claims 1-17 by running the executable instructions.

21. A computer-readable storage medium, characterized in that, The storage medium stores a computer program for causing a processor to execute the interactive method based on electronic credentials as described in any one of claims 1-17.