Electronic voucher based interaction method, apparatus, storage medium and device
By using AR technology to output a real-world view of the user's environment, users can draw, input, and share target identifiers to obtain electronic credentials. This solves the problem of insufficient interactivity in virtual resource allocation methods and enhances user participation and interactive experience.
Patent Information
- Application Number
- CN202210044526.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-14
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2042-01-14
AI Technical Summary
Existing virtual resource allocation methods are insufficient in terms of interactivity, which affects user experience.
By using AR technology to output a real-world view of the user's environment, users can hand-draw and input target icons and identify whether they are preset icons. The icons are then integrated into the AR screen for enhanced display and shared to other users' clients to obtain electronic credentials, thereby enabling the user to claim virtual resources.
It enhances users' sense of participation and interactivity when transmitting electronic vouchers, and strengthens the interactive experience between users.
Smart Images

Figure CN114442873B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to an interaction method and device based on electronic voucher, a storage medium and equipment. BACKGROUND
[0002] With the development of network technology, various allocation modes of virtual resources have appeared. Taking the allocation of virtual resources in the form of "red envelope" as an example, a user can put electronic greeting cards, gift money, etc. into a "red envelope" and set the taking permission of the "red envelope". The user can send the "red envelope" to another user or to a group, and when the other user or the members in the group obtain the taking permission, the "red envelope" can be taken. However, with the increasing richness of the allocation scene of virtual resources, how to improve the interactivity in the allocation of virtual resources is of great significance to improve the user experience. SUMMARY
[0003] The present application provides an interaction method based on electronic voucher. The method is applied to a first client corresponding to a first user. The method can include: in response to an interaction operation initiated by the first user, outputting an AR real scene picture of an environment where the first user is located to the first user; obtaining a target identifier inputted by the first user by hand drawing, and identifying whether the target identifier is a preset identifier; if the target identifier is a preset identifier, fusing the target identifier in the AR real scene picture for enhanced display; wherein the target identifier is used to trigger a server to allocate an electronic voucher to a user who takes 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 taking operation of the target identifier initiated by the second user, fuses the target identifier in an AR real scene picture of an environment where the second user is located for enhanced display, and obtains an electronic voucher allocated by the server to the second user; wherein the electronic voucher is used to obtain the taking permission of a virtual resource in a preset virtual resource set.
[0004] In some embodiments, in response to an interaction operation initiated by the first user, the AR real scene picture of the environment where the first user is located is outputted to the first user, including: in response to an interaction operation initiated by the first user, outputting an AR-based first interaction interface to the first user, and outputting the AR real scene picture of the environment where the first user is located in the first interaction interface.
[0005] In some embodiments, the first interaction interface supports hand-drawing input; and obtaining the target identifier inputted by the first user by hand drawing includes: obtaining the target identifier inputted by the first user by hand drawing on the first interaction interface.
[0006] In some embodiments, the first client includes, in a user interface provided for the first user, a first user option for entering the first interactive interface; and in response to an interactive operation initiated by the first user, the first client outputs, to the first user, the AR-based first interactive interface, including: in response to a triggering operation initiated by the first user for the first user option, the first client outputs, to the first user, the AR-based first interactive interface.
[0007] In some embodiments, before the fusing the target identification in the AR real scene picture for augmented display, the method further includes: performing three-dimensional modeling on the target identification to obtain a three-dimensional model corresponding to the target identification; and the fusing the target identification in the AR real scene picture for augmented display includes: fusing the three-dimensional model in the AR real scene picture for augmented display; and the sharing the target identification to a second client corresponding to a second user specified by the first user includes: sharing the three-dimensional model corresponding to the target identification to the second client corresponding to the second user specified by the first user.
[0008] In some embodiments, the method further includes: during the hand-drawing inputting of the target identification by the first user, recording a hand-drawing process of the target identification to obtain a video corresponding to the hand-drawing process of the target identification; and the sharing the three-dimensional model corresponding to the target identification to the second client corresponding to the second user specified by the first user includes: sharing the three-dimensional model corresponding to the target identification and the video corresponding to the hand-drawing process of the target identification to the second client corresponding to the second user specified by the first user.
[0009] In some embodiments, the fusing the three-dimensional model in the AR real scene picture for augmented display includes: presenting a preset dynamic presentation effect for the three-dimensional model.
[0010] In some embodiments, the first interactive interface includes a second user option for performing three-dimensional modeling on the target identification; and the performing three-dimensional modeling on the target identification to obtain a three-dimensional model corresponding to the target identification includes: in response to a triggering operation initiated by the first user for the second user option, performing three-dimensional modeling on the target identification to obtain a three-dimensional model corresponding to the target identification.
[0011] In some embodiments, the method further comprises: in response to the first user initiating a triggering operation on the second user option, sending an electronic voucher allocation request corresponding to the first user to a server, so that the server allocates an electronic voucher to the first user in response to the electronic voucher allocation request; obtaining the electronic voucher allocated to the first user by the server, and outputting and displaying the obtained electronic voucher to the first user through the first interactive interface.
[0012] In some embodiments, when the number of categories of the electronic vouchers obtained by the first user reaches a preset threshold, the first user obtains the right to obtain a virtual resource in the preset virtual resource set.
[0013] In some embodiments, the method further comprises: in response to a user initiating a triggering operation on the second user option, outputting at least one interaction option in the first interactive interface; wherein the at least one interaction option includes a sharing option corresponding to the target identifier; in response to the first user initiating a sharing operation, sharing the target identifier to a second client corresponding to a second user specified by the first user, comprising: in response to the first user initiating a triggering operation on the sharing option, sharing the target identifier to a second client corresponding to a second user specified by the first user.
[0014] In some embodiments, the at least one interaction option further includes a recording option corresponding to the target identifier; the method further comprises: in response to the first user initiating a triggering operation on the recording option, recording a video for the AR real scene picture; and in response to the first user initiating a saving operation, saving the recorded video locally.
[0015] In some embodiments, after the three-dimensional model is fused in the AR real scene picture for enhanced display, the method further comprises: during the process of fusing the target identifier in the AR real scene picture for enhanced display, tracking the motion of a user terminal where the first client is located; and based on the result of the motion tracking, synchronously updating the display effect of the three-dimensional model target identifier displayed in the AR real scene picture for enhanced display.
[0016] In some embodiments, the identifier includes a character.
[0017] In some embodiments, the virtual resource includes a virtual red packet; and the character includes a Chinese character "fu".
[0018] The application also provides an electronic voucher-based interaction method. The method can be applied to a second client corresponding to a second user. The method can include: receiving a target mark shared by a first client corresponding to a first user, the target mark being input by the first user on the first client; wherein the target mark is used to trigger a server to assign an electronic voucher to a user who collects the target mark; in response to a collection operation initiated by the second user for the target mark, outputting an AR real scene picture of an environment where the second user is located, and fusing the target mark in the AR real scene picture for enhanced display, and obtaining an electronic voucher assigned by the server to the second user; wherein the electronic voucher is used to obtain a collection right of a virtual resource in a preset virtual resource set.
[0019] In some embodiments, in response to the collection operation initiated by the second user for the target mark, the AR real scene picture of the environment where the second user is located is output to the second user, including: in response to the collection operation initiated by the second user for the target mark, outputting an AR-based second interaction interface to the second user, and outputting the AR real scene picture of the environment where the second user is located in the second interaction interface.
[0020] In some embodiments, when the number of categories of the electronic voucher obtained by the second user reaches a preset threshold, the second user obtains the collection right of the virtual resource in the preset virtual resource set.
[0021] In some embodiments, the target mark shared by the first client includes a three-dimensional model corresponding to the target mark; and the target mark is fused in the AR real scene picture for enhanced display, including: the three-dimensional model is fused in the AR real scene picture for enhanced display.
[0022] In some embodiments, the target mark shared by the first client includes a three-dimensional model corresponding to the target mark and a video corresponding to a hand-drawing process of the target mark; and the target mark is fused in the AR real scene picture for enhanced display, including: playing the video corresponding to the hand-drawing process of the target mark in the AR real scene picture, and after the video is played, the three-dimensional model corresponding to the target mark is fused in the AR real scene picture for enhanced display.
[0023] In some embodiments, the three-dimensional model is fused in the AR real scene picture for enhanced display, including:
[0024] A dynamic display effect preset for the three-dimensional model is displayed.
[0025] In some embodiments, the method further comprises: in response to the second user initiating a collection operation for the target mark, sending a collection request corresponding to the target mark to a server, so that the server allocates an electronic voucher to the second user in response to the collection request; and obtaining the electronic voucher allocated to the second user by the server, including: obtaining the electronic voucher allocated to the second user by the server in response to the collection request, and outputting and displaying the obtained electronic voucher to the second user through the second interactive interface.
[0026] In some embodiments, the mark includes characters.
[0027] In some embodiments, the virtual resource includes a virtual red envelope, and the characters include a Chinese character "fu".
[0028] The application also provides an interactive device based on an electronic voucher, applied to a first client corresponding to a first user, the device comprising: an output module, configured to output an AR real scene picture of an environment where the first user is located to the first user in response to an interactive operation initiated by the first user; a fusion module, configured to obtain a target mark inputted by the first user by hand drawing, and identify whether the target mark is a preset mark; if the target mark is the preset mark, the target mark is fused in the AR real scene picture for enhanced display; wherein the target mark is used to trigger a server to allocate an electronic voucher to a user who collects the target mark; and a sharing module, configured to share the target mark to a second client corresponding to a second user designated by the first user in response to a sharing operation initiated by the first user, so that the second client, in response to a collection operation initiated by the second user for the target mark, fuses the target mark in an AR real scene picture of an environment where the second user is located for enhanced display, and obtains an electronic voucher allocated to the second user by the server; wherein the electronic voucher is used to obtain a collection right of a virtual resource in a preset virtual resource set.
[0029] The application also provides an interactive device based on an electronic voucher, applied to a second client corresponding to a second user, the device comprising: a receiving module, configured to receive a target mark shared by a first client corresponding to a first user, the target mark being inputted by the first user on the first client by hand drawing; wherein the target mark is used to trigger a server to allocate an electronic voucher to a user who collects the target mark; and a collection module, configured to output an AR real scene picture of an environment where the second user is located to the second user in response to a collection operation initiated by the second user for the target mark, fuse the target mark in the AR real scene picture for enhanced display, and obtain an electronic voucher allocated to the second user by the server; wherein the electronic voucher is used to obtain a collection right of a virtual resource in a preset virtual resource set.
[0030] The application also provides an electronic device, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor implements the method for interaction based on electronic vouchers as shown in any of the preceding embodiments by running the executable instructions.
[0031] The application also provides a computer-readable storage medium, which stores a computer program for causing a processor to execute the method for interaction based on electronic vouchers as shown in any of the preceding embodiments.
[0032] In the foregoing solution, first, the first client can output an AR real scene picture of an environment where the first user is located to the first user in response to an interaction operation initiated by the first user, and can acquire a target identifier input by the first user by hand, and in a case where the target identifier is a preset identifier, the target identifier is fused in the AR real scene picture for enhanced display, so that the first user can draw and share the target identifier in the AR real scene picture corresponding to the environment where the first user is located according to the first user's preference, and the first user can convey more emotions when conveying electronic vouchers to other users, so as to improve the participation of users and the enthusiasm of users in conveying electronic vouchers, and enhance the interactivity when conveying electronic vouchers between users.
[0033] Second, the second client can fuse the target identifier shared by the first user in an AR real scene picture of an environment where the second user is located for enhanced display in response to a collection operation initiated by the second user for the target identifier, and acquire an electronic voucher assigned to the second user by the server, so that the second user can view the target identifier input by the first user by hand and enhanced by AR technology in the AR real scene picture corresponding to the environment where the second user is located, and collect the electronic voucher conveyed by the first user to the second user, so as to improve the participation of the user when acquiring electronic vouchers conveyed by other users and the user experience, and enhance the interactivity when conveying electronic vouchers between users. BRIEF DESCRIPTION OF DRAWINGS
[0034] Figure 1 A method flowchart of a method for interaction based on electronic vouchers according to an embodiment of the application is shown in the following;
[0035] Figure 2 A schematic diagram of a blessing card display interface according to an embodiment of the application is shown in the following;
[0036] Figure 3 A schematic diagram of an interaction activity entry display interface according to an embodiment of the application is shown in the following;
[0037] Figure 4A schematic diagram of an AR write blessing interaction interface shown in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of an AR write blessing interaction interface shown in an embodiment of the present application;
[0039] Figure 6 A schematic diagram of a detail interface shown in an embodiment of the present application;
[0040] Figure 7 A schematic diagram of an AR write blessing interaction interface shown in an embodiment of the present application;
[0041] Figure 8 A schematic diagram of a sharing interface shown in an embodiment of the present application;
[0042] Figure 9 A schematic diagram of a receiving interface shown in an embodiment of the present application;
[0043] Figure 10 A schematic diagram of a second interaction interface shown in an embodiment of the present application;
[0044] Figure 11 A schematic diagram of a structure of an interaction device based on electronic vouchers shown in an embodiment of the present application;
[0045] Figure 12 A schematic diagram of a hardware structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION
[0046] In some allocation scenarios of virtual resources, a user can collect electronic vouchers of multiple categories. The electronic vouchers are used to obtain a receiving right of a virtual resource in a preset virtual resource set. When the number of categories of the electronic vouchers collected by the user reaches a preset threshold, an allocation right of the virtual resource in the preset virtual resource set is obtained.
[0047] The virtual resource can include any type of virtual item that can be allocated and distributed online. For example, the virtual resource can be a “virtual red packet” in a red packet distribution scenario.
[0048] The preset virtual resource set can specifically refer to a set of virtual resources. The set of virtual resources can be stored in a server. For example, in a red packet distribution scenario, the set of virtual resources can be a “red packet fund pool”.
[0049] The electronic voucher refers to a voucher of a user when extracting a virtual resource from a server. In actual application, a certain number of electronic vouchers of different categories can be pre-configured on the server, and different categories of electronic vouchers can be distributed to specific user groups according to certain distribution rules. The specific form of the electronic voucher is not limited, which can be a string, a number, a character, a password, a virtual card, and the like.
[0050] When the number of categories of electronic vouchers accumulated by the user reaches a preset threshold, the user can obtain the taking permission of a virtual resource in a preset virtual resource set to further complete the taking of the virtual resource. The preset threshold can be any value preset according to the demand.
[0051] For example, taking a virtual red packet as the virtual resource, in a red packet distribution scene of "five blessings and big prize" shown, the electronic voucher can include five categories of virtual blessing cards, i.e., "longevity blessing", "friendship blessing", "prosperity blessing", "family harmony blessing", and "wealth blessing". The user can collect blessing cards through various ways, and after collecting the five categories of virtual blessing cards, the user will correspondingly obtain the permission of taking the red packet, and the server will distribute the red packet to the user.
[0052] In this application, on the basis of the virtual resource distribution scene shown above, an interactive method based on an electronic voucher is proposed.
[0053] On the one hand, the method can be applied to a first client corresponding to a first user. In the method, the first client can output an AR real scene picture of an environment where the first user is located in response to an interactive operation initiated by the first user, obtain a target identifier input by the first user by hand drawing, and identify whether the target identifier is a preset identifier. If the target identifier is the preset identifier, the target identifier is fused in the AR real scene picture for enhanced display. The target identifier is used to trigger the server to allocate an electronic voucher to a user who takes the target identifier. 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 taking operation of the target identifier initiated by the second user, fuses the target identifier in an AR real scene picture of an environment where the second user is located for enhanced display, and obtains an electronic voucher allocated by the server to the second user. The electronic voucher is used to obtain the taking permission of a virtual resource in a preset virtual resource set.
[0054] In another aspect, the method can be applied to a second client corresponding to a second user. In the method, the second client can receive a target mark shared by a first client corresponding to a first user and inputted by the first user on the first client by hand drawing; wherein the target mark is used to trigger a server to allocate an electronic voucher to a user who collects the target mark; in response to a collection operation initiated by the second user for the target mark, an AR real scene picture of an environment where the second user is located is outputted to the second user, and the target mark is fused in the AR real scene picture for enhanced display; and an electronic voucher allocated by the server to the second user is obtained; wherein the electronic voucher is used to obtain a collection right of a virtual resource in a preset virtual resource set.
[0055] In the foregoing scheme, first, the first client can output an AR real scene picture of an environment where the first user is located to the first user in response to an interaction operation initiated by the first user, and can obtain a target mark inputted by the first user by hand drawing, and in a case where the target mark is a preset mark, the target mark is fused in the AR real scene picture for enhanced display, so that the first user can draw and share a target mark according to his / her own preference in an AR real scene picture corresponding to the environment where the first user is located, and the first user can integrate more emotions when delivering an electronic voucher to other users, so as to improve the participation of the user and the enthusiasm of the user in delivering an electronic voucher, and enhance the interactivity when delivering an electronic voucher between users.
[0056] Second, the second client can fuse the target mark shared by the first user in an AR real scene picture of an environment where the second user is located for enhanced display in response to a collection operation initiated by the second user for the target mark, and obtain an electronic voucher allocated by the server to the second user, so that the second user can view the target mark inputted by the first user by hand drawing and enhanced by AR technology in an AR real scene picture corresponding to the environment where the second user is located, and collect the electronic voucher delivered by the first user to the second user, so as to improve the participation of the user and the user experience when the user collects the electronic voucher delivered by other users, and enhance the interactivity when delivering an electronic voucher between users.
[0057] In order for those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in the following with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the present application.
[0058] Please refer toFigure 1 , Figure 1 A method flowchart of an interaction method based on electronic vouchers is provided for an embodiment of the present application.
[0059] Figure 1 The interaction method shown can be applied to a first client corresponding to a first user. The first client can be loaded in a first client device. The type of the first client device can be a notebook computer, a computer, a server, a mobile phone, a personal digital assistant (PDA), etc. The type of the first client device is not particularly limited in the present application.
[0060] As shown in Figure 1 , the method can include S102-S106. The execution order of these steps is not limited in the present application unless particularly specified.
[0061] S102, in response to an interaction operation initiated by a first user, outputting an AR real scene picture of an environment in which the first user is located to the first user.
[0062] The user referred to in the present application can refer to a virtual resource extractor. The user can extract electronic vouchers through a client. In some embodiments, when the number of categories of electronic vouchers obtained by the first user reaches a preset threshold, the first user obtains the collection permission of virtual resources in a preset virtual resource set.
[0063] The preset threshold can be set according to requirements. For example, the preset threshold is 5. After the user logs in to the client using a registered account, the user can interact with a corresponding server through the client to obtain electronic vouchers. When the first user obtains 5 categories of electronic vouchers, the first user can obtain the collection permission of virtual resources in the preset virtual resource set.
[0064] The user who draws the target identifier is referred to as the first user, and the user who receives the target identifier is referred to as the second user in the present application. In actual applications, the role of the user can be switched between the first user and the second user. For example, user A is the first user when drawing the target identifier, and is the second user when receiving the target identifier drawn by other users. The client corresponding to the first user is referred to as the first client, and the client corresponding to the second user is referred to as the second client.
[0065] The interaction referred to in the present application refers to the interaction between the user and the client. The interaction can include drawing a target identifier, decorating a target identifier, sharing a target identifier, etc.
[0066] In some embodiments, the first client can provide the first user with an interaction option to start the interaction referred to in the present application. The first user can initiate the interaction operation by triggering the interaction option.
[0067] After detecting the interaction operation, the first client can invoke the camera component of the first client device to start the image acquisition function for acquiring an augmented reality (AR) real scene picture of the environment where the first user is located.
[0068] The AR real scene is a technology that fuses virtual content and real scenes in real time to form an interaction between virtual and real scenes. The virtual content can be understood as a virtual interface, virtual props, and target identification drawn by the user, etc. developed by the R&D personnel for the interaction. The real scene is the real scene where the first user is located after starting the interaction operation.
[0069] The AR real scene picture refers to the picture output after fusing the virtual content and the real scene in real time. The picture can change in real time with the change of the scene to restore the most real one.
[0070] The first user can draw a target identification based on the AR real scene picture, and the AR real scene picture can show the process of drawing the target identification by the user.
[0071] S104, obtaining the target identification drawn by the first user, and identifying whether the target identification is a preset identification; if the target identification is a preset identification, fusing the target identification in the AR real scene picture for enhanced display.
[0072] The first user can complete the hand-drawing input by interacting with the first client to obtain the target identification. In some embodiments, the first user can perform a hand-drawing operation on the hand-drawing area (such as a display screen) provided by the first client device, and the first client can generate the target identification corresponding to the hand-drawing operation and display it to the user through the screen.
[0073] The target identification is used to trigger the server to allocate an electronic voucher to the user who collects the target identification. In some embodiments, the first user can share the drawn target identification, and when any user collects the target identification, the server can allocate an electronic voucher to the user in response to the collection operation.
[0074] The preset identification can be set according to business needs. In some embodiments, the preset identification can be a graph, a character, etc. In some embodiments, the preset identification can be a preset Chinese character. For example, the identification can be the Chinese character "Fu".
[0075] In S104, after the first client detects the target mark drawn by the first user, the target mark can be compared with the stored preset mark to identify whether the target mark is the preset mark.
[0076] Taking the preset mark as a preset Chinese character as an example, the Chinese character corresponding to the target mark can be detected by OCR, and it is identified whether the Chinese character is the preset Chinese character. In the case that the Chinese character is the preset Chinese character, it is determined that the target mark is the preset mark. If the Chinese character is not the preset Chinese character, the target mark is not the preset mark.
[0077] It can be understood that the identification operation can be completed independently by the first client or by interaction between the first client and the server.
[0078] In S104, if the target mark is the preset mark, the target mark can be fused in the AR real scene picture for enhanced display.
[0079] In some embodiments, the target mark can be a three-dimensional model. Specifically, a three-dimensional model corresponding to the target mark is obtained by three-dimensional modeling of the target mark. Then the three-dimensional model can be rendered into the AR real scene picture. Thus, the augmented reality effect can be improved, and the participation enthusiasm of the first user can be further improved.
[0080] In some embodiments, in order to improve the augmented reality effect, the user terminal where the first client is located can be tracked during the process of fusing the target mark in the AR real scene picture for enhanced display. Then, based on the result of the motion tracking, the display effect of the target mark in the AR real scene picture for enhanced display is updated synchronously.
[0081] The motion tracking refers to a process of determining the posture of the user terminal. The user terminal is the first client device. In some ways, the posture determination hardware (such as a gyroscope) carried by the user terminal can be used to determine the change of the posture of the user terminal. Then, according to the determined change of the posture of the terminal, the posture of the target mark can be adjusted in real time, so that the user can observe the target mark from different directions by adjusting the posture of the terminal, thereby improving the augmented reality effect and further improving the participation enthusiasm of the first user.
[0082] For example, if the gyroscope determines that the user terminal is rotated 90 degrees to the right, the target mark in the AR real scene picture can be rotated 90 degrees to the right, so that the user can observe the target mark from the left position of the target mark. For another example, if the gyroscope determines that the user terminal is rotated 90 degrees downward, the target mark in the AR real scene picture can be rotated 90 degrees downward, so that the user can observe the target mark from the upper position of the target mark.
[0083] After the augmented display of the target mark in the AR real scene picture is completed, the first user can operate the first client to complete a sharing operation of the target mark.
[0084] In some modes, the first client can provide a sharing interface to the first user. The sharing interface can include a plurality of sharing channels. The first user can select any one of the sharing channels, and select a second user to share the target mark from a plurality of users provided by the sharing channel, to complete a sharing operation in the sharing interface.
[0085] S106, in response to the sharing operation initiated by the first user, share the target mark to a second client corresponding to a second user specified by the first user, so that the second client, in response to a collection operation initiated by the second user for the target mark, fuses the target mark in an AR real scene picture of an environment where the second user is located for augmented display, and obtains an electronic voucher assigned to the second user by a server.
[0086] The second user is a user to be received the target mark. In response to the sharing operation initiated by the first user, the first client can send a user identifier (for example, a user account) corresponding to the second user and the target mark to the server. The server can generate a sharing message based on the target mark and send the sharing message to the second client corresponding to the user identifier.
[0087] In some modes, the sharing message can be a two-dimensional code, a password, a collection link, etc. The server can store the target mark, and generate a two-dimensional code or a password or a collection link based on a storage address of the target mark. After the two-dimensional code, the password or the collection link is generated, the server can send the two-dimensional code, the password or the collection link to the second client.
[0088] The second client can show the message to the second user, and the second user can perform a collection operation by triggering the message. The second client can output an AR scene picture of an environment where the second user is located in response to a collection operation initiated by the second user for the target identifier, and fuse and display the target identifier in the AR scene picture for augmented display, and obtain an electronic voucher assigned to the second user by a server.
[0089] Through the solutions described in S102-S106, on the one hand, the first user draws and shares the target identifier in the AR scene picture corresponding to the environment where the first user is located according to the first user's preferences, so that the first user can convey more emotions when conveying the electronic voucher to other users, thereby improving the user's participation and enthusiasm for conveying the electronic voucher, and enhancing the interactivity between users when conveying the electronic voucher.
[0090] On the other hand, the second user can view the target identifier drawn and input by the first user in the AR scene picture corresponding to the environment where the second user is located, and collect the electronic voucher conveyed by the first user to the second user, thereby improving the user's participation and user experience when collecting the electronic voucher conveyed by other users, and enhancing the interactivity between users when conveying the electronic voucher.
[0091] The following takes the virtual resource as "virtual red packet" and the preset identifier as Chinese characters as an example to describe the technical solutions of the present application in detail. It should be emphasized that taking the virtual resource as "virtual red packet" is only an example. In actual application, the virtual resource can also be other virtual items that can be distributed and sent online, such as electronic shopping coupons, electronic coupons, electronic points, etc.
[0092] In the present application, a certain number of electronic vouchers of different categories can be pre-configured on the server, and the pre-configured electronic vouchers can be centrally managed by the server.
[0093] Among them, the pre-configured electronic voucher is the only voucher for the user to obtain the red packet distribution authority. The number and category of the pre-configured electronic voucher can be set based on actual needs.
[0094] The user can collect electronic vouchers through the client, and obtain the distribution authority of the red packet when the number of categories of the collected electronic vouchers reaches a preset threshold. Among them, the category number refers to the number of types of electronic vouchers collected by the user, and the specific value of the preset threshold is not limited in the present application and can be determined according to actual needs in actual application.
[0095] In the present application, the user can collect electronic vouchers through the client in various ways.
[0096] For example, in one of the illustrated collection ways, the user can collect electronic vouchers actively issued by the server when the user meets the issuing conditions through the client, or can collect electronic vouchers gifted by other users with social relationships.
[0097] In another way, the client can be an AR (Augmented Reality) client, and the user can trigger the server to issue electronic vouchers to the user by performing image scanning on a specific offline target through the AR client.
[0098] For example, the user can trigger the server to issue electronic vouchers to the user by performing image scanning on a preset graphical identifier deployed offline through the AR client, or can trigger the server to issue electronic vouchers to the user by performing image scanning on the face of an arbitrary or specific task through the AR client.
[0099] In actual applications, in addition to the above-described collection ways, the user can also interact with other users with social relationships to obtain electronic vouchers held by the other users.
[0100] In some embodiments, in addition to issuing electronic vouchers to the user, the server can also issue some virtual props to the user, and the user can use the virtual props to "seize" electronic vouchers held by other users.
[0101] For example, in implementation, the virtual props can be special electronic vouchers, and after "using" the special electronic vouchers, the user can select a specific user from other users with social relationships and randomly draw an electronic voucher from the electronic vouchers held by the specific user to take possession of it.
[0102] In the example, AR hand-drawing can also be performed to draw and share target identifiers.
[0103] In the example, the user who draws the target identifier is referred to as a first user, the user who receives the target identifier is referred to as a second user, the client corresponding to the first user is referred to as a first client, and the client corresponding to the second user is referred to as a second client.
[0104] The first client provides multiple entrances to interactive interfaces. The first user can perform an interactive operation on the entrance to the AR hand-drawing interactive interface. The first client can output an AR-based first interactive interface to the first user in response to the interactive operation initiated by the first user.
[0105] In some embodiments, the first user interface provided by the first client to the first user can include a first user option for entering a first interactive interface. The first client outputs an AR-based first interactive interface to the first user in response to a triggering operation of the first user on the first user option. The application does not particularly limit the style of the first user and the position in the interface.
[0106] For example, the first user option can be an "open AR hand-drawing" option. The user can trigger the option. The first client can provide the first user with the first interactive interface after detecting that the user triggers the option.
[0107] The first user can complete the drawing and sharing of the target identifier through the first interactive interface. For example, the first interactive interface can provide a display area for drawing the target identifier, various brushes, various decorative props, a hand-drawing area, a sharing option, and the like. The user can complete the drawing and sharing of the target identifier through these tools provided by the first interactive interface.
[0108] In some embodiments, the first client can provide an operation description of AR hand-drawing when the first interactive interface is first output to the first user, so as to facilitate the first user to understand how to draw and share the target identifier.
[0109] In some embodiments, the first client can output an AR real scene picture of the environment where the first user is located in the first interactive interface. Thus, the first user can be presented with the real environment, the interest is improved, and the participation enthusiasm of the first user is improved.
[0110] In some embodiments, the first interactive interface can support hand-drawing input. The first user can input the target identifier through hand-drawing on the first interactive interface to complete the drawing.
[0111] In some embodiments, the hand-drawing area supporting hand-drawing input in the first interactive interface has the same range as the display area displaying the AR real scene picture. The hand-drawing area is transparent. During the process of the first user drawing the target identifier in the hand-drawing area, the first interactive interface can still normally display the AR real scene picture through the display area. Thus, the interest of the user in hand-drawing is improved.
[0112] In some embodiments, the first interactive interface can provide various brushes. In response to a selection operation of the first user on any brush, the first interactive interface generates a stroke for the trace of the user sliding in the first interactive interface based on the stroke effect corresponding to the brush, so as to obtain the target identifier.
[0113] In some embodiments, the first interactive interface can include a plurality of font options. For example, the first interactive interface can include preset font options such as free creation, Song, Kai, and Yuan. Optionally, the font options corresponding to each font can display a sample of a preset identification drawn in the font.
[0114] In some modes, the first user can select various font options to complete the drawing of the target identification. For example, when the first user selects the free creation font option, the first user can draw the target identification according to his or her own drawing habits without being restricted by the font. This can increase the user's experience and improve the user's willingness to draw the identification.
[0115] For another example, when the user selects the Song option, the first client can render the target identification drawn by the first user to obtain a target identification in Song format. This can assist the user in drawing and improve the convenience of the user in drawing the identification.
[0116] In some embodiments, the first client can generate a track corresponding to the thickness of the first user's pressing force on the terminal screen and / or the contact area with the terminal screen during the hand-drawing input process and display it to the first user in the first interactive interface, so as to facilitate the user to draw a more personalized identification, increase the user's interest, and improve the user's experience.
[0117] In some embodiments, the first client can save the identifications drawn by the first user under different font options. In this way, the first user can compare the identifications drawn under different fonts to select the target identification that he or she is most satisfied with.
[0118] In some embodiments, the first interactive interface can also include a rewrite and / or undo option. When the first user is not satisfied with the currently drawn identification, he or she can trigger the rewrite option by clicking or other operations to redraw the identification, or trigger the undo option to undo the last step of drawing. This can facilitate the drawing of a satisfactory identification and improve the user's experience.
[0119] In some embodiments, the first client can store a preset identification, and after the first user completes the drawing of the target identification, the preset identification can be used to verify the target identification. The target identification drawn by the first user can be detected by an OCR model to obtain a first Chinese character represented by the initial identification. If the first Chinese character is the same as a second Chinese character represented by the preset identification, it is determined that the target identification is the preset identification; otherwise, it is determined that the target identification is not the preset identification.
[0120] In some embodiments, if it is determined that the target identity is the preset identity, the first client can further provide a decoration tool to the first user through the display interface, for decorating the target identity.
[0121] In some ways, the first interactive interface further includes a plurality of decoration options corresponding to the target identity. The first user can trigger an operation on each decoration option provided by clicking, touching, or the like. The first client executes a decoration function corresponding to the decoration option in response to the triggering operation of the first user on any decoration option in the plurality of decoration options, and decorates the target identity.
[0122] In some embodiments, the decoration options include a combination of one or more of the following:
[0123] a decoration option of modifying a font;
[0124] a decoration option of adding a decoration component to the target identity;
[0125] a decoration option of adding a digital signature of the user to the target identity.
[0126] The decoration option of modifying the font can include a plurality of font options in the drop-down option corresponding thereto.
[0127] When the first user finishes drawing the target identity, the font of the identity can be changed by selecting any font option under the decoration option. Thus, the user can be facilitated to select the font.
[0128] The decoration option of adding a decoration component to the target identity can include a plurality of types of decoration sub-options. Optionally, the types can include a popular type, a type representing a certain custom, a type representing a blessing meaning, and the like. The popular type can include a plurality of decoration sub-options that are selected by the user a plurality of times within a certain period of time. Optionally, the display position in the interactive interface corresponding to the decoration sub-option can display an image element corresponding to each decoration sub-option. Thus, the user can be facilitated to intuitively select a satisfactory image element.
[0129] When the first user finishes identifying the drawing, the first client can display the target identification on the first interactive interface. When the first user triggers any decoration sub-option, the first client can add the image element corresponding to the sub-option to the first interactive interface. Optionally, the corresponding client can provide the user with operation options such as mirroring, deleting, zooming in, rotating, etc. of the image element, and the user can complete the relevant processing of the image element by triggering the operation options. The first user can drag the image element to move it to a suitable position. In this way, the user can obtain a satisfactory image element, draw a more personalized identification, and thus increase the user's interest and improve the user's experience.
[0130] The decoration option of adding the user's digital signature to the target identification can include a character input box. Optionally, after the first user triggers the decoration 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 by clicking or the like. Optionally, an input interface for the first user to input characters can be popped up. The first user can input the characters in the input interface. Optionally, to avoid the first user inputting too many characters and affecting the drawn identification, the number of characters that the first user can input can be limited. Optionally, the first user can add a new character input box on the first interactive interface by long-pressing the screen or the like.
[0131] In some embodiments, when the first user decorates the target identification, the number of decoration elements added by the first user can be detected in real time. The decoration elements can include image elements and character input boxes. When the number of decoration elements added by the first user reaches a preset number, the first user can be reminded of decoration excessiveness, so as to stop the user from decorating or replacing the existing decoration elements. In this way, the first user can be prevented from affecting the aesthetic degree of the drawn identification due to adding too many decoration elements.
[0132] When the first user finishes drawing the identification (including decoration of the identification), the first interactive interface can display the target identification drawn by the user through the first interactive interface.
[0133] In some embodiments, before displaying the target identification, the target identification drawn by the first user can be detected for illegal content, and the target identification can be displayed after passing the detection for illegal content.
[0134] In some ways, whether the ratio of the size of the target identification drawn by the first user by hand to the size of the hand-drawing area provided by the first interactive interface reaches a preset ratio can be identified; if yes, the target identification is further output to the first user; if no, the content in the hand-drawing area is cleared, and the first user is prompted to draw by hand again.
[0135] By determining the ratio of the size of the first user input identified target and the size of the hand-drawing area, and outputting the target identification when the ratio reaches a preset ratio, it can be avoided to output a smaller font size identification, and currently a smaller font size identification is usually used to spread illegal content, thereby completing illegal character detection.
[0136] In some ways, it can be identified whether the first user inputs illegal identification in the hand-drawing area; if yes, the content in the hand-drawing area is emptied, and the first user is prompted to redraw; if no, the target identification is displayed.
[0137] In some ways, an illegal identification library can be maintained in advance. When detecting illegal identification, each identification input by the user can be identified by a target detection model. Then it is determined whether each identified identification hits the identification in the illegal identification library. If none of the identifications hits, it is determined that the identification drawn by the first user is not illegal identification. Otherwise, it can be determined that the first user draws illegal identification. Thus, it can be avoided to generate illegal identification, and further to avoid the spread of illegal identification.
[0138] In some embodiments, the first interactive interface includes a second user option for three-dimensional modeling of the target identification. The application does not limit the style and position of the second user option.
[0139] In some ways, when the first user completes the identification drawing (including decoration of the identification), the first interactive interface can display the target identification drawn by the user through the first interactive interface. The first interactive interface includes the second user option.
[0140] The user can trigger the second user option by clicking, touching, etc. The first client can perform three-dimensional modeling on the target identification to obtain a three-dimensional model corresponding to the target identification in response to the triggering operation of the first user on the second user option. In some ways, a preset number (experience threshold, for example, 20, 30, etc.) of key points can be selected from the graphics corresponding to the target identification, and the coordinates of the selected key points are mapped from two-dimensional to three-dimensional, thereby obtaining the three-dimensional model.
[0141] After completing the three-dimensional reconstruction, the three-dimensional model can be fused in the AR real scene picture for enhanced display, thereby improving the interest and further improving the user participation enthusiasm.
[0142] In some embodiments, the fusing of the three-dimensional model in the AR real scene picture for enhanced display can include displaying a preset dynamic display effect for the three-dimensional model. In some ways, the dynamic display effect can be preset, and after the three-dimensional model is generated, the preset dynamic display effect can be displayed in the AR real scene picture to improve interest and further improve user participation enthusiasm.
[0143] 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 fusing the target identifier in the AR real scene picture for enhanced display; and then based on the result of the motion tracking, the display effect of the target identifier in the AR real scene picture for enhanced display is updated synchronously.
[0144] The first user can rotate and move the first client device to change the pose of the first client device, and the first client can determine the change of the pose of the user terminal through the pose determination hardware (such as a gyroscope) carried by the user terminal. Then the pose of the target identifier can be adjusted in real time according to the determined change of the terminal pose, so that the user can observe the target identifier from different positions by adjusting the terminal pose, thereby improving the augmented reality effect and further improving the participation enthusiasm of the first user.
[0145] For example, if the user terminal is determined to rotate 90 degrees to the right through the gyroscope, the target identifier in the AR real scene picture can be rotated 90 degrees to the right, so that the user can observe the model from the left position of the target identifier. For another example, if the user terminal is determined to rotate 90 degrees downward through the gyroscope, the target identifier in the AR real scene picture can be rotated 90 degrees downward, so that the user can observe the model from the upper position of the target identifier.
[0146] In some embodiments, the first client can send an electronic voucher allocation request corresponding to the first user to the server in response to the trigger operation of the first user on the second user option, so that the server allocates an electronic voucher to the first user in response to the electronic voucher allocation request. Optionally, the electronic voucher acquisition request includes indication information indicating the identification result that the target identifier is a preset identifier.
[0147] After receiving the acquisition request, the server can perform content verification on the indication information in response to the electronic voucher acquisition request, and allocate an electronic voucher to the first user from a preset electronic voucher set when the verification is passed.
[0148] In some embodiments, the electronic vouchers in the set of electronic vouchers are respectively configured with a distribution probability; wherein the distribution probability represents a probability of the first user obtaining the electronic voucher. The electronic voucher distributed to the first user by the server from the set of electronic vouchers comprises an electronic voucher with the lowest distribution probability in the set of electronic vouchers.
[0149] For example, the server maintains a distribution probability of an electronic voucher obtained by a user through a non-drawing identification manner such as scanning, wherein the first electronic voucher corresponds to the lowest distribution probability. When the first user obtains an electronic voucher through a drawing identification manner, the first electronic voucher can be preferentially returned to the first user, thereby improving the interest of the user in obtaining an electronic voucher through a drawing identification manner, and facilitating the promotion of the drawing identification play.
[0150] In some embodiments, when the server returns the electronic voucher distributed to the first user to the first client, the server can return a type label corresponding to the electronic voucher. After receiving the type label, the first client can generate a detail interface corresponding to the electronic voucher according to the type of the electronic voucher indicated by the type label and the target identification drawn by the first user.
[0151] The detail interface can include a collection option corresponding to the electronic voucher.
[0152] Triggering the collection option can add the electronic voucher returned by the server to the set of electronic vouchers corresponding to the first user.
[0153] If the first user needs the electronic voucher, the collection option can be triggered by clicking or other operations. The first client can switch to a display interface corresponding to the electronic voucher in response to the triggering operation of the first user on the collection option; wherein the display interface includes a plurality of display positions corresponding to electronic vouchers of different categories.
[0154] Then, the client can add the target identification as an icon corresponding to the electronic voucher to a target display position in the display interface corresponding to the category of the electronic voucher for display.
[0155] In some embodiments, it can be determined whether an icon is displayed on the target display position in the display interface corresponding to the category of the electronic voucher. If yes, the displayed icon is replaced with the target identification. If not, the target identification is added to the target display position as an icon corresponding to the electronic voucher for display.
[0156] For example, the electronic voucher returned by the server is a first type of electronic voucher. The display interface includes a plurality of display positions corresponding to the first to Nth types of electronic vouchers. The upper right corner of an icon in each display position displays the number of electronic vouchers of the type. When displaying the electronic voucher returned by the server, it can be determined whether an icon is displayed in a target display position corresponding to the first type of electronic voucher. If yes, the displayed icon is replaced with the target icon. If not, the target icon is added to the target display position as an icon corresponding to the electronic voucher. The number in the upper right corner of the display position can also be increased.
[0157] Thus, the user can be shown the drawn exclusive electronic voucher, thereby improving the user's interest in participating.
[0158] In some embodiments, the first client can also replace the icon of the electronic voucher displayed in other display positions in the display interface except the target display position with the target icon. Thus, the user can be more intuitively shown the drawn icon, thereby improving the user experience.
[0159] In some embodiments, the first user can give other users the electronic voucher corresponding to the display picture added in the display position by touching the display picture. Thus, the electronic voucher can be given.
[0160] In some embodiments, the first client can also determine in the background whether the number of categories of the locally saved electronic vouchers reaches a preset threshold in real time. If the preset threshold is reached, the first user has obtained the distribution permission of the red packet.
[0161] In this case, the first client can send a red packet distribution request (equivalent to the virtual resource distribution request) to the server, and carry a plurality of electronic vouchers in the red packet distribution request.
[0162] In some embodiments, the number and the number of categories of the electronic vouchers carried in the red packet distribution request can both be the preset threshold, so that the server can obtain the electronic vouchers carried in the red packet distribution request after receiving the red packet distribution request, and then perform verification.
[0163] It should be noted that the operation of sending the red packet distribution request to the server by the first client can be triggered manually by the user, or automatically triggered by the first client when it is determined that the number of categories of the collected electronic vouchers reaches the first number.
[0164] For example, in one case, the first client can automatically initiate the red envelope allocation request to the server when it is determined in the background that the collected electronic vouchers reach a first quantity. In another case, a trigger button for triggering the first client to initiate the object allocation request to the server can be provided on the display position corresponding to each electronic voucher. When the first client determines in the background that the collected electronic vouchers reach a preset threshold, a prompt (for example, an animation effect is output to prompt the user) can be output to the first user to prompt the first user that the current has the right to obtain the red envelope allocation. Then, the first client can send the red envelope allocation request to the server in response to the trigger operation of the first user on the trigger button.
[0165] The server can verify the number of categories of electronic vouchers carried in the red envelope allocation request sent by the first client. If the server determines that the number of categories of electronic vouchers carried in the red envelope allocation request reaches a preset threshold after verifying the electronic vouchers carried in the red envelope allocation request, the first user can be granted the right to allocate the red envelope. The server can immediately issue a certain amount of red envelope to the first user from the preset “red envelope fund pool” (equivalent to the preset virtual resource set) based on a preset allocation rule, or issue a certain amount of red envelope to the first user from the preset “red envelope fund pool” based on a preset allocation rule after a specified red envelope issuing time is reached.
[0166] It should be noted that the allocation rule used by the server to issue the red envelope to the first user from the preset “red envelope fund pool” can be formulated based on actual business needs.
[0167] In some ways, the server can count the number of users granted the right to allocate the red envelope, and calculate the average allocation number of the total amount of red envelopes to be issued in the “red envelope fund pool” based on the counted number of users. At this time, the calculated average allocation number is the number of red envelopes to be issued to each user. In this case, the server can issue red envelopes of corresponding amounts to each user from the “red envelope fund pool” based on the calculated average allocation number.
[0168] In some ways, the server can also randomly draw a certain amount of red envelopes from the “red envelope fund pool” for the first user when issuing the red envelope to 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 issued in the “red envelope fund pool”, and then issue red envelopes of corresponding amounts to the first user according to the random number.
[0169] Of course, in addition to the above-mentioned allocation rules, other allocation rules can also be used in actual applications, which will not be listed one by one in this application.
[0170] In some embodiments, in response to a trigger operation of the second user option initiated by the user, at least one interaction option is output in the first interaction interface. The interaction option can include a recording option corresponding to the target mark. The application does not limit the style and position of the recording option.
[0171] The first user can trigger the recording option. The first client can perform video recording on the AR real scene picture in response to the trigger operation of the recording option by the first user, and can also save the recorded video locally in response to a save operation initiated by the first user. In this way, the interest of the interactive operation can be improved, and the participation enthusiasm can be improved.
[0172] For example, in some scenarios, after the target mark drawn by the first user is fused in the AR real scene picture for enhanced display, the first client provides the first user with a recording option through the first interaction interface. The first user can trigger the recording option, and then record a New Year greeting video with the current AR real scene picture (containing the real environment of the user and the drawn target mark) as the video background. After the complete video recording, the first user can trigger a save option and save the recorded video locally on the client device. When there is a sharing demand, the first user can share the New Year greeting video through an interactive platform corresponding to the interactive operation of the application or other platforms. In this way, the interest of the interactive operation can be improved, and the participation enthusiasm can be improved.
[0173] In some embodiments, in response to a trigger operation of the second user option initiated by the user, at least one interaction option is output in the first interaction interface. The interaction option can include a sharing option corresponding to the target mark. The application does not limit the style and position of the sharing option.
[0174] The first user can trigger the sharing option. The first client can share the target mark to a second client corresponding to a second user designated by the first user in response to the trigger operation of the sharing option by the first user.
[0175] In some embodiments, after the target mark drawn by the first user is fused in the AR scene picture for enhanced display, the first client provides a sharing option to the first user through the first interactive interface. The first user can trigger the sharing option. The first client can output a sharing interface corresponding to the target mark in response to the triggering operation of the first user on the sharing option. The sharing interface can include multiple sharing channels. The first user can select any one of the sharing channels and select a second user to share the target mark from a plurality of users provided by the sharing channel to complete the sharing operation in the sharing interface. The first client can send a user identifier (e.g., a user account) corresponding to the second user and the target mark to the server in response to the sharing operation of the first user in the sharing interface. The server can generate a two-dimensional code, a password, or a collection link based on the target mark and send it to the second client corresponding to the user identifier. Thus, the sharing of the target mark drawn by the user can be completed, and the user experience and the interest of the red envelope collection activity can be improved.
[0176] In some embodiments, the target mark is a three-dimensional model. The first client can share the three-dimensional model corresponding to the target mark to the second client corresponding to the second user specified by the first user in response to the sharing operation of the first user.
[0177] In some embodiments, the first client can record the hand-drawing process of the target mark to obtain a video corresponding to the hand-drawing process of the target mark during the process in which the first user draws the target mark by hand. Then, the first client can share the three-dimensional model corresponding to the target mark and the video corresponding to the hand-drawing process of the target mark to the second client corresponding to the second user specified by the first user when the first user shares the target mark with the second user. Thus, the second client can play the video to improve the interest of the interactive operation after the second user collects the target mark.
[0178] In some embodiments, after the second client receives the target mark drawn by the first user on the first client and shared by the first client corresponding to the first user, the second client outputs an AR scene picture of an environment in which the second user is located and fuses the target mark in the AR scene picture for enhanced display in response to a collection operation of the target mark initiated by the second user; and obtains an electronic voucher assigned to the second user by the server.
[0179] In some embodiments, the second client can present a sharing message sent by the first client to the second user, the sharing message including a QR code, a password or a link corresponding to the target identifier. The second user can trigger the sharing message to perform the redemption operation. For example, the sharing message is a QR code, the second user can trigger the sharing message to perform the redemption operation by recognizing (e.g., camera scanning or image recognition) the sharing message through the second client device. For another example, the sharing message is a password, the second user can trigger the sharing message to perform the redemption operation by copying and pasting the password in the second client. For another example, the sharing message is a link, the second user can trigger the sharing message to perform the redemption operation by clicking the link.
[0180] The second client can output an AR-based second interaction interface to the second user in response to the redemption operation initiated by the second user for the target identifier, and output an AR real scene picture of an environment where the second user is located in the second interaction interface. Of course, the target identifier can also be fused in the AR real scene picture for enhanced display.
[0181] In some embodiments, the target identifier can be a three-dimensional model. The three-dimensional model can be fused in the AR real scene picture for enhanced display.
[0182] In some embodiments, the second client can present a preset dynamic effect corresponding to the target identifier to improve the interaction interest. For example, a preset dynamic effect corresponding to the target identifier can be presented in the AR real scene picture in the second interaction interface.
[0183] In some embodiments, the first client also shares a video corresponding to the hand-drawing process of the target identifier, and the second client can also play the video corresponding to the hand-drawing process of the target identifier in the AR real scene picture, and fuse the three-dimensional model corresponding to the target identifier in the AR real scene picture for enhanced display after the video is played.
[0184] In some embodiments, the second client sends a redemption request corresponding to the target identifier to the server in response to the redemption operation initiated by the second user for the target identifier. The server can allocate an electronic voucher to the second user in response to the redemption request. The second client can obtain the electronic voucher allocated to the second user by the server in response to the redemption request, and output and present the obtained electronic voucher to the second user through the second interaction interface. The second user can click a confirmation redemption option included in the output and presented interface to complete the redemption of the electronic voucher. In this way, on the one hand, the user interest can be increased, and on the other hand, the spread of the electronic voucher can be improved.
[0185] In some embodiments, the second client can also determine in real time in the background whether the number of categories of the locally saved electronic vouchers reaches a preset threshold; when the number of categories of the electronic vouchers obtained by the second user reaches the preset threshold, the second user obtains the taking permission of the virtual resources in the preset virtual resource set. The method for the second user to take virtual resources can refer to the related description of the method for the first user to take virtual resources, which will not be described in detail here.
[0186] The technical solutions in the above embodiments are described in detail below in combination with a "Five-Fortune Big Prize" red envelope distribution scenario. In this example, the user who draws the target mark (the character "Fu") is referred to as the first user, the user who receives the target mark is referred to as the second user, the client corresponding to the first user is referred to as the first client, and the client corresponding to the second user is referred to as the second client.
[0187] 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 an Alipay platform (hereinafter referred to as the platform). The virtual resource set can refer to the fund account of the operator of the platform or the enterprise cooperating with the operator of the platform. The funds under the fund account are the total amount of funds for distributing red envelopes to users.
[0188] The electronic vouchers can include five categories of virtual Fu cards, i.e., "Longevity and Health Fu", "Friendship and Love Fu", "Prosperity and Strength Fu", "Family Harmony Fu", and "Wealth and Prosperity Fu". When a user collects the above five categories of virtual Fu cards, the user can automatically obtain the permission to take red envelopes.
[0189] In addition to the above five categories of virtual Fu cards (hereinafter referred to as Fu cards), the server can also issue some special virtual Fu cards to users as virtual props; for example, the special virtual Fu card can be a "Lucky Fu Card". By "using" the Lucky Fu Card, a user can interact with other users who have social relationships, and randomly "copy" and obtain the Fu cards held by the other users without reducing the number of Fu cards held by the other users.
[0190] Please refer to Figure 2 , Figure 2 a schematic diagram of a Fu card display interface shown in an embodiment of the present application.
[0191] As Figure 2As shown, the lucky card display interface can be the "My Lucky Cards" interface; in this interface, corresponding display positions can be provided for the above 5 types of lucky cards and the "Blessing Sharing Card" held by the user. At the display positions corresponding to each type of lucky card, there will be a "Fu" character icon corresponding to each type of lucky card. Optionally, if the user does not have a certain type of lucky card, no icon can be displayed at the display position corresponding to this lucky card, or an icon indicating that the user lacks this type of lucky card can be displayed.
[0192] In practical applications, the special virtual lucky cards issued by the server to the user can also include special lucky cards such as "Universal Lucky Card" and "Flower Card"; that is, the operator of the platform can flexibly customize virtual props corresponding to various functions for the user based on actual needs, which will not be listed one by one in this application.
[0193] 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.
[0194] As Figure 3 shown, when the user participates in the "Five Blessings Draw Big Prizes" activity, the client can display an activity entrance display interface for the user. This interface can include options such as "My Lucky 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
[0195] are only schematic and do not limit the solution described in this application. Additionally, in practical applications, this display interface can also include other options, which will not be listed one by one here.
[0196] Please refer to Figure 4 , Figure 4 which is a schematic diagram of an AR Write Fu interactive interface shown in an embodiment of the present application.
[0197] As Figure 4 shown, the AR Write Fu interactive interface can include a hand-drawing area for the first user to perform AR Write Fu, a display area for displaying the AR real scene image, and several paintbrushes. Schematically, Figure 4 gold, red, and blue paintbrushes are shown in . It should be noted that the range of the hand-drawing area is the same as that of the display area, and both are the entire terminal screen. When the user hand-draws the Fu character, the AR real scene image can still be normally displayed, enhancing the趣味性. It should be noted that the word "趣味性" in the original text is not an English word. If you want to accurately express the meaning, you can replace it with a more appropriate English expression such as "fun" or "interest". The above translation is for reference only.
[0198] Suppose the first user is outdoors. The AR write-fu interactive interface can present an AR real scene picture of the outdoors. As shown in Figure 4 , the outdoors where the first user is currently located includes a mountain peak and the sun.
[0199] The user can use a red brush and then write fu in the hand-drawing area according to his or her 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 of the finger with the terminal device.
[0200] When the writing of fu is completed, the first user can trigger a next-step option in the AR write-fu interactive interface (as shown in Figure 4 ). The first client can respond to the first user triggering the option, recognize the user's writing by using an OCR model, determine whether the writing is the character “fu”, and if so, provide the user with a decoration prop corresponding to the decoration of the character “fu”; otherwise, remind the first user to rewrite fu.
[0201] Please refer to Figure 5 , Figure 5 for a schematic diagram of an AR write-fu interactive interface shown in an embodiment of the present application.
[0202] As shown in Figure 5 , the AR write-fu interactive interface can include several decoration options. Illustratively, Figure 5 , the decoration options of “popular”, “yearly flavor”, “blessings”, and digital signature are shown. When the first user clicks a decoration option such as “popular”, the AR write-fu interactive interface can also show the first user several sub-decoration options under the clicked decoration option, and the first user can arbitrarily select a sub-decoration option for decoration.
[0203] As shown in Figure 5 , the first user selects the “cloud” sub-option under the “popular” option, and the first client can add an image element corresponding to the “cloud” sub-option to the AR write-fu interactive interface. The user can perform operations such as dragging, zooming in, rotating, and deleting on the image element in the display area until a satisfactory decoration effect is obtained.
[0204] Please continue to refer to Figure 5 , the user can also click the digital signature decoration option corresponding to “Gong Xi Fa Cai in the Tiger Year”, and then input personalized characters in the input window that pops up. For example, characters such as “XXX made” can be input.
[0205] It can be understood that the first user can still normally present an AR real scene picture when decorating the character “fu”, thereby improving the interest. As shown in Figure 5As shown, during the decoration process, the AR writing interaction interface still displays the outdoor environment in which the first user is located.
[0206] When the first user finishes decorating the card, the first user can trigger the 3D card generation option (the second user option in the foregoing embodiment) in the AR writing interaction interface. The first client can respond to the first user triggering the option, and use a preset three-dimensional reconstruction algorithm to perform three-dimensional modeling on the card written by the first user, to obtain a three-dimensional card.
[0207] After obtaining the three-dimensional card, a preset dynamic display effect can be displayed through the AR writing interaction interface, to improve the interactive interest.
[0208] The first client sends a card acquisition request to the platform in response to the operation of the first user triggering the 3D card generation option. The platform can select a type of card with the lowest configured allocation probability from the saved card set as the card allocated to the first user after receiving the acquisition request. Then the platform can return the type identifier (assuming it is a prosperous card) of the allocated card to the client. The first client can generate a detail interface corresponding to the prosperous card according to the received type identifier and the image element corresponding to the "card" displayed in the display area, and display the detail interface to the user in the form of a pop-up window after the dynamic display of the three-dimensional card is completed.
[0209] Please refer to Figure 6 , Figure 6 A detail interface shown in an embodiment of the present application is shown in the following figure.
[0210] As Figure 6 shown, the pop-up detail interface can include a display area for displaying the electronic voucher as a prosperous card and the hand-drawn card, and a plurality of function options. Illustratively, Figure 6 The detail interface shown can include a "pick up card" option.
[0211] After the first user clicks the option, the first client can save the exclusive card locally. Here, the first client can display a card display interface to the first user as Figure 2 shown. And the icon on the display position corresponding to the prosperous card is replaced with the exclusive card written by the first user. Optionally, the first user can also choose to replace the icons on other display positions in the card display interface with the exclusive card. In this way, not only can the first user be rewarded with an electronic voucher, but also the exclusive card can be displayed to the first user, to improve the user's enthusiasm for participating in AR writing.
[0212] After the first user receives the sub-card, the first client can continue to display the AR write blessing interactive interface. The AR write blessing interactive interface displays a three-dimensional blessing word, and can remind the user to observe the three-dimensional blessing word in all directions by rotating the mobile phone.
[0213] Please refer to Figure 7 , Figure 7 An AR write blessing interactive interface is shown in the embodiments of the present application.
[0214] As shown in Figure 7 , the AR write blessing interactive interface displays a three-dimensional blessing word, and can remind the first user to "look at the three-dimensional blessing word from another angle". The first user can rotate the user terminal 90 degrees to the right. The first client can determine that the user terminal is rotated 90 degrees to the right through the gyroscope, and then rotate the three-dimensional blessing word in the AR real scene picture 90 degrees to the right, so that the first user can observe the three-dimensional blessing word from the left position of the target identifier. Similarly, the first user can adjust the angle of the user terminal in all directions to complete the observation of the three-dimensional blessing word in all directions. In this way, the fun of AR write blessing can be improved, and the enthusiasm of the user in participating in AR write blessing can be improved.
[0215] The AR write blessing interactive interface also includes a sharing option and a recording option. As shown in Figure 7 , the AR write blessing interactive interface can also include a "send to friends and relatives" option (sharing option) and a "take a picture with the blessing word" option (recording option).
[0216] The first user can trigger the "take a picture with the blessing word" option. The first client can call the recording function in response to the first user triggering the option. At this time, the first user can enter the camera area of the user terminal, and the first client can fuse the first user captured by the camera into the AR real scene picture to present the effect of the first user, the three-dimensional blessing word and the real environment in the same frame. After recording is completed, the first client can provide the first user with an option to save the video, and in response to the first user triggering the option, save the recorded video in the local album. The first user can select the recorded video from the local album for sharing. For example, the video can be shared through the third-party chat tool "ball ball", so that the spread of the AR write blessing activity can be improved.
[0217] The first user can trigger the "send to friends and relatives" option. The first client can send the hand-drawn three-dimensional blessing word to the platform. The platform can store the three-dimensional blessing word and generate a sharing interface based on the three-dimensional blessing word. The sharing interface can be a pop-up window. The sharing interface includes a two-dimensional code corresponding to the storage address of the three-dimensional blessing word, a rendered picture of the three-dimensional blessing word, and at least one functional option.
[0218] Please refer to Figure 8 , Figure 8A sharing interface diagram is shown in an embodiment of the present application.
[0219] As shown in Figure 8 , the sharing interface can include a two-dimensional code corresponding to the storage address of the three-dimensional blessing, a rendering picture of the three-dimensional blessing, and three function options of saving a picture, copying a link, and DingTalk.
[0220] If the first user triggers the save picture option, the first client can save a composite picture with the two-dimensional code and the rendering picture locally and share and spread through a third-party software.
[0221] If the first user triggers the copy link option, the first client can send a copy link application to the platform. The platform can generate a link based on the storage address of the three-dimensional blessing and return. The first client can paste the received link to a chat area of a third-party software to share and spread the three-dimensional blessing.
[0222] If the first user triggers the DingTalk option, the first client can send a DingTalk password application to the platform. The platform can generate a DingTalk password based on the storage address of the three-dimensional blessing and return. The first client continues to jump to a DingTalk software interface by interacting with the user terminal. The first user can select several friends as second users in the software interface and paste the DingTalk password in a chat area with the second users to complete the sharing and spreading of the three-dimensional blessing.
[0223] After the second client corresponding to the second user receives the sharing message (including a picture, a link, and a DingTalk password) sent by the first client, the sharing message can be displayed.
[0224] The second user can trigger the sharing message by recognizing the two-dimensional code in the picture, clicking the link, or copying the DingTalk password to the second client, etc. The second client can output a collection interface to the second user in response to the second user triggering the sharing message.
[0225] The collection interface includes the rendering picture of the three-dimensional blessing and a collection option.
[0226] Please refer to Figure 9 , Figure 9 A collection interface diagram is shown in an embodiment of the present application.
[0227] As shown in Figure 9 , the collection interface includes the rendering picture and the collection option.
[0228] The second user can trigger the taking option to complete a taking operation. The second client can output an AR-based second interactive interface in response to the taking operation, and output an AR real scene picture of an environment where the second user is located in the second interactive interface. The second client can also send an application for obtaining a three-dimensional lucky word to the platform. The platform can return the three-dimensional lucky word, a dynamic display effect corresponding to the three-dimensional lucky word, and a process video of the first user drawing the three-dimensional lucky word in response to the application. The second client can sequentially display the process video, the dynamic display effect, and render the three-dimensional lucky word into the AR real scene picture after the display is completed in the AR real scene picture. In this way, the sharing and propagation of the three-dimensional lucky word can be completed, and the AR writing lucky word interest can be improved.
[0229] Please refer to Figure 10 , Figure 10 A second interactive interface schematic diagram shown in an embodiment of the present application.
[0230] As Figure 10 indicated, the second interactive interface can include an AR real scene picture that fuses a real environment where the second user is currently located and a three-dimensional lucky word sent by the first user, and "take a photo with the lucky word" and "go to write one" options. It is assumed that the second user faces a wall surface of a bedroom. The AR real scene picture can show a socket on the wall surface.
[0231] If the second user triggers the "take a photo with the lucky word" option, a video can be recorded in the same frame as the three-dimensional lucky word. If the second user triggers the "go to write one" option, the AR writing lucky word interactive interface can be jumped to complete the drawing of the own lucky word.
[0232] The second client can also send a taking request corresponding to the target identifier to the platform in response to the taking operation. The server can allocate an electronic voucher for the second user in response to the taking request. The second client can obtain the electronic voucher allocated for the second user by the server in response to the taking request, and output and display the obtained electronic voucher to the second user through the second interactive interface. The second user can click a confirmation taking option included in the output and displayed interface to complete the taking of the electronic voucher. In this way, on the one hand, the user interest can be increased, and on the other hand, the propagation degree of the electronic voucher can be improved.
[0233] The second assessment sheet can determine the number of categories of the locally saved electronic vouchers. When the number of categories of the lucky cards collected by the second client reaches 5 categories, the second user can obtain the permission of the red envelope allocation, and the second client can send a "red envelope allocation request" (i.e., the virtual resource allocation request) to the platform to request the platform to allocate a red envelope for the user. The specific implementation process is not described again.
[0234] In the foregoing scheme, by providing hand-drawing and sharing AR blessing words, and gifting electronic vouchers and the like services, the user can be made to integrate more emotions in the process of participating in the "Five Blessings Grand Prize" activity, so as to improve the interestingness of the activity, increase the user experience, improve the user's enthusiasm for participating in the activity, and improve the propagation degree of the blessing card.
[0235] The application further provides an interactive device based on an electronic voucher. The device can be applied to a first client corresponding to a first user.
[0236] Please refer to Figure 11 , Figure 11 FIG. 1 shows a structure diagram of an interactive device based on an electronic voucher according to an embodiment of the application.
[0237] As Figure 11 shown, the interactive device based on an electronic voucher 1100 can include:
[0238] An output module 1110, which outputs an AR real scene picture of an environment where a first user is located to the first user in response to an interactive operation initiated by the first user;
[0239] A fusion module 1120, which acquires a target identifier input by hand-drawing of the first user, and identifies whether the target identifier is a preset identifier; if the target identifier is the preset identifier, the target identifier is fused in the AR real scene picture for enhanced display; wherein the target identifier is used to trigger a server to allocate an electronic voucher to a user who collects the target identifier;
[0240] A sharing module 1130, which shares the target identifier to a second client corresponding to a second user specified by the first user in response to a sharing operation initiated by the first user, so that the second client, in response to a collection operation of the target identifier initiated by the second user, fuses the target identifier in an AR real scene picture of an environment where the second user is located for enhanced display, and acquires an electronic voucher allocated by the server to the second user; wherein the electronic voucher is used to obtain a collection right of a virtual resource in a preset virtual resource set.
[0241] In some embodiments, the output module 1110 is specifically configured to:
[0242] In response to an interactive operation initiated by the first user, output an AR-based first interactive interface to the first user, and output an AR real scene picture of an environment where the first user is located in the first interactive interface.
[0243] In some embodiments, the first interactive interface supports hand-drawing input;
[0244] The fusion module 1120 is specifically configured to:
[0245] obtaining a target identifier of a hand-drawing input of the first user on the first interactive interface.
[0246] In some embodiments, the first client provides, in a user interface facing the first user, a first user option for entering the first interactive interface;
[0247] The output module 1110 is specifically configured to:
[0248] In response to a triggering operation of the first user option initiated by the first user, output an AR-based first interactive interface to the first user.
[0249] In some embodiments, the apparatus 1100 further comprises:
[0250] a three-dimensional modeling module configured to perform three-dimensional modeling on the target identifier to obtain a three-dimensional model corresponding to the target identifier;
[0251] The fusion module 1120 is specifically configured to:
[0252] fuse the three-dimensional model in the AR real scene picture for enhanced display;
[0253] The sharing module 1130 is specifically configured to:
[0254] share the three-dimensional model corresponding to the target identifier to a second client corresponding to a second user specified by the first user.
[0255] In some embodiments, the apparatus 1100 further comprises:
[0256] a first recording module configured to record a hand-drawing process of the target identifier during the hand-drawing input of the target identifier by the first user, to obtain a video corresponding to the hand-drawing process of the target identifier;
[0257] The sharing module 1130 is specifically configured to:
[0258] share the three-dimensional model corresponding to the target identifier and the video corresponding to the hand-drawing process of the target identifier to a second client corresponding to a second user specified by the first user.
[0259] In some embodiments, the fusion module 1120 is specifically configured to:
[0260] display a preset dynamic display effect for the three-dimensional model.
[0261] In some embodiments, the first interactive interface comprises a second user option for performing three-dimensional modeling on the target identifier;
[0262] The three-dimensional modeling module is specifically configured to:
[0263] In response to the trigger operation initiated by the first user for the second user option, three-dimensional modeling is performed for the target identifier to obtain a three-dimensional model corresponding to the target identifier.
[0264] In some embodiments, the apparatus 1100 further includes:
[0265] The sending module, in response to the trigger operation initiated by the first user for the second user option, sends an electronic voucher allocation request corresponding to the first user to a server, so that the server allocates an electronic voucher to the first user in response to the electronic voucher allocation request.
[0266] The obtaining and displaying module obtains the electronic voucher allocated to the first user by the server, and outputs and displays the obtained electronic voucher to the first user through the first interactive interface.
[0267] In some embodiments, when the number of categories of the electronic voucher obtained by the first user reaches a preset threshold, the first user obtains the right to obtain a virtual resource in the preset virtual resource set.
[0268] In some embodiments, the apparatus 1100 further includes:
[0269] The option output module 1110 outputs at least one interactive option in the first interactive interface in response to the trigger operation initiated by the user for the second user option, wherein the at least one interactive option includes a sharing option corresponding to the target identifier.
[0270] The sharing module 1130 is specifically configured to:
[0271] In response to the trigger operation of the first user for the sharing option, the target identifier is shared to a second client corresponding to a second user specified by the first user.
[0272] In some embodiments, the at least one interactive option further includes a recording option corresponding to the target identifier.
[0273] The apparatus 1100 further includes:
[0274] The second recording module, in response to the trigger operation of the first user for the recording option, performs video recording for the AR real scene picture.
[0275] The saving module, in response to the saving operation initiated by the first user, saves the recorded video locally.
[0276] In some embodiments, the apparatus 1100 further comprises:
[0277] a motion tracking module, after the three-dimensional model is fused in the AR real scene picture for augmented display, in the process of fusing the target mark in the AR real scene picture for augmented display, the motion tracking is performed on the user terminal where the first client is located;
[0278] a synchronous updating module, based on the result of the motion tracking, synchronously updating the display effect of the three-dimensional model target mark augmented displayed in the AR real scene picture.
[0279] In some embodiments, the mark includes characters.
[0280] In some embodiments, the virtual resource includes a virtual red packet; and the characters include the Chinese character Fu.
[0281] In the foregoing scheme, first, the first client can output an AR real scene picture of the environment where the first user is located in response to an interactive operation initiated by the first user, and can obtain a target mark inputted by hand-drawing by the first user, and in the case that the target mark is a preset mark, the target mark is fused in the AR real scene picture for augmented display, so that the first user can draw and share a target mark in the AR real scene picture corresponding to the environment where the first user is located according to the first user's preference, so that the first user can convey electronic vouchers to other users with more emotions, thereby improving the user's participation and the enthusiasm of participating in conveying electronic vouchers, and enhancing the interactivity when conveying electronic vouchers between users.
[0282] Second, the second client can fuse the target mark shared by the first user in the AR real scene picture of the environment where the second user is located for augmented display in response to the second user initiating a receiving operation on the target mark, and obtain an electronic voucher assigned by the server to the second user, so that the second user can view the target mark inputted by hand-drawing by the first user augmented displayed by AR technology in the AR real scene picture corresponding to the environment where the second user is located, and receive the electronic voucher conveyed by the first user to the second user, thereby improving the user's participation and user experience when obtaining electronic vouchers conveyed by other users, and enhancing the interactivity when conveying electronic vouchers between users.
[0283] The application also proposes an interactive device based on electronic vouchers. The device can be applied to a second client corresponding to a second user. The interactive device can include:
[0284] receive a target mark shared by a first client corresponding to a first user, the target mark being input by the first user on the first client by hand-drawing, wherein the target mark is used to trigger a server to allocate an electronic voucher to a user who collects the target mark;
[0285] collecting, in response to a collection operation initiated by the second user for the target mark, an AR real scene picture of an environment where the second user is located, and fusing the target mark in the AR real scene picture for enhanced display, and
[0286] obtaining an electronic voucher allocated to the second user by the server, wherein the electronic voucher is used to obtain a collection right of a virtual resource in a preset virtual resource set.
[0287] In some embodiments, the collecting module is specifically configured to:
[0288] in response to the collection operation initiated by the second user for the target mark, outputting, to the second user, an AR real scene picture of an environment where the second user is located, including:
[0289] in response to the collection operation initiated by the second user for the target mark, outputting, to the second user, an AR-based second interaction interface, and outputting, in the second interaction interface, an AR real scene picture of an environment where the second user is located.
[0290] In some embodiments, when the number of categories of the electronic voucher obtained by the second user reaches a preset threshold, the second user obtains the collection right of the virtual resource in the preset virtual resource set.
[0291] In some embodiments, the target mark shared by the first client includes a three-dimensional model corresponding to the target mark.
[0292] The collecting module is specifically configured to:
[0293] fuse the three-dimensional model in the AR real scene picture for enhanced display.
[0294] In some embodiments, the target mark shared by the first client includes a three-dimensional model corresponding to the target mark and a video corresponding to a hand-drawing process of the target mark.
[0295] The collecting module is specifically configured to:
[0296] play, in the AR real scene picture, the video corresponding to the hand-drawing process of the target mark, and after the video is played, fuse the three-dimensional model corresponding to the target mark in the AR real scene picture for enhanced display.
[0297] In some embodiments, the obtaining module is specifically configured to:
[0298] display a preset dynamic display effect for the three-dimensional model.
[0299] In some embodiments, the device further comprises:
[0300] an electronic voucher obtaining module, in response to the second user initiating an obtaining operation for the target mark, sending an obtaining request corresponding to the target mark to a server, so that the server allocates an electronic voucher for the second user in response to the obtaining request;
[0301] The obtaining module is specifically configured to:
[0302] obtain the electronic voucher allocated by the server for the second user in response to the obtaining request, and output and display the obtained electronic voucher to the second user through the second interactive interface.
[0303] In some embodiments, the mark comprises characters.
[0304] In some embodiments, the virtual resource comprises a virtual red envelope; and the characters comprise the Chinese character "fu".
[0305] In the foregoing scheme, first, the first client can output an AR real scene picture of the environment where the first user is located to the first user in response to the first user initiating an interactive operation, and can obtain a target mark drawn by the first user, and in the case that the target mark is a preset mark, the target mark can be fused in the AR real scene picture for enhanced display, so that the first user can draw and share a target mark in the AR real scene picture corresponding to the environment where the first user is located according to the first user's preferences, and the first user can convey more emotions when conveying an electronic voucher to other users, thereby improving the user's participation and enthusiasm in conveying electronic vouchers, and enhancing the interactivity when conveying electronic vouchers between users.
[0306] Second, the second client can fuse the target mark shared by the first user in the AR real scene picture of the environment where the second user is located for enhanced display in response to the second user initiating an obtaining operation for the target mark, and obtain an electronic voucher allocated by the server to the second user, so that the second user can view the target mark drawn by the first user and enhanced by AR technology in the AR real scene picture corresponding to the environment where the second user is located, and obtain the electronic voucher conveyed by the first user to the second user, thereby improving the user's participation and user experience when obtaining electronic vouchers conveyed by other users, and enhancing the interactivity when conveying electronic vouchers between users.
[0307] Embodiments of the interactive device shown in the present application can be applied to an electronic device. Accordingly, the present application discloses an electronic device, which can include a processor.
[0308] a memory for storing processor-executable instructions.
[0309] The processor is configured to invoke the executable instructions stored in the memory to implement the interactive method as shown in any of the embodiments.
[0310] Please refer to Figure 12 , Figure 12 The present application shows a hardware structure diagram of an electronic device.
[0311] As Figure 12 shown, the electronic device can include a processor for executing instructions, a network interface for network connection, a memory for storing running data of the processor, and a non-volatile memory for storing instructions corresponding to the interactive device.
[0312] The embodiments of the interactive device can be implemented by software, or by hardware or a combination of software and hardware. For example, as a logical device in the sense of software, it is formed by reading the corresponding computer program instructions in the non-volatile memory to the memory for running by the processor of the electronic device in which it is located. In terms of hardware, in addition to the processor, memory, network interface, and non-volatile memory shown in the present application, the electronic device in which the device is located usually includes other hardware according to the actual functions of the electronic device, which will not be described here. Figure 12
[0313] It can be understood that, in order to improve the processing speed, the instructions corresponding to the interactive device can also be directly stored in the memory, which is not limited here.
[0314] The present application proposes a computer-readable storage medium, which stores a computer program, and the computer program is used to execute the interactive method as shown in any of the embodiments.
[0315] Those skilled in the art should understand that one or more embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, one or more embodiments of the present application can be in the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, one or more embodiments of the present application can be in the form of a computer program product embodied in one or more computer-usable storage media (which can include but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0316] "and / or" as used herein means at least one of the items, for example, A and / or B can mean: A; B; or A and B.
[0317] The various embodiments in this application are described using a progressive manner. Identical or similar parts among the various embodiments can be mutually referred to, and each embodiment focuses on the difference from other embodiments. In particular, for the data processing device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiments.
[0318] The specific embodiments of the application have been described. Other embodiments are within the scope of the following claims. In some cases, acts or steps recited in the claims can be performed in a different order than the order in which they are recited and still accomplish desirable results. Also, the process depicted in the accompanying figures does not necessarily require the particular order shown, or sequential order to achieve desirable results. In certain implementations, multitasking and parallel processing can be advantageous.
[0319] Embodiments of the subject matter and the functional operations described in this application can be implemented in digital electronic circuitry, in tangibly-embodied computer software or firmware, in computer hardware, including the structures disclosed in this application and their structural equivalents, or in combinations of one or more of them. 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 on a tangible non-transitory program carrier, for execution by, or to control the operation of, data processing apparatus. Alternatively, or additionally, the program instructions can be encoded in an artificially generated propagated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal that is generated to encode information for transmission to suitable receiver apparatus for execution by a data processing apparatus. The computer storage medium can be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them.
[0320] The processes and logic flows described in this application can be performed by one or more programmable computers executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit), and the apparatus can be implemented as special purpose logic circuitry.
[0321] Computers suitable for the execution of a computer program can include, for example, general and / or special purpose microprocessors, or any other kind of central processing unit. Generally, a central processing unit will receive instructions and data from a read-only memory and / or a random access memory. The essential elements of a computer are a central processing unit for performing or executing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, for example, magnetic, magneto-optical disks, or optical disks. However, a computer need not have such devices. Moreover, a computer can be embedded in another device, for example, a mobile telephone, 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 (e.g., a universal serial bus (USB) flash drive), to name just a few.
[0322] Computer readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, for example, 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-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
[0323] While this application contains many specific embodiments, these should not be construed as limiting the scope or range of any disclosures or embodiments, but merely as accurately describing particular embodiments. Certain features described in the specification that are in multiple embodiments can be combined in a single embodiment. Alternatively, various features described in a single embodiment can be separated into multiple embodiments or combined in any suitable sub-combination. Moreover, although features can be described as acting in certain combinations and initially be claimed as such, one or more features from a claimed combination can in some cases be removed from the combination and the claimed combination can then be directed to a sub-combination or variation of a sub-combination.
[0324] Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring such an order nor limiting it to only that order. One will appreciate that many of the operations can be performed in a variety of orders and in conjunction with operations described as being in other embodiments. Further, not all operations can necessarily be performed in all instances and not all operations can necessarily be implied. In certain circumstances, multitasking and parallel processing can be advantageous. Moreover, the separation of various system modules and components in the embodiments described should not be understood as requiring such separation in all embodiments. 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.
[0325] Accordingly, particular embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, actions recited in the claims can be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown or sequential order to achieve the desired results. In some implementations, multitasking and parallel processing can be advantageous.
[0326] The foregoing is considered as illustrative only of the principles of the one or more embodiments. Further, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the one or more embodiments to the exact one or more embodiments illustrated and described. Accordingly, all such variations are intended to be included within the scope of one or more embodiments.
Claims
1. An electronic voucher based interactive method, characterized by, The method applied to a first client corresponding to a first user comprises: In response to an interaction operation initiated by the first user, outputting an AR real scene picture of an environment where the first user is located to the first user; Obtaining a target identifier inputted by the first user by hand drawing, and identifying whether the target identifier is a preset identifier; if the target identifier is the preset identifier, performing three-dimensional modeling on the target identifier to obtain a three-dimensional model corresponding to the target identifier, and fusing the three-dimensional model in the AR real scene picture for enhanced display; wherein the target identifier is used to trigger the server to allocate an electronic voucher to a user who collects the target identifier; In response to a sharing operation initiated by the first user, sharing the three-dimensional model corresponding to 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 collection operation initiated by the second user for the target identifier, fuses the three-dimensional model corresponding to the target identifier in an AR real scene picture of an environment where the second user is located for enhanced display, and obtains an electronic voucher allocated by the server to the second user; wherein the electronic voucher is used to obtain a collection right of a virtual resource in a preset virtual resource set.
2. The method of claim 1, wherein, In response to an interaction operation initiated by the first user, outputting an AR real scene picture of an environment where the first user is located to the first user, comprises: In response to an interaction operation initiated by the first user, outputting an AR-based first interaction interface to the first user, and outputting an AR real scene picture of an environment where the first user is located in the first interaction interface.
3. The method of claim 2, wherein, The first interaction interface supports hand-drawing input; Obtaining a target identifier inputted by the first user by hand drawing, comprises: Obtaining a target identifier inputted by the first user by hand drawing on the first interaction interface.
4. The method of claim 2, wherein, The first user interface provided by the first client to the first user comprises a first user option for entering the first interaction interface; In response to an interaction operation initiated by the first user, outputting an AR-based first interaction interface to the first user, comprises: In response to a trigger operation initiated by the first user for the first user option, outputting an AR-based first interaction interface to the first user.
5. The method of claim 1, wherein, The method further comprises: During the process that the first user inputs the target identifier by hand drawing, recording a hand-drawing process of the target identifier to obtain a video corresponding to the hand-drawing process of the target identifier; Sharing the three-dimensional model corresponding to the target identifier to a second client corresponding to a second user specified by the first user, comprises: Sharing the three-dimensional model corresponding to the target identifier and the video corresponding to the hand-drawing process of the target identifier to a second client corresponding to a second user specified by the first user.
6. The method of claim 1, wherein, The fusing the three-dimensional model in the AR real scene picture for enhanced display, comprises: Displaying a preset dynamic display effect for the three-dimensional model.
7. The method of claim 2, wherein, The first interaction interface comprises a second user option for performing three-dimensional modeling on the target identifier; Performing three-dimensional modeling on the target identifier to obtain a three-dimensional model corresponding to the target identifier, comprises: In response to the trigger operation initiated by the first user for the second user option, a three-dimensional model is established for the target identifier to obtain a three-dimensional model corresponding to the target identifier.
8. The method of claim 7, wherein, The method further comprises: In response to the trigger operation initiated by the first user for the second user option, an electronic voucher allocation request corresponding to the first user is sent to a server, so that the server allocates an electronic voucher to the first user in response to the electronic voucher allocation request; The electronic voucher allocated by the server to the first user is obtained, and the obtained electronic voucher is output and displayed to the first user through the first interactive interface.
9. The method of claim 8, wherein, Wherein, When the number of categories of the electronic voucher obtained by the first user reaches a preset threshold, the first user obtains the taking permission of the virtual resource in the preset virtual resource set.
10. The method of claim 7, wherein, The method further comprises: In response to the trigger operation initiated by the user for the second user option, at least one interaction option is output in the first interactive interface; wherein the at least one interaction option includes a sharing option corresponding to the target identifier; 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, comprising: In response to the trigger operation of the first user for the sharing option, the target identifier is shared to the second client corresponding to the second user specified by the first user.
11. The method of claim 10, wherein, The at least one interaction option further includes a recording option corresponding to the target identifier; The method further comprises: In response to the trigger operation of the first user for the recording option, video recording is performed for the AR real scene picture; In response to the save operation initiated by the first user, the recorded video is saved locally.
12. The method of claim 1, wherein, After the three-dimensional model is fused in the AR real scene picture for augmented display, the method further comprises: During the process of fusing the target identifier in the AR real scene picture for augmented display, motion tracking is performed on the user terminal where the first client is located; Based on the result of the motion tracking, the display effect of the three-dimensional model target identifier for augmented display in the AR real scene picture is synchronously updated.
13. The method of claim 1, wherein, The identifier includes characters.
14. The method of claim 13, wherein, The virtual resource includes a virtual red packet; the characters include the Chinese character "Fu".
15. An electronic voucher based interactive method, characterized by, Applied to the second client corresponding to the second user, the method comprises: Receiving a three-dimensional model corresponding to a target identifier hand-drawn and input by a first user on a first client, shared by the first client corresponding to the first user; wherein the target identifier is used to trigger a server to allocate an electronic voucher to a user who takes the target identifier; In response to the taking operation initiated by the second user for the target identifier, an AR real scene picture of the environment where the second user is located is output to the second user, and a three-dimensional model corresponding to the target identifier is fused in the AR real scene picture for augmented display, and Obtaining an electronic voucher allocated by the server to the second user; wherein the electronic voucher is used to obtain the taking permission of a virtual resource in a preset virtual resource set.
16. The method of claim 15, wherein, In response to the second user initiating the collection operation for the target mark, an AR real scene picture of an environment where the second user is located is output to the second user, including: In response to the second user initiating the collection operation for the target mark, an AR-based second interactive interface is output to the second user, and an AR real scene picture of an environment where the second user is located is output in the second interactive interface.
17. The method of claim 15, wherein, Wherein, When the number of categories of the electronic vouchers obtained by the second user reaches a preset threshold, the second user obtains the collection permission of the virtual resources in the preset virtual resource set.
18. The method of claim 15, wherein, The target mark shared by the first client includes a three-dimensional model corresponding to the target mark and a video corresponding to a hand-drawing process of the target mark; Fusing the target mark in the AR real scene picture for enhanced display includes: Playing the video corresponding to the hand-drawing process of the target mark in the AR real scene picture, and after the video is played, fusing the three-dimensional model corresponding to the target mark in the AR real scene picture for enhanced display.
19. The method of claim 15, wherein, The three-dimensional model is fused in the AR real scene picture for enhanced display, including: Displaying a preset dynamic display effect for the three-dimensional model.
20. The method of claim 16, wherein, The method further includes: In response to the second user initiating the collection operation for the target mark, a collection request corresponding to the target mark is sent to a server, so that the server allocates electronic vouchers for the second user in response to the collection request; Obtaining electronic vouchers allocated by the server to the second user includes: Obtaining electronic vouchers allocated by the server to the second user in response to the collection request, and outputting and displaying the obtained electronic vouchers to the second user through the second interactive interface.
21. The method of claim 15, wherein, The mark includes characters.
22. The method of claim 21, wherein, The virtual resource includes a virtual red envelope; the characters include the Chinese character "Fu".
23. An electronic voucher based interactive apparatus, characterized by Applied to a first client corresponding to a first user, the device includes: An output module outputs an AR real scene picture of an environment where the first user is located in response to the first user initiating an interactive operation; A fusion module obtains a target mark drawn by the first user, and identifies whether the target mark is a preset mark. If the target mark is a preset mark, a three-dimensional model corresponding to the target mark is obtained by three-dimensional modeling for the target mark, and the three-dimensional model is fused in the AR real scene picture for enhanced display. The target mark is used to trigger the server to allocate electronic vouchers for a user who collects the target mark. The sharing module shares the three-dimensional model corresponding to the target identifier to a second client corresponding to a second user specified by the first user in response to a sharing operation initiated by the first user, so that the second client, in response to a taking operation initiated by the second user for the target identifier, fuses the three-dimensional model corresponding to the target identifier in an AR real scene picture of an environment where the second user is located for augmented display, and acquires an electronic voucher assigned to the second user by a server; wherein the electronic voucher is used to obtain taking permission of a virtual resource in a preset virtual resource set.
24. An electronic voucher based interactive apparatus, characterized by The device applied to a second client corresponding to a second user comprises: The receiving module receives a three-dimensional model corresponding to a target identifier shared by a first client corresponding to a first user, the three-dimensional model being hand-drawn input by the first user on the first client; wherein the target identifier is used to trigger a server to assign an electronic voucher to a user taking the target identifier; The taking module, in response to a taking operation initiated by the second user for the target identifier, outputs an AR real scene picture of an environment where the second user is located to the second user, fuses the three-dimensional model corresponding to the target identifier in the AR real scene picture for augmented display, and acquires an electronic voucher assigned to the second user by a server; wherein the electronic voucher is used to obtain taking permission of a virtual resource in a preset virtual resource set. The device comprises:
25. An electronic device, comprising: A processor; A memory for storing processor-executable instructions; The processor runs the executable instructions to implement the method for interaction based on the electronic voucher according to any one of claims 1-22. The storage medium stores a computer program, and the computer program is used to make the processor execute the method for interaction based on the electronic voucher according to any one of claims 1-22.
26. A computer-readable storage medium, characterized in that,
Citation Information
Patent Citations
Interaction method based on live broadcast, live broadcast system, and electronic device
CN107682729A
Video data processing method and device based on augmented reality and storage medium
CN108255304A