WO2022156584A1 - 基于电子凭证互动的方法、装置和电子设备 - Google Patents
基于电子凭证互动的方法、装置和电子设备 Download PDFInfo
- Publication number
- WO2022156584A1 WO2022156584A1 PCT/CN2022/071713 CN2022071713W WO2022156584A1 WO 2022156584 A1 WO2022156584 A1 WO 2022156584A1 CN 2022071713 W CN2022071713 W CN 2022071713W WO 2022156584 A1 WO2022156584 A1 WO 2022156584A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- mentioned
- electronic
- hand
- target
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 87
- 230000003993 interaction Effects 0.000 title claims abstract description 12
- 230000002452 interceptive effect Effects 0.000 claims abstract description 69
- 230000004044 response Effects 0.000 claims abstract description 49
- 238000005034 decoration Methods 0.000 claims description 81
- 230000008569 process Effects 0.000 claims description 37
- 238000009826 distribution Methods 0.000 claims description 36
- 238000007639 printing Methods 0.000 claims description 29
- 230000000694 effects Effects 0.000 claims description 26
- 230000006870 function Effects 0.000 claims description 21
- 238000012795 verification Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 24
- 230000001960 triggered effect Effects 0.000 description 14
- 238000003860 storage Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 9
- 238000012015 optical character recognition Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 230000008451 emotion Effects 0.000 description 4
- 238000003825 pressing Methods 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000002708 enhancing effect Effects 0.000 description 3
- 239000010396 fuzi Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000013145 classification model Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
- 238000003892 spreading Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/14—Image acquisition
- G06V30/1444—Selective acquisition, locating or processing of specific regions, e.g. highlighted text, fiducial marks or predetermined fields
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/32—Digital ink
- G06V30/36—Matching; Classification
- G06V30/387—Matching; Classification using human interaction, e.g. selection of the best displayed recognition candidate
Definitions
- the present application relates to the field of communication technologies, and in particular, to a method, apparatus and electronic device based on electronic credential interaction.
- the present application proposes an interaction method based on an electronic certificate.
- the method includes: in response to an interactive operation initiated by a user, outputting an interactive interface to the user; wherein the interactive interface includes a hand-drawn area; obtaining the user's hand-drawn input in the hand-drawn area the target identification, and identify whether the above-mentioned target identification hand-drawn input by the above-mentioned user is a preset identification; if the above-mentioned target identification is a preset identification, obtain the electronic certificate assigned by the server to the above-mentioned user, and use the above-mentioned target identification as the same as the above-mentioned electronic certificate.
- the corresponding icon is displayed to the above-mentioned user; wherein, the above-mentioned electronic certificate is used to obtain the right to receive the virtual resources in the preset virtual resource set.
- the present application also proposes an interactive device based on an electronic certificate.
- the device includes: an output module that outputs an interactive interface to the user in response to an interactive operation initiated by the user; wherein the interactive interface includes a hand-painted area; an acquisition and identification module, to obtain The above-mentioned target identification entered by hand-drawing by the user in the above-mentioned hand-drawn area, and identify whether the above-mentioned target identification hand-drawn input by the above-mentioned user is a preset identification; the first display module, if the above-mentioned target identification is a preset identification, the acquisition server assigns it to the above-mentioned user The electronic certificate is displayed to the user as an icon corresponding to the electronic certificate; wherein, the electronic certificate is used to obtain the right to receive virtual resources in the preset virtual resource set.
- an interactive interface including a hand-drawn area is output to the above-mentioned user in response to an interactive operation initiated by the user; then, the target identifier entered by the user in the above-mentioned hand-drawn area by hand-drawing is obtained, and when the above-mentioned target identifier is a preset identifier, Obtain the electronic certificate assigned by the server to the above-mentioned user, and display the above-mentioned target identifier as an icon corresponding to the above-mentioned electronic certificate to the above-mentioned user, so that the user can personally design and draw the exclusive electronic certificate according to their own preferences online, so that the user can Integrate more emotions into the process of participating in activities to improve the spread of electronic vouchers and the user's sense of experience.
- Fig. 1 is a method flow chart of an electronic certificate-based interaction method proposed by this application
- FIG. 2 is a schematic diagram of a Fuka display interface shown in the application.
- FIG. 3 is a schematic diagram of an activity portal display interface shown in this application.
- FIG. 5 is a schematic diagram of a display interface of a decorative blessing character shown in the application.
- FIG. 6 is a schematic diagram of a printing Fuka display interface shown in the application.
- FIG. 7 is a schematic diagram of a display interface for receiving a Fu card shown in this application.
- FIG. 8 is a schematic diagram of a detail interface shown in this application.
- FIG. 9 is a schematic diagram of a fourth display interface shown in this application.
- FIG. 10 is a schematic diagram of a gift interface shown in this application.
- FIG. 11 is a schematic diagram of a friend list shown in this application.
- FIG. 12 is a schematic structural diagram of an electronic certificate-based interactive device shown in this application.
- FIG. 13 is a schematic diagram of a hardware structure of an electronic device shown in this application.
- the user can obtain the allocation of virtual resources in the preset virtual resource set by collecting various types of electronic certificates, and when the number of types of collected electronic certificates reaches a first preset threshold authority;
- the above electronic vouchers may include “Shou Kangfu”, “Friendship Fu”, “Fuqiang Fu”, " There are 5 types of virtual blessing cards, including “Home and Fortune” and “Wealth and Fortune”. Users can collect Fu cards in various ways, and after collecting these 5 types of virtual Fu cards, they will obtain the corresponding authority to receive red envelopes, and the server will issue red envelopes to the user.
- FIG. 1 is a method flowchart of an electronic certificate-based interaction method proposed in this application.
- the above method may include: S102 , outputting an interactive interface to the above-mentioned user in response to an interactive operation initiated by the user; wherein the above-mentioned interactive interface includes a hand-painted area; the above-mentioned user may refer to the extractor of the virtual resource.
- the above-mentioned users can extract virtual resources through the client.
- the above-mentioned client is installed on any electronic device, and after the above-mentioned user logs in to the client with a registered account, the client can interact with the corresponding server to extract virtual resources.
- the above-mentioned target identifier may refer to any identifier drawn by the user.
- the above-mentioned logos can be graphics, characters and the like.
- the above-mentioned identifiers may be preset Chinese characters. For example, in the event of "Five Fortunes Award", the above logo may be the Chinese character for "Fu”.
- the above-mentioned interactive interface may refer to an operation interface provided by the client for the user.
- the above-mentioned interactive interface may include a hand-drawn area for the user to draw the target identification.
- the hand-drawn area described above can present a drawable area to the user.
- the target identifier is a Chinese character
- the above-mentioned hand-drawn area may be the "mi" character grid.
- the client can generate a corresponding trajectory to display to the user after detecting the user's sliding operation in the hand-painted area.
- the above-mentioned client can generate a corresponding thickness of the trajectory to display to the user by detecting the user's pressing force on the terminal screen during the sliding process and/or the contact area with the terminal screen, so as to facilitate the user to draw a more personalized Logo, increase user interest and enhance user experience.
- the client terminal may provide the user with some portals for participating in the hand-drawn logo activity, and the user may perform related operations on the above-mentioned portals to obtain the above-mentioned interactive interface.
- the above-mentioned entry may be a hand-drawn option corresponding to a preset identifier.
- the above-mentioned client terminal may display an activity interface corresponding to the above-mentioned electronic certificate, and the activity interface may include the above-mentioned hand-drawn option.
- the above-mentioned hand-drawn option can be triggered by a click operation.
- the client terminal may output an interactive interface corresponding to the hand-drawn option to the user in response to the trigger operation initiated by the user for the hand-drawn option. The user can complete the drawing of the target logo in the hand-drawn area displayed on the above-mentioned interactive interface.
- S104 Acquire the target identifier hand-drawn input by the user in the hand-drawn area, and identify whether the target identifier hand-drawn input by the user is a preset identifier;
- the preset identifier may be an identifier preset according to business requirements.
- the above-mentioned preset identifiers may be stored in the client device or the server device for identifying the target identifier.
- whether the above-mentioned target identification hand-drawn input by the above-mentioned user is a preset identification can be identified in various ways.
- the first semantics indicated by the above-mentioned target identifier may be determined by using an OCR (Optical Character Recognition, Optical Character Recognition) technology. Then, it may be further determined whether the first semantics is the same as the second semantics indicated by the preset identifier. If the same, it is determined that the above-mentioned target identification is the above-mentioned preset identification; otherwise, it is determined that the above-mentioned target identification is not the above-mentioned preset identification.
- OCR Optical Character Recognition, Optical Character Recognition
- the OCR model can be used to detect whether the target mark drawn by the user is "Fu”, and if so, it is determined that the above-mentioned target mark is the above-mentioned preset mark.
- the first type of the above-mentioned graphic can be determined by using a pre-trained image classification model.
- the above-mentioned image classification model is obtained by training based on several training samples marked with the true value of image classification. Then, it may be further determined whether the first type is the same as the second type indicated by the preset identifier. If the same, it is determined that the above-mentioned target identification is the above-mentioned preset identification; otherwise, it is determined that the above-mentioned target identification is not the above-mentioned preset identification.
- the above identification step can be performed in the client or the server, and can also be completed by the client and the server in cooperation. If the above identification is performed in the server, the identification result may be returned to the client after the identification is completed.
- the above-mentioned target identifier is a preset identifier
- obtain the electronic certificate assigned by the server to the above-mentioned user and display the above-mentioned target identifier to the above-mentioned user as an icon corresponding to the above-mentioned electronic certificate; wherein, the above-mentioned electronic certificate is used to obtain the above-mentioned electronic certificate.
- the above-mentioned virtual resources may include any type of virtual items that can be distributed and distributed online; for example, the above-mentioned virtual resources may be "virtual red envelopes" in a red envelope distribution scenario.
- the above-mentioned preset virtual resource set may specifically refer to a set of virtual resources.
- the above virtual resource set may be stored in the server.
- the above virtual resource collection may be a "red envelope fund pool”.
- the above-mentioned electronic certificate refers to the certificate when the user extracts the virtual resource from the server.
- a certain number of different types of electronic certificates can be pre-configured on the server, and different types of electronic certificates can be issued to specific user groups according to certain issuing rules.
- Restrictions which can be strings, numbers, characters, passwords, virtual cards, etc.
- the above-mentioned user can obtain the right to claim the virtual resources in the preset virtual resource set, so as to further complete the claim of the virtual resources.
- the above-mentioned first preset threshold may be any value preset according to service requirements. For example, in the event of "Five Fortunes Award", the above-mentioned first preset threshold may be 5.
- the client terminal After receiving the identification result that the target identifier is the preset identifier, the client terminal can generate a corresponding electronic certificate acquisition request and send it to the corresponding server terminal.
- the above-mentioned server terminal may allocate an electronic certificate to the above-mentioned user from a preset set of electronic certificates in response to the above-mentioned request.
- the above-mentioned set of electronic certificates includes multiple types of electronic certificates whose number of categories is a first preset threshold.
- the above-mentioned server can assign the electronic certificate to the above-mentioned user and return it to the above-mentioned client.
- the target identifier drawn by the user may be displayed to the user as an icon corresponding to the electronic certificate. It can be understood that, the steps of generating the above icons can be performed by a client or a server. The following takes client-side execution as an example.
- the client may generate a corresponding icon (in some examples, the icon may be an interface image element) according to the target identifier stored locally. Then, the client can add the above-mentioned icon to the detailed interface of the above-mentioned electronic certificate to complete the rendering of the detailed interface.
- the detailed interface of the electronic certificate can be specifically used to display detailed information such as the type of the electronic certificate to the user.
- the above detailed interface can be displayed in the form of a pop-up window. After that, the client can display the above detailed interface to the user, so that the user can intuitively observe the exclusive electronic certificate designed by himself and enhance the user's sense of participation.
- an interactive interface including a hand-drawn area is output to the above-mentioned user in response to an interactive operation initiated by the user; then, the target identifier entered by the above-mentioned user by hand in the above-mentioned hand-drawn area is obtained, and when the above-mentioned target identifier is a preset identifier , obtain the electronic certificate assigned by the server to the above-mentioned user, and display the above-mentioned target identifier as an icon corresponding to the above-mentioned electronic certificate to the above-mentioned user, so that the user can personally design and draw the exclusive electronic certificate online according to his own preferences, so that the user can Integrate more emotions into the process of participating in activities to improve the spread of electronic vouchers and user experience.
- the technical solution of the present application will be described in detail by taking the above virtual resource as a "virtual red envelope" and the user-drawn logo as a Chinese character as an example.
- the example that the above virtual resource is a "virtual red envelope” is only exemplary.
- the above-mentioned virtual resources may also be other virtual items other than "virtual red envelopes (hereinafter referred to as red envelopes)" that can be distributed and sent online; for example, electronic shopping coupons, electronic coupons, electronic points, and so on.
- a certain number of different types of electronic certificates can be pre-configured on the server, and the pre-configured electronic certificates can be centrally managed by the server.
- the pre-configured electronic certificate is the only certificate for the user to obtain the authority to issue red envelopes.
- the number of pre-configured electronic vouchers and the number of categories can be set based on actual needs.
- the user can collect electronic vouchers through the client, and when the number of categories of the collected electronic vouchers reaches the first preset threshold, obtain the red envelope distribution authority.
- the above-mentioned number of categories refers to the number of types of electronic certificates collected by the user, and the specific value of the above-mentioned first preset threshold is not limited in this application, and can be determined according to actual needs in practical applications.
- the user can collect the electronic certificate in various ways through the client.
- the user may collect electronic credentials issued by the server when the user meets the issuance conditions through the client, or may collect electronic credentials donated by other users with social relationships.
- the above-mentioned client may be an AR (Augmented Reality, augmented reality) client, and the user may scan an image of a specific offline target through the AR client to trigger the server to issue a distribution to the user.
- Electronic Credentials may be an AR (Augmented Reality, augmented reality) client, and the user may scan an image of a specific offline target through the AR client to trigger the server to issue a distribution to the user.
- the user can use the AR client to scan the image of the preset graphic logo deployed offline to trigger the server to issue an electronic certificate for the user; or, the user can also use the AR client to scan any or specific tasks for people The face scans the image to trigger the server to issue an electronic certificate for the user.
- the user can also interact with other users who have social relations with the user to obtain electronic credentials held by other users.
- the server may also issue some virtual props to users, and users can "snatch" electronic credentials held by other users by using these virtual props;
- these virtual props can be special electronic credentials, and after the user "uses" these special electronic credentials, he can select a specific user from other users with social relations, and select a specific user from the Electronic vouchers are randomly selected from the electronic vouchers and used as their own.
- an electronic certificate can also be obtained through a hand-drawn logo.
- the present application provides a variety of entrances for users to enter the interactive interface.
- the user can enter the interactive interface by providing a hand-drawn option in the activity interface for receiving the red envelope.
- the hand-drawn option provided by the activity interface can be triggered by operations such as clicking.
- the client terminal may output an interactive interface including a hand-drawn area to the above-mentioned user, for the user to complete the logo drawing.
- a hand-drawn option may be provided in the interface indicating that the electronic voucher has been collected today, for the user to interact with the interface.
- the client terminal may display to the user an interface indicating that the collection of today's electronic voucher has been completed. Users can trigger hand-drawn options in this world by clicking and other actions. After the client client detects the above-mentioned operation of the user, an interactive interface including a hand-drawn area can be output to the above-mentioned user for the user to complete the logo drawing.
- the above-mentioned client terminal can display the relevant operation instructions of hand-drawn logo to the user to obtain the electronic certificate when outputting the interactive interface to the user for the first time, so that the user can understand how to draw the logo and how to obtain the electronic certificate.
- the hand-drawn area provided by the above-mentioned interactive interface for the user is a grid of rice characters.
- the user can swipe on the screen of the client device to complete the drawing of the logo.
- the interactive interface may include multiple font options.
- the above-mentioned interactive interface may include preset font options such as free creation, Song type, Kai type, and Yan type.
- a font option corresponding to each font may display a sample of the preset logo drawn with the font.
- the user can select various font options to complete the logo drawing.
- the user can complete the drawing of the target logo according to his own drawing habits without being restricted by the font. Thereby, the user's sense of experience can be increased, and the willingness of the user to draw the logo can be improved.
- the client when the user selects the Song style option, the client can render the target logo drawn by the user, and obtain the target logo in the New Song style format most similar to the target logo actually drawn by the user. In this way, the user can be assisted in drawing, and the convenience for the user to draw the logo can be improved.
- the above-mentioned client can generate a trajectory corresponding to the thickness and display it to the user in the hand-drawn area by detecting the user's pressing force on the terminal screen during the sliding process and/or the contact area with the terminal screen, so as to facilitate the user to draw More personalized logos increase user interest and enhance user experience.
- the above-described client may store logos drawn by the user under different font options. Thereby, the user can compare the logos drawn under different fonts to select the most satisfactory logo among them.
- the above-mentioned interactive interface may further include rewrite and/or undo options.
- the above-mentioned rewrite option can be triggered by operations such as clicking to redraw the logo. Or trigger the undo option above to undo the most recent step drawn. In this way, it is convenient for the user to draw a satisfactory logo, and the user experience is improved.
- the client may also provide the user with decorative elements for the user to beautify the drawn logo.
- the above-mentioned interactive interface further includes several decoration options corresponding to the above-mentioned hand-painted areas. Users can trigger operations for each of the provided decoration options by clicking and other operations.
- the client terminal executes a decoration function corresponding to the above-mentioned decoration option, and decorates the above-mentioned target identifier input by the user by hand.
- the above-mentioned decoration options include one or more of the following combinations: decoration options corresponding to the decoration function of modifying fonts; decoration options corresponding to the decoration function of adding decoration parts for the hand-drawn input target identification; A decoration option corresponding to the decoration function of adding the user's digital signature to the hand-drawn input target identification.
- the drop-down options corresponding to the decoration options for modifying the decoration function of the font may include multiple font options.
- the logo font can be changed by selecting any font option under the decoration option. Therefore, the font selection can be facilitated by the user.
- the above-mentioned decoration options corresponding to the decoration function of adding decoration parts to the hand-drawn input target identification may include various types of decoration sub-options.
- the above-mentioned types may include popular types, types representing a certain custom, types representing the meaning of curse, and so on.
- the above-mentioned popular types may include several decoration sub-options that are selected by the user multiple times within a certain period of time.
- the display position corresponding to the decoration sub-options in the above-mentioned interactive interface may display image elements corresponding to each decoration sub-option. In this way, it is convenient for the user to intuitively select a satisfactory image element.
- the client can display the logo currently drawn by the user through the third display page.
- the above-mentioned client can add the image element corresponding to the sub-option to the above-mentioned third display page.
- the client can provide the user with operation options such as mirroring, deleting, enlarging, and rotating the image element, and the user can complete the related processing of the image element by triggering any of the above operation options.
- the user can drag the above image element to move the image element to the appropriate position. In this way, the user can obtain satisfactory image elements and draw a more personalized logo, thereby adding interest to the user and improving the user experience.
- the above-mentioned decoration options corresponding to the decoration function of adding the user's digital signature to the hand-drawn input target identification may include a character input box.
- the character input box may be displayed on the third display page in advance.
- the input function of the above character input box can be triggered by operations such as clicking.
- an input interface for the user to input characters may pop up. The user can input the characters he wants to input in the above input interface.
- the number of characters that the user can input may be limited.
- the user may add a new character input box in the above-mentioned third display page by long-pressing the screen or the like.
- the number of decoration elements added by the user can be detected in real time.
- the above-mentioned decorative elements may include image elements and character input boxes.
- the number of decorative elements added by the user reaches a preset number, the user can be reminded of excessive decoration, so that the user can stop decorating or replace the existing decorative elements. In this way, it is possible to prevent the user from affecting the aesthetics of the drawn logo due to the influence of adding too many decorative elements.
- the above-mentioned interactive interface may display the logo completed by the user through the fifth display interface.
- the above-mentioned fifth display interface further includes a generation option corresponding to the above-mentioned preset identifier.
- the above-mentioned client terminal may, in response to the user's triggering operation for the above-mentioned generation option, identify whether the above-mentioned target identifier hand-drawn input by the user is a preset identifier.
- the aforementioned client may include a preset identifier.
- the client can first delete the decorative elements added by the user to obtain the initial identification drawn by the user. Then, the above-mentioned initial mark is detected by the OCR model, and the first Chinese character represented by the above-mentioned initial mark is obtained. If the first Chinese character is the same as the second Chinese character represented by the preset identifier, it is determined that the target identifier is the preset identifier; otherwise, it is determined that the target identifier is not the preset identifier.
- the target identifier may be displayed to the user through a second display interface corresponding to the target identifier.
- the above-mentioned client may input the above-mentioned user's hand-drawn drawing process of the above-mentioned target identification, and/or, the above-mentioned decoration process for the above-mentioned target identification input by hand-drawn by the user, through the second display interface corresponding to the above-mentioned target identification.
- the above user displays the output. In this way, the user's drawing process or decoration process can be fed back to improve the user's experience.
- the above-mentioned second display interface is specifically used to display the target identifier drawn by the user.
- the client may record the drawing process of the user when drawing the logo, and/or the decoration process of decorating the logo.
- the client detects that the target identifier of the user's turn-based system is a preset identifier, it can generate a corresponding animation based on the recorded drawing process and/or the decoration process, and display the above animation through the second display interface.
- the above-mentioned second display interface may further include an option to replace the logo and an option to save the logo.
- the user can redraw the logo by triggering the Replace logo option.
- the user can save the final effect of the drawn logo and/or the animation of the drawn logo locally or in the cloud. In this way, the recording of the user's drawing results can be realized, and it is convenient for the user to share the drawn logo with the user through various sharing channels.
- illegal content detection may be performed on the target identifier drawn by the user, and after the illegal content detection is passed, the above-mentioned second display interface is output.
- a library of illegal identifiers may be maintained in advance.
- each logo input by the user can be identified through the target detection model. Then, it is determined whether the identified identifiers hit the identifiers in the illegal identifier library. If no mark is hit, it is determined that the mark drawn by the user is not an illegal mark. Therefore, it can be determined that the user has drawn an illegal logo. Thereby, it is possible to avoid the generation of illegal identifications, thereby avoiding the spread of illegal identifications.
- the above-mentioned second display interface may include a second claim option corresponding to the above-mentioned electronic voucher.
- the above-mentioned second collection option is used to trigger the client to send an electronic certificate obtaining request to the server.
- the above-mentioned second collection option can be triggered by an operation such as clicking.
- the above-mentioned client terminal may send an electronic certificate acquisition request to the above-mentioned server terminal in response to the above-mentioned user's trigger operation corresponding to the above-mentioned second claim option.
- the above-mentioned electronic certificate acquisition request includes indication information indicating that the above-mentioned target identifier is a recognition result of a preset identifier.
- the above-mentioned server can perform content verification on the above-mentioned indication information in response to the above-mentioned electronic certificate acquisition request, and when the verification is passed, allocate an electronic certificate to the above-mentioned user from a preset set of electronic certificates. .
- the electronic vouchers in the electronic voucher set are respectively configured with distribution probabilities; wherein, the distribution probability represents the probability that the user obtains the electronic voucher.
- the electronic certificate allocated by the server to the user from the electronic certificate set includes the electronic certificate with the lowest distribution probability in the electronic certificate set.
- the server maintains the distribution probability of the electronic voucher obtained by the user through a non-drawing identification method such as scanning, wherein the distribution probability corresponding to the first electronic voucher is the lowest.
- a non-drawing identification method such as scanning
- the distribution probability corresponding to the first electronic voucher is the lowest.
- the server may return a type tag corresponding to the electronic credential.
- the above-mentioned client can generate a detailed interface corresponding to the electronic certificate according to the electronic certificate type indicated by the type label and the target identifier drawn by the user.
- the above-mentioned details interface may include a first collection option corresponding to the above-mentioned electronic certificate.
- the electronic voucher returned by the server can be added to the set of electronic vouchers used by the user.
- the above-mentioned first collection option can be triggered by operations such as clicking.
- the above-mentioned client terminal may switch to the first display interface corresponding to the above-mentioned electronic certificate in response to the above-mentioned user's trigger operation for the above-mentioned first claim option; wherein, the above-mentioned first display interface includes multiple displays corresponding to different types of electronic certificates. Location.
- the client terminal may add the target identifier as an icon corresponding to the electronic certificate to the target display position corresponding to the category of the electronic certificate in the first display interface for display.
- the electronic certificate returned by the server is the first type of electronic certificate.
- the above-mentioned first display interface includes a plurality of display positions corresponding to the first to Nth types of electronic certificates.
- the upper right corner of the icon on each placement shows the number of this type of e-voucher.
- the drawn exclusive electronic certificate can be displayed to the user, thereby enhancing the user's interest in participating.
- the client terminal may also replace the icon of the electronic certificate displayed in the above-mentioned first display interface and other display positions other than the above-mentioned target display position with the above-mentioned target identifier. In this way, the logo drawn by the user can be displayed to the user more intuitively, and the user experience can be improved.
- the user can present the electronic voucher corresponding to the displayed image to other users by triggering the displayed image added in the displayed position. Thereby, the gift of the electronic certificate can be realized.
- the second display interface may include a sharing option corresponding to the target identifier input by the user by hand.
- the above-mentioned client terminal may output a sharing interface corresponding to the above-mentioned target identifier in response to the user's triggering operation for the above-mentioned sharing option.
- the above-mentioned sharing interface may include various sharing channels.
- the user can select any one of the sharing channels, and select a target user to share the exclusive identification from several users provided by the sharing channel, and complete the sharing operation on the above-mentioned sharing interface.
- the above-mentioned client terminal may share the above-mentioned target identifier with the target user in response to the above-mentioned user's sharing operation in the above-mentioned sharing interface. In this way, the sharing of the exclusive logo drawn by the user can be completed, which further enhances the user experience and enhances the fun of the red-envelope activity.
- the client corresponding to the target user may construct an electronic credential acquisition request and send the request to the corresponding server.
- the server may allocate the electronic certificate to the target user from a preset electronic certificate set, and display the target identifier as an icon corresponding to the electronic certificate to the target user.
- the client terminal may output a fourth display interface corresponding to the target identifier to the user in response to the user completing the collection of the exclusive electronic certificate, wherein the fourth display interface includes a gift option.
- the above-mentioned user can trigger the above-mentioned gift option through operations such as clicking, and the above-mentioned client can respond to the above-mentioned user's triggering operation for the above-mentioned gift option, and obtain the above-mentioned server as Additional electronic vouchers assigned by the user for gifting.
- the additional electronic certificate allocated by the above-mentioned server to the user is obtained, and a gift interface corresponding to the above-mentioned additional electronic certificate is displayed to the above-mentioned user; wherein, the above-mentioned gift interface includes: Icons corresponding to the above target identifiers.
- the above-mentioned additional electronic certificate may be an electronic certificate for presenting.
- the additional electronic voucher can only be used for gifting and cannot be used for other purposes.
- the above client can construct a gift request and send it to the server.
- the above-mentioned server can select a certain type of electronic certificate from the set of saved electronic certificates in response to the gift request and return it to the above-mentioned client as an additional electronic certificate.
- the above-mentioned client can generate the above-mentioned gift interface according to the type of the received additional electronic certificate and the image element of the target identification, for the user to perform the gift operation.
- the gifting interface described above may include multiple gifting channels.
- the user can select any one of the gift channels, and select the target user to be gifted from several users provided by the gift channel, and complete the gift operation on the gift interface above.
- the above-mentioned client terminal may send the above-mentioned additional electronic certificate to the target user in response to the sending operation initiated by the above-mentioned user, so that when the above-mentioned target user receives the above-mentioned additional electronic certificate through the target client terminal, the above-mentioned target client The icon corresponding to the above-mentioned additional electronic certificate is displayed to the above-mentioned target user.
- the above-mentioned client terminal may send the above-mentioned additional electronic credential to the target client terminal corresponding to the above-mentioned target user.
- the target client may pop up a detail interface corresponding to the additional electronic certificate, and display the animation of the user drawing and decorating the target logo in the interface.
- the icon corresponding to the above target identifier may be displayed to the above target user in the above detailed interface as an icon corresponding to the above electronic certificate.
- the above-mentioned target user can click on the confirmation receiving option included in the above-mentioned details interface to complete the field of the additional electronic certificate.
- the interest of users can be increased, and on the other hand, the dissemination of exclusive electronic certificates can be realized and the degree of dissemination can be increased.
- different display interfaces may be triggered at different time points to provide the user with different services.
- the above-mentioned client can determine whether the preset time is obtained at the current time.
- the above-mentioned preset time may be a time set according to a service. This moment serves as a dividing line, and the user can enjoy different services after completing the drawing of the logo before and after the preset moment.
- the above-mentioned client may input the above-mentioned user's hand-drawn drawing process of the above-mentioned target identification, and/or, the above-mentioned user's decoration process for the above-mentioned target identification input by hand-drawing, by matching the above-mentioned target identification
- the second display interface corresponding to the logo is output and displayed to the above-mentioned user, and the aforementioned services such as obtaining an electronic certificate and sharing the electronic certificate are provided to the user.
- the above-mentioned client may input the above-mentioned user's hand-drawn drawing process of the above-mentioned target mark, and/or, the above-mentioned user's decoration process for the above-mentioned target mark input by hand-drawing, by combining with the above-mentioned
- the third display interface corresponding to the target identifier is output and displayed to the above-mentioned user; wherein, the above-mentioned third display interface includes a printing option corresponding to the above-mentioned target identifier.
- the third display interface includes a printing option that can trigger the logo printing service, so that the logo printing service can be provided for the user.
- the above-mentioned print options can be triggered when used for the target identification that needs to be printed and drawn.
- the above-mentioned client terminal may output a service redemption interface corresponding to the above-mentioned interactive interface to the above-mentioned user in response to the user's triggering operation on the above-mentioned printing option.
- the service redemption interface described above may include redemption content and confirmation options.
- the above-mentioned exchange content may indicate virtual assets (eg, points, etc.) that the user needs to pay if the printing service needs to be exchanged. If the user agrees to the redemption, the above confirmation option can be triggered to complete the redemption.
- the above-mentioned client may output a payment interface to the above-mentioned user in response to the above-mentioned user redeeming and completing the above-mentioned printing service.
- the user can complete the payment corresponding to the above-mentioned printing service in the above-mentioned payment interface.
- the above client can construct a print request and send it to the above server.
- the above-mentioned server can generate a service order corresponding to the above-mentioned printing service, and send the service order to the merchant providing the printing service to complete the printing of the target identification.
- the service order may include a mailing address used by the user to receive the printed target identification, so that the merchant can send the printed target identification to the user.
- the client terminal can also judge in the background in real time whether the number of categories of electronic vouchers stored locally has reached the first preset threshold; The preset threshold, at this time, the user has already obtained the red envelope distribution authority.
- the client can send a red envelope allocation request (equivalent to the above virtual resource allocation request) to the server, and carry several electronic credentials in the red envelope allocation request.
- the number of electronic vouchers and the number of categories carried in the red envelope distribution request may be both the above-mentioned first preset thresholds, so that the server can obtain the red envelope distribution request after receiving the red envelope distribution request. , and then verify the electronic certificate carried in the .
- the operation of the client sending the red envelope allocation request to the server can be triggered manually by the user, or can be triggered automatically by the client when it determines that the number of categories of collected electronic credentials reaches the first number.
- a trigger button for triggering the client to initiate an object allocation request to the server may be provided on the display position corresponding to each electronic certificate.
- a prompt can be output to the user (for example, outputting a related animation special effect to prompt the user) to prompt the user that the red envelope distribution authority can currently be obtained, and then the client can respond to the user's triggering of the trigger button. Operation, send the above red packet distribution request to the server.
- the server After receiving the red envelope distribution request sent by the client, the server can verify the number of categories of electronic certificates carried in it; if the server verifies the electronic certificates carried in the red envelope distribution request, it determines that the red envelope The number of categories of electronic vouchers carried in the distribution request reaches the first preset threshold.
- the user can be granted the authority to distribute red envelopes, and immediately based on the preset distribution rules from the preset "red envelope fund pool" (equivalent to the above-mentioned preset A certain amount of red envelopes will be issued to the user in the set of virtual resources set), or a certain amount of red envelopes will be issued to the user from the preset “red envelope fund pool” based on the preset distribution rules after the designated red envelope issuance time arrives. .
- the distribution rules adopted by the server when distributing red envelopes to the user from the preset "red envelope fund pool” can be formulated based on actual business needs.
- the server can count the number of all users who have been granted red envelope distribution rights, and calculate the average distribution of the total amount of red envelopes to be distributed in the "red envelope fund pool" based on the counted number of users; at this time, the calculated The average distribution is the number of red packets that need to be distributed to each user. In this case, the server can issue a corresponding amount of red envelopes to each user from the "red envelope fund pool" based on the calculated average distribution.
- the server can also randomly select a certain amount of red envelopes for the user from the "red envelope fund pool" when distributing red envelopes for the user; for example, the server can use a preset random algorithm based on Combined with the total amount of red envelopes to be issued in the "red envelope fund pool", a random number is calculated for the user, and then the corresponding amount of red envelopes is issued to the user according to the random number.
- the above client may be an Alipay client (referred to as a client).
- the above server may be a payment platform connected with the Alipay client.
- the above virtual resource set may refer to the operator of the payment platform or the fund account of the enterprise that cooperates with the operator of the payment platform.
- the funds under the capital account are the total amount of funds used to issue red envelopes to users.
- the above-mentioned electronic vouchers can include five types of virtual $9 cards, such as “Shou Kangfu”, “Friendship $9”, “Fuqiangfu”, “Jiahefu” and “Caiwangfu”.
- virtual blessing cards such as “Shou Kangfu”, “Friendship blessing”, “Fuqiangfu”, “Jiahefu” and “Caiwangfu”.
- the server can also issue some special virtual Fu cards to users as virtual props; By "using” the lucky card, you can interact with other users with social relations, and randomly “copy” and obtain the curse card held by other users on the basis that the $9 card held by other users is not reduced.
- FIG. 2 is a schematic diagram of a Fuka display interface shown in this application.
- the above-mentioned Fuka display interface (that is, the aforementioned first display interface) may specifically be the “My Fuka” interface; in this interface, the above 5 types of Fuka held by the user and the curse of luck can be displayed. Cards provide corresponding placements.
- icons of the word "Fu” corresponding to various types of Fu cards.
- no icon may be displayed at the display position corresponding to the fortune card, or a certain type of icon indicating that the user lacks this type of fortune card may be displayed.
- the special virtual blessing card issued by the server to the user may also include special $9 cards such as "universal blessing card” and "Huahua card”; that is, the payment platform's special blessing card
- special blessing cards such as "universal blessing card” and "Huahua card”; that is, the payment platform's special blessing card
- the operator can flexibly customize virtual props corresponding to various functions for users based on actual needs, which will not be listed one by one in this application.
- FIG. 3 is a schematic diagram of an activity portal display interface shown in this application.
- the above-mentioned client terminal can display the activity entrance display interface (ie, the aforementioned activity interface) for the user.
- the interface may include options of "My Fu Card”, “Sweeping Fu Character”, and “Writing Fu Character” (ie, the aforementioned hand-drawn option, at this time, the sign drawn by the user is the Chinese character "Fu").
- the background images and page layouts shown in FIG. 3 are only schematic, and do not limit the solutions described in this application.
- the display interface may also include other options, which are not listed here.
- the above client can determine whether the user triggers this option for the first time. If the user enters the "Writing Fuzi" interface for the first time, the relevant instructions for "Writing Fuzi" can be displayed to the user; otherwise, the interactive interface can be directly displayed to the user by writing the Fuzi.
- FIG. 4 is a schematic diagram of an interactive interface for writing curses according to the present application.
- the above-mentioned interactive interface for writing the curse character may include a hand-drawn area for the user to write the curse character, and several font options.
- Figure 4 shows font options such as “Free Font”, “Official Script” and “Young Yuan”.
- the above hand-drawn area may display writing tracks of different thicknesses according to factors such as the pressing force of the user's finger on the terminal screen and the contact area between the finger and the terminal device.
- the user finishes writing a blessing he or she can trigger the decoration my $9 option in the interface of Figure 4.
- the client can respond to the user triggering this option, use the OCR model to identify the logo written by the user, determine whether the logo is the word "Fu", and if so, it can provide the user with a display interface corresponding to the decorative blessing character (i.e., the fifth aforementioned). display interface); otherwise, the user can be reminded to rewrite the curse.
- FIG. 5 is a schematic diagram of a display interface of a decorative blessing character shown in the present application.
- the above-mentioned decorative blessing character display interface may include a display area for a user's $9 character decoration effect, and several decoration options.
- Fig. 5 shows decoration options such as “Popular”, “New Year's Taste”, “Blessing”, and digital signature.
- the decoration blessing character display interface can also display several sub-decoration options under the clicked decoration option to the user, and the user can select any of the above-mentioned sub-decoration options.
- the user selects the "Cow's Horn” sub-option under the "New Year's Taste” option, and the client can add the image element corresponding to the above-mentioned "Cow's Horn” sub-option to the above-mentioned display area.
- the user can perform operations such as dragging, enlarging, rotating, deleting, etc. on the above image elements in the display area until a satisfactory decorative effect is obtained.
- the user can also click the digital signature decoration option corresponding to "Ox Year Daji", and then input personalized characters in the pop-up input window. For example, characters such as "Made by XXX" can be entered.
- the option to generate my $9 in the interface of Figure 5 can be triggered.
- the client can respond to the user triggering this option, identify the logo written by the user, determine whether the logo is the word "Fu", and if so, can further identify whether the ratio between the size of the above-mentioned user-written logo and the size of the above-mentioned hand-painted area is not.
- a second preset threshold for example, 0.6
- the ratio of the size of the writing mark to the size of the hand-drawn area reaches the second preset threshold, a follow-up service is provided to the user. Therefore, on the one hand, the identification written by the user can be recognized to ensure that the character "Fu" is written by the user; on the other hand, the possibility of the user spreading "illegal characters" can be excluded.
- the current moment when the user clicks the Generate My Fortune option can be determined, and it is determined whether the above-mentioned current moment reaches the preset moment.
- the animation of the user writing and decorating the blessing can be displayed to the user through the display interface corresponding to receiving the Fu card (that is, the aforementioned second interface); Three interfaces) show the user the animation of writing and decorating the curse character.
- FIG. 6 is a schematic diagram of a display interface for printing Fuka according to the present application.
- the above-mentioned display interface corresponding to the printed blessing card may include a display area displaying the decorative effect of decorating the written curse character, and several function options.
- the third interface shown in FIG. 6 may include options of "write another", “save” and “print my curse”.
- the user can enter the writing curse process again. If the user selects the "Save” option, the decorated blessing character can be saved on the terminal device or the cloud to share the curse character through various channels such as "Circle of Moments", thereby enhancing the participation in writing curse.
- the client terminal may output a print service redemption interface to the user, and the user can complete the redemption in the redemption interface. After that, the client can provide a payment interface to the user. After the user completes the payment on the payment interface, the client can send the successful payment result and the user's corresponding recipient address to the above payment platform.
- the above-mentioned payment platform can generate a service order corresponding to the above-mentioned printing service, and send the service order to the merchant providing the printing service to complete the printing.
- FIG. 7 is a schematic diagram of a display interface for receiving a Fu card shown in this application.
- the above-mentioned display interface for receiving a blessing card may include a display area displaying the decorative effect of decorating the writing curse character, and several function options.
- the second interface shown in FIG. 7 may include options of "replace lucky characters", “save” and “get exclusive lucky card immediately”.
- the above-mentioned client sends a request for obtaining a $9 card to the above-mentioned payment platform in response to the operation.
- the above-mentioned payment platform may select a type of lucky card with the lowest allocation probability configured from the saved blessing card set as the $9 card allocated to the user. Then the above payment platform can return the type identifier (assuming it is Wangcaifu) corresponding to the allocated Fuka to the above-mentioned client.
- the above-mentioned client can generate a detailed interface corresponding to Wang Caifu according to the received type identifier and the image element corresponding to the "Fu" currently displayed in the above-mentioned display area, and display the detailed interface to the user in the form of a pop-up window. .
- FIG. 8 is a schematic diagram of a detailed interface shown in this application.
- the above-mentioned details interface may include a display area displaying the electronic certificate as Wang Caifu and displaying the user's decorative curse characters, as well as several functional options.
- the details interface shown in FIG. 8 may include an option of "Accept Fuka”.
- the above-mentioned client can save the exclusive Foka locally.
- the above-mentioned client terminal can display the Fuka display interface as shown in FIG. 2 to the user. And replace the icon on the display position corresponding to Wang Caifu with the exclusive word of $9 handwritten by the user.
- the user can also choose to replace the icons on other display positions in the Fuka display interface with the above-mentioned exclusive Fu character. In this way, the exclusive blessing character can be displayed to the user, and the enthusiasm of the user to participate in the handwriting of the curse character can be promoted.
- the above-mentioned client terminal may further display a fourth display interface to the user.
- FIG. 9 is a schematic diagram of a fourth display interface shown in this application.
- the above-mentioned fourth display interface may include a display area for displaying the user-specific $9 character, and several function options.
- the fourth display interface shown in FIG. 9 may include the option of "Pick another one to send to a friend".
- the above-mentioned client can interact with the above-mentioned payment platform to obtain the exclusive blessing card presented by the user, and render the exclusive blessing character handwritten by the user into the above-mentioned exclusive blessing card. Then, the above-mentioned client terminal may present a gift interface to the user.
- FIG. 10 is a schematic diagram of a gift interface shown in this application.
- the above-mentioned gift interface may include a display area for displaying the exclusive blessing card, and several gift channel options.
- the gifting interface shown in FIG. 10 may include gifting channel options such as gifting to friends, third-party channel 1, and third-party channel 2.
- the user can choose any gift channel. Assuming that the user chooses the option of gifting a friend, the Alipay friend list can be displayed to the user for the user to select the target user to gift the exclusive blessing card.
- FIG. 11 is a schematic diagram of a friend list shown in this application.
- the above-mentioned friend list may display the friend information of the above-mentioned user, and the number of good cards of each friend user. If there are too many users, the user can also locate the target user through the search window.
- the user can click the gift button behind the target user to complete the gift operation.
- the above-mentioned client terminal may present the above-mentioned exclusive Fu card to the target client terminal corresponding to the above-mentioned target user in response to the user completing the gift operation.
- the above-mentioned target client can show the above-mentioned animation of the user's handwriting and decoration of the above-mentioned exclusive Fu character to the above-mentioned target user, and show the above-mentioned exclusive Fu card to the above-mentioned target user after the animation is completed.
- the above-mentioned target users can complete the collection of the Fu card by clicking the option to receive the Fu card. In this way, the dissemination of exclusive Foka can be completed and the interest of users can be enhanced.
- the user can obtain the right to distribute red packets, and the client can send a "red packet distribution request" (that is, the above virtual resource allocation request) to the server to request the server to be the user Allocating red envelopes, the specific implementation process will not be repeated.
- a "red packet distribution request" that is, the above virtual resource allocation request
- the present application further provides an interactive device based on an electronic certificate.
- FIG. 12 is a schematic structural diagram of an electronic certificate-based interactive device shown in the present application.
- the above-mentioned apparatus 1200 may include: an output module 1210 , in response to an interactive operation initiated by a user, outputting an interactive interface to the above-mentioned user; wherein, the above-mentioned interactive interface includes a hand-painted area; The target identifier of the hand-drawn input in the above-mentioned hand-drawn area, and identify whether the above-mentioned target identifier hand-drawn input by the above-mentioned user is a preset identifier; the first display module 1230, if the above-mentioned target identifier is a preset identifier, obtains the electronic device assigned by the server to the above-mentioned user.
- the above-mentioned target identifier is displayed to the above-mentioned user as an icon corresponding to the above-mentioned electronic certificate; wherein, the above-mentioned electronic certificate is used to obtain the collection authority of the virtual resources in the preset virtual resource set.
- the user when the number of categories of the obtained electronic credentials reaches a first preset threshold, the user obtains the right to receive virtual resources in the preset virtual resource set.
- the indicia described above include characters.
- the above-mentioned virtual resources include virtual red envelopes; and the above-mentioned characters include the Chinese character Fu.
- the above-mentioned first display module 1230 is specifically configured to: output the detailed interface corresponding to the above-mentioned electronic certificate to the above-mentioned user, and use the above-mentioned target identifier as an icon corresponding to the above-mentioned electronic certificate in the above-mentioned detailed interface Display output.
- the details interface includes a first claim option corresponding to the electronic voucher; the first display module 1230 is specifically configured to: in response to the user triggering the first claim option, switch to a first display interface corresponding to the above-mentioned electronic certificate; wherein, the above-mentioned first display interface includes a plurality of display positions corresponding to different types of electronic certificates; the above-mentioned target identifier is added as an icon corresponding to the above-mentioned electronic certificate to the above-mentioned first display The target placement corresponding to the category of the above electronic certificate in the display interface is displayed.
- the above-mentioned first display module 1230 is specifically configured to: determine whether an icon is displayed on the target display position corresponding to the category of the above-mentioned electronic certificate in the above-mentioned first display interface; The icon is replaced with the above-mentioned target identification; if not, the above-mentioned target identification is used as the icon corresponding to the above-mentioned electronic certificate, and is added to the above-mentioned target display position for display.
- the above-mentioned apparatus 1200 further includes: a replacement module, which replaces the above-mentioned target identification with the above-mentioned target identifier for the icon of the electronic certificate displayed in the above-mentioned first display interface and other display positions other than the above-mentioned target display position.
- the activity interface corresponding to the above-mentioned electronic certificate includes a hand-drawn option corresponding to the above-mentioned preset identifier; the above-mentioned output module 1210 is specifically configured to: in response to a trigger operation for the above-mentioned hand-drawn option initiated by the user, send the The above-mentioned user outputs an interactive interface corresponding to the above-mentioned hand-drawn option.
- the above-mentioned interactive interface further includes several decoration options corresponding to the above-mentioned hand-painted area;
- the above-mentioned apparatus 1200 further includes: a decoration module, in response to a user triggering operation for any decoration option in the above-mentioned several decoration options, The decoration function corresponding to the decoration option is executed to decorate the target identification hand-drawn input by the user.
- the above-mentioned decoration options include one or more of the following combinations: a decoration option corresponding to a decoration function of modifying fonts; a decoration function corresponding to adding a decoration component to the hand-drawn input target identification decoration options; decoration options corresponding to the decoration function of adding the user's digital signature to the hand-drawn input target identification.
- the above-mentioned interactive interface further includes a generation option corresponding to the above-mentioned preset identifier; the above-mentioned acquisition and identification module 1220 is specifically configured to: in response to a user triggering operation on the above-mentioned generation option, identify the above-mentioned user's hand-drawn input Whether the above target identifier is a preset identifier.
- the above-mentioned apparatus 1200 further includes: a second display module, if the above-mentioned target identifier is a preset identifier, the drawing process of inputting the above-mentioned target identifier by hand by the user, and/or, the above-mentioned user for the hand-drawn input.
- the decoration process of the above-mentioned target identification is output and displayed to the above-mentioned user through the second display interface corresponding to the above-mentioned target identification.
- the above-mentioned apparatus 1200 further includes: a further identification module, if the above-mentioned target identifier is a preset identifier, to further identify whether the ratio of the size of the above-mentioned target identifier input by the user hand-drawn to the size of the above-mentioned hand-drawn area reaches The second preset threshold; if yes, further output the above-mentioned second display interface to the above-mentioned user; if not, clear the content of the above-mentioned hand-drawn input by the above-mentioned user in the above-mentioned hand-drawn area, and prompt the above-mentioned user to re-hand-draw input in the above-mentioned hand-drawn area; or , if the above-mentioned target mark is a preset mark, further identify whether the above-mentioned user has input an illegal mark by hand in the above-mentioned hand-drawn area
- the above-mentioned second display interface includes a second claim option corresponding to the above-mentioned electronic voucher;
- the above-mentioned acquisition and identification module 1220 is specifically configured to: in response to the above-mentioned user trigger operation corresponding to the above-mentioned second claim option , sending an electronic certificate acquisition request to the above-mentioned server, so that the above-mentioned server responds to the above-mentioned electronic certificate acquisition request and allocates electronic certificates to the above-mentioned users from a preset electronic certificate set; wherein, the above-mentioned electronic certificate set includes the number of categories as the first A multi-type electronic certificate with a preset threshold; obtaining the electronic certificate allocated by the server to the user from the electronic certificate set.
- the acquisition and identification module 1220 is specifically configured to: send an electronic credential acquisition request to the server; wherein the electronic credential acquisition request includes an indication indicating that the target identifier is a recognition result of a preset identifier information, so that the server can verify the content of the indication information in response to the request for obtaining the electronic certificate, and when the verification is passed, assign the user an electronic certificate from a preset set of electronic certificates.
- the electronic vouchers in the electronic voucher set are respectively configured with distribution probabilities; wherein, the distribution probability represents the probability that the user obtains the electronic voucher; the server selects the electronic voucher from the electronic voucher set for the above
- the electronic vouchers allocated by the user include the electronic vouchers with the lowest distribution probability in the above-mentioned set of electronic vouchers.
- the above-mentioned apparatus 1200 further includes: a determining module to determine whether the current time reaches a preset time; the above-mentioned second display module is specifically configured to: if the current time reaches the preset time, input the above-mentioned user's hand drawing into the above-mentioned The drawing process of the target logo, and/or the above-mentioned decoration process of the above-mentioned target logo input by hand by the user, is output and displayed to the above-mentioned user through the second display interface corresponding to the above-mentioned target logo.
- the above-mentioned apparatus 1200 further includes: a third display module, if the current moment does not reach the preset moment, the above-mentioned user hand-drawn input to the drawing process of the above-mentioned target identifier, and/or, the above-mentioned user input for the hand-drawn input
- the decoration process of the above-mentioned target identification is output and displayed to the above-mentioned user through a third display interface corresponding to the above-mentioned target identification; wherein, the above-mentioned third display interface includes a printing option corresponding to the above-mentioned target identification;
- the above-mentioned device 1200 also includes: printing The module, in response to the user's trigger operation for the above-mentioned printing option, outputs the service exchange interface corresponding to the above-mentioned interactive interface to the above-mentioned user, so that the above-mentioned user exchanges the printing service corresponding to the above-mentione
- the above-mentioned apparatus 1200 further includes: a gift module, in response to the operation of the above-mentioned user receiving the above-mentioned electronic certificate, outputting a fourth display interface corresponding to the above-mentioned target identifier to the above-mentioned user; wherein, the above-mentioned fourth display interface
- the display interface includes a gift option; in response to the trigger operation of the above-mentioned user for the above-mentioned gift option, obtain the additional electronic certificate allocated by the above-mentioned server for the user for gifting; in response to the sending operation initiated by the above-mentioned user, the above-mentioned additional electronic certificate It is sent to the target user so that when the target user receives the additional electronic voucher through the target client, the target client displays the target identification as an icon corresponding to the additional electronic voucher to the target user.
- an electronic device which may include: a processor.
- Memory used to store processor-executable instructions.
- the above-mentioned processor is configured to invoke the executable instructions stored in the above-mentioned memory to implement the interaction method shown in any of the above-mentioned embodiments.
- FIG. 13 is a schematic diagram of a hardware structure of an electronic device shown in this application.
- the electronic device may include a processor for executing instructions, a network interface for performing network connection, a memory for storing operating data for the processor, and a non-volatile memory for storing instructions corresponding to the interactive device. volatile memory.
- the embodiment of the interactive device may be implemented by software, or implemented by hardware or a combination of software and hardware.
- a device in a logical sense is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory for operation by the processor of the electronic device where the device is located.
- the electronic device where the apparatus is located in the embodiment may also include other Hardware, no further details on this.
- the corresponding instructions of the interactive device can also be directly stored in the memory, which is not limited here.
- the present application provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is used to execute the interaction method shown in any of the foregoing embodiments.
- one or more embodiments of the present application may be provided as a method, system or computer program product. Accordingly, one or more embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present application may employ a computer implemented above in one or more computer-usable storage media (which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein The form of the program product.
- computer-usable storage media which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.
- Embodiments of the subject matter and functional operations described in this application can be implemented in digital electronic circuits, in tangible embodiment of computer software or firmware, in computer hardware which can include the structures disclosed in this application and their structural equivalents, or in A combination of one or more of.
- Embodiments of the subject matter described in this application may be implemented as one or more computer programs, ie, one or more of the computer program instructions encoded on a tangible non-transitory program carrier as described above for execution by or to control the operation of a data processing apparatus or multiple modules.
- the program instructions may be encoded in an artificially generated propagated signal as described above, such as a machine-generated electrical, optical or electromagnetic signal, which is generated to encode and transmit information to a suitable receiver device for use by the data.
- the processing device executes.
- the computer storage medium may 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 these.
- 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 corresponding functions by operating on input data and generating output.
- the processes and logic flows described above can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, eg, an FPGA (Field Programmable Gate Array) or an ASIC (Application Specific Integrated Circuit).
- FPGA Field Programmable Gate Array
- ASIC Application Specific Integrated Circuit
- a computer suitable for the execution of a computer program may include, for example, a general and/or special purpose microprocessor, or any other type of central processing unit.
- the central processing unit will receive instructions and data from read only memory and/or random access memory.
- the basic components of a computer may include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data.
- a computer will also include, or be operably coupled to, such mass storage devices to receive data therefrom or to include one or more mass storage devices, such as magnetic disks, magneto-optical disks, or optical disks, etc., for storing data. Send data to it, or both.
- the computer does not have to have such a device.
- the computer may be embedded in another device, such as a mobile phone, personal digital assistant (PDA), mobile audio or video player, game console, global positioning system (GPS) receiver, or a universal serial bus (USB) ) flash drives for portable storage devices, to name a few.
- PDA personal digital assistant
- GPS global positioning system
- USB universal serial bus
- Computer readable media suitable for storage of computer program instructions and data may include all forms of non-volatile memory, media, and memory devices, and may include, for example, semiconductor memory devices (eg, EPROM, EEPROM, and flash memory devices), magnetic disks (eg, internal hard disks) or removable discs), magneto-optical discs, and CD-ROM and DVD-ROM discs.
- semiconductor memory devices eg, EPROM, EEPROM, and flash memory devices
- magnetic disks eg, internal hard disks
- removable discs removable discs
- magneto-optical discs e.g., CD-ROM and DVD-ROM discs.
- the processor and memory may be supplemented by or incorporated in special purpose logic circuitry.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Accounting & Taxation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Finance (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请的提出一种基于电子凭证的互动方法、装置和电子设备。其中,上述方法可以包括,响应于用户发起的互动操作,向上述用户输出互动界面;其中,上述互动界面包括手绘区域。获取上述用户在上述手绘区域中手绘输入的目标标识,并识别上述用户手绘输入的上述目标标识是否为预设标识。如果上述目标标识为预设标识,获取服务端分配给上述用户的电子凭证,并将上述目标标识作为与上述电子凭证对应的图标向上述用户进行展示;其中,上述电子凭证用于取得预设虚拟资源集合中虚拟资源的领取权限。
Description
本申请涉及通信技术领域,尤其涉及基于电子凭证互动的方法、装置和电子设备。
随着网络技术的发展,出现了多种多样的虚拟资源的分配方式。以“红包”形式的虚拟资源的分配为例,用户可以将电子贺卡、礼金等放入“红包”中,然后单独发放至某个用户,或者发放至群组内,由群组内的所有成员进行领取。然而,随着虚拟资源的分配场景的日益丰富,如何提升在分配虚拟资源时的交互性以及趣味性,对于提升用户体验具有十分重要的意义。
发明内容
本申请提出一种基于电子凭证的互动方法,上述方法包括:响应于用户发起的互动操作,向上述用户输出互动界面;其中,上述互动界面包括手绘区域;获取上述用户在上述手绘区域中手绘输入的目标标识,并识别上述用户手绘输入的上述目标标识是否为预设标识;如果上述目标标识为预设标识,获取服务端分配给上述用户的电子凭证,并将上述目标标识作为与上述电子凭证对应的图标向上述用户进行展示;其中,上述电子凭证用于取得预设虚拟资源集合中虚拟资源的领取权限。
本申请还提出一种基于电子凭证的互动装置,上述装置包括:输出模块,响应于用户发起的互动操作,向上述用户输出互动界面;其中,上述互动界面包括手绘区域;获取与识别模块,获取上述用户在上述手绘区域中手绘输入的目标标识,并识别上述用户手绘输入的上述目标标识是否为预设标识;第一展示模块,如果上述目标标识为预设标识,获取服务端分配给上述用户的电子凭证,并将上述目标标识作为与上述电子凭证对应的图标向上述用户进行展示;其中,上述电子凭证用于取得预设虚拟资源集合中虚拟资源的领取权限。
本申请中,通过响应于用户发起的互动操作,向上述用户输出包括手绘区域的互动界面;然后获取上述用户在上述手绘区域中手绘输入的目标标识,并在上述目标标识为预设标识时,获取服务端分配给上述用户的电子凭证,以及将上述目标标识作为与上述电子凭证对应的图标向上述用户进行展示,使用户可以在线上根据自身喜好亲自设计和绘制专属电子凭证,从而使用户在参与活动过程中融入更多情感,提升用户对电子凭证的传播度以及用户的体验感。
图1为本申请提出的一种基于电子凭证的互动方法的方法流程图;
图2为本申请示出的一种福卡展示界面的示意图;
图3为本申请示出的一种活动入口展示界面示意图;
图4为本申请示出的一种写福字互动界面的示意图;
图5为本申请示出的一种装饰福字展示界面的示意图;
图6为本申请示出的一种打印福卡展示界面的示意图;
图7为本申请示出的一种领取福卡展示界面的示意图;
图8为本申请示出的一种详情界面示意图;
图9为本申请示出的一种第四展示界面示意图;
图10为本申请示出的一种赠送界面示意图;
图11为本申请示出的一种好友列表示意图;
图12为本申请示出的一种基于电子凭证的互动装置的结构示意图;
图13为本申请示出的一种电子设备的硬件结构示意图。
在一些虚拟资源的分配场景下,用户可以通过收集多种类别的电子凭证,并在收集到的电子凭证的类别数达到第一预设阈值时,取得预设虚拟资源集合中的虚拟资源的分配权限;
例如,以上述虚拟资源为虚拟红包为例,在示出的一种“五福分大奖”的红包发放场景中,上述电子凭证可以包括“寿康福”、“友爱福”、“富强福”、“家和福”以及“财旺福”等5类虚拟福卡。用户可以通过多种途径来收集福卡,并在收集到这5类虚拟福卡后,会相应的获得领取红包的权限,由服务端为该用户发放红包。
在本申请中,则以上示出的虚拟资源分配场景的基础之上,提出了一种基于电子凭证的互动方法。
在上述互动方法下,用户可以在线上根据自身喜好亲自设计和绘制专属电子凭证,以使用户在参与活动过程中融入更多情感,提升用户对电子凭证的传播度以及用户的体验感,为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
请参见图1,图1为本申请提出的一种基于电子凭证的互动方法的方法流程图。如图1所示,上述方法可以包括:S102,响应于用户发起的互动操作,向上述用户输出互动界面;其中,上述互动界面包括手绘区域;上述用户,可以是指虚拟资源的提取方。在一些例子中,上述用户可以通过客户端进行虚拟资源的提取。例如,任一电子设备上安装有上述客户端,上述用户在使用注册账号登录该客户端后,可以通过该客户端与对应的服务端进行交互来提取虚拟资源。
上述目标标识,可以是指用户在绘制的任意标识。上述标识可以是图形,字符等。在一些例子中,上述标识可以是预设的汉字。例如,在“五福分大奖”活动中,上述标识可以是汉语中的“福”字。
上述互动界面,可以是指客户端为用户提供的操作界面。上述互动界面可以包括供用户绘制目标标识的手绘区域。
上述手绘区域可以向用户展示可绘制区域。例如,当目标标识为汉字时,上述手绘区域可以是“米”字格。
客户端可以在检测到用户在手绘区域的滑动操作,生成相应的轨迹展示于用户。在一些例子中,上述客户端可以通过检测用户在滑动过程中对终端屏幕的按压力度,和/或与终端屏幕的接触面积,生成相应粗细的轨迹向用户展示,以便于用户绘制更加个性化的标识,增加用户趣味性,提升用户体验感。
在一些例子中,客户端可以为用户提供一些参与手绘标识活动的入口,用户可以针对上述入口进行相关操作,以获取上述互动界面。
在一些例子中,上述入口可以是与预设标识对应的手绘选项。在本例中,上述客户端可以展示与上述电子凭证对应的活动界面,该活动界面可以包括上述手绘选项。当用户需要参与手绘标识活动时,可以通过诸如点击操作触发上述手绘选项。上述客户端在检测到用户发起的触发操作后,可以响应于用户发起的针对上述手绘选项的触发操作,向上述用户输出与上述手绘选项对应的互动界面。用户可以在上述互动界面展示的手绘区域中完成目标标识的绘制。
S104,获取上述用户在上述手绘区域中手绘输入的目标标识,并识别上述用户手绘输入的上述目标标识是否为预设标识;上述预设标识,可以是根据业务需求预先设定的标识。上述预设标识可以存储在客户端设备或服务端设备中,以备进行目标标识的识别。
在本申请中,可以通过多种方式识别上述用户手绘输入的上述目标标识是否为预设 标识。
当上述标识为具有一定语义的字符时,可以通过OCR(Optical Character Recognition,光学字符识别)技术,确定上述目标标识指示的第一语义。然后可以进一步确定上述第一语义是否与上述预设标识指示的第二语义相同。如果相同,则确定上述目标标识是上述预设标识;否则,确定上述目标标识不是上述预设标识。例如,当上述标识为汉语中的“福”字时,可以通过OCR模型检测用户绘制的目标标识是否为“福”,如果是,则确定上述目标标识是上述预设标识。
当上述标识为图形时,可以通过预先训练的图像分类模型,确定上述图形的第一类型。其中,上述图像分类模型包括基于若干标注了图像分类真值的训练样本进行训练得到。然后,可以进一步确定上述第一类型是否与上述预设标识指示的第二类型相同。如果相同,则确定上述目标标识是上述预设标识;否则,确定上述目标标识不是上述预设标识。
可以理解的是,上述识别步骤可以在客户端或服务端中进行,也可以由客户端和服务端配合完成。如果在服务端中进行上述识别,则可以在完成识别后,向客户端返回识别结果。
S106,如果上述目标标识为预设标识,获取服务端分配给上述用户的电子凭证,并将上述目标标识作为与上述电子凭证对应的图标向上述用户进行展示;其中,上述电子凭证用于取得预设虚拟资源集合中虚拟资源的领取权限。
上述虚拟资源,可以包括任意类型的可以在线上完成分配发放的虚拟物品;例如,上述虚拟资源可以是红包发放场景中的“虚拟红包”。
上述预设虚拟资源集合,具体可以是指虚拟资源的集合。上述虚拟资源集合可以存储于服务端中。例如,在红包发放场景中,上述虚拟资源集合可以是“红包资金池”。
上述电子凭证,是指用户向服务端提取虚拟资源时的凭证。在实际应用中,服务端上可以预配置一定数量的不同类别的电子凭证,并按照一定的下发规则向特定的用户人群下发不同种类的电子凭证;其中,上述电子凭证的具体形式不进行限制,可以是字符串、数字、字符、口令、虚拟卡片,等等。
当用户积攒的电子凭证的类别数量达到第一预设阈值时,上述用户可以取得预设虚拟资源集合中虚拟资源的领取权限,以进一步完成对虚拟资源的领取。上述第一预设阈值可以是根据业务需求预设设定的任意数值。例如,在“五福分大奖”活动中,上述第一预设阈值可以是5。
客户端在接收到上述目标标识为预设标识的识别结果后,可以生成对应的电子凭证获取请求,并发送至对应的服务端。
上述服务端在接收到上述请求后,可以响应于该请求从预设的电子凭证集合中为上述用户分配电子凭证。上述电子凭证集合包括类别数为第一预设阈值的多类电子凭证。
然后,上述服务端可以将为上述用户分配电子凭证返回上述客户端。
在本申请中,可以将用户绘制的目标标识作为与上述电子凭证对应的图标向上述用户进行展示。可以理解的是,生成上述图标的步骤可以通过客户端或服务端执行。以下以客户端执行为例。
在一些例子中,在得到服务端返回的为上述用户分配的电子凭证后,客户端可以根据本地存储的目标标识生成对应的图标(在一些例子中,上述图标可以是界面图像元素)。然后,客户端可以将上述图标添加至上述电子凭证的详情界面中,完成详情界面的渲染。其中,上述电子凭证的详情界面,具体可以用于向用户展示该电子凭证的类型等详情信息。上述详情界面可以以弹窗的方式进行展示。之后,客户端可以将上述详情界面向用户输出展示,以使用户可以直观的观察到自己设计的专属电子凭证,提升用户的参与感。
在上述方案中,通过响应于用户发起的互动操作,向上述用户输出包括手绘区域的互动界面;然后获取上述用户在上述手绘区域中手绘输入的目标标识,并在上述目标标 识为预设标识时,获取服务端分配给上述用户的电子凭证,以及将上述目标标识作为与上述电子凭证对应的图标向上述用户进行展示,使用户可以在线上根据自身喜好亲自设计和绘制专属电子凭证,从而使用户在参与活动过程中融入更多情感,提升用户对电子凭证的传播度以及用户的体验感。
以下以上述虚拟资源为“虚拟红包”,用户绘制标识为汉字为例对本申请的技术方案进行详细说明。需要强调的是,以上述虚拟资源为“虚拟红包”为例仅为示例性的。在实际应用中,上述虚拟资源也可以是“虚拟红包(以下简称红包)”以外的能够在线上分配发送的其它虚拟物品;比如,电子购物券、电子优惠券,电子积分等等。
在本申请中,在服务端上可以预配置一定数量的不同类别的电子凭证,并由服务端对预配置完成的电子凭证进行集中管理。
其中,预配置的上述电子凭证,是用户取得红包发放权限的唯一凭证。预配置的上述电子凭证的数量以及类别数,可以基于实际的需求进行设置。
用户可以通过客户端来收集电子凭证,并在收集到的电子凭证的类别数达到第一预设阈值时,取得红包的分配权限。其中,上述类别数是指用户收集到的电子凭证的种类数,上述第一预设阈值的具体取值在本申请中不进行限制,在实际应用中可以根据实际的需求来确定。
其中,在本申请中,用户可以通过客户端以多种途径来收集电子凭证。
例如,在示出的一种收集途径中,用户可以通过客户端收集由服务端在用户满足发放条件时主动发放的电子凭证,或者可以收集由具有社交关系的其他用户赠予的电子凭证。
在示出的另一种途径中,上述客户端可以是AR(Augmented Reality,增强现实)客户端,用户可以通过AR客户端对特定的线下目标进行图像扫描,来触发服务端向该用户发放电子凭证。
比如,用户可以通过AR客户端对部署在线下的预设图形标识进行图像扫描,来触发服务端为该用户发放电子凭证;或者,用户也可以通过AR客户端对任意的或者特定的任务的人脸进行图像扫描,来触发服务端为该用户发放电子凭证。
在实际应用中,除了以上描述的收集途径以外,用户还可以和与该用户存在社交关系的其他用户进行互动,取得由其他用户持有的电子凭证。
在一些例子中,服务端除了可以向用户发放电子凭证以外,还可以向用户发放一些虚拟道具,用户可以通过使用这些虚拟道具,“抢夺”由其他用户持有的电子凭证;
例如,在实现时,这些虚拟道具可以是特殊的电子凭证,用户在“使用”这些特殊的电子凭证后,可以从具有社交关系的其他用户中选择一个特定用户,并从该特定用户持有的电子凭证中随机抽取电子凭证,来据为己有。
在本申请中,还可以通过手绘标识获取电子凭证。
本申请为用户提供了多种进入互动界面的入口。
在一些例子中,可以通过在领取红包的活动界面中提供手绘选项,供用户进入互动界面。
当用户进入客户端提供的电子凭证对应的活动界面后,可以通过点击等操作触发该活动界面提供的手绘选项。客户端在检测到用户的上述操作后,可以向上述用户输出包括手绘区域的互动界面,供用户完成标识绘制。
在一些例子中,可以在指示今日电子凭证领取完毕的界面中提供手绘选项,供用户进行互动界面。
当用户通过扫描等方式完成今日电子凭证的领取后,客户端可以向用户展示指示今日电子凭证领取完毕的界面。用户可以通过点击等操作触发该界中的手绘选项。当客户端客检测到用户的上述操作后,可以向上述用户输出包括手绘区域的互动界面,供用户完成标识绘制。
需要说明的是,本申请不对手绘选项的样式和处于界面中的位置进行特别限定。
在一些例子中,上述客户端可以在首次向用户输出互动界面时,向用户展示手绘标识领取电子凭证的相关操作说明,便于用户理解如何绘制标识,以及如何获取电子凭证。
在一些例子中,上述互动界面为用户提供的手绘区域为米字格。用户可以在客户端设备的屏幕上进行滑动,以完成标识的绘制。
在一些例子中,互动界面可以包括多种字体选项。例如,上述互动界面中可以包括自由创作,宋体,楷体,颜体等预设字体选项。可选地,各字体对应的字体选项上可以展示出以该字体绘制的预设标识的样例。
在上述例子中,用户可以选择各种字体选项完成标识绘制。比如,当用户选择了自由创作字体选项,则该用户可以不受字体的约束,按照自身的绘制习惯完成目标标识的绘制。由此可以增加用户的体验感,提高用户进行标识绘制的意愿。
再比如,当用户选择了宋体选项,客户端可以对用户绘制的目标标识进行渲染,得到与用户实际绘制的目标标识最相近的宋体格式的目标标识。由此可以辅助用户进行绘制,提升用户绘制标识的便捷性。
在一些例子中,上述客户端可以通过检测用户在滑动过程中对终端屏幕的按压力度,和/或与终端屏幕的接触面积,生成对应粗细的轨迹在手绘区域中向用户展示,以便于用户绘制更加个性化的标识,增加用户趣味性,提升用户体验感。
在一些例子中,上述客户端可以保存用户在不同字体选项下绘制的标识。由此,用户可以对比不通字体下绘制的标识,以从中选择中最满意的标识。
在一些例子中,上述互动界面还可以包括重写和/或撤销选项,当用户对当前绘制的标识不满意时,可以通过点击等操作触发上述重写选项,以重新绘制标识。或触发上述撤销选项,以撤销最近绘制的一步。由此可以便于用户绘制出满意的标识,提升用户体验感。
在一些例子中,客户端还可以为用户提供装饰元素,供用户美化绘制的标识。在一些例子中,上述互动界面还包括与上述手绘区域对应的若干装饰选项。用户可以通过点击等操作针对提供的各装饰选项进行触发操作。客户端响应于用户针对上述若干装饰选项中任一装饰选项的触发操作,执行与上述装饰选项对应的装饰功能,对上述用户手绘输入的上述目标标识进行装饰。
在一些例子中,上述装饰选项包括以下示出的一种或者多种的组合:与修改字体的装饰功能对应的装饰选项;与为手绘输入的目标标识添加装饰部件的装饰功能对应的装饰选项;与为手绘输入的目标标识添加用户的数字签章的装饰功能对应的装饰选项。
在一些例子中,上述用于修改字体的装饰功能的装饰选项对应的下拉选项中可以包括多种字体选项。
当用户完成标识绘制后,可以通过选择该装饰选项下的任意字体选项,完成标识字体的改变。由此可以便于用户进行字体选择。
上述与为手绘输入的目标标识添加装饰部件的装饰功能对应的装饰选项可以包括多种类型的装饰子选项。可选地,上述类型可以包括热门类型,表征某种风俗的类型,表征祝福含义的类型等等。上述热门类型可以包括若干在某一段时间内被用户多次选择的装饰子选项。可选地,上述互动界面中与上述装饰子选项对应的展示位置可以展示与各装饰子选项对应的图像元素。由此可以便于用户直观选择满意的图像元素。
当用户完成标识绘制后,客户端可以通过第三展示页面展示用户当前绘制完成的标识。当用户触发任意装饰子选项后,上述客户端可以将该子选项对应的图像元素添加至上述第三展示页面中。可选地,客户端可以为用户提供对图像元素的镜像,删除,放大,旋转等操作选项,用户可以通过触发上述任意操作选项完成对图像元素的相关处理。用户可以拖动上述图像元素以将该图像元素移动到合适的位置。由此,可以使用户获得满意的图像元素,绘制更加个性化的标识,进而加用户趣味性,提升用户体验感。
上述与为手绘输入的目标标识添加用户的数字签章的装饰功能对应的装饰选项可以包括字符输入框。可选地,该字符输入框可以被预先展示于上述第三展示页面中。当用户需要进行数字签章时,可以通过点击等操作触发上述字符输入框的输入功能。可选地,可以弹出供用户输入字符的输入界面。用户可以在上述输入界面中输入想要输入的字符。可选地,为了避免用户输入的字符过多,对用户的绘制标识造成影响,可以限制用户可以输入的字符的数量。可选地,用户可以通过长按屏幕等操作在上述第三展示页面中添加新的字符输入框。
在一些例子中,在用户进行标识装饰时,可以实时检测用户添加的装饰元素数量。上述装饰元素可以包括图像元素以及字符输入框。当用户添加的装饰元素数量达到预设数量后,可以对用户进行装饰过量提醒,以使用户停止装饰或更换已有的装饰元素。由此,可以避免用户由于添加过多的装饰元素影响而对绘制的标识的美观度造成影响。
在一些例子中,当用户完成标识绘制(包括对标识的装饰)后,上述互动界面可以通过第五展示界面展示用户完成的标识。上述第五展示界面还包括与上述预设标识对应的生成选项。当用户通过点击等操作触发上述生成选项后,上述客户端可以响应于用户针对上述生成选项的触发操作,识别上述用户手绘输入的上述目标标识是否为预设标识。
在一些例子中,上述客户端可以包括预设标识。在进行上述识别时,客户端可以先删除用户添加的装饰元素,得到用户绘制的初始标识。然后通过OCR模型对上述初始标识进行检测,得到上述初始标识表征的第一汉字。如果上述第一汉字与上述预设标识表征的第二汉字相同,则确定上述目标标识是上述预设标识;否则,确定上述目标标识不是上述预设标识。
在一些例子中,如果上述目标标识为预设标识,可以通过与上述目标标识对应的第二展示界面向上述用户展示上述目标标识。在一些例子中,上述客户端可以将上述用户手绘输入上述目标标识的绘制过程,和/或,上述用户针对手绘输入的上述目标标识的装饰过程,通过与上述目标标识对应的第二展示界面向上述用户进行输出展示。由此可以对用户的绘制过程或装饰过程进行反馈,提升用户的体验感。
上述第二展示界面,具体用于展示用户完成绘制的目标标识。在一些例子中,客户端可以记录用户在绘制标识时的绘制过程,和/或,装饰上述标识的装饰过程。当客户端检测到用户回合制的目标标识为预设标识时,可以基于记录的绘制过程,和/或,装饰过程生成对应的动画,并通过第二展示界面展示上述动画。
在一些例子中,上述第二展示界面还可以包括更换标识选项和保存标识选项。用户通过触发更换标识选项可以重新绘制标识。用户通过触发保持标识选项,可以将绘制的标识的最终效果和/或绘制标识的动画保存在本地或云端。由此可以实现对用户绘制成果的记录,便于用户通过多种分享渠道向用户分享绘制的标识。
在一些例子中,在通过第二展示界面展示目标标识前,可以对用户绘制的目标标识进行非法内容检测,并在非法内容检测通过后,输出上述第二展示界面。
在一些例子中,可以识别上述用户手绘输入的上述目标标识的大小与上述手绘区域的大小的比值是否达到第二预设阈值;如果是,进一步向上述用户输出上述第二展示界面;如果否,清空上述手绘区域中由上述用户手绘输入的内容,并提示上述用户在上述手绘区域重新进行手绘输入。
通过确定用户输入的标识的大小与手绘区域的大小的比值,并在比值达到第二预设阈值时输出第二展示接,由此可以避免输出用户输入的较小字号的标识,而目前通常会使用较小字号的标识来传播非法内容,由此即可完成非法字符检测。
在一些例子中,可以识别上述用户在上述手绘区域中是否还手绘输入了非法标识;如果是,清空上述手绘区域中由上述用户手绘输入的内容,并提示上述用户在上述手绘区域重新进行手绘输入;如果否,进一步向上述用户输出上述第二展示界面。
在一些例子中,可以预先维护非法标识库。在进行非法标识检测时,可以通过目标 检测模型识别出用户输入的各标识。然后确定识别出的各标识是否命中非法标识库中的标识。如果各标识均没有命中,则确定用户绘制的标识不是非法标识。反正可以确定用户绘制了非法标识。由此可以避免生成非法标识,进而避免非法标识的传播。
在一些例子中,上述第二展示界面可以包括与上述电子凭证对应的第二领取选项。
上述第二领取选项,用于触发客户端向服务端发送电子凭证获取请求。
当用户想要获取电子凭证时,可以通过诸如点击等操作触发上述第二领取选项。上述客户端可以响应于上述用户针对上述第二领取选项对应的触发操作,向上述服务端发送电子凭证获取请求。可选地,上述电子凭证获取请求包括指示上述目标标识为预设标识的识别结果的指示信息。
上述服务端在接收到上述获取请求后,可以响应于上述电子凭证获取请求,对上述指示信息进行内容校验,并在校验通过时,从预设的电子凭证集合中为上述用户分配电子凭证。
在一些例子中,上述电子凭证集合中的电子凭证分别被配置了分配概率;其中,上述分配概率表征用户获取到上述电子凭证的概率。上述服务端从上述电子凭证集合中为上述用户分配的电子凭证包括上述电子凭证集合中分配概率最低的电子凭证。
例如,服务端维护了用户通过扫描等非绘制标识方式获取的电子凭证分配概率,其中第一电子凭证对应的分配概率最低。二用户通过绘制标识方式获取电子凭证时,则可以优先将上述第一电子凭证返回给用户,由此即可提升用户通过绘制标识获取电子凭证的兴趣,进而便于推广绘制标识玩法。
在一些例子中,服务端在向客户端返回为用户分配的电子凭证时,可以返回该电子凭证对应的类型标签。上述客户端在接收上述类型标签后,可以根据该类型标签指示的电子凭证类型,以及用户绘制的目标标识,生成与该电子凭证对应的详情界面。
上述详情界面可以包括与上述电子凭证对应的第一领取选项。
触发上述第一领取选项,可以将服务端返回的电子凭证添加至用户用于的电子凭证集合中。
如果用户需要该电子凭证,则可以通过点击等操作触发上述第一领取选项。上述客户端可以响应于上述用户针对上述第一领取选项的触发操作,切换至与上述电子凭证对应的第一展示界面;其中,上述第一展示界面包括与不同类别的电子凭证对应的多个展示位置。
然后,上述客户端可以将上述目标标识作为与上述电子凭证对应的图标,添加至上述第一展示界面中与上述电子凭证的类别对应的目标展示位置进行展示。
在一些例子中,可以确定上述第一展示界面中与上述电子凭证的类别对应的目标展示位置上是否展示了图标。如果是,将展示的上述图标替换为上述目标标识。如果否,将上述目标标识作为与上述电子凭证对应的图标,添加至上述目标展示位置进行展示。
例如,服务端返回的电子凭证为第一类型的电子凭证。上述第一展示界面包括第一至第N类型的电子凭证所对应的多个展示位置。其中各展示位置上的图标的右上角位置展示了该类电子凭证的数量。在进行服务端返回的电子凭证的展示时,可以确定上述第一类型的电子凭证对应的目标展示位置上是否展示了图标。如果是,将展示的上述图标替换为上述目标标识。如果否,将将上述目标标识作为与上述电子凭证对应的图标,添加至上述目标展示位置进行展示。之后还可以增加该展示位置右上角位置的数量。
由此即可向用户展示绘制的专属电子凭证,进而提升用户的参与兴趣。
在一些例子中,客户端还可以将将上述第一展示界面中与上述目标展示位置以外的其它展示位置上展示的电子凭证的图标,替换为上述目标标识。由此可以更加直观的向用户展示用户绘制的标识,提升用户体验感。
在一些例子中,用户可以通过触发展示位置中添加的展示图片,来将与该展示图片对应的电子凭证赠予其它用户。由此可以实现电子凭证的赠予。
在一些例子中,用户可以分享绘制的专属标识。在一些例子中,上述第二展示界面可以包括与上述用户手绘输入的上述目标标识对应的分享选项。
当用户需要分享该专属标识时,可以触发上述分享选项。上述客户端可以响应于用户针对上述分享选项的触发操作,输出与上述目标标识对应的分享界面。
上述分享界面可以包括多种分享渠道。用户可以选择其中任一分享渠道,并从该分享渠道提供的若干用户中选择要分享专属标识的目标用户,完成在上述分享界面的分享操作。
上述客户端可以响应于上述用户在上述分享界面中的分享操作,将上述目标标识分享给目标用户。由此,即可完成对用户绘制的专属标识的分享,进一步提升用户体验,提升领红包活动的趣味性。
在一些例子中,上述目标用户完成目标标识的领取后,上述目标用户对应的客户端可以构建电子凭证获取请求并将该请求发送至对应服务端。上述服务端可以从预设的电子凭证集合中为上述目标用户分配上述电子凭证,并将上述目标标识作为与上述电子凭证对应的图标向上述目标用户进行展示。具体展示过程可以参照前述实施例,在此不作限定。
由此,不仅可以完成对用户专属标识的分享,还能向接收分享的目标用户奖励电子凭证,进而提升用户参与互动的兴趣。
在一些例子中,客户端响应于用户完成专属电子凭证领取,可以向上述用户输出与上述目标标识对应的第四展示界面;其中,上述第四展示界面包括赠送选项。
当用户需要向目标用户赠送携带专属标识的专属电子凭证时,上述用户可以通过诸如点击等操作触发上述赠送选项,上述客户端可以响应于上述用户针对上述赠送选项的触发操作,获取上述服务端为该用户分配的用于进行赠送的附加电子凭证。
在一些例子中,响应于用户针对上述赠送选项的触发操作,获取上述服务端为该用户分配的附加电子凭证,并向上述用户展示与上述附加电子凭证对应的赠送界面;其中,上述赠送界面包括与上述目标标识对应的图标。
上述附加电子凭证,可以是用于进行赠送的电子凭证。在一些例子中该附加电子凭证只能用于赠送,不能用做他用。上述客户端可以构建赠送请求并发送至服务端。上述服务端可以响应于该赠送请求从保存的电子凭证集合中选择某一类电子凭证作为附加电子凭证返回至上述客户端。上述客户端可以根据接收到的附加电子凭证的类型,以及目标标识的图像元素生成上述赠送界面,供用户进行赠送操作。
在一些例子中,上述赠送界面可以包括多种赠送渠道。用户可以选择其中任一赠送渠道,并从该赠送渠道提供的若干用户中选择要赠送的目标用户,完成在上述赠送界面的赠送操作。
上述客户端可以响应于上述用户发起的发送操作,将上述附加电子凭证发送至目标用户,以使上述目标用户通过目标客户端领取了上述附加电子凭证时,上述目标客户端将上述目标标识作为与上述附加电子凭证对应的图标向上述目标用户进行展示。
在一些例子中,上述客户端可以将上述附加电子凭证发送至上述目标用户对应的目标客户端。上述目标客户端在接收到该附加电子凭证后,可以弹出该附加电子凭证对应的详情界面,并在该界面中展示上述用户绘制和装饰目标标识的动画。在上述动画播放完毕后,可以将上述目标标识对应的图标作为与上述电子凭证对应的图标在上述详情界面中向上述目标用户进行展示。
上述目标用户可以点击上述详情界面包括的确认领取选项完成该附加电子凭证的领域。由此,一方面,可以增加用户趣味性,另一方面,可以实现专属电子凭证的传播,增加传播度。
在一些例子中,在用户完成标识绘制,进行绘制标识展示的环节中,可以在不同的时间点触发不同的展示界面,以向用户提供不同的服务。
当用户完成标识绘制后,上述客户端可以确定当前时刻是否得到预设时刻。
上述预设时刻可以是根据业务进行设定的时刻。该时刻作为一个分界线,用户在该预设时刻之前和之后完成标识的绘制可以享受不同的服务。
在一些例子中,如果当前时刻达到预设时刻,上述客户端可以将上述用户手绘输入上述目标标识的绘制过程,和/或,上述用户针对手绘输入的上述目标标识的装饰过程,通过与上述目标标识对应的第二展示界面向上述用户进行输出展示,并向用户提供前述获取电子凭证,分享电子凭证等服务。
在一些例子中,如果当前时刻未达到预设时刻,上述客户端可以将上述用户手绘输入上述目标标识的绘制过程,和/或,上述用户针对手绘输入的上述目标标识的装饰过程,通过与上述目标标识对应的第三展示界面向上述用户进行输出展示;其中,上述第三展示界面包括与上述目标标识对应的打印选项。
可见,第三展示界面中包括了可以触发标识打印服务的打印选项,由此即可为用户提供标识打印服务。
在一些例子中,当用于需要打印绘制的目标标识时,可以触发上述打印选项。上述客户端可以响应于用户针对上述打印选项的触发操作,向上述用户输出与上述互动界面对应的服务兑换界面。
在一些例子中,上述服务兑换界面可以包括兑换内容以及确认选项。上述兑换内容可以指示如果需要兑换打印服务用户需要支付的虚拟资产(例如,积分等)。如果用户同意该次兑换,则可以触发上述确认选项,以完成兑换。
上述客户端可以响应于上述用户兑换完成上述打印服务,向上述用户输出支付界面。用户可以在上述支付界面中完成与上述打印服务对应的支付。当用户完成支付后,上述客户端可以构建打印请求,并发送至上述服务端。上述服务端可以生成与上述打印服务对应的服务订单,并将该服务订单发送至提供打印服务的商家完成目标标识的打印。
在一些例子中,上述服务订单可以包括上述用户用于接收打印完毕的上述目标标识的邮寄地址,由此可以使商家将打印完成的目标标识寄给用户。
在本申请中,用户在通过以上描述的收集途径收集到电子凭证后,客户端还可以在后台实时的判断本地保存的电子凭证的类别数,是否达到第一预设阈值;如果达到该第一预设阈值,此时该用户已经可以获得红包的分配权限。
在这种情况下,客户端可以向服务端发送红包分配请求(相当于上述虚拟资源分配请求),并在该红包分配请求中携带若干电子凭证。
其中,在一些例子中,该红包分配请求中携带的电子凭证的数量和类别数,可以均为上述第一预设阈值,从而服务端在收到该红包分配请求后,可以获取该红包分配请求中携带的电子凭证,然后进行验证。
需要说明的是,客户端向服务端发送红包分配请求的操作,可以由用户手动触发,也可以是由客户端在判断出收集到的电子凭证的类别数达到第一数量时自动触发。
例如,在一种情况下,当客户端在后台判断出收集到的电子凭证达到第一数量时,可以自动向服务端发起上述红包分配请求。在另一种情况下,可以在与各电子凭证对应的展示位置上,提供一个用于触发客户端向服务端发起对象分配请求的触发按钮,当客户端在后台判断出收集到的电子凭证达到第一预设阈值时,可以向用户输出提示(比如,输出相关的动画特效来提示用户),以提示用户当前已经可以取得红包分配的权限,然后客户端可以响应于用户针对该触发按钮的触发操作,向服务端发送上述红包分配请求。
而服务端在接收到客户端发送的红包分配请求后,可以对其中携带的电子凭证的类别数进行验证;如果服务端在对该红包分配请求中携带的电子凭证进行验证后,判断出该红包分配请求中携带的电子凭证的类别数达到第一预设阈值,此时可以授予该用户分配红包的权限,并立即基于预设的分配规则从预设的“红包资金池”(相当于上述预设的虚拟资源集合)中为该用户发放一定数额的红包,或者在指定的红包发放时间到达后, 基于预设的分配规则从预设的“红包资金池”中为该用户发放一定数额的红包。
其中,需要说明的是,服务端在从预设的“红包资金池”为该用户发放红包时所采用的分配规则,可以基于实际的业务需求进行制定。
在一些例子中,服务端可以统计所有授予了红包分配权限的用户数量,并基于统计出的用户数量计算“红包资金池”中待发放的而红包总额的平均分配数;此时,计算出的该平均分配数即为需要向每一个用户发放的红包的数量。在这种情况下,服务端可以基于计算得到的平均分配数,从“红包资金池”中为每一个用户发放对应金额的红包。
在示出的另一种实施方式中,服务端在为该用户发放红包时,也可以从“红包资金池”为该用户随机抽取一定数额的红包;例如,服务端可以基于预设的随机算法结合“红包资金池”中待发放的红包的总数额,为该用户计算出一个随机数,然后按照该随机数向该用户发放相应数额的红包。
当然,除了以上示出的分配规则,在实际应用中还可以由其它分配规则,在本申请中不再一一列举。
以下结合一种“五福分大奖”的红包发放场景对以上实施例中的技术方案进行详细描述。
在上述发放场景中,上述客户端可以是支付宝客户端(简称客户端)。上述服务端可以是与支付宝客户端对接的支付平台。上述虚拟资源集合可以是指支付平台的运营方或与支付平台的运营方合作的企业的资金账户。该资金账户下的资金即为用于向用户发放红包的资金总额。
上述电子凭证可以包括“寿康福”、“友爱福”、“富强福”、“家和福”以及“财旺福”等5类虚拟福卡,当用户收集到以上5类虚拟福卡后,可以自动取得领取红包的权限。
除了以上5类虚拟福卡(以下简称福卡)以外,服务端还可以向用户下发一些特殊的虚拟福卡作为虚拟道具;比如,该特殊的虚拟福卡可以是“沾福气卡”;用户通过“使用”沾福气卡,可以与具有社交关系的其他用户进行互动,在其他用户持有的福卡不减少的基础上,随机“复制”并取得其他用户持有的福卡。
请参见图2,图2为本申请示出的一种福卡展示界面的示意图。
如图2所示,上述福卡展示界面(即前述第一展示界面),具体可以是“我的福卡”界面;在该界面中,可以针对用户持有的以上5类福卡以及沾福气卡提供相应的展示位置。在各类福卡对应的展示位置上会有与各类福卡对应的“福”字图标。可选地,如果用户没有某一类福卡,则可以在该福卡对应的显示位置不显示任何图标,或者,显示某一类指示用户缺少该类福卡的图标。
请继续参见图2,在实际应用中,服务端向用户下发的特殊的虚拟福卡,还可以包括诸如“万能福卡”、“花花卡”等特殊的福卡;也即,支付平台的运营方,可以基于实际的需求,为用户灵活的定制对应各种功能的虚拟道具,在本申请中不再进行一一列举。
请参见图3,图3为本申请示出的一种活动入口展示界面示意图。
如图3所示,在用户参与“五福分大奖”活动时,上述客户端可以为用户展示活动入口展示界面(即前述活动界面)。该界面中可以包括“我的福卡”,“扫福字”,“写福字”(即前述手绘选项,此时用户绘制的标识为汉语“福”字)的选项。需要说明的是,图3中示意的背景图像以及页面布局仅为示意性的,不对本申请记载的方案造成限定。另外,在实际应用中,该展示界面还可以包括其他选项,在此不进行一一列举。
当用户通过触摸等方式触发“写福字”选项后,上述客户端可以确定用户是否是首次触发该选项。如果用户首次进入写福字”界面,则可以向用户展示“写福字”相关说明;否则可以直接向用户写福字展示互动界面。
请参见图4,图4为本申请示出的一种写福字互动界面的示意图。
如图4所示,上述写福字互动界面(即前述互动界面,以下简称互动界面)可以包括供用户进行写福字的手绘区域,以及若干字体选项。示意性的,图4中示出“自由 体”,“隶书”以及“幼圆”等字体选项。
用户可以选择“自由体”,然后按照自己的书写习惯,在上述手绘区域中写福。在这里,上述手绘区域可以根据用户手指对终端屏幕的按压力量以及与手指与终端设备的接触面积等因素显示出不同粗细的书写轨迹。
当用户完成写福后,可以触发图4界面中的装饰我的福选项。客户端可以响应于用户触发该选项,利用OCR模型对用户书写的标识进行识别,确定该标识是否为“福”字,如果是则可以为用户提供装饰福字对应的展示界面(即前述第五展示界面);否则可以提醒用户重新写福。
请参见图5,图5为本申请示出的一种装饰福字展示界面的示意图。
如图5所示,上述装饰福字展示界面可以包括对用户福字装饰效果的显示区域,以及若干装饰选项。示意性的,图5中示出“热门”,“年味”,“祝福”以及数字签名等装饰选项。其中,当用户点击了诸如“热门”等装饰选项后,该装饰福字展示界面还可以向用户展示被点击的装饰选项下的若干子装饰选项,用户可以从上述若干子装饰选项中选择任意。
如图5所示,用户选择了“年味”选项下的“牛角”子选项,客户端可以将上述“牛角”子选项对应的图像元素添加至上述显示区域中。用户可以在显示区域中对上述图像元素进行诸如拖动,放大,旋转,删除等操作,直至得到满意的装饰效果。
请继续参见图5,用户还可以通过点击“牛年大吉”对应的数字签名装饰选项,然后在弹出的输入窗口中输入个性化的字符。例如,可以输入“XXX制作”等字符。
当用户完成装饰福后,可以触发图5界面中的生成我的福选项。客户端可以响应于用户触发该选项,对用户书写的标识进行识别,确定该标识是否为“福”字,如果是,还可以进一步识别上述用户书写标识的大小与上述手绘区域的大小的比值是否达到第二预设阈值(例如,0.6),并在上述书写标识的大小与上述手绘区域的大小的比值达到上述第二预设阈值时,为用户提供后续服务。由此,一方面,可以实现对用户书写的标识进行识别,以确保用户书写的是“福”字;另一方面,可以排除用户传播“非法字符”的可能。
当对用户书写的标识识别结果符合预期后,可以确定用户点击生成我的福选项的当前时刻,并确定上述当前时刻是否达到预设时刻。
如果达到,可以通过与领取福卡对应的展示界面(即前述第二界面)向用户展示用户书写与装饰福字的动画;如果未达到,可以通过与打印福卡对应的展示界面(即前述第三界面)向用户展示用户书写与装饰福字的动画。由此,一方面,可以在不同的时间点向用户提供不同的服务;另一方面,可以提升用户的参与感,进而促进用户参与写福活动。
以下分别针对上述两种情况进行说明。
(一)当前时刻未达到上述预设时刻
请参见图6,图6为本申请示出的一种打印福卡展示界面的示意图。
如图6所示,上述打印福卡对应的展示界面可以包括展示对书写福字进行装饰的装饰效果的显示区域,以及若干功能选项。示意性的,图6示意的第三界面可以包括“再写一个”,“保存”以及“打印我的福”选项。
如果用户选择“再写一个”选项,则可以再次进入写福流程。如果用户选择“保存”选项,则可以将装饰后的福字保存在终端设备或云端,以通过类似“朋友圈”等多种渠道分享该福字,进而提升写福参与性。
如果用户选择“打印我的福”选项,客户端可以向用户输出打印服务兑换界面,用户可以在该兑换界面中完成兑换。之后,客户端可以向用户提供支付界面。用户在该支付界面完成支付后,客户端可以将支付成功结果以及用户对应的收件地址发送至上述支付平台。上述支付平台可以生成与上述打印服务对应的服务订单,并将该服务订单发送至 提供打印服务的商家,完成打印。
(二)当前时刻达到上述预设时刻
请参见图7,图7为本申请示出的一种领取福卡展示界面的示意图。
如图7所示,上述领取福卡展示界面可以包括展示对书写福字进行装饰的装饰效果的显示区域,以及若干功能选项。示意性的,图7示意的第二界面可以包括“更换福字”,“保存”以及“立即领取专属福卡”选项。
假设客户端中存储了多个用户装饰完成的福字,如果用户选择“更换福卡”选项,则可以在上述显示区域更换用户已经装饰完成的福字。
如果用户选择“立即领取专属福卡”选项,上述客户端响应于该操作,向上述支付平台发送福卡获取请求。上述支付平台在接收到该获取请求后,可以从保存的福卡集合中选择被配置的分配概率最低的一类福卡,作为为该用户分配的福卡。然后上述支付平台可以将分配的福卡对应的类型标识(假设是旺财福)返回上述客户端。上述客户端可以根据接收到的类型标识,以及上述显示区域当前展示的“福字”对应的图像元素,生成与旺财福对应的详情界面,并将该详情界面以弹窗的方式向用户展示。
请参见图8,图8为本申请示出的一种详情界面示意图。
如图8所示,上述详情界面可以包括展示电子凭证为旺财福和展示用户装饰福字的显示区域,以及若干功能选项。示意性的,图8示出的详情界面可以包括“收下福卡”选项。
用户点击该选项后,上述客户端可以将该专属福卡保存在本地。在这里,上述客户端可以向用户展示如图2示出的福卡展示界面。并将与旺财福对应的展示位置上的图标更换为用户手写的专属福字。可选地,用户也可以选择将福卡展示界面中其它展示位置上的图标也更换为上述专属福字。由此,可以向用户展示专属福字,促进用户参与手写福字的积极性。
响应于用户领取该专属福卡,上述客户端还可以向用户展示第四展示界面。
请参见图9,图9为本申请示出的一种第四展示界面示意图。
如图9所示,上述第四展示界面可以包括展示用户专属福字的显示区域,以及若干功能选项。示意性的,图9示出的第四展示界面可以包括“再领一张送朋友”选项。
如果用户触发上述选项,上述客户端则可以与上述支付平台进行交互获取用户赠送的专属福卡,并将用户手写的专属福字渲染至上述专属福卡中。然后,上述客户端可以向用户展示赠送界面。
请参见图10,图10为本申请示出的一种赠送界面示意图。
如图10所示,上述赠送界面可以包括展示专属福卡的显示区域,以及若干赠送渠道选项。示意性的,图10示出的赠送界面可以包括赠送好友,第三方渠道1以及第三方渠道2等赠送渠道选项。
用户可以选择任意赠送渠道,假设用户选择了赠送好友选项,则可以向用户展示支付宝好友列表,供用户选择赠送专属福卡的目标用户。
请参见图11,图11为本申请示出的一种好友列表示意图。
示意性的,如图11所示,上述好友列表可以展示上述用户的好友情况,以及各好友用户的福卡数量。如果用户数量太多,用户还可以通过搜索窗口定位至目标用户。
当用户确定目标用户后,可以点击该目标用户后方的赠送按钮,完成赠送操作。上述客户端可以响应于用户完成赠送操作,将上述专属福卡赠送至上述目标用户对应的目标客户端。上述目标客户端在接收到上述专属福卡后可以向上述目标用户展示上述用户手写和装饰专属福字的动画,并在动画播放完成后向上述目标用户展示该专属福卡。上述目标用户可以通过点击领取福卡选项完成对该福卡的领取。由此,可以完成专属福卡的传播,提升用户趣味性。
当客户端收集到的福卡的类别数达到5类,用户可以取得红包分配的权限,客户 端可以向服务端发送“红包分配请求”(即上述虚拟资源分配请求),来请求服务端为用户分配红包,具体的实施过程不再赘述。
在上述方案中,通过提供手写福字,打印福字,领取与赠送专属福卡等服务,可以提升用户在参与“五福分大奖”活动过程中融入更多情感,提升用户的趣味性,对福卡的传播度以及用户的体验感。
与上述任一实施例相对应的,本申请还提出了一种基于电子凭证的互动装置。
请参见图12,图12为本申请示出的一种基于电子凭证的互动装置的结构示意图。
如图12所示,上述装置1200可以包括:输出模块1210,响应于用户发起的互动操作,向上述用户输出互动界面;其中,上述互动界面包括手绘区域;获取与识别模块1220,获取上述用户在上述手绘区域中手绘输入的目标标识,并识别上述用户手绘输入的上述目标标识是否为预设标识;第一展示模块1230,如果上述目标标识为预设标识,获取服务端分配给上述用户的电子凭证,并将上述目标标识作为与上述电子凭证对应的图标向上述用户进行展示;其中,上述电子凭证用于取得预设虚拟资源集合中虚拟资源的领取权限。
在示出的一些实施例中,当获取到的上述电子凭证的类别数达到第一预设阈值时,上述用户取得上述预设虚拟资源集合中虚拟资源的领取权限。
在示出的一些实施例中,上述标识包括字符。
在示出的一些实施例中,上述虚拟资源包括虚拟红包;上述字符包括汉语中的福字。
在示出的一些实施例中,上述第一展示模块1230具体用于:向上述用户输出与上述电子凭证对应的详情界面,并将上述目标标识作为与上述电子凭证对应的图标在上述详情界面中进行输出展示。
在示出的一些实施例中,上述详情界面包括与上述电子凭证对应的第一领取选项;上述第一展示模块1230具体用于:响应于上述用户针对上述第一领取选项的触发操作,切换至与上述电子凭证对应的第一展示界面;其中,上述第一展示界面包括与不同类别的电子凭证对应的多个展示位置;将上述目标标识作为与上述电子凭证对应的图标,添加至上述第一展示界面中与上述电子凭证的类别对应的目标展示位置进行展示。
在示出的一些实施例中,上述第一展示模块1230具体用于:确定上述第一展示界面中与上述电子凭证的类别对应的目标展示位置上是否展示了图标;如果是,将展示的上述图标替换为上述目标标识;如果否,将上述目标标识作为与上述电子凭证对应的图标,添加至上述目标展示位置进行展示。
在示出的一些实施例中,上述装置1200还包括:替换模块,将上述第一展示界面中与上述目标展示位置以外的其它展示位置上展示的电子凭证的图标,替换为上述目标标识。
在示出的一些实施例中,与上述电子凭证对应的活动界面包括与上述预设标识对应的手绘选项;上述输出模块1210具体用于:响应于用户发起的针对上述手绘选项的触发操作,向上述用户输出与上述手绘选项对应的互动界面。
在示出的一些实施例中,上述互动界面还包括与上述手绘区域对应的若干装饰选项;上述装置1200还包括:装饰模块,响应于用户针对上述若干装饰选项中任一装饰选项的触发操作,执行与上述装饰选项对应的装饰功能,对上述用户手绘输入的上述目标标识进行装饰。
在示出的一些实施例中,上述装饰选项包括以下示出的一种或者多种的组合:与修改字体的装饰功能对应的装饰选项;与为手绘输入的目标标识添加装饰部件的装饰功能对应的装饰选项;与为手绘输入的目标标识添加用户的数字签章的装饰功能对应的装饰选项。
在示出的一些实施例中,上述互动界面还包括与上述预设标识对应的生成选项; 上述获取与识别模块1220具体用于:响应于用户针对上述生成选项的触发操作,识别上述用户手绘输入的上述目标标识是否为预设标识。
在示出的一些实施例中,上述装置1200还包括:第二展示模块,如果上述目标标识为预设标识,将上述用户手绘输入上述目标标识的绘制过程,和/或,上述用户针对手绘输入的上述目标标识的装饰过程,通过与上述目标标识对应的第二展示界面向上述用户进行输出展示。
在示出的一些实施例中,上述装置1200还包括:进一步识别模块,如果上述目标标识为预设标识,进一步识别上述用户手绘输入的上述目标标识的大小与上述手绘区域的大小的比值是否达到第二预设阈值;如果是,进一步向上述用户输出上述第二展示界面;如果否,清空上述手绘区域中由上述用户手绘输入的内容,并提示上述用户在上述手绘区域重新进行手绘输入;或者,如果上述目标标识为预设标识,进一步识别上述用户在上述手绘区域中是否还手绘输入了非法标识;如果是,清空上述手绘区域中由上述用户手绘输入的内容,并提示上述用户在上述手绘区域重新进行手绘输入;如果否,进一步向上述用户输出上述第二展示界面。
在示出的一些实施例中,上述第二展示界面包括与上述电子凭证对应的第二领取选项;上述获取与识别模块1220具体用于:响应于上述用户针对上述第二领取选项对应的触发操作,向上述服务端发送电子凭证获取请求,以使上述服务端响应于上述电子凭证获取请求,从预设的电子凭证集合中为上述用户分配电子凭证;其中,上述电子凭证集合包括类别数为第一预设阈值的多类电子凭证;获取上述服务端从上述电子凭证集合中为上述用户分配的电子凭证。
在示出的一些实施例中,上述获取与识别模块1220具体用于:向上述服务端发送电子凭证获取请求;其中,上述电子凭证获取请求包括指示上述目标标识为预设标识的识别结果的指示信息,以使上述服务端响应于上述电子凭证获取请求,对上述指示信息进行内容校验,并在校验通过时,从预设的电子凭证集合中为上述用户分配电子凭证。
在示出的一些实施例中,上述电子凭证集合中的电子凭证分别被配置了分配概率;其中,上述分配概率表征用户获取到上述电子凭证的概率;上述服务端从上述电子凭证集合中为上述用户分配的电子凭证包括上述电子凭证集合中分配概率最低的电子凭证。
在示出的一些实施例中,上述装置1200还包括:确定模块,确定当前时刻是否达到预设时刻;上述第二展示模块具体用于:如果当前时刻达到预设时刻,将上述用户手绘输入上述目标标识的绘制过程,和/或,上述用户针对手绘输入的上述目标标识的装饰过程,通过与上述目标标识对应的第二展示界面向上述用户进行输出展示。
在示出的一些实施例中,上述装置1200还包括:第三展示模块,如果当前时刻未达到预设时刻,将上述用户手绘输入上述目标标识的绘制过程,和/或,上述用户针对手绘输入的上述目标标识的装饰过程,通过与上述目标标识对应的第三展示界面向上述用户进行输出展示;其中,上述第三展示界面包括与上述目标标识对应的打印选项;上述装置1200还包括:打印模块,响应于用户针对上述打印选项的触发操作,向上述用户输出与上述互动界面对应的服务兑换界面,以使上述用户在上述服务兑换界面中兑换与上述目标标识对应的打印服务;响应于上述用户兑换完成上述打印服务,向上述用户输出支付界面,以使上述用户在上述支付界面中完成与上述打印服务对应的支付,并在支付完成后由上述服务端生成与上述打印服务对应的服务订单;其中,上述服务订单包括上述用户用于接收打印完毕的上述目标标识的邮寄地址。
在示出的一些实施例中,上述装置1200还包括:赠送模块,响应于上述用户领取了上述电子凭证的操作,向上述用户输出与上述目标标识对应的第四展示界面;其中,上述第四展示界面包括赠送选项;响应于上述用户针对上述赠送选项的触发操作,获取上述服务端为该用户分配的用于进行赠送的附加电子凭证;响应于上述用户发起的发送操作,将上述附加电子凭证发送至目标用户,以使上述目标用户通过目标客户端领取了 上述附加电子凭证时,上述目标客户端将上述目标标识作为与上述附加电子凭证对应的图标向上述目标用户进行展示。
本申请示出的互动装置的实施例可以应用于电子设备上。相应地,本申请公开了一种电子设备,该设备可以包括:处理器。
用于存储处理器可执行指令的存储器。
其中,上述处理器被配置为调用上述存储器中存储的可执行指令,实现如上述任一实施例示出的互动方法。
请参见图13,图13为本申请示出的一种电子设备的硬件结构示意图。
如图13所示,该电子设备可以包括用于执行指令的处理器,用于进行网络连接的网络接口,用于为处理器存储运行数据的内存,以及用于存储互动装置对应指令的非易失性存储器。
其中,互动装置的实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在电子设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,除了图13所示的处理器、内存、网络接口、以及非易失性存储器之外,实施例中装置所在的电子设备通常根据该电子设备的实际功能,还可以包括其他硬件,对此不再赘述。
可以理解的是,为了提升处理速度,互动装置对应指令也可以直接存储于内存中,在此不作限定。
本申请提出一种计算机可读存储介质,上述存储介质存储有计算机程序,上述计算机程序用于执行上述任一实施例示出的互动方法。
本领域技术人员应明白,本申请一个或多个实施例可提供为方法、系统或计算机程序产品。因此,本申请一个或多个实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(可以包括但不限于磁盘存储器、CD-ROM、光学存储器等)上述实施的计算机程序产品的形式。
本申请中的“和/或”表示至少具有两者中的其中一个,例如,“A和/或B”可以包括三种方案:A、B、以及“A和B”。
本申请中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于数据处理设备实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
上述对本申请特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的行为或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
本申请中描述的主题及功能操作的实施例可以在以下中实现:数字电子电路、有形体现的计算机软件或固件、可以包括本申请中公开的结构及其结构性等同物的计算机硬件、或者它们中的一个或多个的组合。本申请中描述的主题的实施例可以实现为一个或多个计算机程序,即编码在有形非暂时性程序载体上述以被数据处理装置执行或控制数据处理装置的操作的计算机程序指令中的一个或多个模块。可替代地或附加地,程序指令可以被编码在人工生成的传播信号上述,例如机器生成的电、光或电磁信号,该信号被生成以将信息编码并传输到合适的接收机装置以由数据处理装置执行。计算机存储介质可以是机器可读存储设备、机器可读存储基板、随机或串行存取存储器设备、或它们中的一个或多个的组合。
本申请中描述的处理及逻辑流程可以由执行一个或多个计算机程序的一个或多个可编程计算机执行,以通过根据输入数据进行操作并生成输出来执行相应的功能。上述处理及逻辑流程还可以由专用逻辑电路—例如FPGA(现场可编程门阵列)或ASIC(专用集成电路)来执行,并且装置也可以实现为专用逻辑电路。
适合用于执行计算机程序的计算机可以包括,例如通用和/或专用微处理器,或任何其他类型的中央处理单元。通常,中央处理单元将从只读存储器和/或随机存取存储器接收指令和数据。计算机的基本组件可以包括用于实施或执行指令的中央处理单元以及用于存储指令和数据的一个或多个存储器设备。通常,计算机还将可以包括用于存储数据的一个或多个大容量存储设备,例如磁盘、磁光盘或光盘等,或者计算机将可操作地与此大容量存储设备耦接以从其接收数据或向其传送数据,抑或两种情况兼而有之。然而,计算机不是必须具有这样的设备。此外,计算机可以嵌入在另一设备中,例如移动电话、个人数字助理(PDA)、移动音频或视频播放器、游戏操纵台、全球定位系统(GPS)接收机、或例如通用串行总线(USB)闪存驱动器的便携式存储设备,仅举几例。
适合于存储计算机程序指令和数据的计算机可读介质可以包括所有形式的非易失性存储器、媒介和存储器设备,例如可以包括半导体存储器设备(例如EPROM、EEPROM和闪存设备)、磁盘(例如内部硬盘或可移动盘)、磁光盘以及CD ROM和DVD-ROM盘。处理器和存储器可由专用逻辑电路补充或并入专用逻辑电路中。
虽然本申请包含许多具体实施细节,但是这些不应被解释为限制任何公开的范围或所要求保护的范围,而是主要用于描述特定公开的具体实施例的特征。本申请内在多个实施例中描述的某些特征也可以在单个实施例中被组合实施。另一方面,在单个实施例中描述的各种特征也可以在多个实施例中分开实施或以任何合适的子组合来实施。此外,虽然特征可以如上述在某些组合中起作用并且甚至最初如此要求保护,但是来自所要求保护的组合中的一个或多个特征在一些情况下可以从该组合中去除,并且所要求保护的组合可以指向子组合或子组合的变型。
类似地,虽然在附图中以特定顺序描绘了操作,但是这不应被理解为要求这些操作以所示的特定顺序执行或顺次执行、或者要求所有例示的操作被执行,以实现期望的结果。在某些情况下,多任务和并行处理可能是有利的。此外,上述实施例中的各种系统模块和组件的分离不应被理解为在所有实施例中均需要这样的分离,并且应当理解,所描述的程序组件和系统通常可以一起集成在单个软件产品中,或者封装成多个软件产品。
由此,主题的特定实施例已被描述。其他实施例在所附权利要求书的范围以内。在某些情况下,权利要求书中记载的动作可以以不同的顺序执行并且仍实现期望的结果。此外,附图中描绘的处理并非必需所示的特定顺序或顺次顺序,以实现期望的结果。在某些实现中,多任务和并行处理可能是有利的。
以上述仅为本申请一个或多个实施例的较佳实施例而已,并不用以限制本申请一个或多个实施例,凡在本申请一个或多个实施例的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请一个或多个实施例保护的范围之内。
Claims (22)
- 一种基于电子凭证的互动方法,所述方法包括:响应于用户发起的互动操作,向所述用户输出互动界面;其中,所述互动界面包括手绘区域;获取所述用户在所述手绘区域中手绘输入的目标标识,并识别所述用户手绘输入的所述目标标识是否为预设标识;如果所述目标标识为预设标识,获取服务端分配给所述用户的电子凭证,并将所述目标标识作为与所述电子凭证对应的图标向所述用户进行展示;其中,所述电子凭证用于取得预设虚拟资源集合中虚拟资源的领取权限。
- 根据权利要求1所述的方法,其中,当获取到的所述电子凭证的类别数达到第一预设阈值时,所述用户取得所述预设虚拟资源集合中虚拟资源的领取权限。
- 根据权利要求1所述的方法,所述标识包括字符。
- 根据权利要求3所述的方法,所述虚拟资源包括虚拟红包;所述字符包括汉语中的福字。
- 根据权利要求1所述的方法,所述将所述目标标识作为与所述电子凭证对应的图标向所述用户进行展示,包括:向所述用户输出与所述电子凭证对应的详情界面,并将所述目标标识作为与所述电子凭证对应的图标在所述详情界面中进行输出展示。
- 根据权利要求5所述的方法,所述详情界面包括与所述电子凭证对应的第一领取选项;所述方法还包括:响应于所述用户针对所述第一领取选项的触发操作,切换至与所述电子凭证对应的第一展示界面;其中,所述第一展示界面包括与不同类别的电子凭证对应的多个展示位置;将所述目标标识作为与所述电子凭证对应的图标,添加至所述第一展示界面中与所述电子凭证的类别对应的目标展示位置进行展示。
- 根据权利要求6所述的方法,所述将所述目标标识作为与所述电子凭证对应的图标,添加至所述第一展示界面中与所述电子凭证的类别对应的目标展示位置进行展示,包括:确定所述第一展示界面中与所述电子凭证的类别对应的目标展示位置上是否展示了图标;如果是,将展示的所述图标替换为所述目标标识;如果否,将所述目标标识作为与所述电子凭证对应的图标,添加至所述目标展示位置进行展示。
- 根据权利要求7所述的方法,还包括:将所述第一展示界面中与所述目标展示位置以外的其它展示位置上展示的电子凭证的图标,替换为所述目标标识。
- 根据权利要求1所述的方法,与所述电子凭证对应的活动界面包括与所述预设标识对应的手绘选项;所述响应于用户发起的互动操作,向所述用户输出互动界面,包括:响应于用户发起的针对所述手绘选项的触发操作,向所述用户输出与所述手绘选项对应的互动界面。
- 根据权利要求9所述的方法,所述互动界面还包括与所述手绘区域对应的若干装饰选项;所述方法还包括:响应于用户针对所述若干装饰选项中任一装饰选项的触发操作,执行与所述装饰选 项对应的装饰功能,对所述用户手绘输入的所述目标标识进行装饰。
- 根据权利要求10所述的方法,所述装饰选项包括以下示出的一种或者多种的组合:与修改字体的装饰功能对应的装饰选项;与为手绘输入的目标标识添加装饰部件的装饰功能对应的装饰选项;与为手绘输入的目标标识添加用户的数字签章的装饰功能对应的装饰选项。
- 根据权利要求9所述的方法,所述互动界面还包括与所述预设标识对应的生成选项;所述识别所述用户手绘输入的所述目标标识是否为预设标识,包括:响应于用户针对所述生成选项的触发操作,识别所述用户手绘输入的所述目标标识是否为预设标识。
- 根据权利要求12所述的方法,所述方法还包括:如果所述目标标识为预设标识,向所述用户输出与所述目标标识对应的第二展示界面;其中,所述第二展示界面用于展示所述用户手绘输入所述目标标识的绘制过程,和/或,所述用户针对手绘输入的所述目标标识的装饰过程。
- 根据权利要求13所述的方法,在向所述用户输出与所述目标标识对应的第二展示界面之前,所述方法还包括:如果所述目标标识为预设标识,进一步识别所述用户手绘输入的所述目标标识的大小与所述手绘区域的大小的比值是否达到第二预设阈值;如果是,进一步向所述用户输出所述第二展示界面;如果否,清空所述手绘区域中由所述用户手绘输入的内容,并提示所述用户在所述手绘区域重新进行手绘输入;或者,如果所述目标标识为预设标识,进一步识别所述用户在所述手绘区域中是否还手绘输入了非法标识;如果是,清空所述手绘区域中由所述用户手绘输入的内容,并提示所述用户在所述手绘区域重新进行手绘输入;如果否,进一步向所述用户输出所述第二展示界面。
- 根据权利要求14所述的方法,所述第二展示界面包括与所述电子凭证对应的第二领取选项;所述获取服务端分配给所述用户的电子凭证,包括:响应于所述用户针对所述第二领取选项对应的触发操作,向所述服务端发送电子凭证获取请求,以使所述服务端响应于所述电子凭证获取请求,从预设的电子凭证集合中为所述用户分配电子凭证;其中,所述电子凭证集合包括类别数为第一预设阈值的多类电子凭证;获取所述服务端从所述电子凭证集合中为所述用户分配的电子凭证。
- 根据权利要求15所述的方法,所述向所述服务端发送电子凭证获取请求,以使所述服务端响应于所述电子凭证获取请求,从预设的电子凭证集合中为所述用户分配电子凭证,包括:向所述服务端发送电子凭证获取请求;其中,所述电子凭证获取请求包括指示所述目标标识为预设标识的识别结果的指示信息,以使所述服务端响应于所述电子凭证获取请求,对所述指示信息进行内容校验,并在校验通过时,从预设的电子凭证集合中为所述用户分配电子凭证。
- 根据权利要求16所述的方法,所述电子凭证集合中的电子凭证分别被配置了分配概率;其中,所述分配概率表征用户获取到所述电子凭证的概率;所述服务端从所述电子凭证集合中为所述用户分配的电子凭证包括所述电子凭证集合中分配概率最低的电子凭证。
- 根据权利要求13所述的方法,在向所述用户输出与所述目标标识对应的第二展 示界面之前,包括:确定当前时刻是否达到预设时刻;如果当前时刻达到预设时刻,将所述用户手绘输入所述目标标识的绘制过程,和/或,所述用户针对手绘输入的所述目标标识的装饰过程,通过与所述目标标识对应的第二展示界面向所述用户进行输出展示。
- 根据权利要求18所述的方法,还包括:如果当前时刻未达到预设时刻,将所述用户手绘输入所述目标标识的绘制过程,和/或,所述用户针对手绘输入的所述目标标识的装饰过程,通过与所述目标标识对应的第三展示界面向所述用户进行输出展示;其中,所述第三展示界面包括与所述目标标识对应的打印选项;所述方法还包括:响应于用户针对所述打印选项的触发操作,向所述用户输出与所述互动界面对应的服务兑换界面,以使所述用户在所述服务兑换界面中兑换与所述目标标识对应的打印服务;响应于所述用户兑换完成所述打印服务,向所述用户输出支付界面,以使所述用户在所述支付界面中完成与所述打印服务对应的支付,并在支付完成后由所述服务端生成与所述打印服务对应的服务订单;其中,所述服务订单包括所述用户用于接收打印完毕的所述目标标识的邮寄地址。
- 根据权利要求1所述的方法,还包括:响应于所述用户领取了所述电子凭证的操作,向所述用户输出与所述目标标识对应的第四展示界面;其中,所述第四展示界面包括赠送选项;响应于所述用户针对所述赠送选项的触发操作,获取所述服务端为该用户分配的用于进行赠送的附加电子凭证;响应于所述用户发起的发送操作,将所述附加电子凭证发送至目标用户,以使所述目标用户通过目标客户端领取了所述附加电子凭证时,所述目标客户端将所述目标标识作为与所述附加电子凭证对应的图标向所述目标用户进行展示。
- 一种基于电子凭证的互动装置,所述装置包括:输出模块,响应于用户发起的互动操作,向所述用户输出互动界面;其中,所述互动界面包括手绘区域;获取与识别模块,获取所述用户在所述手绘区域中手绘输入的目标标识,并识别所述用户手绘输入的所述目标标识是否为预设标识;第一展示模块,如果所述目标标识为预设标识,获取服务端分配给所述用户的电子凭证,并将所述目标标识作为与所述电子凭证对应的图标向所述用户进行展示;其中,所述电子凭证用于取得预设虚拟资源集合中虚拟资源的领取权限。
- 一种电子设备,包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器中存储的可执行指令,实现如权利要求1-20任一所述的互动方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110077821.5A CN112925454B (zh) | 2021-01-20 | 2021-01-20 | 一种基于电子凭证的互动方法、装置和电子设备 |
CN202110077821.5 | 2021-01-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022156584A1 true WO2022156584A1 (zh) | 2022-07-28 |
Family
ID=76165280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/071713 WO2022156584A1 (zh) | 2021-01-20 | 2022-01-13 | 基于电子凭证互动的方法、装置和电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN115454315A (zh) |
WO (1) | WO2022156584A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115454315A (zh) * | 2021-01-20 | 2022-12-09 | 支付宝(杭州)信息技术有限公司 | 一种基于电子凭证的互动方法、装置和电子设备 |
CN114442873A (zh) * | 2022-01-14 | 2022-05-06 | 支付宝(杭州)信息技术有限公司 | 基于电子凭证的互动方法、装置、存储介质和设备 |
CN114693294A (zh) * | 2022-03-04 | 2022-07-01 | 支付宝(杭州)信息技术有限公司 | 基于电子凭证的互动方法、装置及电子设备 |
CN114821002B (zh) * | 2022-04-12 | 2024-09-03 | 支付宝(杭州)信息技术有限公司 | 基于ar的互动方法、装置及电子设备 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003058526A (ja) * | 2001-08-21 | 2003-02-28 | Jes:Kk | 手書き文字出力装置および手書き文字出力方法 |
CN104750413A (zh) * | 2015-03-06 | 2015-07-01 | 北京华夏翰科科技有限公司 | 一种实现手写笔迹回放的方法及系统 |
CN111062704A (zh) * | 2019-12-10 | 2020-04-24 | 支付宝(杭州)信息技术有限公司 | 识别图形码的方法及装置 |
CN111192053A (zh) * | 2020-01-11 | 2020-05-22 | 支付宝(杭州)信息技术有限公司 | 基于电子凭证的互动方法及装置、电子设备 |
CN112925454A (zh) * | 2021-01-20 | 2021-06-08 | 支付宝(杭州)信息技术有限公司 | 一种基于电子凭证的互动方法、装置和电子设备 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106997545A (zh) * | 2016-01-26 | 2017-08-01 | 阿里巴巴集团控股有限公司 | 业务实现方法及装置 |
CN111654473B (zh) * | 2016-12-13 | 2022-07-19 | 创新先进技术有限公司 | 基于增强现实的虚拟对象分配方法及装置 |
CN111612461B (zh) * | 2019-01-25 | 2023-05-16 | 创新先进技术有限公司 | 基于电子凭证的互动方法及装置、电子设备 |
-
2021
- 2021-01-20 CN CN202211124599.0A patent/CN115454315A/zh active Pending
- 2021-01-20 CN CN202110077821.5A patent/CN112925454B/zh active Active
-
2022
- 2022-01-13 WO PCT/CN2022/071713 patent/WO2022156584A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003058526A (ja) * | 2001-08-21 | 2003-02-28 | Jes:Kk | 手書き文字出力装置および手書き文字出力方法 |
CN104750413A (zh) * | 2015-03-06 | 2015-07-01 | 北京华夏翰科科技有限公司 | 一种实现手写笔迹回放的方法及系统 |
CN111062704A (zh) * | 2019-12-10 | 2020-04-24 | 支付宝(杭州)信息技术有限公司 | 识别图形码的方法及装置 |
CN111192053A (zh) * | 2020-01-11 | 2020-05-22 | 支付宝(杭州)信息技术有限公司 | 基于电子凭证的互动方法及装置、电子设备 |
CN112925454A (zh) * | 2021-01-20 | 2021-06-08 | 支付宝(杭州)信息技术有限公司 | 一种基于电子凭证的互动方法、装置和电子设备 |
Non-Patent Citations (1)
Title |
---|
XIAOHONGSHU: "Special Event for Medical Workers Writing Their Own Jingye Fu", 小红书 (XIAOHONGSHU), 17 January 2021 (2021-01-17) * |
Also Published As
Publication number | Publication date |
---|---|
CN115454315A (zh) | 2022-12-09 |
CN112925454A (zh) | 2021-06-08 |
CN112925454B (zh) | 2022-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022156584A1 (zh) | 基于电子凭证互动的方法、装置和电子设备 | |
TWI667592B (zh) | 基於增強實境的虛擬對象分配方法及裝置 | |
US10252172B2 (en) | Game system with shared replays | |
US10929666B2 (en) | System and method for providing augmented reality interactions over printed media | |
US20200211025A1 (en) | Augmented reality-based virtual object allocation method and apparatus | |
US9361606B2 (en) | Dispensing digital objects to an electronic wallet | |
TW201821947A (zh) | 基於擴增實境的虛擬對象分配方法及裝置 | |
US10282740B1 (en) | Systems and methods for creating, managing, and/or providing online contests | |
WO2020151302A1 (zh) | 基于电子凭证的互动方法及装置、电子设备 | |
US12028667B2 (en) | System and method for interactive microphone | |
US20150224408A1 (en) | Information sharing system, information-processing device, storage medium, and information sharing method | |
WO2022166551A1 (zh) | 交互方法、装置、电子设备和存储介质 | |
WO2018006765A1 (zh) | 一种关键词验证方法和生成装置 | |
CN115456624A (zh) | 一种基于电子凭证的互动方法、装置以及电子设备 | |
CN110302535B (zh) | 游戏线索记录方法、装置、设备和可读存储介质 | |
CN112926976B (zh) | 一种基于电子凭证的互动方法、装置以及电子设备 | |
CN112843723A (zh) | 交互方法、装置、电子设备和存储介质 | |
CN112990950A (zh) | 一种推荐信息的处理方法、装置以及移动终端 | |
CN112884463B (zh) | 基于电子凭证的互动方法、装置及电子设备 | |
CN114442873A (zh) | 基于电子凭证的互动方法、装置、存储介质和设备 | |
CN116301552A (zh) | 一种电子凭证分配方法、装置及电子设备 | |
US20230343186A1 (en) | Digital data object system for online gaming | |
CN112884464B (zh) | 基于电子凭证的互动方法、装置及电子设备 | |
WO2023005588A1 (zh) | 基于电子奖品的数据处理方法、设备及存储介质 | |
KR102295707B1 (ko) | 어플리케이션 제어 시스템, 서버 및 어플리케이션 제어 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22742063 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22742063 Country of ref document: EP Kind code of ref document: A1 |